[HowTO] Treble for S9

ASHLEY117

Senior Member
Jun 9, 2011
980
407
93
Someshire
I did,even formatted the system,data,dalvik and cache,but it didn't solve the problem
Is it the recovery or sth else is wrong?
NO wipes before install treble gsi's. It's strange but if you wipe system it says cannot flash to file system/No OS installed. Only wipe cache, dalvik and data in twrp after flashing. Tried and tested but S9 is counter intuitive to previous methods on treble ???
 
  • Like
Reactions: Vmb265

pouya.nodeti

Member
Jul 11, 2012
13
1
0
NO wipes before install treble gsi's. It's strange but if you wipe system it says cannot flash to file system/No OS installed. Only wipe cache, dalvik and data in twrp after flashing. Tried and tested but S9 is counter intuitive to previous methods on treble
Thanks for the answer, I did it but it still says cannot install images to system, reinstalled twrp with the img file, flashed the system.img again, it installed but won't boot up just seeing the splash screen, also when flashing anything in recovery i get sth like cpefs is read only, I'm really confused, never had any problems flashing in my past devices
 

ASHLEY117

Senior Member
Jun 9, 2011
980
407
93
Someshire
Thanks for the answer, I did it but it still says cannot install images to system, reinstalled twrp with the img file, flashed the system.img again, it installed but won't boot up just seeing the splash screen, also when flashing anything in recovery i get sth like cpefs is read only, I'm really confused, never had any problems flashing in my past devices
S9 is weird, if you bootloop on splash screen then you'll need to flash a totally stock unpatched Sammy kernel or restore a backup boot.img which is unpatched by SuperSU. I'm running aosp with EX kernel and soldiers stock kernel works fine.
If you root stock using SuperSU then try flashing treble img's then it will always boot loop.
 
  • Like
Reactions: pouya.nodeti

pouya.nodeti

Member
Jul 11, 2012
13
1
0
S9 is weird, if you bootloop on splash screen then you'll need to flash a totally stock unpatched Sammy kernel or restore a backup boot.img which is unpatched by SuperSU. I'm running aosp with EX kernel and soldiers stock kernel works fine.
If you root stock using SuperSU then try flashing treble img's then it will always boot loop.
Thanks, it finally worked! It is really weird, i just wish the screen unresponsiveness issue would be fixed
 
  • Like
Reactions: Griffiths_Anna

Benphire

Member
Apr 10, 2018
16
4
3
I Finally Got Project Treble Working On My S9 Plus But Now I'm Facing The Same Issue As Pouya Above As My Screen 90% Of The Time Is Unresponsive, Does Anyone Have A Fix For This? If Not Then Thanks For Taking The Time To Read This And Have A Wonderful Day Or Night! :D