Avoiding factory reset. - Xiaomi Poco F1 Questions & Answers

Hi!
Hopefully I am getting my poco very soon. I very rarely (every 3-4 years) change phones and even though I always root and manually modify my phone, I have always remained stock-based. I use a lot of (often significantly customized) apps and the thing I basically dread the most (and why I rarely change the phones) is having to do it all over again. What I would really like is to basically do all the heavy flashing that wipes the data before I start installing and configuring my apps. I am thinking on staying on MIUI until xiaomi (pocophone?) stops supporting it.
From what I have read, unlocking the bootloader wipes the data so I should do that first? Then boot to TWRP (or should I flash?) and root (Magisk?). Will going to MIUI 10 wipe the data (what about from the beta)? Should I flash the beta right away? Basically advise me on the best first steps to ensure that I will then (hopefully) not have to wipe the data in the foreseeable future.
Am I right in understanding that once I flash Magisk I can do OTA updates by first uninstalling it, doing the OTA, booting TWRP and installing it again, all without having to do the factory reset or losing the app data?
Thanks.

dsvilko said:
Hi!
Hopefully I am getting my poco very soon. I very rarely (every 3-4 years) change phones and even though I always root and manually modify my phone, I have always remained stock-based. I use a lot of (often significantly customized) apps and the thing I basically dread the most (and why I rarely change the phones) is having to do it all over again. What I would really like is to basically do all the heavy flashing that wipes the data before I start installing and configuring my apps. I am thinking on staying on MIUI until xiaomi (pocophone?) stops supporting it.
From what I have read, unlocking the bootloader wipes the data so I should do that first? Then boot to TWRP (or should I flash?) and root (Magisk?). Will going to MIUI 10 wipe the data (what about from the beta)? Should I flash the beta right away? Basically advise me on the best first steps to ensure that I will then (hopefully) not have to wipe the data in the foreseeable future.
Am I right in understanding that once I flash Magisk I can do OTA updates by first uninstalling it, doing the OTA, booting TWRP and installing it again, all without having to do the factory reset or losing the app data?
Thanks.
Click to expand...
Click to collapse
I would suggest first applying for unlock of bootloader.
Boot your phone first, create a xiaomi account unless you already have one.
Go to about phone and press 7 times on miui version to activate developer mode.
Once that is done go to settings, additional settings > developer mode.
Inside of that mode you go to oem unlock and register your phone to your xiaomi account and apply for unlock, it's basically 1-3 clicks inside oem / bootloader unlock.
OK next step is to start miflash on pc, sign in with same xiaomi account that has been registered to phone.
Enter fastboot on phone, when shutdown press anD hold volume down and power button. Release powerbutton when phone vibrates, keep holding volume down until you see the xiaomi "bunny"? And it says fastboot.
Connect phone to pc and continue the steps of unlock on your pc, press unlock and it will take a few seconds ND you will probably get an estimate timer on when you can actually unlock the device bootloader. Normally it's 72hours.
Next step "after timer" do the steps above, connect to pc and press unlock.
Phone will reset and your device has unlocked bootloader.
When phone has completed bootup / first start, transfer twrp img, desired rom. Remember check md5 sum on files before flashing.
shutdown and enter fastboot again.
Flash TWRP recovery.
Either boot to twrp from file and then flash twrp or flash straight forward using fastboot mode from PC.
That's basically it.
I would suggest you use xiaomi.eu or an stock based Rom.
As to magisk, if you wish to keep phone "stock" run the above regards to bootloader unlock, flash twrp. Reboot phone do the start up.
Reboot to recovery and choose to keep system Read only, that is if you wish to run magisk systemless (which is magisk whole point)and not changing system partition.
Ota will work without a problem, only thing you need to do in future after Ota updates is install magisk zip. That's it GL HF
Skickat från min POCOPHONE F1 via Tapatalk
---------- Post added at 07:57 PM ---------- Previous post was at 07:55 PM ----------
Data won't be affected so future updates are done by dirty flash over existing system and you won't loose data. Another tip is to use an sdcard for your delicate stuff.
Skickat från min POCOPHONE F1 via Tapatalk

Wow, that was fast and extremely helpful. Thank you Zeggi! I will try to follow your guide when my phone arrives. If I want to keep MIUI, I guess I should flash the MIUI 10 beta as I will later be able to dirty flash the stable 10 when it is published, or am I wrong?
Also am I right in understanding (from your guide) that I have to connect the phone (in fastboot) to the PC just to initialize the XIAOMI unlock request, and THEN wait for the request to be approved (72 hours)? Thanks again!

Zeggi said:
I would suggest first applying for unlock of bootloader.
Boot your phone first, create a xiaomi account unless you already have one.
Go to about phone and press 7 times on miui version to activate developer mode.
Once that is done go to settings, additional settings > developer mode.
Inside of that mode you go to oem unlock and register your phone to your xiaomi account and apply for unlock, it's basically 1-3 clicks inside oem / bootloader unlock.
OK next step is to start miflash on pc, sign in with same xiaomi account that has been registered to phone.
Enter fastboot on phone, when shutdown press anD hold volume down and power button. Release powerbutton when phone vibrates, keep holding volume down until you see the xiaomi "bunny"? And it says fastboot.
Connect phone to pc and continue the steps of unlock on your pc, press unlock and it will take a few seconds ND you will probably get an estimate timer on when you can actually unlock the device bootloader. Normally it's 72hours.
Next step "after timer" do the steps above, connect to pc and press unlock.
Phone will reset and your device has unlocked bootloader.
When phone has completed bootup / first start, transfer twrp img, desired rom. Remember check md5 sum on files before flashing.
shutdown and enter fastboot again.
Flash TWRP recovery.
Either boot to twrp from file and then flash twrp or flash straight forward using fastboot mode from PC.
That's basically it.
I would suggest you use xiaomi.eu or an stock based Rom.
As to magisk, if you wish to keep phone "stock" run the above regards to bootloader unlock, flash twrp. Reboot phone do the start up.
Reboot to recovery and choose to keep system Read only, that is if you wish to run magisk systemless (which is magisk whole point)and not changing system partition.
Ota will work without a problem, only thing you need to do in future after Ota updates is install magisk zip. That's it GL HF
Skickat från min POCOPHONE F1 via Tapatalk
---------- Post added at 07:57 PM ---------- Previous post was at 07:55 PM ----------
Data won't be affected so future updates are done by dirty flash over existing system and you won't loose data. Another tip is to use an sdcard for your delicate stuff.
Skickat från min POCOPHONE F1 via Tapatalk
Click to expand...
Click to collapse
My Poco F1 phone gets factory reset when it is in the coverage range of my JioFiber WiFi.
Reset pattern is not same, sometime it resets within 30 minutes and sometimes it resets in 4-6 hours.
Have to configure my account again and again.
Tried changing my google password, WiFi SSID and password . router reset and even router replacement.
How to check what kind of command router gives to phone to go for factory reset and how to prevent it.
Phone resets even if both mobile data and WiFi on handset are turned off.
Device has enough free memory and only 18/128 gb is used.
I tried using other devices but same thing happens

