Loop boot after flashing rom - Xiaomi Mi A3 Questions & Answers

hello
i want to flash lineageos to my smartphone
this is the instructions :
Remove lockscreen pattern/pin
2. Flash latest Android 10 stock rom, flash twrp zip, reboot recovery
3. Flash latest Android 10 stock rom, flash twrp zip, reboot recovery (now you have latest unmodified stock vendor in both slots)
after the step 3, i test to reboot but i have a bootloop
i try to change the slot (fastboot --set-active=a or fastboot --set-active=b) and to boot but same problem , android doesn't start and i go in orangefox
i tried with a lot of rom variants, and i still have the same problem
i tried to wipe data
thanks for your help

Related

A question about installing Lineage OS and custom recovery

Hey
I'm a bit confused with the recovery thing going on with my SGP321. So tell me if i've understood the steps right:
Currently I have an unlocked bootloader and root on STOCK 5.1.1 and to go further from there:
1. I need to download twrp 3.0.2.0 for pollux https://dl.twrp.me/pollux/
2. Download lineage os for pollux: https://forum.xda-developers.com/xperia-tablet-z/general/rom-cyanogenmod-14-t3496758
3. Download gapps http://opengapps.org/?arch=arm&api=7.1&variant=pico
4. copy lineageos.zip and gapps.zip to my tablet's SD card
5. flash twrp.img to BOOT(???) partition (with twrp app or fastboot flash boot twrp.img)?
6. reboot my device and it will reboot to twrp
7. wipe everything except sdcard
8. flash lineage.zip
9. flash gapps.zip
10. wipe cache
11. reboot
And we're in lineageos with twrp recovery (it's included in lineageos boot.img?)?
Mostly steps 5 and 6 are confusing. I understand that Xperia devices don't have a reserved recovery partitions like android devices usually have and we have to use "hacks" to bypass things.
Thank you in advance for all the help, I know it's an old device and the forum might be a bit quiet and this is basic stuff with xperia devices.
I'll reply to myself:
This method worked except that I had to press Vol+ and Vol- while booting after flashing twrp-pollux.img to boot partition.
Follow my tutorial : https://forum.xda-developers.com/xp...de-tutorial-sony-xperia-tablet-z-lte-t3392831

If you're stuck/bricked/bootloop while going back from a Custom ROM to Indian Stock

See guys, we do not have an option to install stock C675 if everything is wiped. ( I mean to say something equivalent to EFS partition where imei resides ). Then what best can be done here is get your device working in Lineage and try some apn creation fixes which I'll post below for Volte. If it works, well and good. If it does not, we need to wait and swap sims till we get the official stock system.img and boot as well as recovery ramdisk out from a dev or Honor's side. They do not have it in their database and so its difficult for them too to install it from scratch as they need every rom partition and in the treble devices, its a different way than samsung's odin or Mi's flashtool.
Now follow the exact steps below which I did and got a working device :
Things to download :
Berkley TWRP Official, Lineage OS - [ 1. system.img from Garbage folder. (Latest) , 2. ROM zip to update the ROM to latest from TWRP later.] , Stock Recovery from XDA, Luk's Gapps.
1. Install Berkley Official TWRP latest one from XDA thread (with NO mod) through fastboot.
2. Always use the button combination (power+vol up) to boot to twrp as soon as it gets flashed and you remove the wire.
3. Once it boots, wipe data, system,cache. After that, go to "Format data" option in TWRP and format it. (Its different than wipe)
4. Restart in TWRP.
5. Go to fastboot mode from TWRP and flash stock recovery through fastboot by using ramdisk command.
6. Flash system.img which you downloaded through fastboot and then as soon as it gets installed, do not boot it and instead go to stock recovery from button combination and click on factory data reset. Once done, let your phone boot.
7. Once you boot, setup your phone and flash TWRP Image through fastboot again. (Do not wipe anything on that.)
8. Once flashed just boot to TWRP and flash Lineage 15.1 "zip" as well as gapps through ADB sideload or USB drive. Do it one by one, first OS zip and then reboot to TWRP and do the same process for Gapps zip. Just make sure, you do not wipe anywhere after step - 4.
9. If you follow the exact process, you get a working ROM.
Credits : I would like to thank Luke for Lineage 15.1 . If we are midway, we have no other option to go back to C675 and this is the only option mentioned above to get a Bug free device other than Volte and camera. For camera, there are stock ones available for Magisk.

[Q] Can't boot into system after flashing supersu. Redmi Note 4

