[AOSP 9.0] [2019-08-25] Phh-Treble

Search This thread

Chr1stOnABike

Member
Aug 27, 2010
39
1
On installing Magisk,
I receive this notification after each restart
"the su binary is out of date"
Is there a way to update the binary?

Hey guys. On an M5 8.4, oreo .163. Unlocked bootloader, shows 'phone"unlocked" & "FRP unlock". USB debug enabled in dev opt. Tried flashing gapps su through adb, sparse error. Ended up erecovery as slate was wiped. Then dawned on me should probably be vanilla nosu, flashed no probs, back to "this device has been unlocked etc and factory restore/wipe cache/reset" screens.

Any pointers where i'm going wrong??

EDIT: Didn't know the .xz needed to be extracted!

All working now but continually have "android.process.media keeps stopping". Only way to stop this is by disabling download manager which for obvious reasons isn't really possible. Play store not working, Netflix not compatible, what's the fix?

Used aonly gapps.

I used system-arm64-aonly-gapps-su.img.xz

I'm running it on a M5 8.4 with no issues whatsoever, Netflix is fine, no media errors you describe. I'm on the 185 base, full wipe and flashed the system via recovery (didn't go the TWRP route, too many bricked devices on the unofficial build.). After flashing wiped cache and formatted data in recovery (don't recall the fastboot commands that did this).

The only issues I found. Keep an eye on the flashing process, I had errors from a specific cable on a usb2 port. Switched to s different cable and different vport on the PC and it was fine.

Once you are up and running, you will likely see font rendering blurryness, there is a setting in phh treble settings to fix this.

