[Unofficial] [SODP] Lineage 15.1 for Xperia XZ [EOL] - Sony Xperia XZ ROMs, Kernels, Recoveries, & Other

Lineage 15.1 for Xperia XZ
Based on SODP
By Sjll
This is a stable and performance version​
Download Link: AndroidFileHost
Choose the file named "kagura"
OEM download : Link
How to flash:
1. Wipe Data and flash in twrp
2. Flash oem with SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone.zip
3. Boot and Enjoy.
Feature: Performance, Stable, Gcam support.
Gcam recommend: MGC_6.1.009_MI8_A8.1+_V0_2.apk
For dual model
Add this in build.prop
Code:
persist.multisim.config=dsds
persist.radio.multisim.config=dsds
ro.telephony.default_network=9,1
Source code: Github
XDA:DevDB Information
Lineage 15.1 for the Sony Xperia XZ
Contributors
Sjll
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Created 2020-03-26
Last Updated 2020-3-26

2. Flash oem in SW
Hello
I am brand new here so I am not sure if I should post a question here or some place else? I started working on installing Lineage OS to my Xperia XZ about 10 days ago with no results. Than I found this thread today after installing Lineage OS on Realme 3 Pro.
Can you explain to me what I am suppose to do here?
2. Flash oem in SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .zip
Kind Regards
T

toxypoxy said:
Hello
I am brand new here so I am not sure if I should post a question here or some place else? I started working on installing Lineage OS to my Xperia XZ about 10 days ago with no results. Than I found this thread today after installing Lineage OS on Realme 3 Pro.
Can you explain to me what I am suppose to do here?
2. Flash oem in SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .zip
Kind Regards
T
Click to expand...
Click to collapse
1. Backup all your staff.
2. Unlock Bootloader on Sony Xperia XZ
3. fastboot flash recovery twrp-kagura-oem-to-vendor.img---------> https://sx.ix5.org/files/builds/kagura/misc/twrp-kagura-oem-to-vendor.img ....Use this TWRP , it will solve your " Failed to mount ´/oem´ " problem!
4. fastboot flash oem SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .img
5. In TWRP --> flash --->zip rom.
6. reboot.
7. Optional (you can install Magisk https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip) to uninstall Magisk --> https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-uninstaller-20200323.zip
İf you have never done such thing before! Research for more info.
Thanks to Sjll.

toxypoxy said:
Hello
I am brand new here so I am not sure if I should post a question here or some place else? I started working on installing Lineage OS to my Xperia XZ about 10 days ago with no results. Than I found this thread today after installing Lineage OS on Realme 3 Pro.
Can you explain to me what I am suppose to do here?
2. Flash oem in SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .zip
Kind Regards
T
Click to expand...
Click to collapse
elm_bacchus said:
1. Backup all your staff.
2. Unlock Bootloader on Sony Xperia XZ
3. fastboot flash recovery twrp-3.3.1-0-kagura.img
4. fastboot flash oem SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .zip
5. In TWRP --> flash --->zip rom.
6. reboot.
7. İf you have never done such thing before! Research for more info.
Click to expand...
Click to collapse
Unzip it,you need to flash IMG in this zip file.

Sjll said:
Lineage 15.1 for Xperia XZ
Based on SODP​By Sjll
This is a stable and performance version
Download Link: AndroidFileHost
Choose the file named "kagura"
OEM download : Link
How to flash:
1. Wipe Data and flash in twrp
2. Flash oem with SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone.zip
3. Boot and Enjoy.
Feature: Performance, Stable, Gcam support.
Source code: Github
XDA:DevDB Information
Lineage 15.1 for the Sony Xperia XZ
Contributors
Sjll
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.4
Version Information
Status: Stable
Created 2020-03-26
Last Updated 2020-3-26
Click to expand...
Click to collapse
Good project can you up until lineages 16.0 for XZ?

Do I have to first install Oreo base firmware ROM. Latest .192?

Working on it
Sjll said:
Unzip it,you need to flash IMG in this zip file.
Click to expand...
Click to collapse
Hello and thank you and elm_bacchus for quick reply
So this is the status:
1. Backup all your staff. FINISHED
2. Unlock Bootloader on Sony Xperia XZ FINISHED
3. fastboot flash recovery twrp-3.3.1-0-kagura.img FINISHED
4. fastboot flash oem SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .zip FINISHED But after I did this I always get this message in TWRP : Failed to mount ´/oem´ (Invalid argument) in red letters. TWRP still continues to work but always this message. :silly:
5. In TWRP --> flash --->zip rom. I am assuming this is the file I should Unzip? And flash IMG in TWRP? or ...
6. reboot. Seen SONY logo enough times for today :laugh:
7. İf you have never done such thing before! Research for more info.
---End Quote---
Unzip it,you need to flash IMG in this zip file
Thanks
T

delete

wich gapps is recomended? or there is a specific one that works?

caqo71 said:
Do I have to first install Oreo base firmware ROM. Latest .192?
Click to expand...
Click to collapse
Yup.
seyrarms said:
Good project can you up until lineages 16.0 for XZ?
Click to expand...
Click to collapse
Need time.
toxypoxy said:
Hello and thank you and elm_bacchus for quick reply
So this is the status:
1. Backup all your staff. FINISHED
2. Unlock Bootloader on Sony Xperia XZ FINISHED
3. fastboot flash recovery twrp-3.3.1-0-kagura.img FINISHED
4. fastboot flash oem SW_binaries_for_Xperia_Android_8.1.6.4_r1_v17_tone .zip FINISHED But after I did this I always get this message in TWRP : Failed to mount ´/oem´ (Invalid argument) in red letters. TWRP still continues to work but always this message. :silly:
5. In TWRP --> flash --->zip rom. I am assuming this is the file I should Unzip? And flash IMG in TWRP? or ...
6. reboot. Seen SONY logo enough times for today :laugh:
7. İf you have never done such thing before! Research for more info.
---End Quote---
Unzip it,you need to flash IMG in this zip file
Thanks
T
Click to expand...
Click to collapse
You need to upgrade to latest Oreo FW, the flash oem.img via fastboot or twrp, format data, flash lineage zip in twrp.

Sjll said:
Yup.
Need time.
You need to upgrade to latest Oreo FW, the flash oem.img via fastboot or twrp, format data, flash lineage zip in twrp.
Click to expand...
Click to collapse
Thanks you my hope

SONY Xperia XZ
Quote:
Originally Posted by Sjll
You need to upgrade to latest Oreo FW, the flash oem.img via fastboot or twrp, format data, flash lineage zip in twrp.[/QUOTE]
Thank you and elm_bacchus again for the help
Well well this all went well, most of my time went in to trying to flash the wrong TWRP for XZ but after that, it worked in my second attempt :good:
After flashing the SW binaries and format data I got this message again in TWRP : Failed to mount ´/oem in red letters. But I just continued flashing the ROM in TWRP and it worked like a charm.
Kind regards
T

@Sjll:
It seems that this build doesn't support ExFat on External SDCards, am I right ?
And:
What TWRP-Version do you recommend ? The lastest offical 3.3.1-0 doesn't mount /data, so every time I enter TWRP I have to format data ...

Thanks for this. I followed the instructions and it worked.
I forgot that my SDcard was encrypted and lost my photos but hey ho.
@Sjll is there a git repository for this ROM ?

2faraway2 said:
@Sjll:
It seems that this build doesn't support ExFat on External SDCards, am I right ?
And:
What TWRP-Version do you recommend ? The lastest offical 3.3.1-0 doesn't mount /data, so every time I enter TWRP I have to format data ...
Click to expand...
Click to collapse
Hello
I used twrp-3.3.1-0-kagura and it worked for me.
Regards
T

How about front camera? Does it work properly?

dawidcx3 said:
How about front camera? Does it work properly?
Click to expand...
Click to collapse
It works for me on the F8331 device.

XZs build (keyaki)?
By chance is there a choice for 15.1 for Keyaki? It is stated to choose Kagura, are there other choices for the XZ variants? Would like to update to 8.1, 9, or 10 binaries and read the build instructions from source for Lineage but am wondering if all I need are the kernel binaries to complie Lineage (15.1, 16, 17, 17.1) for the XZS. There is practically nothing for the XZS and it would be helpful to know how to provide other roms for it as well. Any assistance will be greatly appreciated.

Does anyone know what the latest Android security update supported is on this ROM?

Some bugs
Hello, I've been using as my daily for a week now and I've noticed some bugs
1) the camera works but it's bad not even close to stock. The picture is dark and dim.
2) sometimes the wifi doesn't open or close no matter how much you try only restarting the phone helps.
3)sometimes the phone doesn't charge even when it's showing charging.
I hope these bugs can be solved asap because I love this rom its stable, smooth and fast with good battery life. Thanks.

Related

Rom Lollipop AOSP 5.1.0 (Released 2015-03-13) port for ZR testing

