Long story short, my car charger 'melted' my main board on my N4. Sent in to LG for repair and they replaced it, free of charge. However, I lost everything since the memory is on the mainboard.
I have since re-rooted my phone and decided to go with TWRP instead of CWM that I had previously.
My questions are this:
I have an older CWM backup saved on my computer. Is there a way for me to 'explore' the backup with a Window program so I don't have to re-flash the whole image on the phone in order to save whatever data (pictures videos etc) and extract them somehow?
If not, can I flash a CWM backup onto the phone via TWRP? Are they compatible? Is there any harm in flashing an old CWM (4.2.2) onto a TWRP (4.3) to get my data back and then repeat the process?
usafle said:
Long story short, my car charger 'melted' my main board on my N4. Sent in to LG for repair and they replaced it, free of charge. However, I lost everything since the memory is on the mainboard.
I have since re-rooted my phone and decided to go with TWRP instead of CWM that I had previously.
My questions are this:
I have an older CWM backup saved on my computer. Is there a way for me to 'explore' the backup with a Window program so I don't have to re-flash the whole image on the phone in order to save whatever data (pictures videos etc) and extract them somehow?
If not, can I flash a CWM backup onto the phone via TWRP? Are they compatible? Is there any harm in flashing an old CWM (4.2.2) onto a TWRP (4.3) to get my data back and then repeat the process?
Click to expand...
Click to collapse
No, there is no problem in :
Flashing CWM, restoring the backup, then flashing TWRP, and create a backup.
Another way would be extracting the data from the backup, which would be a pain in the back, and it's not worth it.
Google for "diskinternals". There should be a program for windows that allows you to open/read linux files/partitions.
Good luck.
Sent from my Nexus 4 using xda app-developers app
So from what I am understanding a "CWM" backup won't load in TWRP? I would have to flash CWM recovery to load the backup and then rinse and repeat to get TWRP back on the device...
I'll Google that diskinternal - thanks
Well we can close this. I used Nandroid manager to browse the CWM backup - as suggested by a friend. Unfortunately, I did not choose to back up my SDCard when I did the backup. So now, everything is lost for good.
Lesson learned.
Related
My hinge came dislodged on my rooted G2 and I'm sending it back for a new one under warrenty. I wanna keep the root on my new G2 what steps should I take with my old phone and new phone to make the change simple. An explanation of what I should back up on my old phone (specific apps that should be used, storing the root etc) and an explanation of what steps I should take to transfer everything to my new g2 once I root it.
Thanks guys
Sent from my T-Mobile G2 using XDA App
Anyone????
Sent from my T-Mobile G2 using XDA App
Have you searched but not found anything?
http://forum.xda-developers.com/showthread.php?t=890827
Best thing you could do is create a backup with CWM, and then after you root your new phone you install CWM and restore the backup.
Using the search function on the forum would save you time you know.
i just went through this...
one of our g2's had a failed component, and was replaced under warrantee.
what i did:
OLD PHONE
1) titanium backup all apps + data to sdcard
2) reboot recovery
3) wipe cache (saves some space/time)
4) nandroid backup to sdcard
5) restore backup
6) reboot to restored backup, making sure it works perfectly
7) power off, remove sdcard
8) boot recovery
9) factory data reset
10) boot to 'new' clean phone, insuring everything is wiped
NEW PHONE STARTS HERE
1) factory data reset (i always do this with a new phone)
2) root, flash CWMod recovery, update radio (radio update not required, just my preference)
3) poweroff, insert sdcard
4) power on recovery
5) nandroid restore (CWMod, whatever)
6) update whatever apps/data
7) enjoy
yes, there is redundancy - but you will have zero issues this way
So I decided to try and flash Ubuntu last night... I booted into recovery made a backup 15min and 2.5 GB later it was done... wiped flashed no go would not boot... so back to recovery I choose my restore file... system says it was successful but when restoring the data it fails... I'm on twrp 2.5 ...then I tried to just restore the system when booting up I get that static image you see on cm flash every 5 sec but never boot nor goes inyo the boot animation...is there anyway to use this restore file... I just need the data part.. I have messages that i need to show my lawyer and numbers that I need... TiB won't restore my messages either....
Sent from my XT907 using xda app-developers app
You will need TWRP 2.6.3 / PhilZ / or a newer CWM that supports adb in recovery (not sure is 2.5 does)
First off, all of your pictures and other stuff are stored at "/data/media" or "/data/media/0" and are not "wiped" unless picked. These are both accessible in recovery, and you could do an "adb pull ....." to get those files to a PC. At this point you should have your pictures.
Sounds like Ubuntu messed some things up, and when you restored "/system" only it won't boot because of missing data. I once had a problem like this bouncing back and forth between 4.3 and 4.2. Assuming you were on a custom ROM, maybe try wiping completely including "/data/media" DO NOT WIPE "/DATA/MEDIA" IF YOU HAVEN"T BEEN ABLE TO PULL THE FILES VIA ADB IN RECOVERY!!! YOUR PHOTOS WILL BE GONE!!! Sorry for the bold caps, I just didn't want you to miss it. Next install your custom ROM, boot, and do enough setup to get to the home screen. Now go back to recovery and your backup should restore. From here you could "adb push ..." your files back.
Updating TWRP is one way to solve this in the future, like JB already posted. However, to remedy on 2.5, do a clean wipe prior to restore, mounting system prior. Then, restore only the boot.img from the ROM you want and then restore the full ROM you want. This is how I was able resolve this same issue. Hopefully, it will work for you.
I was on stock deodexed debloated prior to all this... after a few tries at the restore I just flashed that same ROM and used TiB to restore what I had on last back up... tonight I'll try and restore that twrp backup ... but either way I guess I'll be updating my recovery... I'm not worried about all my pics n what not I keep all that on the external SD card now...
Sent from my XT907 using xda app-developers app
Hello guys!
I was updating from 4.4.4 to lollypop via OTA, then I realized that even if I run the stock ROM, I am still unlocked + root, meaning that the OTA won't run.
I did a complete nandroid backup via Wugs Nexus Toolkit, including data.
Then I wiped and flashed the new 5.0 via Nexus Toolkit, but when I tried to restore only the data it didn't work.
I decided to go back to 4.4.4. and do things properly, but now I'm not able to restore anything.
I am not bothered with the apps and stuff, but I had plenty of pictures which I forgot to backup, and I want to restore them. I even tried to access the nandroid backup files, but no success!
I was accustomed with the old CMW, where you had the .img files, but I got no clue on what to do here!
I add the picture of the nandroid backup folder on my PC ( I think the data files are splitted, but I cannot open them in any case, not even with 7zip).
The nandroid was executed via Nexus Toolkit, but I guess it has been done through TRWP.
Long story short:
1) how can I access the pictures inside the nandroid backup?
2) how can I restore a nandroid backup that keeps failing?
theraizen said:
1) how can I access the pictures inside the nandroid backup?
Click to expand...
Click to collapse
Maybe CWM does things differently, I don't know, but with TWRP, a Nandoid backup doesn't back up your SD card partition, so if you wiped everything, all your pics are gone. Sorry.
Yeah, I guess so.. Managed to recover something with DISK DIGGER (its an app, free on the store). Just wanted to write it here, so if anyone has the same issue can recover this way!
So I have a 8GB N4 with a broken digitizer, phone works fine otherwise, boots and can unlock it and can boot into recovery.
I have TWRP installed and stock rooted 5.0.1 w/ busybox just wondering what is the best way to backup all my data (is there a script to launch a nandroid backup in recovery via ADB?).
Also I have purchased a 16GB N4 to replace it, will moving data from a 8GB to a 16GB lead to any issues?
Can you make the nandroid in twrp? If so just copy it to your new device and it'll work fine. You can't make a nandroid with adb. But you can backup the device with adb, although I haven't done it successfully. Google adb backup
Sent from my Nexus 9 using XDA Free mobile app
Thanks,
I think I have it, it's running a backup as we speak. I couldn't make a Nandroid, I have zero input from the digitizer.
But I was able to run the backup command, and then a series of commands to unlock the screen and simulate a screen tap in the lower right corner to get it confirm. After this is complete I will see if I can use the same input tap commands to get it to launch a Nandroid backup in TWRP.
I figured the size difference wouldn't matter, just wasn't sure if the difference in partition sizes (I assume its only the /data partition thats different on the 16GB models) would screw things up or not, i.e. does it specify a start and end point for each partition or not.
No go on the input tap commands in TWRP, is there an older version that goes old school with volume rocker and power button?
jakejm79 said:
No go on the input tap commands in TWRP, is there an older version that goes old school with volume rocker and power button?
Click to expand...
Click to collapse
Try a non touch version of clock work mod
Sent from my Nexus 9 using XDA Free mobile app
Thanks, I now have both a nandroid and adb backup (and also a pulled all the files off the 'sdcard') so hopefully I should be all set when the new one comes in.
Now to survive the weekend with no phone.
Lastly can I restore a CWM nandroid with TWRP? oh should I boot to CWM restore the nandroid and then flash TWRP.
jakejm79 said:
Thanks, I now have both a nandroid and adb backup (and also a pulled all the files off the 'sdcard') so hopefully I should be all set when the new one comes in.
Now to survive the weekend with no phone.
Lastly can I restore a CWM nandroid with TWRP? oh should I boot to CWM restore the nandroid and then flash TWRP.
Click to expand...
Click to collapse
You'll need to use cwm. The nandroid between twrp and cwm are not compatible
Sent from my Nexus 9 using XDA Free mobile app
OK, good to know. Having a hard time getting it to complete the nandroid, keep getting an error while making a backup image of /data. I think I might be running out of room, I had about 1.8GB free, but I've already cleaned out the 'sdcard' and cache, it's all apps and data left which is what I'm trying to backup.
If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
matthewbhass said:
If I backup my system on tw recovery, and flash a new rom, will wiping my phone delete the tw recovery backup in case I have to restore my phone? Feel free to correct me on this, but to my understanding teamwin has it's own partition, and wiping does not mess with this partition?
Click to expand...
Click to collapse
I think TWRP backups are normally stored on your internal storage partition, so if you perform a (EDIT full factory reset doesnt wipe this, thanks Silesh) or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Edit: thanks Silesh for correcting me, I was thinking of app data rather than user data!
echo92 said:
I think TWRP backups are normally stored on your internal storage partition, so if you perform a full factory reset or wipe your internal storage, your backups will be erased too. The TWRP itself does install to the recovery partition (which will only be affected by a flash to the recovery, which a wipe will not perform), you're correct on that but the backups are held separately to that. You can copy your backups to another computer or SD card, I found my backup under /SDcard/TWRP/BACKUPS - you could either copy the folder with a root browser or use the ADB pull command (with the ADB terminal), though the TWRP backup may not show on a Windows desktop even if it's been copied correctly. However, if copied back to your phone, the TWRP backup should function.
Click to expand...
Click to collapse
Thanks for replying. I can't transfer files from my computer to my phone, but I have thought about using the ADB sideload option from recovery. Is there a way that I can move my backup from my phone to my computer (and to my phone from my computer) using the sideload option, just in case I need the backup? I refuse to flash a new ROM without access to my complete backup, lol.
Internal storage is not formatted during a normal wipe. You have to specifically go into the advanced wipe and select internal storage to wipe it completely. So there is no issue while flashing a new rom if you don't choose the advanced wipe option.
You could also create the twrp backup in your external sdcard. That way your backup stays even if you wipe your phone using a factory reset or by mistake.
Strange. What's the problem of making backups to external SD? The function is right there (as Silesh mentioned). BTW: the very last version of TWRP is able to make backups straight to pc. This needs to be done FROM a pc though. TWRP is capable to work with fastboot now (using special command though, or with this GUI for pc: https://forum.xda-developers.com/android/software-hacking/tool-twrp-backup-restore-tool-pc-t3572241 )
You can choose whether you want to use internal storage or SD card when making a backup. It doesn't matter which you choose as long as you (and I learned this the hard way) pay attention to what you are doing and DO NOT WIPE internal storage or your SD card. Advantages of SD card is you won't lose your backup if you decide to flash stock. Disadvantage: if your card craps out on you backup is lost unless you have copied to PC or saved on cloud.
My Solution
I solved my problem by using the pull command in adb. Now if I decide to flash a new ROM, I can push my TWRP recovery back to my phone using adb and then recover it in my TWRP recovery.. I also backup using adb backup which backs it up directly to my computer anyways.
I knew about storing my TWRP backup on an sd card, but I haven't made time to get one. . I recently switched to the Motorola G4 Plus after my iPhone 6s decided to turn off and not turn back on. I eventually grew tired of the iPhone anyways due to lack of accessibility and freedom. Back in the day I owned androids but never rooted one or had one that was rooted. I did jailbreak my 4th generation iPod a few years ago. But I went through an iPhone 5s, and upgraded to a 6s and had that for a few months. I eventually just switched back to android after the longest time and I can't say that I regret it.
My Moto G4 Plus has been an amazing phone. I've only had it for a few weeks now, but I rooted it the day after I got it . So I'm a bit of a noob in the rooting community, . Since then it's been a pretty smooth transition. I've only got root access and xposed framework as of now. I was thinking about flashing a ROM so I made backups just in case, but I don't plan on making any major changes to the kernel or flashing another ROM. I'm satisfied with the stock ROM since Motorola pretty much made it as minimal as possible. I would recommend this phone to anyone. It's the most solid phone I've had yet.