[Project Treble][v1.1][Android PIE + OREO][GSI][A-only]

Search This thread

Kranoner

Senior Member
Oct 12, 2016
613
3,175

you dont need to flash it twice i use omni the only think is after flash the gsi reboot to recovery again to flash gapps
big thx to nfound for this big step we are not the best friends here in the forum but this is amazing i face 2 little bugs
-vibrator work not correct
-autobrightness not listet in display settings and d2w not work
great work have a nice day ;)
 

atakan33

Senior Member
Oct 17, 2016
283
86
Dear friends!
In the video I am used Release 1.
1. Flash Project Treble
2. Flash GSI
3. !!! In Mounting - UNMOUNT and MOUNT system and vendor!
4. Install patches 1,2,3
5. Reboot

Android Pie Release 1 (Download A-only and patches): https://androidfilehost.com/?w=files&flid=280192
Work GCam: https://github.com/AospExtended/platform_vendor_aosp/blob/8.1.x/prebuilt/common/apk/Gcam.apk

NOTICE: If during a call you do not hear the subscriber - this bug fixed by update gmscore! (thx @atakan )

PS Here is another list of available GSI ROMs, use the translator!
9.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-2
8.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-3

Thank you!
flash incall2.zip(system and vendor must be mounted in twrp) and update gmscore to fix incall audio
https://tinyurl.com/gmscore
 

Attachments

  • incall2.zip
    186.5 KB · Views: 665
Last edited:

bornlivedie

Senior Member
Aug 29, 2012
1,882
741
Buenos Aires

I already said why.
you dont need to flash it twice i use omni the only think is after flash the gsi reboot to recovery again to flash gapps
big thx to nfound for this big step we are not the best friends here in the forum but this is amazing i face 2 little bugs
-vibrator work not correct
-autobrightness not listet in display settings and d2w not work
great work have a nice day ;)

Omni doesn't have the post GSI files it's no the same

Dear friends!
In the video I am used Release 1.
1. Flash Project Treble
2. Flash GSI
3. !!! In Mounting - UNMOUNT and MOUNT system and vendor!
4. Install patches 1,2,3
5. Reboot

Android Pie Release 1 (Download A-only and patches): https://androidfilehost.com/?w=files&flid=280192
Work GCam: https://github.com/AospExtended/platform_vendor_aosp/blob/8.1.x/prebuilt/common/apk/Gcam.apk

NOTICE:If during a call on Android 9 you do not hear the subscriber. (thx @atakan33 )

PS Here is another list of available GSI ROMs, use the translator!
9.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-2
8.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-3

Thank you!

Didn't work for me. Mounted and unmounted a million times.
 
Last edited:

beokabatukaba

Member
Nov 14, 2015
28
1
Redmi Note 2
Bear with me, as I'm still trying to understand the role of each component, but I have a question: Is the battery drain issue mentioned on Oki's newbie guide present in PR1? It seems like it ought to be since other users reported it was inherent to the B12 bootstack and the line "ROM Firmware Required: Official BETA B12 Oreo" can be found at the bottom of the OP here (plus everyone says B12 is required for Treble anyway). But no one has mentioned battery trouble on this thread so far, so is that particular issue resolved? I'd love to update to Pie, but I use my phone for podcasts and YouTube all the time, so any poor battery performance related to playing audio would be veeery bad.

Thank you all for your hard work anyway!
 
Last edited:

TheDarkKnightSM

Senior Member
Jan 1, 2018
101
53
29
Juarez
Nfound, does not the SIM detect me that may be the problem?

Dear friends!
In the video I am used Release 1.
1. Flash Project Treble
2. Flash GSI
3. !!! In Mounting - UNMOUNT and MOUNT system and vendor!
4. Install patches 1,2,3
5. Reboot

Android Pie Release 1 (Download A-only and patches): https://androidfilehost.com/?w=files&flid=280192
Work GCam: https://github.com/AospExtended/platform_vendor_aosp/blob/8.1.x/prebuilt/common/apk/Gcam.apk

NOTICE: If during a call on Android 9 you do not hear the subscriber. (thx @atakan33 )

NPS Here is another list of available GSI ROMs, use the translator!
9.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-2
8.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-3

Thank you!

Nfound, does not the SIM detect me that may be the problem?
 

amphi66

Senior Member
Dec 17, 2010
1,140
336
PacNW
Google Pixel 4a
Google Pixel 7
Just wanted to thank you and talk about my experience.

Converting the device to Treble was a breeze. Can be done in under 5 minutes with no issues at all. I'm currently running Android P PR1 with no major problems.

However, when trying to install the GSI (totally not related to your work, but wanted to comment on this so everyone can enjoy treble) I ran into a small problem (error 7) when flashing the POST sGSI zip files. I resolved this by doing the following:

Install the treble zip
Install the GSI
Install the treble zip again
Install the 3 zip files in order

