[Guide] Install Android Pie 9.0 (via Semi-GSI Version)

Search This thread

Im_Mattgame

Senior Member
Oct 3, 2015
202
63
This guide will show you how to install Android 9.0 Pie using the (semi) Generic System Image built using the official release.

What is project treble?
I would suggest checking out Android Authority's Gary explains video which goes quite well into depth.

How is it incorporated into this guide?
Well as you read from the title, we will be using a Semi-GSI, meaning we are using a ROM made for the OP5 (in this case the Mokee ROM) underneath and the GSI as the "frontend".

Download Section

[0]Download everything above.

[1]MAKE SURE YOU ARE NOT ENCRYPTED
- If you are: Wipe Data
- If you aren't: Well, it's always better to start clean, Wipe Data

[2] Flash the latest OOS firmware

[3]Flash the Latest Mokee Nightly ROM

[4]Flash the good old NoVerity.

[4]Boot up the System

[5]Vaguely setup the phone, I'd suggest skipping the network connection process, just let the phone think you're called John Smith, it's not that important I swear ?

[6]Reboot back to Recovery

[7]Now the fun part, in TWRP > Install > Install Image (I too wondered when I would ever use it again) > Install the extracted image from P-PR1-sGSI-Aonly.zip

[8] MOUNT VENDOR, don't forget!
Goto Mount > Check "Vendor"

[9] Install all the Post files you downloaded (1, 2 and 3)

[10] Reboot to system

[11]Now the ROM is booted, however it is not yet ready for daily use. I invite you to reboot back to recovery.

[12]Using the Advanced > File Manager, move the Google Play Services apk you downloaded from above to system/priv-app, find the old one and replace it with the new one

[13]Again using the file manager, move the Google Camera APK to /system/priv-app

[14]Flash the Camera Zip fix

[15]Flash the Lag Fix

[16](Optional but highly recommended)) Flash latest Redflare Kernel


Facing any Issues? Ask me here or here
Disclaimer:
I am not responsible for anything that could happen to your device. I would also like to add that I am not at all taking credit for any work by developers who's source I mention. I am merely trying to spread the word about their development!
 
Last edited:

Pho3nX

Senior Member
Jun 13, 2013
2,875
2,111
Nothing Phone 1
It's not AOSP Pie, it's S-GSI rom ported from Google Pixel DP/PR releases. And like said djsubstrain a lot of guides has been posted in the original topic [ROM][P][PORTED][semi-GSI] Android P Developer Preview

I purpose my tutorial from the DP4/DP5/PR1 release :

\01/ Back up your personal data, sms (with SMS Backup & Restore), etc on your computer
.
.
\02/ For "cooking" lol you have need of all that :

a_ The latest nightly MoKee Rom (MK81.0) : MoKee support Treble from the 04102018 rom, so all MoKee are Treble friendly
Link : https://download.mokeedev.com/?device=cheeseburger

b_ A recovery TWRP Treble compatible, i advise the latest blu_spark "twrp-3.2.3-x_blu_spark_v8.83_treble-op5_op5t.img"
Link : https://xdaforums.com/devdb/project/dl/?id=30102

c_ The no-verity v3 treble (by xXx) for keep your device decrypted
Link : https://xdaforums.com/showpost.php?p=77023097&postcount=65

d_ The latest OOS 8.1.0 Beta Modem/Firmware (now OOS OB15), by shadowstep
Link : https://xdaforums.com/showpost.php?p=76943628&postcount=8

e_ The latest Android P-PR1 (A Only for OP5/5T) : P-PR1-sGSI-Aonly.zip
Link : https://androidfilehost.com/?fid=5862345805528067641

/!\ When you have complete "P-PR1-sGSI-Aonly.zip" download, you must extract file for get "P_PR1_A_only.img" /!\

f_ The POST-sGSI files (for complete the Android P-PR1 installation) POST-sGSI_1_v0.14.zip, POST-sGSI_2_v0.17.zip & POST-sGSI_3_v0.5.zip
Link : https://androidfilehost.com/?w=files&flid=280192

g_ The FBE Disabler (for fix first boot after Android P installation in some devices) : FBE_Disabler.zip
Link : https://androidfilehost.com/?w=files&flid=279429

