[Q] CWM backup without root. possible? - Xoom Q&A, Help & Troubleshooting

I unlocked the bootloader when I got my Xoom but I never bothered to root it.
I am thinking about rooting it now but would like to make a CWM backup before rooting it incase I mess something up.
So my question is....
Can I use ADB to push CWM to the recovery partition to make a backup before rooting?
If I just want to make a backup and not root, can I push CWM via ADB then push the stock recovery back to the xoom?
I am pretty knowledgeable with rooting and roming Android devices.
Thanks
Bill

pickle3782 said:
If I just want to make a backup and not root, can I push CWM via ADB then push the stock recovery back to the xoom?
Click to expand...
Click to collapse
yes, you can...
I'd push the recovery using fastboot, though. Just boot into that recovery and run the backup. If you reboot without rooting, the stock recovey will be restored automatically

llama-power said:
yes, you can...
I'd push the recovery using fastboot, though. Just boot into that recovery and run the backup. If you reboot without rooting, the stock recovey will be restored automatically
Click to expand...
Click to collapse
Awesome. Thats kind of what I gathered from reading these forums but just wanted to make sure.
1. Push CWM in fastboot
2. Make backup
3. Reboot and stock recovery will be restored
That sounds simple enough.
Thanks for the response.

Related

[Q] would this rooting method work?