This worked out fine for me.

Again, thanks a million times on your epic feat. This is no small task, and is very welcome. It marks a before and an after.

What 3 zip files (patches)? Not clear from my read of the instructions. I see Treble, GSI & TWRP (+ ROM of choice), but no zip.patches. Even the sound fix (elsewhere) is an APK. Thanks, I am missing something here.
 
Last edited:

yarecco

Senior Member
Dec 26, 2013
259
78
Warsaw
And I want to announce that I managed to work Dolby Digital on my A2007G
flashed Magisk module Audio Modification Library then flashed ddp.zip
 

Attachments

  • DDP.zip
    2.8 MB · Views: 135
  • Audio_Modification_Library-v1.5.7.zip
    17.5 KB · Views: 105

kountry83

Senior Member
Mar 5, 2011
657
273
Baytown
Before this I was on Pixel Experience Treble 8.1. I did the steps NFound put up and it just hangs on the penguin logo now for 20 minutes. Tried the process all over again and still the same thing. So I reflashed Pixel Experience Treble 8.1 and it's working just fine. What's going on?
 

bornlivedie

Senior Member
Aug 29, 2012
1,882
741
Buenos Aires
One flash is enough!

What works for you might not work for others. I spent 1+ hour trying to flash those 3 zips with no luck. Searched the original thread from start to finish and many people have the same issues. Until I stumbled on one post that said to reflash things, and indeed it works.

So yeah, just stop quoting me and drop the subject. I don't know why this is affecting you so much in a personal level.

What 3 zip files (patches)? Not clear from my read of the instructions. I see Treble, GSI & TWRP (+ ROM of choice), but no zip.patches. Even the sound fix (elsewhere) is an APK. Thanks, I am missing something here.

https://xdaforums.com/project-trebl...ment/rom-android-p-developer-preview-t3816659

Instructions :
for A-Only :
Download the latest ROM
Reboot to recovery
extract and flash P-DP(n)-sGSI-Aonly.zip to system
Mount vendor in TWRP
Flash POST-sGSI zips from 1 to 3 in priority
Reboot
 

yarecco

Senior Member
Dec 26, 2013
259
78
Warsaw
After few hrs of testing I noticed only few small issues:
1. after boot I get pop up warning message "there's an internal problem with your device" but the system loads and works
2. Ambient gestures don't work at all
3. remarkable heating when charging and high battery drain comparing to Oreo
4. GCam working but when try to open settings it crashes
 
Last edited:

raystef66

Recognized Developer / Recognized Contributor
Jul 2, 2013
3,004
14,435
Belgium
ZTE Axon 7
Xiaomi Mi 9
Running P-PR1-sGSI-Aonly.zip now. Source : https://androidfilehost.com/?w=files&flid=280192
Far better then a week ago. Thnx @NFound
Do install gmscore ! thnx @atakan33
Didn't have to flash the incall2.zip though. Call app ok only too loud and echo.
Working :
Magisk, adaway, black iYTB, notifications, sound......
No significant heating when charging
Seems vibration works for me
After magisk was settled I installed the A2017X_Jojoc_magiskmodule_v2.1 to ease the CPU load down and afaik I have no heating up. Even no charging issue. At least that's my experience.
Still some bugs like :
*also "there's an internal problem with your device" message... just ignore ;)
*d2tw (already mentioned)
*in call volume too loud - echo on 'other side'
*change reverse soft keys ---> just change vendor/usr/keylayout/synaptics_dsx_kl
Code:
key 158    APP_SWITCH
key 102    HOME
key 187    BACK
key 143    WAKEUP
*no auto brightness / brightness changes back to default after reboot or after some time...
*Gcam settings crashes

Have to test it further on.
Anyway, hugh improvement compared to a few weeks back ;)
 
Last edited:

koolershaker

Member
Aug 19, 2016
28
7
i tried 3 different gsi's RR official, phh lineage os, phh aex unofficial all had the problem that my sd card gets reported as corrupted (which isn't true)

it's 128gb card formated in exfat. i think exfat is somehow the problem after "repairing" in android system the card gets formated in fat32 and worked.
But i dont want fat32 cause sometimes i transport big video files on my sdcard.

second problem was on some roms auto light management doesn't worked

otherwise it seems pretty usable, calls are working, didnt test much else cause i need a working exfat card

went back to the nfound aex
 

Raffikie