Hi Devolpers , all andriod phones take a factory reset in my home. have tried changing Wifi. but phones bootup with factory reset even if they are turned off.
with SIM without SIM, with WiFI without WiFi. every time phones just factory reset.
even without configuring any google account it takes factory reset.
Please suggest some ways to prevent this

Don't let phone lying around so your flatmate cannot factory reset it.

Zeggi said:
I would suggest first applying for unlock of bootloader.
Boot your phone first, create a xiaomi account unless you already have one.
Go to about phone and press 7 times on miui version to activate developer mode.
Once that is done go to settings, additional settings > developer mode.
Inside of that mode you go to oem unlock and register your phone to your xiaomi account and apply for unlock, it's basically 1-3 clicks inside oem / bootloader unlock.
OK next step is to start miflash on pc, sign in with same xiaomi account that has been registered to phone.
Enter fastboot on phone, when shutdown press anD hold volume down and power button. Release powerbutton when phone vibrates, keep holding volume down until you see the xiaomi "bunny"? And it says fastboot.
Connect phone to pc and continue the steps of unlock on your pc, press unlock and it will take a few seconds ND you will probably get an estimate timer on when you can actually unlock the device bootloader. Normally it's 72hours.
Next step "after timer" do the steps above, connect to pc and press unlock.
Phone will reset and your device has unlocked bootloader.
When phone has completed bootup / first start, transfer twrp img, desired rom. Remember check md5 sum on files before flashing.
shutdown and enter fastboot again.
Flash TWRP recovery.
Either boot to twrp from file and then flash twrp or flash straight forward using fastboot mode from PC.
That's basically it.
I would suggest you use xiaomi.eu or an stock based Rom.
As to magisk, if you wish to keep phone "stock" run the above regards to bootloader unlock, flash twrp. Reboot phone do the start up.
Reboot to recovery and choose to keep system Read only, that is if you wish to run magisk systemless (which is magisk whole point)and not changing system partition.
Ota will work without a problem, only thing you need to do in future after Ota updates is install magisk zip. That's it GL HF
Skickat från min POCOPHONE F1 via Tapatalk
---------- Post added at 07:57 PM ---------- Previous post was at 07:55 PM ----------
Data won't be affected so future updates are done by dirty flash over existing system and you won't loose data. Another tip is to use an sdcard for your delicate stuff.
Skickat från min POCOPHONE F1 via Tapatalk
Click to expand...
Click to collapse
Thanks Zeggi for your response, I have tried this also. Have used Pixel Experience ROM for Beryllium, Awaken OS and Bananadroid for Poco F1.
But problem still persists.
Thankfully now OnePlus team has accepted the issue and have captured QXDM logs.
There is some Android vulnerability and they are taking it up with Google.
Please see if you or someone in your Circle can interpret QXDM logs.

Related

Bootloop after xiaomi.eu latest stable upgrade

Handset: Xiaomi Redmi 3 Pro.
Steps done:
1. bought on aliexpress with some suspicious bloatware preloaded.
2. was unsure if bootloader is locked, so flashed modified bootloader and TWRP as per this guide: http://en.miui.com/thread-276565-1-1.html
3. flashed latest xiaomi.eu dev build: xiaomi.eu_multi_ido_6.5.26_v7-5.1
4. boot, reboot
5. flash SuperSU via TWRP: UPDATE-SuperSU-v2.65-20151226141550.zip
6. booted and used several days, few reboots. All working fine, except apps closing in background and bluetooth earpiece losing connection. Described here: http://forum.xda-developers.com/redmi-3/help/redmi-3-pro-impressions-closing-t3397186
Where problems have started:
7. Decided to get stable xiaomi.eu release. Maybe forceclose and BT issues are resolved?
8. booted to TWRP and flashed STABLE release from xiaomi.eu: xiaomi.eu_multi_ido_V7.3.1.0.LHPCNDD_v7-5.1.zip
9. also flashed SuperSU without restart: UPDATE-SuperSU-v2.65-20151226141550.zip
10. After restart, I get boot loop.
It does very short boot attemps: when powered on, it vibrates and displays MI logo for a second, then reboots. Repeats it quickly 2 or 3 times and switches off.
Unable to go in to download mode, as volUp + Pwr will also give bootloop.
VolDn+Pwr will load fastboot after one reboot. MiFlash utility finds the phone, but throws an error on flash attempt (file not found or something).
If restarted with all VolDn+VolUp+Pwr buttons pressed, it will not turn on the screen at all, but appears on MiFlash utility and I am able to flash it. But still bootloops after that.
If I flash it with original bootloader, not the modified one as per guide (on step 2), I am able to boot in to china MIUI, and also in to bootloader menu. But of course TWRP does not work.
How do I do it with locked bootloader:
1. flash TWRP?
2. flash stable xiaomi.eu release?
3. get root?
Of course all of this is needed only until stable CM comes out.
Also, if bootloader is unlocked, is it displayed somehow? For example my old motorola would show a nasty warning during boot.
Short update. I have managed to install the latest xiaomi.eu ROM.
Unmodified bootloader is needed.
Flash TWRP via MiFlash separately, after MIUI is installed and booted.
Then flash SuperSU and you're good.
EDIT: I lost all my data since the phone was encrypted, but I recovered it flashing in fastboot mode
My Redmi 3 pro is stuck in a bootloader after trying to root it for the first time.
power off doesn't do anything.
power and volume up doesn't do anything
power and volume down shows a Fastboot logo with a cartoon, but I don't know what to do here and if it is useful.
After 1-2 minutes in fastboot logo it starts again in bootloop.
I've tried to press both volume up and down and power and keep it pressed for several bootloop cycles. It looks like the phone switched off, or at least the screen was black.
After restarting it again bootloop
I think soon the battery will drain and the phone switch off
I really don't know what to do

