[AOSP 10.0] [2019-12-06] Quack Phh-Treble

Search This thread

eremitein

Senior Member
May 16, 2017
1,026
1,282
Thanks.
I did use it, but I still found it a little bit confusing...
If it mentions no "VNDKlite", just "using VNDK version 29.0", Does it mean I should ignore the vndklite builds?
vndklite builds also can be use on non-lite vendors, no problems here
also vndklite (of some GSI) can be mounted as RW, non-lite can't. and some devices have works camera only with lite builds, so i recommend use that one
 
  • Like
Reactions: Avraham Tsaban

dedaol

Member
Nov 25, 2010
29
6
I've just unlocked the bootloader of my Xiaomi Mi 9T yesterday, put Magisk in the boot image, and flashed system-roar-arm64-ab-vanilla.img today. It boots, so far so good.
I saw Superuser installed, I searched how to remove it, Securize came up, I've tried it twice, it asks for root, then reboots, but superuser stays.
I don't know how superuser is implemented, is it on the System partition? Then it is impossible to remove, because that System image is read-only. The idea would be to use Magisk, use Magisk Hide, pass CTS and SafetyNet, and have a pixel-like phone :)

I saw an overlay was needed for Mi 9T Pro to get auto-brightness working. The guess is the same would be needed for the Mi 9T also.
 

dedaol

Member
Nov 25, 2010
29
6
Superuser lives in /system/app/me.phh-superuser/ so it is on the read-only system partition. I can reflash a vndklite image to have /system rw, maybe then securize could work.

I saw the work on pop-up camera on K20 Pro, unfortunately it is unfinished. xiaomi-motor can be used (as root) to retract the camera, as it is written in the K20 pro/mi 9t pro wiki. Mine is Mi 9T (not pro) but it works the same way.
 
Last edited:

pvdeejay

Senior Member
Jan 5, 2010
127
30
I'm using this rom https://forum.xda-developers.com/pr...p-10-0r40-microg-ufofficial-cve-aug-t4147899/ on Xiaomi redmi 9 galahad. This is based off of v302.
When I'm using bluetooth headset microphone volume level is very very low. The other party can't almost hear nothing from my microphone. To find out it's there and working with very very low volume I can just knock on the microphone and then I can hear it's registering some noyse.
I've tried disabling a2DP offload, setting bluetooth workarounds to mediatek rebooting the device in the process however I can't make it work better.
Do you have more ideas?
 

Michael5200

New member
Apr 20, 2021
4
1
in version AOSP 11.0 v305 does not work for the Samsung Galaxy A70 (A705MN), it gives infinite loop. appears 1 second to configure the android, and returns to the infinite loop again. Can someone help me?
 

Michael5200

New member
Apr 20, 2021
4
1
in version AOSP 11.0 v305 does not work for the Samsung Galaxy A70 (A705MN), it gives infinite loop. appears 1 second to configure the android, and returns to the infinite loop again.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 188
    Hi all,

    Here is the thread about Phh-Treble for Android 10.0, codename Quack.

    The goal of Phh-Treble for Android 10.0 is the same as for Android 8.0, 8.1, and 9.0: Bring latest AOSP to the maximum number of devices running Google-certified Treble[1], with full hardware support.

    You can download latest release at https://github.com/phhusson/treble_experimentations/releases

    Which variant do I pick
    To know which variant to download, use https://play.google.com/store/apps/details?id=tk.hack5.treblecheck . Don't use other Treble Check apps, they'll give erronous informations.
    And then, you're free to choose between vanilla and gapps variant.

    What works?
    On some devices, everything. They are still not the majority though.

    What you can expect on the majority of devices?
    It should boot successfully on pretty much all devices with Google-certified Treble. [1]
    Most features should work on the majority of devices out-of-the-box: RIL, WiFi, brightness control, buttons, gestures, ...
    However, many devices still have issues with hardware video decoding and camera.

    Is device XXX supported?
    If it's a Google-certified Treble, yes it is. Unlike Google's GSI, Treble devices supported, there is no exception.
    There might be bugs of course, but if you help me, I'll fix them!

    Which vendor to use?
    1. Always use your actual device's vendor
    2. Always use OEM unmodified vendor, not some custom vendor
    3. This includes boot.img. boot.img and vendor MUST BE the same version.
    4. If you're on an Android 8.0 vendor, you'll need to stick to vendors with Security Patch Level before April 2019 (that's a bug of my GSI)

    Enjoy!

    [1] How do I know my device is Google-certified Treble?
    Well it's easy, if your device has first been released with Oreo or more recent, and it has google apps, it has a Google-certified Treble.
    Please note that this means only the vendor provided by the OEM is certified, not the one from device-specific ROM.
    11
    do you plan on doing it?
    Yes, though I've been planning it for more than a year.
    7
    Just flashed v211. What is this green dot on the lockscreen for? If I push it the screen dims and the green dot becomes brighter.
    Right, that's a fail from me, that will be fixed in next release.
    That's intended for devices with optical under-display fingerprint.
    I'm respinning a v212 to fix that.
    7
    Well not working on V40 with LOS 17 android 10 base... haven't tried with Stock LG Pie base tho....
    Use stock vendor. It is very likely lineage breaks Treble compatibility.

    works fine on sony xperia 10 dual sim + android 10 software binaries
    Thanks for the report.
    Could you update https://github.com/phhusson/treble_experimentations/wiki/ and create a page for your device mentioning your tests?

    - adaptive brightness doesnt work, i can change brightness....but the automatic change isnt there....someone get what i mean?
    - battery stats....there is no app data....only the graph
    Those are fairly easy to fix, you just need an overlay, based on infos from stock rom.
    There is a guide there https://github.com/phhusson/treble_experimentations/wiki/How-to-create-an-overlay? or a quite automatic script there: https://github.com/phhusson/treble_experimentations/blob/master/overlay/generate.sh though I recommend you join @PHHtreble telegram group so I can help you create it.

    ps i would love to continue seeing AOSP+su-nogapps :fingers-crossed:
    I definitely don't plan on obsoleting it. Though i'm interested, may I ask why you're using this one?

    ps.: changelog said october security update? in options still september written?
    Yup my bad, that's indeed still september.
    Hopefully next should be proper november.

    Its working perfectly. but it would be awesome if the fix was built in
    Well the zip itself is closed-source, I can't integrate it without its sources
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone