Nandroid for Hero - Hero, G2 Touch Android Development

Anyone got Nanadroid working with Hero yet?
Need to take a back up on my device before I start playing around with it!

recovery.img with nandroid here: http://forum.xda-developers.com/showthread.php?t=543571

Beat me to it - I did a successful Nandroid backup today before I rooted my Hero. So I guess if I need to I can restore that unrooted image. I used the recovery image in the rooting thread above xx

Hi Dayzee,
I'm pretty new to all this, su just to be on the safe side: does your method (linked above) allow me to make a full backup of everything I have in my phone now, and to restore that backup if / when I brick it trying to root it or install a different build?
Thanks in advance.

frandavid100 said:
Hi Dayzee,
I'm pretty new to all this, su just to be on the safe side: does your method (linked above) allow me to make a full backup of everything I have in my phone now, and to restore that backup if / when I brick it trying to root it or install a different build?
Thanks in advance.
Click to expand...
Click to collapse
yes it will restore whatever you had when you made the backup inlcuding setting and just anything you can imagine.

i think that is what Nandroid does, but I've never had to restore from a backup so can't be sure - any thread or wiki on Nandroid will tell you.
The recovery image that you boot during the rooting process has Nandroid built in - when you get to the recovery console screen, scroll down to Nandroid back up and press the scroll wheel - away it goes, and then says back up completed - the file is then on your SD card in a folder called Nandroid and from the looks of the console, to restore, you'd just scroll to that option and press the scroll button.
If you're in doubt - do nowt - that's my moto. But good luck if you want to have a go
Dayzee

Thanks minogue, that's relieving. I'd like to start learning to make the most of my hero, but I'm quite afraid of breaking it, what with being so expensive and me having a monthly data fee for it and all.

Hi,
What is the image 'cm-hero-recovery.img' exactly?
Is it a particular Hero release? I presume this is the image of the rooted hero....but how does it compare to the unlocked HTC supplied Hero? Are there missing applications, widgets etc...?
Thanks
Phil

n00b question no. 1
I'm new to Android so I suspect you'll need to be patient with me, very patient. I'm trying to backup my device but I've been unsuccessful so far. This is what I'm doing:
1. Power down handset
2. Power handset back up(holding down back key) This brings up the Fastboot, I think, screen.
3. Plug in USB cable
4. Fire up CMD.exe
5. Enter "fastboot boot cm-hero-recovery.img" - this brings up Android system recovery screen.
6. but now when I select "[Alt+B]Nandroid v2.2 backup" it says performing backup for a second or so but results in: Error running nandroid backup. Backup not performed.
I tried removing the USB cable but that doesn't help. Any advice/ideas/anything, I'm desperate(not really, maybe a little: ). Thanks

roeblerrieland said:
I'm new to Android so I suspect you'll need to be patient with me, very patient. I'm trying to backup my device but I've been unsuccessful so far. This is what I'm doing:
1. Power down handset
2. Power handset back up(holding down back key) This brings up the Fastboot, I think, screen.
3. Plug in USB cable
4. Fire up CMD.exe
5. Enter "fastboot boot cm-hero-recovery.img" - this brings up Android system recovery screen.
6. but now when I select "[Alt+B]Nandroid v2.2 backup" it says performing backup for a second or so but results in: Error running nandroid backup. Backup not performed.
I tried removing the USB cable but that doesn't help. Any advice/ideas/anything, I'm desperate(not really, maybe a little: ). Thanks
Click to expand...
Click to collapse
hmmm, you need to have at least 152 MB + the size of your data partition free on your sdcard.If you have the space and still doesn't work, you can try to do a backup using command line from the recovery:
Code:
adb shell
nandroid-mobile.sh -b
ps. nandroid options:
Code:
nandroid-mobile v2.1
Usage: /sbin/nandroid-mobile.sh {-b|--backup|-r|--restore|-d|--delete|-u|--getupdate|--webget|--compress|--bzip2} [options]
At least one operation must be defined, try /sbin/nandroid-mobile.sh --help for more information

