Treble ROM discussion and Phh-Treble Wiki Page - Huawei P9 Guides, News, & Discussion

Hi everybody. I filled out a wiki page for our device in phhusson's Treble wiki.. I'd appreciate if people clarified it even more and filled it with more info. The page contains link to solutions for Camera, NFC and offline charging
Feel free to discuss anything about Treble ROM experiences and tips to make life easier.

Andyan's LOS17 based on Android 10 booted for me, but there is camera issue, not tested that much, RILL works perfectly.

md sabuj said:
Andyan's LOS17 based on Android 10 booted for me, but there is camera issue, not tested that much, RILL works perfectly.
Click to expand...
Click to collapse
What about safetynet? fail?
Sent from my Huawei P9 using XDA Labs

md sabuj said:
Andyan's LOS17 based on Android 10 booted for me, but there is camera issue, not tested that much, RILL works perfectly.
Click to expand...
Click to collapse
Which build, the latest ones right?

The newest Q builds mention fixes for VNDK 26 devices, will give it a try...
EDIT: not working
EDIT 2: Android 10 boots without Magisk, another SU solution will be required.

Related

Our devices is dead??? No more rom support?

Hi, since Xiaomi decided to depreciate rom support for our mi4c, everyday i try to find a replacement firmware. But here is what i found: official lineage removed mi4c since april, last rom is 0209 because they no longer support 14.1 version. AICP lastest version is 2702, no longer update. There're many unofficial roms on 4pda, but all of them now have their support ended because the devs move to new devices. There's only Mokee that support nightly 9.0 and release 8.1 version everyday and monthly. I try to find something like "mi4c treble" but no hope, the repository is created but empty, not like mi4 that has unofficial treble support. Maybe i need to buy a new phone? But my phone is still in good condition with no problem so far... :crying::crying::crying:
Yeah, sad but true. I also gave up on new rom, so i still use the 15.1 LineageOS one (20180810). Good rom, no problems here, but wouldnt mind some security updates.
The phone works nicely though and apart from battery lasting a day, i dont see any problems. I guess we will have to move to new phone if we want to see some updates rom.
I resized device partition table in order to support android treble.
I will make custom recovery image which is support android treble.
Maybe our device is ready to support android treble by then
added
I made treble-enabled recovery image now and it works well.
I will release the solution soon.
dla5244 said:
I resized device partition table in order to support android treble.
I will make custom recovery image which is support android treble.
Maybe our device is ready to support android treble by then
added
I made treble-enabled recovery image now and it works well.
I will release the solution soon.
Click to expand...
Click to collapse
Thank you, i'm waiting for your topic
AgiZ10 said:
Yeah, sad but true. I also gave up on new rom, so i still use the 15.1 LineageOS one (20180810). Good rom, no problems here, but wouldnt mind some security updates.
The phone works nicely though and apart from battery lasting a day, i dont see any problems. I guess we will have to move to new phone if we want to see some updates rom.
Click to expand...
Click to collapse
Is that the one without vibration support?
https://gitlab.e.foundation/e/wiki/en/wikis/device/libra/install
it's a fork of LineageOS, still being updated
haven't tested it yet
This is update of lineage-16.0.
https://androidfilehost.com/?w=files&flid=289411
wRAR_ said:
Is that the one without vibration support?
Click to expand...
Click to collapse
Yes, that is the one.
Tfgru said:
https://gitlab.e.foundation/e/wiki/en/wikis/device/libra/install
it's a fork of LineageOS, still being updated
haven't tested it yet
Click to expand...
Click to collapse
Anyone tested it yet? It seems /e/ is sort of microg. how is it different?
Autines said:
This is update of lineage-16.0.
https://androidfilehost.com/?w=files&flid=289411
Click to expand...
Click to collapse
Why is this not on this forum, and where is the development thread being discussed? Are there any problems with it? Anyone tested it?
dla5244 said:
I resized device partition table in order to support android treble.
I will make custom recovery image which is support android treble.
Maybe our device is ready to support android treble by then
added
I made treble-enabled recovery image now and it works well.
I will release the solution soon.
Click to expand...
Click to collapse
Great news, we're waiting for
AgiZ10 said:
Anyone tested it yet? It seems /e/ is sort of microg. how is it different?
Click to expand...
Click to collapse
/e/ is a fork of lineage and based on lineage 14.1 for our phone, with microg pre installed. They use a different default launcher, bliss
It works well and is easy to tweak if we dont like the launcher or default apps.
Anyway since our phone is no longer maintained i've decided to build lineage 14.1 for myself.
I'll do it once or twice a month when there are updates.
If anyone need it check here :
androidfilehost.com/?w=files&flid=299596
corwinux said:
/e/ is a fork of lineage and based on lineage 14.1 for our phone, with microg pre installed. They use a different default launcher, bliss
It works well and is easy to tweak if we dont like the launcher or default apps.
Anyway since our phone is no longer maintained i've decided to build lineage 14.1 for myself.
I'll do it once or twice a month when there are updates.
If anyone need it check here :
androidfilehost.com/?w=files&flid=299596
Click to expand...
Click to collapse
thanks
Mokee have a good android 9 ROM, been using it for months and no issues:
https://download.mokeedev.com/libra.html
Also WJXXBSH recently published new Lineage 16 and even 17! https://androidfilehost.com/?w=files&flid=299149
I have not tried it yet, but at least WJXXBSH is keeping our device live.
how about lineage 16 from havoic 3.1 (https://sourceforge.net/projects/havoc-os/files/libra/)
At least it work fine for me on mi4c

Camera & Flash not working after unlocking and changing ROMs (Very new to all this)

Camera & Flash not working after unlocking and changing ROMs (Very new to all this)
Hi,
So I just did my first ever unlock on my Xperia Z5 dual E6683 yesterday and was a bit overwhelmed at first but actually started enjoying tinkering with TWRP and the adb flash tool. Anyway I was hoping to use LineageOS 17.1 Android 10 as my main OS and everything is fine (actually better than stock) except for the camera and flash which are not being detected at all. I have tried wiping and reflashing the ROM multiple times and changed versions but to no avail. I have been looking for a fix since yesterday and it seems this is a common problem. Is there any Android 10 ROM thats secure, stable and has a working camera for the Z5 or is this issue fixable? Should I started looking into "kernals"?
Things I tried:
lineage-17.1-20200722-UNOFFICIAL-sumire
lineage-17.1-20200411-UNOFFICIAL-sumire
-
OpenCamera
-
with or without Gapps
I am currently downloading a stock Z5 ROM to see if the camera works.
Thanks for your help!
UPDATE:
So the camera, flash, mic and touch sensor are all working on carbonOS but it runs on Nouget so I am missing alot of the features i am used to, still looking for a fix for LineageOS camera/mic.
Its still being worked on, Android 7 and 10 have different kernel requirements, please be patient. Also dont open a forum post if it clearly states in the lineageos 17.1 forum thread. Also keep in mind that its an unofficial rom, and also no, currently there are no stable roms with camera working.
2020/07/22
### Camera is still broken ###
Updated to Android 10.0.0_r40 with July security patches.
Upstream updates and fixes.
Finally fixed memory draining issues, thanks to @TALUAtXDA .
Kernel optimizations.
Support more models for flashing: E6603, E6683
simbanono said:
Its still being worked on, Android 7 and 10 have different kernel requirements, please be patient. Also dont open a forum post if it clearly states in the lineageos 17.1 forum thread.
Click to expand...
Click to collapse
Sorry about that, I must have missed it. Do you know if there are ANY official roms for the z5 with everything working, anything Nouget or above?
Thank you.
Havent tried any other roms, im waiting for Android 10 meanwhile im using another phone. Lineageos 14.1 should be working though

[ROM][Phusson GSIs] Phusson GSI Stability

Despite development seeming dead for this device, there is hope:Phusson's GSIs. Please can anyone who uses them or tests them report beck their device vendor (EMUI 9.1/EMUI 9.0/EMUI 8.0) and which ROM gave them success/failiure. Then the best ROMs can be shared amongst everyone.
Thanks in advance
On Github I saw a user named Foxanto who reported that fingerprint worked fine on HavocOS 3.2 but wasn't working in HavocOS 3.5
why dont you just use openkirin.net?
I just visited openkirin.net for the first time. Do all of those EMUI 9 roms work if you're on EMUI 9 on the Honor 9? Why aren't these ROMs posted here on xda?
Hi.
Somebody successfully installed this GSI? If yes, is fingerprint unlock and camera working?
shiboby said:
I just visited openkirin.net for the first time. Do all of those EMUI 9 roms work if you're on EMUI 9 on the Honor 9? Why aren't these ROMs posted here on xda?
Click to expand...
Click to collapse
OpenKirin works fine but I want to build my own ROMs and they are not providing their source code
Robert314 said:
OpenKirin works fine but I want to build my own ROMs and they are not providing their source code
Click to expand...
Click to collapse
Openkirin didn't work on my device, ended in a boot loop that I have been struggling to fix all by myself without any kinda help from their support team save one person whose information was basically generic like you can use any recovery among all the emui 9 and 9.1 devices, which I found out to be true, but I am still stuck on a boot loop. And, no I didn't meddle with or try to install a custom ROM like TWRP.

[Magisk Module] Enable RAW capture for GCam (A20 & A20e)

This Module enables RAW Capture on the Galaxy A20 and Galaxy A20e, and changes the camera Hardware Level from Limited to Full.
RAW Capture is required for most GCams to work.
For information about GCam, go to this thread.
Click to expand...
Click to collapse
How does it work?
It works by replacing the library located at /vendor/lib/libexynoscamera3.so with an edited one. For reverse engineering enthusiasts, here is the patch applied to the library.
Prerequisites
- Magisk v20.4 or newer
- Android 11 vendor and kernel (Not compatible with versions of the Eureka Kernel older than 9.0)
Installation
Install as a normal Magisk Module, through Magisk Manager or TWRP.
Troubleshooting
Camera doesn't work, shows Black Screen
Make sure you are using a compatible Android 11 kernel and vendor.
If this issue is happening after updating your firmware, please let me know.
Telegram
GitHub Repo
Download (Galaxy A20)
Download (Galaxy A20e)
great job, you should do one for the custom roms, i'm stuck on the samsung one cause this mod only works there, when i install in other roms the camera stops working
Arthurcfsousa said:
great job, you should do one for the custom roms, i'm stuck on the samsung one cause this mod only works there, when i install in other roms the camera stops working
Click to expand...
Click to collapse
In which ROMs have you tried it? It should work on any as long as they use an Android 11 vendor and kernel.
TBM 13 said:
In which ROMs have you tried it? It should work on any as long as they use an Android 11 vendor and kernel.
Click to expand...
Click to collapse
i tried on all android 11 custom roms really, lineageos dotos etc
Arthurcfsousa said:
i tried on all android 11 custom roms really, lineageos dotos etc
Click to expand...
Click to collapse
Did those ROMs ask you to flash a custom kernel/vendor? If that's the case i'd suggest to try in phhusson's AOSP GSI with stock Android R kernel and vendor.
I can't test it on my phone right now as i don't have enough free space to make a TWRP backup.
TBM 13 said:
Did those ROMs ask you to flash a custom kernel/vendor? If that's the case i'd suggest to try in phhusson's AOSP GSI with stock Android R kernel and vendor.
I can't test it on my phone right now as i don't have enough free space to make a TWRP backup.
Click to expand...
Click to collapse
I installed the GSI version of dotos and It worked! Thanks
After I flash and all of my phone's cameras is disappear. I'm using this rom
[ROM][12.0] DerpFest for Galaxy A20/A20e [OFFICIAL][a20/a20e]
This is a small project based on AOSP. We try to be a platform for beginners and support the Custom ROM community with our own unique contributions as well. This ROM exists thanks to inspiration of AOSiP, Thank you! #StayDerped /* Your warranty...
forum.xda-developers.com
ComefromVN said:
After I flash and all of my phone's cameras is disappear. I'm using this rom
[ROM][12.0] DerpFest for Galaxy A20/A20e [OFFICIAL][a20/a20e]
This is a small project based on AOSP. We try to be a platform for beginners and support the Custom ROM community with our own unique contributions as well. This ROM exists thanks to inspiration of AOSiP, Thank you! #StayDerped /* Your warranty...
forum.xda-developers.com
Click to expand...
Click to collapse
The kernel used by that ROM is using the camera drivers from Android Q, that's why it's not compatible with this module. You will have to use another kernel or build its kernel without this commit.
Edit: This module may work with the OneUI 3 variant of the Eureka Kernel, but you will most likely run into some issues. Feel free to try it and tell me if it worked or not.
Screenshots
Thread updated. Added module for the Galaxy A20e.
Version 2.1 of the module released, the biggest change is that there is no longer a need to change the Black Level in GCam settings, so GCams (or other camera apps) that don't have this option should now take photos without pink tint.
Full changes can be found here.
@TBM 13
Hi, i am a member of the Eureka Team. As you may know, we make AOSP ROMs too, but we were using Q camera blobs on our vendor, till now, and we are going to switch to R camera blobs.
I'm wondering if we can use this module's library for our team's roms, we will credit you correctly. On our posts and etc.
Royna said:
@TBM 13
Hi, i am a member of the Eureka Team. As you may know, we make AOSP ROMs too, but we were using Q camera blobs on our vendor, till now, and we are going to switch to R camera blobs.
I'm wondering if we can use this module's library for our team's roms, we will credit you correctly. On our posts and etc.
Click to expand...
Click to collapse
Sure, go ahead.
Some photos i took with Arnova's GCam 8.1, using HDR+
no android 10 support ?
im willing to downgrade to get apps working from sd card
cimon666 said:
no android 10 support ?
im willing to downgrade to get apps working from sd card
Click to expand...
Click to collapse
If you use Android 10 with an 11 vendor it should work fine. I don't know if it's possible though, maybe with PHH's GSI.
Do you work on this model?
a20 205f
Do you work on this model?
If it works please give me the right way to do it
Elsayed111 said:
Do you work on this model?
If it works please give me the right way to do it
Click to expand...
Click to collapse
Yes, the module should work on any A20 and A20e model. Install it through Magisk.
TBM 13 said:
Yes, the module should work on any A20 and A20e model. Install it through Magisk.
Click to expand...
Click to collapse
Thanks man, it worked successfully

How do I install a working Gcam on LineageOS 19.1 (2023) on my POCO X3 NFC phone?

I'm tired. I've spent so much effort and time, and this crap doesn't want to work. None of the versions work, all crash right after launch. Magisk 25.2 does not accept any of the fixes (https://forum.xda-developers.com/t/aosp-11-gcam-fix.4347811/), (https://forum.xda-developers.com/t/oss-11-gcam-fix.4353645/)
Maybe someone has a solution? Maybe someone also has alternatives (only with configs, because I don't know how to configure)?
Help please...
kickme123 said:
I'm tired. I've spent so much effort and time, and this crap doesn't want to work. None of the versions work, all crash right after launch. Magisk 25.2 does not accept any of the fixes (https://forum.xda-developers.com/t/aosp-11-gcam-fix.4347811/), (https://forum.xda-developers.com/t/oss-11-gcam-fix.4353645/)
Maybe someone has a solution? Maybe someone also has alternatives (only with configs, because I don't know how to configure)?
Click to expand...
Click to collapse
Lineage 19.1 is based on Android 12.1, so the fixes above won't work since they are for Android 11.
In the Lineage thread you will find links to many working GCams
Noter2017 said:
Lineage 19.1 is based on Android 12.1, so the fixes above won't work since they are for Android 11.
In the Lineage thread you will find links to many working GCams
Click to expand...
Click to collapse
Thanks for the reply. Could you share a link to this section? Unfortunately, I have a hard time navigating this forum.
kickme123 said:
Thanks for the reply. Could you share a link to this section? Unfortunately, I have a hard time navigating this forum.
Click to expand...
Click to collapse
[ROM][10/12] LineageOS OFFICIAL [SURYA]KARNA]
LineageOS 19.1 Official and currently built by LineageOS official infrastructure. 17.1 has never been official (and it's upstream dead since 31st December 2021) 18.1 is official, discontinued builds since 2nd May 2022 19.1 is official and built...
forum.xda-developers.com

Categories

Resources