[Q] NANDROID Restore problems. - Droid Eris Q&A, Help & Troubleshooting

I recently flashed KaosGingerbread. I did a nandroid backup first. I tried to do a nandroid restore, and gave me this "run 'nandroid-mobile.sh' via adb". I've tried letting it charge, clearing up SD space, and looked on how to run the adb stuff. None of it has worked, and I can't figure out how to run 'nandroid-mobile.sh' via adb. I'm using RA eris v1.6.2. Help

xzillerationer said:
I recently flashed KaosGingerbread. I did a nandroid backup first. I tried to do a nandroid restore, and gave me this "run 'nandroid-mobile.sh' via adb". I've tried letting it charge, clearing up SD space, and looked on how to run the adb stuff. None of it has worked, and I can't figure out how to run 'nandroid-mobile.sh' via adb. I'm using RA eris v1.6.2. Help
Click to expand...
Click to collapse
The first thing you should do is to inspect the recovery log immediately after the (restore) error occurs in Amon_RA. There is a menu item available in Amon_RA (under "Other", iirc) which will copy the recovery log file at /cache/recovery/log to the root folder of your SD card. Then you can look at it using adb:
Code:
adb shell ls /sdcard/ (look for the file, I think it will be named "recovery.log" or similar)
adb pull /sdcard/whateverthefilenameis.log ./recovery.log
or just
adb pull /cache/recovery/log ./recovery.log
or just
adb shell cat /cache/recovery/log
Alternatively, if you are not familiar with ADB, you can use the Amon_RA "Toggle MS-USB" mode to mount the /sdcard to your PC (after you use the Amon_RA menu to copy the log file to your SD card root), and then copy the log file to your PC for viewing.
There are two reasons for looking at the log file.
1) The first is that Amon_RA himself told you to do so in his announcement post.
2) The second reason is that the Amon_RA process (/sbin/recovery) which spews that
Error : run 'nandroid-mobile.sh restore' via adb!
error message actually just got through running exactly that script... and it failed!
So, if you re-run it, it will certainly fail again, assuming that you use the same command line that Amon_RA did (which is an extremely good idea, BTW). And when it fails when you run it manually, it will produce error messages that give you an idea of what the failure problem was.
So, as you see, you might as well just look at the recovery log in the first place, rather than re-running "nandroid-mobile.sh" just to see it fail once again, and produce the same error messages that are already in the recovery log file.
Probably you ought to post up (here) a copy of your recovery log - some types of errors will not be correctable by running "nandroid-mobile.sh" manually.
If you insist on experimenting, note that "nandroid-mobile.sh" has some documentation built in to it - start a shell on your phone (in Amon_RA recovery mode, natch), and type the command
Code:
nandroid-mobile.sh --help
If you do that, you will find that there are lots of command line options. Inspecting Amon_RA's "/sbin/recovery" program using the well known Unix/Linux/Cygwin "strings" tool, you will find that Amon_RA calls restore commands which look like this:
Code:
/sbin/nandroid-mobile.sh -r -e --norecovery --nocache --nomisc --nosplash1 --nosplash2 --defaultinput -s SUBNAME
See the output of "nandroid-mobile.sh --help" for what SUBNAME is (presumable the folder name that has the desired nandroid backup set in it.
good luck
bftb0

I did that, the log file thing, and got this
Code:
Starting recovery on Sun Jan 9 23:29:34 2011
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (320 x 480)
Build : RA-eris-v1.6.2
I:Set boot command "boot-recovery"
Command: "/sbin/recovery"
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
ro.error.receiver.system.apps=com.android.updater
ro.build.id=ERD79
ro.build.display.id=ERD79
ro.build.version.incremental=134869
ro.build.version.sdk=7
ro.build.version.codename=REL
ro.build.version.release=2.1
ro.build.date=Thu Feb 11 22:36:17 CST 2010
ro.build.date.utc=1265898977
ro.build.type=user
ro.build.user=u70000
ro.build.host=Oven-X04
ro.build.tags=release-keys
ro.product.model=Eris
ro.product.brand=verizon
ro.product.name=htc_desirec
ro.product.device=desirec
ro.product.board=desirec
ro.product.cpu.abi=armeabi
ro.product.cpu.abi2=
ro.product.manufacturer=HTC
ro.product.locale.language=mdpi
ro.product.locale.region=
ro.wifi.channels=
ro.board.platform=msm7k
ro.build.product=desirec
ro.build.description=2.26.605.2 CL134869 release-keys
ro.build.changelist=134869
ro.build.modelid=
ro.product.ua=
ro.build.fingerprint=verizon/htc_desirec/desirec/desirec:2.1/ERD79/134869:user/release-keys
ro.product.version=2.26.605.2
keyguard.no_require_sim=1
rild.libpath=/system/lib/libhtc_ril.so
ro.ril.default.modem-type=2
ro.telephony.default_network=4
wifi.interface=tiwlan0
wifi.supplicant_scan_interval=15
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=268449905
ro.com.android.dataroaming=true
ro.com.google.locationfeatures=1
persist.service.mount.playsnd=0
ro.cdma.data_retry_config=max_retries=infinite,0,0,60000,120000,480000,900000
ro.sf.lcd_density=160
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=m4v,h263
ro.media.enc.vid.h263.width=176,352
ro.media.enc.vid.h263.height=144,288
ro.media.enc.vid.h263.bps=64000,800000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,352
ro.media.enc.vid.m4v.height=144,288
ro.media.enc.vid.m4v.bps=64000,800000
ro.media.enc.vid.m4v.fps=1,30
ro.cdma.home.operator.numeric=310012
ro.cdma.home.operator.alpha=Verizon
ro.config.htc.nocheckin=1
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.networklocation=1
ro.setupwizard.mode=DISABLED
ro.config.ringtone=Innovation.mp3
ro.config.notification_sound=Color.mp3
ro.config.alarm_alert=Light.mp3
ro.config.cal_notification=Vector.mp3
ro.config.msg_notification=Ascend.mp3
ro.com.google.clientidbase=android-verizon
ro.com.google.gmsversion=2.1_r1
net.bt.name=Android
net.change=net.bt.name
ro.config.sync=yes
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.modversion=RA-eris-v1.6.2
ro.factorytest=0
ro.serialno=HT9CLHG11370
ro.bootmode=recovery
ro.baseband=2.42.01.04.27
ro.carrier=COMMON
ro.bootloader=1.49.0000
ro.hardware=desirec
ro.revision=2
ro.cid=VZW__001
init.svc.recovery=running
init.svc.adbd=running
adb.connected=
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""
Restore BDS-20110109-1844 ?
Press Trackball to confirm,
any other key to abort.
Restoring : .
nandroid-mobile v2.2.1
Searching for backup directories, matching BDS-20110109-1844, to delete or restore
or compress
Looking for the latest backup, will display other choices!
Default backup is the latest: /sdcard/nandroid/HT9CLHG11370/BDS-20110109-1844
Other available backups are:
Using G1 keyboard, enter a unique name substring to change it and <CR>
or just <CR> to accept: Accepting default.
Restore path: /sdcard/nandroid/HT9CLHG11370/BDS-20110109-1844
error: /sdcard/nandroid/HT9CLHG11370/BDS-20110109-1844/nandroid.md5 not found, cannot verify backup data
Error : run 'nandroid-mobile.sh restore' via adb!
I:Set boot command ""
I:Set boot command ""
I:Set boot command ""
Move recovery.log to SD
Press Trackball to confirm,
any other key to abort.
Moving : .unmounting /system
unmounting /sdcard
unmounting /data
So, what now? I can flash a new ROM, but I'd greatly prefer to have my nandroid restored, as it contains all the texts from my gf, and I want to keep them.

Well... as predicted, the log contains the source of your error:
Code:
...
Restore path: /sdcard/nandroid/HT9aaaannnnn/BDS-20110109-1844
error: /sdcard/nandroid/HT9aaaannnn/BDS-20110109-1844/nandroid.md5 not found, cannot verify backup data
...
Now, it is a mystery to me why the "nandroid.md5" file would not be found. It is always, always, always, created when a nandroid backup has been performed. If you didn't screw around with contents of your SD card, the only thing I can presume is that you filled up your SD card during the nandroid restore. That is to say - you had an error that occurred during the nandroid backup and you failed to take notice of it.
The "nandroid.md5" file contains the MD5 checksums of each of the backup images in the backup folder, so clearly it must be the last thing created... and so, if you filled up your SD card... it would fail to be created.
This is bad news on several fronts; let me explain why. First, though, here is an example of a file listing of one of my recent nandroid backups:
Code:
$ adb shell ls -l /sdcard/nandroid/HT*/BDS-CELBFroyo_3.9-20110109-1756/
----rwxr-x 1 system sdcard_r 2621440 Jan 9 17:56 boot.img
----rwxr-x 1 system sdcard_r 125323968 Jan 9 17:57 data.img
----rwxr-x 1 system sdcard_r 131 Jan 9 17:57 nandroid.md5
----rwxr-x 1 system sdcard_r 105811200 Jan 9 17:56 system.img
You will note a couple things about the above: first (from the file dates) the "data.img" and the "nandroid.md5" files are the last two files created during the backup on an Eris, and second - that "data.img" is a BIG file (125 MB in the above example).
That means that if you filled up the SD card writing a big file, the big file in question was probably "data.img". That's the file that contains all your user data and application settings - including your GF-related data. It is stored in a "yaffs2" archive format, and when it is unpacked during a nandroid restore operation, the /sbin/unyaffs command is used.
If you were to clean up your SD card, you could manually recreate a "nandroid.md5" file by hand, and then attempt a nandroid recovery.
Here is what a "nandroid.md5" file looks like:
Code:
$ adb shell cat /sdcard/nandroid/HT*/BDS-CELBFroyo_3.9-20110109-1756/nandroid.md5
b94da50ce57174e4a1583da1bf07071c boot.img
db9f1fc53f86a8186da448d0347d09d8 data.img
dc989fe4d74bdee8e9be0ff8cfc2075b system.img
Pretty simple, really. Just the MD5 checksum of each of the three files "boot.img", "data.img", and "system.img". There is a "md5sum" command available under Amon_RA, so it would be trivial for you to hack together a "nandroid.md5" file to place in your backup folder BDS-20110109-1844.
Now, you would be performing an "unyaffs" operation on a presumably corrupted "data.img" file - you might be able to get your data out of this operation, or maybe not. The resulting partially-restored system might go into a boot loop, as there are important files stored in /data/system (for instance).
good luck.
bftb0

To anybody else reading this thread, it is worthwhile to re-iterate two things about using Amon_RA's recovery:
[SIZE=+2]1) Amon_RA's original instructions in his announcement thread, to wit:[/SIZE]
"[SIZE=+1]Always check recovery.log before posting your issues![/SIZE]"
[SIZE=+2]2) Error conditions in Amon_RA [/SIZE]
[SIZE=+1]If an error occurs, you will see an "(E)" on your screen[/SIZE]
No blinking lights, no different text colors or bold fonts - you need to inspect the output of every command action that the Amon_RA recovery performs, and watch for the appearance of ANY line that contains an "(E)". Sometimes the associated error message is very brief - pay attention!
[SIZE=+1](E) means ERROR![/SIZE]
Don't ignore any (E) you see - (E) means ERROR!

