New camera Hal with newer apis support - G3 Developer Discussion [Developers Only]

Soooo, my project of porting newer apis into G3 camera is going forward but ^^ now i'm facing a very bad error ^^ it's not that long as it was before, but it's not making camera work the error is here (too long to copy here) http://pastebin.com/TXTnkhD3
in less words
Code:
E/CameraService( 295): getCameraVendorTagDescriptor: camera hardware module doesn't exist
E/CameraMetadata-JNI( 4787): CameraMetadata_setupGlobalVendorTagDescriptor: Failed to setup vendor tag descriptors, received error No such device (-19)
W/CameraManager( 4787): Failed to set up vendor tags: The camera device is removable and has been disconnected from the Android device, or the camera service has shut down the connection due to a higher-priority access request for the camera device.
D/AndroidRuntime( 4787): Shutting down VM
E/AndroidRuntime( 4787): FATAL EXCEPTION: main
E/AndroidRuntime( 4787): Process: com.android.camera2, PID: 4787
E/AndroidRuntime( 4787): java.lang.RuntimeException: Unable to start activity
Does someone have some clues?

nevermind solved it (building and waiting to try) you can find everything into my github https://github.com/manups4e
the problem was into the include of camera.h that was linked to the wrong file i just added the include in makefile and voilà

Does camera work with this source-built HAL?

not yet it needs lots of work still but it's like opening the gate to a new dungeon once we'll have defeated the boss wi'll be ok to go i just need some help from devs

I'm sorry for spamming here, but the question has been resolved, so I'm still asking this here.
What does this mean? Will we get a better camera quality after this has been implemented or will we get full support of Android L's camera api?

for the first question: i don't know ^^
for the second: yeah that's the intent

manups4e said:
for the first question: i don't know ^^
for the second: yeah that's the intent
Click to expand...
Click to collapse
Woohoo I love you \(*_*)/
That's a great christmas present

Awesome mate, is this for a AOSP based build or stock?

shaneel1491 said:
Awesome mate, is this for a AOSP based build or stock?
Click to expand...
Click to collapse
for all I think. new api's so better camera

maurisy0 said:
aosp/cm
Click to expand...
Click to collapse
Okay, seems like a promising project.
I am using a G2 and as far as I know the camera modules on the G3 and the G2 are the same, with the exception of the laser.
I wonder if the CM/AOSP with support for the new API's (that you are working on) could be ported to the G2?

@manups4e
Are you able to compile without errors? This project seems very promising. Keep it up!

yes it compiles without errors, the main error is in logcat

manups4e said:
yes it compiles without errors, the main error is in logcat
Click to expand...
Click to collapse
Thanks for doing this great work to us...so I'm just wondering if this will be available in official cm12 in future when you completed it or not.and how is the project going?

so i'm having a little breakout from cyanogenmod and coding ^^ i don't know if the project will effectively work or not.. but i will try to work on it

it will be awesome to see lg g3's camera app to work on aosp roms

well in cyanogenmod you are already using LG camera drivers (camera.vendor.msm8974.so) the only problem is that we're not using stock camera app since it doesn't work without LG framework..

manups4e said:
well in cyanogenmod you are already using LG camera drivers (camera.vendor.msm8974.so) the only problem is that we're not using stock camera app since it doesn't work without LG framework..
Click to expand...
Click to collapse
Is that what you are basically trying to do? Porting parts of that Framework to AOSP?

No

I'm trying to make the aosp drivers to work but i need LG codes that we don't have

manups4e said:
I'm trying to make the aosp drivers to work but i need LG codes that we don't have
Click to expand...
Click to collapse
Would it help if you used the stock camera app that was made for the G2? It Works on the G3 as it is but it doesn't have the extra G3 features.
http://forum.xda-developers.com/showthread.php?t=2522889

Related

OmniRom

