Rooted G2 being sent back to tmobile need advice - G2 and Desire Z General

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

Related

[Q] Newbie questions (don't kill me Im new!)

Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
Use TWRP for recovery and to do a clean install wipe all data from TWRP.
Sent from my Nexus 7 using xda premium
mariosanoguera said:
Hy there I love xda and im a new user to xda nexus forum
With excelent guides I learnt how to root unlock and install custom rom (quite easy let it down into your internal storage and install from zip)
but I have few questions..
When I tried to wipe data and cache I accidentally did factory reset which ended up in no installed rom, internal storage empty and I was in custom recovery and I couldn't connect to computer, so I had to start from 0... last times I've been selecting wipe data and cache.. but I seen that in my nexus 7 some old files are still there (under a folder called 0) What should I do to make a clean install? which option of the new recovery should I choose? thankyou
Click to expand...
Click to collapse
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
smt8544 said:
I'd flash a stock recovery image onto your device available here which would restore your device completely back to stock (with your bootloader unlocked) From there I'd just re root and do what you want. However I'd personally use CWM Touch Recovery myself, but I just like that recovery more (have used it and the non-touch version for ages and on many devices)
Click to expand...
Click to collapse
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
mariosanoguera said:
I actually have Team Win Recovery Project..
under wipe I can find
Cache
Dalvik
Factory Reset (This is the one I use.. but It leaves in my internal storage with a folder called 0 and my old data from previous roms is stored there)
System
External Storage
Int. Storage ?
Format Data (I did this and I lost everything except TWRM which I could boot at it (but I had no option to install from zip neither couldnt transferr a file through usb mount sd card didn't work))
Which one of all of this should I run before doing the install zip from sd card?
Click to expand...
Click to collapse
I think it would be easier and cleaner if you restored back to stock before trying to re root, flash recovery, etc. If you have no important data on your device I'd go for it. If you do have important data, then try and pull it to your computer and then flash a stock image and re root etc.
I always find that in times when my device is screwing around, or I have file dregs around the place, I find it simply easier to backup important things and flash a stock image.

[Q] TWRP / CWM Compatible - need data from old backup.

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.

[SOLVED] Cannot restore recovery after warranty

Phase 1: SEA LG G2 + stock 4.2.2 unrooted.
Phase 2: SEA LG G2 + stock 4.4.2 unrooted.
Phase 3: SEA LG G2+ stock 4.4.2 + rooted (iroot25)
Phase 4: SEA LG G2 + stock 4.4.2 + rooted + TWRP 2.7.0 (AutoRec) + XPosed + Viper4Android + Xdabbeb 3.1.0.
Display damaged: http://forum.xda-developers.com/showthread.php?p=53170464
Phase 5: nandroid + restore stock 4.2.2 unrooted
Phase 6: sent to warranty , display changed, still stock 4.2.2 unrooted.
Phase 7: iroot25 + autorec (TWRP 2.7.0)
phase 8: trying to restore nandroid on phase 5. Restored ok but loop boot.
It could be because of new display? Or should I restore backup over stock 4.4.2?
Logcat attached.
Any idea?
Thanks in advance...
I would advise you first to install some rom (try the same you had earlier), or any other rom(stock based)
Then in twrp wipe all but internal, leave the internal. Then restore the backup (don't tick EFS..)
now I'm on Pardus HD RoM Classic 7.2 (D80220d), but I'll try your suggestion and i'll be back with the result.
Thanks.
Funny stuff... before wiping and restoring as you told me, I tried to backup current Pardus stock, but it fails at 40% of system backing up....
weird...
Try backing up on the usb otg. Then restore the previous backup without efs..
Sent from my LG-D802 using Tapatalk
sorry for being a n00b, but how can I do that?!
TIA.
If you've got the usb otg cable, simply connect the usb flash drive(usb flash) to it and choose the usb otg after pressing backup. Why don't you simply try wiping, then restoring? Maybe you like the current system too much . If so, then you might consider if you need the old one.
Sent from my LG-D802 using Tapatalk
yes, indeed it is a great rom!
But I have some stuff saved in that nandroid and I kind of need to restore it
btw, all i can restore from the backup are : system, data and boot. No efs, no other partitions.. what do you think ? can I continue with restoring after wiping dalvik, system, data and cache, leaving internal storage?
Try. That's fine. You could also try installing similiar or same rom as you did first time, then restore data only..
Sent from my LG-D802 using Tapatalk
restoring in progress....
after restoring, should I just reboot or do I need to wipe something else? I guess that first option, but it's my first boot loop so maybe I did something wrong..
combat2k said:
restoring in progress....
after restoring, should I just reboot or do I need to wipe something else? I guess that first option, but it's my first boot loop so maybe I did something wrong..
Click to expand...
Click to collapse
Try only wiping cache and dalvik cache.
dito... restarting....
OMG! My system is back again!!
Many thanks for this tech support session!!!
You are welcome
put [SOLVED] + thread name instead of the current thread name so people know it's fixed.

Make Nandroid Backup via ADB and 8GB to 16GB

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.

TWRP backup question

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.

Categories

Resources