[Q] Canceled a restore in TWRP - ONE Q&A, Help & Troubleshooting

So after the announcement of 44S I figured I'd make a backup of my current 38r build, apps, contacts, data, system, blah blah blah. But before hitting backup in the twrp recovery menu, i wanted to delete some older backups. I don't know what happened (pressed wrong button I guess)but instead of deleting them, it started restoring the backup and in the middle of twrp installing or restoring (w/e) an old backup I held the power button because I didn't want to lose my data. I think twrp was in the middle of like deleting the boot.img? or restoring it. The problem I'm having now is fastboot isn't working. I can get to the bootloader screen but when I connect the phone to computer and I try to do any fastboot commands, it just stays stuck on 'waiting for device'
And it stays there, so I can't flash anything.
If I type in fastboot flash boot boot.img
Just perpetually stays on waiting for device
I was thinking if someone could make a backup on their One with twrp and just backup the Boot part and put it up on dropbox. Would I be able to adb push their backup onto my One and restore that
Or if I can make a boot.img zip file that I can install from twrp recovery, but I'm not sure how to compile that.
I got as far as putting the boot.img alongside some meta-inf folder and deeper in the folder directory I have the updater-script and I'm not if I have the update-binary correct.

First things first: never, ever hard reset your phone (or pull the cable) during a nandroid restore, or any kind of firmware update, or anything like that. Seriously, you're super lucky you didn't completely brick your device completely.
Next, I'm assuming you can still access TWRP. Do you not have any backups still on the device? If not, exactly which build of CM11S is currently installed on your device?
Transmitted via Bacon

timmaaa said:
First things first: never, ever hard reset your phone (or pull the cable) during a nandroid restore, or any kind of firmware update, or anything like that. Seriously, you're super lucky you didn't completely brick your device completely.
Next, I'm assuming you can still access TWRP. Do you not have any backups still on the device? If not, exactly which build of CM11S is currently installed on your device?
Transmitted via Bacon
Click to expand...
Click to collapse
Yes I can still access TWRP, I WAS in a perpetual boot screen stall, where when you start the phone and the boot animation for the oneplus company comes out, but it doesn't load the next part of the animation. Like the square and the "1" is there. But it doesn't continue the animation to the next part where the cyanogen logo comes out and starts spinning. So basically the phone doesn't boot up all the way and I gotta hard reset + volume down to get into TWRP. When I went into TWRP there was one backup to restore but it only had system and data and options to restore. The boot part got erased? I'm missing like boot.emmc.win and boot.emmc.win.md5.
Before I hard resetted during the nandroid restore, I had 38R installed on my device.

So the backup that you have, which version is that for? I have backups for every version of CM11S so I can upload the boot for you as long as I know which version you need.
Transmitted via Bacon

I believe 38r.

No problems, I'll get it uploaded for you as soon as I can. I have a baby sleeping on my at this very moment though.
Transmitted via Bacon

https://docs.google.com/file/d/0B98G0KTJwnBFbFByQWxLYzdoYjA/edit?usp=docslist_api
Transmitted via Bacon

timmaaa said:
https://docs.google.com/file/d/0B98G0KTJwnBFbFByQWxLYzdoYjA/edit?usp=docslist_api
Transmitted via Bacon
Click to expand...
Click to collapse
Thanks
yayy

No probs, sorry it took so long.
Transmitted via Bacon

Any news?
Transmitted via Bacon

Restore aboot partition
If you have TWRP, then use the terminal emulator in TWRP and use 'dd' commands to flash the aboot partition right?
@timmaa... Will this work?

I was thinking more along the lines of just pushing the boot backup and then using the restore feature.
Transmitted via Bacon

Related

Need serious help restoring OPO

I am really needing some advise. I was having a funny pop up a couple of days ago on my OPO saying that google music has stopped. I am running the 33 update at this time rooted with twrp. So, I froze the app with titanium back up. I went to flash MAHDI rom right now and when I wiped the phone red lettering popped up saying E.error opening:/data/data/com.google.android.music:I/O error
But it said it wiped successfully. So I flashed MAHDI and gapps and when I booted I got this message unfortanutley the process android system has stopped, and under that was another message that said, system UIDs inconsistent you need to wipe your data partition or your device will be unstable
So I wiped everything again and still got the red lettering pop up. I tried restoring a previous back up and it fails. Now I am back in twrp but I am lost on what to do.
Is there a way just to flash back to stock? Is there a fix that anyone knows about? I highly appreciate any help. Thanks again!
I don't clearly understand your problem 100%, maybe its because its 3:05 AM and I have not gone to sleep yet.
1. Use TWRP -> Wipe -> Swipe
2. Flash Mahdi ROM, Gapps, Kernel (if you use one)
3. Reboot
4. You'll have a clean scratch.
You shouldn't be having any errors with a clean scratch. You probably didn't wipe correctly. You don't need to change any mount or wipe, the defaults will wipe it. But since you changed it, you need to reset it back.
Worst comes to worst if you really want to flash back to stock. Then look up on XDA about fastbooting back to stock.You can find the 33R Images https://cyngn.com/products/oneplusone/
zephiK said:
I don't clearly understand your problem 100%, maybe its because its 3:05 AM and I have not gone to sleep yet.
1. Use TWRP -> Wipe -> Swipe
2. Flash Mahdi ROM, Gapps, Kernel (if you use one)
3. Reboot
4. You'll have a clean scratch.
You shouldn't be having any errors with a clean scratch. You probably didn't wipe correctly. You don't need to change any mount or wipe, the defaults will wipe it. But since you changed it, you need to reset it back.
Worst comes to worst if you really want to flash back to stock. Then look up on XDA about fastbooting back to stock.You can find the 33R Images https://cyngn.com/products/oneplusone/
Click to expand...
Click to collapse
Thank you for your response! I tried doing the above by wiping but it would never boot up correctly. Always kept crashing on boot. I now wiped the whole phone and I am still in twrp but now everything is gone, including my nandroids, and all roms along with Mahdi. So, it looks like I will have to flash back to stock using fastboot mode.
I highly appreciate your help and I am glad to donate something. I don't mind buying lunch :good:
Are the images in a flashable zip or called a snapshot?
rayandreas said:
Thank you for your response! I tried doing the above by wiping but it would never boot up correctly. Always kept crashing on boot. I now wiped the whole phone and I am still in twrp but now everything is gone, including my nandroids, and all roms along with Mahdi. So, it looks like I will have to flash back to stock using fastboot mode.
I highly appreciate your help and I am glad to donate something. I don't mind buying lunch :good:
Are the images in a flashable zip or called a snapshot?
Click to expand...
Click to collapse
You don't need to go back to stock, alternatively, you can use adb sideload which will push the zip onto your phone and then proceed with a flash.
ADB Sideload is very easy to use, you go into recovery and plug your phone into your computer. Have adb environment set up (if you were going to fastboot, you'd need fastboot which would come with adb anyways) and then adb sideload the .zip over to your phone.
The images are in a flashable zip but thats for 25R which you will need to get yourself back up to 33R or you can fastboot flash 33R or flash a custom ROM of your choice.
zephiK said:
You don't need to go back to stock, alternatively, you can use adb sideload which will push the zip onto your phone and then proceed with a flash.
ADB Sideload is very easy to use, you go into recovery and plug your phone into your computer. Have adb environment set up (if you were going to fastboot, you'd need fastboot which would come with adb anyways) and then adb sideload the .zip over to your phone.
The images are in a flashable zip but thats for 25R which you will need to get yourself back up to 33R or you can fastboot flash 33R or flash a custom ROM of your choice.
Click to expand...
Click to collapse
Thank you very much for taking time to help me. Here is just a little something to show my appreciation. Confirmation number: 1JL24849R60212845

[Q] Serious problem

So recently, I was trying to flash something, I forgot, all I know that it was not a ROM and I was stuck on the android is upgrading, took too long so I wiped through TWRP, still wont boot. I can see what is on my phone through file explorer and nothing is there but twrp. I really messed up this time e.e. I am open for teamviewer.
Joebizzle said:
So recently, I was trying to flash something, I forgot, all I know that it was not a ROM and I was stuck on the android is upgrading, took too long so I wiped through TWRP, still wont boot. I can see what is on my phone through file explorer and nothing is there but twrp. I really messed up this time e.e. I am open for teamviewer.
Click to expand...
Click to collapse
I tried doing fastboot oem unlock, but this takes me to TWRP recovery.
How on earth do you not know what you were flashing? It's no wonder your phone is in the state it's in right now. That's just crazy bad. Any why are you trying to unlock the bootloader again? If you have TWRP recovery installed it must already be unlocked unless you deliberately relocked it again. Anyway, looks like you've wiped everything, including your internal storage. The best idea right now is flash fresh with fastboot using the stock images.
Transmitted via Bacon

No OS installed on oneplus one. PLEASE HELP!

So while I was testing a kernel my phone wouldnt turn on anymore, it was getting stuck on the boot loop, so I tried a lof of things but still didnt get it to work, finally I wiped all the partitions, even the system, I am available to use TWRP and fastboot mode but it says theres not an OS installed. Im very frustrated as its been a few days already without phone.... So i would be very thankful if you could help and please be very specific since my english is not very good, I am learning, thanks again.
If you connect your phone to your PC while you're booted into TWRP you should be able to copy a ROM zip from the PC to the phone.
Transmitted via Bacon
timmaaa said:
If you connect your phone to your PC while you're booted into TWRP you should be able to copy a ROM zip from the PC to the phone.
Transmitted via Bacon
Click to expand...
Click to collapse
Yes, I was thinkin on that but my pc doesnt detect the phone at all, it does starts to charge it but I can not copy files. thanks
chavi2596 said:
Yes, I was thinkin on that but my pc doesnt detect the phone at all, it does starts to charge it but I can not copy files. thanks
Click to expand...
Click to collapse
Ok, you'll need to use fastboot to flash the stock images then. You have fastboot access, right?
timmaaa said:
Ok, you'll need to use fastboot to flash the stock images then. You have fastboot access, right?
Click to expand...
Click to collapse
yeah, already able to fix it via adb sideload, thanks for your help
Opo "no os installed"
I was flashing CM12 nighty on my OPO. Accidentally I wiped the whole system in recovery i.e I factory data reset my phone. Now when I boot It says NO OS INSTALLED. when i connect my phone during recovery it comes in the disk drives as "One". When i open it it has a folder named TWRP and inside that a file. I also have a nandroid backup of the phone when it ran SuperSU binaries on my PC. Can i transfer the backup to my phone via USB and restore them in recovery? Would that work? I tried adb sideload ROM.zip but after that command lot's of coding appears in CMD and then nothing happens!! So i just wanna know if I restore the nandroid backup would my phone work? I have TRWP installed! Please any help would be appreciated! Plzz help. :crying:
Pranav123 said:
I was flashing CM12 nighty on my OPO. Accidentally I wiped the whole system in recovery i.e I factory data reset my phone. Now when I boot It says NO OS INSTALLED. when i connect my phone during recovery it comes in the disk drives as "One". When i open it it has a folder named TWRP and inside that a file. I also have a nandroid backup of the phone when it ran SuperSU binaries on my PC. Can i transfer the backup to my phone via USB and restore them in recovery? Would that work? I tried adb sideload ROM.zip but after that command lot's of coding appears in CMD and then nothing happens!! So i just wanna know if I restore the nandroid backup would my phone work? I have TRWP installed! Please any help would be appreciated! Plzz help. :crying:
Click to expand...
Click to collapse
Put your .zip in the TWRP folder. It should show up on your phone.

stuck on white HTC screen, S-off & can get into TWRP

Yesterday I downloaded the TWRP app and attempted to update TWRP via the app. It said the process failed. Later on in the day I rebooted my phone and on reboot I am stuck at the White screen with the HTC logo.
My phone is s-off and I have been running stock verizon KitKat ROM that has been rooted. I have text messages with information I cant afford to lose. I was able to pull my photos off the device using a USB cable, and I am able to get into TWRP and browse the data on the device.
Is there anyway I can flash an RUU or ROM that will NOT DELETE any of the data on my phone so that I can get the phone to boot again?
Any help is appreciated.
Thanks in advance!
ljx2k said:
Yesterday I downloaded the TWRP app and attempted to update TWRP via the app. It said the process failed. Later on in the day I rebooted my phone and on reboot I am stuck at the White screen with the HTC logo.
My phone is s-off and I have been running stock verizon KitKat ROM that has been rooted. I have text messages with information I cant afford to lose. I was able to pull my photos off the device using a USB cable, and I am able to get into TWRP and browse the data on the device.
Is there anyway I can flash an RUU or ROM that will NOT DELETE any of the data on my phone so that I can get the phone to boot again?
Any help is appreciated.
Thanks in advance!
Click to expand...
Click to collapse
Make a nandroid backup, It may boot later on. I've only flashed twrp using adb so I don't have any insight on what you did. If at a last resort you can run an ruu (after you saved said nandroid to a PC) then after the ruu add the nandroid back to the phone and flash it and see if it boots.
Another thing is to use twrp file manager and see if you can get a file like this one that hold the messages database, I found in a quick Google Search. /data/data/com.android.providers.telephony/databases/mmssms.db
You may be able to re-add it back to a ROM after ruu? Honestly not too sure
Wish I had more info,
Best of luck.
ljx2k said:
Yesterday I downloaded the TWRP app and attempted to update TWRP via the app. It said the process failed. Later on in the day I rebooted my phone and on reboot I am stuck at the White screen with the HTC logo.
My phone is s-off and I have been running stock verizon KitKat ROM that has been rooted. I have text messages with information I cant afford to lose. I was able to pull my photos off the device using a USB cable, and I am able to get into TWRP and browse the data on the device.
Is there anyway I can flash an RUU or ROM that will NOT DELETE any of the data on my phone so that I can get the phone to boot again?
Any help is appreciated.
Thanks in advance!
Click to expand...
Click to collapse
I'd recommend making a backup in twrp. Then you can ruu back to stock KitKat, reflash twrp WITH FASTBOOT, make sure it boots, then restore the data partition only and see what you get.
cntryby429 said:
I'd recommend making a backup in twrp. Then you can ruu back to stock KitKat, reflash twrp WITH FASTBOOT, make sure it boots, then restore the data partition only and see what you get.
Click to expand...
Click to collapse
Thanks for the suggestions everyone. I did make a nandroid backup in TWRP just in case i needed it. I reached out to DOTTAT and he suggested flashing his Android 6.0 RUU he had in one of his posts that did not overwrite data and he sent me a link to the file.
I downloaded it and flashed it using adb in fastboot and sure enough that got my phone to boot and simultaneously upgraded me which I was planning on doing soon anyway. On boot I was no longer rooted but since the phone is S-OFF I just installed TWRP using adb and then installed SuperSU and all is good.
Once again thanks everyone for the help!

Is it possible to actually restore a TWRP backup on this phone?

Any time I've tried to restore a backup it has completely bricked my phone. I tried just backing up the default options and restoring bricked, so when I had my phone rooted and setup perfectly with XXX no limits on Android 10 and all my apps installed, I made a FULL backup in case I bricked it with smurf kernel or something. Long story short, I ended up bricking it via other methods and tried to restore my full backup only to be completely bricked again. Not even recovery works after installing a backup. I've found that no matter what I backup, if I restore it it completely bricks my phone to the point where it only automatically boots into fastboot and I have to install a system image and start over every time. Am I doing something wrong or does TWRP 3.3.1-70 not support restoring yet?
jld2k6 said:
Any time I've tried to restore a backup it has completely bricked my phone. I tried just backing up the default options and restoring bricked, so when I had my phone rooted and setup perfectly with XXX no limits on Android 10 and all my apps installed, I made a FULL backup in case I bricked it with smurf kernel or something. Long story short, I ended up bricking it via other methods and tried to restore my full backup only to be completely bricked again. Not even recovery works after installing a backup. I've found that no matter what I backup, if I restore it it completely bricks my phone to the point where it only automatically boots into fastboot and I have to install a system image and start over every time. Am I doing something wrong or does TWRP 3.3.1-70 not support restoring yet?
Click to expand...
Click to collapse
Stop trying to restore the complete backup.
Flash the ROM and restore data only.
I don't see a point in backing up the ROM, when you can just as easily flash it then restore data.
tech_head said:
Stop trying to restore the complete backup.
Flash the ROM and restore data only.
I don't see a point in backing up the ROM, when you can just as easily flash it then restore data.
Click to expand...
Click to collapse
It's just a hassle because installing Android 10 factory image via fastboot fails every time. If I fiddle around and brick, I have to fastboot install Android pie, root it and install twrp, download Android 10, install it via local updater then flash magic to the other slot then reboot and install my xxx no limits module before I can restore my data. Compared to just getting TWRP up and running and restoring my backup I'm looking at a time consuming process to get to that point. I wish I knew why flashing Android 10 via fastboot bricks every time because that's a major cause of this headache while figuring out what does and doesn't work on Android 10. I already have titanium backup backing up nightly to Google drive so by the time I get to the point I can flash my data I might as well just restore my apps + data in TB. If I could get TWRP to successfully restore my backups I'd be given a lot of freedom to tinker around freely without worry of this time consuming restoration. I think next time I'm gonna try backing up into a flashable zip and seeing if I can successfully restore my image via fastboot when I inevitably brick again while messing around
tech_head said:
Stop trying to restore the complete backup.
Flash the ROM and restore data only.
I don't see a point in backing up the ROM, when you can just as easily flash it then restore data.
Click to expand...
Click to collapse
I haven't actually tried this. Are you talking about flashing the rom, and (within the same instance of TWRP), then restoring? Or are you talking about flashing the ROM, booting it, then going back into TWRP and restoring data?
just a quick question?? why are you always downgrading to a9?? when you can simply
1. flash a10 ( i save one on my PC in case a problem arises)
2. set up the phone
3. in pc, open a10 rom, locate for its boot.img amd store in phone
4. install magisk.apk and patch boot img , then copy to pc
5. install patched boot.img via fastboot
congrats,, back on track.. it only took me about 10-15 min to restore a bricked device up to being rooted and twrp installation

Categories

Resources