boot failed on galaxy m20 - Samsung Galaxy M20 Questions & Answers

i tried to flash project sakura 5.1 with latest twrp which shows succeeded on terminal but it doesn't boot into system instead it booted into bootloader. i tried with older twrp and older versions of project sakura too, nothing worked. but the another rom called HariRom based on oneUI3.1 successfully flashed and booted normally to system. also i tried with another custom recovery called orangefox, which shows the boot cannot be located as error for all version of project sakura. can somebody help me with it?? i wish to install project sakura 5.1

ChapagainAB said:
i tried to flash project sakura 5.1 with latest twrp which shows succeeded on terminal but it doesn't boot into system instead it booted into bootloader. i tried with older twrp and older versions of project sakura too, nothing worked. but the another rom called HariRom based on oneUI3.1 successfully flashed and booted normally to system. also i tried with another custom recovery called orangefox, which shows the boot cannot be located as error for all version of project sakura. can somebody help me with it?? i wish to install project sakura 5.1
Click to expand...
Click to collapse
[EOL][ROM] [11] Project Sakura 5.1 [OFFICIAL] | VANILLA
does this rom have a working aod for samsung galaxy a40?
forum.xda-developers.com
Follow from here

Kenora_I said:
[EOL][ROM] [11] Project Sakura 5.1 [OFFICIAL] | VANILLA
does this rom have a working aod for samsung galaxy a40?
forum.xda-developers.com
Follow from here
Click to expand...
Click to collapse
i followed that in my first try which didnt worked and after that i tried other recoveries and versions of sakura . that didnt helped.
my phone is not rooted by the way

How to fix bootloops after coming from OneUI 3.x ports
1) Boot to TWRP
2) Download this vendor image
3) Install --> Flash image --> select image --> select vendor
4) Flash Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip from here
5) Flash the ROM.zip

i did installed vendor img but didnt find the option to wipe vender. and also i have tried installing dm-verity zip too. idk what that did but it was installed successfully and still didnt booted to system
Kenora_I said:
How to fix bootloops after coming from OneUI 3.x ports
1) Boot to TWRP
2) Wipe Vendor
3) Download this vendor image
4) Install --> Flash image --> select image --> select vendor
5) Flash Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip from here
6) Flash the ROM.zip
Click to expand...
Click to collapse

Actually no need i removed it.

So wiping vendor is in advanced wipe area in twrp. Dont reboot after it.
Then flash the image like i said.
Then flash the dm verity thing then flash the rom.zip

Kenora_I said:
So wiping vendor is in advanced wipe area in twrp. Dont reboot after it.
Then flash the image like i said.
Then flash the dm verity thing then flash the rom.zip
Click to expand...
Click to collapse
@Haridhayal i did installed it to my phone. version 5.2 actually. but its lagging, its overheating than stock rom while gaming. And mainly it crashes whenever i try to add security lock neither of the security option works . and i played call of duty mobile for some time and it quit automatically after some like 10 to 15 min. also the camera UI is terrible altho it captured well. and my phone did support fast charging on stock rom which now doesnot supported by project sakura. it takes almost 4-5 hours to get fully charged. what the hell happened with that?

ChapagainAB said:
@Haridhayal i did installed it to my phone. version 5.2 actually. but its lagging, its overheating than stock rom while gaming. And mainly it crashes whenever i try to add security lock neither of the security option works . and i played call of duty mobile for some time and it quit automatically after some like 10 to 15 min. also the camera UI is terrible altho it captured well. and my phone did support fast charging on stock rom which now doesnot supported by project sakura. it takes almost 4-5 hours to get fully charged. what the hell happened with that?
Click to expand...
Click to collapse
So it worked? It booted?
Yes, some features arent supported for some custom ROMs. Keep in mind custom ROMS won't perform like stock. Stock ROMS are made by people with the correct tools and 100% knowledge about the specific phone you are using sooooo....

Related

Not able to install any Android 9.0 based ROM's