not sure if this is what everyone is already doing, but I was trying to figure out how it might work
stock ota 2.3.1 os
fastboot oem unlock
flashed clockworkmod recovery
boot into recovery nandroid backup stock non-rooted os (just in case )
flash su-2.3.6.1....zip
nandroid backup again
take the boot.img from this nandroid backup and fastboot flash boot
onicrom said:
not sure if this is what everyone is already doing, but I was trying to figure out how it might work
stock ota 2.3.1 os
fastboot oem unlock
flashed clockworkmod recovery
boot into recovery nandroid backup stock non-rooted os (just in case )
flash su-2.3.6.1....zip
nandroid backup again
take the boot.img from this nandroid backup and fastboot flash boot
Click to expand...
Click to collapse
No.
10chars
fastboot oem unlock
flash cwm recovery
nandroid backup
mount /system
flash the su-2361 zip
boot up
rename/delete /etc/recovery.sh (or whatever the exact file is)
download rom manager, flash latest cwm (as of right now it's 3.0.0.5)
reboot to recovery to make sure cwm loads properly and updated.
done.
nxt said:
download rom manager, flash latest cwm (as of right now it's 3.0.0.5)
Click to expand...
Click to collapse
Caution with the 3.0.0.5 latest CWM. I can't get into CWM recovery with that one; I had to downgrade back to 3.0.0.0. The phone just stalls at the Google screen on boot up with it.
Another person's reported the issue in another thread here. I emailed koush, but no response yet.
@nxt, you've tested 3.0.0.5 and it works as expected?
distortedloop said:
Caution with the 3.0.0.5 latest CWM. I can't get into CWM recovery with that one; I had to downgrade back to 3.0.0.0. The phone just stalls at the Google screen on boot up with it.
Another person's reported the issue in another thread here. I emailed koush, but no response yet.
@nxt, you've tested 3.0.0.5 and it works as expected?
Click to expand...
Click to collapse
Not nxt, but I haven't had any issues with 3.0.0.5. Flashing, restoring, or anything at all.
unremarked said:
Not nxt, but I haven't had any issues with 3.0.0.5. Flashing, restoring, or anything at all.
Click to expand...
Click to collapse
Interesting. I wonder what the quirk is on mine and the other guy's. I haven't tried flashing it from fastboot, but selecting reboot to recovery from within ROM Mgr will not load recovery, it just hangs. No issues with 3.0.0.0.
distortedloop said:
Interesting. I wonder what the quirk is on mine and the other guy's. I haven't tried flashing it from fastboot, but selecting reboot to recovery from within ROM Mgr will not load recovery, it just hangs. No issues with 3.0.0.0.
Click to expand...
Click to collapse
Works fine for me normally. I personally don't use rom Manager to do anything though. I manually reboot into recovery and do recovery stuff. I have not tried selecting reboot to recovery via ROM Manager. That might be the issue.

[Q] How to dump stock recovery

I'm getting ready to flash CM7 onto my NS4G, but I want to backup the stock recovery before I start in case I want to revert back to pure stock. I know that there are placed where I can download other people's recovery dumps, but I'd really like to create my own.
Does anyone know how to get a recovery dump of the stock recovery. My issue comes in the fact that dumping recovery seems to require root, but rooting the NS is done by unlocking the bootloader and flashing the recovery. It's a catch 22, I can't backup the recovery without rooting but I can't root without flashing the recovery.
Any tips?
In a terminal:
dd if=/dev/mtd/mtd3 of=/sdcard/recovery.img
If you cat /proc/mtd it will output the value (partition) of all your mtd's. It will tell you what each is. Very handy i think.
snandlal said:
In a terminal:
dd if=/dev/mtd/mtd3 of=/sdcard/recovery.img
Click to expand...
Click to collapse
The trouble is that running dd requires root. I'm not aware of a root exploit for the Nexus S 4G 2.3.5. The current method to root the phone is to unlock it, flash ClockworkMod recovery, and flash superuser.
I accidentally solved my own problem. I gave up on trying to find a way to backup the stock recovery and I just moved forward with loading CM7. However, in the process I discovered a way to backup the full un-rooted stock system, including the stock recovery.
Here are the steps I took (more detailed steps on CyanogenMod wiki):
1. Unlock the phone using "fastboot oem unlock" (this did a factory reset, including the SD/USB memory)
2. Rebooted into the bootloader
3. Installed ClockworkMod Recovery using "fastboot flash recovery recovery-clockwork-3.1.0.1-crespo4g.img" while in the bootloader
4. Without leaving the bootloader I selected Recovery. This launched ClockworkMod Recovery.
5. Used ClockworkMod Recovery to run a NAND backup.
I can't fully explain this, but the backup included the stock recovery. When I restarted the phone and launched recovery again it still had my stock recovery image installed. The only way I can explain this is that "fastboot flash recovery" only flashed ClockworkMod temporarily while I was in the bootloader, I'm not sure how that works.
After flashing CM7 I used ROM Manager to install ClockworkMod Recovery again, and using that method caused it to stick. However, restoring my stock backup does in fact flash me back to stock recovery.
Long story short, I was able to get a clean backup of non-rooted stock. If I want to go back to pure stock for warranty or other reasons I only have two steps to take:
1. Restore my stock backup
2. Lock the bootloader
Check for /system/etc/install-recovery.sh delete or change permissions to 000. When booted to OS,it will rewrite over custom recovery
agasser said:
Long story short, I was able to get a clean backup of non-rooted stock. If I want to go back to pure stock for warranty or other reasons I only have two steps to take:
1. Restore my stock backup
2. Lock the bootloader
Click to expand...
Click to collapse
And Samsung can still read out the phone's files to see the bootloader was unlocked IF they wish to
agasser said:
I can't fully explain this, but the backup included the stock recovery. When I restarted the phone and launched recovery again it still had my stock recovery image installed. The only way I can explain this is that "fastboot flash recovery" only flashed ClockworkMod temporarily while I was in the bootloader, I'm not sure how that works.
Click to expand...
Click to collapse
Your NANDroid backup does contains CWM recovery. The reason you get the stock recovery after reboot is because of the /system/etc/install-recovery.sh script. (see what snandlal said above)
I think CM7 does not include that script in their ROM.

Can't get my new tf700t to root or install recovery.

Hey guys.
I just got a very nice condition used TF700T. I am trying to get recovery to install so I can flash a rom. I used the Transformer Toolkit to unlock it, which worked, it says device unlocked when booting.
But I absolutely cannot get it to Root, or flash recovery. If I try using debugfs root generic 2.3 it fails to write everything. If I try to flash any recovery with the toolkit it downloads and says flashing but just sits at about 25%, it boots my device into the screen that says usb fastboot mode with the three icons that say RCK Android and factory wipe. If I click the RCK it says rebooting and then goes to android mascot installing icon, but then the one with an X and error appears. What on earth am I doing wrong?
Is it the latest 4.2 update locking me out? Can I downgrade? I just can't get anything to root or flash recovery no matter what I do. I feel a little defeated being a long time member and 3 phone habitual rom flasher :crying:\
Any ideas what i'm missing?
benjmiester said:
Hey guys.
I just got a very nice condition used TF700T. I am trying to get recovery to install so I can flash a rom. I used the Transformer Toolkit to unlock it, which worked, it says device unlocked when booting.
But I absolutely cannot get it to Root, or flash recovery. If I try using debugfs root generic 2.3 it fails to write everything. If I try to flash any recovery with the toolkit it downloads and says flashing but just sits at about 25%, it boots my device into the screen that says usb fastboot mode with the three icons that say RCK Android and factory wipe. If I click the RCK it says rebooting and then goes to android mascot installing icon, but then the one with an X and error appears. What on earth am I doing wrong?
Is it the latest 4.2 update locking me out? Can I downgrade? I just can't get anything to root or flash recovery no matter what I do. I feel a little defeated being a long time member and 3 phone habitual rom flasher :crying:\
Any ideas what i'm missing?
Click to expand...
Click to collapse
What custom recovery are you installing? You may want to try with fastboot or adb method to flash your custom recovery which doesn't require rooted device, good luck....
LetMeKnow said:
What custom recovery are you installing? You may want to try with fastboot or adb method to flash your custom recovery which doesn't require rooted device, good luck....
Click to expand...
Click to collapse
Well I tried TWRP 2.7.1.1 I believe and also CWM , and Phil's custom touch CWM that all three are options to flash with the all in one ADB Toolkit app via USB from windows (http://forum.xda-developers.com/showthread.php?t=2094746)
How do I do the Fastboot method? I read about that, but have no idea how the process goes. I'm ok with skipping root and going straight to recovery and a rom because I can just flash superuser after if the rom isn't rooted already.
benjmiester said:
Well I tried TWRP 2.7.1.1 I believe and also CWM , and Phil's custom touch CWM that all three are options to flash with the all in one ADB Toolkit app via USB from windows (http://forum.xda-developers.com/showthread.php?t=2094746)
How do I do the Fastboot method? I read about that, but have no idea how the process goes. I'm ok with skipping root and going straight to recovery and a rom because I can just flash superuser after if the rom isn't rooted already.
Click to expand...
Click to collapse
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
benjmiester said:
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
Click to expand...
Click to collapse
Unlocked bootloader is allowed you to install the custom recovery so you can install the custom ROM, I believed..... You can check this guide out to see if you can setup your fastboot/adb. It is very easy to follow for the beginners, good luck....:fingers-crossed:
http://forum.xda-developers.com/showthread.php?t=2688891
benjmiester said:
I wanted to try an app I used to get twrp onto my LG G2 for the first time called "flashify" that worked like a charm. I just installed the app, downloaded the twrp file and flashed it then it reboots to recovery, but it requires root as far as I know. Does unlocking the boot loader allow things like this?
Click to expand...
Click to collapse
Once you unlocked the bootloader you can flash a custom recovery and after that - the sky's the limit.
Flashify works great, and it is a wonderful tool as long as you're able to boot into Android.
My problem with Flashify and Goomanager and TwrpManger is that it saves users from setting up a proper ADB/fastboot connection from PC to tablet.
As long as you can boot Android, these apps are great. But what if you can't? Once the tablet doesn't boot it's so much harder (and often too late) to get the correct drivers installed for ADB and fastboot.
So if you flash your recovery with any of those apps still make sure you have access with ADB and fastboot from your PC.
You will regret it if you don't - I (almost) guarantee it.
That's an excellent point. Thanks. I did actually get the Fastboot method to work. The problem was that I kept clicking into RCK recovery when I ws supposed to just leave it on that screen to push twrp instead. I got recover and just got done doing a backup. I'm about the flash my first rom (http://forum.xda-developers.com/showthread.php?t=2672751). Do we need to do factory reset / wipe data/system etc? The instructions on the ROM post say to just flash it from twrp so I'm guessing it has a built in wipe feature during install?
benjmiester said:
That's an excellent point. Thanks. I did actually get the Fastboot method to work. The problem was that I kept clicking into RCK recovery when I ws supposed to just leave it on that screen to push twrp instead. I got recover and just got done doing a backup. I'm about the flash my first rom (http://forum.xda-developers.com/showthread.php?t=2672751). Do we need to do factory reset / wipe data/system etc? The instructions on the ROM post say to just flash it from twrp so I'm guessing it has a built in wipe feature during install?
Click to expand...
Click to collapse
The instructions in the OP actually say that you have to do a full wipe (Factory Wipe) in TWRP coming from a different rom base. Which would be you unless you had a version of CROMBi-KK installed prior to this.
It's the default selection under the Wipe menu in TWRP. Just do that and then flash the rom and your ok.
Do not use the Factory Reset option from Settings or the Wipe Data option from the BL menu! Do this in TWRP only!
Cool thanks. I figured so because that's the norm with roms on all my phones. Thanks a lot for the help guys. So happy to be get KK running on my new toy!
Just wanted to update. KK 4.4.3 rom flashed and booted in. It's much nicer. The stock was a little laggy, and KK breathed a lot of new life into my ancient single core 1.0 ghz Galaxy S that I use as a music player so I figured it would help make the tab real nice and snappy too. Gotta go now, much fun to be had!!

I accidentally wiped the whole Phone

Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Hansil said:
Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Click to expand...
Click to collapse
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
_MetalHead_ said:
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
Click to expand...
Click to collapse
This guy is on the money. You've wiped it anyway, might as well just flash a fresh factory image and start from scratch, nice and clean.
Hansil said:
Without taking any backup, i accidently wiped/formatted my Nexus5( Cache partition/system/data/persist/firmware) using ClockworkMod
My Phone won't Boot now, it's get stuck on GOOGLE Screen.
Can anyone please help me out Step by Step.
Click to expand...
Click to collapse
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
sp_greek said:
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
Click to expand...
Click to collapse
And I advise against using toolkits. If you rely solely on toolkits, you'll never learn how to fix problems such as this. It's best to familiarize yourself with fastboot, you'll find that it is nowhere near as difficult to use as it seems, and you'll be equipped to get yourself out of pretty much any situation imaginable. Not to mention that toolkits are the culprits for many "Help! I bricked my phone and don't know what to do!" threads.
Here's a great guide on using fastboot- http://forum.xda-developers.com/showthread.php?t=2277112
_MetalHead_ said:
Since you wiped /system, you have no OS installed. So, either use fastboot to flash a system image, or transfer a ROM over to it and flash it via recovery. No biggie. I do recommend switching to TWRP from ClockworkMod though. Is ClockworkMod even supported anymore?
Click to expand...
Click to collapse
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Hansil said:
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Click to expand...
Click to collapse
You don't need to uninstall CWM first, just use fastboot to flash TWRP with this command-
Code:
fastboot flash recovery recoveryname.img
Hansil said:
Thanks got my phone working now..:good:
how do i uninstall ClockworkMod? and install TWRP.
i tried installing TWRP over Clockworkmod but seems it does not support need to find a way to uninstall clockwork 1st..
Click to expand...
Click to collapse
No need to uninstall just:
fastboot flash recovery recovery-filename.img if recovery is in the same directory as fastboot or
fastboot flash recovery /path/to/your/recovery/recovery-filename.img
if the recovery is under /path/to/your/recovery/
You may drag and drop the file to you terminal or commandline...
L
Sent from my Nexus 7 using XDA Free mobile app
There are also apps that allow you to flash a recovery image from within the OS. I prefer that because I keep my bootloader locked and flash the stock recovery for a little extra bit of security when I don't need to flash anything.
sp_greek said:
I advise you to download Nexus root toolkit from Wugfresh. After you installed it (assuming you already have adb drivers), under "Restore/ Upgrade/Downgrade" click on "Soft-Bricked/Bootloop" and then on "Flash Stock + Unroot". The appliciation tells you what to do next.
Click to expand...
Click to collapse
NOOOOOOOO - if you're a noob, just don't advise people please!

Alcatel Fierce 2 Sideload Backup Flashify ??

Hello
Long story short.
I rooted my Alcatel one touch Fierce 2 with Kingroot.
I swapped out the KingUser with Supersu.
I moved supersu to the system with system app mover
I used flasify to backup my kernel and my current recovery.
I test flashify today to restore my current recovery.
It worked. It did something and rebooted my phone into recovery mode.
same as power and volume up
i did select in recovery mode wipe data/factory reset
It worked different this time.
Instead of wiping data and cache partition and then loading factory backup......
My screen said
data wipe complete
cache wipe complete
and then it was finished.
it didnt continue to reload factory and reboot like before.
I selected Reboot Now.
Took a min but my phone booted back up with the flashify backup installed.
I Think it looks that way anyhow. I need to do some more test.
So heres the questions i have. and if you can answer or point me to the correct threads thanks in advance.
I have the sideload option on this phone.
My ADB works correctly and ADB Devices shows "Sideload" with my phone connected in sideload mode.
This is good. It means i can recover using ADB and sideload.
But i need a good file to actually sideload.
So how do i create a backup of my phone i can use for sideload.
Can i use the flashify boot.img and recovery.img to do that somehow.
The good thing is currently if i run system restore it works and i still have root when it comes back up.
The good thing is as long as i can run flashify i can reload my phone backups.
flashify is good cause it dont need unlocked bootloader to flash phone only root.
The bad things.
This phones bootloader is locked.
Because of that I dont think you can load CWM or TWRP.
If i fry the android system and cant run flashify how do i load my backups.
As long as i can get the phone to boot in recovery and able to use Sideload i can make ADB Sideload connection and somehow recover.
Cant we also use sideload to install CWM on this phone.
I sure wish it had CWM,
Found My own answer
I guess i found the answer to my own question.
Flashify isnt a full backup.
I ended up finding Online Nandroid tool.
Made a CWM Backup of my phone.
Now im off to make a loadable sideload from the CWM backup.

Categories

Resources