h_ Latest Google Apps (for fix/finish first Setup Wizard boot)
* Google Play services 13.2.72 (100400-206980955) : (arm-v7a + arm64-v8a / nodpi / Android 9+)
https://www.apkmirror.com/apk/googl...3-2-72-100400-206980955-android-apk-download/
* Google Play Store 11.2.14
https://www.apkmirror.com/apk/googl...2-14-all-0-pr-207207134-android-apk-download/

.
.
\03/ Go in TWRP Recovery, update TWRP with the \02/b_ version, reboot > recovery
.
.
\04/ In TWRP > Wipe > everything, all partitions and format Data (erase all your data, be sure you have backup your data BEFORE), reboot > recovery
.
.
\05/ In TWRP > Flash the \02/d_ OOS 8.1.0 Beta Modem/Firmware (OOS OB15), Flash the \02/a_ latest MoKee, and finally Flash the \02/c_ no-verity v3 treble
.
.
\06/ Don't Reboot, not needed!
.
.
\07/ Always in TWRP > Wipe "ONLY" partitions > Dalvik/Cache - Cache - System - Data
.
.
\08/ Now we will install the latest PR1 Android P (Yes!) : for more details, follow the topic
Link : https://xdaforums.com/project-trebl...ment/rom-android-p-developer-preview-t3816659

For A-Only Treble Devices :

TWRP > Install > Image > Flash the \02/e_ "P_PR1_A_only.img" (extracted from P-PR1-sGSI-Aonly.zip)
TWRP > Mount > Select "Vendor" partition
TWRP > Flash the \02/f_ POST-sGSI zips from 1 to 3 in the order
TWRP > Reboot > System

If the boot stuck at the O+ logo, back in recovery, mount Vendor/System partitions : TWRP > Install > Flash the \02/g_ FBE_Disabler