Senior Member
Oct 10, 2016
116
17
My phone seems to be hot when operating and the battery drains a lot when using the phone.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 66
    View attachment 4567426
    What is Project Treble:
    Project Treble basically partitions your device into two separate partitions, a system and a vendor: system contains your generic system image, while vendor partition has your device specific files required for booting and running your phone. This way we can easily change the system image and be able to run our device on different system images with the same kernel and vendor partition
    Read more about Project Treble

    What's a GSI?:
    A GSI literally means Generic System Image. It is a general system image meant for no specific device. Treble enabled devices have the capability to run a GSI. You can find a GSI here: Phh-Treble

    ZTE Axon 7 hardware vs Treble implementation:
    Our Axon 7 is an A-only device. This means that regarding the GSI images (GSI = Generic System Image) to be used, you need to get ARM64 and A-Only system images

    What's Packaged in the zip:
    A boot image (kernel)
    A compressed vendor image (vendor)

    Requirements:
    - Unlock bootloader
    - Installed patch EDL to add /vendor part. 800Mb
    - Installed TWRP 3.2.1-8 - TREBLE

    How to install:
    - Format /system, /data and /cache, wipe /vendor
    - Install Treble flashable zip package Project_Treble_v1.0-by-NFound
    - Install GSI .img in /system part. How to flash a Generic System Image (GSI) on Project Treble supported devices
    - Reboot

    Alternative Instruction

    Working:
    Camera (and flashlight)
    WiFi
    Bluetooth
    Telephony (Calls and Data)
    Audio (Record and Playback)
    Video Playback
    Sensors

    Broken:
    Encryption (format data or remove encryption when coming from a non-treble rom)
    Sepolicy is still permissive
    Nothing else? Otherwise please report it!

    Download:
    - TWRP 3.2.1-8 TREBLE
    - AXON7_GPT_ADD_VENDOR_800MB
    - Project_Treble_v1.1-Axon7-by-NFound

    Available GSI images is here

    Android Pie Release 1 and other (video proof on Axon 7)

    Fixes:
    - More fixes for Treble ROM by @Kranoner

    Credits:
    @djkuz for add part. /vendor
    @NFound for the fact that this dude did this for us real

    Contributors:
    @NFound
    OS Version based: 8.X Oreo
    ROM Kernel: Linux 3.18.71
    ROM Firmware Required: Official BETA B12 Oreo

    Version Information
    Status: Testing

    Source-Code Vendor

    Created 2018-08-08
    Last Updated 2018-08-12
    36
    Dear friends!
    I asked the moderators to close part of my topics, since I do not have enough time for updates and further support. We believe and hope that the current developers will fix the current problems and come to a new level! Thank you all for your continued support, for your pleasant words and for your criticism. I will sometimes visit you if you do not mind.
    All of you all the best and fewer bugs.
    Good luck! :highfive: :eek:
    25
    Dear friends!
    In the video I am used Release 1.
    1. Flash Project Treble
    2. Flash GSI
    3. !!! In Mounting - UNMOUNT and MOUNT system and vendor!
    4. Install patches 1,2,3
    5. Reboot

    Android Pie Release 1 (Download A-only and patches): https://androidfilehost.com/?w=files&flid=280192
    Work GCam: https://github.com/AospExtended/platform_vendor_aosp/blob/8.1.x/prebuilt/common/apk/Gcam.apk

    NOTICE: If during a call on Android 9 you do not hear the subscriber. (thx @atakan33 )

    PS Here is another list of available GSI ROMs, use the translator!
    9.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-2
    8.x https://4pda.ru/forum/index.php?act=findpost&pid=75394613&anchor=Spoil-75394613-3

    Thank you!
    25
    Warning!
    Yesterday came out LOS-Treble: https://androidfilehost.com/?w=files&flid=280287
    During the installation, it re-allocates memory, namely:
    /system=5,5Gb
    /vendor=512Mb
    Now about the benefits of this re-design:
    1. You do not lose user data 800Mb
    This ends the pros
    Now about the disadvantages:
    Since the section of the system has decreased -
    1. You will not be able to install any official and beta ROMs for TWRP (B01, B12 etc)
    2. You will not be able to install any custom ROMs except new LOS treble. You can only install GSI.
    I remind you that with the patch from @djkuz you can put any ROMs, even those that do no-treble.
    What resampling to use you - decide for yourself.
    I just described the situation.
    Good luck. ;)
    25
    hello guys good news i modify a framework-res to match axon7 overlay then By default, phhusson's generic AOSP Treble ROM is bare bones. That means it does not include features such as Night Light, dt2w, or Adaptive Brightness. all you need is the right overlay and you can bring these features back.

    -fix Battery stats problems
    -fix DT2W
    -fix autobrightness and add axon7 values
    -add axon7 power profil
    -Sets Doze Component;
    -Sets Doze After screen off;
    -Configs autopowermodes (doze related);
    -dual band wifi support
    -VoLTE available when the gsi support it
    -WFC over IMS

    INSTALLATION:
    -Download framework-res__auto_generated_rro.apk
    -Download any rootexplorer from playstore
    -open rootexploer then go to vendor/overlay and put the framework-res__auto_generated_rro.apk in it
    -reboot and profit

    happy weekend :D:D;)