FORUMS
Remove All Ads from XDA

[ROM][UNOFFICAL] LineageOS 15.1/16.0 Treble ROM

90 posts
Thanks Meter: 245
 
By notsyncing, Member on 24th June 2018, 03:43 PM
Post Reply Email Thread
I compiled this from phhusson's source. This is my daily driver now. Seems pretty stable. So I share it here for anyone who needs it.
btw, this rom can also be used on mi pad 4.


ALWAYS BACKUP BEFORE YOU TRY IT!



You won't be able to direct downgrade from 16.0 to 15.1, so please backup, backup and backup!


This should work if you are on MIUI9 9.5.12 or MIUI10 8.6.21 previously. If not, please update to at least these versions.
For Lineage 16.0, you must be on MIUI10 8.9.20 or later.

Please, check hardware support before you flash it: https://github.com/phhusson/treble_e...aomi-Mi-Mix-2s
Note: the "not released" in the sheet above means it is persent in my release, but not yet in phhusson's lineageos release.

All thanks go to @phhusson for this wonderful generic treble rom!

Usage:

Download, decompress, and execute:

fastboot flash system system.img

Then wipe data, cache, etc. And finally reboot and enjoy!

To root:

Install magisk v16.0 or above.
Note: After magisk installation adb will gone. You need to manually copy /system/bin/adbd to /sbin/ and execute "start adbd" to make adb work again. You will need to do this on every reboot!

Or use LineageOS su (Lineage 16.0 did not have offical su yet!).
Note: To make lineage su work, you need to open the system/etc/init/superuser.rc in the su zip and modify su_daemon to another name, due to stupid xiaomi put a service with the same name in /init.miui.rc!
Or you can download already modified version from my link: https://drive.google.com/open?id=1pd...7hI0XDBete8Vkz
md5: f68c05d5b45b8e24e6a658b21f264c8d
sha256: d74a4e1e33c5117bde9e5f75f927cb38fc93e8f68f6daa2177 1efccb671cedd3

For GApps:
According to reports, you can try flashing opengapps. If it crashes, please try a full wipe (wiping whole /data).

For bootloop or non-booting:
According to reports, please try a full wipe (wiping whole /data).

Changelogs:

v5.4 (2018-11-16):
Third Lineage 16.0 GSI experimental build.
Please remove your lockscreen pin/pattern in settings before flashing! You can add it back after flashing.

v5.2 (2018-10-01):
Second Lineage 16.0 GSI experimental build.
Some crashing issues should be fixed.

v5 (2018-09-20):
First Lineage 16.0 GSI experimental build.
NOTE: LineageOS 16.0 has not officially released yet, and this version did not have all lineage features working!
NOTE: My twrp is not able to decrypt android P encryption yet. Please find other working twrp version if you need it.
NOTE: Don't use muzei with this version, or you may experience systemui keeps crashing. To recover, run "pm disable net.nurik.roman.muzei" on an adb shell.

v4 (2018-09-10):
Sync with phhusson's v25 code and latest LineageOS code (September security patches).
This version also contains an ugly hacking script to change your device name from "Phh Treble vanilla" to "MIX 2S".

v3 (2018-08-11):
Sync with phhusson's v23 code and latest LineageOS code (August security patches).
Fixed tethering
Fixed bluetooth audio and usb dac adapter
Fixed app battery usage info display

v2 (2018-07-10):
Sync with phhusson's v22 code and latest LineageOS code (July security patches).
For me, my 3rd party usb audio adapter stopped working, but the original adapter works.
You can also wait for phhusson's v22 lineage release if mine did not work:
https://github.com/phhusson/treble_e...tions/releases

v1 (2018-06-24):
Initial release.

v5.4 Download: https://drive.google.com/open?id=1X_...DQvfQm5cai73DX
system.img sha256: 4061fcf908d80ac403aa83196511024dba5e19aa4a7ae69c51 d9cec7e6bfb3f5
system.img md5: a27b3617d6f1a408bf6da00673898d9d

v5.2 Download: https://drive.google.com/open?id=1SX...m7GY7OgmM2AK4N
system.img sha256: 8b7267f41caa3a67de708f05839930e7d5458aaac42c774e5f 41c928e4106cc9
system.img md5: 7a570b3a809f25a9bd588d92968667c1

v5 Download: https://drive.google.com/open?id=16G...YIsLT9jbiTa9gM
system.img sha256: 40b319cb12cefec97950089d62ca90581fabb2d03ebe7b17b7 7ac606da73f5bb
system.img md5: 5f003083266f0a8b8ffc87326ed5a82b

v4 Download: https://drive.google.com/open?id=1Zm...X2nB43YeIJhn6y
system.img sha256: a2f7022010897a10faf704dc47228ba90f27775881a865ca0f b0719080253c96
system.img md5: 5b2a7dd0bda36456d7251e85c416132a

v3 Download: https://drive.google.com/open?id=1zT...WMlpWEJUzn-Myn
system.img sha256: 7dba4fb39e77e7c7d4d23d100c158136b366e784956122575a 893310b0a68be0
system.img md5: 7cfe819a50dccb1be0a0a8c37cfbd0b9

v2 Download: https://drive.google.com/open?id=1cT...qNPMGmy-bb8Fns
system.img sha256:8c22c8d704443948845f88f1c957b32b13043f0722b 09fe7d41d964f7ce93c40
system.img md5: 72ffb185f877d8a84fbd79bd96324e2d

v1 Download: https://drive.google.com/open?id=1Mf...6DikhvcWYVfZHd
system.img sha256:053906b14332c862cc109ea81b514575ae07b88d4da f2b7b093bcfe5e048e964
system.img md5: 39d369a58bcfa0af51a0b80e990761a5
The Following 35 Users Say Thank You to notsyncing For This Useful Post: [ View ] Gift notsyncing Ad-Free
 
 
24th June 2018, 03:50 PM |#2  
Junior Member
Thanks Meter: 0
 
More
thx!
24th June 2018, 03:56 PM |#3  
vietnam100's Avatar
Senior Member
Flag Rhineland-Palantine
Thanks Meter: 106
 
More
[ROM][UNOFFICAL] LineageOS 15.1 Treble ROM
All functions works? 2 sim cards works? Why not flash in recovery?
Thanks for your hard work
24th June 2018, 04:30 PM |#4  
Senior Member
Thanks Meter: 73
 
More
Quote:
Originally Posted by vietnam100

All functions works? 2 sim cards works? Why not flash in recovery?
Thanks for your hard work

Because system.img only. Please try if You understand what you are doing
The Following User Says Thank You to heobanhki For This Useful Post: [ View ] Gift heobanhki Ad-Free
24th June 2018, 04:43 PM |#5  
Senior Member
Thanks Meter: 73
 
More
Not work for me
with bootloader unlocked, XE model
Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	4344
Size:	38.6 KB
ID:	4534535  
24th June 2018, 07:19 PM |#6  
Bryandu13's Avatar
Senior Member
Thanks Meter: 163
 
More
Niceee AOSP ROM for Mi Mix 2S
24th June 2018, 08:03 PM |#7  
Senior Member
Flag Cottbus
Thanks Meter: 277
 
Donate to Me
More
not booting. what is the ROM base? global stable, miui10 ?
24th June 2018, 08:20 PM |#8  
Senior Member
Flag Copenhagen
Thanks Meter: 72
 
More
Quote:
Originally Posted by notsyncing

I compiled this from phhusson's source. This is my daily driver now. Seems pretty stable. So I share it here for anyone who needs it.

This version does not contain gapps. Gapps version will come later.

To check hardware support: https://github.com/phhusson/treble_e...aomi-Mi-Mix-2s
Note: the "not released" in the sheet above means it is persent in my release, but not yet in phhusson's lineageos release.

All thanks go to @phhusson for this wonderful generic treble rom!

Usage:

Download, decompress, and execute:

fastboot flash system system.img

Then wipe data, cache, etc. And finally reboot and enjoy!

To root:

Install magisk v16.0 or above.
Note: After magisk installation adb will gone. You need to manually copy /system/bin/adbd to /sbin/ and execute "start adbd" to make adb work again. You will need to do this on every reboot!

Changelogs:

v1 (2018-06-24):
Initial release.

v1 Download: https://drive.google.com/open?id=1Mf...6DikhvcWYVfZHd
system.img sha256:053906b14332c862cc109ea81b514575ae07b88d4da f2b7b093bcfe5e048e964
system.img md5: 39d369a58bcfa0af51a0b80e990761a5

Thanks for your effort. How does your
system.img differ from using phh GSI treble?

Sendt fra min Mi MIX 2S med Tapatalk
The Following User Says Thank You to duckstardeluxe For This Useful Post: [ View ] Gift duckstardeluxe Ad-Free
24th June 2018, 09:05 PM |#9  
Senior Member
Thanks Meter: 339
 
Donate to Me
More
[/COLOR]
Quote:
Originally Posted by duckstardeluxe

Thanks for your effort. How does your
system.img differ from using phh GSI treble?

Sendt fra min Mi MIX 2S med Tapatalk

Main difference is he already implemented the screen brightness fix I think

---------- Post added at 22:05 ---------- Previous post was at 22:03 ----------

Quote:
Originally Posted by Bryandu13

Niceee AOSP ROM for Mi Mix 2S

https://forum.xda-developers.com/project-treble it's there since we have the device lol
24th June 2018, 11:23 PM |#10  
Senior Member
Thanks Meter: 13
 
More
What about camera quality. Comparable with miui?
25th June 2018, 12:12 AM |#11  
Senior Member
Thanks Meter: 339
 
Donate to Me
More
Quote:
Originally Posted by sidofido

What about camera quality. Comparable with miui?

No, but when we have a gcam port the quality will be comparable. However the second lens is not supported by gcam so one of the 2 lenses will be useless
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes