This guide lets you install any GSI treble roms on our Daisy.
Read carefully and go step by step!
Update: Since Havoc OS doesn´t need permissive Kernel, I just installed the latest stock rom (9.6.9.0), flashed Havoc, set everything up and ended with sh...t... Camera´s not working, Opera freezes, everything sucks. It was a waste of time... So it´s still the situation:
If you want to use a custom GSI-Rom Only use this combination: Stock rom before flashing GSI: 9.6.4.0 and Kernel: Unofficial TWRP by Yshalsager - this combination works like a charm
Let´s get started: Be sure you are on Stock 9.6.4.0 (july security patch) if not, your wifi will not work in treble rom!
1) Download latest AB arm 64 gsi build. - ONLY ARM 64 AB GSI WILL WORK!
2) If you don´t have fastboot and adb download it from here: https://forum.xda-developers.com/sho....php?t=2588979 and install it!
3) Extract gsi64-ab-image to adb folder and rename it to system.img
4.a) Windows 7: right klick on white space in your adb-folder: open command prompt here
4.b) Windows 10: open command prompt as admin and navigate to your adb folder
5.) Power off your Smartphone and press pwr and vol- together -> your screen will show FASTBOOT - connect your phone to your PC
6.) type in your command prompt
Code:
fastboot oem unlock
Important: this will format your SD - All data will be lost If you perform that step! -> Backup before!7.) Phone will reboot, erase data and boot up. Power off again after boot up. Power + vol- to enter fastboot.
Now you have to decide: If you want to use Android 9 roms and TWRP together, you have to decrypt your data - else TWRP will not be able to read data! If you don´t care continue on step 11
8.) Download a patched_boot.img and place it in your fastboot folder - since only 9.6.4.0 works without bugs, you have to choose the patched 9.6.4.0 boot
9)
Code:
fastboot boot patched_boot.img
10) Connect to internet and update Magisk manager, download a root explorer - you could use this and go to
/vendor/etc/ and open the file fstab.qcom in editorreplace the text "forceencryption=footer with "encryptable=footer" and reboot to bootloader
11) Download this, rename it to boot.img and copy it to your fastboot folder
Code:
fastboot flash boot boot.img
12) Install official TWRP
13) After installing official TWRP reboot to TWRP agian and go to "wipe" -> "format data" and type "yes". Reboot to bootloader
14.) Download your GSI AB Image and place it in your fastboot folder
Code:
fastboot flash system [imagename].img
If you want, you can boot now to twrp and install magisk and/or gapps whatever - everything will work. Else you boot up your new system - Sometimes your GSI-rom will not boot up without a rooted kernel.
So if you stay in bootloop, just install magisk.zip!
Violla - Now you have a treble gsi rom on your Mi A2 Lite!
theres working twrp out for daisy, does this change anything refering to your first line:
"1) Download latest AB arm 64 gsi build. I would always use the gappsed version - twrp still not running for daisy... - ONLY ARM 64 AB GSI WILL WORK!"
thanks for the guide!
i really want to try this but im not sure which rom fully works. Also i'm not sure to do this without TWRP cause i'd like to have a complete backup of my device.
i'm in 9.6.9 version now with locked bootloader and unrooted
any suggests for me to try this rom
tutankpusch said:
theres working twrp out for daisy, does this change anything refering to your first line:
"1) Download latest AB arm 64 gsi build. I would always use the gappsed version - twrp still not running for daisy... - ONLY ARM 64 AB GSI WILL WORK!"
Click to expand...
Click to collapse
Updated: I removed that line...
merlin.berlin said:
thanks for the guide!
i really want to try this but im not sure which rom fully works. Also i'm not sure to do this without TWRP cause i'd like to have a complete backup of my device.
Click to expand...
Click to collapse
No problem - meanwhile there´s a official twrp here - and you can still use this guide
If you want to flash havoc 2.0 - I think it´s the best rom on earth , you will need to change your kernel to permissive that it will boot. To do that, read the thread there´s a vivid discussion how to do it...
elkhshap said:
i'm in 9.6.9 version now with locked bootloader and unrooted
any suggests for me to try this rom
Click to expand...
Click to collapse
If you like to have more features and/or pie (Android 9), then I would suggest to flash a custom gsi rom. If you can live with stock, I wouldn´t touch it.
Voodoojonny said:
No problem - meanwhile there´s a official twrp here - and you can still use this guide
If you want to flash havoc 2.0 - I think it´s the best rom on earth , you will need to change your kernel to permissive that it will boot. To do that, read the thread there´s a vivid discussion how to do it...
Click to expand...
Click to collapse
i want havoc OS but as i understand i can't use the fastboot method because i need the permissive fix, which only can be installed via TWRP, correct?
i would prefer fastboot over TWRP because all the problems with sdcard reading, encrypting etc.
merlin.berlin said:
i want havoc OS but as i understand i can't use the fastboot method because i need the permissive fix, which only can be installed via TWRP, correct?
i would prefer fastboot over TWRP because all the problems with sdcard reading, encrypting etc.
Click to expand...
Click to collapse
Hi,
there are so many reasons for havoc not to boot... and so less to boot...
BUT... If you won´t mind to use an unencrypted phone or no twrp, you can use (as I think) the best Android OS, havoc.
So think about, what is more important for you: TWRP or encryption.
1. With encryption: (Quite easy)
a) Go to stock 9.6.4.0 - July patch with mi flash and choose clean all (yes you will loose all your data -> back up everything) - Important: don´t install any ota after that!b) Download latest havoc and place it in your fastboot folderc) Download this TWRP and place it in your fastboot folder - you need this as Kerneld) As lazy person, I would rename the havoc file to havoc.img and the twrp file to twrp.imge) copy userdata.bin from stock to fastboot
Code:
fastboot flash system havoc.img
Code:
fastboot flash boot twrp.img
Code:
fastboot flash userdata userdata.bin
Code:
fastboot reboot
Wait and wait and wait and violla, you have havoc!
f) Gapps: download gapps, copy it to your fastboot folder and rename it to gapps.zip. Boot to recovery - twrp will not be able to read your data -> skip and allow modifications
Code:
adb push ./gapps.zip /sdcard
- Now you see gapps in your zip and you can install it!
g) Magisk: for magisk you need to download my patched twrp and place it in your fastboot folder
Code:
fastboot boot patched_twrp.img
- After booting up, you can go to magisk manager (yes: upgrade first etc.... and install magisk using the "direct method"
2. If you want to remove encryption - then you can use twrp fully, use this guide: here
Important: If you use another stock rom than 9.6.4.0 or do an ota, you will loose wifi!after doing all the steps:
Code:
fastboot flash system havoc.img
- that´s it!
Now you can use havoc
Voodoojonny said:
Hi,
there are so many reasons for havoc not to boot... and so less to boot...
BUT... If you won´t mind to use an unencrypted phone or no twrp, you can use (as I think) the best Android OS, havoc.
So think about, what is more important for you: TWRP or encryption.
1. With encryption: (Quite easy)
a) Go to stock 9.6.4.0 - July patch with mi flash and choose clean all (yes you will loose all your data -> back up everything) - Important: don´t install any ota after that!b) Download latest havoc and place it in your fastboot folderc) Download this TWRP and place it in your fastboot folder - you need this as Kerneld) As lazy person, I would rename the havoc file to havoc.img and the twrp file to twrp.imge) copy userdata.bin from stock to fastboot
Code:
fastboot flash system havoc.img
Code:
fastboot flash boot twrp.img
Code:
fastboot flash userdata userdata.bin
Code:
fastboot reboot
Wait and wait and wait and violla, you have havoc!
f) Gapps: download gapps, copy it to your fastboot folder and rename it to gapps.zip. Boot to recovery - twrp will not be able to read your data -> skip and allow modifications
Code:
adb push ./gapps.zip /sdcard
- Now you see gapps in your zip and you can install it!
g) Magisk: for magisk you need to download my patched twrp and place it in your fastboot folder
Code:
fastboot boot patched_twrp.img
- After booting up, you can go to magisk manager (yes: upgrade first etc.... and install magisk using the "direct method"
2. If you want to remove encryption - then you can use twrp fully, use this guide: here
Important: If you use another stock rom than 9.6.4.0 or do an ota, you will loose wifi!after doing all the steps:
Code:
fastboot flash system havoc.img
- that´s it!
Now you can use havoc
Click to expand...
Click to collapse
Please explain by video
thank you so much for this guide:good:
i'll try it later when im home:fingers-crossed:
Where do I find a userdata.bin file?
monzer said:
Where do I find a userdata.bin file?
Click to expand...
Click to collapse
In the Images-Folder of your stockrom after extracting...
- download fastboot stock rom
- extract archive
- look inside "images"
update: it´s userdata.img
Voodoojonny said:
In the Images-Folder of your stockrom after extracting...
- download fastboot stock rom
- extract archive
- look inside "images"
update: it´s userdata.img
Click to expand...
Click to collapse
Please post a video for ease of action
monzer said:
Please post a video for ease of action
Click to expand...
Click to collapse
Sorry, that will not happen!
Updated: view first post. This guide will definitely work well - and it´s easy! At least more easy than the other guides .
Voodoojonny said:
Updated: view first post. This guide will definitely work well - and it´s easy! At least more easy than the other guides .
Click to expand...
Click to collapse
No idea why you're useless taking pot-shots at other people, especially when you keep spreading lies about stock roms because you use a broken recovery. But have it your way.
Just keeping telling people to use a broken/untested recovery and bricking their phones, that forces them to reflash boot images. Can't wait until the bricks pile up.
I'm done with this website.
KezraPlanes said:
No idea why you're useless taking pot-shots at other people, especially when you keep spreading lies about stock roms because you use a broken recovery. But have it your way.
Just keeping telling people to use a broken/untested recovery and bricking their phones, that forces them to reflash boot images. Can't wait until the bricks pile up.
I'm done with this website.
Click to expand...
Click to collapse
If you would read, you would have noticed, that that broken and untested recovery is used as kernel, becouse it works great as kernel for gsi roms. Within the process it will be upgreaded by official twrp.
I spend a lot time, testing how to install custom roms on this phone, becouse I don't like like stock and I share my experience with others. Noone will break his phone with this! Perhaps you can try before complaining.
KezraPlanes said:
No idea why you're useless taking pot-shots at other people, especially when you keep spreading lies about stock roms because you use a broken recovery. But have it your way.
Just keeping telling people to use a broken/untested recovery and bricking their phones, that forces them to reflash boot images. Can't wait until the bricks pile up.
I'm done with this website.
Click to expand...
Click to collapse
Voodoojonny said:
If you would read, you would have noticed, that that broken and untested recovery is used as kernel, becouse it works great as kernel for gsi roms. Within the process it will be upgreaded by official twrp.
I spend a lot time, testing how to install custom roms on this phone, becouse I don't like like stock and I share my experience with others. Noone will break his phone with this! Perhaps you can try before complaining.
Click to expand...
Click to collapse
Lol, this site has gone way down hill... It's almost a joke now.
So many people asking for the 'easy' way and want answers to easily searchable questions. Sooo many multiple posts, and people not wanting to do the research themselves. How many threads need to be created on bricked devices because you didn't heed the warnings or follow the directions...
I wonder if xda even cares? This place use to be a great tool for the ones who like to tinker.
There are definitely a few folks keeping the spirit alive, but so many unnecessary posts - like what I'm writing right now...
Anyway thanks to anyone who puts time and effort for the greater good, we should all understand that tinkering with our devices can potentially have adverse effects.
Thanks for this noob friendly guide! a massive thanks! But hotspot still not working. Haven't tried the gcam but the stock camera is working but has no portrait and other features. The havoc os 2.0 looks snappy and buggy. Ill try other treble roms in few days
Any suggestions?
Bokoko006 said:
Thanks for this noob friendly guide! a massive thanks! But hotspot still not working. Haven't tried the gcam but the stock camera is working but has no portrait and other features. The havoc os 2.0 looks snappy and buggy. Ill try other treble roms in few days
Any suggestions?
Click to expand...
Click to collapse
You're welcome. Don't have problems with bugs and havoc 2.0... Interesting to test would be arrow pie! Benzo had problems with camera and flashlight... All the 8.1 can't handle the notch and overlay!
Hi can anyone make an android 11 custom rom(Pixel experience/ evolution x/ havoc os) for this phone pls? Thank You.
Yes, you can:
go to https://forum.xda-developers.com/t/10-0-project-treble-for-xperia-xzs-2020-03-18.3976367/ then download the zip file and flash vendor.img and boot.img (steps provided in the zip).
then download any android 11 custom rom GSI having arm64 and AB or A/B NOT A only or B only and flash it with fastboot command:
Code:
fastboot flash system <GSI filename>.img
You will need to download and install adb and fastboot tools from google to get the above code working. Also have a bit of patience while first boot your custom ROM after flashing, I will take some time for it to boot up
I have tried:
- Pixel Experience Plus and non-Plus
- Corvus OS
- Havoc OS
Link to official GSI ROMs supporting Project treble devices(This device is included): https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
i get "Invalid sparse file format at header magic"
and my phone won't boot HELP
prayagprajapati17 said:
Yes, you can:
go to https://forum.xda-developers.com/t/10-0-project-treble-for-xperia-xzs-2020-03-18.3976367/ then download the zip file and flash vendor.img and boot.img (steps provided in the zip).
then download any android 11 custom rom GSI having arm64 and AB or A/B NOT A only or B only and flash it with fastboot command:
Code:
fastboot flash system <GSI filename>.img
You will need to download and install adb and fastboot tools from google to get the above code working. Also have a bit of patience while first boot your custom ROM after flashing, I will take some time for it to boot up
I have tried:
- Pixel Experience Plus and non-Plus
- Corvus OS
- Havoc OS
Link to official GSI ROMs supporting Project treble devices(This device is included): https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Click to expand...
Click to collapse
i get "Invalid sparse file format at header magic"
and my phone won't boot HELP
uh btw don't be stupid like me and rename .xz to .img use 7zip to OPEN the .xz then extract the .img inside
prayagprajapati17 said:
Yes, you can:
go to https://forum.xda-developers.com/t/10-0-project-treble-for-xperia-xzs-2020-03-18.3976367/ then download the zip file and flash vendor.img and boot.img (steps provided in the zip).
then download any android 11 custom rom GSI having arm64 and AB or A/B NOT A only or B only and flash it with fastboot command:
Code:
fastboot flash system <GSI filename>.img
You will need to download and install adb and fastboot tools from google to get the above code working. Also have a bit of patience while first boot your custom ROM after flashing, I will take some time for it to boot up
I have tried:
- Pixel Experience Plus and non-Plus
- Corvus OS
- Havoc OS
Link to official GSI ROMs supporting Project treble devices(This device is included): https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Click to expand...
Click to collapse
How did Havoc OS work for you?
I am always afraid to flash something that doesn't say precisely that it is for the XZs. But I should mainly be concerned about the kernel, right? If the image is wrong it just won't boot? But the kernel can brick it. Is my assumption correct?
Thanks to everyone who help us illiterates out...
Cordially,
Martin Book
Just follow the guide in the xda thread link I gave, you can use and android 11 GSI ARM64 AB image and you will be fine as far as my testing goes...
Just flash the vendor.img, boot.img and after that find a GSI image with ARM64 AND AB(The file name might use some other code name for this so just make sure the one you download has AB partition).
Note: Android 12 won't work and also daily use is not recommended
Hi there.
Can't install any image after tring to install xiaomi.eu image.
Hi have unlock the phone and after that install twrp recovery.
After that i have tried to install xiaomi.eu image but no luck.
Format the phone as some instructions on xda forum.
Now i boot phone in to twrp recovery but when i try to copy image in every partitions have 0MB space of storage.
Can anyone help a way to fix my phone.
Best Regards
Alexandre Silva
First try to flash latest TWRP because it sounds like you have old one.
Downloads for : Xiaomi POCO X3 Pro | 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
When booting now just stuck on "Boot loader is unlocked" warning screen. When booting into TWRP using volume and power buttons, all my restore options are random alphanumeric characters (I think this means encryption...).
I checked both slots, one is for the bootwarning screen, other is for TWRP... What do....
restore the backup of vendor or use from download. reason: magisk from recovery requires parameter to preserve encryption, otherwise the fstab is modified in a way encryption is no longer functional.
alecxs said:
restore the backup of vendor or use from download. reason: magisk from recovery requires parameter to preserve encryption, otherwise the fstab is modified in a way encryption is no longer functional.
Click to expand...
Click to collapse
How can I restore anything in TWRP if everything is alphanumeric babel (encrypted)?
What are my options realistically in this situation?
download vendor and flash from fastboot or adb
alecxs said:
download vendor and flash from fastboot or adb
Click to expand...
Click to collapse
As in a vendor blob? Where do I download it?
I don't know what ROM, just examples
[ROM][OFFICIAL][enchilada][13] LineageOS 20
LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device. LineageOS is based on the Android Open Source Project with extra...
forum.xda-developers.com
[OnePlus 6][ROM][OTA][Oxygen OS] Mirrors for official Oxygen OS ROMs and OTA updates
As OnePlus doesn't always provide download links for all of for their Oxygen OS ROMs & OTA update zips, we mirrored them on AndroidFileHost and put the links in one post so that they're easy to find. This is not a support thread for issues you...
forum.xda-developers.com
you need to extract with payload dumper
[TOOL] A QUICK Android OTA payload dumper
Made with Go. By utilizing goroutines, this can extract img files from (full) OTA payload.bin really quickly. See how fast this is: https://i.imgur.com/adpijqf Source Code: https://github.com/ssut/payload-dumper-go Prebuilt binaries...
forum.xda-developers.com