Related

Vizio VTAB1008: Clockworkmod recovery initial release Dec 11, 2011

EDIT: March 18th, 2012: See note at bottom regarding upgrade to Honeycomb with CWM installed.
Clockworkmod recovery for the Vizio VTAB1008
As promised here it is.
Use this carefully. Any wrong commands can potentially brick your system
I was able to port Clockwork Mod Recovery to the Vizio and boot into it.
Many thanks to fadefx for testing it.
The zip file is attached to this post. Please unzip and read the instructions in README.txt. It is also given below. Please also read the Caveats below.
### Here is Clockworkmod Recovery for the Vizio VTAB1008 ###
### Released on Dec 11th, 2011 -- rprr ###
### Based on cyanogenmod sources and with some ###
### Vizio VTAB1008 specific mods ###
### Requirements ###
### You need 'adb' access on a rooted device Vizio tablet ###
### AN EXTERNAL MICRO SDCARD MUST BE PRESENT IN ORDER TO ###
### MAKE AND RESTORE BACKUPS. ###
### Installation ###
### The following copies the file to the root of your sdcard ###
adb push recovery-cwm-vtab1008.img /sdcard/recovery-cwm-vtab1008.img
### Login to adb shell ###
adb shell
### Become root ###
su
### The following installs CWM to the recovery partition ###
### Make sure to not make any mistakes here ###
dd if=/sdcard/recovery-cwm-vtab1008.img of=/dev/block/mmcblk0p5 bs=512
### Logout as root ###
exit
### Exit adb ###
exit
### Reboot into recovery ###
### ENJOY !!!! Be careful. ###
### Exercise caution when using this. ###
Click to expand...
Click to collapse
CAVEATS:
Display is in landscape mode only
Cannot restore the kernel and ramdisk backups yet
No ROM manager support yet
Also the edifying scripting has some issues with the mount command. Any commands that begin with
mount(.........)
Click to expand...
Click to collapse
should be replaced as in the following example
run_program("/sbin/busybox", "mount", "/system");
Click to expand...
Click to collapse
Original Recovery
WARNING IF YOU WANT TO UPGRADE to Honeycomb:
Some of us including me have had problems when we attempted to upgrade to Honeycomb with CWM installed. This has resulted in non working devices. It maybe due to CWM. If so, it is possible that you may have to revert back to the stock recovery. I am attaching it to this post. You have to unzip it, move it to the sdcard and then install it. Remember that root will be lost if you follow this.
Code:
dd if=/sdcard/recovery-orig.img of=/dev/block/mmcblk0p5 bs=512
I don't think the bootloader is located on /sdcard/ this partition is fat formatted and the bootloader would be visible to the user in some way either through a filenrowser or when mounted to a windows machine.
FadeFx said:
I don't think the bootloader is located on /sdcard/ this partition is fat formatted and the bootloader would be visible to the user in some way either through a filenrowser or when mounted to a windows machine.
Click to expand...
Click to collapse
Thanks. Using the mmls tool from Ubuntu, I was able to dig up a little further to find unallocated partitions etc. Here is the list.
$ mmls -t gpt mmcblk0.img
GUID Partition Table (EFI)
Offset Sector: 0
Units are in 512-byte sectors
Slot Start End Length Description
00: Meta 0000000000 0000000000 0000000001 Safety Table
01: ----- 0000000000 0000015359 0000015360 Unallocated
02: Meta 0000000001 0000000001 0000000001 GPT Header
03: Meta 0000000002 0000000033 0000000032 Partition Table
04: 11 0000015360 0000017407 0000002048 sm0
05: ----- 0000017408 0000019455 0000002048 Unallocated
06: 07 0000019456 0000035839 0000016384 kernel
07: 00 0000035840 0000052223 0000016384 ramdisk
08: 01 0000052224 0000502783 0000450560 android_system
09: ----- 0000502784 0000666623 0000163840 Unallocated
10: 02 0000666624 0002239487 0001572864 android_data
11: 08 0002239488 0002255871 0000016384 reckernel
12: 04 0002255872 0002272255 0000016384 recovery
13: 05 0002272256 0002273279 0000001024 misc
14: 09 0002273280 0002277375 0000004096 uli_r
15: 10 0002277376 0002281471 0000004096 uli_w
16: 12 0002281472 0002285567 0000004096 HDCP
17: 06 0002285568 0002695167 0000409600 cache
18: 03 0002695168 0007729083 0005033916 mass_storage
19: ----- 0007729084 0007729151 0000000068 Unallocated
Click to expand...
Click to collapse
So far, I have tried various hacks but just cannot get CWM to run on this However, if you are good with Linux/Unix command line stuff and with adb it is possible to make backups of the various partitions. Thus far, I have backed up and restored the recovery partition successfully. This is obviously a very dicey thing to do as it is possible to brick this device.
rprr said:
So far, I have tried various hacks but just cannot get CWM to run on this However, if you are good with Linux/Unix command line stuff and with adb it is possible to make backups of the various partitions. Thus far, I have backed up and restored the recovery partition successfully. This is obviously a very dicey thing to do as it is possible to brick this device.
Click to expand...
Click to collapse
well is there any way we can just modify the existing recovery menu?
plus you did get adb to work with it but that was a simple fix
In order to change the options you have to build the recovery program from the Android source code.
Good Morning! Just a quick note to say thanks for working on this! Keep going...I think you can, I think you can, I can think you can etc etc etc. hahaha
Rprr, i think you have to specify the partition reckernel somewhere in board config as it seams the recovery has its own kernel there and it needs to know where it is located.
Edit: finally obtained root using a win7 64bit machine, pdanet drivers and d00ml0rd v3 and adb files from sdk.
----------------------------------------
tapatalked
Obsolete: Please see OP.
Still no luck with CWM port. Anyway, here is my method for enabling adb when in recovery. This requires linux/unix terminal line usage. On my VTAB the recovery partition is at /dev/block/mmcblk0p5. I assume that this is the case with all Vizio vtab1008 tablets.
Proceed carefully. You can potentially damage your device.
1. Quick Way
Download my recovery-new.img.zip file which is attached to this post and unzip it. You will have a file called "recovery-new.img". Copy this to your sdcard. Then open an adb shell and become root. Run the following command.
Code:
dd if=/sdcard/recovery-new.img of=/dev/block/mmcblk0p5 bs=512
Now reboot into recovery. You will have adb access.
2. Long Way for DIYers
On VTAB using adb as root:
Code:
dd if=/dev/block/mmcblk0p5 of=/sdcard/recovery.img bs=512
On my Mac (in terminal), Should work on linux as well:
Code:
adb pull /sdcard/recovery.img
cp recovery.img recovery.cpio.gz
gunzip -f recovery.cpio.gz
mkdir recovery
cd recovery
cpio -i -F ../recovery.cpio
Edit the 'default.prop' to make the needed changes. It should look like.
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=1
On my Mac again:
Code:
cpio -i -t -F ../recovery.cpio | cpio -o -H newc -O ../recovery-new.cpio
cd ..
gzip recovery-new.cpio
dd if=/dev/zero of=recovery-new.img count=16384 bs=512
dd if=recovery-new.cpio.gz of=recovery-new.img conv=notrunc
adb push recovery-new.img /sdcard/recovery-new.img
On Vizio using adb as root:
Code:
dd if=/sdcard/recovery-new.img of=/dev/block/mmcblk0p5 bs=512
Now reboot VTAB into Recovery mode. You should have adb access.
PS: If you have made any mistakes, you can reflash the original recovery.
Code:
dd if=/sdcard/recovery-orig.img of=/dev/block/mmcblk0p5 bs=512
PPS: Once you have adb root shell access in recovery, you can backup and potentially restore the /system partition.
PPPS: I am also attaching the original recovery if you would like to flash it back using dd. It is called recovery-orig.img.zip. Please unzip it.
rprr said:
Still no luck with CWM port. Anyway, here is my method for enabling adb when in recovery. This requires linux/unix terminal line usage.
Proceed carefully. You can potentially damage your device.
On VTAB using adb as root:
Code:
dd if=/dev/block/mmcblk0p5 of=/sdcard/recovery.img bs=512
On my Mac (in terminal), Should work on linux as well:
Code:
adb pull /sdcard/recovery.img
cp recovery.img recovery.cpio.gz
gunzip -f recovery.cpio.gz
mkdir recovery
cd recovery
cpio -i -F ../recovery.cpio
Edit the 'default.prop' to make the needed changes. It should look like.
Code:
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=1
On my Mac again:
Code:
cpio -i -t -F ../recovery.cpio | cpio -o -H newc -O ../recovery-new.cpio
cd ..
gzip recovery-new.cpio
dd if=/dev/zero of=recovery-new.img count=16384 bs=512
dd if=recovery-new.cpio.gz of=recovery-new.img conv=notrunc
adb push recovery-new.img /sdcard/recovery-new.img
On Vizio using adb as root:
Code:
dd if=/sdcard/recovery-new.img of=/dev/block/mmcblk0p5 bs=512
Now reboot VTAB into Recovery mode. You should have adb access.
PS: If you have made any mistakes, you can reflash the original recovery.
Code:
dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p5 bs=512
PPS: Once you have adb root shell access in recovery, you can backup and potentially restore the /system partition.
PPPS: I am attaching my recovery-new.img. It is in zip format.
Click to expand...
Click to collapse
great tutorial i will give it a try, it would be nice if someone could do this and backup the system partition on a new vtab that way if something goes wrong you can reflash it
additional thoughts could this lead to rom porting as well http://android.modaco.com/topic/348695-guide-how-to-port-a-rom/
dylanparrish said:
great tutorial i will give it a try, it would be nice if someone could do this and backup the system partition on a new vtab that way if something goes wrong you can reflash it
Click to expand...
Click to collapse
Users cannot modify the system partition. Therefore the only difference between a new system partition and after rooting should be the root that were installed such as su, busybox etc.
PS: I assume that all Vizio tablets have the same partition structure with an 8MB recovery partition at /dev/block/mmcblk0p5.
rprr said:
Users cannot modify the system partition. Therefore the only difference between a new system partition and after rooting should be the root that were installed such as su, busybox etc.
PS: I assume that all Vizio tablets have the same partition structure with an 8MB recovery partition at /dev/block/mmcblk0p5.
Click to expand...
Click to collapse
But after root one can modify /system and thus brick the device. If wed have a backup we can dd it back while in recovery mode.
Yes, since there is only one vizio tablet model, all have the same partition layout.
----------------------------------------
tapatalked
Obsolete. Please see OP.
HOWTO: Backup/Recovery of /system using command line tools.
Once you have adb working in recovery mode this is what you can do to backup and recover your /system partition.
### Backup Procedure ###
Boot into recovery mode.
Code:
adb shell
You will get the following error. Ignore it.
Code:
sh: getcwd: No such file or directory
Now do the following. Assumes internal sdcard at mmcblk0p4 and /system at mmcblk0p2
Code:
cd /
mount -o rw -t vfat /dev/block/mmcblk0p4 /sdcard
dd if=/dev/block/mmcblk0p2 of=/sdcard/system.img bs=4096
The system.img file contains a backup of the /system. In principle one can recover from this.
### Recovery Procedure ###
Reboot into recovery.
Code:
adb shell
cd /
mount -o rw -t vfat /dev/block/mmcblk0p4 /sdcard
dd if=/sdcard/system.img of=/dev/block/mmcblk0p2 bs=4096
Reboot into normal mode.
I have not yet had a need to do the recovery part yet so that has not been tested by me.
HTH.
Linked in my howto thread...
----------------------------------------
tapatalked
I have not been able to get this to work. After booting into recovery my win7 sees the vtab as usb storage and not usb composite. I guess this is whats causing ADB to not see it as a device. Any suggestions?
grekco said:
I have not been able to get this to work. After booting into recovery my win7 sees the vtab as usb storage and not usb composite. I guess this is whats causing ADB to not see it as a device. Any suggestions?
Click to expand...
Click to collapse
I have been using a Mac. I don't know what would be causing this issue on Windows. In my situation I need to restart adb.
Good work as always rprr and fade... appreciate the time u guys are putting into this tab, i'm always checking the threads for updates.
error: device not found.
My computer says its connect and ready but adb not recognizing it. Any ideal?
abtxpress said:
error: device not found.
My computer says its connect and ready but adb not recognizing it. Any ideal?
Click to expand...
Click to collapse
Can you try "adb kill-server" followed by "adb start-server" before connecting the device? Then connect the device and do "adb devices".
Unfortunately I don't have easy access to a Windows machine.
Edit: I wonder if the Windows drivers required are different depending on whether one is accessing adb through recovery mode when compared to normal mode.
Update on CWM: Still no luck with CWM porting.
But,
I decided to go back to the android stock source source code for 2.3.2 which is on the Vizio tablet. This time I was able to build the recovery binary and then copy it to the recovery partition. I was able to get this to run but the graphics is all distorted in the following way.
1) I see 4 exclamation symbols in landscape mode and 2 recovery menus (see pic)
2) It does not respond to the volume buttons + power button
I am guessing that there are frame buffer issues + input issues.