Not choices: Space! Thanks.

OK just did a backup works great Thank you all

Related

A rooting attempt gone astray

So I was trying to root my evo so I could try the fresh rom (please note that this was my first ever root attempt and my phone had the OTA update). I followed the instructions from this guide:
Latest OTA rooted! - Page 2 - Android Central Forums
This is where my problem is:
11. Once back at the Home screen type:
Code:
adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
When I enter the "cat /sdcard/flash_image > /data/flash_image" code I get:
"cannot create /data/flash_image: permission denied"
After some googling I found other people typed "su" prior to typing in the "cat /sdcard/flash_image > /data/flash_image" command. That didn't work for me. I received "su: permission denied" after entering su.
Would going back and starting this tutorial all over cause serious damage? I'm wondering if maybe I messed up earlier.
I'm very worried I really screwed something up. Can anybody please offer up some advice for a newbie?
Weigh the stakes
Man, just try the "SimpleRoot 1.47 OTA update" app for Windows. You save time, money and a lot of feces on your tract by the worries that everything is ok.
Now, I want to remind the stakes. If you haven't looked at my post here at Q&A, I pretty much effed up my phone while being rooted. I don't know if it was too much exposure to heat caused by WiFi Tether, or of mysterious powers regarding the RSA 256 bit encryption update process screwed my phone up. So before trying to crack your phone, please, review the stakes and stay stock.
BTW, you haven't completed the root process, so a simple Factory Reset should do the trick to go back into Stock without any trace of root procedure. That is, if you want to play it safe.
Okay, first things first. Just so I'm clear.
1. Which guide(exactly) did you follow?
2. What software version do you have now?
Yeah i was having problems with my administrator password so I switched from simple root to this method. Maybe I was using the wrong version or something, could you post a link to simple root for ota?
churchwin88 said:
Okay, first things first. Just so I'm clear.
1. Which guide(exactly) did you follow?
2. What software version do you have now?
Click to expand...
Click to collapse
1. http: // forum.androidcentral. com/htc-evo-4g-roms-hacks/ 21043-latest-ota-rooted-2. htm
2. My software number is 1.47.651.1
Thanks for the help
StrummingLevi said:
Yeah i was having problems with my administrator password so I switched from simple root to this method. Maybe I was using the wrong version or something, could you post a link to simple root for ota?
1. http: // forum.androidcentral. com/htc-evo-4g-roms-hacks/ 21043-latest-ota-rooted-2. htm
2. My software number is 1.47.651.1
Thanks for the help
Click to expand...
Click to collapse
For the 1.47 you need to use this version of simple root(if you haven't already) - http://forum.xda-developers.com/showthread.php?t=720565
I'm not sure why it would have problems with the password. Only thing I can think of would be something along the lines of not having administrator privileges.
EDIT: Make sure to have all the requirements and if you successfully run that let me know so we can proceed to the next step(it is really simple).
I did the simple root for 1.47 and it was a success! Although I did not understand what the flash recovery did. I tried the clockwork recovery and it took me to a screen with a bunch of options, but I didn't know what to do so I just rebooted. What's next? I want to try the newest version of the fresh rom.
TO try fresh first download it and place the zip file on your computer, boot into recovery, (power phone off then hold down volume and power untill you get to the white screen) select flash zip fron sd card then select the fresh rom and flas, presto fresh should flash, the recovery is a seperate area which is used to flash a rom, as you cant flash a rom from within a rom.
So do I use the clockwork recovery to flash the fresh rom? I was looking at the guide to flash the new fresh rom and it says that I need to have nand unlocked. How do I do that?
if you did simpleroot nand should be unlocked, and yes clockwork recovery is used to flash the fresh rom. clockwork recovery is what you are in when you boot with the down volume and power button held down. If it doesnt work you may want to try amon ra recovery, find the toast root method and do the last step:
- on your PC open a shell again and do:
Code:
adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
- you should now be in recovery mode
- do a wipe of data and dalvik cache
- navigate to nandroid restore and restore the previous rom setup
- come here to the forum, get and flash the latest radio
- enjoy... you can now reboot into recovery, write to system and other partitions while in Android. Also you now have a Engineering SPL so you can fastboot and much more.
It also wont hurt to do the whole part two of toasts guide if you dont think your nand is unlocked. FYI Nand unlocking allows both a read write option in the recovery which is needed to write the custom roms.
StrummingLevi said:
So do I use the clockwork recovery to flash the fresh rom? I was looking at the guide to flash the new fresh rom and it says that I need to have nand unlocked. How do I do that?
Click to expand...
Click to collapse
Your nand is unlocked. Just download Fresh, boot into recovery, wipe caches, and apply Fresh via zip file.
ifly4vamerica said:
if you did simpleroot nand should be unlocked, and yes clockwork recovery is used to flash the fresh rom. clockwork recovery is what you are in when you boot with the down volume and power button held down. If it doesnt work you may want to try amon ra recovery, find the toast root method and do the last step:
- on your PC open a shell again and do:
Code:
adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
- you should now be in recovery mode
- do a wipe of data and dalvik cache
- navigate to nandroid restore and restore the previous rom setup
- come here to the forum, get and flash the latest radio
- enjoy... you can now reboot into recovery, write to system and other partitions while in Android. Also you now have a Engineering SPL so you can fastboot and much more.
It also wont hurt to do the whole part two of toasts guide if you dont think your nand is unlocked. FYI Nand unlocking allows both a read write option in the recovery which is needed to write the custom roms.
Click to expand...
Click to collapse
Ignore this post, unless you want to flash Fresh with Amon Ra Recovery instead of Clockwork Recovery (what you have now)
Agreed, I was only posting that "if" he had problems using clockwork sorry for the confusion.
jerryparid said:
Your nand is unlocked. Just download Fresh, boot into recovery, wipe caches, and apply Fresh via zip file.
Ignore this post, unless you want to flash Fresh with Amon Ra Recovery instead of Clockwork Recovery (what you have now)
Click to expand...
Click to collapse
So I decided I was going to use Amon Ra's recovery because flipz recommended it. That was going well until "- navigate to nandroid restore and restore the previous rom setup". I selected nandroid restore and it said something like /sdcard/nandroid not found. Aster that I just rebooted , which took a while and had me pretty nervous. It eventually booted up though. This stuff is a lot more confusing than windows mobile was haha. I'm wondering if nandroid was indeed unlocked with simple root. I'm still willing to press forward if the help is still available. By the way, what and how can I make a nandroid backup?
Turn phone off, turn phone on holding down volume and power, when you get to white screen select recovery then scroll through your options, i believe it it backup/restore then creat nandroid backup, FYI you cant restore a nandroid backup if you haven't created one, IE the not found error you got before.
Ok so how exactly would I go about flashing(if that's even the right word) fresh rom from what I already have?
I'm not sure what you actually have, can you get to recovery, then the option to 'flash zip from sd card? if you have that option just place the fresh rom on the root of your sd card (put the zip file there and don't open the zip) then reboot to recovery, ie vilume down and power button when you get to white screen volume down to recovery, then flash zip from sd then select the fresh rom zip, then hit power button to select, hit power button again to confirm and away you go.
Ok that sounds simple enough. I can't thank you guys enough for all your help. What does a nandroid backup do?
it makes a copy of your rom basically, so say you put on fresh do a nandroid backup then flas CM6, you decide you dont like CM6, so you nandroid restore of your fresh and presto right back to where you were before you flashed CM6, also useful if you have screwed something up ... you can go back ... make sense?

[Q] Backup & Restore Device on a Mac

I've been reading/searching everything I can get my hands on but I still have some questions to ask before I bite the bullet on a new ROM for my supersonic.
I've done the unrevoked root and fiddled around (of course did the nandroid backup as instructed). Subsequently I've installed setcpu and other root-requiring tools.
However, now I want to try cyanogenmod but I realize that in the event something goes wrong, even if I have done a nandroid backup, I won't know what to do. All writeups I've found involve using windows command line (fastboot.exe?).
So the short of my question is, how do I:
a) Restore to current setup
or
b) Restore to 100% stock
(I do have rom manager with clockwork recovery installed but don't know how they work (can't find a good write up.))
solidwater said:
I've been reading/searching everything I can get my hands on but I still have some questions to ask before I bite the bullet on a new ROM for my supersonic.
I've done the unrevoked root and fiddled around (of course did the nandroid backup as instructed). Subsequently I've installed setcpu and other root-requiring tools.
However, now I want to try cyanogenmod but I realize that in the event something goes wrong, even if I have done a nandroid backup, I won't know what to do. All writeups I've found involve using windows command line (fastboot.exe?).
So the short of my question is, how do I:
a) Restore to current setup
or
b) Restore to 100% stock
(I do have rom manager with clockwork recovery installed but don't know how they work (can't find a good write up.))
Click to expand...
Click to collapse
when you boot into recovery create a new clockwork back...
wipe system/data/davlik cache
flash cyanogogen
flash gapps if you want them
then reboot phone (will boot into cm6)
no at any point in tim you want to go back to the back you made.
power off phone
reboot into boot loader while holding vol down and power
chose recovery
should boot into clockwork mod recovery
wipe system/data/davlik cache
choose backup/restore
chose your restore you made earlier.
let it do its thing and reboot phone
easy money its breeze
Backup your Nandroid to your Mac
I'd advise backing up your Nandroid to your desktop as follows:
Plug your data cable into your Evo.
Plug it into your Mac.
Depending on the ROM you're on, you should have a USB icon show up in your notification bar on your Evo. (That's the bar at the top of your home screen.)
Pull the notification bar down.
Click on the line that says, "Charge only."
Choose "Disk drive," then "Done."
Your phone will show up as a Volume on your desktop.
Double click on it.
A Finder window will open showing the contents of your microSD card.
You want to find the Nandroid and copy it to someplace on your Mac.
I have only used Clockwork Recovery once. The Nandroid is either in a folder named "Nandroid" or it's in a folder called "Backup(s)." You will have two Nandroids, one you made originally when you rooted, and the current one. I'd save both.
I'd also suggest you start using Amon RA for your recovery. It does a better job of wiping Cache and Dalvik and has the ability to backup your Wimax keys. (It doesn't often happen that you lose your Wimax keys, but if you do, it often means replacing your Evo.)
Now, when you're ready to eject your Evo, right click on the Volume on your desktop (mine is called "NO NAME") and eject it.
THEN, go back to your Evo, pull down the notification bar and click on the line that says, "Disk drive."
Click on "Charge only," then "Done."
NOW you can safely unplug your Evo from your Mac.
With clockwork your backups will be located in /clockwork/backup id you intend to back it up to your Mac
How big (MB/GB) should the backup be?
epicroot said:
when you boot into recovery create a new clockwork back...
wipe system/data/davlik cache
flash cyanogogen
flash gapps if you want them
then reboot phone (will boot into cm6)
no at any point in tim you want to go back to the back you made.
power off phone
reboot into boot loader while holding vol down and power
chose recovery
should boot into clockwork mod recovery
wipe system/data/davlik cache
choose backup/restore
chose your restore you made earlier.
let it do its thing and reboot phone
easy money its breeze
Click to expand...
Click to collapse
I've tried this and also the automated method from rom manager and nothing works. If I go into recovery it shows fastboot (says nothing about clockwork nor about nandroid). It does give a momentary run down of green text that makes it look like it's trying to locate some files but says they're not present and forces me back to the screen before I can read it all...
Any ideas?
Looks like something was wrong with permissions or clockwork. I reflashed clockwork, forgot and re-allowed rom manager and now it appears to be backing up properly.
Thanks to those who posted up!