Ulefone Armour 6: can only start TWRP after installing Magisk

Hello everyone,
I’m actually not an android developer but managed to maneuver myself in a quite tricky situation. I think I need some help from someone how has deep insights in the that topic.
Right now, I’ve got the problem that only TWRP would start if I press the power button of my Ulefone Armor 6. The Stock ROM won’t. My original goal was to restore pictures I deleted by using a recovery tool on my pc. For that reason, I tried to root the phone by using TWRP and Magisk. I performed the following steps:
- Unlocked the bootloader in the developer options and by using the command “fastboot oem unlock” on my pc.
- Installed TWRP 3.3.1 for my Phone by using the command “fastboot flash twrp.img”
- Rebooted the system in recovery mode. TWRP was installed and asking for a PW. Decryption didn’t work with the set PIN. I couldn’t find any files (installation file ) in the filesystem after clicking “Install”
- Restarted the phone in “normal mode”. The system was now in factory settings without performing anything like this on purpose. I couldn’t find any files like pictures. I thought: ****, I ****ed up! I made my situation even worse than before…
- Every time I booted the stock ROM, TWRP was gone afterwords. I could only open the stock recovery. For that reason, I installed TWRP a couple of times. When y restarted in recovery mode directly after installing TWRP it stayed.
- Then I removed the PIN in Android without any result. TWRP was still asking for a PW.
- I pressed Wipe and Format Data in TWRP. After that the PW request was gone.
- I installed Magisk V20.4 from my SD-Card by using the install button in TWRP. No error occurred.
- After rebooting, a pop up from TWRP appeared with something like: “corrupt data: you need to perform a factory reset” without any other options. So I did it.
- On the next normal reboot, no android appeared, but only TWRP by asking for a pw again.
- I pressed format data again. TWRP was not asking for the PW again.
- Now I did a backup with TWRP for the first time…
The current state is:
When I press the power button only TWRP starts. I can also use the fastboot mode. But I can not switch off the phone by pressing the power button or using the Power off command in TWRP. It will always restart.
Now my first goal is to restore a many files as I can by using any rooted ROM. Later I would like install the stock ROM again. In the process I would like not to brick my phone which is actually the one of my girlfriend… So please, what can I do?
Many thank for reading everything and for the help
If someone needs the logfile from TWRP, I can send it via PM I guess.
yo...
if your fone is like mine, and you cant take the battery out, you cant power off. you need to have the usb lead out of your machine in order to shut down, and that's in the os, if usb is plugged in, fone will reboot. By pressing power off switch, you only reset, because you are not in the os which has the turn off function. Hope this makes sense

Magisk 21.2 bootloop

