[Q][HELP] Erased ROM backups accidentally - Nexus 4 Q&A, Help & Troubleshooting

I have TWRP as my recovery. I had 4.4 and I had a backup of PA 3.99. I accidentally erased the PA backup and did an advanced wipe on the 4.4 ROM I had installed on my phone all because I was trying to multi-task. When I tried to flash over a different 4.4 rom it failed. So now I have no clue how to use the TWRP recovery as a usb storage device to add a new zip to the sdcard so that I can flash it.

dreammaster252 said:
I have TWRP as my recovery. I had 4.4 and I had a backup of PA 3.99. I accidentally erased the PA backup and did an advanced wipe on the 4.4 ROM I had installed on my phone all because I was trying to multi-task. When I tried to flash over a different 4.4 rom it failed. So now I have no clue how to use the TWRP recovery as a usb storage device to add a new zip to the sdcard so that I can flash it.
Click to expand...
Click to collapse
research my friend. type your question in google and see what happens.

Enable the Sideload feature in TWRP advance menu and use adb sideload to install roms from your computer.
sent from tapatalk

Related

[Q] Stuck while flashing kitkat 4.4 on nexus 4

Hi,
so i followed the steps to flash android on my nexus using ClockworkMod recovery.
I did the following steps and now I am stuck. my phone wouldn't load and I cant do anything about it
1. Bootloader was unlocked and I installed the clockworkmod recovery.
2. backed up my phone
3. I copied the ROM zip file to storage of the phone. (I cant find it through recovery now)
4. rebooted into recovery mode
5. did the nAndroid backup (which is not working now and hence my phone is spoiled)
6. performed complete wipe of the device including factory reset, cache partition and dalvik cache.
the problem is that I cant restore the nAndroid backup which i created using the recovery any more. I also tried mounting the USB storage using recovery but it still doesn't work.
I am also not able to see the phone as a Storage device in my computer any more otherwise I could load the ROM file again and try.
Please suggest any ideas or solutions.
Regards
error while restore
Whenever I am trying to restore the backup it shows error "MD5 mismatch"
junaid1788 said:
Hi,
so i followed the steps to flash android on my nexus using ClockworkMod recovery.
I did the following steps and now I am stuck. my phone wouldn't load and I cant do anything about it
1. Bootloader was unlocked and I installed the clockworkmod recovery.
2. backed up my phone
3. I copied the ROM zip file to storage of the phone. (I cant find it through recovery now)
4. rebooted into recovery mode
5. did the nAndroid backup (which is not working now and hence my phone is spoiled)
6. performed complete wipe of the device including factory reset, cache partition and dalvik cache.
the problem is that I cant restore the nAndroid backup which i created using the recovery any more. I also tried mounting the USB storage using recovery but it still doesn't work.
I am also not able to see the phone as a Storage device in my computer any more otherwise I could load the ROM file again and try.
Please suggest any ideas or solutions.
Regards
Click to expand...
Click to collapse
Okay, first what rom are you flashing. And did you do a factory reset in the recovery before you flash it?
By flashing in custom recovery means you are flashing an unofficial version of KitKat, because normal you use fastboot method to flash the factory image from Google. Try using this stock rom from fireb33: http://forum.xda-developers.com/showthread.php?t=2010887
Secondly, did you flash the latest version of CWM recovery: http://forum.xda-developers.com/showthread.php?t=2198942
If you used latest recoveries and factory reset, and it still doesn't boot, then backup your nandroid and use the fastboot method to flash the factory stock image (link in my sig).
To backup your nandroid, you need to locate where it is and use "adb pull" command, try this: adb pull /data/media/clockworkmod/ C:\backup\
The MD5 mismatch means your file is not original or corrupt, it could be due to various reasons.
Nexus devices do not have microSD card so they cannot use the mount USB storage feature.
I am willing to bet most of your issues could be avoided by using TWRP recovery instead of CWM. Get it here: http://techerrata.com/browse/twrp2/mako, flash it in fastboot by "fastboot flash recovery twrp.img", it is not compatible with CWM nandroid.
If you neeed to send certain files to your phone, don't forget the sideload feature if you want to flash a zip file from your computer. Enable sideload in your recovery, and type: adb sideload *.zip
junaid1788 said:
Hi,
so i followed the steps to flash android on my nexus using ClockworkMod recovery.
I did the following steps and now I am stuck. my phone wouldn't load and I cant do anything about it
1. Bootloader was unlocked and I installed the clockworkmod recovery.
2. backed up my phone
3. I copied the ROM zip file to storage of the phone. (I cant find it through recovery now)
4. rebooted into recovery mode
5. did the nAndroid backup (which is not working now and hence my phone is spoiled)
6. performed complete wipe of the device including factory reset, cache partition and dalvik cache.
the problem is that I cant restore the nAndroid backup which i created using the recovery any more. I also tried mounting the USB storage using recovery but it still doesn't work.
I am also not able to see the phone as a Storage device in my computer any more otherwise I could load the ROM file again and try.
Please suggest any ideas or solutions.
Regards
Click to expand...
Click to collapse
the only optionyou have is to flash a factory image through fastboot..head over here --> Click Me
i downloaded the factory image from google extracted then did the same fastboot flash as the 4.3 but switched the names to the files in the krt16o zip. it worked perfectly for me. tried using wugs toolkit and everything went to crap. i say do the same method as 4.3 but rename all the files accordingly.
XDA FORUMS.. 3 words.. YOU GUYS ROCK !!!!!! :victory::victory::victory:
this post HERE saved my life

[Q] Bootloop after downgrading CM 11 to 10.2.1

Hello,
I downgraded my N4 from CM 11 to 10.2.1. The phone boots, optimizes apps but doesn't complete the boot process/starting apps and I'm stuck in a bootloop. Should have done my research before downgrading! What do I do now? I have a nandroid backup from CWM on an external disk but I would prefer not wiping data. Would flashing the 10.2.1 kernel then the 10.2.1 ROM work? How about reflashing [dirty] the CM 11 ROM? Any suggestions or guidance would be appreciated deeply. :crying:
boeder9 said:
Hello,
I downgraded my N4 from CM 11 to 10.2.1. The phone boots, optimizes apps but doesn't complete the boot process/starting apps and I'm stuck in a bootloop. Should have done my research before downgrading! What do I do now? I have a nandroid backup from CWM on an external disk but I would prefer not wiping data. Would flashing the 10.2.1 kernel then the 10.2.1 ROM work? How about reflashing [dirty] the CM 11 ROM? Any suggestions or guidance would be appreciated deeply. :crying:
Click to expand...
Click to collapse
Turn off the phone then boot into recovery and then do a factory reset (aka: wipe) and then flash the ROM that you want to downgrade.
taodan said:
Turn off the phone then boot into recovery and then do a factory reset (aka: wipe) and then flash the ROM that you want to downgrade.
Click to expand...
Click to collapse
Is there no other way but a wipe?
Also, if I may bother you with some questions:
1. Can I do an adb backup in fastboot mode?
2. If I do a CWM backup and then a wipe, will the backup be erased
boeder9 said:
Is there no other way but a wipe?
Also, if I may bother you with some questions:
1. Can I do an adb backup in fastboot mode?
2. If I do a CWM backup and then a wipe, will the backup be erased
Click to expand...
Click to collapse
When you do a factory reset, it won't wipe your nandroid backup. You can do a nandroid backup via adb commands, but it is easier to do it in recovery.
taodan said:
When you do a factory reset, it won't wipe your nandroid backup. You can do a nandroid backup via adb commands, but it is easier to do it in recovery.
Click to expand...
Click to collapse
Thank you so much. When I do restore nandroid, is there any way I can selectively choose what segments of the backup I want. Eg. I do a backup NOW from recovery (CWM), wipe, install ROM and then restore selected files or apps ie I don't want the kernel etc. Is that possible?
I flashed CM11 once more, cleared caches, and booted..works fine..I'll backup what needs to be backed up and will do a wipe tomorrow UNLESS I get used to the hideous esthetics of Kit Kat in the interim.

Nexus 7 Bootloop, tried switching to F2SF...

So i downloaded TWRP 2.8.2.0 on my Nexus 7 4.3.3, i was rooted and everything. Then wiped my system in recovery.
After that i went to Advanced wipe and changed all the partitions to f2sf except internal storage, i was then going to flash my Slimkat rom, but then i couldnt access any folder! Tried a reboot but now it wont start... Can acces fastboot and so, but what do i do??
EDIT: So now i wiped them back to ext4, but when i pressed reboot twrp sais i had no OS installed? What to do?
Thanks for any help
You can still go back to the bootloader I assume so when you're on it connect your Nexus to your computer and run the Nexus Toolkit to flash Google Factory Image. Then you'll have to do the same steps as before, reflash a recovery, root and then flash the rom you want to use.

no internal storage

guys i've flashed RESURRECTION REMIX M [5.7.4] but internal storage is Disappearing .. help me plz
mahmoudehab said:
guys i've flashed RESURRECTION REMIX M [5.7.4] but internal storage is Disappearing .. help me plz
Click to expand...
Click to collapse
Tell me... After unlocking bootloader and installing twrp recovery, did you directly flash RR without letting the phone boot into stock rom? If you did so.. now
1. install stock rom using SPflash tools then again unlock bootloader and install recovery,
2. first flash the required files to root your device (don't forget to delete recoveryfromboot.p file) and then let your phone boot.
3. Now you enter twrp recovery and you can flash any rom you want to without any internal storage problem.
Tested myself :fingers-crossed:
* Reflash stock rom via adb
* Flash TWRP via adb
* Flash ROM and dont wipe your internal storage..
* just wipe cache, dalvik, data, system
where can i find recoveryfromboot.p?
Subhadip01 said:
where can i find recoveryfromboot.p?
Click to expand...
Click to collapse
In twrp, click ADVANCED, then file manager,
Then goto system folder, scroll down to find that file.

How can I install Oxygen OS 5.0.1 with an unlocked bootloader?

Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Flash through stock recovery
Hitman478™ said:
Flash through stock recovery
Click to expand...
Click to collapse
I haven't done this kind of thing yet.
If I do this, will my data be wiped out or not?
What about using the OTA notification ?
quick05 said:
What about using the OTA notification ?
Click to expand...
Click to collapse
What do you mean?
I tried to update my phone using the normal way but after downloading and tried to install it, it failed because my bootloader is unlocked.
I just made a backup of data using codeworkx recovery. Copied the backup (Along with the files on userdata I wanted to keep) to my PC.
Wiped all and formatted data. Then installed Oreo and copied back the files and data backup from the pc to the phone and restored data with codeworkx recovery again.
Then flashed magisk 15.2 and rebooted.
Everything working fine now.
shriekyphantom said:
Good day!
Our country just received the Oxygen OS 5.0.1 update.
How can I install it with an unlocked bootloader?
I was going to relock it but I found out that if I did, my data will be gone.
The only difference in the set-up of my phone from a stock OP5 is the unlocked bootloader.
Click to expand...
Click to collapse
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
pleomaxell said:
I managed to flash Nougat without locking my bootloader. But I also had to Format the Data partition to make it work. I used Titanium Backup to backup the data of the Apps and Myapplist to make a list of the apps. After installing Oreo I only needed to spent 1 hour to restoring the app data.
Click to expand...
Click to collapse
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
jmoricone said:
Hello, I'm interested in the same thing.. I have oxygen osv4.5.x received notice for is 5.0.1 and want to install. I have an unlocked bootloader and am also rooted w/magisk. I want to keep my unlocked bootloader and root after upgrading. I also want to do a "clean" install.
Can anyone provide detail instructions, including best back up method of data and links to any files needed (twrp, magisk, etc) thanks
Click to expand...
Click to collapse
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
jmoricone said:
Thank you... I like everything about my current build..should I wait to upgrade... Any other issues with Oreo?
Click to expand...
Click to collapse
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
SysAdmNj said:
I honestly dont see a big difference yet, but only had it for two days. Feels a bit snappier, my signal a bit stronger, and probably an improvement with battery life. I had issues upgrading but then again I flashed the wrong version of magisk. I think the most important thing is the latest android security update.
Click to expand...
Click to collapse
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
jmoricone said:
Hey, thanks.. I will update later today. I see you provided which version of twrp (twrp-3.2.1-0-universal-codeworkx-cheeseburger.img). But what is the difference between the version you noted and the one I found (twrp-3.2.1-0-oreo-8.0-codeworkx-cheeseburger.img)
I want to make sure I have the correct version.
Thanks again
Click to expand...
Click to collapse
You can ask that question on the TWRP thread. May be they can answer it correctly. I guessed that twrp-3.2.1-0-universal-codeworkx-cheeseburger.img was for both Nougat and Oreo and that is why I used it. So, if you want to be sure you should ask that on a TWRP thread.
pleomaxell said:
This is what I did:
Downloaded OnePlus5Oxygen_23_OTA_028_all_1801031502_04d7cc5. zip, twrp-3.2.1-0-universal-codeworkx-cheeseburger.img and Magisk-v15.3.zip.
Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP.
Rebooted to TWRP again to make sure that my TWRP was updated.
Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
This deleted my Internal Storage so I had to backup everything beforehand.
Then used advanced wipe to wipe Cache and Dalvik.
Mounted the internal storage by using the Mount option from TWRP main menu.
I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
Copied the OnePlus full update and Magisk zip file.
Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots.
Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
Booted into TWRP and flashed Magisk.
I am now on Oreo and I hate the way Ambient Display looks right now.
Click to expand...
Click to collapse
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
jmoricone said:
Hello, I was reviewing the process and just downloaded everything onto my computer and transferred onto my phone but have a few questions regarding some of the steps.
* Rebooted to TWRP and installed the Codeworkx TWRP using the Install->Image option inside TWRP
** Can I update TWRP via the official app and is that version of TWRP okay to use over the "twrp-3.2.1-0-universal-codeworkx-cheeseburger.img"
* Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes' / This deleted my Internal Storage so I had to backup everything beforehand.
** How, what and where did you back up your data? Because later you mentioned "deleted my Internal Storage". I am guessing that because the OP5 does not have an external SD card everything is wiped and the new OS 5.0.1 needs to be saved onto a computer and then re-transferred back onto the phone. I am also guessing that the backup will need to be saved onto a computer as after wiping the phone it would also delete that file too, correct?
* Mounted the internal storage by using the Mount option from TWRP main menu.
** I am assuming that this option after the data wipe is self explanatory?
* I was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
** This is what makes be believe all the files should be on a computer. How did you reboot and when you did, does it go directly / back to TWRP?
* Installed the OnePlus full update and Wiped Cache and Dalvik and rebooted the device to make sure that the OS boots. / Then rebooted the device to fastboot to flash Codeworkx TWRP again because it was unavailable.
** I am guessing here that once OS v8 is installed the TWRP img is no longer on the phone. I would need to transfer the TWRP back onto the phone then re-flash? Could I just install the TWRP official app and flash that way?
Thanks
Click to expand...
Click to collapse
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Aarju said:
You have to flash TWRP by going to fastboot mode .
If you are rooted only then the TWRP app works
Click to expand...
Click to collapse
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
jmoricone said:
Yes I am currently rooted. Once I flash the new OS will I still have root access to use the TWRP official app? Is that why after flashing new OS you need to flash TWRP via fastboot?
What about the backing up? I also have full titanium, thanks.
Click to expand...
Click to collapse
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Aarju said:
After flashing the new rom you will be flashed stock recovery and you have to flash it through fastboot and flash magisk again.
Click to expand...
Click to collapse
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
jmoricone said:
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
Click to expand...
Click to collapse
Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors.
Hello, I followed the following instructions:
4. Entered WIPE from TWRP main menu and used the 'Format' option to Format the Data and typed 'Yes'
6. Then used advanced wipe to wipe Cache and Dalvik.
7. Mounted the internal storage by using the Mount option from TWRP main menu.
8. I (also) was having problem copying files to the internal storage so I rebooted TWRP and the problem was fixed.
9. Copied the OnePlus full update and Magisk zip file.
I went to install the update w/in twrp and now I get an error message:
Updater process ended with ERROR: 7
Error installing zip file '/sdcard/oneplus5oxygen_23_OTA_028.....
What happened? Anyone please help...
I received the following tip
"Wipe data and then copy the rom full zip flash it boot it to the starting screen then boot to recovery and then flash magisk ,you will see no errors."
But this makes no sense to me.
I have formatted my phone / wiped data / have the full rom & magisk on my "/sdcard" / went to install zip via TWRP, selected the rom and received the error message.
I decided to just go and upgrade via OTA and that failed. My phone has rebooted back to stock
what am i doing wrong?

Categories

Resources