I dont know if this is the right place to post this issue,sorry if this violates any rules
Recently I've shifted to custom roms on my device.I've always wanted to use one of those 9.0 ROM's.I tried 2 flavours-Pixys and Havoc.Both based off 9.
I tried flashing it with TWRP 3.2.1-0,as soon as I installed and rebooted it shows me Decryption failed and proceeded to factory reset my device.I had to repair my phone's file system to EXT4 to correct it and install an 8.1 based rom
Since I thought it might have to do something with TWRP, I tried RedWolf Recovery and tried installing Pixys and Havoc only to return to the same "Decryption Failed" issue.
Is there something different that I am doing?Can anyone help me in this regard.
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Did you tried another recovery? Try Batik Recovery!
Anirudh15 said:
I dont know if this is the right place to post this issue,sorry if this violates any rules
Recently I've shifted to custom roms on my device.I've always wanted to use one of those 9.0 ROM's.I tried 2 flavours-Pixys and Havoc.Both based off 9.
I tried flashing it with TWRP 3.2.1-0,as soon as I installed and rebooted it shows me Decryption failed and proceeded to factory reset my device.I had to repair my phone's file system to EXT4 to correct it and install an 8.1 based rom
Since I thought it might have to do something with TWRP, I tried RedWolf Recovery and tried installing Pixys and Havoc only to return to the same "Decryption Failed" issue.
Is there something different that I am doing?Can anyone help me in this regard.
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Click to expand...
Click to collapse
Hey there, how about u try to install Pitchblack twrp the latest one and install Pixel experience pie riva, it can be used for rolex also because the developer make the rom to unified for both rolex and riva. Then install the magisk after that. I've been using pixel experience pie for a month and it is so far so good.
Amir_espie said:
Hey there, how about u try to install Pitchblack twrp the latest one and install Pixel experience pie riva, it can be used for rolex also because the developer make the rom to unified for both rolex and riva. Then install the magisk after that. I've been using pixel experience pie for a month and it is so far so good.
Click to expand...
Click to collapse
Sure,will give it a go
An update
I installed Batik recovery.Magisk could be flashed but Im still getting the decryption unsuccessful message when I install Pixys
Solved Magisk Error!
I've been using Pixys OS on my Redmi 4A and it works fine smoothly. I recommended to clean wipe before installing. Android Pie us amazing and I've installed stable version. Do backup before clean wipe.
For Magisk I recommended this: https://freaksterism.blogspot.com/2018/10/solved-cannot-mount-vendor-magisk.html?m=1
It worked for me. Also go through this step before any custom ROM. Do let me know the status
Anirudh15 said:
An update
I installed Batik recovery.Magisk could be flashed but Im still getting the decryption unsuccessful message when I install Pixys
Click to expand...
Click to collapse
to solve decryption unsuccesful message, format data (Wipe>Format Data) after installing the rom, make sure you backup your internal storage coz Format Data will also ERASE the internal storage. This how i got over the decryption unsuccessfull message. hope this helped.
You have two problems.
Anirudh15 said:
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Click to expand...
Click to collapse
You need to flash the twrp separated vendor version by my friend Offain https://androidfilehost.com/?fid=962187416754475993
The other problem with the decryption:
You must enter in the twrp press wipe and format data. Type yes and then reboot into twrp again. After that flash the rom and gapps and you will not have the decryption problem again
Anirudh15 said:
I dont know if this is the right place to post this issue,sorry if this violates any rules
Recently I've shifted to custom roms on my device.I've always wanted to use one of those 9.0 ROM's.I tried 2 flavours-Pixys and Havoc.Both based off 9.
I tried flashing it with TWRP 3.2.1-0,as soon as I installed and rebooted it shows me Decryption failed and proceeded to factory reset my device.I had to repair my phone's file system to EXT4 to correct it and install an 8.1 based rom
Since I thought it might have to do something with TWRP, I tried RedWolf Recovery and tried installing Pixys and Havoc only to return to the same "Decryption Failed" issue.
Is there something different that I am doing?Can anyone help me in this regard.
Also,Im not able to install Magisk, recovery shows me Error-1 Couldnt mount vendor partition.What's the solution to this?
Click to expand...
Click to collapse
I had the same problem. Its because your phone is encrypted. The only solution I found is to boot the device into fastboot and using command: [fastboot format userdata] on PC. This will wipe all data off your phone so do backup. It removes encryption and now you can install any custom rom.
Decrypt ur phone first then flash, use twrp vendor
athish said:
to solve decryption unsuccesful message, format data (Wipe>Format Data) after installing the rom, make sure you backup your internal storage coz Format Data will also ERASE the internal storage. This how i got over the decryption unsuccessfull message. hope this helped.
Click to expand...
Click to collapse
Format Data was the only thing that worked for me. First backup everything on your mass storage.

