Redmi note 5/Plus (vince) Bootloop stuck ++SOLVED++ - Xiaomi Redmi Note 5 / 5 Plus Questions & Answers

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:

Related

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.

*Urgent* Need clarifications regarding the flashing of TWRP recovery & custom ROMs

*Urgent* Need clarifications regarding the flashing of TWRP recovery & custom ROMs
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:.
Click to expand...
Click to collapse
i'm no expert and i'm fairly new to flashing if you're kind enough to read it here's my 2cents.
1) I believe it is necessary to flash with that command & have TWRP as your custom recovery , it is packed with powerful tools. so i don't see a problem not wanting it permanently and it saves you the hassle of flashing it again when changing roms , fixes,etc..
2) Yes , you need to flash the DFE so you won't encounter any errors in TWRP later.
3) " Dalvilk/ART cache, Data, System, Cache " this should be okay , no need to flash everything. for best practices do a factory wipe in TWRP and in advanced mode wipe those 4. make sure to create a backup in-case something goes wrong.
4) I haven't tried this yet , but it seems not doable as you need permission in the phone for the default USB connection toggle if it's in data transfer mode , usb debuggin , charging etc. best is boot your phone then do the transfer in file manager.
5) Yes it is safe since OTG is another form of External Data devices such as SD Card , etc.
6) No it wouldn't affect the rom functionality since rom and recovery is two different thing.. but still , to avoide future mishaps stick with TWRP
you can check this helpful link by madsponge26 : https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
Click to expand...
Click to collapse
1. if you always want to depend on PC to trigger your Poco in to recovery then use command "fastboot boot recovery.img", otherwise lets say you are on the move and got pixel update! you can simply download it , and flash it in 15 mins on the go , so mainly its upto you . from security point of view, yes its not good to have twrp flashedi n your /recovery , anyone can boot and do harm! , so its a judgement call for you...
2. again upto you, DFE wont interfere/confilt with either rom or twrp
3. android device have various paritition wiping "/system" & "/data" (user setting and apps & appdata) is ENOUGH and called CLEAN FLASHING in various threads of custom roms. you don't have to wipe internal storage!!! you will lose you data... BUT YES if you get encryption error then you must click "FORMAT DATA" button on twrp in order to make storage usable/accessable to twrp. this FORMAT DATA will format your /data /system and /internalStorage partitions and you will delete all your data! then you can flash custom rom of your choice from scratch
4. you don't get access of TWRP FILEMANAGER via fastboot commands from pc, BUT you can do similar by enableing TWRP SIDELOAD option under settings, this adb sideload is a mode listening for new incoming file to flash! if you side load pixelrom.zip from fastboot command while your twrp has active sideload waiting, fastboot will start sending the file and twrp will wait and as soon as the transmit is completed! the file will automatically be flashed!. ,
however you can put files in usbotg drive or combo drive and using file manager in twrp move files from HERE to THERE!
5. I always do it!, but make sure the connection is not faulty!!! otherwise high chances of incomplete flashing and I lost my redmi3i due to impcomplete flashing of stable rom! (bricked)
6. no it wont affect! infact you can even keep the /recovery partition blank! ( fastboot erase recovery).
for MIUI FLASHING/ROOTING / Disabling force encryption etc , this post is king
https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
I am on HAVOC2.8 and this is how i did it
1. flashed TWRP 3.3.1 unofficial (download it from HERE ) ref Reference - as official twrp has TOUCH driver issues. this one worked with me very well
2. I wiped /data, /system then
3. flashed VENDOR.zip from HERE
4. FLASHED CUSTOM ROM (i use HAVOC2.8)
5. FLASHED DFE HERE - REFERENCE
6. FLASHED GOOGLE APPS ( GAPPS.ORG) ( ARM64>9.0MicroPackage)
7. Flash Optimus Drunk Kernel ( OPTIONAL- havoc uses shadow kernel , i feel OD kernel is better, battery and 4g connectivity)
8. FLASHING MAGISK19.3
9. when i was on havoc2.7, by using MIGRATE, it made flashable zip of my APPS+DATA, stored in internalStorage, and now I will FLASH that file., Mine size goes to 2gb you can get it from HERE
10. WIPE CACHE/DELVIK
11. REBOOT
fire reboot may go in to bootloop and then second reboot may take a while and finally you should see Pixel Setup asking google accounts and info etc
once after you finish setup! don't RESTORE APPS from PLAYSTORE, (download only license apk, in my case I have purchases many apps from playstore and saperate license info is always appear in intial setup! SELECT THOSE ONLY)
ONCE playstore is DONE downloading all your selected (fewer) apps, and MAGISK ROOT is working...... put device on AIRPLANE MODE
FROM DROP DOWN Notification panel, CLICK MIGRATE, and it will prompt you what do you wana restore from your previouce ROM to newly flashed HAVOC ..APPS+SETTINGS+PERMISSION+DATA etc - migrate restoration may take upto 30 mins,
once done, uninstall from system and reboot device!
REMEMBER I DONOT RECOMEND MIGRATE TRICK FOR WHATSAPP, it doesn't work properly and NOTIFICATION ISSUES with BLANK DP observed by me whenever I forcely re-instated whatsapp by migrate!

Loop boot after flashing rom

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

GSI installation failed

I tried installing Android 12 GSI arm64+GMS via ofox recovery. Here's the procedure I did-
1. Had an AOSP ROM installed
2. Rebooted to recovery.
3. Flashed vbmeta.img
4. Formatted data
5. Flashed system.img
6. Cleared cache data
On rebooting, it says no OS installed. I'm also unable to flash any other ROM.
It says unable to update logical partition :/system_root and so on

How install new builds without A11 firmware, fix troubles later FBEv2 or Dyn parts

This post is an experiment to compare the work on top of MIUI 12 instead of 12.5. In theory, this should improve encryption work and fix troubles with recovery later installing FBEv2 or dynamic parts.
1. Flash Ofox FBEv1. link
2. Format data. Wipes System, Vendor, Cache, Data. Reboot to recovery.
If stuck on fastboot, need flash vbmeta
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
3. Open Ofox -> Settings -> Install addon reset to defaults
Open OTA & ROM, off Aggresive stock recovery deactivation
4. Flash MIUI 12.0.2.0 CN. link
5. Flash Ofox FBEv1.
6. Install MiRoom 12. link
Format Data and reboot
If all work can continue, reboot to Ofox
7. Instal LOS 19 by Abhishek. link
8. Now can install ur ROM without firmware A11

Categories

Resources