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

Search This thread

dedaol

Senior Member
Nov 25, 2010
51
9
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

Senior Member
Nov 25, 2010
51
9
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
139
33
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?
 

ashwini215

Senior Member
Nov 17, 2014
378
97
Mumbai
@phhusson I am facing splashscreen bootloop issue on v305 (arm64_bvZ). My device is Mi 10T (code name: apollo). Please see if you can help in any way. v303 boots fine.
 
Last edited:

Michael5200

Member
Apr 20, 2021
7
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

Member
Apr 20, 2021
7
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.
 
I am using honor p8 lite prague.
I tried your rom (i was successful at installing it twice or thrice)
Most of the time i get stuck in boot animation Android or other logos like crdroid.
The issue is with creating/deleting files in Data partition.
After flashing your rom should i format data again?
shoould data partition be ext4 or f2fs?
 

ExqlVR

Member
Sep 12, 2020
15
6
Hello.

I have a Samsung Galaxy A01 (SM-A015M), after the update to android 11, I unlocked the bootloader and install TWRP (in some way)... I tried to install a GSI rom but it does not work and I even tried to use GSI flasher for samsung devices that have a "super partition"... yet It does not work.

I read on a russian forum, that this device (A01 SM-A015M) does have a "vendor mounted partition" or something like that that...

Does someone have more information about this? @phhusson do you know something?
 

kidronvalley

Senior Member
Apr 20, 2012
72
5
@phhusson thanks a lot
I am on Motorola One Zoom, installed AOSP 10 v 222.
All good, except bluetooth
I can pair headsets only as phone call
Media audio never works, seems some codec as LDAC is missing
if any workaround, welcome
 

SubSonix1

Member
Jul 18, 2011
14
3
I'm back again with my ALLDOCUBE M8 T806K

MediaTek Helio X20 (MT6797)

Can anyone please tell me which version of Treble should work?

This table runs Android 8.0.0. Security patch level: 5SEP2018

I've had boot loop issues in the past and gave up on the tablet for about a year.

It's currently back to complete stock firmware.

From memory Treble 9 worked, here's a Github issue post I made in August - https://github.com/phhusson/treble_experimentations/issues/1454

Basically I'd just like to know if I can use Treble 11 or even 10 if possible?

Screenshot_20210620-184012.png
 
  • Like
Reactions: rootbeer007

chmick

Member
Jul 9, 2017
27
14
Redmi Note 9t
Hello,
just for info ,
I tested version 309 of system-roar-arm64-ab-vndklite-gapps on my XIAOMI redmi note 9T (cannong)
It boots fine . So far it seems to be stable , I have not tested everything yet

I have a problem of echo with the bluetooth handset .
Like others I tried to replace superuser with magisk by running unsu.zip script from recovery but it did not work .
I'm a noob in the android rooting world so I don't really know what else to do .

I wrote an how-to for the noob here https://forum.xda-developers.com/t/...rand-new-redmi-note-9-t-for-the-noob.4296447/
about rooting the redmi note 9T. If some want to review and comment , please be my guest.

@phhusson If you wish to have more debug info , do not hesitate to contact me .
 

aljoscha81

Senior Member
Apr 23, 2016
1,339
105
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.
hi phh sry have to wrote you again but there is some problem to clear i own nubia z17 8gb\128gb and some people here on xda wrote you once have the problem on android 11 gsi based on your code got no working camera sometimes no nfc and bluetooth they wrote you and you answered it is a vendor problem of the device .....
so now we can run miui 11 gsi with camera working !
maybe you can help it is the same issue we run in i can remember since android 9 you solved it that time by send you log. files
 

daltroaugusto

New member
Jul 19, 2021
1
0
Brasil
Idk if someone is actually still using it, but... Well, thanks to @Typhus_ work (https://forum.xda-developers.com/t/theme-root-magisk-pixel-theme-for-stock-android-10-rom.4088143/) and some stuff (and work ofc) from LineageOS I packaged this kinda amateur Magisk module that makes LOS ThemePicker available, besides the accent colors that Typhus_ had packaged in his zip. It's lightweight and appears to work nice. I just don't know exactly why the fonts and icon shapes weren't installed (I guess it's that I decided to not import some apk overlay files from Typhus_ script, with the intent of not bloat a lot and the thinking that it could create issues as Lineage base is not the same as Pixel base something like that).
 

Attachments

  • LOSThemesAOSP_daltroaugusto_Typhus_.zip
    7.4 MB · Views: 13
  • Screenshot_20210719-070414.png
    Screenshot_20210719-070414.png
    464.5 KB · Views: 48

mahmutpekkara

Senior Member
Jun 13, 2014
139
41
Lenovo P2
Installed vanilla binder ab on tecno spark 4 lite, works like a charm! Everything looks working for now. Thanks @phhusson and every other amazing devs out there!

Edit: bugs found that very few system languages and cant set alarm lock time (cant change the time)
 
Last edited:

rootbeer007

New member
Oct 13, 2019
4
0
I'm back again with my ALLDOCUBE M8 T806K

MediaTek Helio X20 (MT6797)

Can anyone please tell me which version of Treble should work?

This table runs Android 8.0.0. Security patch level: 5SEP2018

I've had boot loop issues in the past and gave up on the tablet for about a year.

It's currently back to complete stock firmware.

From memory Treble 9 worked, here's a Github issue post I made in August - https://github.com/phhusson/treble_experimentations/issues/1454

Basically I'd just like to know if I can use Treble 11 or even 10 if possible

I found this https://github.com/LordArrin?tab=repositories there seems to be someone working on that but I still not have tested his work.
 

shaniKhan0

New member
Aug 21, 2021
2
0
you have to get in fastbootd menu,you can do that with adb reboot fastboot
But then you must scrol in the menu and reboot in fastboot than in fastboot mode you have to do the command ./fastboot reboot fastboot(or without ./ on some devices)
than you come in the same fastbootd menu and than the commands work(dont know why)

you can also try ./fastboot reboot fastboot --- from fastboot at once but if not works try the first option

---------- Post added at 11:46 AM ---------- Previous post was at 11:31 AM ----------

---------- Post added at 11:51 AM ---------- Previous post was at 11:46 AM ----------
i have tried using ( ./fastboot reboot fastboot )and without ./) still it doesn't work how to fix this I'm really annoyed plz help
 

devrieshh

Senior Member
Mar 27, 2011
262
27
use buttons on of and volume up(or down?) go to fastboot mode,than do the command :fastboot reboot fastboot
in the menu you get in take reboot in bootloader , than do the commands with ./ in front of...

i havent done it for a while so i can be wrong. hope it helpt
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    能在ZTE 8012N上刷新? 安卓10 MT6853
  • 196
    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