I installed magisk once everything was working, I disabled the built in su app, as it complained about bring out of date (don't remove it, just disable). There is a build.prop setting tweak to get Google assistant.

My device is now behaving perfectly and works and looks like a pixel tablet. Very pleased indeed.
 
  • Like
Reactions: Dzol Cp

nattolecats

Member
Oct 18, 2018
9
2
Fukuoka
Internal Storage and Notch problem

Hi! I tried this GSI ROM on Umidigi One and found some bugs.


First, the built-in storage of this mobile phone has about 32GB, but it was reduced to 4GB after installing this ROM.:eek:
So when I flashed to factory ROM, it returned to 32GB.:eek::eek:


Second, the status bar ignored notch. This covering some content on the screen.
I saw about can support notch by applying overlay at vendor, is this correct?

I'm a beginner so I'm very confused.
How to fix these problems?? Please tell me the tutorial.:(

Sorry my bad English, I wrote from Japan using Google Translate...
 
Last edited:
  • Like
Reactions: Dzol Cp

Dzol Cp

Senior Member
Jan 5, 2012
1,559
4,147
TB/BF Penang
Hi! I tried this GSI ROM on Umidigi One and found some bugs.


First, the built-in storage of this mobile phone has about 32GB, but it was reduced to 4GB after installing this ROM.:eek:
So when I flashed to factory ROM, it returned to 32GB.:eek::eek:


Second, the status bar ignored notch. This covering some content on the screen.
I saw about can support notch by applying overlay at vendor, is this correct?

I'm a beginner so I'm very confused.
How to fix these problems?? Please tell me the tutorial.:(

Sorry my bad English, I wrote from Japan using Google Translate...

Hi dude, how you flash your ROM? Do you successfully boot this ROM on your phone? Are you using TWRP Recovery with PT support, if yes there shouldn't be any problem for your system partition. Just try some module from Magisk for your overlay, if you talking about vendor msg on startup, just ignore that.

I just using this latest buildon my Xiaomi Mi3, I really love it, so smooth, only the major bug for me is when call in/ call out , speaker and loudspeaker is not working as I get the msg that my device is not supported and phone call may not work properly. Network signal show only 3G connection, but after I test and setup my local APN service for 4G , the data connection was so faster, only show at signal is 3G.
That's it, overall, i really miss to use this ROM for my daily driver, battery management was so awesome.. Only the bug as I wrote before.

Thanks Dev @phhusson :highfive:
 

Attachments

  • Screenshot_20181203-151854.png
    Screenshot_20181203-151854.png
    136.2 KB · Views: 574
  • Screenshot_20181203-151207.png
    Screenshot_20181203-151207.png
    72.8 KB · Views: 566

kev1807

Senior Member
Jan 17, 2011
193
12
Heidelberg
I used system-arm64-aonly-gapps-su.img.xz

I'm running it on a M5 8.4 with no issues whatsoever, Netflix is fine, no media errors you describe. I'm on the 185 base, full wipe and flashed the system via recovery (didn't go the TWRP route, too many bricked devices on the unofficial build.). After flashing wiped cache and formatted data in recovery (don't recall the fastboot commands that did this).

The only issues I found. Keep an eye on the flashing process, I had errors from a specific cable on a usb2 port. Switched to s different cable and different vport on the PC and it was fine.

Once you are up and running, you will likely see font rendering blurryness, there is a setting in phh treble settings to fix this.

I installed magisk once everything was working, I disabled the built in su app, as it complained about bring out of date (don't remove it, just disable). There is a build.prop setting tweak to get Google assistant.

My device is now behaving perfectly and works and looks like a pixel tablet. Very pleased indeed.


Ich am in a Huawei Mediapark M5 Pro but switched Back Go 8.1 for now....
Can you Look vor Widevine Level, please?
 

fargonaz

Senior Member
Apr 16, 2007
95
18
Cool. You're right, no twrp, was advised it wasn't stable for m5? Just used adb/fastboot for all.

Can you give me a link for a good guide?

As soon as I booted in the pop up started so didn't bother setting anything up, I'll just wipe again.

Even with it back to factory spec Netflix now won't install. Says wrong version...

M5 8.4 doesn't support twrp though, followed OP to the letter, used adb/fastboot. I'll try fastboot -w.

The one in the M5 recovery thread works well enough, no, it's not 100%.
https://forum.xda-developers.com/mediapad-m5/development/recovery-twrp-3-2-2-1-t3813825

It won't install gapps, so there's that.
 
Last edited:

DeeZZ_NuuZZ

Senior Member
May 16, 2012
11,496
4,548
25
Hanover

JBolho

Senior Member
Nov 8, 2011
1,315
1,088
Porto
Hi dude, how you flash your ROM? Do you successfully boot this ROM on your phone? Are you using TWRP Recovery with PT support, if yes there shouldn't be any problem for your system partition. Just try some module from Magisk for your overlay, if you talking about vendor msg on startup, just ignore that.

I just using this latest buildon my Xiaomi Mi3, I really love it, so smooth, only the major bug for me is when call in/ call out , speaker and loudspeaker is not working as I get the msg that my device is not supported and phone call may not work properly. Network signal show only 3G connection, but after I test and setup my local APN service for 4G , the data connection was so faster, only show at signal is 3G.
That's it, overall, i really miss to use this ROM for my daily driver, battery management was so awesome.. Only the bug as I wrote before.

Thanks Dev @phhusson :highfive:

What are you saying regarding network bands? Mi3 is a 3G only device with a 21Mbps max download capability modem. It is not and never was 4G. And why use Treble when you have a full Pie rom for your device that is likely much more compatible? Heavy bugs are to be expected on a device that old (Snap800 was awesome but now it's just an outdated 32bit flagship), that is only Treble compatible thanks to a "hack". It may work, but the risks are much bigger than on a native Treble device with current hardware.
 
  • Like
Reactions: Dzol Cp

NisseGurra

Senior Member
Nov 22, 2005
1,073
392
How to solve the sleep of death?, My S9+ runs this GSI nicely but every time screen shuts of the phone locks up and need to be restarted to wake up the screen
 

Dzol Cp

Senior Member
Jan 5, 2012
1,559
4,147
TB/BF Penang
What are you saying regarding network bands? Mi3 is a 3G only device with a 21Mbps max download capability modem. It is not and never was 4G. And why use Treble when you have a full Pie rom for your device that is likely much more compatible? Heavy bugs are to be expected on a device that old (Snap800 was awesome but now it's just an outdated 32bit flagship), that is only Treble compatible thanks to a "hack". It may work, but the risks are much bigger than on a native Treble device with current hardware.


Yeah bro you're exactly right, Mi3 is only 3G devices, which to H+ will appear, like I said, the connection is faster, only at signal shown 3G, I know what you mean, I have try Aosp Pie for my Mi3, pretty stable but battery is draining so fast as you even wonder :eek: I just back to addiction of flashing, as this time that GSI is all about.

H+ and 3G
 

Attachments

  • Screenshot_Pixel_Launcher_20181205-175820.jpg
    Screenshot_Pixel_Launcher_20181205-175820.jpg
    130.6 KB · Views: 1,006
  • Screenshot_20181201-213001.png
    Screenshot_20181201-213001.png
    137.5 KB · Views: 998

rooban90

Senior Member
Dec 12, 2015
146
36
Fingerprint sensor is not working in Redmi 6 pro indian version with v108

Edit: reinstalled after 10.0.2.0 update. Fingerprint is working fine with v108 now.
Also v108 fixed screen blink issue and brightness slider issue.
Onl volte is not working
 
Last edited:

phhusson

Recognized Developer
Jul 23, 2009
2,448
4,694
Paris
Thanks! Moto E5 glitches are fixed? In op he says not yet.
Well, the glitch is fixed (that's the fix for snapdragon in the changelog), but current version no longer boots, so take your pick.
But you can just add debug.hwui.renderer=opengl in your /system/build.prop to fix it on old build.

Have you been able to fix the slow FPS on the razer phone. When I installed this GSI it doesn't seem to have 120hz enabled by default like the Oreo flavour of gsi's? Other than that everything worked from what I can remember.
I can say for sure that the FPS is higher on Razer Phone running my Pie GSI (I still have the wow feeling I pick it up), than on any other phone running my Pie GSI, so the 120Hz is enabled, that's without doubt.
Please note that there is an option (FPS Divisor) in phh-treble settings to reduce FPS (to lower power consumption). Double-check that you have this set to the lowest value.
Now, it is possible that the UI is globally slower on Pie than on Oreo, and since I'm merely comparing various devices running Pie, I wouldn't notice a regression.
 
  • Like
Reactions: requiiiem

Top Liked Posts

  • There are no posts matching your filters.
  • 334
    WARNING: You'll most probably loose ALL your data, and might break your phone. Please use with extreme caution!

    The goal of this ROM is to provide maximum hardware compatibility inside a Generic System Image.
    No feature will be added. This will ease forward porting to new Android versions, which is the very goal of Project Treble :)

    My hope is that other ROM developers will use this ROM as a basis to construct more advanced ROM.

    How to flash:
    Follow instructions available at https://www.xda-developers.com/flash-generic-system-image-project-treble-device/


    What doesn't work:
    - NFC on some devices
    - Front camera on Razer Phone
    - Stock AOSP camera app on some devices. Please use OpenCamera app
    - many graphic glitches on Moto E5

    What works:
    - Pretty much everything else

    Tested devices:
    - Samsung Galaxy S9+ Exynos
    - OnePlus 6
    - Blackview A20
    - Koolnee Rainbow
    - Cubot X18 Plus
    - Pixel 2 XL (running Android 8.1 vendor)
    - Lenovo Moto E5
    - Allview V3 Viper
    - Razer phone
    - Huawei View 10
    - Huawei Mate 9

    This is an experimentation, this means that I'm mostly interested in bugreports.
    But, I don't want too many reports, so please:
    - If you use a community Treble, ASK YOUR TREBLE DEV FIRST (then they can come ask me here)
    - I want bugs only about hardware features, not software bugs
    - A bug without a device name doesn't exist
    - A bug without a log doesn't exist

    Downloads are available at https://github.com/phhusson/treble_experimentations/releases/tag/v119

    ChangeLog:
    v113 (2019-05-07):
    - May security patch
    - various fixes for Xiaomi Mi 9

    v111 (2019-03-06):
    - March Android security patch
    - Fix MT6739 incoming SMS and mobile data connection
    - Fix audio glitches on sakura
    - Added overlay for:
    - Asus Zenfone L1
    - Lenovo S5
    - HTC U12+
    - Fix low brightness issue on Realme 2 Pro (Thanks @SamarV-121)
    - Fix sound on Motorola james, pettyl, evert, jeter, aljeter
    - Fix device will boot only few times on A/B devices running Pie vendor
    - Fix boot on some Moto devices running Pie vendor
    - Refix in-call mute on Huawei devices
    - Disable fingerprint as a key on Xiaomi sakura
    - Fix some graphical glitches on some low-end Snapdragon devices

    v109 (2019-01-08):
    - January security patch
    - Fix RIL on Exynos 7870 devices
    - Possibly fix NFC on some Huawei devices
    - Fix sound on some Lenovo Moto devices
    - Fix flashlight on Huawei Y6 2018
    - Fix backlight on Xperia XZ1
    - Fix audio jack on LG V40
    - Fix quick settings position on "low end" screens
    - Fix notch, auto backlight, ... for various devices

    v108 (2018-12-05):
    - Fix broken UI on Snapdragon 425, 430, 435
    - Fix bootanimation for some Mediatek devices
    - Some fixes for some Samsung devices (J6/A6 and alikes. It's still very unstable)
    - Support IA key on Xiaomi Mi Mix 3
    - Fix fingerprint pressing a button on Xiaomi Mi Mix 3, Xiaomi Mi 8 Lite, Xiaomi Mi A2
    - Fix brightness on Xiaomi Mi 8 Lite, Xiaomi Redmi Note 5, Xiaomi Redmi Note 4X, Xiaomi Mi Max 3,
    - Fix the hide notch option
    - Add a new variant for devices running 32bits Android, but 64bits binder (if the kernel is 64bits, or this is a Pie-originated device)
    - Fix weird/ugly sound on Xiaomi Mi Mix 3
    - Fix boot on some Huawei devices
    - Fix flashlight on Huawei devices
    - Fix boot/instability on Qualcomm Android 8.0 vendors
    - Fix USSD on Huawei devices
    - Fix in-call mute on Huawei devices
    - Support notch on Xiaomi Mi 8 Lite
    - Fix stereo not enabled on reboot on Samsung Galaxy S/Note 9/+
    - Adjust Xiaomi Mi 8SE statusbar and rounded corners
    - Fix OnePlus6 overlay
    - December security patch

    v107 (2018-11-09):
    - If you like this release, you can donate: https://www.paypal.me/phhusson
    - Stereo on Samsung Galaxy S9/Note9 (enable it in the Treble Settings)
    - Improve performance of Pie recent apps on Galaxy S9/Galaxy Note9/Huawei P20 Lite
    - Fix S-Pen rotation on Galaxy Note 9
    - November security patch
    - Fix boot on some Android 8.0 vendors
    - Fix passphrase on Hotspot
    - Fix fingerprint triggering key event on various Xiaomi
    - Fix fingerprint gestures on Huawei
    - Overlays (auto brightness and power profiles) for many devices)

    v105 (2018-09-19):
    - Fix hotspot (for some devices?)
    - Fix NFC for some devices
    - [Samsung] Disable some pre-installed malwares
    - [Samsung] Support glove mode
    - [Samsung] Fix some screen-sleep related issues (like dead touchscreen on suspend, or not working hard click button)
    - [OP6/OP3T] Double tap to wake
    - [Xiaomi] Fix distorted sound
    - [Moto G6] Fix distorted sound
    - gapps variant is back!
    - Fix incall audio on qualcomm P vendor devices
    - Fix boot on some community treble devices
    - [Xiaomi some devices] Disable fingerprint button
    - [Mediatek MT6750] Fix boot/crashing UI
    - [SDM660 8.0] Fix camera
    - [Huawei P20/Pro] Support notch
    - [Redmi 6 Pro Indian edition] Support notch

    v104 (2018-09-05):
    - September security patch
    - [Samsung Galaxy Note 9] Fix WiFi, brightness and fingerprint sensor
    - [Samsung Galaxy S9] Support assistant and partial "home" button on S9
    - Include phh su
    - [Xiaomi Mi 6X] Fix backlight control on
    - [Xiaomi ...] Fix sound on Mi 8 *, Poco,
    - [Xiaomi Mi Mix 2S] Delete fingerprint key event
    - [Treble app] [Huawei] Setting for hwcomposer overlay bypass option to workaround blur issue
    - [Treble app] minor fixes
    - Add support for status bar reduction for notches
    - Fix webview issue when not using gapps
    - Huawei RROs (automatic backlight, battery infos, ...) (Thanks @Dil3mm4)
    - [Known regression of this version] Broke ro.sf.hwrotation (needed for screen rotation on some devices)

    v103 (2018-08-29):
    - New Treble app. Look for it in the Settings
    - Fix incoming calls on MTK
    - Fix MTK RIL vendor 8.0
    - Fix brightness on Mi Pad 4
    - Fix dark mode for some devices
    - Fix brightness for Note 9 and Japanese S9
    - Fix status bar height for Pocophone F1's notch

    v102 (2018-08-22):
    - Fix boot on some MTK devices
    - Fix boot on some Huawei devices
    - Fix boot on some community-ported devices
    - Fix screen rotation on some devices
    - Fix WiFi and fingerprint sensor on various devices
    - Fix S9 dead-touchscreen-on-resume issue
    24
    New release, with many little things, but gapps variant is back, hotspot is fixed for most people and NFC is fixed for some people.
    18
    There new build.
    Should fix WiFi for many people (though probably not everyone, I'd like some reports from Xiaomi Mi A2 users)
    Should fix boot for many people
    (Partially?) fixes S9 dead touchscreen
    15
    Been using it for more than 24hrs on a Razer Phone. Battery seems slightly better than in stock MR1, cameras do work except for the frontal one. Everything else, excluding the exceptions mentioned in OP, works perfectly, snappy and at full 120hz.

    This is some daily driver material :cool:
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