Hello, I can't boot my redmi note 4 snapdragon version.
I have flashed twrp recovery and without installing lazyflasher file I have reboot to system so it wasn't booting. After I found that I have to install lazyflasher for miui, I have flashed it from twrp and it wasn't working either so I have reflashed stock recovery and I was all good.
After that I have tried to reflash twrp and lazyflasher so it was working well.
Then I have flashed UPDATE-SuperSU-v2.46 from twrp. I haven't install lazyflasher after installing supersu(since I have already installed it).
After flashing supersu my phone is stuck on mi logo.
I have tried following things
* flash SR5-SuperSU-v2.82-SR5-20171001224502 (updated version of supersu) and installing lazyflasher after that.
*reflashing stock recovery , again flashing twrp (it worked earlier as mentioned above)
* I clear Dalvik/cache
*I am able to go recovery and bootloader mode.
* I don't have boot image backup
I don't want to lose my data please suggest something that will work.
Thanks.

Redmi note 5/Plus (vince) Bootloop stuck ++SOLVED++

Hi, i decided to flash aosp extended but went immediately back to MIUI 11 because of some crashes.
I clean flash MiUI by fastboot, but it goes on bootloop.
Here's what i tried:
1) Install Orangefox recovery
2) Clean flash aosp based rom (wiping everything except sd-card)
3) Boot custom rom
4) Clean flash MIUI (both 11 and 10)
I solved every problem flashing by fastboot the latest roms https://c.mi.com//miuidownload/detail?device=1700340
but now it seems both with fastboot and .zip with Orangefox are stuck on bootloop.
I also tried wiping everything and clean flash with twrp with the same result.
Solved
1) Flash TWRP or OrangeFox (i did it with OF)
2) Clean Flash any custom rom, probably still bootloop
3) Reboot recovery
4) Wipe everything (dalvik, data, system, cache), also format data (format ≠ wipe)
5) Reboot recovery
6) Flash your MIUI rom
7) Reboot recovery
8) Repeat step #4
9) Reboot recovery
10) Flash again your MIUI rom
11) Reboot recovery
12) Flash persist.img file in persist partition, you can find this file in your fastboot MIUI rom downloaded at https://c.mi.com/miuidownload/index
13) Reboot system
14) Wait a lot, take a cup of tea.​
This method works on locked bootloader?
good word
:good:

Can't install TWRP or Custom ROM (stock Android 10)

Hi,
I was with Stock Android Q by Xiaomi released in February. And I decided to install TWRP and a custom ROM, I tried "fastboot boot twrp.img" but my phone can't boot into TWRP, it says sending boot_a, but after I get error by loading boot_a, the same happens to "fastboot flash recovery TWRP.img", the way it worked was "fastboot flash boot twrp.img" and then I was able to install Pixel Experience, but due to some mistakes I made with play store and play serviced I decided to reinstall PE, and then it gave me error 4. I did a clean install and still can't install PE. Decided to flash stock again and now I'm unable to install TWRP, when I do, it goes always to fastboot when trying to boot TWRP. I think it is because Android Q base. But I'm not sure. Maybe it worked in the first time due to Android Pie Base on boot_a cuz or of recent update. I saw on XDA a patched boot of stock Android Q v11.0.8.0 with TWRP and I was able to enter TWRP, but when I clean system/data/dalvik and flash PE, I always get error 1. What can I do? Should I try to install Android 9 pie to get some Base and then try to flash TWRP and PE? It is safe? Any tutorial to flash stock Pie clean install? Thanks to everyone who helps, I really really want PE rom.
You cannot run fastboot boot (not supported) or fastboot flash recovery (no recovery partition, boot contains recovery) on the Mi A3. Not sure about the other errors though...
fabio_faria_23 said:
Hi,
I was with Stock Android Q by Xiaomi released in February. And I decided to install TWRP and a custom ROM, I tried "fastboot boot twrp.img" but my phone can't boot into TWRP, it says sending boot_a, but after I get error by loading boot_a, the same happens to "fastboot flash recovery TWRP.img", the way it worked was "fastboot flash boot twrp.img" and then I was able to install Pixel Experience, but due to some mistakes I made with play store and play serviced I decided to reinstall PE, and then it gave me error 4. I did a clean install and still can't install PE. Decided to flash stock again and now I'm unable to install TWRP, when I do, it goes always to fastboot when trying to boot TWRP. I think it is because Android Q base. But I'm not sure. Maybe it worked in the first time due to Android Pie Base on boot_a cuz or of recent update. I saw on XDA a patched boot of stock Android Q v11.0.8.0 with TWRP and I was able to enter TWRP, but when I clean system/data/dalvik and flash PE, I always get error 1. What can I do? Should I try to install Android 9 pie to get some Base and then try to flash TWRP and PE? It is safe? Any tutorial to flash stock Pie clean install? Thanks to everyone who helps, I really really want PE rom.
Click to expand...
Click to collapse
use this post:
https://forum.xda-developers.com/showpost.php?p=82087765&postcount=3
it's work for me

Categories

Resources