Hi everybody,
I tried to install Magisk 21.2 on my stock Oreo rom with Magisk 20.4 already installed. I've used the recommended method for installation in Magisk Manager, and I left the AVB/dm-verity option unchecked. It resulted in a bootloop.
Before updating I did a backup of the boot partition, so I could restore the previously working Magisk 20.4. Now I have two questions:
1) Is there something else I should do other than restoring the boot partition after a bootloop?
2) Is there a way to install the new Magisk or should I just dismiss the update notification?
Happened to me As well on my G6.
I had to reinstall the rom. good thing i had backup.
I've downloaded the zip file of Magisk 21.2 and flashed it with the rom after wiping almost everything, and even tried flashing a different rom with it (I'm using stock A9)., but it seems it resulted in a bootloop every time.
There is a new magisk 21.3 from yesterday, which i hope fixed those issues as i am not planning to go though that hassle again.
I tried the new 21.3, and still it causes bootloop, at least I'm glad I'm not the only one.
DannyynnaD said:
Happened to me As well on my G6.
I had to reinstall the rom. good thing i had backup.
I've downloaded the zip file of Magisk 21.2 and flashed it with the rom after wiping almost everything, and even tried flashing a different rom with it (I'm using stock A9)., but it seems it resulted in a bootloop every time.
There is a new magisk 21.3 from yesterday, which i hope fixed those issues as i am not planning to go though that hassle again.
Click to expand...
Click to collapse
It happened to me, same setup as the OP and did the direct install method from Magisk Manager. My phone is stuck in bootloop at the triangle/! scrren and I can't access TWRP via the normal buttons manner. Also, can't get any ADB to detect the phone (I am using a new PC that probably never connected to this phone despite loading ADB, drivers, etc. - I am going to resurrect the previous PC to see if can connect).
May I ask how you restored the saved boot image? via TWRP restore?
I've rooted and played with many ROMs on various android devices, but I'm no expert and this one has me stumped.
Yes, I did a backup of the boot partition before flashing Magisk and then I restored using TWRP restore. It's not the first time that a new Magisk version causes bootloops on the G5, to I was prepared this time.
By the way, if you don't have a backup, you may try to flash the Magisk Uninstaller zip, and without rebooting, the old Magisk 20.4. In theory it should do the job.
tremalnaik said:
Yes, I did a backup of the boot partition before flashing Magisk and then I restored using TWRP restore. It's not the first time that a new Magisk version causes bootloops on the G5, to I was prepared this time.
By the way, if you don't have a backup, you may try to flash the Magisk Uninstaller zip, and without rebooting, the old Magisk 20.4. In theory it should do the job.
Click to expand...
Click to collapse
Thanks, But how to access TWRP or flash the zip? I haven't found any technique to access recovery (Power+VolDn doesn't work, only allows Factory Reset screen). How to access Fastboot to use ADB (I assume that would be the technique)? I did manage to bring up some odd screen that had a two-line message about fastboot by, I believe, using Power+VolUp.
For clarification this is what I now have:
Phone off (remove battery). Insert battery. Press power button until brief vibrate (1-2 seconds). Release power button. Triangle with "!" displayed "Your device cannot be checked for corruption. Lock the bootloader. " screen displays for about 3 seconds, screen goes black a second or less. Back to the previous warning screen.
Press and hold Power button + Vol Dn acts just like the above, but if I press power + press/release/press/release... I can get the factory data reset (Yes or No(Exit) options) - I haven't accepted that.
I've tried connecting PC to the USB port and two things: as soon as I connect it, the phone powers on and does the looping again. My PC doesn't see the phone in Device Manager and ADB won't list it. I did (one time) manage to bring up the two-line fastboot message at the top of the screen.
BTW: when it first tries to power on, before the Lock the bootloader screen, there is a small, scrambled white area (text?) at the bottom of the screen.
I don't know when was the last time (if ever) I attached to the phone via USB (probably a few years ago when I initially installed TWRP). Haven't really done much other than upgrading TWRP (via TWRP), Magisk (via Magisk Manager), and the very occasional nandoid backup via TWRP (I have one from 3 months ago).
Any further assistance or info would be greatly appreciated.
To access TWRP, turn off the phone, then keep pressed Volume down+Power and once you see the LG logo release the power button and press it again. The phone should ask you if you want to reset everything: if you press yes and then confirm, you will:
1) Enter in TWRP, if you have TWRP installed, or
2) Erase the whole internal memory, if you don't have TWRP installed.
As you already have TWRP installed, it should be quite safe to go through the reset procedure, or at least that's what happens on my phone. If you don't want to take the risk, you can still use fastboot to boot a TWRP image you have on the pc, just write
Code:
fastboot boot <path_to_twrp.img_on_pc>/twrp.img
To do so, you first need to boot into fastboot: you can just turn off the phone and, keeping the Vol- pressed, connect the USB power cable to the phone. It will boot into fastboot.
One more method could be booting into download mode (Vol+ and connect the USB cable) and flashing an original firmware using LGUP, but that is way too much for a phone that already has both TWRP and fastboot accessible.
tremalnaik said:
To access TWRP, turn off the phone, then keep pressed Volume down+Power and once you see the LG logo release the power button and press it again. The phone should ask you if you want to reset everything: if you press yes and then confirm, you will:
1) Enter in TWRP, if you have TWRP installed, or
2) Erase the whole internal memory, if you don't have TWRP installed.
As you already have TWRP installed, it should be quite safe to go through the reset procedure, or at least that's what happens on my phone. If you don't want to take the risk, you can still use fastboot to boot a TWRP image you have on the pc, just write
Code:
fastboot boot <path_to_twrp.img_on_pc>/twrp.img
To do so, you first need to boot into fastboot: you can just turn off the phone and, keeping the Vol- pressed, connect the USB power cable to the phone. It will boot into fastboot.
One more method could be booting into download mode (Vol+ and connect the USB cable) and flashing an original firmware using LGUP, but that is way too much for a phone that already has both TWRP and fastboot accessible.
Click to expand...
Click to collapse
My phone never got past the bootloader screen (i.e. never got to the LG logo screen). When I booted into fastboot mode with the Vol+ button, I could issue commands like "fastboot devices" which would return that it saw my phone, but attempting to use fastboot to reload TWRP didn't work - some say the LG fastboot has been neutered.
Eventually, I had to indeed use LGUP/Uppercut and reload the stock Oreo and the phone came back up. BUT attempting to reboot into bootloader not only didn't come up in TWRP, but I got the little dead Android image. I ultimately had to downgrade to OEM nougat, jump through a few hoops, and finally got TWRP installed. Then it was just a matter of restoring a backup or reflashing a newer ROM (I ended up loading lineage 16, no gapps, with microg etc.).
Somehow the magisk upgrade really trashed my recovery partition somehow (??). I've always made sure to have at least a couple of TWRP backups, but this time I was screwed royally when I couldn't access recovery. I forgot what an ordeal it was to get TWRP & root on this phone originally.
Thanks for your help.

Mi 10 randomly bricked and unbricked. What's next?

Here's the sequence of events. I am not rooted, bootloader locked, never flashed anything to the device. Using phone as company intended.
1. Yesterday night I turn off the device only to notice that it is bootlooping. I can't force shut down. Whatever, I do, nothing would shut down the device completely. Pressing power button for over 15 seconds or anything.
2. If I try to go to recovery, it automatically chooses reboot and goes back to bootloop. Only fastboot works.
3. I install Mi flash tool and download ROM and try to install only to get device is locked error because bootloader is locked. This happens at the "Erase Boot" stage.
4. I try this couple of times and just before giving up, I try to go to recovery again. This time however, recovery opens and it doesn't choose anything automatically.
5. I click the "Repair" option and it just boots regularly and goes in as if nothing happened. No delayed boots, no installs or anything. Just regular boot and goes in. Data is intact. I am now using the phone for a while and have not turned off again.
What should I do next? Flash current version of ROM (already have latest) through the Updater app? Anything else?
Unlock bootloader first
If u get this problem again, you can flash easily with mi flash tool (bootloader should be unlocked)
Somewhat similar thing happened when my sim reader was broken, was just restarting and even after removing (if it managed to boot) sim card it said no service thinking there is a card and would crash from what I assume is a nullptr, this phone sucks

Question [Solved] BOOTLOOPED phone after A12 update. NANDroid restore caused Camera/Fingerprint to become completely disabled

