3

This was a long process with lots of side problems coming up. Somethings I don't know why they worked or did not work. I will give a recount of what did work in hopes the information will be useful in the future. At a high level the idea is to backup the data partition, reflash firmware and ROM to fix the bootloop, reload the backed up data partition. ...


2

I had same problem and I'll write tips how i fixed this situation. You can fix it by just dirty-flash any rom. Flash any rom by using external storage or by adb sideload(Advanced -> ADB Sideload -> Run "adb sideload ROM-FILENAME.zip") You will see lock screen after reboot.After login,you can decrypt data in TWRP. If you see some error/crash ...


2

I had same problem and I'll write tips how i fixed this situation. You can fix it by just dirty-flash any rom. Flash any rom by using external storage or by adb sideload(Advanced -> ADB Sideload -> Run "adb sideload ROM-FILENAME.zip") You will see lock screen after reboot.After login,you can decrypt data in TWRP. If you see some error/crash ...


2

I fixed it* by letting the phone bootloop until fully discharged. I then plugged the phone into the computer and turned the phone on as soon as it charged enough to allow me this. At that point there is a brief window where full ADB access is possible, but only because I did have USB debugging enabled after all, but the bootloop was too fast to allow full ...


2

The way I did it was a little different.. I made a full twrp backup. Wiped everyhing. Flashed the stock rom. Copied the DocumentsUI.apk from twrp. Wiped again. Restored the backup. Placed the copied apk into /system/priv-app/DocumentsUI. Everything worked perfectly!


2

If you run stock firmware and it's bootlooping, there's really not much that you can do because you don't have source code to the firmware you're running. Your boot log seems to have a couple of interesting parts. I think this might suggest some kind of permission problem. Have you touched SELinux stuff (e.g. changed ACLs)? [ 0.629174] ------------[ cut ...


2

I downloaded Android's SDK Platform-Tools, extracted the platform-tools folder and ran a terminal in side that directory. When I executed ./fastboot reboot fastboot it did boot into fastbootd successfully. What's weird is that I installed platform-tools, put it in my /etc/ folder, and added it to my PATHS only 2 days ago. I'm not sure why exactly this worked....


1

assuming you have patched the whole rom AP_[device_model_sw_ver].tar.md5 (not only boot.img) according to install instructions (to avoid discrepancies in several fstabs), start from scratch again. this time try preserve force encryption in Magisk settings to avoid issues with encryption. after factory reset userdata encryption should work again. Of course as ...


1

The problem was with the boot image. Solution steps: I searched for exact POCO X3 NFC rom .TGZ file, and found it here: https://xiaomifirmwareupdater.com/miui/surya/stable/V12.0.7.0.QJGEUXM/ I downloaded the following file: surya_eea_global_images_V12.0.7.0.QJGEUXM_20201221.0000.00_10.0_eea_6c03e13a9f.tgz Extracted the "boot.img" file Using adb ...


1

This answer was before the edit but holds Flashing /Data would result in: Losing your user data. Worse, it's not going to solve your problem. Solutions Dirty flash the ROM ( flash /system without wiping /Data) As suggested by Irfan in comments, Extract the file from ROM's zip file and put in proper place with proper permissions. Second option requires ...


1

I was able to make my phone boot again by flashing a stock (official) firmware, without erasing the userdata partition. As it uses an official firmware, this approach does not require unlocking the bootloader. Here is a summary of the steps I followed. Install fastboot Fastboot is an utility that is used to upload and flash ROMs on Android Smartphones. On ...


1

Removing com.miui.securitycenter was the cause of the bootloop. As described in this article the reason for a boot loop is corrupted software/corrupted ROM Not really. Nothing was corrupted. You just removed a system app needed for boot. I agree this package shouldn't be a boot dependency but this unfortunately is the case. Honestly, with a Xiaomi Redmi 4X,...


1

I reset my phone to factory settings by pressing the power and volume keys together which solved the problem of the boot loop, though it resulted in full data loss(obviously). As described in this article the reason for a boot loop is corrupted software/corrupted ROM. Hence the best way to deal with this issue is to either reset to factory settings or ...


1

Wipe all data and restart. That's what I did after I made the same mistake of changing the width drastically from 392 to 1000. It messes with the UI and goes into a loop.


1

Use this temp bootloader to sideload twrp from a PC via fastboot. Can confirm this will work with K013! Get an SD card format it too EXT2, not anything else. Then use the link below. Now u can back up and thusly manipulate your system partition thru twrp or pull a backup via sdcard and do some magic on the pc with the resulting zip file, repack it ans load ...


1

As a complement to the answer above, you can perform a backup of the three files (jobs.xml, packages.xml and packages.list) with the following shell script: #!/system/bin/sh dir=/data/system watch -n60 "cat $dir/packages.list > $dir/packages.list.bak" > /dev/null & watch -n60 "cat $dir/packages.xml > $dir/packages.xml.bak" &...


Only top voted, non community-wiki answers of a minimum length are eligible