[Q] ADB ROOT FIX/solution? (can't unlock ADB)

hello Guys,
a noob here..who searched the whole internet for a solution, with no luck.
I have Flytouch 3 Superpad2 with root access (Z4root.apk permanent root).
Now I want to have an " adb root" access to FT3.
but everytime it gives me error "cannot root as root in production builds".
it has to do with this: I edited "default.prop" to this, but doesnt stick after reboot, and doesnt help at all before the reboot.
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1
is there someone who can show me hot to get ADB ROOT ACCESS on my FT3.
Thank you.
you need to pull your current boot.img from your phone, unpack it, extract the ramdisk, and find the default.prop file. This is a plaintext file, which you need to open in a text editor and then find the line that contains the value ro.secure. If the line says ro.secure=1 then you need to change it to ro.secure=0. After that you can re-pack the ramdisk and boot.img, then flash it to your phone. Once you reboot, you will be greeted with a # prompt whenever you perform adb shell without having to run su.

SOLVED: URGENT HELP How To Make a Nandroid Backup from ADB Shell Command Line

Hi all,
I have a urgent question.
First of all thanks to everyone who reply to me.
Unfortunately I dropped my S3 to the floor and broke the screen.
Now I can't see anything and do not respond to touch.
I can change it for a new one on repair but I can't loose all my data and configs.
I want to make a nandroid backup but I can't see anything in the screen.
Perhaps someone could tell me how can I lauch the script for a full nandroid backup from the adb shell command line.
Or perhaps someone could guide me using the up/down volume buttons and the home or power buttons, but this is less reliable because options can change in quantity or order. I have a Galaxy S3 with recovery philz_touch_6.15.4-i9300
I have searched about "adb backup" and found about the adb backup command but this can not work for me because when I use the command it is supposed that a confirmation screen is opened and I have to "click" on something like a "permit backup" button, but I have my screen broken so I can not see anything (all is black) and touch do not work either.
Someone told me to enter recovery mode and then use this adb backup command but it only creates a cero bytes backup file and do anything more.
Someone told me to use "adb pull /data/*" but when I enter recovery mode and run adb shell, the /data/ folder is empty, I suppose that it is not mounted by default. Same for /system/ folder
How can I mount it in rw?
Another way: I have an automatic backup with titanium scheduled for next Sunday at 02:00
I have tried from adb shell to change date and time but got an error, gloogled it without solution
Command:
date -s 201403160150
Output:
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
date: can't set date: Unknown error -38
Sun Mar 16 01:50:00 GMT 2014
Any idea?
What I only can do is to connect via adb in recovery mode, (normal boot does not work adb, shows the device as offline, probably because need interaction to permit adb or anything else that now I can not do) and reboot in recovery or download mode.
I need to run the backup script to external sd via adb command as if I was in recovery and "click" on the backup to external sd option in recovery.
Or perhaps with a windows utility that can do a nandroid backup...
Is there any utility or something that can do a nandroid backup from adb or from download mode?
I will be very grateful to anyone who can help me.
Thanks in advance and best regards
SOLUTION:
Ok, it's solved
I got OnAndroid from here http://forum.xda-developers.com/showthread.php?t=1620255
Downloaded too the patch file from here https://github.com/ameer1234567890/OnlineNandroid/wiki/Supported-Devices
- Reboot into recovery
- adb shell
- mount /system
- mount /data
- mkdir /storage/sdcard1
- mount /dev/block/mmcblk1p1 /storage/sdcard1
- exit
- copy onandroid to where adb.exe is (platform-tools folder)
- adb pull onandroid /system/bin
- copy partlayout4nandroid to where adb.exe is (platform-tools folder)
- adb pull partlayout4nandroid /system
- adb shell
- onandroid -c S3Backup1
This will make a complete nandroid backup to /storage/sdcard1/clockworkmod/backup/S3Backup1
Then, when I receibe the new S3 I simply install recovery and restore the backup
Thanks all for your help
Try this:
https://plus.google.com/103583939320326217147/posts/Dr5urg4XY8Q
Sent from my GT-I9505G using Tapatalk
RK said:
Try this:
https://plus.google.com/103583939320326217147/posts/Dr5urg4XY8Q
Sent from my GT-I9505G using Tapatalk
Click to expand...
Click to collapse
dont work
"adb backup" creates cero size backup files, I don't know why
Thanks for your reply
Ok, I think it's solved
I will confirm it tomorrow, when I receive my new S3
By the way, I got OnAndroid from here http://forum.xda-developers.com/showthread.php?t=1620255
Downloaded too the patch file from here https://github.com/ameer1234567890/OnlineNandroid/wiki/Supported-Devices
- Reboot into recovery
- adb shell
- mount /system
- mount /data
- mkdir /storage/sdcard1
- mount /dev/block/mmcblk1p1 /storage/sdcard1
- exit
- copy onandroid to where adb.exe is (platform-tools folder)
- adb pull onandroid /system/bin
- copy partlayout4nandroid to where adb.exe is (platform-tools folder)
- adb pull partlayout4nandroid /system
- adb shell
- onandroid -c S3Backup1
This will make a complete nandroid backup to /storage/sdcard1/clockworkmod/backup/S3Backup1
Tomorrow I will try to restore this nandroid backup to my new phone and test if all is ok.
Thanks all for your help
Ok, confirmed, it works! XD
Edit the first post to give explanations of how to solve it.
Thanks all.

TWRP , extracttarfork() process ended with error=255, How to Fix.. ?

Hello ..
Someone help me.
i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this.
it happens when i am trying to restore FIRMWARE partition.
any solution . anyone facing this issue.. ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FurqanHanif said:
Hello ..
Someone help me.
i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this.
it happens when i am trying to restore FIRMWARE partition.
any solution . anyone facing this issue.. ?
Click to expand...
Click to collapse
Answered you in the TWRP thread. Check again.
FurqanHanif said:
Hello ..
Someone help me.
i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this.
it happens when i am trying to restore FIRMWARE partition.
any solution . anyone facing this issue.. ?
Click to expand...
Click to collapse
Just restore system, data,and boot , don't forget flash frimware..Done , solved.
sachin n said:
Answered you in the TWRP thread. Check again.
Click to expand...
Click to collapse
I am stuck with the same problem. Can you link me to your answer to him or just again tell me what's the solution?
Firmware was 90MB before, after trying to restore it, TWRP wiped it and now it's 23MB.
nilanko said:
I am stuck with the same problem. Can you link me to your answer to him or just again tell me what's the solution?
Firmware was 90MB before, after trying to restore it, TWRP wiped it and now it's 23MB.
Click to expand...
Click to collapse
The answer is to just restore system, data and boot. That's the way to go.
Sent from my mido using XDA Labs
I just restore system and data, but problem was occur like that. Any solution?
From my experience, i think it is because of miui rom??
After trying many time, I used this method .....
1. first wipe everything
2. flash original zip rom
3.then flash your backup
4. Flash lazyflasher
It will show error though but you will get radio working
Firmware Problem "extractTarFork process ended with ERROR 255"
In My case Firmware is not restoring
shoiwing error "extractTarFork process ended with ERROR 255"
so to solve it
1.Wipe data dalvik cache and system
2.Just flash the new rom which u had earlier.
for exp. i had lineage 14.1
3.After installing it ask for wipe dalvik and cache do it then dont wipe it from the main menu.
4.just restore the backuped file without ticking the firmware
Note-Firmware must be untick while restoring
5.done Problem of fingerprint scanner and network problem also solved by this
Note-Dont restart in between
if it helps you
Subscribe to My Youtube Channel youtube.com/AnonymAb
AmanBhagat said:
In My case Firmware is not restoring
shoiwing error "extractTarFork process ended with ERROR 255"
so to solve it
1.Wipe data dalvik cache and system
2.Just flash the new rom which u had earlier.
for exp. i had lineage 14.1
3.After installing it ask for wipe dalvik and cache do it then dont wipe it from the main menu.
4.just restore the backuped file without ticking the firmware
Note-Firmware must be untick while restoring
5.done Problem of fingerprint scanner and network problem also solved by this
Note-Dont restart in between
if it helps you
Subscribe to My Youtube Channel youtube.com/AnonymAb
Click to expand...
Click to collapse
does not work for me. do you have any other method?
FurqanHanif said:
Hello ..
Someone help me.
i Took Backup from Official TWRP but when i am trying to restore it giving me error=255 . How i fix this.
it happens when i am trying to restore FIRMWARE partition.
any solution . anyone facing this issue.. ?
Click to expand...
Click to collapse
sohanaw said:
does not work for me. do you have any other method?
Click to expand...
Click to collapse
That happened to me twice, loosing the imei.
To fix it, just restore or flash any rom you want, and follow this steps:
Extract NON-HLOS.bin file from official ROM.
Copy extracted NON-HLOS.bin to the adb/fastboot folder.
Boot your device into fastboot mode.
Connect your device to PC
In the folder with adb/fastboot tools press “Shift” key + right mouse button and select “Open command window here”.
Enter these commands in order:
Code:
Fastboot devices
Fastboot.exe erase modem
Fastboot.exe flash modem NON-HLOS.bin
Fastboot.exe reboot
Check your IMEI. It should be restored now.
ramping said:
That happened to me twice, loosing the imei.
To fix it, just restore or flash any rom you want, and follow this steps:
Extract NON-HLOS.bin file from official ROM.
Copy extracted NON-HLOS.bin to the adb/fastboot folder.
Boot your device into fastboot mode.
Connect your device to PC
In the folder with adb/fastboot tools press “Shift” key + right mouse button and select “Open command window here”.
Enter these commands in order:
Code:
Fastboot devices
Fastboot.exe erase modem
Fastboot.exe flash modem NON-HLOS.bin
Fastboot.exe reboot
Check your IMEI. It should be restored now.
Click to expand...
Click to collapse
modem is okay i am able to flash that.
but for me persist is showing 0mb in twrp and i am unable to flash persist i have tried fastboot miflash none worked for me .
please if you have any other method then share.
Go back to StockROM with the help of Xiaomi's tools
Had the same problem. The methods above didn't work for me, either.
I went back to StockROM with the tools provided on the Xiaomi website, the process will re-flash the firmware, too and all described problems will be solved. Make sure you'll untick "firmware" on the next time when trying a restore
ramping said:
That happened to me twice, loosing the imei.
To fix it, just restore or flash any rom you want, and follow this steps:
Extract NON-HLOS.bin file from official ROM.
Copy extracted NON-HLOS.bin to the adb/fastboot folder.
Boot your device into fastboot mode.
Connect your device to PC
In the folder with adb/fastboot tools press “Shift” key + right mouse button and select “Open command window here”.
Enter these commands in order:
Check your IMEI. It should be restored now.
Click to expand...
Click to collapse
Well what can i said??u really save my poor soul last night!!been 2 days searching for solution after error 255 on my redmi 5 plus,ur solution work perfectly n thank you brooooo!!!???
Sent from my Redmi 5 Plus using XDA Labs
well this is weird.
I'm having error 255 on firmware partition restore, no matter what I do (redmi note4x snapdragon global, nandroid backups from stock miui8.5-9.2 and LAOS15.1)
However using (at least some of) my backups with firmware unticked and then installing firmware from TWRP package does the trick, like this one below:
https://forum.xda-developers.com/re...irmware-firmware-miui-9-china-stable-t3697976
I had this problem on a Redmi Note 3 Pro/Qualcomm recently. It seems to me to be loosely correlated to the /data backup size, and seems to manifest just below 4GB, looks suspiciously like some 32bit counter/offset ... but .... in my case this seems to happen only in the first tar/win file which much < 2GB uncompressed anyway.
Interestingly, not all tar binaries are equal. The binary from LineageOS 14.1 crashes reading win000 files often if I try to test this from a terminal session when the phone is booted normally, however tar from TWRP does work and doesn't crash. Using tar from ubuntu 18.04 I can see all the files, however there are numerous reports of
Code:
tar: Malformed extended header: missing equal sign
Maybe this tar crash is also what is happening for the TWRP GUI using it's internal tar? Although this seems to be crashing when the recovery is nearing 4GB, however my tar crash seems to happen on the first segmented win000 file? Maybe it is related in some way to pigz which seems to be used by the TWRP GUI to compress/uncompress and it does multi-threading. I haven't looked at TWRP code.
I tried TWRP 3.1.1-0, and downloaded the latest 3.2.3-0 from twrp.me. Both failed in the same way.
I inspected some of the backups I had, finding decrypted /data space usage less /data/media:
Code:
$ ls -1
2018-09-06--12-41-18_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
2018-11-10--11-08-53_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
2019-01-10--10-01-22_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
2019-01-26--16-04-54_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
$ grep Data.backup.size */recovery.log|uniq|sed 's/\// /;s/--[^ ]* / /;s/:/ /'
2018-09-06 recovery.log I:Data backup size is 3464MB, free: 14062MB.
2018-09-06 recovery.log I:Data backup size is 3464MB, free: 11552MB.
2018-11-10 recovery.log I:Data backup size is 4622MB, free: 11065MB.
2018-11-10 recovery.log I:Data backup size is 4622MB, free: 7576MB.
2019-01-10 recovery.log I:Data backup size is 4041MB, free: 11284MB.
2019-01-10 recovery.log I:Data backup size is 4041MB, free: 8192MB.
2019-01-26 recovery.log I:Data backup size is 652MB, free: 24414MB.
$
I could restore 2018-09-06 and 2019-01-26 using TWRP GUI while the other 2 failed with error=255. Of the backups I could restore with the TWRP GUI, both backups are easily < 4GB. 2019-01-10 is just below, still no idea if it is related to 4GB. In each case I formatted /data before hand, so /data/media was empty, so there was 24GB of free space, so there was always at least 2 times, sometimes 5 times, the actual space required for the recovery available.
Irrespective of the actual failure mode, I was able to restore the other backups manually.
Interestingly when I examine the .win and .win000 files with
Code:
tar tvf file | sed 5q
I find that the single .win file backups need to be restored while current directory is /data whereas the multipart backups need to be restored while current directory is /.
Manual restore process from TWRP recovery shell :
Backup everything to storage external the phone, and then backup the backup.
Wipe /data. I prefer to format /data while also wipes /data/media = /sdcard as this guarantees /data is clean, however if your backups are stored in /sdcard/TWRP then you are going to need to either not format /data or restore them from your PC, or not store them in /sdcard/TWRP and store them on an external sdcard or external USB OTG drive. Actual location may vary depending on TWRP build. Determine the b= lines below appropriately.
Connect using adb shell. You could type this in using the TWRP Advanced Terminal, but error prone.
Make sure you have enough free space on /data to do the restore. You should have, but this is the manual process so cross check.
Restore the .win0?? files with tar.
Code:
... # PS1="# " # optional
# cd /location/TWRP/BACKUPS/serialnumber/2019-01-10* # location: sdcard sdcard1 usb-otg
# pwd # verify backup directory
/location/TWRP/BACKUPS/.../2019-01-10--10-01-22_...
# b=$(pwd) # remeber backup folder location
# ls -l data.*.win000 # verify backup file exists
-rw-rw---- 1 root sdcard_rw 1109681843 2019-01-26 11:02 data.ext4.win000
# for m in data*md5; do md5sum -c $m; done # verify md5 checksums of each tar/win file.
data.ext4.win000: OK
data.ext4.win001: OK
data.ext4.win002: OK
# cd /
# for w in $b/data*win0??; do echo recover $w; tar xpvf $w > $w.rec; echo; done
recover /.../data...win000
tar: removing leading '/' from member names
recover /.../data...win001
tar: removing leading '/' from member names
recover /.../data...win002
tar: removing leading '/' from member names
# cd $b
# wc -l data*rec # verify recovery of reasonable number of files
29346 data.ext4.win000.rec
343 data.ext4.win001.rec
1831 data.ext4.win002.rec
31520 total
# df /data
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/dm-0 25667344 15051056 10599904 59% /data
#
Reboot
Download latest mido firmware and flash through twrp.
If you are on mido here is the solution i used
I flashed the last rom i had ( for my case :miui.eu 10.3 oreo port )
Then wipe data
The flashed the miui 10.1.1.0 for mido
And wait for it to boot up and you will be fine
You can update after to 10.2.3.0
The good fix!!!
TWRP always skip data/media in backup or restore. This is a problem!
Restoring procedure "automatic format" skipped data/media folder, only delete other folders. "Wiping data without wiping data/media ..."
To delete data partition completly:
1. Go to Wipe menu
2. Wipe Data
3. Yes (all data, audio, video, etc deleted)
4. Go to Restore menu
5. Restore Data partition
Restore completed without error!
samarium said:
I had this problem on a Redmi Note 3 Pro/Qualcomm recently. It seems to me to be loosely correlated to the /data backup size, and seems to manifest just below 4GB, looks suspiciously like some 32bit counter/offset ... but .... in my case this seems to happen only in the first tar/win file which much < 2GB uncompressed anyway.
Interestingly, not all tar binaries are equal. The binary from LineageOS 14.1 crashes reading win000 files often if I try to test this from a terminal session when the phone is booted normally, however tar from TWRP does work and doesn't crash. Using tar from ubuntu 18.04 I can see all the files, however there are numerous reports of
Code:
tar: Malformed extended header: missing equal sign
Maybe this tar crash is also what is happening for the TWRP GUI using it's internal tar? Although this seems to be crashing when the recovery is nearing 4GB, however my tar crash seems to happen on the first segmented win000 file? Maybe it is related in some way to pigz which seems to be used by the TWRP GUI to compress/uncompress and it does multi-threading. I haven't looked at TWRP code.
I tried TWRP 3.1.1-0, and downloaded the latest 3.2.3-0 from twrp.me. Both failed in the same way.
I inspected some of the backups I had, finding decrypted /data space usage less /data/media:
Code:
$ ls -1
2018-09-06--12-41-18_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
2018-11-10--11-08-53_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
2019-01-10--10-01-22_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
2019-01-26--16-04-54_lineage_kenzo-userdebug_7.1.2_NJH47F_02865f
$ grep Data.backup.size */recovery.log|uniq|sed 's/\// /;s/--[^ ]* / /;s/:/ /'
2018-09-06 recovery.log I:Data backup size is 3464MB, free: 14062MB.
2018-09-06 recovery.log I:Data backup size is 3464MB, free: 11552MB.
2018-11-10 recovery.log I:Data backup size is 4622MB, free: 11065MB.
2018-11-10 recovery.log I:Data backup size is 4622MB, free: 7576MB.
2019-01-10 recovery.log I:Data backup size is 4041MB, free: 11284MB.
2019-01-10 recovery.log I:Data backup size is 4041MB, free: 8192MB.
2019-01-26 recovery.log I:Data backup size is 652MB, free: 24414MB.
$
I could restore 2018-09-06 and 2019-01-26 using TWRP GUI while the other 2 failed with error=255. Of the backups I could restore with the TWRP GUI, both backups are easily < 4GB. 2019-01-10 is just below, still no idea if it is related to 4GB. In each case I formatted /data before hand, so /data/media was empty, so there was 24GB of free space, so there was always at least 2 times, sometimes 5 times, the actual space required for the recovery available.
Irrespective of the actual failure mode, I was able to restore the other backups manually.
Interestingly when I examine the .win and .win000 files with
Code:
tar tvf file | sed 5q
I find that the single .win file backups need to be restored while current directory is /data whereas the multipart backups need to be restored while current directory is /.
Manual restore process from TWRP recovery shell :
Backup everything to storage external the phone, and then backup the backup.
Wipe /data. I prefer to format /data while also wipes /data/media = /sdcard as this guarantees /data is clean, however if your backups are stored in /sdcard/TWRP then you are going to need to either not format /data or restore them from your PC, or not store them in /sdcard/TWRP and store them on an external sdcard or external USB OTG drive. Actual location may vary depending on TWRP build. Determine the b= lines below appropriately.
Connect using adb shell. You could type this in using the TWRP Advanced Terminal, but error prone.
Make sure you have enough free space on /data to do the restore. You should have, but this is the manual process so cross check.
Restore the .win0?? files with tar.
Code:
... # PS1="# " # optional
# cd /location/TWRP/BACKUPS/serialnumber/2019-01-10* # location: sdcard sdcard1 usb-otg
# pwd # verify backup directory
/location/TWRP/BACKUPS/.../2019-01-10--10-01-22_...
# b=$(pwd) # remeber backup folder location
# ls -l data.*.win000 # verify backup file exists
-rw-rw---- 1 root sdcard_rw 1109681843 2019-01-26 11:02 data.ext4.win000
# for m in data*md5; do md5sum -c $m; done # verify md5 checksums of each tar/win file.
data.ext4.win000: OK
data.ext4.win001: OK
data.ext4.win002: OK
# cd /
# for w in $b/data*win0??; do echo recover $w; tar xpvf $w > $w.rec; echo; done
recover /.../data...win000
tar: removing leading '/' from member names
recover /.../data...win001
tar: removing leading '/' from member names
recover /.../data...win002
tar: removing leading '/' from member names
# cd $b
# wc -l data*rec # verify recovery of reasonable number of files
29346 data.ext4.win000.rec
343 data.ext4.win001.rec
1831 data.ext4.win002.rec
31520 total
# df /data
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/block/dm-0 25667344 15051056 10599904 59% /data
#
Reboot
Click to expand...
Click to collapse
Did your instructions. When running the recover command, I have some errors: Cannot remove file: Is a directory / Or "File exists"
When I am finished, I run "df" and 30% of disk is used which seems ok. But when I check /sdcard folder, nothing appears there... It is like it was recovered but somewhere else.
Do you have any clue?
Sorry,
today for the first time i must restore a nandroid backup (recovery 3.2.1.2) in my xiaomi mi a1: i meet the exact error of this thread, "extractTarFork process ended with ERROR 255".
How can i restore all my backup without problem?
tnx

Dead screen, TWRP3.0 adb backup = error:Backup name contains invalid characters

I have a Galaxy Note 4 with a dead screen (digitizer seems at least partially functional), with TWRP, root and debugging on. I need to backup through adb shell twrp (command list), but there's not enough space to backup the "data" partition in the default location (I already backed up all other partitions successfully, though. Here's the log
Code:
~ # ←[6ntwrp backup SCRBA /sdcard/TWRP
Backup folder set to '/sdcard/TWRP'
Backup name '/sdcard/TWRP' contains invalid character: '/sdcard/TWRP'
Done processing script file
~ # ←[6ntwrp backup SCRBA
Setting backup options:
System
Cache
Recovery
Boot
Android Secure
Updating partition details...
...done
Unable to locate '/and-sec' partition for backup calculations.
* Total number of partitions to back up: 4
* Total size of all data: 2241MB
* Available space: 10662MB
[BACKUP STARTED]
* Backup Folder: /data/media/0/TWRP/BACKUPS/7bb6e4fd/2019-12-07--17-37-28/
Backing up System...
Breaking backup file into multiple archives...
Splitting thread ID 0 into archive 2
* Generating md5...
* MD5 Created.
Backing up Cache...
* Generating md5...
* MD5 Created.
Backing up Recovery...
* Generating md5...
* MD5 Created.
Backing up Boot...
* Generating md5...
* MD5 Created.
Unable to locate '/and-sec' partition for backup calculations.
Average backup rate for file systems: 4 MB/sec
Average backup rate for imaged drives: 3 MB/sec
[2171 MB TOTAL BACKED UP]
Updating partition details...
...done
[BACKUP COMPLETED IN 520 SECONDS]
Backup Complete
Done processing script file
). So I need to backup to the external micro sd (or PC, but that's impossible with my current TWRP 3.0.2.0, and I don't know what will happen if I flash at least 3.1 - the first one with an implementation of direct backup to PC. Tried tetherback, but it just backs up the first few MBs of the first partition and then throws errors, no matter which Python version I use) But whenever I try specifying a different folder name, I get an error: ~
Code:
# ←[6ntwrp backup DA /storage/6DF9-4045/TWRP
Backup folder set to '/storage/6DF9-4045/TWRP'
Backup name '/storage/6DF9-4045/TWRP' contains invalid character: '/storage/6DF9
-4045/TWRP'
Done processing script file
I've tried a lot of paths, like "/external_sd/TWRP", "/sdcard/TWRP", "/external_sd", "external_sd" etc., but to no avail. It might be I'm just typing in wrong paths somehow, but I looked them up through "adb shell ls". There's also that "twrp cmd" command, maybe I'm supposed to do something with that, but there's not enough documentation. What should I do to backup to external sd?
I flashed a newer TWRP, and succeeded in backing up to PC with "adb backup --twrp data". But I couldn't extract or open the .ab file with Droid Explorer, Titanium Backup, android-backup-extractor. I ended up removing some folders I knew I wouldn't need from /data/data with "adb shell rm -r". Now data partition is small enough for the internal memory. I still would like to know why I couldn't set the path to external_sd, though, but technically the problem is solved.

Categories

Resources