Redmi 4X: TWRP, LineageOS, Gapps (Cannot update ROM) (nightly) *error*

Hi everyone,
I'm new here though but am a Xiaomi user from the beggining of Xiaomi into devices with Redmi Note 3G Enhanced.
Currently, I own a Redmi 4X and I would like your expert lights please. I've flashed the latest twrp from twrp.me for my santoni device. Then flashed the latest build from LineageOS Official source + Gapps before booting up for first time. Everything was working perfectly until I decided to flash the latest update of LineageOS as I've seen in my updater it was released. So, I downloaded it through the updater and tried to flash it...
I came up with this "Failed to unmount /system (device or resource busy)" after that re-booted to LineageOS and everything was messed up with Google Services & Apps etc. Then I went back to twrp recovery and tried to flash again the rom but I was still getting that message so I understood something am doing wrong. Also santoni has dm-verity enabled which I know something about but just an info. I really wanna stick with LineageOS on my Redmi 4X forever but I'm afraid to flash it again. I've flashed MIUI 10 Beta by fastboot but now I wanna go back to LineageOS forever (addicted).
My only problem is: After successfuly flashing LineageOS and Gapps, I cannot apply (flash) updates to update the ROM to the latest nightly build due to this error above.
Kind regards,
peryson
Try with different recovery. For example with this
Harukey said:
Try with different recovery. For example with this
Click to expand...
Click to collapse
Instead of trying an unofficial recovery, do I have an option to unmount system manually before flashing through Official TWRP?
peryson said:
Instead of trying an unofficial recovery, do I have an option to unmount system manually before flashing through Official TWRP?
Click to expand...
Click to collapse
You can download latest Lineage OS build and dirty flash it (without any wipes) (so you can unmout system parition). And I don't see any issue in using unoffical twrp.
I also have experienced same error once during upgrade "failed to unmount /system"
Eventually I wiped everything and did clean flash from scratch. This is really annoying issue and demonstrates that upgrade system is not 100% reliable for some reason.
I'm not sure however is it Lineage or twrp issue.

Anyone knows how to flash gsi roms on this device?