Hi
I am trying to build Omnirom for D855
it builds ok but on boot it crashes> (see pic)
https://dl.pushbulletusercontent.com/GU5G239D4IFmscBPCvgU0UHUQw7DpqGK/IMG_20150408_102703.jpg
anyone got any ideas ?
you are using cyanogenmod repos to build omnirom... but omnirom doesn't have all the optimizations that cm has regarding watchdog and demigod handler.. the error is related to EFS (efs means modem that means modem subsystem error for watchdog)
Only cyanogen repo i am using is for the kernel and vendor files.
Do u have a g3 aosp tree?
there is a reason why omni is not realeased yet for g3 ^^ that's because it's not supported yet the only aosp repos available for g3 are cm ones so.. neither full aosp is buildable for g3 ( i tried different times with no success)
sorry i thought this was a dev forum, my bad
naaaaah it's ok don't worry (i know you're sarcastic, but before going sarcastic.. just get some informations.. the only LG device with official omni support is LG Optimus 4X HD.. sooti were already working on omni soome time ago https://github.com/sooti/android_device_lge_g3-common/tree/omni-5.0 but neither him made it work.. maybe you don't know what he and me have done, we were the first 2 guys here to bring cyanogenmod 12 to you guys before it was officially released.. maybe you know something about building roms but maybe i know too and maybe if i tell you directly that it is not yet possible to build it there is a reason)
well most things seem to be working already. need to fix ril and camera
https://lh3.googleusercontent.com/-...I/AAAAAAAAE3o/khYceFWACH8/s512/2015-04-15.jpg
i hope you'll make it then
Also hope you make it, i would love some AOSP love to my d855.
darkobas said:
well most things seem to be working already. need to fix ril and camera
https://lh3.googleusercontent.com/-...I/AAAAAAAAE3o/khYceFWACH8/s512/2015-04-15.jpg
Click to expand...
Click to collapse
Howd you fix the crash on boot, i got it built for ls990 and have the same problem you had?
Pump Ac7i0n said:
Howd you fix the crash on boot, i got it built for ls990 and have the same problem you had?
Click to expand...
Click to collapse
https://github.com/kcirson/android_...mmit/f52ede21b7ad5193e2d384d3e017e54a4f06f9cd
Guys .. any new update on OmniROM?!
Thanks.

[APPS][CM12.1] Cyanogen Camera Next [FLASHABLE]