[Q] Shattered screen & backup (solved)

Hi everyone, for Christmas my screen was crushed by a car .
The screen is completely destroyed (both touch screen & display screen).
However the phone is booting, so I can put it in recovery mod (I rooted the phone and I have clockworkmod).
After many trials, I succeeded in having adb connecting to my phone in blind mode.
I did this:
Code:
adb mount /data
adb pull /data /a_backup_folder
adb mount /system
adb pull /system /another_backup_folder
... and copied back my SD to my computer. I plan to buy another Desire and to revert the instruction by issuing a push for the data & system. This is:
Code:
adb mount /data
adb push /a_backup_folder /data
adb mount /system
adb push /another_backup_folder /system
Will it work ? Or is the system in sync with the flashed firmware ?
Can I selectively push some of the folders (namely applications, and the whole data). I hope to get back my settings, contacts etc...
I'm afraid I cannot do a whole lot more, since I do everything in blind mode.
Any advice on this ?
Thank you !
Just make a nandroid, should be able to restore as long as you don't have a different screen version (AMOLED to SLCD) but not 100% sure.
TheGhost1233 said:
Just make a nandroid, should be able to restore as long as you don't have a different screen version (AMOLED to SLCD) but not 100% sure.
Click to expand...
Click to collapse
Thank you for your suggestion.
Can I do it even if I do not have a screen ? I've tried to launch it but I fear it needs busybox (it says that it cannot find nc) and I think I do not have it (and don't know how to put it without the screen).
What are the supplementary steps that nandroid does ?
This is for CWM 2.5.0.7.
Sorry mist the part that you have to do everything blind, when in recovery press 5 times down on the volume rocker and then 2 times on the OJ let it sit for 10 min, should be done sooner but i don't know how to check if it's finished. After 10 min press once again on the OJ, your phone should reboot and in the Clockwork folder on the SD card should be a backup folder with a folder with the current date and time of the back up.
Unfortunately it did not work.
It did the steps as provided, and indeed the phone rebooted, but there is no clockworkmod folder on the sd card.
Is there any way to do a similar operation with adb ? This would be easier since when I'm in adb shell, I can type from the PC .
Try installing amon ra recovery. You should be able to do it. This is what the amon ra thread says:
Scripts available via adb :
* Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
Explenation: http://forum.xda-developers.com/showpost.php?p=3046976&postcount=1
I think that this is what you are looking for
Use the command below to find out what partitions each mtd is for (I don't remember)
cat /process/mtd
Then backup with
cat /dev/mtd/mtdx > /sdcard/mtd.img
(Replacing x with whatever number)
Get all the partitions you need, boot, cache, data and system. Then flash to your new phone from fastboot.
fastboot flash boot mtdx.img
You might want to get hold of a tool called unyaffs and take a look inside the images you make to check its all ok before you bin your old phone or send it back.
mercianary said:
Use the command below to find out what partitions each mtd is for (I don't remember)
cat /process/mtd
Then backup with
cat /dev/mtd/mtdx > /sdcard/mtd.img
(Replacing x with whatever number)
Get all the partitions you need, boot, cache, data and system. Then flash to your new phone from fastboot.
fastboot flash boot mtdx.img
You might want to get hold of a tool called unyaffs and take a look inside the images you make to check its all ok before you bin your old phone or send it back.
Click to expand...
Click to collapse
Ok the first step worked, but unyaffs does not want to open my imgs.
The size are as follow:
Code:
3*145*728 boot.img
3*145*728 boot_ro.img
41*943*040 cache.img
41*943*040 cache_ro.img
655*360 misc.img
655*360 misc_ro.img
4*718*592 recovery.img
4*718*592 recovery_ro.img
262*144*000 system.img
262*144*000 system_ro.img
154*796*032 userdata.img
154*796*032 userdata_ro.img
which seems good (I also made images from the mtdXro). However I should be able to extract userdata and system from my understanding. I tried with unyaffs both on linux and on windows, on both I get a segmentation fault.
Do I have a way to verify that theses images are good ? I do not want to trash the new phone I will buy with a faulty image...
Flash the same rom from recovery on your new phone, then flash the data image from fastboot, if it works the first boot should take a while as it builds the cache. If it doesn't work just clear data and it wont have done any damage to your new phone.
You will have to zip the data image before you fastboot flash it because it's too big for fastboot to receive.
If you have s-off on your old phone I would flash amon-ra recovery from fastboot then use the nandroid script over adb.
As long as you don't try to flash the recovery you backed up I don't think there's any chance of damaging your new phone doing this.
Ok the final solution was to use the new phone (rooted and with clockworkmod) as a reference.
I did the same backup sequence on the two phones, and have been able to restore the backup on the new phone.
Thank you everyone for your help !
Glad you got it sorted...don't drop your phone under a car again.
Sent from my HTC Desire using XDA App

FlipOut Recovery (CWM based v2.5.1.2)

this is a port of Tenfar's Defy Recovery for FlipOut. as the hijacks do not work on this model, there is used a different solution to load recovery.
it does not support mount/unmount. but all other function for backup/restore of system & data works (tested).
you can share usb storage to pc, or install unsigned update.zip files.
Credits for the apk goes to Tenfar, modifications to work on flipout with hack to boot is made by me.
It should work on all 2.1 based releses, as long as the phone is rooted.
controls in recovery are: VOL- & VOL+ for up/down and POWER to select.
There is an addon option to run adb at bootup (root based), if you put a empty file named: "adb_bootup" on root of sdcard.
Enjoy! (now lets see some mods!)
Installation instructions:
1. root it (SuperOneClick )
2. Install FlipOutRecovery.apk
3. reboot phone once
4. now enter app and press "Install recovery"
5. next you can chose to reboot recovery , normal reboot or shutdown.
Dexter_nlb said:
this is a port of Tenfar's Defy Recovery for FlipOut. as the hijacks do not work on this model, there is used a different solution to load recovery.
it does not support mount/unmount. but all other function for backup/restore of system & data works (tested).
you can share usb storage to pc, or install unsigned update.zip files.
Credits for the apk goes to Tenfar, modifications to work on flipout with hack to boot is made by me.
It should work on all 2.1 based releses, as long as the phone is rooted.
controls in recovery are: VOL- & VOL+ for up/down and POWER to select.
There is an addon option to run adb at bootup (root based), if you put a empty file named: "adb_bootup" on root of sdcard.
Enjoy! (now lets see some mods!)
Installation instructions:
1. root it (SuperOneClick )
2. Install FlipOutRecovery.apk
3. reboot phone once
4. now enter app and press "Install recovery"
5. next you can chose to reboot recovery , normal reboot or shutdown.
Click to expand...
Click to collapse
Good job!
Is there a way to install it from bootloader mode?
This is the only available mode i have right now
Thanks for the great work! Things don't get done without people like you!
Care to share your source? I have a port booting on the Motorola Charm, but it fails to reboot properly back to android. It only boots to stock recovery or clockwork mod recovery. Thanks.
Steve
Sent from my MB525 using Tapatalk
kb7sqi said:
Care to share your source? I have a port booting on the Motorola Charm, but it fails to reboot properly back to android. It only boots to stock recovery or clockwork mod recovery. Thanks.
Click to expand...
Click to collapse
my source is in the apk you got i did not have it, i use smali coding here when needed.
I see two problems and it's killing me now...
a. Format SYSTEM doesn't work unless you connect the device and say 'adb remount'
b. after you format the SYSTEM, restoring a Nandroid image will surely tell you "MD5 mismatch", it seems that the nandroid script is trying to use a tool from the /system
Darn it's killing me........
sahack said:
I see two problems and it's killing me now...
a. Format SYSTEM doesn't work unless you connect the device and say 'adb remount'
b. after you format the SYSTEM, restoring a Nandroid image will surely tell you "MD5 mismatch", it seems that the nandroid script is trying to use a tool from the /system
Darn it's killing me........
Click to expand...
Click to collapse
its not 100% , as its not made for the nand devices, and i dont have CM6 installed in a functioning matter, so i cannto recompile it atm..
okay... I see.
BTW, besides the official ROMs, are there anything else to run on the MB511?
entering at boot
is there any way to enter the recovery at boot, rather than from the app.
say as there is with the stock recovery (x and power then release power button)
nixonpjoshua said:
is there any way to enter the recovery at boot, rather than from the app.
say as there is with the stock recovery (x and power then release power button)
Click to expand...
Click to collapse
Not likely. Unless we 'flash' the recovery image to the phone's ROM. (AFAIK, that's not possible. )
so if that's not possible... then how would I effectively use the backup tool, I mean I would only need it if the phone wasn't working properly
nixonpjoshua said:
so if that's not possible... then how would I effectively use the backup tool, I mean I would only need it if the phone wasn't working properly
Click to expand...
Click to collapse
backup purposes for now.. you would backup and be able to recover..
or if someone made a mod of a rom of course..
you do not need to format anything to install and restore backups, only those experimenting will fail in their mission to mess up i think...
Again, many thanks on behalf of my wife.
Thanks dex
Thanks
Finally! i have the possibility of backup my rom!
Thank for this great work, is this can be fully uninstall?
thanks for this work!
i want to backup my flipout. do i get a sbf file and what do i have to choose in the recovery-app?
thanks
Schallstoerer said:
thanks for this work!
i want to backup my flipout. do i get a sbf file and what do i have to choose in the recovery-app?
thanks
Click to expand...
Click to collapse
no, you get a full backup of filesystems on your mobile, into a Nandroid/openrecovery/[serialnumber/date] folder which you can restore again the same way..
sbf is motorola only.
okay thank you!
i tried it in this way:
app: install recovery system -> recovery boot
boot menue: restore/backup -> backup
after a time of waiting my phone restarts.
but i dont have a "nandroid" folder on my sd card..
only a "goapkrev/backup/..."
with files cache.img, data.img, nadroid.md5, system.img
did i anything wrong?
how do i get a sbf file normaly?
Schallstoerer said:
only a "goapkrev/backup/..."
with files cache.img, data.img, nadroid.md5, system.img
Click to expand...
Click to collapse
this is correct. i was wrong... the ClockWorkMod used here uses a different folder name, but the purpose is the same.
now you should be able to make a full restore of data filesystem, which is primary i think.. /system is more or less not changed for anyone since we all use sbf's installed, but data is important to backup.

Need help creating nandroid backup without screen.

Hi there,
Last friday I broke my lcd screen, it simply does not turn on anymore. Tomorrow an UPS employe will pick up my device and ship it to OP for repair.
My device: Oneplus 3 running TWRP recovery and rooted LineageOS. Adb is enabled in dev settings.
So now I am trying to create a nandroid backup to easily restore my system and data when I get my phone back since OP will reset it ...
I had this genious idea to boot into recovery and create a backup using adb but I ran into a problem.
I have to unlock my device in order to create the backup :/
adb console:
> D:\Desktop\Fastboot+ADB\Win32>adb backup -f backupbeforerepair --twrp system data boot
> Now unlock your device and confirm the backup operation.
So now I am hoping any of you will come up with another genious idea or a workaround so I can create this damn backup
Thanks alot in advance!
If anyone else would ever find himself in the same situation as me I was able to create the backup by doing the following:
You can use open recovery script in TWRP. See http://wiki.rootzwiki.com/OpenRecoveryScript
If you have the file
/cache/recovery/openrecoveryscript
then TWRP will process it when it starts.
If the file contains
backup BSDO myBackup
then the boot (kernel), system, and data partitions will be backed up in compressed format and named myBackup.
So, on your PC, create the openrecoveryscript file, boot into recovery, use ADB to push the file to /cache/recovery/openrecoveryscript then reboot back into recovery. That should trigger the backup process.
Note, the backup will be written to the default location TWRP for backups.
Click to expand...
Click to collapse

Categories

Resources