I tried to flash different gsi images and always get bootlop to fastboot mode.
jlorf7 said:
I tried to flash different gsi images and always get bootlop to fastboot mode.
Click to expand...
Click to collapse
To flash gsi images, I installed chinese rom then twrp and images have to be a/b not a.
jlorf7 said:
To flash gsi images, I installed chinese rom then twrp and images have to be a/b not a.
Click to expand...
Click to collapse
But the treble check shows redmagic 3 has only slot A not A&B.
So how did you do that flashing A/B
Please also post a guide if possible and you have time for the same..
Really appreciate.
Thanks
rajnathr said:
But the treble check shows redmagic 3 has only slot A not A&B.
So how did you do that flashing A/B
Please also post a guide if possible and you have time for the same..
Really appreciate.
Thanks
Click to expand...
Click to collapse
I know but with aonly always boot to fastboot mode, check in this it shows ab https://github.com/phhusson/treble_experimentations/wiki
I posted a mini guide in another thred: https://forum.xda-developers.com/showthread.php?p=80641265
Enviado desde mi NX629J mediante Tapatalk
I know I'm being a jerk here but the thing that I don't own a PC force me to post this here. If anyone can try to install game space and see if it would work. I believe gsi rom is much better than stock rom for our device as I'm using stock global rom and encounter lot of bugs and the only thing that make me happy is game space. Thanks!
Irwan Fauzi said:
I know I'm being a jerk here but the thing that I don't own a PC force me to post this here. If anyone can try to install game space and see if it would work. I believe gsi rom is much better than stock rom for our device as I'm using stock global rom and encounter lot of bugs and the only thing that make me happy is game space. Thanks!
Click to expand...
Click to collapse
This Friday hope I will be testing maximum no. of GSI image and will be posting which boots and working better for Redmagic 3 in a separated thread for discussion with the community.
Also will backup such as Game launcher, LED Strip and other important app using titanium backup and will try to install as system to check if they are working or not.
Just flash the Chinese rom then flash TWRP and then go here https://forum.xda-developers.com/project-treble/trebleenabled-device-development and pick any rom you want some of them even have GAPPS included
---------- Post added at 04:37 PM ---------- Previous post was at 04:31 PM ----------
If you're having trouble with GAPPS follow this steps
1) Boot into TWRP
2) Flash latest GSI img
3) Resize system file system (necessary on my device otherwise gapps will not install)
- Wipe -> Advanced -> select system -> resize file system
4) Flash pico or mini or aroma which ever you want gapps zip
6) Flash magisk zip
7) reboot
every (gsi) rom i've tried so far(various versions of resurrection remix, lineage, android 9 AOSP) has gotten stuck at the boot animation, tried pretty much everything i could think of(with a lot of getting stuck at the bootloader as a result)
for twrp i followed standard guides and the guides posted here, no errors, just gets stuck at the boot animation(i've waited for up to 2 hours to see if it might still continue)
anyone have any idea what could be going wrong?
jenbot said:
every (gsi) rom i've tried so far(various versions of resurrection remix, lineage, android 9 AOSP) has gotten stuck at the boot animation, tried pretty much everything i could think of(with a lot of getting stuck at the bootloader as a result)
for twrp i followed standard guides and the guides posted here, no errors, just gets stuck at the boot animation(i've waited for up to 2 hours to see if it might still continue)
anyone have any idea what could be going wrong?
Click to expand...
Click to collapse
Did you try ab version?
jenbot said:
every (gsi) rom i've tried so far(various versions of resurrection remix, lineage, android 9 AOSP) has gotten stuck at the boot animation, tried pretty much everything i could think of(with a lot of getting stuck at the bootloader as a result)
for twrp i followed standard guides and the guides posted here, no errors, just gets stuck at the boot animation(i've waited for up to 2 hours to see if it might still continue)
anyone have any idea what could be going wrong?
Click to expand...
Click to collapse
Did you wipe system? Also, wipe data after 1st failed boot. Flash vbmeta ???
Irwan Fauzi said:
Did you try ab version?
Click to expand...
Click to collapse
yes
suzook said:
Did you wipe system? Also, wipe data after 1st failed boot. Flash vbmeta ???
Click to expand...
Click to collapse
yes, yes and yes
I've successfully installed aosp 9 (phhusson), havoc 2.9 & 3 on my phone.
Here's some step that i take:
1. Install Chinese rom
2. Reboot to stock recovery wipe userdata & cache
3. Install twrp
4. Flash system image from twrp (always use a/b image)
5. Resize filesystem
6. Flash gapps & magisk
The phone should reboot once on the 1st boot and then boot normaly on the 2nd, you will know you've succeeded if the screen become dim at booting. That should take only a couple minutes, not hours. If that didn't happen try to format data from twrp or use different rom (i found that aex didn't work on my phone)
Hope this help :good:
h4cxxc0r3 said:
I've successfully installed aosp 9 (phhusson), havoc 2.9 & 3 on my phone.
Here's some step that i take:
1. Install Chinese rom
2. Reboot to stock recovery wipe userdata & cache
3. Install twrp
4. Flash system image from twrp (always use a/b image)
5. Resize filesystem
6. Flash gapps & magisk
The phone should reboot once on the 1st boot and then boot normaly on the 2nd, you will know you've succeeded if the screen become dim at booting. That should take only a couple minutes, not hours. If that didn't happen try to format data from twrp or use different rom (i found that aex didn't work on my phone)
Hope this help :good:
Click to expand...
Click to collapse
Do you mind testing if game space work?
h4cxxc0r3 said:
I've successfully installed aosp 9 (phhusson), havoc 2.9 & 3 on my phone.
Here's some step that i take:
1. Install Chinese rom
2. Reboot to stock recovery wipe userdata & cache
3. Install twrp
4. Flash system image from twrp (always use a/b image)
5. Resize filesystem
6. Flash gapps & magisk
The phone should reboot once on the 1st boot and then boot normaly on the 2nd, you will know you've succeeded if the screen become dim at booting. That should take only a couple minutes, not hours. If that didn't happen try to format data from twrp or use different rom (i found that aex didn't work on my phone)
Hope this help :good:
Click to expand...
Click to collapse
Hi. I tried the phhusson 10.0 V203. It worked and it booted. I used ARM64 AB image. Everything was working fine, except i was unable to make any outgoing calls. So i tried to use a different image. After that nothing is working. Even the image that worked the first time doesn't work. It keeps getting stuck in boot loop and going to fastboot. I tried with 4 GSI images, nothing is working.
Irwan Fauzi said:
Do you mind testing if game space work?
Click to expand...
Click to collapse
I've reverted my phone back to cn rom soon after because of the strange vibration bug on every single gsi rom i've tested and forgot to take stock rom system dump at that time so i never got any chance to try it.
But i've tried to install gamespaces stuff to my other phone running aex pie with no avail. So, unless anyone know how to mod the app or port the necessary framework stuff from stock into gsi rom I think it will never work.
Maybe some overlay will make it work. i don't know, just guessing.
---------- Post added at 08:17 AM ---------- Previous post was at 08:01 AM ----------
vimalrajan1988 said:
Hi. I tried the phhusson 10.0 V203. It worked and it booted. I used ARM64 AB image. Everything was working fine, except i was unable to make any outgoing calls. So i tried to use a different image. After that nothing is working. Even the image that worked the first time doesn't work. It keeps getting stuck in boot loop and going to fastboot. I tried with 4 GSI images, nothing is working.
Click to expand...
Click to collapse
If you stuck on fastboot after splash screen (without boot animation) then you have to use the unbrick tool to flash over the system and redo it if you want to. Never reboot without system on this phone or you'll stuck on fastboot.
But if it got bootloop at booting screen and able to enter twrp then you can try to wipe or format data. It happens on my phone too. I don't know if the twrp was buggy or something but yeah just try it back and forth between wiping and formating then it will randomly fixed.
Red magic 3 treble
That's the thing with this phone. Everything is random. I did use the repair tool and flashed the latest global version. But I am unable to flash the gsi again. It keeps getting stuck in fastboot screen. But if I select recovery from fastboot. It does goes to twrp recovery. But nothing after that. I hope someone can make a custom rom with Nubia launcher.
Red magic NEEDS to provide us with fastboot images...We have no real way to recover from a semi brick WTF!
h4cxxc0r3 said:
I've reverted my phone back to cn rom soon after because of the strange vibration bug on every single gsi rom i've tested and forgot to take stock rom system dump at that time so i never got any chance to try it.
But i've tried to install gamespaces stuff to my other phone running aex pie with no avail. So, unless anyone know how to mod the app or port the necessary framework stuff from stock into gsi rom I think it will never work.
Maybe some overlay will make it work. i don't know, just guessing.
---------- Post added at 08:17 AM ---------- Previous post was at 08:01 AM ----------
If you stuck on fastboot after splash screen (without boot animation) then you have to use the unbrick tool to flash over the system and redo it if you want to. Never reboot without system on this phone or you'll stuck on fastboot.
But if it got bootloop at booting screen and able to enter twrp then you can try to wipe or format data. It happens on my phone too. I don't know if the twrp was buggy or something but yeah just try it back and forth between wiping and formating then it will randomly fixed.
Click to expand...
Click to collapse
I'm on havoc 2.9 right now. I managed to install game space and run it but it doesn't activate fan, so I'm guessing it need permissions and framework files which I don't know it's file name so I just give up on this. But game space does run like normal app. If you are wondering how I install game space, I pull out game space apk from global system.bat.br (after converted it to system.img) and put the apk in system/app using twrp file manager. Maybe someone knowledgeable can figure this out.
Irwan Fauzi said:
I'm on havoc 2.9 right now. I managed to install game space and run it but it doesn't activate fan, so I'm guessing it need permissions and framework files which I don't know it's file name so I just give up on this. But game space does run like normal app. If you are wondering how I install game space, I pull out game space apk from global system.bat.br (after converted it to system.img) and put the apk in system/app using twrp file manager. Maybe someone knowledgeable can figure this out.
Click to expand...
Click to collapse
What app did you use to covert the .br file? Trying to make fastboot .IMG files.
suzook said:
What app did you use to covert the .br file? Trying to make fastboot .IMG files.
Click to expand...
Click to collapse
I use termux app from play store.. There's a guide on xda how to extract system.dat.br without pc.. link

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.

Flashing GSI image bootloops the device

I have been using custom roms for years.
I wanted to try flashing GSI images, and i decided to start with Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img
I installed twrp-3.5.2_9-0-z2_row
I completely wiped everything, system/cache/data etc.
I flashed Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img then NikGapps-basic-arm64-11-20210514-signed.zip.
Rebooted.
Phone is instantly resetting right after the ZUK logo goes away. stuck in boot loop. Am i doing something wrong ?
hash02 said:
I have been using custom roms for years.
I wanted to try flashing GSI images, and i decided to start with Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img
I installed twrp-3.5.2_9-0-z2_row
I completely wiped everything, system/cache/data etc.
I flashed Havoc-OS-v4.4-20210503-arm64-a-Official-vanilla.img then NikGapps-basic-arm64-11-20210514-signed.zip.
Rebooted.
Phone is instantly resetting right after the ZUK logo goes away. stuck in boot loop. Am i doing something wrong ?
Click to expand...
Click to collapse
Can you send me the link of the thread where you saw your rom?. Pretty sure theres a tutorial in it.. You are missing some important step like flashing create vendor.zip or repartitioner.zip and some other stuff.. Give me the link...
[11][OFFICIAL] Havoc-OS 4.1 [ARM64/ARM/A64][A/AB/AB-VNDKLITE][GApps/Vanilla]
Havoc-OS 4.x is based on AOSP, inspired by Google Pixel. Has a refined Material Design 2 UI crafted by @SKULSHADY. Many useful features that will blow your mind. All you can dream of and all you'll ever need. Just flash and enjoy... General...
forum.xda-developers.com
Your question is a bit weird because this is a GSI. it's not model specific and should apply to things treble.
So it's not "my rom" it's just a gsi rom that should just work, right ? (unless i did something wrong)
Procedure was standard, clean, no dirty flashing.
Flash img, then gapps, then reboot.
I remember the instructions were for an older version of havoc, i just took the latest build because that's what you usually do ???
Regardless, this is not a HAVOC issue, I later tried with caos build caos-v307-210507-arm64-agZ.img. The exact same behavior happened.
hash02 said:
[11][OFFICIAL] Havoc-OS 4.1 [ARM64/ARM/A64][A/AB/AB-VNDKLITE][GApps/Vanilla]
Havoc-OS 4.x is based on AOSP, inspired by Google Pixel. Has a refined Material Design 2 UI crafted by @SKULSHADY. Many useful features that will blow your mind. All you can dream of and all you'll ever need. Just flash and enjoy... General...
forum.xda-developers.com
Your question is a bit weird because this is a GSI. it's not model specific and should apply to things treble.
So it's not "my rom" it's just a gsi rom that should just work, right ? (unless i did something wrong)
Procedure was standard, clean, no dirty flashing.
Flash img, then gapps, then reboot.
I remember the instructions were for an older version of havoc, i just took the latest build because that's what you usually do ???
Regardless, this is not a HAVOC issue, I later tried with caos build caos-v307-210507-arm64-agZ.img. The exact same behavior happened.
Click to expand...
Click to collapse
Redo the process and try to flash the gsi only without gaps then boot..
r
ivanjudge said:
Redo the process and try to flash the gsi only without gaps then boot.. You can check this out also maybe it will help? https://forum.xda-developers.com/t/zuk-z2-pro-project-treble-android-10-11-12-gsi-ab.4197355/
Click to expand...
Click to collapse
to flash a GSI image first you should wipe all except internal storage.
then install a Vendor ie; Basic roms like AEX, ARROW OS according to the GSI Version
if you GSI image is based on Android 10 then you should flash a android 10 rom from aex or arrow, then flash the gsi to system, then reboot
prc.kailas said:
to flash a GSI image first you should wipe all except internal storage.
then install a Vendor ie; Basic roms like AEX, ARROW OS according to the GSI Version
if you GSI image is based on Android 10 then you should flash a android 10 rom from aex or arrow, then flash the gsi to system, then reboot
Click to expand...
Click to collapse
So, the gsi flashing just copies the image-byte-by-byte to the /system partition ?
Just like dd on linux ? Blind transfer from one direction to the other ?Is this why you recommend flashing "basic roms", so that by flashing the zips all other partitions are updated accordingly ? like /vendor and so on ?Please clarify and keep it technical, i want to learn
ivanjudge said:
Redo the process and try to flash the gsi only without gaps then boot..
Click to expand...
Click to collapse
I already did
right now i am on aospextended android 11 version. since it's not a gsi image it worked. but it is unstable and i really want to try the gsi images and make it work primarily out of technical curiosity
hash02 said:
I already did
right now i am on aospextended android 11 version. since it's not a gsi image it worked. but it is unstable and i really want to try the gsi images and make it work primarily out of technical curiosity
Click to expand...
Click to collapse
Try what @hash02 said you can check the link i gave you above to view the full detail and to avoid boot loops reboot to recovery after flashing the gsi then flash the gapss then factory reset then reboot...And dont use nikgaps instead use other Gapps..
ivanjudge said:
Try what @hash02 said you can check the link i gave you above to view the full detail and to avoid boot loops reboot to recovery after flashing the gsi then flash the gapss then factory reset then reboot...And dont use nikgaps instead use other Gapps..
Click to expand...
Click to collapse
Well, Ok but where do i find android 11 opengapps ?
I didn't find any other gapps for Android 11.
However I tried your method even if it makes absolutely no sense at all. This device is a-only not a/b. Can you explain that or is that an elephant in the room that you dont want to talk about ?
In any case, the device does not bootloop anymore, it just sits in fastboot mode.
These are the steps to flash a gsi on zuk z2 pro correctly:
Wipe clean all partitions excluding user data
Then flash https://forum.xda-developers.com/t/radio-modem-basebands-for-zuk-z2-pro-only.3715835/ latest baseband
Flash boot image [ linked below - it is the boot image extracted from a mokee 9.0 rom ]
flash vendor image [ copied from another thread ]
flash gsi image [which ever you want]
reboot to recovery again [ sometimes it doesnt work unless you do ]
reboot to system
https://mega.nz/folder/E55iTZQJ#jNsa9d7WxLKr-9q_LFPS1A saved here for anyone else's convenience.
hash02 said:
So, the gsi flashing just copies the image-byte-by-byte to the /system partition ?
Just like dd on linux ? Blind transfer from one direction to the other ?Is this why you recommend flashing "basic roms", so that by flashing the zips all other partitions are updated accordingly ? like /vendor and so on ?Please clarify and keep it technical, i want to learn
Click to expand...
Click to collapse
by flashing gsi no vendor is updated or modified. because gsi's are generic rom with only system image, no other partitions. so flashing a basic rom (especially made for your device) , that will update every partition, and then replacing system by gsi system thats all.
prc.kailas said:
by flashing gsi no vendor is updated or modified. because gsi's are generic rom with only system image, no other partitions. so flashing a basic rom (especially made for your device) , that will update every partition, and then replacing system by gsi system thats all.
Click to expand...
Click to collapse
Thank you, I figured as much as I did a lot of testing trial and error and flashed lots of files yesterday. Got it working booting etc. Unfortunately the ROMs don't support fingerprint scanner out of the box and didn't bother to make it work. Just wanted something stable to use my phone. Thx
hash02 said:
superior-arm64-bvN-userdebug.img with AEX 7.3 works awesome and stable enough.
Click to expand...
Click to collapse
havoc-arm64-bvN-vndklite.img with AEX 7.3 works
hash02 said:
Thank you, I figured as much as I did a lot of testing trial and error and flashed lots of files yesterday. Got it working booting etc. Unfortunately the ROMs don't support fingerprint scanner out of the box and didn't bother to make it work. Just wanted something stable to use my phone. Thx
Click to expand...
Click to collapse
for me AEX 8.1 is awesome, but none of custom support Uhealth with Sp02 sensor. its very usefull at this time.

Categories

Resources