.
\09/ Normally, system boot fine, but you will encounter a Setup Wizard problem (can't be finished/data restored) because some Google apps are not updated

Use the File manager and install the \02/h_ Google Play Services & Google Play Store APK
Reboot system
.
.
\10/ Now for Custom your P, you can read my post :
Link : https://xdaforums.com/showpost.php?p=77188280&postcount=222




Enjoy :D


When you purpose a Guide, think to post also all the rom link/credits/sources, so thank you @erfanoabdi
 
Last edited:
  • Like
Reactions: ajnexus5

tsuttie99

Senior Member
I don't understand the hate lack of love for this guide. I have already done this process and been running S-GSI for a bit. I find this guide to be more straightforward, with better layout, and best of all it's located in the OP5 specific forum, instead of getting buried in a generic Treble thread. It also provided some really helpful resources for fixing some bugs I've been living with. Thanks to the OP for this, and I look forward to future developments of AOSP/GSI/Treble! (Maybe soon my phone won't need to think it's a Pixel XL!)

PS - to anyone reading, I'm looking for some help with the hw keys. End goal is to have BACK as the right hw key, and APP_SWITCH as the left. Remapping BACK and APP_SWITCH keys in /system/usr/keylayout/Generic.kl results in both my hw keys acting as APP_SWICH even though I have them seemingly set to BACK.

I can post my file as well as the original if it's helpful.
 
Last edited:

Pho3nX

Senior Member
Jun 13, 2013
2,875
2,111
Nothing Phone 1
I don't understand the hate for this guide. I have already done this process and been running S-GSI for a bit. I find this guide to be more straightforward, with better layout, and best of all it's located in the OP5 specific forum, instead of getting buried in a generic Treble thread. It also provided some really helpful resources for fixing some bugs I've been living with. Thanks to the OP for this, and I look forward to future developments of AOSP/GSI/Treble! (Maybe soon my phone won't need to think it's a Pixel XL!)

PS - to anyone reading, I'm looking for some help with the hw keys. End goal is to have BACK as the right hw key, and APP_SWITCH as the left. Remapping BACK and APP_SWITCH keys in /system/usr/keylayout/Generic.kl results in both my hw keys acting as APP_SWICH even though I have them seemingly set to BACK.

I can post my file as well as the original if it's helpful.

I don't know where you have seen some "hating" in our words lol :confused:

Just explain that there from a long time tutorial, just explain that is not a AOSP rom but a S-GSI ported from Pixel II and advise the OP to always link/credits original thead....
 

tsuttie99

Senior Member
I don't know where you have seen some "hating" in our words lol :confused:

Just explain that there from a long time tutorial, just explain that is not a AOSP rom but a S-GSI ported from Pixel II and advise the OP to always link/credits original thead....

Fair enough. edited my post to reflect. But as far as I can tell, this seems like an original piece of work. Nothing to me flags as "stolen from someone else" or anything like that.
 

ajnexus5

Senior Member
Oct 1, 2014
101
48
tampa USA
I don't understand the hate lack of love for this guide. I have already done this process and been running S-GSI for a bit. I find this guide to be more straightforward, with better layout, and best of all it's located in the OP5 specific forum, instead of getting buried in a generic Treble thread. It also provided some really helpful resources for fixing some bugs I've been living with. Thanks to the OP for this, and I look forward to future developments of AOSP/GSI/Treble! (Maybe soon my phone won't need to think it's a Pixel XL!)

PS - to anyone reading, I'm looking for some help with the hw keys. End goal is to have BACK as the right hw key, and APP_SWITCH as the left. Remapping BACK and APP_SWITCH keys in /system/usr/keylayout/Generic.kl results in both my hw keys acting as APP_SWICH even though I have them seemingly set to BACK.

I can post my file as well as the original if it's helpful.
This thread explains how to solve some problems like changing the buttons. It is in Spanish but nothing that Google can not solve. :p
https://www.htcmania.com/showthread.php?t=1431954
 
  • Like
Reactions: vrg3030

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    This guide will show you how to install Android 9.0 Pie using the (semi) Generic System Image built using the official release.

    What is project treble?
    I would suggest checking out Android Authority's Gary explains video which goes quite well into depth.

    How is it incorporated into this guide?
    Well as you read from the title, we will be using a Semi-GSI, meaning we are using a ROM made for the OP5 (in this case the Mokee ROM) underneath and the GSI as the "frontend".

    Download Section

    [0]Download everything above.

    [1]MAKE SURE YOU ARE NOT ENCRYPTED
    - If you are: Wipe Data
    - If you aren't: Well, it's always better to start clean, Wipe Data

    [2] Flash the latest OOS firmware

    [3]Flash the Latest Mokee Nightly ROM

    [4]Flash the good old NoVerity.

    [4]Boot up the System

    [5]Vaguely setup the phone, I'd suggest skipping the network connection process, just let the phone think you're called John Smith, it's not that important I swear ?

    [6]Reboot back to Recovery

    [7]Now the fun part, in TWRP > Install > Install Image (I too wondered when I would ever use it again) > Install the extracted image from P-PR1-sGSI-Aonly.zip

    [8] MOUNT VENDOR, don't forget!
    Goto Mount > Check "Vendor"

    [9] Install all the Post files you downloaded (1, 2 and 3)

    [10] Reboot to system

    [11]Now the ROM is booted, however it is not yet ready for daily use. I invite you to reboot back to recovery.

    [12]Using the Advanced > File Manager, move the Google Play Services apk you downloaded from above to system/priv-app, find the old one and replace it with the new one

    [13]Again using the file manager, move the Google Camera APK to /system/priv-app

    [14]Flash the Camera Zip fix

    [15]Flash the Lag Fix

    [16](Optional but highly recommended)) Flash latest Redflare Kernel


    Facing any Issues? Ask me here or here
    Disclaimer:
    I am not responsible for anything that could happen to your device. I would also like to add that I am not at all taking credit for any work by developers who's source I mention. I am merely trying to spread the word about their development!
    1
    It's not AOSP Pie, it's S-GSI rom ported from Google Pixel DP/PR releases. And like said djsubstrain a lot of guides has been posted in the original topic [ROM][P][PORTED][semi-GSI] Android P Developer Preview

    I purpose my tutorial from the DP4/DP5/PR1 release :

    \01/ Back up your personal data, sms (with SMS Backup & Restore), etc on your computer
    .
    .
    \02/ For "cooking" lol you have need of all that :

    a_ The latest nightly MoKee Rom (MK81.0) : MoKee support Treble from the 04102018 rom, so all MoKee are Treble friendly
    Link : https://download.mokeedev.com/?device=cheeseburger

    b_ A recovery TWRP Treble compatible, i advise the latest blu_spark "twrp-3.2.3-x_blu_spark_v8.83_treble-op5_op5t.img"
    Link : https://xdaforums.com/devdb/project/dl/?id=30102

    c_ The no-verity v3 treble (by xXx) for keep your device decrypted
    Link : https://xdaforums.com/showpost.php?p=77023097&postcount=65

    d_ The latest OOS 8.1.0 Beta Modem/Firmware (now OOS OB15), by shadowstep
    Link : https://xdaforums.com/showpost.php?p=76943628&postcount=8

    e_ The latest Android P-PR1 (A Only for OP5/5T) : P-PR1-sGSI-Aonly.zip
    Link : https://androidfilehost.com/?fid=5862345805528067641

    /!\ When you have complete "P-PR1-sGSI-Aonly.zip" download, you must extract file for get "P_PR1_A_only.img" /!\

    f_ The POST-sGSI files (for complete the Android P-PR1 installation) POST-sGSI_1_v0.14.zip, POST-sGSI_2_v0.17.zip & POST-sGSI_3_v0.5.zip
    Link : https://androidfilehost.com/?w=files&flid=280192

    g_ The FBE Disabler (for fix first boot after Android P installation in some devices) : FBE_Disabler.zip
    Link : https://androidfilehost.com/?w=files&flid=279429

    h_ Latest Google Apps (for fix/finish first Setup Wizard boot)
    * Google Play services 13.2.72 (100400-206980955) : (arm-v7a + arm64-v8a / nodpi / Android 9+)
    https://www.apkmirror.com/apk/googl...3-2-72-100400-206980955-android-apk-download/
    * Google Play Store 11.2.14
    https://www.apkmirror.com/apk/googl...2-14-all-0-pr-207207134-android-apk-download/

    .
    .
    \03/ Go in TWRP Recovery, update TWRP with the \02/b_ version, reboot > recovery
    .
    .
    \04/ In TWRP > Wipe > everything, all partitions and format Data (erase all your data, be sure you have backup your data BEFORE), reboot > recovery
    .
    .
    \05/ In TWRP > Flash the \02/d_ OOS 8.1.0 Beta Modem/Firmware (OOS OB15), Flash the \02/a_ latest MoKee, and finally Flash the \02/c_ no-verity v3 treble
    .
    .
    \06/ Don't Reboot, not needed!
    .
    .
    \07/ Always in TWRP > Wipe "ONLY" partitions > Dalvik/Cache - Cache - System - Data
    .
    .
    \08/ Now we will install the latest PR1 Android P (Yes!) : for more details, follow the topic
    Link : https://xdaforums.com/project-trebl...ment/rom-android-p-developer-preview-t3816659

    For A-Only Treble Devices :

    TWRP > Install > Image > Flash the \02/e_ "P_PR1_A_only.img" (extracted from P-PR1-sGSI-Aonly.zip)
    TWRP > Mount > Select "Vendor" partition
    TWRP > Flash the \02/f_ POST-sGSI zips from 1 to 3 in the order
    TWRP > Reboot > System

    If the boot stuck at the O+ logo, back in recovery, mount Vendor/System partitions : TWRP > Install > Flash the \02/g_ FBE_Disabler

    .
    \09/ Normally, system boot fine, but you will encounter a Setup Wizard problem (can't be finished/data restored) because some Google apps are not updated

    Use the File manager and install the \02/h_ Google Play Services & Google Play Store APK
    Reboot system
    .
    .
    \10/ Now for Custom your P, you can read my post :
    Link : https://xdaforums.com/showpost.php?p=77188280&postcount=222




    Enjoy :D


    When you purpose a Guide, think to post also all the rom link/credits/sources, so thank you @erfanoabdi
    1
    I don't understand the hate lack of love for this guide. I have already done this process and been running S-GSI for a bit. I find this guide to be more straightforward, with better layout, and best of all it's located in the OP5 specific forum, instead of getting buried in a generic Treble thread. It also provided some really helpful resources for fixing some bugs I've been living with. Thanks to the OP for this, and I look forward to future developments of AOSP/GSI/Treble! (Maybe soon my phone won't need to think it's a Pixel XL!)

    PS - to anyone reading, I'm looking for some help with the hw keys. End goal is to have BACK as the right hw key, and APP_SWITCH as the left. Remapping BACK and APP_SWITCH keys in /system/usr/keylayout/Generic.kl results in both my hw keys acting as APP_SWICH even though I have them seemingly set to BACK.

    I can post my file as well as the original if it's helpful.
    This thread explains how to solve some problems like changing the buttons. It is in Spanish but nothing that Google can not solve. :p
    https://www.htcmania.com/showthread.php?t=1431954