Hello, just wanted to share this package, it contains CameraNext with all the features working (i added libraries too, so everything should work except features with hardware limitations).
You can find all the camera informations/features here:
http://www.androidcentral.com/looking-camera-features-cyanogen-os
I made a package that contains a backup script, so it won't be deleted when you update your CyanogenMod ROM, i didn't test it on other ROMs because i only use CM12.1, so if you want to try it on a different AOSP ROM i can't give you any support.
This package won't replace your stock Camera app/libraries, that will still work as usual.
DOWNLOAD:
CameraNext
I can't revert nor add any change because the app is prebuilt and closed-source
Tested and working on:
- CM12.1
- SlimLP(5.1.1)
- ...
CHANGELOG:
11/10/2015
- Removed GalleryNext (you can find it in the C-Apps package https://cyngn.com/c-apps)
- Updated CameraNext to 2.0.005 from latest YU Yureka plus factory image
-- Removed HFR entry (slow motion)
-- Removed focus mode entry (automatic or continuous), it's now continuous by default
- Moved the package from /priv-app to /app
- Moved libraries from /lib to /CameraNext/lib/arm
I had to keep 2.0.004 libraries (from OPO) because YU Yureka plus uses 64 bit libraries and they're not working on 32 bit systems
HOW TO REMOVE THE CYANOGEN CAMERA?
The easiest way is explained here: http://forum.xda-developers.com/showpost.php?p=64641032&postcount=28
slow motion doesn't work mention that in OP
edit: HFR (slow motion) entry removed with 2.0.005 update
I've installed this camera app and... woow... it is really what i was looking for!!!! Thank you guy!!! Now I have everything: panorama working (feature missing in standard CM 12 camera app, in google camera and non working in many other apps I tried!), HDR, continous shots (even this missing in standard cm camera), good camera quality (better than stock motorola app!)... and maybe, in future, we'll have slowmo working!!!! WOOOOOW
It works with stock rom?
Funciona con rom stock lollipop ?
kuzo said:
It works with stock rom?
Funciona con rom stock lollipop ?
Click to expand...
Click to collapse
I don't know, sorry
Edit: No, it's a 5.1+ app
ivanhoe76 said:
maybe, in future, we'll have slowmo working!!!!
Click to expand...
Click to collapse
As i mentioned in post #3, it can't work, atleast not using this Camera application.
HDR
Thanks for the APP!
But I've trouble with the HDR. It Start working and doesn't stop.
Other funktion work propper.
Any Idea?
Martin_MotoG2014 said:
Thanks for the APP!
But I've trouble with the HDR. It Start working and doesn't stop.
Other funktion work propper.
Any Idea?
Click to expand...
Click to collapse
Swipe up or down to select the automatic mode again
Can i flash it on Identity Crisis 5.1 rom?
EDIT: nope, it doesnt work
Chaninoza said:
Can i flash it on Identity Crisis 5.1 rom?
EDIT: nope, it doesnt work
Click to expand...
Click to collapse
I don't think it will work on any stock motorola ROM
fonz93 said:
As i mentioned in post #3, it can't work due to hardware limits, atleast using this Camera application.
Click to expand...
Click to collapse
I read somewhere in this forum that they're working on making functional slowmo on custom rom since in stock rom motorola camera has it!!
ivanhoe76 said:
I read somewhere in this forum that they're working on making functional slowmo on custom rom since in stock rom motorola camera has it!!
Click to expand...
Click to collapse
But it's not high frame rate, because our camera framerate is max 30 fps, Cyanogen Camera only support slow motion with 60+ fps
fonz93 said:
But it's not high frame rate, because our camera framerate is max 30 fps, Cyanogen Camera only support slow motion with 60+ fps
Click to expand...
Click to collapse
OOOPS sorry, didn't know about it....
How do you guys access HDR? It's not showing for me
Nevermind, it was translated to ARD
Great.
Install Failed
I have an LG G3 with Cyanogenmod 12.1 and i just get installed failed when i try and flash the .zip. Any ideas?
Erock2k4 said:
I have an LG G3 with Cyanogenmod 12.1 and i just get installed failed when i try and flash the .zip. Any ideas?
Click to expand...
Click to collapse
The .zip hasn't any assert so it should work fine, i don't know why happens that to you
fonz93 said:
The .zip hasn't any assert so it should work fine, i don't know why happens that to you
Click to expand...
Click to collapse
Yeah I figured it out. It seems like the Cyanogenmod Recovery didnt like it. switched to TWRP and it flashed fine.
New update available.
CHANGELOG:
- Removed GalleryNext
- Updated CameraNext to 2.0.005 from latest YU Yureka plus factory image
-- Removed HFR entry (slow motion)
-- Removed focus mode entry (automatic or continuous), it's now continuous by default
(I can't revert nor add any change because the app is prebuilt and closed-source)
- Moved the package from /priv-app to /app
- Moved libraries from /lib to /CameraNext/lib/arm
I had to keep 2.0.004 libraries (from one plus one) because YU Yureka plus uses 64 bit libraries and they're not working on 32 bit systems
Nice work. Working great on motoG 2nd gen.

[APP] Camera HAL Switcher

Hey guys!
I'm learning Android app development and decided to put the skills I learnt to some use, so here it is-
This app is for people like me who prefer the higher exposure time of the Stock HAL in low light (brighter and less noisy photos), but at the same time want to use all the features of Sultan's HAL like 4K video, etc.
It can also be used if you want to compare the two HALs or decide to revert to Stock in the future (no need to dirty flash your ROM now!).
Features:
Switch between Stock and Sultan's HAL on the fly (no reboot required!)
Backup and restore Stock HAL files (no need of a revert zip now)
Launch your default Camera from within the app
Should work on all ROMs 5.1.1 and above (EDIT: It doesn't seem to be working on OOS. Will try to fix it in the near future).
Will even work when Sultan updates his HAL
WARNING: This app is designed to run only on a rooted OPX running Android 5.1.1 and above. It might break your camera if used on any other phone!
Installation Instructions:
Install the APK file
Dirty flash your current ROM (only if you have already flashed Sultan's HAL)
Press the Backup button in the app (Status should say "Not Installed" at this time)
Flash Sultan's HAL zip from recovery
Usage:
If you're performing a clean ROM install in the future, be sure to hit the backup button within the app before flashing Sultan's HAL.
If Sultan releases an update to his HAL, be sure to switch to his HAL from within the app before flashing the updated zip.
If for whatever reason you encounter any issues, dirty flash your ROM and follow the Installation instructions again. This should fix them.
Credits:
@Sultanxda for his awesome HAL!
Note: Neither Stock HAL files nor Sultan's HAL files are included in this app
Any bug fixes, feature requests and reviews are always welcome (I'll be working on it only when I have free time).
Finally, it goes without saying- I'm not responsible for any damage whatsoever caused to your device by using this app!
XDA:DevDB Information
Camera HAL Switcher, App for the OnePlus X
Contributors
ashwinpilgaonkar
Source Code: https://github.com/ashwinpilgaonkar/CamHALChanger
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-05-25
Created 2016-05-25
Last Updated 2016-05-25
XDA:DevDB Information
Camera HAL Switcher, Device Specific App for the OnePlus X
Contributors
ashwinpilgaonkar
Version Information
Status: Stable
Created 2016-05-25
Last Updated 2016-08-17
Changelog:
26th May, 2016 (v1.0)
- Initial Build
28th May, 2016 (v1.01)
- Fixed issue in which camera was broken after switching to Stock HAL.
OMG awesome mate!!
But where's the link??
animesh1558 said:
OMG awesome mate!!
But where's the link??
Click to expand...
Click to collapse
Downloads tab at the top of OP.
Really great work @ashwinpilgaonkar This will come in handy to a vast majority of people !
Great application and idea, good job, but for some reason when switching to stock HAL my camera apps stop working. I was following your instructions and flashed HAL after installing the app and backuping the old HAL. Any suggestions?
Wht if im usimg sultanrom?
WOW
nice idea.
Love it!
LolHacker17 said:
Wht if im usimg sultanrom?
Click to expand...
Click to collapse
No, this wont work if you're using Sultan's ROM as it comes with the custom HAL pre installed. You would have to manually copy the Stock HAL files from CM13 for it to work.
mindphuq said:
Great application and idea, good job, but for some reason when switching to stock HAL my camera apps stop working. I was following your instructions and flashed HAL after installing the app and backuping the old HAL. Any suggestions?
Click to expand...
Click to collapse
Does this only happen when switching to Stock HAL? It works fine for me.
Which ROM are you using?
Try dirty flashing it and following the instructions once again.
where does it backup stock camera hal to?
jgcmurray said:
where does it backup stock camera hal to?
Click to expand...
Click to collapse
It creates a copy with the extension of .stock in the same directory where it is originally located.
ashwinpilgaonkar said:
No, this wont work if you're using Sultan's ROM as it comes with the custom HAL pre installed. You would have to manually copy the Stock HAL files from CM13 for it to work.
Does this only happen when switching to Stock HAL? It works fine for me.
Which ROM are you using?
Try dirty flashing it and following the instructions once again.
Click to expand...
Click to collapse
It only works with Sultan HAL and when switching to stock HAL, camera stops working. I am on CM13 Official latest nightly with bluspark kernel, xposed and supersu 2.65. First time I've tried it I had OOS 3.0.1 camera installed from the other thread. Then I dirty flashed without installing that camera and tried your app with the stock google camera from opengapps, still no luck. I really, really want this working on my phone
mindphuq said:
It only works with Sultan HAL and when switching to stock HAL, camera stops working. I am on CM13 Official latest nightly with bluspark kernel, xposed and supersu 2.65. First time I've tried it I had OOS 3.0.1 camera installed from the other thread. Then I dirty flashed without installing that camera and tried your app with the stock google camera from opengapps, still no luck. I really, really want this working on my phone
Click to expand...
Click to collapse
I have the same ROM and kernel as you and it's working fine for me. It doesn't look like anyone else is having any issues either.
Send me a screen record of the entire process. I maybe able to figure out whats going wrong.
ashwinpilgaonkar said:
I have the same ROM and kernel as you and it's working fine for me. It doesn't look like anyone else is having any issues either.
Send me a screen record of the entire process. I maybe able to figure out whats going wrong.
Click to expand...
Click to collapse
This is great in theory and i've waited for something like this to hopefully be made in which I am very greatful for. However, I'm on rooted OOS 2.2.0 with Blue spark and the same issue occurs for me - It says action performed successfully when applying the Stock HAL, but when launching the camera app it says "Unknwon error".
I have tried clearing cache and data for the stock camera app, but no luck.
Matthius said:
This is great in theory and i've waited for something like this to hopefully be made in which I am very greatful for. However, I'm on rooted OOS 2.2.0 with Blue spark and the same issue occurs for me - It says action performed successfully when applying the Stock HAL, but when launching the camera app it says "Unknwon error".
I have tried clearing cache and data for the stock camera app, but no luck.
Click to expand...
Click to collapse
Same problem as him - "Unknown Error" in OOS camera and "Can't connect to the camera" in google camera. Tried cleaning cache aswell, even tried with cleaning davlik/cache after installing sultan HAL.
For some reason my screen recorder cuts the videos before I can't record everything, so I can't provide a video. I can extract logs or something if you need them?
Mindphuq said:
Same problem as him - "Unknown Error" in OOS camera and "Can't connect to the camera" in google camera. Tried cleaning cache aswell, even tried with cleaning davlik/cache after installing sultan HAL.
For some reason my screen recorder cuts the videos before I can't record everything, so I can't provide a video. I can extract logs or something if you need them?
Click to expand...
Click to collapse
Yeah my recorder stops too. Here's error though after applying https://youtu.be/ivviaicSa4I
Maybe a direct option to clear "camera App" data (not onlycache) could help.
I'm trying the MOD right now.
Edit : same problem for me.
I had to wipe camera app data, , launch it from drawer and then it worked.
Without that, camera app couldn't be launched from Hal Switcher.
Kéno40 said:
Maybe a direct option to clear "camera App" data (not onlycache) could help.
I'm trying the MOD right now.
Edit : same problem for me.
I had to wipe camera app data, , launch it from drawer and then it worked.
Without that, camera app couldn't be launched from Hal Switcher.
Click to expand...
Click to collapse
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Matthius said:
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Click to expand...
Click to collapse
Doesn't work with clearing app data for me aswell.
Matthius said:
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Click to expand...
Click to collapse
Root ok on your app?
Kéno40 said:
Root ok on your app?
Click to expand...
Click to collapse
What do you mean?
Nothing on the app seems to indicate if root access is okay.
Sent from Tapatalk on the OPX

[ROMs] Nougat ROMs for Redmi Pro

Hello everybody!
This thread will be dedicated to Android N developement. Since now the ROMs are not ported (we have a device tree to compile from source) we can get any Android N ROM working but with the same bugs.
From now on i will be working on fixing the bugs of the device tree/vendor tree and any help with it would be apreciated.
I will share my device tree so that people can help with it:
Device tree: https://github.com/end222/lineage_device_omega
Vendor tree:https://github.com/end222/lineage_vendor_omega
Want to help?
In the device tree in github I have opened some issues where I try to put as much relevant information as I can about the state of each bug and the errors I am getting. Please give it a look to see if someone can help
Bugs:
Working:
It boots up
Speaker sometimes
Network
Wifi
Bluetooth
FM Radio
Chargin while being off
Flashlight
Rear camera without focus
Mobile data
Sound
Not working:
Calls
Camera focus and front camera
Headphones
IR
Fingerprint sensor
It shows corrupted SD at boot but SD works good
Download links:
LineageOS: https://www.androidfilehost.com/?fid=817550096634793903
Old ones (To be updated):
AICP: https://www.androidfilehost.com/?fid=745425885120743786
Resurrection Remix: https://www.androidfilehost.com/?fid=817550096634781602
Dirty Unicorns: https://www.androidfilehost.com/?fid=817550096634782672
If you want to give a try to another AOSP like ROM just tell me and I can make a build
If you try the ROM and find any bug please tell me and I will add it to the bugs section in order to work on it and also to give other a clearer information about the ROM.
Do you like my work?
Offer me a beer here:
https://www.paypal.me/OrdunaLagarma
You forgot to add fingerprint sensor.
kristi6.9 said:
You forgot to add fingerprint sensor.
Click to expand...
Click to collapse
That's right
I recommend you to atach the sources below the rom and use devdb not just a regular thread
kristi6.9 said:
I recommend you to atach the sources below the rom and use devdb not just a regular thread
Click to expand...
Click to collapse
In the end I didn't use the device tree I had done. CM sources were giving me warnings about framework, something related to non-existent images for the resolution of the Redmi Pro (CM had already closed when I downloaded them).
Then I took the ROM compiled by andrianom for the RN4 and resized the system dat by hand. Then I modifyed the kernel to get it working on the RM Pro.
So in the end this is a port from the RN4, it is not compiled from source. However I will try to compile Lineage from source as it is almost the same and the device tree I had made should work with some modifications
OK
end222 said:
In the end I didn't use the device tree I had done. CM sources were giving me warnings about framework, something related to non-existent images for the resolution of the Redmi Pro (CM had already closed when I downloaded them).
Then I took the ROM compiled by andrianom for the RN4 and resized the system dat by hand. Then I modifyed the kernel to get it working on the RM Pro.
So in the end this is a port from the RN4, it is not compiled from source. However I will try to compile Lineage from source as it is almost the same and the device tree I had made should work with some modifications
Click to expand...
Click to collapse
If someone could fix fingerprint sensor and headphones, I'm sold
misterright1 said:
If someone could fix fingerprint sensor and headphones, I'm sold
Click to expand...
Click to collapse
I know there are many bugs but at least headphones are working
end222 said:
I know there are many bugs but at least headphones are working
Click to expand...
Click to collapse
HHahahah thats an advantage according to other roms.?????
when can you make this rom stable bro?not eta just asking
pou_gh2 said:
when can you make this rom stable bro?not eta just asking
Click to expand...
Click to collapse
I won't answer that question [emoji14]
I am still really new in the world of developing ROMs as Redmi Pro is the first device that I have used for developing. Then if I knew how to solve all the bugs maybe I could tell you more or less how long it could take.
However, the only thing I know is that I have to modify the vendor tree by mixing it with the vendor tree of other devices. So I cannot tell how long it can take and if I will be able to do it
pou_gh2 said:
when can you make this rom stable bro?not eta just asking
Click to expand...
Click to collapse
don't be a prick dude
Recommended resources
Hi end222 , I just got this phone. Love the specs / screen / performance. The only thing i hate is the OS. I had been using Nougat on a flashed Samsung S4. Just cant bear the older version of Android now, especially the notifications.
I am not new to the world of development but haven't developed ROMs before. Are there any recommended resources you have where I can learn the basics and add on to the work you have done so far. I would love to to be able to create version which can be used daily.
turbochild said:
Hi end222 , I just got this phone. Love the specs / screen / performance. The only thing i hate is the OS. I had been using Nougat on a flashed Samsung S4. Just cant bear the older version of Android now, especially the notifications.
I am not new to the world of development but haven't developed ROMs before. Are there any recommended resources you have where I can learn the basics and add on to the work you have done so far. I would love to to be able to create version which can be used daily.
Click to expand...
Click to collapse
I would really love to see more people working for this phone.
What I recommend you is to read some of the MTK porting guides that can be found on the internet, for example, on xda.
The most important thing you have to learn from those guides is how to port the boot.img.
Do not try to port the whooe ROM using those methods because I tried and they result in most of cases in bootloop. So to port to Redmi Pro you have to:
- From RN4 just by porting the boot.img (and resizing the system image in Nougat) is enough to get it booting.
- From Apollo Lite you will have to copy also hwcomposer from the stock ROM, located in lib/hw and lib64/hw. Also do not forget to port also the boot.img
If you find any problem or have any doubt do not hesitate to send me a message and I will do my best to help
Enviado desde mi Redmi Pro mediante Tapatalk
Thanks end222 for your work keep it up man
Sent from my Redmi Pro using Tapatalk
Lately, I have been always checking all the threads created expecting for any stable update to flash redmi pro but it seems everyone gave up from porting... Is there anyway to port an existing nougat ROM from other xiaomi model and getting stable ? At least the phone and the headset part... I am tired of MIUI ROM specially the weekly version...
Besides that I would to thank to all the people that had helped with this project without them I probably had sold my redmi pro already >.>
rijrg4 said:
Lately, I have been always checking all the threads created expecting for any stable update to flash redmi pro but it seems everyone gave up from porting... Is there anyway to port an existing nougat ROM from other xiaomi model and getting stable ? At least the phone and the headset part... I am tired of MIUI ROM specially the weekly version...
Besides that I would to thank to all the people that had helped with this project without them I probably had sold my redmi pro already >.>
Click to expand...
Click to collapse
The closest phone to the RM Pro is the Redmi Note 4 and this is the best I have been able to do by porting from that device. The main problem is that the phone isn't working in the RN4 either.
Whenever I have more free time I will keep trying things. It should be possible to get at least a good working non MIUI ROM based on Android 6. However it would be much harder to get Android 7 stable
I want to try this ROM, can i downgrade to 6.0 based miui rom safely after I try this ROM? ini
doripto. said:
I want to try this ROM, can i downgrade to 6.0 based miui rom safely after I try this ROM? ini
Click to expand...
Click to collapse
Yes, you should be able to flash MIUI with TWRP after using this ROM. I would also recommend you to do a backup of MIUI before flashing it and then you can come back to MIUI without losing any apps
I tried this rom last night and its great to experience CM again, btw when im insert my sd card it says that my sd card is corrupted but its not corrupted and working fine when I tried it with my sisters MiMax...

Enable camera 2 API on Moto g4 plus??

Rooted device is required
1) open build prop editor.
2) type persist.camera.HAL3.enabled=1
3) save and reboot.
4) it's done now you can use full professional mode on Moto g4 plus.
Try AZ camera manual premium app for best result better than manual camera app.
Download link
http://www59.zippyshare.com/v/dfvcgii1/file.html
Camera 2 probe check camera 2 api hal and support
That allows you to do this?
Yes this tweak is working
And what is this tweak for?
Persist.camera.HAL3.enabled=1 enables camera2 api functionality.
Aby lad said:
Persist.camera.HAL3.enabled=1 enables camera2 api functionality.
Click to expand...
Click to collapse
I have done the way you have stated but it isn't working please help.. Please
Soham Biswas said:
I have done the way you have stated but it isn't working please help.. Please
Click to expand...
Click to collapse
Am really sorry for one wrong screen shot. Please forgive me ..1st screen shot is right but 2nd screen shot was uploaded by mistake am extremely sorry.. Please forgive me .. Please.
Check again, if you write HAL in small letter it wouldn't work camera2api is implemented but not enabled by default.
Thank you. I was looking for this.
Edit: isn't working here. I am on Invicta OS 4.2 Android 7.1.2, @Aby lad are you on stock rom?
I tried with the AZ camera but it's crashing when i try to open the app, i tried with Open Camera (API 2 support) and it automaticly hangs.
Please provide more info about in which ROM this tweak is working.
Aby lad said:
Check again if you write HAL in small letter it wouldn't work camera2api is implemented but not enabled .
Click to expand...
Click to collapse
I actually copy pasted the command you had mentioned..so the HAL was in capital letters only.. Any solution.? And im.on RR 5.8.3
I am using stock rom az camera it hangs when i capture raw image approx 30mb size. Try manual or proshot camera if they works.
moonlightdrive said:
Thank you. I was looking for this.
Edit: isn't working here. I am on Invicta OS 4.2 Android 7.1.2, @Aby lad are you on stock rom?
I tried with the AZ camera but it's crashing when i try to open the app, i tried with Open Camera (API 2 support) and it automaticly hangs.
Please provide more info about in which ROM this tweak is working.
Click to expand...
Click to collapse
Is camera fv 5 is working
Aby lad said:
Is camera fv 5 is working
Click to expand...
Click to collapse
I ended installing last stock firmware, works perfectly here. By the way very nice camera (AZ).
Thanks.:good:
Didn't work for me too. I'm on RR 5.8.3 latest build
Kickass1415 said:
Didn't work for me too. I'm on RR 5.8.3 latest build
Click to expand...
Click to collapse
On custom rom there is problem with camera2 api
so how can I enable the camera 2 API on the latest version of Cosmic OS which I currently have installed on my phone? Should I flash the Motocamera zip to enable those libs? I'm a completely inexperienced person in understanding these things. So, please don't mind if I have said something wrong.
can anyone open captured RAW image? I'm on stock rooted nougat november security patch and after taking photo with AZ camera, I cannot open the 30mb file not in the phone and not in picasa, photoshop...
​
Tirthyawarmachine said:
so how can I enable the camera 2 API on the latest version of Cosmic OS which I currently have installed on my phone? Should I flash the Motocamera zip to enable those libs? I'm a completely inexperienced person in understanding these things. So, please don't mind if I have said something wrong.
Click to expand...
Click to collapse
Replace camera2 libs from system >vendor of cosmic os from stock nougat
Flashing Motocamera zip will allow to use Moto camera app on custom rom.
Thank you so much for helping out. Will surely look into the matter.
Aby lad said:
​Change all camera libs from system >vendor of cosmic os from stock nougat
And moto camera can work on camera 1 api
Click to expand...
Click to collapse
As per your directions I tried to replace the libs, but failed to do so. I flashed the motocamera zip file which the devs have provided specifically for custom roms. Will that do?

Categories

Resources