On my P9 it doesn't work. adb devices reports no permissions for me. It is well configured, I use it everyday on other devices. It doesn't hog CPU unlike Phh-Treble AOSP 9.0 though. Perhaps it's your newer build though.
This fix, it pretty much adds some permissions, tells the framework to expose NFC and installs an APK along with some binary blobs.
https://forum.xda-developers.com/showpost.php?p=81021365&postcount=26
---------- Post added at 13:41 ---------- Previous post was at 13:35 ----------
Flash the amend patch for GSI ROMs. This takes care of that. Phhusson-based GSI ROMs all lack a necessary system file detailing Play Store app compatibility so they're all missing. You need to re-add it by flashing my amend patch on top of the ROM. It also fixes Bluetooth settings.
/system/etc/sysconfig/features_eva.xml
Credit: @lo_ol
@MSe1969 Please study this ZIP and add some changes into your ROM so offline charging, NFC and Aurora Store catalog can work out of the box
https://drive.google.com/drive/folders/1rpCeajjRfozMrTBgSvKELgtb9GwOeXfh
First of all, thanks for this - I will have a look and yes, whatever would be missing and prove useful, I'll of course add. :good:
Now, while having seen the ZIP files on the one hand side, and also reading this and some older statements from you, regarding things not working, like ADB (works perfectly on my device), Offline-Charging (works perfectly on my P9), NFC partly works (I can send files via Android Beam from other devices to my P9, but seems not from my P9 to another device...)
I have the suspicion that you may have partly messed up your device by flashing various ZIPs!
So I really recommend you going back to HUAWEI stock, maybe use that opportunity to get to the 550 firmware and afterwards really refrain from flashing things other than system.img and - once available, a new kernel.
Why do I say that?
In fact, a GSI should really only flash the system partition, whilst other partitions on the device remain untouched! The phh builds follow this philosophy and even "cheat" by e.g. mounting /product or /vendor stuff into the "nirvana" in order to r ZIPeplace them by own content through "over-mounting" (mount -o bind), which bypasses the file paths at runtime, but don't touch the original partitions.
EDIT correction:
The fist ZIP file
Of course, I haven't seen your device (so I am "wild guessing"), nevertheless I would really recommend this activity to re-initialize your device and afterwards, only use TWRP a very last time to flash the network patch and then take the stock recovery back and only use fastboot to flash back system images, like e.g. my build
If needed, I can write a separate post on how to get to the EVA-AL10 8.0.0.550(C00) firmware - (the method to simply let eRecovery do that job did not work for me, it wanted to downgrade my to device Stock Nougat !
I'll have a look at the zips provided by you and see, what I will include in my build...
Regards, M.
Last edited: