[ROM][UNOFFICAL] LineageOS 15.1/16.0 Treble ROM - Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe

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_experimentations/wiki/Xiaomi-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=1pdi_9dooK8Hdkh5s887hI0XDBete8Vkz
md5: f68c05d5b45b8e24e6a658b21f264c8d
sha256: d74a4e1e33c5117bde9e5f75f927cb38fc93e8f68f6daa21771efccb671cedd3
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_experimentations/releases
v1 (2018-06-24):
Initial release.
v5.4 Download: https://drive.google.com/open?id=1X_jX_BjNK8P_WZpTrEDQvfQm5cai73DX
system.img sha256: 4061fcf908d80ac403aa83196511024dba5e19aa4a7ae69c51d9cec7e6bfb3f5
system.img md5: a27b3617d6f1a408bf6da00673898d9d
v5.2 Download: https://drive.google.com/open?id=1SXIRjSejfT3vqbPjoEm7GY7OgmM2AK4N
system.img sha256: 8b7267f41caa3a67de708f05839930e7d5458aaac42c774e5f41c928e4106cc9
system.img md5: 7a570b3a809f25a9bd588d92968667c1
v5 Download: https://drive.google.com/open?id=16GTs4GBrcmHvBieBg8YIsLT9jbiTa9gM
system.img sha256: 40b319cb12cefec97950089d62ca90581fabb2d03ebe7b17b77ac606da73f5bb
system.img md5: 5f003083266f0a8b8ffc87326ed5a82b
v4 Download: https://drive.google.com/open?id=1Zm5BcCKRRMXuN-jGqlX2nB43YeIJhn6y
system.img sha256: a2f7022010897a10faf704dc47228ba90f27775881a865ca0fb0719080253c96
system.img md5: 5b2a7dd0bda36456d7251e85c416132a
v3 Download: https://drive.google.com/open?id=1zT3a81xRntp0xdE2-QWMlpWEJUzn-Myn
system.img sha256: 7dba4fb39e77e7c7d4d23d100c158136b366e784956122575a893310b0a68be0
system.img md5: 7cfe819a50dccb1be0a0a8c37cfbd0b9
v2 Download: https://drive.google.com/open?id=1cTFWjuWXzFq_W-dPkjqNPMGmy-bb8Fns
system.img sha256:8c22c8d704443948845f88f1c957b32b13043f0722b09fe7d41d964f7ce93c40
system.img md5: 72ffb185f877d8a84fbd79bd96324e2d
v1 Download: https://drive.google.com/open?id=1MfjYHvqiTMTp8kd5d96DikhvcWYVfZHd
system.img sha256:053906b14332c862cc109ea81b514575ae07b88d4daf2b7b093bcfe5e048e964
system.img md5: 39d369a58bcfa0af51a0b80e990761a5

thx!

[ROM][UNOFFICAL] LineageOS 15.1 Treble ROM
All functions works? 2 sim cards works? Why not flash in recovery?
Thanks for your hard work

vietnam100 said:
All functions works? 2 sim cards works? Why not flash in recovery?
Thanks for your hard work
Click to expand...
Click to collapse
Because system.img only. Please try if You understand what you are doing

Not work for me
with bootloader unlocked, XE model

Niceee AOSP ROM for Mi Mix 2S

not booting. what is the ROM base? global stable, miui10 ?

notsyncing said:
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_experimentations/wiki/Xiaomi-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=1MfjYHvqiTMTp8kd5d96DikhvcWYVfZHd
system.img sha256:053906b14332c862cc109ea81b514575ae07b88d4daf2b7b093bcfe5e048e964
system.img md5: 39d369a58bcfa0af51a0b80e990761a5
Click to expand...
Click to collapse
Thanks for your effort. How does your
system.img differ from using phh GSI treble?
Sendt fra min Mi MIX 2S med Tapatalk

[/COLOR]
duckstardeluxe said:
Thanks for your effort. How does your
system.img differ from using phh GSI treble?
Sendt fra min Mi MIX 2S med Tapatalk
Click to expand...
Click to collapse
Main difference is he already implemented the screen brightness fix I think
---------- Post added at 22:05 ---------- Previous post was at 22:03 ----------
Bryandu13 said:
Niceee AOSP ROM for Mi Mix 2S
Click to expand...
Click to collapse
https://forum.xda-developers.com/project-treble it's there since we have the device lol

What about camera quality. Comparable with miui?

sidofido said:
What about camera quality. Comparable with miui?
Click to expand...
Click to collapse
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

Did you make any changes phhusson source? Can you provide github source code to your changes?

vietnam100 said:
All functions works? 2 sim cards works? Why not flash in recovery?
Thanks for your hard work
Click to expand...
Click to collapse
Of course you can flash it in recovery. I did not mention it

heobanhki said:
Not work for me
with bootloader unlocked, XE model
Click to expand...
Click to collapse
Retry please

duckstardeluxe said:
Thanks for your effort. How does your
system.img differ from using phh GSI treble?
Sendt fra min Mi MIX 2S med Tapatalk
Click to expand...
Click to collapse
Mine contains some fixes such as backlight, nfc which are not present in phh's lineage rom.
But in source they have no difference, because all my changes have been merged into his repo.
You can also wait for his release.

morpheus620 said:
not booting. what is the ROM base? global stable, miui10 ?
Click to expand...
Click to collapse
Logs please.
This rom should work on base of MIUI9 9.5.12, and MIUI10 8.6.21.

andyphone said:
Did you make any changes phhusson source? Can you provide github source code to your changes?
Click to expand...
Click to collapse
All changes have been merged into his repo.

notsyncing said:
Logs please.
This rom should work on base of MIUI9 9.5.12, and MIUI10 8.6.21.
Click to expand...
Click to collapse
I have miui 10 8.6.21 installed.
Boot to recovery. Flash the system.img and factory reset. Not booting.
Gesendet von meinem MIX 2S mit Tapatalk

morpheus620 said:
I have miui 10 8.6.21 installed.
Boot to recovery. Flash the system.img and factory reset. Not booting.
Gesendet von meinem MIX 2S mit Tapatalk
Click to expand...
Click to collapse
Same here, flashed by fast boot, but keeps showing Mi logo

LucaBabbi94 said:
Same here, flashed by fast boot, but keeps showing Mi logo
Click to expand...
Click to collapse
same here flashed by twrp(polaris) but never boot

Related

[UNIVERSAL]VoLTE Patch v2 for All Android N Roms [Updated: 2.1.17]

What is this?
This is a patch for Kenzo by which you will get volte on any nougat rom (non volte) out there.
Disclaimer:
If you want to add this patch to your rom, please give proper credits and link this thread too.
If you like this, press that thanx button. If you use this, consider donation. :victory:
Requirement:
Redmi note 3 on any rom
Unlocked and with TWRP recovery
VoLTE v3 patch 25-01-17
Instructions:
Clean flash
1. Download any non volte rom
2. Download v3 patch
3. Flash the rom according to instructions provided on rom thread
4. Flash firmware 15-11-16 Credits Newer firmware? Try and report. :good:
5. In the end flash v3 patch
6. Reboot.
Dirty Flash OTA
Flash your rom's ota as you do(without wiping system), no need to flash patch again. It will be auto applied after every dirty flash.
FAQ:
1. VoLTE was not working for 'x' reason on volte enabled rom, will this fix it?
A- It may.
2. Does volte works on second sim?
A- Not tested but should work.
3. Is there or going to be any patch for Marshmallow based roms?
A- Yes. Go here
4. Does this fix 'x' issue i faced on a volte enabled rom?
A- No!
5. Everything above said is checked, still no VoLTE?
A- Check v2 guide and also post #3.
Donations:
Thanx for your kind donations, it helps.
Send me a pm if you have donated, if you want to join telegram group for close testing and support. :highfive:
NVDX11, 99xxxx3869, 97xxxx1652, 94xxxx8709 (AmolAmrit), 89xxxx6581 (hemant_jeengar), 77xxxx8388, 88xxxx9810, 90xxxx4024, 86xxxx0406, 89xxxx8858, 88xxxx9810, asrupesh, 73xxxx6596, MakDroid, BabyTedhu, 95xxxx7623 (vk82119), 81xxxx4723, 73xxxx3906, 88xxxx0101, Pancha5
Credits:
TheStrix
abhishek987
Santhosh M
Telegram Channel for faster ETA's, Changlog: Channel
XDA:DevDB Information
VoLTE Patch Nougat, Tool/Utility for the Xiaomi Redmi Note 3
Contributors
Sudeep Duhoon
Version Information
Status: Stable
Current Stable Version: 3
Stable Release Date: 2016-12-31
Created 2016-11-29
Last Updated 2017-01-25
Changelog and v1 beta patch (old)
Change-log:
25-01-17 v3 released Might be last
Based on TheStrix Commits
13-01-17
Updated with newer files
31-12-16 v2 released
Only 1 zip needed now instead of 2
Universal for nougat
OTA support
64k sim support, no force close
Auto patch, no manual build.prop editing
Reduced size a lot
Don't touce framework-res.apk
Old v2 guide
What is this?
This is a patch for Kenzo by which you will get volte on any nougat rom (non volte) out there.
Disclaimer:
If you want to add this patch to your rom, please give proper credits and link this thread too.
If you like this, press that thanx button. If you use this, consider donation. :victory:
Requirement:
Redmi note 3 on any nougat volte enabled rom (read FAQ #5 too)
Unlocked and with TWRP recovery
VoLTE v2 patch 31-12-16
VoLTE v2 patch 13-01-17
Instructions:
Clean flash
1. Download any non volte rom
2. Download v2 patch
3. Flash the rom according to instructions provided on rom thread
4. In the end flash v2 patch
5. Reboot.
Dirty Flash OTA
Flash your rom's ota as you do(without wiping system), no need to flash patch again. It will be auto applied after every dirty flash.
FAQ:
1. VoLTE was not working for 'x' reason on volte enabled rom, will this fix it?
A- No!
2. Does volte works on second sim?
A- Not tested but should work.
3. Is there or going to be any patch for Marshmallow based roms?
A- Yes. Go here
4. Does this fix 'x' issue i faced on a volte enabled rom?
A- No!
5. Everything above said is checked, still no VoLTE?
A- Check post #3.
Donations:
Thanx for your kind donations, it helps.
Send me a pm if you have donated, if you want to join telegram group for close testing and support. :highfive:
NVDX11, 99xxxx3869, 97xxxx1652, 94xxxx8709 (AmolAmrit), 89xxxx6581 (hemant_jeengar), 77xxxx8388, 88xxxx9810, 90xxxx4024, 86xxxx0406, 89xxxx8858, 88xxxx9810, asrupesh, 73xxxx6596, MakDroid, BabyTedhu, 95xxxx7623 (vk82119), 81xxxx4723, 73xxxx3906, 88xxxx0101, Pancha5
Credits:
abhishek987
TheStrix
Santhosh M
Telegram Channel for faster ETA's, Changlog: Channel
Old v1 guide
What is VoLTE​
Requirement:
Redmi note 3 on Working VoLTE Nougat rom
Unlocked and with TWRP recovery
Instructions:
Auto (Limited):
1. Download Rom from respective thread and follow the instructions given there to flash it.
2. Download the "volte.zip" and "volte_ROMNAME_BUILDDATE.zip" from here. (check the rom name and build date correctly before flashing)
3. Flash "volte_ROMNAME_BUILDDATE.zip"
4. Flash "volte.zip"
5. Wipe cache and dalvik.
6. Reboot. Done!
Notes:
(i) Volte.zip is common for all roms, other rom specific zips will be based on rom name and their build date. This is done to reduce the bandwidth required to download patches.
(ii) If volte not working then download abhishek's firmware from here and flash it. Thanx to xenolith190 for pointing this out.
Manually (No limits):
Additional requirement: A PC with windows (can be done on android too but not included in this tutorial)
1. Download and flash the rom according to the instruction provided on rom's thread.
2. Download apktool and extract/setup in your pc.
3. Use File explorer inTWRP and copy /system/framework/framework-res.apk to /sdcard
4. Connect phone to pc and copy/move framework-res.apk to apktool directory.
5. Open cmd and cd to your apktool dir. And type following commands:
Code:
apktool if framework-res.apk
apktool d framework-res.apk
6. Open to /res/values/bool.xml in text editor (i use notepad++) and change these values to true
Code:
<bool name="config_device_volte_available">true</bool>
<bool name="config_carrier_volte_available">true</bool>
7. Type
Code:
apktool b framework-res
to build apk back.
8. Open new framework-res.apk from apktool/framework-res/dist folder and old framework-res.apk from apktool folder using a zip software like winrar.
9. Drag and copy AndroidManifest.xml and META-INF from old to new apk.
10. Same way drag this new apk to any of the rom specific zip available on this thread and flash as instructed.
NOTES: You need to edit bool.xml in framework-res.apk to enable volte option in rom. Rest of the required libs and files are present in volte.zip and is common for all roms. This tutorial may become more detailed, it completely depends on free time i get. I will not answer any question regarding this in personal messages. If you edit any rom's framework-res.apk please mention me and add that in this thread and i will add you to the op as contributor so you can maintain that rom's future builds too.
Thank you for understanding.
Downloads: HERE
From now on patches will be added here (XDA ERROR:Missing or incorrect project information.)
1. [UNOFFICIAL] ResurrectionRemix 5.8.0 [OTA/OMS] - 20-12-2016
2. [UNOFFICIAL] ResurrectionRemix CK FPC 5.8.0 [OTA/OMS] - 23-12-2016 NOT WORKING (send me framework-res.apk)
3. Mokee 201612230813-NIGHTLY
4. [UNOFFICIAL] ResurrectionRemix 5.8.0 [OTA/OMS] - 23-12-2016
5. [UNOFFICIAL] ResurrectionRemix 5.8.0 [OTA/OMS] - 26-12-2016
Community built patches:
Patch for cosmic os 1st december 2016 build by xenolith190
Patch for BeanStalk 7.1.1 by contactwajeeh
Patch for 08th December Nightly AICP by gulshanstrider
Patch for 08th December nightly AICP by contactwajeeh
Patch for CM Official Nightly's by contactwajeeh
Patch for AOKP 9/12 Build by NVDX11
Patch for CleanRom 9th december 2016 build by xenolith190
Patch for official cm 14.1 nightly 10.12.16 by sarveshrulz
Patch for Cr droid 1.5 by vk82119
Patch for aicp 11th dec build by Sumit Samanta
Patch for aicp 12th dec build by Sumit Samanta
Patch for official cm 14.1 13-12-16 build by ashokumar257
Patch for official cm 14.1 15-12-16 build by ashokumar257
Patch for AICP 19th December build by gulshanstrider
Patch for NucleaRom build by sohail0098
Done:
CM
crDroid 7.1
XenonHD
CM14.1 (TheStrix)
Lineage os by @Infinity
AOSP/CAF
CleanRom
AOSPExtended
halogenOS 7.0
Aoscp 3.1.2
CitrusCAF-kenzo-2.2-LemonDrop-OFFICIAL-20161129 Supports Volte now
AICP Build date 29th October Thanx to skandhan for sending the file
AICP Build date 11th November Thanx to fosterqaz11 for sending the file
Cosmic-OS v1.1
ZephyrOS-7.0-20161130-Viersion-V6.1
Slim7
Mokee 201612110653-NIGHTLY
Mokee 201612230813-NIGHTLY
All requested roms done, for more, please request. If you can link of the thread of requested rom, it will be great.
To Do:
Send rom's framework-res.apk in PM, google drive preferred.
Testing:
NOTE:These are test patches and unlikely to work. You might get a bootloop.
Official CM13 Patch Download Working chances 60%
Resurrection Remix 5.7.4 Patch Download Working chances 5%
FAQ:
1. VoLTE was not working for 'x' reason on volte enabled rom, will this fix it?
A- No!
2. Does volte works on second sim?
A- Not tested, tested with jio sim in first slot, works fine.
3. Is there or going to be any patch for Marshmallow based roms?
A- Test Patches are added, if anyone wants to try.
4. Marshmallow patches are not working?
A- Send me logcat.
5. Does this fix 'x' issue i faced on a volte enabled rom?
A- No!
6. I got com.android.phone force close what should i do?
A- Clean flash the Rom or wait for the fix.
7. Everything above said is checked, still no VoLTE?
A- Check if you have set correct APN for particular sim card and if still VoLTE is not working send me logs.
8. No Audio in calls.
A- Use any root explorer and edit build.prop to change ro.qc.sdk.audio.fluencetype=fluence to ro.qc.sdk.audio.fluencetype=none. Save, set correct permissions and reboot.
9. Got Bootloop on CM Nightly or any other newer rom
A- Decompiling and recompiling alone, without making any changes to framework-res.apk in these roms are causing bootloops, must be issue with apktool/rom. Can't do anything.
XDA:DevDB Information
N Roms VoLTE Patches, Tool/Utility for the Xiaomi Redmi Note 3
Contributors
Sudeep Duhoon
Santhosh M
TheStrix
Akhil Narang
gulshanstrider
contactwajeeh
xenolith190
NVDX11
sarveshrulz
vk82119
Sumit Samanta
Version Information
Status: Beta
Created 2016-11-29
Last Updated 2016-12-30
How to get VoLTE for the first time
Things needed: (things with * is needed for unofficially unlocked device)
1. Redmi note 3 on any rom
2. TWRP recovery
3. A PC with working internet connection
4. USB Cable
5. Mi Unlocker tool (google)
6. Mi Flash tools (google)
7. Any miui fastboot rom, build previous to 6.11.15 build (i use 6.11.3)
8. CM VoLTE by abhishek987
*emmc_aboot (which you used to unlock officially)
*boot.img_patcher.zip
*lazyflasher.zip
Instruction: (steps with * is needed for unofficially unlocked device)
1. Extract miui rom and replace TWRP with recovery.img. *replace emmc_aboot too if unofficially unlocked
2. Reboot device to fastboot and connect it to pc
3. Install/open Mi flash tools and browse to extracted rom's dir
4. Click Flash (your internal storage my get wipes)
5. Monitor the process and when it is near to end keep volume down button pressed
6. Phone will restart to fastboot and use Mi unlocker tool to unlock your bootloader as it may have been relocked *use fastboot command fastboot oem device-info to check status and if locked then use fastboot oem unlock-go to unlock bootloader.
7. Press and hold volume up+power to reboot to twrp
8. Use file manager to check if data is wiped or not, if not the wipe data (not internal sd), wipe cache too *flash lazyflashed and bootimg patcher
9. Reboot and complete initial setup
10. Once you get VoLTE symbol on status bar try to call someone and then reboot to recovery
11. Backup EFS and adspso
12. Flash CM VoLTE according to details provided on thread (skip any custom kernel, gapps, etc)
13. Reboot to check VoLTE working, if not reboot to recovery and restore EFS
14. Once volte gets working, follow post #1 to flash any non volte rom.
is there a link?
42o247 said:
is there a link?
Click to expand...
Click to collapse
seems NO :silly:
Reallyyyy
We can make volte work on non volte roms...!!!!....thats cooolllll
wow you both were fast. still editing. lol
ps. adding link first, will edit later
great...volte for every rom...
Haha... Bro i am waiting add link fast
Link link link.....i cant waitttt
Link plz....
kiran G. said:
Reallyyyy
We can make volte work on non volte roms...!!!!....thats cooolllll
Click to expand...
Click to collapse
BRoy_98 said:
seems NO :silly:
Click to expand...
Click to collapse
42o247 said:
is there a link?
Click to expand...
Click to collapse
silentkiller88 said:
Haha... Bro i am waiting add link fast
Click to expand...
Click to collapse
kiran G. said:
Link link link.....i cant waitttt
Click to expand...
Click to collapse
megatron0110 said:
Link plz....
Click to expand...
Click to collapse
link up for crDroid.
Sudeep Duhoon said:
is there a link?
Haha... Bro i am waiting add link fast
link up for crDroid.
Click to expand...
Click to collapse
For resurrectionRemix?
megatron0110 said:
For resurrectionRemix?
Click to expand...
Click to collapse
it already has volte
Y is it named as crdroid...???....does this work only on crdroid...???
kiran G. said:
Y is it named as crdroid...???....does this work only on crdroid...???
Click to expand...
Click to collapse
yes. only for crDroid. I am uploading XenonHD and CM14.1 fix as well. Slow connection, i need some time.
Sudeep Duhoon said:
yes. only for crDroid. I am uploading XenonHD and CM14.1 fix as well. Slow connection, i need some time.
Click to expand...
Click to collapse
Any screenshot of crdroid ROM that volte is working ?
A Request to OP. Please make a patch for any 7.0 based Rom with OMS commits so that we can enjoy substratum also.
There are many cm14.1 Roms out there but none of them has substratum support
Please make a patch for a ROM with OMS commits
only for crdroid rom?
Can I use this in RR 7.4?

[OREO][MI5s]Project Treble for capricorn

Hello guys! You know I've been out of development for capricorn for a bit! I've been working on this port for a bit, this is for all xiaomi/msm8996-common devices. Project Treble for our phone is here!
Before anything, let's get into it!
/* *** Disclaimer
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed. Please do some research
* if you have any concerns about features included in this ROM/KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point your finger at me for messing up your device, I will laugh at you.
* BOOM! goes the dynamite
*/
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]
HOW TO:
Download the zip provided here: AndroidFileHost
Extract the zip on your system
Run the script based on your system (sh for linux, bat for windows)
Flash the GSI system image you wish to use
What's Working:
RIL (both SIMs)
Data
Camera
Video
Text
Audio
Bluetooth
Torch
WiFi
Hotspot
Vibrator
Fingerprint
240fps slowmo
GPS
Calls (Mic and Sound)
Camcorder
Fingerprint to wake
Double tap to wake
Display color calibration (KCAL)
Hardware buttons lights
What's NOT Working:
I've tried my best to ensure that everything is working (been testing for about a week)
SELinux status is permissive
Let me know
How to report bugs:
Logcat, a simple description of the bug, kmsg or dmseg depending on the bug
What's Packaged in the zip:
A boot image (kernel)
A vendor image (cust partition)
What's a GSI?
A GSI literally means Generic System Image. It is the 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
Our device's config:
Treble-aonly system image. Our phone only has one system image so it is A-only
Source Code:
Kernel
Vendor blobs
MSM8996-COMMON configuration
capricorn configuration
XDA:DevDB Information
Treble, Tool/Utility for the Xiaomi Mi 5s
Contributors
MZO, LineageOS Maintainers (for Oreo)
Source Code: https://github.com/MZO9400
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-03-12
Current Beta Version: 1.5 Beta
Beta Release Date: 2018-02-28
Created 2018-02-27
Last Updated 2018-03-12
Screenshots!
Hey guys, humble request. Please don't bug lineage maintainers over Treble. As our HALs are built for non treble device, and treble requires a different structure of HALs which must connect to system only through hwbinder, I bypassed this right now by putting the system on permissive selinux and removing those policies. But LineageOS doesn't allow that. So unless we get binderized HALs from Xiaomi! Don't complain on Lineage thread. And don't ask them to merge in my changes lol.
As for unofficial guys who want treble. Yes you can use my device and vendor trees on any msm8996-common device (natrium, gemini, capricorn, etc etc) and boot full treble builds on it with ease. Thanks!
What works on Treble?
Any GSI
My AOSiP builds (since I build vendor images on that build)
Any builds using my source code. (yes their system.img will work)
Why doesn't MIUI work on Treble?
Because it wasn't shipped on a treble enabled device
Will custom kernels work on Treble?
Yes, as long as they are updated with source code on my github
LineageOS? No it won't work, explained in the post above.
How does Treble affect custom ROMs?
Peeps over XDA portal summed it up perfectly: Read here
How to fix Google Camera FC?
Flash PHH-TREBLE Vanilla build (latest)
Flash GApps zip
//Currently build with su and gapps causes gcam crash//
GApps won't flash? Not enough space in system
Flash this zip https://goo.gl/MSbGK5
Finally Mi5s has treble. Thanks for your hard work and appreciate your support.
good news, thank you for your hardwork
???
Try to flash IMG from TWRP and it's work:laugh:
Thank you for your greeeeeat work:good:
Amazing job man! Well done!
Never thought that Mi 5s would ever get treble support!! Thank you so much for your work!!!
I've fixed in call systems! Now calls are perfect. Uploading new zip
MZO said:
What works on Treble?
Any GSI
My AOSiP builds (since I build vendor images on that build)
Any builds using my source code. (yes their system.img will work)
Why doesn't MIUI work on Treble?
Because it wasn't shipped on a treble enabled device
Will custom kernels work on Treble?
Yes, as long as they are updated with source code on my github
LineageOS? No it won't work, explained in the post above.
How does Treble affect custom ROMs?
Peeps over XDA portal summed it up perfectly: Read here
Click to expand...
Click to collapse
Did you build AOSiP for Mi5s? Where can i get it? I look at your AFH folder and found nothing.
BajinganTengik said:
Did you build AOSiP for Mi5s? Where can i get it? I look at your AFH folder and found nothing.
Click to expand...
Click to collapse
I've been too lazy to upload and maintain it, but yea will upload it on afh anyways.
fim5646 said:
Try to flash IMG from TWRP and it's work:laugh:
Thank you for your greeeeeat work:good:
Click to expand...
Click to collapse
How did you do it ?? And which image did you use ??
Dark Stranger said:
How did you do it ?? And which image did you use ??
Click to expand...
Click to collapse
You can extract the zip and flash .img files through TWRP. But I wouldn't recommend.
MZO will Luke's Lineage work on this or not?....
MZO said:
You can extract the zip and flash .img files through TWRP. But I wouldn't recommend.
Click to expand...
Click to collapse
Then clarify some things.
I just need to run the script contained in the file to have the basic system or need to install anything else?
And then flash the system GSI image?
I am currently using the Lineage 15.1 rom, is there any problem in running this script on top of it ??
Nice.
Faster ROM than LOS. IMHO.
But I have a bug to ask the manufacturer. But it does not affect the further functioning. Also I need a double tap to sleep, because I have problems with the power button. And also the point of swap buttons is necessary for me.
Standart apps are very ugly eg music and SMS.
My phone have strange name.
In connection with these problems, I will return to LOS.
It would be good if smb told me where I can find some information how I can change img system as I want...
Thank you for work.
James Blode said:
MZO will Luke's Lineage work on this or not?....
Click to expand...
Click to collapse
Maybe if you read OP's 3rd post you can find the answer.
James Blode said:
MZO will Luke's Lineage work on this or not?....
Click to expand...
Click to collapse
Please read the initial posts
Dark Stranger said:
Then clarify some things.
I just need to run the script contained in the file to have the basic system or need to install anything else?
And then flash the system GSI image?
I am currently using the Lineage 15.1 rom, is there any problem in running this script on top of it ??
Click to expand...
Click to collapse
You're correct. You can flash the script but not sure if it will boot.

[ROM] [OFFICIAL][9.x][WAYNE] [☭] Communism-Rom [AOSP/CAF] [r39] [29.05.2019]

☭☭☭Communism-Rom☭☭☭
What is This:
This is custom rom that based on Pixel Experience, Lineage OS and AOSP.
This is nogapps Pixel Experience with foss apps.
What is foss:
Fully open source software.
what is communism:
https://en.wikipedia.org/wiki/Communism
What is working:
Wifi
RIL
Mobile data
GPS
Camera
Flashlight
Camcorder
Bluetooth
Alipay Fingerprint Payment
Fingerprint reader
Lights
Sound / vibration
...
Bugs:
-not detected yet
Download:
-Rom: https://sourceforge.net/projects/communism/files/wayne/
-Gapps: https://sourceforge.net/projects/communism/files/extras/rte_gapps_pie_arm.zip/download
(RTE gapps does not include setupwizard.)
Rom-Source:https://gitlab.com/communism-rom (commit names are troll )
Telegram channel:https://t.me/androidisopensource
Device tree:
https://github.com/xiaomi-sdm660/android_vendor_xiaomi_wayne
https://github.com/xiaomi-sdm660/android_device_xiaomi_sdm660-common
https://github.com/xiaomi-sdm660/android_kernel_xiaomi_sdm660
https://github.com/QuixoticFP/android_device_xiaomi_wayne/
Changelog:
29.05.2019-init
Thanks bro, ROM looks perfect
Thank you bro.
looks nice
SELinux is enforcing or permissive?
and Camera be app is CM camera or Miui cam or even Gcam?
Sorry, just be curious to clear.
selinux is enforcing and camera is lineage os camera
cam2api works well
I need maintainer for building this rom for other devices.
who can do that?
t.me/sulincix pls send me pm for being maintainer
Please add Portuguese language.
rcaliman said:
Please add Portuguese language.
Click to expand...
Click to collapse
I will add it.
I faced error 7 on converted 6x
edited: not tried again, but it might cause by twrp which I used, it formatted not ext4
check zip file
Try to download again and flash
If you have front camera issue You must install reign kernel and mi a2 camera port magisk module
t.me/reignkernel reign kernel group
Anyone flashed with Gapps and succeeded ? or Guide me to install the Google services
werty733 said:
Anyone flashed with Gapps and succeeded ? or Guide me to install the Google services
Click to expand...
Click to collapse
1-flash opengapps pico arm64 9.0 zip
2-open twrp file manager and delete setupwizard
3-wipe dalvik cache
4-reboot
Alternative method:
Install RTE gapps:
https://sourceforge.net/projects/communism/files/extras/rte_gapps_pie_arm.zip/download
parduscix said:
1-flash opengapps pico arm64 9.0 zip
2-open twrp file manager and delete setupwizard
3-wipe dalvik cache
4-reboot
Click to expand...
Click to collapse
Thanks will try both the options. Cheers mate
It's possible to flash this rom on a2?
fereidooni said:
It's possible to flash this rom on a2?
Click to expand...
Click to collapse
not yet
I dont have build server.
I need maintainer
contact me : https://t.me/sulincix
I couldn't make a connection to communism with RTE. They're both opposite. I think you are Turkish Türk I am Turkish

[ROM][DISCONTINUED][UNOFFICIAL][11] EvolutionX 5.9.2 for Razer Phone 2

​Evolution X 5.9.2 for the Razer Phone 2
DO NOT FLASH GAPPS, ALREADY INCLUDED
Feature:
EvoX
Chroma
Dolby Atmos
Gapps
Screenshot:
In attachment
First Time Install / Clean Flash
1. Reboot to Recovery
2. Download the proper ZIP for your device
3. Wipe Data/Cache/System when coming from non-AOSP ROMs
4. FORMAT data and tfcard if you are from a fde enabled ROM
5. Flash the ROM
6. Reboot to System and #KeepEvolving
Update / Dirty Flash
1. Reboot to Recovery
2. Download the proper ZIP for your device
3. Flash the ROM
4. Reboot to System and #KeepEvolving
ROM Download
Download
Recovery: use lineage recovery for the first time then ignore flash warning
​
Android OS version: 11
Security patch level: Sep. 2021
Build author: Alcatraz
Source code: https://github.com/Evolution-X
Kernel source: Device
Device source: Kernel
ROM Developer: Alcatraz
Special thank for mike
Reserved
So this isn't phh-based?
Any known bugs?
Either way, thanks!
Are there any known bugs? If non, I'm willing to flash it asap
Reznor7 said:
So this isn't phh-based?
Any known bugs?
Either way, thanks!
Click to expand...
Click to collapse
Not gsi, and since the device tree is based on los official, there are no critical bug I found
faustoandrevd said:
Are there any known bugs? If non, I'm willing to flash it asap
Click to expand...
Click to collapse
since the device tree is based on los official, there are no critical bug I found
Alcatraz323 said:
since the device tree is based on los official, there are no critical bug I found
Click to expand...
Click to collapse
I'm currently on LOS actually, can I just factory reset and then sideload on recovery?
Also, Is the camera/flashlight bug on current LOS build present on this ROM?
faustoandrevd said:
I'm currently on LOS actually, can I just factory reset and then sideload on recovery?
Also, Is the camera/flashlight bug on current LOS build present on this ROM?
Click to expand...
Click to collapse
Both question: yes
Alcatraz323 said:
Both question: yes
Click to expand...
Click to collapse
Just one last question, do you have any plans on fixing in the foreseeable future? just wondering so I can flash the rom as a daily driver
faustoandrevd said:
Just one last question, do you have any plans on fixing in the foreseeable future? just wondering so I can flash the rom as a daily driver
Click to expand...
Click to collapse
may be, at lease los update I will follow
No GAPPS available?
Can someone test this on Verizon?
Thanks for the ROM. -Foundings_
-Same as Lineage 18.1 Officials/Unoffical
-Same Bugs-
Flashed the rom! Just wondering, how do I get the chroma app to work?
faustoandrevd said:
Flashed the rom! Just wondering, how do I get the chroma app to work?
Click to expand...
Click to collapse
Not support that app, I rewrote the chroma in settings, you can see "Razer Parts" in Settings
really looking forward to fixing the flashlight
Hi dev. I posted the same question in the Lineage thread, I am thinking about buying a RP2 and am wondering if the custom ROMs for this device have support for working FBE or FDE encryption? Is TWRP able to successfully decrypt the data partition using pattern unlock?
Thanks in advance for any reply.
Hello, I'm new in this kind of stuff. this is my first ever using custom rom, glad I managed to install this. (already use this rom for 1 month).
anyway, thanks for your work!
thanks
Los has repaired the flashlight. If this ROM is based on LOS, can it also be repaired

Pixel Experience [23.04.2023]

For a long time there were no updates to Pixel Experience from the Chinese and decided to assemble it myself.
04/23/2023
Patched bootloader with Magisk
For several days of testing, there are no errors.
Spoiler: Download
2023.04.23 https://drive.google.c…zUBW/view?usp=drivesdk
Recovery attached
Plus version attached but not patched by magisk
Spoiler: Installation
Important Notes:
To install the firmware, PixelExperience recovery is required, TWRP (RDS) support is not confirmed;
When moving from Android 12, memory formatting (Format Data) is mandatory;
Firmware from MIUI V12.5.6.0 is included in the firmware, do not install it separately;
SafetyNet check is passed by default, without additional modules (only enable MagiskHide if you have Magisk installed).
Clean install:
Install PixelExperience recovery via Fastboot;
Boot into the installed recovery, do Format Data (or Factory Reset);
Run Sideload along the path Apply Update -> from ADB;
Download the firmware from the connected PC with the command adb sideload filename.zip;
Reboot to the system.
Link to the official instructions with commands on the PixelExperience website (in English).
Itself was updated from the plus version to this one.
Where is download link
This rom has been out for a long time.
Xiaomi Mi 9 (cepheus) - PixelExperience
Xiaomi Mi 9 (cepheus) - PixelExperience
get.pixelexperience.org
MrWR said:
Where is download link
Click to expand...
Click to collapse
open access to download
Satit888 said:
This rom has been out for a long time.
Xiaomi Mi 9 (cepheus) - PixelExperience
Xiaomi Mi 9 (cepheus) - PixelExperience
get.pixelexperience.org
Click to expand...
Click to collapse
It's just an update. I made a fresh build
kotovasia said:
open access to download
Click to expand...
Click to collapse
Feeling great sir, are you interested in applying to be an official maintainer?
Satit888 said:
This rom has been out for a long time.
Xiaomi Mi 9 (cepheus) - PixelExperience
Xiaomi Mi 9 (cepheus) - PixelExperience
get.pixelexperience.org
Click to expand...
Click to collapse
For long time there is no update. Last update is more than 5 months ago. So project on official pixel experience site is dead.
MrWR said:
Feeling great sir, are you interested in applying to be an official maintainer?
Click to expand...
Click to collapse
If there are bugs, I can't fix them. I don't have the necessary knowledge. Just shared a stable build.
First off, thank you for putting in work!
Did you try an update (dirty flash) from the previous official a13 build?
Is it possible for you to also do a Plus build?
AcmE85 said:
First off, thank you for putting in work!
Did you try an update (dirty flash) from the previous official a13 build?
Is it possible for you to also do a Plus build?
Click to expand...
Click to collapse
The post says that I upgraded from plus to normal without clearing it.
I can try to build the plus version but without the sanity checks.
Hello, have you considered arrowos? Hopefully compile arrowos13, because 12.1 is really good to use, just stop changing it now. IN ADDITION, SINCE THE PE COMPILED FOR Chinese, DON'T USE GOOGLE, AND DON'T ADD GOOGLE IF CHINA DOESN'T USE GOOGLE, ISN'T IT BETTER TO MAKE A VANILLA VERSION?
Hi, ever considered arrowos? I hope to compile arrowos13, because 12.1 works really well, it's just that it's stopped being updated now. Also since it's compiled for Chinese people, don't use google, also China can't use google, don't add it, make it VANILLA version is not better?
AcmE85 said:
First off, thank you for putting in work!
Did you try an update (dirty flash) from the previous official a13 build?
Is it possible for you to also do a Plus build?
Click to expand...
Click to collapse
added version to header
kotovasia said:
added version to header
Click to expand...
Click to collapse
Just updated from the last official PE+ to your Plus build. So far so good!
Thanks for building and sharing.
Edit: I've noticed that screen off FOD stopped working, although it's still enabled. This might be caused by using Soviet kernel though.
Does anybody running the stock kernel have the same issue?
Edit2: It was a kernel issue. Latest soviet fixed screen off FOD.
AcmE85 said:
I've noticed that screen off FOD stopped working, although it's still enabled.
Click to expand...
Click to collapse
On the standard version, the fingerprint is read when the screen is off. Try turning this feature off and on. On Android, there is a false position of the switches.
Hi,
I'm noob at this stuff so excuse me if the question is stupid xD
I there a PE android 13 rom that will automatically update to the latest security patch or does it need to be rebuilt every time?
Vik :) said:
Hi,
I'm noob at this stuff so excuse me if the question is stupid xD
I there a PE android 13 rom that will automatically update to the latest security patch or does it need to be rebuilt every time?
Click to expand...
Click to collapse
security patches only in new builds.
kotovasia said:
Uzun bir süre Çinlilerden Pixel Experience güncellemesi gelmedi ve kendim toplamaya karar verdim.
04/23/2023
Magisk ile yamalanmış önyükleyici
Birkaç günlük test boyunca hata yok.
Spoiler: İndir
2023.04.23 https://drive.google.c…zUBW/view?usp=drivesdk
Kurtarma eklendi
Artı sürüm eklendi ancak magisk tarafından yama yapılmadı
Spoiler: Kurulum
Önemli notlar:
Üretici yazılımını yüklemek için PixelExperience kurtarma gereklidir, TWRP (RDS) desteği onaylanmamıştır;
Android 12'den taşırken bellek biçimlendirmesi (Verileri Biçimlendir) zorunludur;
MIUI V12.5.6.0'dan gelen aygıt yazılımı aygıt yazılımına dahildir, ayrıca kurmayın;
SafetyNet kontrolü, ek modüller olmadan varsayılan olarak geçilir (yalnızca Magisk kuruluysa MagiskHide'ı etkinleştirin).
Temiz kurulum:
Fastboot yoluyla PixelExperience kurtarmayı kurun;
Yüklü kurtarmaya önyükleme yapın, Verileri Biçimlendir (veya Fabrika Ayarlarına Sıfırla) yapın;
Sideload'ı ADB'den Güncellemeyi Uygula -> yolu boyunca çalıştırın;
Adb sideload filename.zip komutuyla bellenimi bağlı PC'den indirin;
Sisteme yeniden başlatın.
PixelExperience web sitesindeki (İngilizce) komutlarla resmi talimatlara bağlantı.
[/BİR ŞEYİN ÖNCEDEN REKLAMI]
Kendisi artı sürümden buna güncellendi.
Click to expand...
Click to collapse
Spoiler: Kurulum
miui kamera eklendi ? miui camera inside ?
miui camera eklendi mi? Miui kamera içeride mi?
After a couple days of using the unofficial Plus build, it works flawless without any issues.
Do you consider doing new builds with the May Patch level?
AcmE85 said:
After a couple days of using the unofficial Plus build, it works flawless without any issues.
Do you consider doing new builds with the May Patch level?
Click to expand...
Click to collapse
Builds are planned but now I'm focused on writing a script for building from under Windows.
Lots of problems with this.
Usually versions appear at the end of the month.

Categories

Resources