Bootloop due to data partition - ONE Q&A, Help & Troubleshooting

I have been using lineage OS 14 jgcaap ROM (https://forum.xda-developers.com/oneplus-one/development/cyanogenmod-14-0-t3464337) from few months now.
Yesterday, my phone battery died while I was out. When I tried to boot it again after charging it is stuck on lineage OS logo even though the phone is fully charged by now. I didn't install any app recently or do anything with system partitions.
I went to twrp cleared cache, dalvik and system. Reflashed the ROM but still bootloop. Then I backedup data partition and cleared data as well. This time phone booted properly. So I restored data partition but then again it went into loop. Now if I clear the data partition the phone boots but if I restore the data partition there is bootloop. But I have some important data in messages, offline note taking app and whatsapp which I don't want to use.
Is there any other way to boot with all data intact or Is there any way to restore data from twrp nandroid data backup after I boot with cleared data?

1pratham said:
I have been using lineage OS 14 jgcaap ROM (https://forum.xda-developers.com/oneplus-one/development/cyanogenmod-14-0-t3464337) from few months now.
Yesterday, my phone battery died while I was out. When I tried to boot it again after charging it is stuck on lineage OS logo even though the phone is fully charged by now. I didn't install any app recently or do anything with system partitions.
I went to twrp cleared cache, dalvik and system. Reflashed the ROM but still bootloop. Then I backedup data partition and cleared data as well. This time phone booted properly. So I restored data partition but then again it went into loop. Now if I clear the data partition the phone boots but if I restore the data partition there is bootloop. But I have some important data in messages, offline note taking app and whatsapp which I don't want to use.
Is there any other way to boot with all data intact or Is there any way to restore data from twrp nandroid data backup after I boot with cleared data?
Click to expand...
Click to collapse
Try dirty flashing the rom.

Mr.Ak said:
Try dirty flashing the rom.
Click to expand...
Click to collapse
same problem here, with RR 5.8.5. With dirty flash nothing has been solved.

paolone919191 said:
same problem here, with RR 5.8.5. With dirty flash nothing has been solved.
Click to expand...
Click to collapse
Replace battery.

My battery lasts more than 25 hours, and even if I connect my phone to the wall plug it stay in bootloop. The only Rom that gave me this problem was RR.

paolone919191 said:
My battery lasts more than 25 hours, and even if I connect my phone to the wall plug it stay in bootloop. The only Rom that gave me this problem was RR.
Click to expand...
Click to collapse
You mean you don't have this issue when you flash other rom? That's quite impossible. This issue is of battery only.

With cm13 this issue doesn't appear

Repalcing the battery is the only solution....
Mr.Ak said:
Try dirty flashing the rom.
Click to expand...
Click to collapse
..time for changing battery

paolone919191 said:
With cm13 this issue doesn't appear
Click to expand...
Click to collapse
Strange.Anyway,your best bet is replacing battery.

Is there a way to enable the bootlog?

I have a quite similar issue: yesterday i restarted my Opo after activating Xposed and after reboot, the phone stuck in the lock screen (nothing works, touch ecc...). I've done a Nandroid with TWRP and after that i've made a wipe data (data partition only): now the phone starts and works as well, but if I restore the data partition it stucks in lock screen like before. Is it a battery problem too? I can upload the dmesg.log if needed.

Related

[Q] [P6210]Boot Looping and Corrupt Data Partition

Been running CM10 and CWM 6.0.1.9 for ages with no issues and loving it. Yesterday morning (while on vacation) picked up the tab from charging and it was boot looping. Tried formatting cache and Dalvik cache as 1st attempt to fix and it reboots when trying to format Dalvik cache, regular Cache deletes just fine. Next reflashed CM10, but still boot loops. Started manually formatting partitions and when I get to Data it reboots.
So this sounds like Brick Bug, but shouldn't be since I'm on CM10/CWM6.0.1.9 and wasn't wiping when it occurred.
So questions for the braintrust...
1) Is there anything I can do to fix this while on vacation when the only PC I can access is Windows RT? Basically it needs to be something I can flash with CMW.
2) Assuming #1 isn't possible, my next step was to try flashing a stock rom when I get back home. Make sense or other thoughts?
Thanks,
Todd
try removing your ext sd card and boot it up. See if that helps. If not, I'd Odin the stock ROM
I have experienced this too. My fix was to delete data after reflashing CM10. I tried just clearing cache and dalvik like you did but it continued to boot loop. So I flashed CM10 because I was at school and it was all I have but it was still stuck and so I cleared data at CWM(Didn't flash CM10 again anymore). And yeah, it pretty much deleted everything, but I had a backup at home. It was fixed.
Graffiti Exploit said:
I have experienced this too. My fix was to delete data after reflashing CM10. I tried just clearing cache and dalvik like you did but it continued to boot loop. So I flashed CM10 because I was at school and it was all I have but it was still stuck and so I cleared data at CWM(Didn't flash CM10 again anymore). And yeah, it pretty much deleted everything, but I had a backup at home. It was fixed.
Click to expand...
Click to collapse
Thanks. Formatting data causes a reboot, so I think I'm stuck until I get back home and can use Odin.
Sent from my SCH-I535 using Tapatalk 2
[SOLVED] [Q] [P6210]Boot Looping and Corrupt Data Partition
For the sake of the archives...reflashing stock Honeycome fixed the partition problem and allowed me to re-install CM10.

Reboot/Freeze Issue Upon Reboot (Repeatable)

Hi all,
I have been struggling with an issue for several months. Everytime I restart my phone the phone boots to my ROMs lock screen freezes and reboots again. Sometimes I can get my pin entered and sometimes not. Even if the phone unlocks it freezes and reboots shortly after.
I have had this issue on every ROM I have tried (Exodus, Euphoria, CM nightlies). I am currently running fastboot flashed stock COS 12.1, no root, stock recovery. My modem is current and I don't use any battery saving apps.
Has anyone experienced a similar issue?
Sent from my A0001 using Tapatalk
bucketheadmjs said:
Hi all,
I have been struggling with an issue for several months. Everytime I restart my phone the phone boots to my ROMs lock screen freezes and reboots again. Sometimes I can get my pin entered and sometimes not. Even if the phone unlocks it freezes and reboots shortly after.
I have had this issue on every ROM I have tried (Exodus, Euphoria, CM nightlies). I am currently running fastboot flashed stock COS 12.1, no root, stock recovery. My modem is current and I don't use any battery saving apps.
Has anyone experienced a similar issue?
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
When flashing are you wiping properly (system, data, cache, dalvik cache)? Flashing the stock images with fastboot doesn't wipe data so unless you wiped data with TWRP first that hasn't happened and could be causing your problems.
If after trying wiping data it still doesn't work. Upload /proc/last_kmsg (dmesg from last boot) and the logcat.
Maybe we can find out what's going on by looking in the logs.
Heisenberg said:
When flashing are you wiping properly (system, data, cache, dalvik cache)? Flashing the stock images with fastboot doesn't wipe data so unless you wiped data with TWRP first that hasn't happened and could be causing your problems.
Click to expand...
Click to collapse
I didn't realize that flashing image files didn't completely overwrite the partition. I did a cache wipe today but it didn't seem to work from the stock recovery.
I have data encryption enabled BTW...
Sent from my A0001 using Tapatalk
Thymo said:
If after trying wiping data it still doesn't work. Upload /proc/last_kmsg (dmesg from last boot) and the logcat.
Maybe we can find out what's going on by looking in the logs.
Click to expand...
Click to collapse
I need to be rooted to provide the kernel logs and logcat correct?
Sent from my A0001 using Tapatalk
I will clean flash wiping and formatting everything this morning just to make sure and report back. Thanks for the support!!!
Sent from my A0001 using Tapatalk
Just a quick update... I took my OPO all the way back to stock using OnePlus's patch files that @Heisenberg re-posted. I did this after a full format of all the usual suspects. I then updated via OTA all the way to COS 12.1.
Prior to installing any apps I started experiencing the "double reboot" issue. I then erased and flashed both the persist image and reserve4 image.
I have since rooted, flashed twrp, and slowly begun to rebuild and test COS 12.1. So far no double reboots (which will now start to occur since I said that).
Admittedly, I don't completely understand the persist and reserve4 roles being played in all of this...
Sent from my A0001 using Tapatalk
I would like to go out on a limb and say my issue is fixed! Thanks to everyone for their help. This issue had plagued me for months through countless flashing...
Sent from my A0001 using Tapatalk
I have a quite similar issue: yesterday i restarted my Opo after activating Xposed and after reboot, the phone stuck in the lock screen (nothing works, touch ecc...). I've done a Nandroid with TWRP and after that i've made a wipe data (data partition only): now the phone starts and works as well, but if I restore the data partition it stucks in lock screen like before. Is it a battery problem too? I can upload the dmesg.log if needed.
TeoJohn92 said:
I have a quite similar issue: yesterday i restarted my Opo after activating Xposed and after reboot, the phone stuck in the lock screen (nothing works, touch ecc...). I've done a Nandroid with TWRP and after that i've made a wipe data (data partition only): now the phone starts and works as well, but if I restore the data partition it stucks in lock screen like before. Is it a battery problem too? I can upload the dmesg.log if needed.
Click to expand...
Click to collapse
Doesn't look like battery issue.Maybe caused due to xposed.
Mr.Ak said:
Doesn't look like battery issue.Maybe caused due to xposed.
Click to expand...
Click to collapse
After a clean flash, the phone worked smoothly for a whole day; but last night it restarted and began to reboot and lock on the unlock screen. (After the clean installation, I restored the apps and data via Titanium and the old Nandroid Backup). Now I'm installing a new rom, I'll see if the problem persists. Have no idea how this problem occurs.

CM13 accidental brick

First of all: I made a thread about bricking my Moto G earlier, but since this is a new issue (and a new Android version) I thought it would be better to make a new thread
So as some of you might have noticed yesterday there was the first release of CM13 for the Moto G and if you had nightlies enabled (like me) you'd just get it as a normal update, except for having to install the new Gapps of course. The problem is I didn't notice that it was CM13 until it was too late... First thing that happened was of course that my Google Play Services we're not working anymore. I tired flashing Gapps for 5.1 but it said that I used the Gapps for the wrong Android version. So I looked in the settings and noticed that I had Android 6.0 . Now I tried flashing OpenGapps for Android 6.0, which worked, but as soon as I booted Android it told me something like "Setup Assistant stopped working" over and over again, so I tried reverting to my latest CM12.1 backup I had, which was a bad idea... My phone was stuck in a bootloop and everytime I tried wiping my phone (except for internal storage) it rebooted when wiping data. Reflashing TWRP didn't help, so I tried flashing stock Android with mfastboot and it got to the point where it was optimizing apps but after that it just did the same thing again (classic boot loop).
Here's my question: How can I get TWRP working again and install CM13 (again if possible without wiping my internal storage or at least being able to back some files up) ?
Can u access TWRP?
Andus1988 said:
Can u access TWRP?
Click to expand...
Click to collapse
Yes I can, flashing and wiping works, except when trying to wipe data
Then don't wipe data?! Wiping data isn't necessary every time!
Andus1988 said:
Then don't wipe data?! Wiping data isn't necessary every time!
Click to expand...
Click to collapse
I know but if I only wipe dalvik, cache and system it didn't work.
Now I tried booting into TWRP and it shows the "no command" screen :'(
I'll write u a PM
I have the same problem would be nice if someone have a solution.
Guys i have a similar problem here, i got the latest update downloaded (cm-13.0-20151207-NIGHTLY-peregrine.zip) and when i clicked on update, the phone went black and nothing work now, i cannot get into fastboot or anything else, it only show "qhsusb_bulk" when I plugged in to the computer, any help??? i would really appreciate it .

TWRP Restore Data and/or System = Bootloop

Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Same thing happened to me yesterday. If you still have access to TWRP, enter it and wipe everything and install newest oxygen pie zip. TWRP is broken for our devie and backups cannot be trusted I'm afraid. Wish I knew this before.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
timebandi said:
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
Click to expand...
Click to collapse
Its good only in the case if you are decrypted, since the time I'm decrypted no such problems, if you want you can try it,
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Using TWRP backups on this phone is fun but not impossible. This process works for me.
1. Store backups on something other than the phone (I use an OTG card reader and 128 GB SD card)
2. Use a Fastboot Rom of THE EXACT SAME ROM as the backup and let it do it's thing flashing the phone (it will also wipe the phone in the process, which is why you need to store the backup elsewhere)
3. Boot up the phone and go through the whole process of setting it up. Don't worry about installing all your apps.
4. Install TWRP and Magisk if you used it on the backup.
5. Now restore your TWRP backups - just restore system, data, and boot.
I have done this at least 100 times and it has always worked.
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
vtec303 said:
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
Click to expand...
Click to collapse
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
tabletalker7 said:
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
Click to expand...
Click to collapse
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
vtec303 said:
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
Click to expand...
Click to collapse
Yes I tried. Without the fastboot rom to reset everything that stupid encryption bites you in the butt.
Yep. I just restored an entire nandbackup, and now my phone boots to a quailcomm dump screen only, can't fastboot into recovery or anything. Guess my new plans tonight involve fixing this thing.
I also got a bootloop after restoring 8.1 android with twrp 3.3.1 by nemo nemo on my leagoo xrover.
factory reset and wiping everything exept microsd card didnt help...
thanks for some help
vtec303 said:
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Click to expand...
Click to collapse
Thanks a lot, man. it worked for me

after whiping data, phone is stuck and twrp does nothing

Hey guys,
I have a oneplus 6red rooted with magisk and twrp running oreo 5.1.11, today I decided to enter twrp and reset my phone by whiping dalvic, cache and data.
After reboot, phone screen is totall dark but the light indicator was flashing constantly, entering twrp is no succes, twrp screen is stuck like more then 10 mins. I believe that I cant enter twrp to do something about it. I have downloaded the stock 5.1.11 which is an oreo version
Did I do really something wrong ? if yes or no please let me know how to fix this.
abati said:
Hey guys,
I have a oneplus 6red rooted with magisk and twrp running oreo 5.1.11, today I decided to enter twrp and reset my phone by whiping dalvic, cache and data.
After reboot, phone screen is totall dark but the light indicator was flashing constantly, entering twrp is no succes, twrp screen is stuck like more then 10 mins. I believe that I cant enter twrp to do something about it. I have downloaded the stock 5.1.11 which is an oreo version
Did I do really something wrong ? if yes or no please let me know how to fix this.
Click to expand...
Click to collapse
Try bluespark TWRP and flash your OOS zip again and report back. Maybe a magisk flash will help too.
mikex8593 said:
Try bluespark TWRP and flash your OOS zip again and report back. Maybe a magisk flash will help too.
Click to expand...
Click to collapse
thnx, I entered into fastboot mode, then from my pc I when into the fastboot folder to open cmd and boot twrp from there on my device, from there I followed a tutorial how to adb sideload and flash a rom from your pc. Now its working
But I dont understand why a simpel factory whipe through twrp caused all of this, I only wiped dalvic, cache and data.
abati said:
thnx, I entered into fastboot mode, then from my pc I when into the fastboot folder to open cmd and boot twrp from there on my device, from there I followed a tutorial how to adb sideload and flash a rom from your pc. Now its working
But I dont understand why a simpel factory whipe through twrp caused all of this, I only wiped dalvic, cache and data.
Click to expand...
Click to collapse
This may be a side effect of A/B partitioning and no longer having a recovery partition. Remember TWRP is a part of the boot partition now
tabletalker7 said:
This may be a side effect of A/B partitioning and no longer having a recovery partition. Remember TWRP is a part of the boot partition now
Click to expand...
Click to collapse
what would be an alternative sollution to factory reset your phone without all the troubles i witnessed.
abati said:
after whiping data, phone is stuck and twrp does nothing
Click to expand...
Click to collapse
After a whipping I wouldn't be inclined to do much either!
croques said:
After a whipping I wouldn't be inclined to do much either!
Click to expand...
Click to collapse
what do you mean, could you be more clear and specifiek ?
abati said:
what would be an alternative sollution to factory reset your phone without all the troubles i witnessed.
Click to expand...
Click to collapse
Use a fastboot rom. That will wipe EVERYTHING - and guarantee that you have a usable phone afterwards
abati said:
thnx, I entered into fastboot mode, then from my pc I when into the fastboot folder to open cmd and boot twrp from there on my device, from there I followed a tutorial how to adb sideload and flash a rom from your pc. Now its working
But I dont understand why a simpel factory whipe through twrp caused all of this, I only wiped dalvic, cache and data.
Click to expand...
Click to collapse
You probably wiped system that's why you had nothing to boot into
yldlj said:
You probably wiped system that's why you had nothing to boot into
Click to expand...
Click to collapse
i am almost sure that it was data and dalvic cahce and not system, that is what i also explained in my first post.
But how are you sure that it was system wipe ? did you factory reset your op6 multiple times without issue through twrp ?
phone is fixed btw
abati said:
i am almost sure that it was data and dalvic cahce and not system, that is what i also explained in my first post.
But how are you sure that it was system wipe ? did you factory reset your op6 multiple times without issue through twrp ?
phone is fixed btw
Click to expand...
Click to collapse
Its the easy answer, say that you wiped system or such.
If you wiped Data with Magisk installed, without flashing the stock kernel, you won't be able to boot, since Magisk stores stuff necessary to boot on Data.
Usually, people is stuck on a infinite bucle on TWRP after this, you couldn't even enter TWRP? that's new. The issue you're telling sounds like you changed slot in TWRP somehow to an unused one or something like that, never heard of that.
abati said:
i am almost sure that it was data and dalvic cahce and not system, that is what i also explained in my first post.
But how are you sure that it was system wipe ? did you factory reset your op6 multiple times without issue through twrp ?
phone is fixed btw
Click to expand...
Click to collapse
Yeah I have wiped data in twrp with no issues. TBH it just sounds like there was no system to boot into. Wiping data is just that and shouldn't make the phone unbootable. Also you fixed the issue by flashing OOS which makes me believe this also. If you want to factory reset your phone the best way is to do it through settings.

Categories

Resources