Im ZR user, not dev
New:
Omni 5.1_2015.03.30 (AOSP) port from @Olivier with kernel build from source testing
link: temp del for fix
Bug: Video not working ... and you tell me
How to flash:
- Download rom, gapps 5.1, superSU
- Flash rom first and reboot (for test rom working)
- When boot in rom, reboot to recovery and flash gapps and superSU
- Done
Notice: I tested it not much! Don't post your question in Z topic
Please thank to @Olivier for great work
OLD:
Lollipop AOSP 5.1.0 (Released 2015-03-13) for ZR port from @pabx testing
1. Download Lollipop_5_10_uncomment.zip rom from link below:
https://drive.google.com/file/d/0B-hTXkqVcs2WT1BhVjR1QWVmRDQ/view?usp=sharing
2. Extract Zip => Lollipop_5_01_uncomment Folder with 04 files:
- Lollipop_5_10_dogo.zip
- gapps-LP-signed.zip
- system.img
- update-supersu-v2.46.zip
3. Copy 03 zip files above into sdcard.
4. Reboot to recovery and wipe data, system, cache, dalvik cache (wipe all)
5. Turn off phone, flash system.img via fastboot (Beginning User can search xda about: How to flash system.img via flashtool)
Next: Flash kernel
use PC: extract boot.img from Lollipop_5_10_dogo.zip and flash it via flashtool (flash kernel)
6. Reboot phone to recovery, Flash Lollipop_5_10_dogo.zip
7. Reboot phone
8. When reboot phone complete, turn off phone and reboot to recovery
9. Flash gapps-LP-signed.zip
10. Flash update-supersu-v2.46.zip
11. Reboot. DONE
Bug known: :First reboot sim card not detect, reboot phone again for working
Big thanks: @pabx , @xenius9 , [B @Olivier[/B]
2nd mic works on this ROM? thx.
it stucks on boot animation...
@uncomment : Did u test it? How about battery and free ram?
Fix: Forgot flash kernel
CryptoRishabh said:
it stucks on boot animation...
Click to expand...
Click to collapse
Sorry, forgot edit script to flash boot.img
Fix:
extract boot.img from Lollipop_5_10_dogo.zip and flash it via flashtool (for kernel) then boot (updated OP)
will flashing via flashtool delete all internal memory?
nonono666 said:
will flashing via flashtool delete all internal memory?
Click to expand...
Click to collapse
no,
nonono666 said:
will flashing via flashtool delete all internal memory?
Click to expand...
Click to collapse
you have to delete system while using twrp recovery do a factory reset and then fastboot system.img using flashtool...
BUG??
before erasing everything I wanted to know what works:angel:
danielxg said:
before erasing everything I wanted to know what works:angel:
Click to expand...
Click to collapse
Bug: sometime sim card not detected, to fix: go to developer options and press restart baseband for working
ok thanks i try
I build kernel 3.4 from omni 5.1 source and ported omni 5.1 rom from @Olivier and tested it.
Link omni 5.1 for yuga: http://forum.xda-developers.com/xperia-z/orig-development/rom-omni-yuga-t3067440
Bug: video not working like yuga.
If anyone like it, I will upload it
nice
yes upload, is wonderful to see that the rom are still alive and matengono our ZR thx
Omni 5.1_2015.03.30 (AOSP) port for dogo testing with kernel build from source
danielxg said:
yes upload, is wonderful to see that the rom are still alive and matengono our ZR thx
Click to expand...
Click to collapse
Omni 5.1_2015.03.30 (AOSP) port from @Olivier with kernel build from source testing
link: temp delete for fix
Bug: Video not working ... and you tell me
How to flash:
- Download rom, gapps 5.1, superSU
- Flash rom first and reboot (for test rom working)
- When boot in rom, reboot to recovery and flash gapps and superSU
- Done
Notice: I tested it not much!
Please thank to @Olivier for great work
i wonder, can i flash cm12.1 kernel into 5.1 aosp?
rizqi_ir said:
i wonder, can i flash cm12.1 kernel into 5.1 aosp?
Click to expand...
Click to collapse
No!
Sent from my Xperia ZR using XDA Free mobile app

[GUIDE][CUSTOM ROMS] Flashing GSI and getting most of the things work

As this device supports Project Treble, it is possible to flash and boot generic system images.
Things needed:
Asus Zenfone Max Pro M1 with unlocked bootloader and twrp recovery
Instructions:
1. Make a system and vendor backup in TWRP
2. Download any A only GSI from web or here
For now, AospExtended is the most stable and has only 1 bug i.e. no out volte. Flash any other gsi at your own risk. If you do, please report which one you flashed and what are the bugs in it.
You can always restore your backup to come back to stock rom.
3. Extract the gsi if it is in rar/zip format to get system.img
4. Copy/move this system.img to your fastboot directory
5. Connect your phone in fastboot mode and enter the following command
Code:
fastboot flash system system.img
TWRP can also be used to flash system.img to system partition, if it doesn't work, try with fastboot
6. Press and hold volume down + Power on to force reboot to twrp
7. Now, if you want flash gapps, make a system backup in twrp, reboot to recovery, and restore this backup you just made
8. Flash gapps now
10. Reboot to system
If there is no audio in calls, flash call audio fix
If it doesn't boot for you, try flashing magisk
res
Thanks for this , hope to see fully stable AEX soon ??
@Sudeep Duhoon
Have you also used AEX GSI for the guide or other one ?
Thank you for the work.
.A.V.i.n.a.S.h. said:
@Sudeep Duhoon
Have you also used AEX GSI for the guide or other one ?
Thank you for the work.
Click to expand...
Click to collapse
i had flashed all of them(from the link and more),
the aex is best for now (from the link posted)
can you please write or check the backup boxes , there are too many
there are 3 types of roms. i know a b wont work. should i download a/ab or only a?
Sudeep Duhoon said:
i had flashed all of them(from the link and more),
the aex is best for now (from the link posted)
Click to expand...
Click to collapse
Can you share some screenshots ?
Thanks
austinpinto said:
there are 3 types of roms. i know a b wont work. should i download a/ab or only a?
Click to expand...
Click to collapse
There are only 2 types of partitions A only and A/B type
You should download A only type GSI for Zenfone Max Pro M1
Its support on ZE55KKL(Zenfone 4) model aslo?
prakashwaran said:
Its support on ZE55KKL(Zenfone 4) model aslo?
Click to expand...
Click to collapse
Idk i don't have it
Sry
Sent from my ASUS_X00TD using Tapatalk
i've flashed GSI RR n LOS but sound didn't come out on 3,5 jack,
Pixel Experience is now open for Treble Devices.
Will it works for our device ?
yes if its a only it will work.
ab will not work.
can you please give link for it?
gusbalaa said:
Pixel Experience is now open for Treble Devices.
Will it works for our device ?
Click to expand...
Click to collapse
austinpinto said:
yes if its a only it will work.
ab will not work.
can you please give link for it?
Click to expand...
Click to collapse
There you go.
https://www.xda-developers.com/pixel-experience-project-treble-rom/
so if any1 wants to flash this you must download this file.
https://download.pixelexperience.or...arm64_a-8.1.0-20180526-2337-OFFICIAL.img.zip/
gusbalaa said:
There you go.
https://www.xda-developers.com/pixel-experience-project-treble-rom/
Click to expand...
Click to collapse
A video tutorial will be very usefull pls can u upload one
Sudeep Duhoon said:
As this device supports Project Treble, it is possible to flash and boot generic system images.
Things needed:
Asus Zenfone Max Pro M1 with unlocked bootloader and twrp recovery
Instructions:
1. Make a system and vendor backup in TWRP
2. Download any A only GSI from web or here
For now, AospExtended is the most stable and has only 1 bug i.e. no out volte. Flash any other gsi at your own risk. If you do, please report which one you flashed and what are the bugs in it.
You can always restore your backup to come back to stock rom.
3. Extract the gsi if it is in rar/zip format to get system.img
4. Copy/move this system.img to your fastboot directory
5. Connect your phone in fastboot mode and enter the following command
Code:
fastboot flash system system.img
TWRP can also be used to flash system.img to system partition, if it doesn't work, try with fastboot
6. Press and hold volume down + Power on to force reboot to twrp
7. Now, if you want flash gapps, make a system backup in twrp, reboot to recovery, and restore this backup you just made
8. Flash gapps now
10. Reboot to system
If there is no audio in calls, flash call audio fix
If it doesn't boot for you, try flashing magisk
Click to expand...
Click to collapse
How is the battery backup in GSI
has any1 flashed Pixel Experience is it working stable?
please reply.
also can the app post backup of system and vender cause i forgot to do it and im on los and want to restore back to stock.
austinpinto said:
can the app post backup of system and vender cause i forgot to do it and im on los and want to restore back to stock.
Click to expand...
Click to collapse
https://forum.xda-developers.com/as...ow-to/guide-revert-to-stock-rom-lock-t3798420 follow these instructions.

Guide to install Android 8.1 or 9 custom ROM?

The question speaks for itself,I cannot find really any accurate ways to get started because I once tried to install Oreo beta (before official was out) and flashed a Oreo recovery onto Nougat and bricked my phone,and the only way was to use DC Phoenix so for now I have kept my phone on EMUI 8 stock.
So if anyone can tell me the steps to install let's say an Android 8.1 Treble ROM or Android 9 when it gets good as a daily driver,I know that you need to do the following things:
-unlock the bootloader
-install a recovery
-flash a ROM through fastboot or through recovery and after that flash Gapps and a modded version of Magisk
That is pretty self explanatory,but I have seen like that you cannot use TWRP since there is a problem when wiping data and that you need to have Huawei stock recovery and some important things to consider since I see it is pretty easy to brick these phones if you don't follow instructions but since there isn't really clear instructions to do some of these things,I am asking here if anyone can explain to me.
And yes,I do have my bootloader unlock code since as I stated,I tried to do this before.
dinoderda said:
The question speaks for itself,I cannot find really any accurate ways to get started because I once tried to install Oreo beta (before official was out) and flashed a Oreo recovery onto Nougat and bricked my phone,and the only way was to use DC Phoenix so for now I have kept my phone on EMUI 8 stock.
So if anyone can tell me the steps to install let's say an Android 8.1 Treble ROM or Android 9 when it gets good as a daily driver,I know that you need to do the following things:
-unlock the bootloader
-install a recovery
-flash a ROM through fastboot or through recovery and after that flash Gapps and a modded version of Magisk
That is pretty self explanatory,but I have seen like that you cannot use TWRP since there is a problem when wiping data and that you need to have Huawei stock recovery and some important things to consider since I see it is pretty easy to brick these phones if you don't follow instructions but since there isn't really clear instructions to do some of these things,I am asking here if anyone can explain to me.
And yes,I do have my bootloader unlock code since as I stated,I tried to do this before.
Click to expand...
Click to collapse
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
MrViking said:
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
Click to expand...
Click to collapse
What is gsi?
JoanSB1 said:
What is gsi?
Click to expand...
Click to collapse
Generic System Image.
MrViking said:
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
Click to expand...
Click to collapse
And if I have downloaded a zipped ROM instead of an GSI,I do the same steps but in TWRP I flash the ROM with the Gapps and Magisk,right?
Also,can I use NoCheckRecovery for Oreo when I need to wipe data instead of stock recovery since I think it would come in handy if I would need to re-flash something through that without Huawei checks and it seems to be easier to find?
And I flash the recoveries to recovery_ramdisk,just to be sure,I know some things did change with Oreo so I am asking?
dinoderda said:
And if I have downloaded a zipped ROM instead of an GSI,I do the same steps but in TWRP I flash the ROM with the Gapps and Magisk,right?
Also,can I use NoCheckRecovery for Oreo when I need to wipe data instead of stock recovery since I think it would come in handy if I would need to re-flash something through that without Huawei checks and it seems to be easier to find?
And I flash the recoveries to recovery_ramdisk,just to be sure,I know some things did change with Oreo so I am asking?
Click to expand...
Click to collapse
what rom are you trying to install?
All treble roms come in a .img file not a .zip.
MrViking said:
what rom are you trying to install?
All treble roms come in a .img file not a .zip.
Click to expand...
Click to collapse
Oh,I thought Pixel Experience ROM was meant to be installed through recovery,bloody hell pardon me.
Never mind then.
I am gonna wait for Android 9 to get a bit more stable and that official OpenGapps gets released and then I am going to install it.
Thank you very much for helping me!
dinoderda said:
Oh,I thought Pixel Experience ROM was meant to be installed through recovery,bloody hell pardon me.
Never mind then.
I am gonna wait for Android 9 to get a bit more stable and that official OpenGapps gets released and then I am going to install it.
Thank you very much for helping me!
Click to expand...
Click to collapse
Thats ok, we all make mistakes lol.
Yeah, a pixel experience 9.0 gsi is coming soon, and these GSI's are pretty stable. If you need any more help you can ask me:good:
MrViking said:
Here is how to do it:
Download the gsi
Open fastboot mode
Flash stock recovery
Boot to recovery and wipe data
Flash The new rom in fastboot
Flash TWRP also
Boot to twrp and flash gapps/magisk etc
Reboot to system
Click to expand...
Click to collapse
I did those steps trying to flash RROS6 build BENVENUTI (https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-rros-pra-t3774444) and I failed. I don't know what I'm doing wrong. Please help me to install Resurrection Remix! :crying:
JoanSB1 said:
I did those steps trying to flash RROS6 build BENVENUTI (https://forum.xda-developers.com/p8lite/p8-lite-2017-development/rom-rros-pra-t3774444) and I failed. I don't know what I'm doing wrong. Please help me to install Resurrection Remix! :crying:
Click to expand...
Click to collapse
What is the exact problem you aee having? Bootloop? Error when trying to flash?
dinoderda said:
What is the exact problem you aee having? Bootloop? Error when trying to flash?
Click to expand...
Click to collapse
Error when trying to flash
JoanSB1 said:
Error when trying to flash
Click to expand...
Click to collapse
Tell me the steps in order which you did when you were trying to flash the ROM.
dinoderda said:
Tell me the steps in order which you did when you were trying to flash the ROM.
Click to expand...
Click to collapse
Ok, it clearly says that that Rom is discontinued, read the last post.
Use a gsi from the treble enabled device development forum and flash it with fastboot (yesyou can use android pie 9.0 gsi's as well as long as they don't say sGSI on it.
MrViking said:
Ok, it clearly says that that Rom is discontinued, read the last post.
Use a gsi from the treble enabled device development forum and flash it with fastboot (yesyou can use android pie 9.0 gsi's as well as long as they don't say sGSI on it.
Click to expand...
Click to collapse
Wow, if that ROM is discontinued I'll desist to install it then. So I'll try to install Lineage OS 15.1. You recommend it ? This is the post that I'm seeing https://forum.xda-developers.com/p8...nt/rom-lineageos-15-1-hi6250-devices-t3811583
JoanSB1 said:
Wow, if that ROM is discontinued I'll desist to install it then. So I'll try to install Lineage OS 15.1. You recommend it ? This is the post that I'm seeing https://forum.xda-developers.com/p8...nt/rom-lineageos-15-1-hi6250-devices-t3811583
Click to expand...
Click to collapse
Use ones from the treble enabled device forum. You can even use pie, so why not?
---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------
JoanSB1 said:
Wow, if that ROM is discontinued I'll desist to install it then. So I'll try to install Lineage OS 15.1. You recommend it ? This is the post that I'm seeing https://forum.xda-developers.com/p8...nt/rom-lineageos-15-1-hi6250-devices-t3811583
Click to expand...
Click to collapse
Here is an android P gsi for this device. It works very well:
https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
Can I install anything with lock bootloader?
box710 said:
Can I install anything with lock bootloader?
Click to expand...
Click to collapse
no
MrViking said:
Use ones from the treble enabled device forum. You can even use pie, so why not?
---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------
Here is an android P gsi for this device. It works very well:
https://forum.xda-developers.com/pr...ce-development/9-0-pixelexperience-p-t3833294
Click to expand...
Click to collapse
Does the USSD code work? is that it is important to me and I do not know a ROM that works
dinoderda said:
Generic System Image.
Click to expand...
Click to collapse
Is there a guide to install this I paid DC unlock to get bootloader unlocked but on noughat and cannot find a twrp for noughat:good:
Pie gsi
Hi all,
I have installed Pixel Experience (Oreo) gsi ROM no problem. But if I try to flash any Pie gsi ROM it just goes into a boot loop. I flash system via fastboot and seems OK. Reboot and it just boot loops a few times and goes to the recovery screen that prompts to download and install the standard system.
Has anybody come across this or have any suggestions. I have tried a few different Pie gsi ROMs and same thing happens.
Thanks
Mick

GUIDE How to Instal GSI ROM- Havoc-OS-v4.X-Official Android 11 On Redmi 8

Here I bring to you the official Havoc-os 4.X ROM Android 11 and fully functional on Redmi 8
The intention of this post is to make a step-by-step tutorial on the installation of this excellent GSI ROM on Redmi 8 and give assistance in the installation process
All the development credits for this wonderful ROM go to the Havoc team
@Ruturaj Kadam
@jhenrique09
@SKULSHADY
Remember I am not a developer, if you are presenting any bugs let us know and you can contact the Havoc team on Telegram
I am not responsible for any damage caused to your device by not following the steps or negligence at the time of this process, All the steps were carried out and tested on my personal device and are confirmed, My device Redmi 8 3/32, the version that i tested Havoc-OS-v4.5-20210208-Official-arm64-ab.img.xz
Bugs
videos recorded with the default camera do not play
Update: Install the NGCam_7.4.104-v1.8-fix.apk Once the application is installed open it take a photo close the application, this will create a folder in the SD called Gcam, inside the Gcam folder create a folder and call it Config7 and inside this place the XML file Redmi 8 GCam 7.4.104.314953318 G_Modder.xml restart the application and you're done
the only bugs that have is slow motion record not work for now
Automatic brightness does not work
Update: to fix the automatic brightness on your device, after installing the ROM, put in the folder SYSTEM-OVERLAY the treble-overlay-xiaomi-redmi 8.apk and set the permission for the apk on 644 ( use root explorer ) and reboot ..... problem solved
the necessary files are at the end of the tutorial
Steps
Note: I did the installation coming from Mui 12.EU, and there was no problem in the installation process or in the boot process
If you come from Miui12 .EU or any other GSI Rom go to step 4, if you come from the Rom stock follow the this steps
1- First make a backup of all the necessary information in case something goes wrong you can easily recover, Charge the battery at least 80%
All your data will be deleted during the process
2- Unlock the Bootloader if you have not already done it or do not know how to, follow this post: http://en.miui.com/unlock/
3- Install a custon recovery, if you dont know how to, follow this post: https://c.mi.com/thread-2850424-1-0.html
4- Make wipe only to Cache, Dalvik, System, Data and Internal SD
5- Format data,( if it doesn't format the data you will have bootloop) then Reboot into Recovery
6- Copy all the files to the phone (Havoc-OS-v4.X-20200522-Official-arm64-ab.img you can find it by unpacking the zip), Magisk,Magisk Path Fix, Permisiver, Certification Patch.zip, opengapp (recommended nano or pico)
7- Install system image to system partition (on TWRP go to install-Install image-System) .
8- Flash Permisiver v5 (on TWRP go to install selec permisver_v5.zip)
9- Resize system partition to flash opengapps (on TWRP go to Wipe-Advanced Wipe-Select System on the list-Repair or Change File System-Resize)
To Root
once you have installed an resized the system
10- Flash the Magisk path fix (on TWRP go to install selec MagiskA11_PATH_fix.zip)
11- Flash Magisk (on TWRP go to install selec Magisk-v23.0.zip)
12- Flash Opengapps
1-Flash Certification Patch
1 - Make a wipe to Cache and Dalvik
1- Reboot
The boot process takes 5 to 10 minutes the first boot, in case of any problem in any of the stages you can reinstall Miui version fastboot with Mi flash tool and start again
Download link Rom image:
arm64-ab • Havoc-OS
Havoc-OS Downloads
download.havoc-os.com
OpenGapss Android 11: https://sourceforge.net/projects/opengapps/files/arm64/test/20210130/
Magisk:
Download Magisk Manager Latest Version 26.1 For Android 2023
Magisk Manager is an app which helps users to root their phone. With the help of Magisk you can run banking apps and also pass SafetyNet tests.
magiskmanager.com
Hey !
I have a stupid question. Do you upload the GSI ROM and the other files on a SD card or on the internal storage ? I was searching this guide on the morning but I was wondering about that...
Thanks for your answer
letouvetpierre said:
Hey !
I have a stupid question. Do you upload the GSI ROM and the other files on a SD card or on the internal storage ? I was searching this guide on the morning but I was wondering about that...
Thanks for your answer
Click to expand...
Click to collapse
Don't mind it, I haven't read all the article....
letouvetpierre said:
Hey !
I have a stupid question. Do you upload the GSI ROM and the other files on a SD card or on the internal storage ? I was searching this guide on the morning but I was wondering about that...
Thanks for your answer
Click to expand...
Click to collapse
You can place it in either of the two, as long as you can access the storage where you placed them from the recovery
D
letouvetpierre said:
Don't mind it, I haven't read all the article....
Click to expand...
Click to collapse
Dont worry
Darth Inferno said:
You can place it in either of the two, as long as you can access the storage where you placed them from the recovery
Click to expand...
Click to collapse
Okay thanks I think I will try this in the few days. Thanks for your guide !
Hey ! Do we need to flash a vbmeta image for Havocon boot ?
Is there any bugs when you install Havoc with TWRP ? 'cuz i'm a little bit experimented with TWRP but i'm shy with GSI...
Thanks for the answer
UPDATE :
I bricked my phone. When i arrived to the step 5 and i rebooted into fastboot (i would reboot into recovery...)
So, what can I do ? I installed MiFlashTool to unbrick my phone, if it can...
I tried to reboot from fastboot to twrp and this is what happened :
fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 2.141s]
booting...
FAILED (remote: unknown reason)
finished. total time: 2.771s
Thanks...
letouvetpierre said:
UPDATE :
I bricked my phone. When i arrived to the step 5 and i rebooted into fastboot (i would reboot into recovery...)
So, what can I do ? I installed MiFlashTool to unbrick my phone, if it can...
I tried to reboot from fastboot to twrp and this is what happened :
fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 2.141s]
booting...
FAILED (remote: unknown reason)
finished. total time: 2.771s
Thanks...
Click to expand...
Click to collapse
Hi, I need to know some things to help you, what ROM did you have before flashing Havoc? do you have the bootloader unlocked? When did you use My flashtool, what method did you use?
letouvetpierre said:
Hey ! Do we need to flash a vbmeta image for Havocon boot ?
Is there any bugs when you install Havoc with TWRP ? 'cuz i'm a little bit experimented with TWRP but i'm shy with GSI...
Thanks for the answer
Click to expand...
Click to collapse
In my particular case it was not necessary to flash vbmmeta as I comment in the OP I come from Miui12.eu, but it is necessary to avoid problems whatever the ROM you have before installing Havoc is to have the latest version of TWRP and have configured a lock pattern security in ROM access and in the flashing process I didn´t have problems
Hey!
I was on the stock ROM when i started to flash HavocOs.
I unbricked my phone with the MIUnlockTool V2 and my phone's still alive.
I booted on TWRP with fastboot boot TWRP.img 'cuz I can't boot to TWRP with volume up and power...
How can I flash HavocOs in the good way ?
I have Redmi 8 3/32 like you...
letouvetpierre said:
Hey!
I was on the stock ROM when i started to flash HavocOs.
I unbricked my phone with the MIUnlockTool V2 and my phone's still alive.
I booted on TWRP with fastboot boot TWRP.img 'cuz I can't boot to TWRP with volume up and power...
How can I flash HavocOs in the good way ?
I have Redmi 8 3/32 like you...
Click to expand...
Click to collapse
Ok the first thing is that you have the bootloader unlocked, if it is that way regardless of the stock version of the rom you have when installing twrp you must install magisk to ensure that the Recovery remains fixed in this link is a tutorial on how to install it, that tutorial was made by me and approved by Xiaomi https://c.mi.com/thread-2850424-1-0.html ,
install the latest version of TWRP and as it says in the tutorial then flash magisk, once you have everything ready install miui 12.eu do not do many settings except create a blocking pattern when starting the rom this is used by TWRP to be able to decrypt the internal memory
All ready do the steps as indicated in this tutorial (If you come from Miui12 .EU or any other GSI Rom go to step 4)
If for some reason you have a problem, use MI flashtool to return to the stock rom, but make sure to use the snapdragon method, select MIflash and when opening the screen at the bottom select clean all, this will prevent you from blocking the bootloader and you can start again without problems (note when selecting clean all at the end it will give you an error for not being able to block the bootloader and the device will restart, do not worry it will restart normally without problems)
Darth Inferno said:
Ok the first thing is that you have the bootloader unlocked, if it is that way regardless of the stock version of the rom you have when installing twrp you must install magisk to ensure that the Recovery remains fixed in this link is a tutorial on how to install it, that tutorial was made by me and approved by Xiaomi https://c.mi.com/thread-2850424-1-0.html ,
install the latest version of TWRP and as it says in the tutorial then flash magisk, once you have everything ready install miui 12.eu do not do many settings except create a blocking pattern when starting the rom this is used by TWRP to be able to decrypt the internal memory
All ready do the steps as indicated in this tutorial (If you come from Miui12 .EU or any other GSI Rom go to step 4)
If for some reason you have a problem, use MI flashtool to return to the stock rom, but make sure to use the snapdragon method, select MIflash and when opening the screen at the bottom select clean all, this will prevent you from blocking the bootloader and you can start again without problems (note when selecting clean all at the end it will give you an error for not being able to block the bootloader and the device will restart, do not worry it will restart normally without problems)
Click to expand...
Click to collapse
Hey!
I thought about something this afternoon : if I flash HavocOS with adb and fastboot, we also haven't any problems with TWRP installation ! But the problem is that I haven't found any wiki to do that and i won't transform my phone to a beta tester....
Thanks a lot for your help but I think i will wait until a custom rom of LineageOs or HavocOs...
Hi . I am currently running havoc is 3.12 on my device I tried multiple times to flash this ROM without any success. Is not installing open gapps a problem ? Anyways when I flash this rom without flashing the certification patch I get a no os installed warning before rebooting from orange fox recovery but when I flash the certification I no longer get this message. Etherway I am getting stuck on a bootloop . How can I solve this issue? I did all the steps correctly wiping the correct partitions and formating data . Edit I wiped cache and dalvik after the bootloop without any success .
Dragonnuu said:
Hi . I am currently running havoc is 3.12 on my device I tried multiple times to flash this ROM without any success. Is not installing open gapps a problem ? Anyways when I flash this rom without flashing the certification patch I get a no os installed warning before rebooting from orange fox recovery but when I flash the certification I no longer get this message. Etherway I am getting stuck on a bootloop . How can I solve this issue? I did all the steps correctly wiping the correct partitions and formating data . Edit I wiped cache and dalvik after the bootloop without any success .
Click to expand...
Click to collapse
Hey !
I had the same bug before installing the v3.12 version.
I think it goes from the Permissiver v5. I think we should flash it to have the Havoc v4.
I'll test later if I have the time to do this and I'll inform you about the possibilities.
Hope I can help.
letouvetpierre said:
Hey !
I had the same bug before installing the v3.12 version.
I think it goes from the Permissiver v5. I think we should flash it to have the Havoc v4.
I'll test later if I have the time to do this and I'll inform you about the possibilities.
Hope I can hel
Click to expand...
Click to collapse
Thanks for replying and trying to help but last night I managed to get havoc 4.1 is installed by flashing lineage first (using another guide from this category). I will try again to get havoc 4.1 working without flashing lineage as soon as posible because I am curious .
Used online available guides bit still not able to install magisk on Hovoc 4.1
Anyone succeeded?
mwaseem851 said:
Used online available guides bit still not able to install magisk on Hovoc 4.1
Anyone succeeded?
Click to expand...
Click to collapse
Magisk doesn't work on Android 11
letouvetpierre said:
Magisk doesn't work on Android 11
Click to expand...
Click to collapse
Finally managed to flash Magisk on Havoc 4.1 with the help of youtuberking (telegram and YouTube).
How: just flash Magisk path fix before magisk and it's good to go.

Question Where do I find TWRP for the Redmi Note 11 and how do I flash it?

As the title says. I managed to unlock the bootloader but now I need to install TWRP to install magisk, right? How do I get around doing that? There are some shady downloads on the internet but on twrp.me there is nothing for the phone. What do I do? Thanks in advance!
the device does not have official TWRP, the others available on telegram group do work fine
Thank you, but what telegram group? Could you forward me a link to it or something?
GeoS__ said:
Thank you, but what telegram group? Could you forward me a link to it or something?
Click to expand...
Click to collapse
not found | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
SubwayChamp said:
not found | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
Click to expand...
Click to collapse
Thanks a lot. Is there a spesn version? Can I flash this spes version on my spesn phone? Thank you in advance
GeoS__ said:
Thanks a lot. Is there a spesn version? Can I flash this spes version on my spesn phone? Thank you in advance
Click to expand...
Click to collapse
spes and spesn are the same device. the "n" in spesn stands for NFC support
MarvavCZE said:
spes and spesn are the same device. the "n" in spesn stands for NFC support
Click to expand...
Click to collapse
Oh really? Can i flash it then? I really do not care much for NFC.
GeoS__ said:
Oh really? Can i flash it then? I really do not care much for NFC.
Click to expand...
Click to collapse
Of course, you can, in recovery builds these differences don't matter.
just rooted with FASTBOOT and latest Magisk.App
How to Root Xiaomi MIUI 13 based on Android 12 via Magisk
In this guide, we will show you the detailed steps to root your Xiaomi device running MIUI 13 based on Android 12 via Magisk.
www.droidwin.com
Installation
The Magic Mask for Android
topjohnwu.github.io
Current installed MiUi version needs to match the complete Recovery Image you have to download
in my case:
https://bigota.d.miui.com/V13.0.11.0.RGKEUXM/spesn_eea_global_images_V13.0.11.0.RGKEUXM_20220606.0000.00_11.0_eea_5c36ea339b.tgz
or
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Extracting the Boot.Img - let magic app patch it on your fone copy back to Computer and install it like described on "droidwin":
fastboot flash boot magisk_patched-25100_0UGhl.img
have fun
linolino
GeoS__ said:
As the title says. I managed to unlock the bootloader but now I need to install TWRP to install magisk, right? How do I get around doing that? There are some shady downloads on the internet but on twrp.me there is nothing for the phone. What do I do? Thanks in advance!
Click to expand...
Click to collapse
I am in the same situation,
ie. I have a Note 11 Pro without NFC
[Phone code: SPES ]
• bootloader unlocked from Xiaomi (after 7+ days waiting)
• running MIUI Global 13.0.15 [ RGCMIXM ] , Android v 11 RKQ1.211001.001
I have following TWRP
- twrp-3.6.2-12.1-21.06.22
- twrp-3.6.2_12-0-spes-Jabiyeff
and I tried to flash TWRP in fastboot (below), but it always fails and does not work
Code:
fastboot flash recovery twrp.img
I'm used to flashing TWRP and ROMs, but it's been a while since I touched a Xiaomi device,
so I am wondering is there anything different that I need to do ?
also, any 'new methods' for flashing Magisk ?
( and passing SafetyNet )
I am typing this on my custom ROM. I did not flash through fastboot. I booted to the twrp img with it though (fastboot boot twrp.img if i remember correctly.) and, well, i flashed from the option inside twrp
GeoS__ said:
I am typing this on my custom ROM. I did not flash through fastboot. I booted to the twrp img with it though (fastboot boot twrp.img if i remember correctly.) and, well, i flashed from the option inside twrp
Click to expand...
Click to collapse
so, you flashed TWRP recovery, by booting the TWRP from your PC ?
OK... I can try that.
exactly. i connected with adb and checked with adb devices, then pushed the twrp image to the phone and booted off of it through fastboot. if it works booting off of the img it's pretty safe to flash
To flash a custom recovery on Spes, you need to first run the following command in fastboot on the pc:
fastboot boot XXX.img (this is the name of twrp/ofox/Shrp image)
then inside the recovery, you must go to advanced and select the option flash this twrp, with that the recovery is installed by default. But remember that every time you install a new rom, the recovery will change, so you should flash twrp every time you finish installing a new rom.
Microsheepcl said:
To flash a custom recovery on Spes, you need to first run the following command in fastboot on the pc:
fastboot boot XXX.img (this is the name of twrp/ofox/Shrp image)
then inside the recovery, you must go to advanced and select the option flash this twrp, with that the recovery is installed by default. But remember that every time you install a new rom, the recovery will change, so you should flash twrp every time you finish installing a new rom.
Click to expand...
Click to collapse
exactly! twrp even offers a checkbox to automatically reflash itself after the rom when flashing
interesting, it seems to work a little bit different than what I did before! thx for sharing your knowledge
metaxda said:
I am in the same situation,
ie. I have a Note 11 Pro without NFC
[Phone code: SPES ]
• bootloader unlocked from Xiaomi (after 7+ days waiting)
• running MIUI Global 13.0.15 [ RGCMIXM ] , Android v 11 RKQ1.211001.001
I have following TWRP
- twrp-3.6.2-12.1-21.06.22
- twrp-3.6.2_12-0-spes-Jabiyeff
and I tried to flash TWRP in fastboot (below), but it always fails and does not work
Code:
fastboot flash recovery twrp.img
I'm used to flashing TWRP and ROMs, but it's been a while since I touched a Xiaomi device,
so I am wondering is there anything different that I need to do ?
also, any 'new methods' for flashing Magisk ?
( and passing SafetyNet )
Click to expand...
Click to collapse
Have these twrp you used decrypted the device succesfully? The both twrp i used didnt work on decrypt, and both bootlooped my phone after trying to flash them to recovery(others/flash to device), The one that worked on me was a unnoficial Ofox
UltimaDea said:
Have these twrp you used decrypted the device succesfully? The both twrp i used didnt work on decrypt, and both bootlooped my phone after trying to flash them to recovery(others/flash to device)
Click to expand...
Click to collapse
This is actually pretty tricky. I found 5 different recoveries for spes/n:
OrangeFox-R11.1_A12.1-Unofficial-spes.img
twrp_v.3.6.2_11_spes-2022.08.14.img
twrp-3.6.2_12-0-spes-Jabiyeff.img
twrp-3.7.0_12-0-spes-dblenk9.img
and the one and only working one:
twrp_3.6.1-spes.img (google it), my SHA256 is: 27335ab466fadb458e090bce098b3bc9302b2876d0faf392371a23bf6fe902c
Only with this last one I was able to successfully decrypt my existing (PIN protected!) data partition of the following ROM I currently use: MIUI Global 13.0.13.0 (RGKEUXM)
I hope this helps anybody.
Also I just installed Magisk 25.2 zip via this TWRP version and its working like a charme.
Edit: Flash TWRP via fastboot with the following fastboot command:
"fastboot boot twrp.img"
twrp.img is the name of your twrp file.. this will boot up this TWRP and You can directly check if You can decrypt ur existing data partition.. if You succeed then go to Advanced and click on "Flash current TWRP"
gentano said:
This is actually pretty tricky. I found 5 different recoveries for spes/n:
OrangeFox-R11.1_A12.1-Unofficial-spes.img
twrp_v.3.6.2_11_spes-2022.08.14.img
twrp-3.6.2_12-0-spes-Jabiyeff.img
twrp-3.7.0_12-0-spes-dblenk9.img
and the one and only working one:
twrp_3.6.1-spes.img (google it), my SHA256 is: 27335ab466fadb458e090bce098b3bc9302b2876d0faf392371a23bf6fe902c
Only with this last one I was able to successfully decrypt my existing (PIN protected!) data partition of the following ROM I currently use: MIUI Global 13.0.13.0 (RGKEUXM)
I hope this helps anybody.
Also I just installed Magisk 25.2 zip via this TWRP version and its working like a charme.
Edit: Flash TWRP via fastboot with the following fastboot command:
"fastboot boot twrp.img"
twrp.img is the name of your twrp file.. this will boot up this TWRP and You can directly check if You can decrypt ur existing data partition.. if You succeed then go to Advanced and click on "Flash current TWRP"
Click to expand...
Click to collapse
3.6.1 only works for MIUI A11 ROMs
3.6.2 only works for AOSP and A12 MIUI (but no for MIUI ROM flashing)
3.7.0 fully works for any ROM except A11
gentano said:
This is actually pretty tricky. I found 5 different recoveries for spes/n:
OrangeFox-R11.1_A12.1-Unofficial-spes.img
twrp_v.3.6.2_11_spes-2022.08.14.img
twrp-3.6.2_12-0-spes-Jabiyeff.img
twrp-3.7.0_12-0-spes-dblenk9.img
and the one and only working one:
twrp_3.6.1-spes.img (google it), my SHA256 is: 27335ab466fadb458e090bce098b3bc9302b2876d0faf392371a23bf6fe902c
Only with this last one I was able to successfully decrypt my existing (PIN protected!) data partition of the following ROM I currently use: MIUI Global 13.0.13.0 (RGKEUXM)
I hope this helps anybody.
Also I just installed Magisk 25.2 zip via this TWRP version and its working like a charme.
Edit: Flash TWRP via fastboot with the following fastboot command:
"fastboot boot twrp.img"
twrp.img is the name of your twrp file.. this will boot up this TWRP and You can directly check if You can decrypt ur existing data partition.. if You succeed then go to Advanced and click on "Flash current TWRP"
Click to expand...
Click to collapse
Both the TWRP 3.6.2-12.1 and TWRP 3.7.0_12-0-spes works on my phone (SPES Global)
I am on android 12 version of MIUI 13. In fact I used the TWRP 3.7 to flash MIUI13.EU 13.0.5 A12 ROM and it works.
The two versions above can decrypt my phone without any problem. MTP also works in recovery mode.
Your phone is using Android 11. Probably that's the reason the TWRP versions I've mentioned above does not work for you.
I tend to agree with NeoSDAP.

Categories

Resources