TUTORIAL - How to install Treble ROMs (AOSP / Lineage / Pixel Experience)

WalterCool

Senior Member
Jan 15, 2012
124
25
28
Hi everyone,

I decided to make a thread about this topic because I took too much time trying to check how to do this, as isn't really documented.

If you are at Official Android 8 - 9, so you must use A-type Treble images. If you are at Official Android 10, so you must pick AB-type Treble images. Always pick ARM64 images.

Some nice projects about Treble:
- AOSP 10: https://forum.xda-developers.com/pr...velopment/aosp-10-0-quack-phh-treble-t3992559
- LineageOS 17: https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
- Resurrection Remix (Android 8, 9, 10): https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
- Many others: https://forum.xda-developers.com/project-treble/trebleenabled-device-development

How to install it on your Tab S4, order is important here:

- Basically, get TWRP and install it: https://forum.xda-developers.com/galaxy-tab-s4/development/recovery-twrp-3-3-0-sm-t83x-t3928278
- Format your data folder at TWRP
- Make backup at least from Boot and Vendor Image.
- Pick and install any of the Treble images mentioned before. At TWRP go to "Install", then tap "Install Image", and pick "System Image"
- Install DM-Verity disabler https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
- Install Magisk https://magisk.me/zip/#Download_Magisk_Zip

It should work, if doesn't, try another build as might be some bug. Be sure to follow all previous steps as mentioned, or you may be stuck at bootloop.

Known issues:
- Mono audio, only bottom speaker works.
- Some projects may have a rotation issue.
- S-Pen is detected as a mouse instead of pointer, but not really a bug.
- Others: https://github.com/phhusson/treble_experimentations/wiki/Samsung-Galaxy-Tab-S4-10.5

Hope this helps to anyone! Let me know if you get some problem, from my side I had built and installed LineageOS, it works flawless! Encryption or password lock doesn't work (for me)

Example of LineageOS:


 
Last edited:

enotar

Senior Member
Jun 23, 2010
1,426
468
103
Hi everyone,

I decided to make a thread about this topic because I took too much time trying to check how to do this, as isn't really documented.

If you are at Official Android 8 - 9, so you must use A-type Treble images. If you are at Official Android 10, so you must pick AB-type Treble images. Always pick ARM64 images.

Some nice projects about Treble:
- AOSP 10: https://forum.xda-developers.com/pr...velopment/aosp-10-0-quack-phh-treble-t3992559
- LineageOS 17: https://forum.xda-developers.com/pr...lopment/gsi-lineageos-17-0-gsi-archs-t4004673
- Resurrection Remix (Android 8, 9, 10): https://forum.xda-developers.com/pr...pment/gsi-resurrection-remix-o-6-1-0-t3811299
- Many others: https://forum.xda-developers.com/project-treble/trebleenabled-device-development

How to install it on your Tab S4, order is important here:

- Basically, get TWRP and install it: https://forum.xda-developers.com/galaxy-tab-s4/development/recovery-twrp-3-3-0-sm-t83x-t3928278
- Format your data folder at TWRP
- Make backup at least from Boot and Vendor Image.
- Pick and install any of the Treble images mentioned before. At TWRP go to "Install", then tap "Install Image", and pick "System Image"
- Install DM-Verity disabler https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
- Install Magisk https://magisk.me/zip/#Download_Magisk_Zip

It should work, if doesn't, try another build as might be some bug. Be sure to follow all previous steps as mentioned, or you may be stuck at bootloop.

Known issues:
- Mono audio, only bottom speaker works.
- Some projects may have a rotation issue.
- S-Pen is detected as a mouse instead of pointer, but not really a bug.
- Others: https://github.com/phhusson/treble_experimentations/wiki/Samsung-Galaxy-Tab-S4-10.5

Hope this helps to anyone! Let me know if you get some problem, from my side I had built and installed LineageOS, it works flawless!
Can you send some pics please
Thank you
 

WalterCool

Senior Member
Jan 15, 2012
124
25
28
Can you send some pics please
Thank you
Just took 2 screenshot at my tablet and added them to first post using LineageOS. One at main screen, Second one at Settings using S-Pen (appears as mouse)

Be aware those roms may have incompatibilities, for example I can't encrypt or set a lock screen. Will report that later.
 
  • Like
Reactions: enotar

droidbot1337

Senior Member
Apr 2, 2013
619
192
63
i have 3 tab 4 tablets all upgraded to the latest update and 2 flashed with the latest HavocOS GSI. one i cant seem to get to work. its a wifi 256GB model. i have tried everything the same way as the 65GB models but nothing. anyone got some help?
 

WalterCool

Senior Member
Jan 15, 2012
124
25
28
i have 3 tab 4 tablets all upgraded to the latest update and 2 flashed with the latest HavocOS GSI. one i cant seem to get to work. its a wifi 256GB model. i have tried everything the same way as the 65GB models but nothing. anyone got some help?
Hmm haven't tried HavokOS, what is the error you are visualizing? And where?

Can you boot TWRP normally?
 

g0at1

Senior Member
Sep 24, 2013
249
71
48
Works Great but, is it possible to realize at least mono in landscape.
Known issues:
- Mono audio, only bottom speaker works.

Greetings
I take lots of handwritten notes. My tab S4 is mainly a notebook. Does the s pen work properly?
 

WalterCool

Senior Member
Jan 15, 2012
124
25
28
I take lots of handwritten notes. My tab S4 is mainly a notebook. Does the s pen work properly?
It works like a mouse, as someone said, if there is some app supporting drawing with a mouse, it will work.

s-pen works quite good, but mouse icon is annoying for me.