================
Update 4: All issues fixed! I'll briefly explain all my issues, what I think caused them, and how i resolved them incase it helps others.
(You can find 3 posts of my original issues by scrolling down, but TL;DR)
4th post (at the top) : Brief summary of all solutions for my 3 big issues.
3rd post: nandroid backup applied, fingerprint+camera stopped working. Fix: reflash Persist partition manually, using the "persist_image.emmc.win" file from the TWRP backup folder
2nd post: Bootloop due to... miscelaneous user errors. Fixed by using TWRP reformat then restoring to nandroid backup.
1st post: Bootloop due to wrong boot.img. Fix: reflashed boot.img downloaded from post#8 of this thread
================
context: I'm using a DN2103 (international Nord 2) phone variant, which received the .A12 operating system update in the past couple days. Meanwhile, Indian users received the .A13 update.
In my process to unroot and update to the new OTA operating system, I used the stock boot.img provided by an indian user, which was the boot.img for the .A13 update which was incompatible with the european .A12 OTA operating system.
Basically I had the wrong boot.img
BOOTLOOP FIX: (this assumes you have the appropriate MTK drivers and ADB drivers, if not, lookup how to get those installed or you can't run ADB or fastboot commands)
Download the correct stock boot.img for your version: I got mine from https://mega.nz/folder/fZx2nBaR#Q33lJstFRMQg6_0j7Z0TJw
Transfer the new boot.img and a copy of vbmeta.img (optional) into the folder where your adb.exe is located (usually platform tools folder). I use the stock vbmeta from the OTA updates from from: https://mega.nz/folder/rQhhHQpA#nNHvPlmzBXwPjmaFpuDa2Q
Reflash your downloaded stock boot image using commands "fastboot devices" to see if you device responds, if it does, then send "fastboot flash boot boot.img".
Reboot phone. If it's still stuck in a bootloop, try flashing vbmeta with command "fastboot flash vbmeta vbmeta.img" similar to the boot image flash.
If you don't have ADB and Mediatek drivers installed, but have TWRP installed, you can do the same from Step 2: Transfer files onto phones internal storage, and step 3) Use the install button in TWRP to flash boot.img to the "Boot" partition. You can also do the same for vbmeta.img to the vbmeta partition if you phone doesn't boot after that.
Hopefully it works. If not, I'm afraid you'll need to boot into TWRP, (if you ahve it installed) and press Wipe, and wipe data/dalvik/cache, then press Wipe again, and reformat the whole phone. If you can get into stock recovery, then you can also use that to format all data. That should get your phone completely wiped to fresh and should boot into a welcome screen, for first time setup.
(note: If you used TWRP to restore or wipe all partitions, PERSIST partition will not be functional leading to camera/fingerprint issues, solution below)
To get into TWRP whilst your phone is bootlooping, you can hold volume up + power to force your phone to reboot, as soon as logos fade, you can press volume down + power to get your phone into fastboot mode. Connect PC, open powershell terminal, phone should respond to "fastboot devices" command. You can then send "fastboot reboot recovery" comand to get it into TWRP.
Fix for Fingerprint scanner and Camera not working:
Apparently when you restore to a TWRP backup, TWRP does not correctly flash the PERSIST partition, so you simply need to do it manually. The persist partition contains sensor calibration data for the fingerprint and camera.
Steps I took for this fix
1) Went to my nandroid/TWRP backup which I had saved to my PC
2) Located file "persist_image.emmc.win"
3) On PC, open ADB terminal in the same folder containing the "persist_image.emmc.win" file (on windows shift+right click to open powershell)
4) Connected phone to PC, sent command "adb devices" to check if device responds, if listed, sent command "adb reboot bootloader" to get device into fastboot mode
5) Sent command "fastboot devices" to see if device responds, if listed, sent command "fastboot flash persist persist_image.emmc.win"
6) Took 1.5 seconds to send 54000 ish KB. Shoud see OKAY's on powershell screen
7) sent command "fastboot reboot" to boot phone up.
Big thanks to @HofaTheRipper for providing the stock A12 boot.img and the persist partition fix!
===============
Post 3 (you can find original post and 2nd post below too)
Phone no longer bootloops, but fingerprint scanner +camera no longer work.
Solution in post #24 of this thread by @HofaTheRipper
Basically caused by TWRP not flashing the Persist partition correctly, so it's solved by finding the "persist_image.emmc.win" file from a Nandroid backup, and flashing that manually.
===============
So phone no longer bootloops which is great, but the camera and fingerprint sensor currently don't work or respond at all
Fingerprint scanner: Trying to register a fingerprint results in the phone vibrating nonstop saying "TRY AGAIN" in big letters, with small letters "unable to complete finger print settings please retry". It continues to vibrate until the settings app is closed or minimised, and won't register a new finger at all. In fact, the fingerprint sensor doesn't even light up, and hte vibrates are the kind of vibrate the phone does to let you know theres an "error" or "not accepted try again" kind of vibration.
Camera issues: Using the option to register facial recognition in the settings app can't open camera due to error message; "camera being used by another app. Please retry later." Even just opening the stock camera app itself instantly crashes. All other apps that use a camera say they do not have permissions to access the camera, despite very clearly having been granted permission.
What I've tried so far:
-Rolling back to A11 OS
-OTA updating afresh back to A12 (again)
-using TWRP wipe darvik/cache/data
-using TWRP to reformat all data
-using settings app, android's wipe data and factory reset option
-googling and searching xda a tonne to find any possible leftover remnants of fingerprints left behind from my previous OS install
One of the thread i found suggest there could be fingerprints i could delete; https://forum.xda-developers.com/t/...ng-or-not-working-after-flashing-rom.3858845/ but I can't find the relevant files on my device.
My 2nd bootloop did indeed force me to do a TWRP wipe+reformat whilst the device was encrypted/ had a pincode, so perhaps theres some kind of security feature that's getting tripped here.
I tried the backup to Nandroid on A11, then used the OTA update to update to A12, so something tells me that perhaps a stock os reflash wouldn't help in my case.
It would be nice to have to full stock OS's for A11, A12, and A13 just to try them out and help troubleshoot.
Any help finding a solution to the camera/fingerprint issue is appreciated, or any help hunting down where I can download the full OS versions. (even for older OS's for the nord2)
My new working theory is perhaps android's innate permission system is messed up, or there's some data stored in the security module that isn't being wiped that's withholding these features relating to the fingerprint/facial unlock security features.
Every single app that tries to access camera is giving back a "please grant permissions" error, despite very clearly have permissions to use the camera.
Any ideas on how to resolve this would be great!
=============
EDITTED: Part 2, BOOT LOOPING AGAIN. Flashing boot.img doesn't resolve bootloop this time around and the phone has a pincode that I forgot to remove.
This is most likely caused due to magisk trying to modify the boot.img for the wrong stock A13 boot image, which no longer existed as I had flashed in the boot image for stock A12 as part of my first bootloop fix; But the phone still had its old data and magisk installation running.
Solved it by using TWRP Wipe option to factory reset and format data. After that, I was able to get the device to boot - current issue is just that the camera and fingerprint sensor don't work
=============
SECOND BOOTLOOP DETAILS; (resolved)
After flashing boot.img for A12, I managed to boot the phone, solving the initial bootloop. However, it didn't take me long to notice issues, and walk straight into another bootloop.
Series of events;
-Phone asked for initial setup including forcing me to apply pincode (can't skip that step)
-Part of pin setup, noticed fingerprint reader not working (vibrates and error message "unable to complete finger print settings please retry")
-Part of pin setup, noticed comera not working during facial recognition step (error message "camera app used by another app")
-Noticed camera app crashes instantly.
-forgot to remove passcode as was in the app drawer and was exploring what was going on, got distracted.
-I checked settings page -> About phone -> Phone is running A12
-checked for latest update to see if A13 is available for OTA update in my region; Nope. "You are up to date!"
Then I made the big mistake. As I was in the app drawer and just checking the state of the phone, and concerned about the fingerprint scanner and camera app not working, I found the magisk app still in the app drawer. Curious as to magisk's state; I clicked on the app and launched it.
-Note; my initial boot loop (orignial post below) was caused when I clicked magisk for the first time after rooting phone, let it the magisk app do it's first time setup thing about "installing full version"; As soon as i hit reboot it bootlooped phone. Now that i resolved that bootloop, I figured magisk might be fine now? Was curious to see what happened to magisk hence my temptation to click it and see. Didn't think to remove pincode first.
-This time, as soon as I clicked magisk, the screen IMMEDIATELY went black, popped up a message saying "restarting", and the phone immediately rebooted.
Phone is now stuck in bootloop again. And to make matters worse, phone has a pincode, which i didn't have time to remove, so stuff is encrypted.
Obviously I tried what worked before; Booted to TWRP, this time, TWRP had to ask for my pincode to decrypt device, but accepted my pincode and decrypted User0 successfully.
-Flashed boot.img for A12 device again, rebooted.
Still stuck in bootloop. Same symptoms as before; Stuck on 2 rotating white dots around the big red dot; If i wait long enough it reboots and shows 1+ symbo land orange state warning message, after a few reboots it boots to TWRP.
So now I have a pincode, and same problem as before, aka bootlooping, TWRP is still installed and working, but also probable issue with fingerprint scanner and camera (remnant from last bootloop perhaps?)
Most likely because magisk is still set to reboot when launched and to modify the boot.img, as thats the step where my first bootloop happened.
===============================
ORIGINAL POST BELOW;
initial bootloop was fixed by flashing boot.img for A12 provided in the comments below
Supposedly the boot.img I originally used was for A13; Supposedly these boot images are similar enough that they seem to mostly work for each other, until magisk touches it - issues with magisk in my 2nd bootloop post above.
================================
My Nord 2 is stuck in a bootloop
TL;DR
I was running a rooted .A11 update just fine, updated to .A12 following a guide, lost root access, so re rooted phone just like i originally did. Got to the point where i used TWRP to flash magisk.zip, that part worked fine, phone booted just fine, launched the magisk app from the app drawer, let magisk install full version, it automatically rebooted, then immediately got stuck in a bootloop.
Full story for troubleshooting context: (in case you can see where I goofed)
- I updated from .A11 to .A12 successfully which meant the phone was unrooted; Followed @pankspoo 's guide except using my own OTA update.zip after clicking download in my settings app (I'm EU region); https://forum.xda-developers.com/t/...rooted-nord-2-any-incremental-update.4347813/ (following the comment to find the update.zip folder at /data/OTA-package/update.zip
- Verified my phone was fine running the .A12 update properly; opened settings app, checked about phone page, .A12 listed and "newest version installed". Launched the root checker app and confirmed phone was "not rooted" anymore so proceeded to follow @pankspoo root guide again https://forum.xda-developers.com/t/tutorial-twrp-and-root-nord-2.4340477/ , the same guide I originally used successfully back on .A11 (worked great!)
- Got to the point in the guide where I flashed and installed TWRP, it worked just fine. Nothing unusual so far.
- Used TWRP to flash magisk.zip, also worked fine. Still nothing unusual.
- Used TWRP to make a full backup (ticked all boxes) here, but this backup file seems to be GONE (did not transfer it to PC)
- Rebooted to system, phone booted just fine, found magisk icon in the app drawer, launched the magisk app and let it do its first time setup thingy, where it "installs full magisk" and so on. I let it do it's thing, eventually it rebooted the phone;
- Phone now immediately stuck in bootloop. Don't know if Magisk even installed itself properly; Waited out the first bootloop long enough that the phone ended up rebooting multiple times and ended up automatically booting into TWRP so its not a "just wait longer" issue.
Symptoms:
Its a standard bootloop aka stuck on 2 rotating white dots around the larger red dot. If i wait longer enough, phone reboots, initially shows the 1+ icon and the "orange state not trusted boot in 5" message that we're probably all used to seeing. After a few reboots it eventually ends up booting into TWRP.
Holding Volume up+power forces the phone to reboot, but obviously, still gets stuck in the same bootloop.
Holding Volume down+power when the phone reboots places the phone into fastboot mode, which lets me connect my computer, open the powershell window, and use the "fastboot reboot recovery" command to get into TWRP instantly.
TWRP is working fine! I can still flash things and do all the normal stuff in TWRP... But not idea what to do right now.
Stuff I've already tried: (against my better judgement)
-Clicked "restore" button on TWRP; I made a TWRP backup whilst on A11, and the device does not seem to want to boot with that A11 boot image and old nandroid restored.
-renamed magisk.zip file to uninstall.zip and used TWRP to flash it; Nothing seems to have happened. Error code: "magisk will not be uninstalled please uninstall manually"
-Tried reflashing magisk.zip normally.
-Tried to manually reflash my old boot.emmc.win file form TWRP backup on the phone (this is most likely my old A11 boot image)
How do I proceed from here? All help appreciated. Edit: Turns out, i was flashing the A13 boot image from indian devices whereas I have a phone running A12. Bootloop issues were instantly resolved when the A12 boot image was flashed again;
However, magisk was still set to reboot the phone and patch the boot.img so I ended up having to wipe all data to get rid of magisk and stop magisk from corrupting the boot image.
@pankspoo
Zombnombs said:
My Nord 2 is stuck in a bootloop; VERY new user here so definitely appreciate any help immensely, androids and rooting phones is totally alien to me; and this is probably the most stressful thing I've dealt with in a LONG time.
TL;DR
I was running a rooted .A11 update just fine, updated to .A12 following a guide, lost root access, so re rooted phone just like i originally did. Got to the point where i used TWRP to flash magisk.zip, that part worked fine, phone booted just fine, launched the magisk app from the app drawer, let magisk install full version, it automatically rebooted, then immediately got stuck in a bootloop.
Full story for troubleshooting context: (in case you can see where I goofed)
- I updated from .A11 to .A12 successfully which meant the phone was unrooted; Followed @pankspoo 's guide except using my own OTA update.zip after clicking download in my settings app (I'm EU region); https://forum.xda-developers.com/t/...rooted-nord-2-any-incremental-update.4347813/ (following the comment to find the update.zip folder at /data/OTA-package/update.zip
- Verified my phone was fine running the .A12 update properly; opened settings app, checked about phone page, .A12 listed and "newest version installed". Launched the root checker app and confirmed phone was "not rooted" anymore so proceeded to follow @pankspoo root guide again https://forum.xda-developers.com/t/tutorial-twrp-and-root-nord-2.4340477/ , the same guide I originally used successfully back on .A11 (worked great!)
- Got to the point in the guide where I flashed and installed TWRP, it worked just fine. Nothing unusual so far.
- Used TWRP to flash magisk.zip, also worked fine. Still nothing unusual.
- Used TWRP to make a full backup (ticked all boxes) here, but this backup file seems to be GONE (did not transfer it to PC)
- Rebooted to system, phone booted just fine, found magisk icon in the app drawer, launched the magisk app and let it do its first time setup thingy, where it "installs full magisk" and so on. I let it do it's thing, eventually it rebooted the phone;
- Phone now immediately stuck in bootloop. Don't know if Magisk even installed itself properly; Waited out the first bootloop long enough that the phone ended up rebooting multiple times and ended up automatically booting into TWRP so its not a "just wait longer" issue.
Symptoms:
Its a standard bootloop aka stuck on 2 rotating white dots around the larger red dot. If i wait longer enough, phone reboots, initially shows the 1+ icon and the "orange state not trusted boot in 5" message that we're probably all used to seeing. After a few reboots it eventually ends up booting into TWRP.
Holding Volume up+power forces the phone to reboot, but obviously, still gets stuck in the same bootloop.
Holding Volume down+power when the phone reboots places the phone into fastboot mode, which lets me connect my computer, open the powershell window, and use the "fastboot reboot recovery" command to get into TWRP instantly.
TWRP is working fine! I can still flash things and do all the normal stuff in TWRP... But not idea what to do right now.
Stuff I've already tried: (against my better judgement)
-Clicked "restore" button on TWRP; I made a TWRP backup ticking all boxes like 10 minutes before the bootloop issue started; Right after I used TWRP to flash magisk.zip successfully; However, my NORD 2/Internal Storage/TWRP folder is currently empty; There is no backup folder there! I did not transfer it to my computer so no idea where it went.
-renamed magisk.zip file to uninstall.zip and used TWRP to flash it; Nothing seems to have happened. I did read the text on the phone and saw a bit saying "magisk will not be uninstalled please uninstall manually" so i guess something went wrong.
-Tried reflashing magisk.zip normally.
-Remembered I made a TWRP backup a few weeks ago, so used TWRP's Restore feature to restore to that backup. This is a backup was when the phone was running .A11 and obviously working fine, not sure if that matters much. (didn't help either so I assume TWRP backups don't restore stock os or anything like i thought it did?)
Obviously, none of the above resolved the boot loop and I have no idea what to do from here. Phone still stuck in the same old rotating 2 white dots around the larger red dot animation.
Not sure if I should reflashed anything at all as I'm pretty inexperienced. Scared to try anything else without consulting you guys for help first. Most google results for bootloop fixes seem super sketch and outdated so I'm scared to try much else, and already thinking I may have made things worse with the things I did already do.
How do I proceed from here? All help appreciated. Not sure if using .A12 was the wrong call here but i suspect it was.
Click to expand...
Click to collapse
Which version u r on now when u bootloop Ed tell. Me I will give u boot image flash that done
pankspoo said:
Which version u r on now when u bootloop Ed tell. Me I will give u boot image flash that done
Click to expand...
Click to collapse
Hey thanks so much for posting the guides!
OHHHHHHHH I see now. I updated to .A12 using the European OTA update.zip file, and the boot.img I used was from your guide which you said was
"2) upgrade from v11 to v13(indian)"
That must be why. Do you have a boot.img for .A12?
Or do you perhaps think I should download .A13 because it's more recent?
Zombnombs said:
Or do you perhaps think I should download .A13 because it's more recent?
Click to expand...
Click to collapse
If u r on A12 on which u r bootloop Ed then use A12 EU only boot image to. Flash and reboot i don't have A12 EU boot. Img
pankspoo said:
If u r on A12 on which u r bootloop Ed then use A12 EU only boot image to. Flash and reboot i don't have A12 EU boot. Img
Click to expand...
Click to collapse
Do you mean I have to find the boot img for A12 and nothing else will work? I'm not too sure where to find boot images.
Do you think If i download the update.zip for A13, I can flash that, while the device is bootlooped, and it might work? Would I need to use incremental update from A12 to A13 or would I use incremental from A11 to A13?
Also, I don't know how to download from your telegraph links, it doesn't seem to work for me, clicking the file doesn't download.
Is there another way to resolve the bootloop, including wiping all data just so the phone works again?
A12 Stock EU boot img:
HofaTheRipper said:
A12 Stock EU boot img:
Click to expand...
Click to collapse
@Zombnombs u got it do it now
The a12 boot image worked a charm! Thanks guys!
Okay. Phone's in a bootloop again! Literally about to cry or something
I think I need a recovery image or something? OR a way to get phone back to completely stock.
Full story;
After flashing a12 boot image, phone booted up andI checked
-Phone was running A12(checked "about phone" in settings app)
-Root access was granted (used "Root Checker" app)
-Magisk app still in the app drawer
At this point for some reason I ran the "click here to set up your phone" because the popup/notification was annoying. During this, you're forced to enter a passcode. I never got the chance to remove the passcode so the device is now "encrypted"
Things I did notice during this time whilst exploring the phone;
-Fingerprint scanner is totally broken; The white light doesn't even appear, phone vibrates constantly like it's error'ing out, and shows "unable to complete finger print settings please retry" as an error on screen
-Facial recognition step of the setup wizard also had a strange error message, saying "Camera is in use by another app".
-Camera app immediately crashed when I click it to check why facial recognition was failing.
Anyway, still thinking i was just exploring the state of the phone, I decided to click the magisk app in the app drawer to see what was happening with it;
IT INSTANTLY RESTARTED MY PHONE. Screen went black, the words "restarting" popped up and the phone rebooted without any chance for me to stop it.
And what do you know, PHONE IS BACK IN A BOOTLOOP.
First thing I tried was booting into TWRP again, which had to decrypt User0 now that I have a passcode on, but that was fine, because entering the pincode worked. I flashed the boot.img for A12 again; But it didn't help.
What should I do now? boot.img didn't work, I'm really inexperienced with this stuff. I'm new to rooting, but keen to learn and get into modding/rooting androids so I guess this is a good learning experience, albeit extremely frustrating >.>
Due to issues with finger/camera, and the fact it's still bootlooping anytime I click magisk, best option is probably to restore to complete stock? Google search says I need a recovery image for my device, but i can't find Oneplus's recovery image for Oneplus Nord 2 so I guess I'm back to asking here for help.
@HofaTheRipper @pankspoo (sorry for the tag) do either of you happen to have a recovery image?
^ Phone is back in a bootloop.
Updated the initial post again because this problem is getting kinda long winded.
TL;DR for my 2nd bootloop boot.img isn't working to fix the bootloop. Bootloop occured after clicking on magisk app, which instantly restarted phone without warning (before I could remove pincode), and put the phone into bootloop state.
Phone has a pincode on it now so TWRP has to decrypt User0, not sure if that's the reason why boot img doesn't resolve this boot loop. Even though I can enter pincode when TWRP asks for it, and TWRP manages to decrypt User0 successfully.
I did notice after fixing first bootloop, fingerprint scanner and camera didn't work, so it's probably best to just start over anyway. Add in the new bootloop, and I don't really see any reason to continue with this attempt at the root, probably best to fully reset to stock and try again, try get the fingerprint and camera working again.
Recovery Image time I guess?
Ok
Zombnombs said:
Updated the initial post again because this problem is getting kinda long winded.
TL;DR for my 2nd bootloop boot.img isn't working to fix the bootloop. Bootloop occured after clicking on magisk app, which instantly restarted phone without warning (before I could remove pincode), and put the phone into bootloop state.
Phone has a pincode on it now so TWRP has to decrypt User0, not sure if that's the reason why boot img doesn't resolve this boot loop. Even though I can enter pincode when TWRP asks for it, and TWRP manages to decrypt User0 successfully.
I did notice after fixing first bootloop, fingerprint scanner and camera didn't work, so it's probably best to just start over anyway. Add in the new bootloop, and I don't really see any reason to continue with this attempt at the root, probably best to fully reset to stock and try again, try get the fingerprint and camera working again.
Recovery Image time I guess?
Click to expand...
Click to collapse
Ok
I have the same problem(( bootloop after rebooting in magisk
IgorSamsonov said:
I have the same problem(( bootloop after rebooting in magisk
Click to expand...
Click to collapse
TL;DR of what worked for me was making sure i had the right boot.img flashed and then also flashing vbmeta afterwards. That's all it initially took.
I also seemed to solve another one by using TWRP to wipe cache/dalvik/data, then also pressing wipe, and hitting reformat (losing all data)
Finally I think if you made a TWRP backup, you should be able to restore to that, then wipe do a dalvik/cache/data wipe.
Just what worked for me, I'm pretty new at this stuff so I literalyl don't really know what I'm doing either
Zombnombs said:
TL;DR of what worked for me was making sure i had the right boot.img flashed and then also flashing vbmeta afterwards. That's all it initially took.
I also seemed to solve another one by using TWRP to wipe cache/dalvik/data, then also pressing wipe, and hitting reformat (losing all data)
Finally I think if you made a TWRP backup, you should be able to restore to that, then wipe do a dalvik/cache/data wipe.
Just what worked for me, I'm pretty new at this stuff so I literalyl don't really know what I'm doing either
Click to expand...
Click to collapse
r u root ur device after this?
IgorSamsonov said:
r u root ur device after this?
Click to expand...
Click to collapse
Nope, I'm trying to deal with my camera/fingerprint sensor issues
Zombnombs said:
Нет, я пытаюсь решить проблемы с камерой / датчиком отпечатков пальцев
Click to expand...
Click to collapse
how do you enter recovery mode without waiting for a couple of reboots ?
IgorSamsonov said:
how do you enter recovery mode without waiting for a couple of reboots ?
Click to expand...
Click to collapse
You can hold power+vol up to force a reboot, and when the logos disappear, hold Vol down + power to enter fastboot mode. You can then plug in your computer and send powershell window to send "fastboot reboot recovery"

Categories

Resources