GithubHelp home page GithubHelp logo

ameer1234567890 / onlinenandroid Goto Github PK

View Code? Open in Web Editor NEW
115.0 30.0 46.0 4.7 MB

Nandroid Backup without Reboot

License: Other

Mako 3.03% Shell 78.79% Ruby 7.39% Grace 5.21% M4 4.33% P4 1.26%

onlinenandroid's Introduction

Nandroid backups are usually performed in recovery mode. This means you would have to turn off your phone and reboot in recovery mode, which wastes a whole lot of time rebooting and a lot more time offline. For me, this has been a killer as I do regular nandroid backups. Having to reboot in recovery and finding missed calls, sms from my wife and friends is totally not accepatable for me. So, I set to develop an online nandroid backup tool, namely Online Nandroid, which can do nandroid backups without switching off my phone.

Today I am releasing it to public, as it may serve good for some others too. Originally I developed Online Nandroid specifically for Xperia devices, but now I am releasing it for all android devices.

This tool, eventhough called "Online Nandroid", does not upload/save backups to any online/cloud services. Online here means that it does backup while phone is live or still running Android.

The short name onandroid is meant to be pronouced as o-nandroid or o'nandroid and NOT on-android.

Online Nandroid backups the below partitions to /sdcard/clockworkmod/backup directory.

  • mmcblk0_start (for Acer devices)
  • uboot (for MTK based devices)
  • boot
  • recovery
  • wimax (for Samsung devices)
  • appslog (for HTC and Sony (Ericsson) devices)
  • kernel
  • modem
  • Trim Area / TA (for Sony devices)
  • system
  • data
  • cache
  • datadata (for Samsung devices)
  • data/data (for HTC devices)
  • efs (for Samsung devices)
  • preload (for Samsung devices)
  • .cust_backup (for Huawei devices)
  • flexrom (for Acer devices)
  • custpack (for Alcatel devices)
  • mobile_info (for Alcatel devices)
  • .android_secure
  • sd-ext

The date format used for folder name is the same used by CWM itself and nandroid backups created with Online Nandroid can safely be restored using CWM, TWRP and 4EXT recoveries.

Feedback (especially ideas to improve) are most welcome.

onlinenandroid's People

Contributors

ameer1234567890 avatar averbeck avatar beerbong avatar omarbizreh avatar stevenh512 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

onlinenandroid's Issues

Data partition size calculated incorrectly when specifying the --exclude-gmusic flag

When specifying the --exclude-gmusic flag the size of the music directory is not subtracted from the calculated /data partition size. The required space calculation is over-estimated, which can cause an unnecessary exit with the E_NOSPACE error.

The data partition size check should do something similar to how it handles $data_mount/media, such as:

if $bb [ "$exclude_gmusic" == "yes" ]; then
    u_datagmusic=`$bb du -sm $data_mount/data/com.google.android.music/files/* | tail -n 1 | $bb awk '{print $1}'`
    u_data=`$bb expr $u_data - $u_datagmusic`
fi

error on restore

using onandroid -w I was able to create a backup but when I tried to restore I got errors like "unable to locate partition by backup name" for "and-sec" and "modem" and then sends you into a bootloop when you try to restart. I'm using TWRP 2.8.6.0 on a RAZR M

Partition patch filenames are not always the same than those determined by CyanogenMod

Hi,

I just noticed that for some devices, the partition patch filename is not the same than the one determined by the CyanogenMod team.

By example, Samsung Galaxy S is called galaxys by CyanogenMod and not i9000 (http://get.cm/).

I also noticed that the name used by CyanogenMod are re used by other application like Rom Manager by example and many build.prop files in custom Rom.

I think it would be better for compatibility reason and for ease to manage patch filename in third party programs to rename the file according to the one used as standards in the "Rom Industry" (if there is one :-).

I can provide a list of all known devices (technical name + commercial name) if you want it.

FYI, for some devices, mtd suffix has been added to the ROM name as the ROM uses mtd partition system. This has not, in my opinion, to be integrated in the patch filename as it is not about the device itself.

Regards

How to backup directly to network?

I made the mistake of buying the 8GB Nexus 4. It's incredibly hard to back up since each backup requires 2-3 GB of free space.

The solution, barring buying a new device, would be to have a backup that goes directly to the network. Some potential solutions off the top of my head:

  • Flash an NFS/SMB-supporting kernel; hack onandroid to mount (if need be) and backup to those remotely-mounted directories
  • Hack onandroid to somehow use nc or ssh to write out files.

I'm not familiar with the onandroid script so I don't know how feasible any of this is. I also don't know if I have time to hack any of this. I'm just wondering what's possible. Any ideas or suggestions?

Or you can consider this an enhancement request :)

Would be good to add TAGs to commit :-)

Hi Ameer,

I noticed you are not using TAG in your GIT commit.

It may be useful to navigate to a previous version of the script as I am doing right now :-)

Regards

Create ROM zip file ready to flash

Hi,

I just found your script which works pretty well on my device.

As you may know last version of CWM makes possible to create a ROM zip file ready to flash.

It's jsut a backup without the user data packaged in zip file with needed script to be flashed from CWM.

I'm sure it shouldn't be difficult to add this function on your script. You may even have a look on the created zip files build by CWM to have an idea of the scripts to include.

Do you plan to add this function?

Michael

"SD card not found!" error

Hello,
I get an error "SD card not found!" on Nexus 7 with Jelly Bean 4.1.1.
thank you

Online Nandroid v5.1
Started at Sat Aug 4 11:51:10 CEST 2012

Run with options:

File System Layout:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/platform/sdhci-tegra.3/by-name/APP on /system type ext4 (ro,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/CAC on /cache type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /data type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered)
/dev/fuse on /storage/sdcard0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/dm-0 on /mnt/asec/com.speedsoftware.sqleditor-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-1 on /mnt/asec/com.interactica.vedidev.bugs-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-2 on /mnt/asec/com.koushikdutta.rommanager.license-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-3 on /mnt/asec/com.mxtech.videoplayer.pro-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-4 on /mnt/asec/com.mojang.minecraftpe-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-5 on /mnt/asec/com.rovio.amazingalexHD-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-6 on /mnt/asec/com.microsoft.Kinectimals-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-7 on /mnt/asec/com.noinnion.android.greader.readerpro-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-8 on /mnt/asec/ch.teamtasks.tasks.paid-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-9 on /mnt/asec/com.disney.brave_google-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-10 on /mnt/asec/com.pvy.batterybarpro-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-11 on /mnt/asec/com.mhuang.overclocking-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-12 on /mnt/asec/com.nextgenreality.minimoto-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-13 on /mnt/asec/interactica.amos-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-14 on /mnt/asec/com.halfbrick.fruitninja-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-15 on /mnt/asec/interactica.aquarium-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-16 on /mnt/asec/com.jrummy.font.installer.license-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-17 on /mnt/asec/de.cedata.android.squeezecommander-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-18 on /mnt/asec/com.slubdev.android.sabnzbdclient-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-19 on /mnt/asec/com.touchtype.swiftkey.tablet.full-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)

09:51:11 Checking for root permissions...
09:51:11 Root permissions aquired!
09:51:11 Analysing power...
09:51:11 Sufficient power available!
09:51:11 Searching for SD card...
09:51:11 SD card not found! Exiting...
Mounts:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/platform/sdhci-tegra.3/by-name/APP on /system type ext4 (ro,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/CAC on /cache type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered)
/dev/block/platform/sdhci-tegra.3/by-name/UDA on /data type ext4 (rw,nosuid,nodev,noatime,errors=panic,user_xattr,acl,barrier=1,nomblk_io_submit,data=ordered)
/dev/fuse on /storage/sdcard0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
/dev/block/dm-0 on /mnt/asec/com.speedsoftware.sqleditor-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-1 on /mnt/asec/com.interactica.vedidev.bugs-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-2 on /mnt/asec/com.koushikdutta.rommanager.license-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-3 on /mnt/asec/com.mxtech.videoplayer.pro-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-4 on /mnt/asec/com.mojang.minecraftpe-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-5 on /mnt/asec/com.rovio.amazingalexHD-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-6 on /mnt/asec/com.microsoft.Kinectimals-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-7 on /mnt/asec/com.noinnion.android.greader.readerpro-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-8 on /mnt/asec/ch.teamtasks.tasks.paid-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-9 on /mnt/asec/com.disney.brave_google-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-10 on /mnt/asec/com.pvy.batterybarpro-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-11 on /mnt/asec/com.mhuang.overclocking-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-12 on /mnt/asec/com.nextgenreality.minimoto-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-13 on /mnt/asec/interactica.amos-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-14 on /mnt/asec/com.halfbrick.fruitninja-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-15 on /mnt/asec/interactica.aquarium-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-16 on /mnt/asec/com.jrummy.font.installer.license-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-17 on /mnt/asec/de.cedata.android.squeezecommander-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-18 on /mnt/asec/com.slubdev.android.sabnzbdclient-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)
/dev/block/dm-19 on /mnt/asec/com.touchtype.swiftkey.tablet.full-1 type ext4 (ro,dirsync,nosuid,nodev,noatime,user_xattr,acl,barrier=1)

boot and recovery partition not detectable

boot and recovery partitions are not detectable on some devices for which /proc/mtd and /proc/emmc does not exist.
Here is a zip file to flash in recovery for such devices. After flashing this file, run Online Nandroid as usual and it should detect and backup boot and recovery partitions.

WARNING: Do not flash a zip file which is not for your device. If you are unsure, ask in a comment.

List moved here

LG G4

Hey,
I have an Lg g4, app says my device is P1, which huawei Ascend,
Is that OK?
Thanks

Nexus 5 EFS partion(s) can't be backed up

I don't know how to backup the Nexus 5 EFS partition. "onandroid -twrp -a e" doesn't do anything.

So I thought EFS must be the modem. I tried backing up the modem using "onandroid -twrp -a q". But that produces a file which TWRP won't recognize. So you can't select it for restore. Says something like "Didn't recognize file based on name 'modem'". Also the file is bigger than that TWRP produces, when EFS is backed up via recovery. So I guess modem != EFS.

I've read through the TWRP created logfile and it seems EFS partitions are modemst1 and modemst2 on mmcblk0p12 and mmcblk0p13 respectively. But I can't see how you'd backup those, using onandroid.

So I'm a little confused, as you can possibly see. I hope I'm making myself clear enough for you to see what the problem is.

Bauhn Tablet AMID-9743G

Hi Ameer,

I've got a Bauhn Android tablet model AMID-9743G. It's running a Mediatek MT6577 cpu. /proc/mtd is empty, but /proc/emmc contains this:
emmc_p1: 00000020 00000002 "ebr1"
emmc_p2: 0000ac40 00002800 "sec_ro"
emmc_p3: 00010740 000f9800 "android"
emmc_p4: 0010a740 00031800 "cache"
emmc_p5: 0013c740 001ff800 "usrdata"
emmc_p6: 0033c740 01a181c0 "fat"

Also, in / I can see this:
emmc@android -> /dev/block/mmcblk0p3
emmc@cache -> /dev/block/mmcblk0p4
emmc@ebr1 -> /dev/block/mmcblk0p1
emmc@fat -> /dev/block/mmcblk0p6
emmc@sec_ro -> /dev/block/mmcblk0p2
emmc@usrdata -> /dev/block/mmcblk0p5

Can you please write a patch for this Bauhn tablet so that I can extract the recovery.img with romdump? Let me know if you need more information.

Thanks very much!

Huawei Y210D

Is there support for Huawei Y210D on Nandroid backup?

Where can I get the PID?

In some changelog (v 7 I think) you said the script would generate the PID somewhere inside a file.

Added: Output PID to onandroid.pid file upon each run.

Can you give the path of the file containing the PID?

Regards

Can't perform backup - "Could not acquire root permissions!" and other messages

Tried:
different emulators - both get supersu prompt about having been granted permission
I am rooted, works for other apps that requires its such as titanium backup
also getting # in emulator
flashed part_detect 2 times
flashed onandroid a second time then flashed part_detect again
tried installing superuser
100% sure I have the correct part_detect file

User in thread has same problem, no answer
http://forum.xda-developers.com/showthread.php?p=39959804&highlight=could+not+acquire+root+permissions+exiting+#post39959804

device info:
s3 GT-I9300
4.1.2 stock ROM
rooted with CWM

log:
u0_a131@android:/ $ su
root@android:/ # onandroid -p -pp
/system/bin/onandroid[55]: which: not found
/system/bin/onandroid[624]: expr: not found
/system/bin/onandroid[624]: expr: not found

Online Nandroid Backup v8.11

  • A tool to perform a nandroid backup
    without booting into recovery.
  • It is fully compatible with nandroid.
  • Type 'onandroid --help' for usage
    instructions.
  • Created by Ameer Dawood
    ##########################################

/system/bin/onandroid[642]: which: not found
/system/bin/onandroid[643]: which: not found
/system/bin/onandroid[644]: which: not found
/system/bin/onandroid[645]: which: not found
/system/bin/onandroid[646]: grep: not found
/system/bin/onandroid[646]: which: not found
/system/bin/onandroid[647]: which: not found
/system/bin/onandroid[648]: grep: not found
/system/bin/onandroid[648]: which: not found
/system/bin/onandroid[649]: which: not found
/system/bin/onandroid[650]: grep: not found
/system/bin/onandroid[650]: grep: not found
/system/bin/onandroid[650]: which: not found
/system/bin/onandroid[651]: which: not found
/system/bin/onandroid[668]: head: not found
/system/bin/onandroid[668]: which: not found
/system/bin/onandroid[669]: which: not found
/system/bin/onandroid[694]: grep: not found
/system/bin/onandroid[700]: grep: not found
18:44:12 Using busybox from:
/system/bin/onandroid[711]: which: not found
18:44:12 Checking for root permissions...
/system/bin/onandroid[714]: which: not found
18:44:12 Could not acquire root permissions! Exiting...
/system/bin/onandroid[721]: which: not found
/system/bin/onandroid[721]: which: not found
65|root@android:/ #

can find only /data

I try it on ZiiO7 with release 5.3 and 5.9 with same result

$ export PATH=/data/local/bin:$PATH
$ su

onandroid

Online Nandroid Backup v5.3

  • A tool to perform a nandroid backup
    without booting into recovery.
  • It is fully compatible with nandroid.
  • Type 'onandroid --help' for usage
    instructions.
  • Created by Ameer Dawood
    ##########################################

04:35:44 Checking for root permissions...
04:35:44 Root permissions aquired!
04:35:44 Analysing power...
04:35:44 Sufficient power available!
04:35:44 Searching for SD card...
04:35:44 SD card found!
04:35:44 Checking for required tools...
04:35:44 All required tools available!
04:35:44 Checking disk space...
04:35:44 SD Card Free Space: 2668 MB
04:35:44 Required Space: 1703 MB
04:35:44 Necessary disk space available!
04:35:45 Creating backup directory...
04:35:45 Backing up to /mnt/sdcard/clockworkmod/backup/2012-08-23.04.35.44
04:35:45 /boot not found! Skipping backup of /boot!
04:35:45 /recovery not found! Skipping backup of /recovery!
04:35:45 /wimax not found! Skipping backup of /wimax!
04:35:45 /appslog not found! Skipping backup of /appslog!
04:35:45 /system not found! Skipping backup of /system!
04:35:45 Backing up /data.......................tar: data/system/wpa_supplicant/wifi0: socket ignored
.........................tar: data/misc/wifi/sockets/wpa_ctrl_789-7: socket ignored
tar: data/misc/wifi/sockets/wpa_ctrl_789-8: socket ignored
.
04:37:20 Backing up /cache....
04:37:23 /datadata not found! Skipping backup of /datadata!
04:37:23 /efs not found! Skipping backup of /efs!
04:37:23 Backing up .android_secure....
04:37:30 sd-ext not found! Skipping backup of sd-ext!
04:37:30 Generating md5sum...
04:37:32 Verifying md5sum.........
04:37:44 Online Nandroid Backup Completed in 2 minutes 0 seconds!
sleep: invalid number '0.5'
sleep: invalid number '0.2'
sleep: invalid number '0.5'

fsinfo file not generates for 4EXT and md5sum invalidation

When CWM style backups made with Online Nandroid, are restore in 4EXT recovery, 4EXT creates the missing fsinfo file and thus invalidates md5sum file. The restore attempt, however, works perfectly. Only, any future restore attempts of the same backup gives md5sum mismatch error due to the additionally created fsinfo file.

Details about this, with relavant logs, ae provided here: Details, Restore log from 4EXT, Online Nandroid's Log

This issue isn't major, since all CWM backups (even those done with CWM) has the same side-affect.

fails checking disk space

Samsung Galaxy Victory

app_145@android:/ $ su
root@android:/ # onandroid -w

Online Nandroid Backup v9.51

  • A tool to perform a nandroid backup
    without booting into recovery.
  • It is fully compatible with nandroid.
  • Type 'onandroid --help' for usage
    instructions.
  • Created by Ameer Dawood
    ##########################################

02:44:18 Using busybox from: busybox
02:44:18 Checking for root permissions...
02:44:18 Root permissions acquired!
02:44:18 Analysing battery level...
02:44:19 Sufficient battery available!
02:44:19 Checking version of BusyBox installed...
02:44:19 BusyBox version 1.20 or above installed!
02:44:19 Searching for SD card...
02:44:19 SD card found!
02:44:19 TWRP backup mode selected at run time!
02:44:19 Checking for required tools...
02:44:19 All required tools available!
02:44:19 Checking disk space...
Segmentation fault
expr: syntax error
Segmentation fault
expr: syntax error
expr: syntax error
[: 10: unknown operand
Segmentation fault
expr: syntax error
Segmentation fault
expr: syntax error
Segmentation fault
expr: syntax error
expr: non-numeric argument
Segmentation fault
02:44:20 SD Card Free Space: MB
02:44:20 Required Space: MB
02:44:20 Not enough disk space! Exiting...
cat: can't open 'not_found': No such file or directory
mountpoint: /mnt/sdext4nandroid/sd-ext: No such file or directory
86|root@android:/ #

backup to fifo

Hi. Can you please add an option "Backup to FIFO"? Having it will simplify making backups to PC without a need to have extra space on the SD card, like:
adb shell cat /path/to/fifo > nandroid-backup.tgz

TWRP Argument list too long

I receive the following error when backing up the Data partition via adb shell:

Backing up /data... /system/bin/onandroid[1876]: busybox: Argument list too long

The backups had been working just recently and I can't think of any changes to the system I have done. I am running the Xposed framework but disabling that doesn't fix the issue. If I backup using -o instead of -w I encounter no errors.

Recovery log:

Online Nandroid v9.20
Started at Wed Apr  9 10:22:17 WST 2014
###########################

Run with options: -w -md -pp -xg -xd --custom 2014-04-09 --storage /sdcard -cg -r

###########################

Busybox: BusyBox v1.22.1-Stericson (2014-01-25 17:27:18 CET) multi-call binary.

###########################

File System Layout:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000)
tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/platform/msm_sdcc.1/by-name/system on /system type ext4 (ro,seclabel,relatime,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/persist on /persist type ext4 (rw,seclabel,nosuid,nodev,relatime,nomblk_io_submit,nodelalloc,errors=panic,data=ordered)
/dev/block/platform/msm_sdcc.1/by-name/modem on /firmware type vfat (ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/dm-0 on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered)
/dev/fuse on /mnt/shell/emulated type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
###########################

Device Details:
ro.product.model=Nexus 5
ro.product.brand=google
ro.product.name=hammerhead
ro.product.device=hammerhead
ro.product.board=hammerhead
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=LGE
###########################

Recovery:
Generic recovery.
###########################

Language File:
Not found!
###########################

02:22:17 Using busybox from: busybox
02:22:17 Checking for root permissions...
02:22:17 Root permissions acquired!
02:22:17 Analysing battery level...
02:22:17 Sufficient battery available!
02:22:17 Checking version of BusyBox installed...
02:22:17 BusyBox version 1.20 or above installed!
02:22:17 Searching for SD card...
02:22:17 Alternate storage media provided!
02:22:17 This device has a patch file installed!
02:22:17 TWRP backup mode selected at run time!
02:22:17 TWRP compression (gzip) enabled at run time!
02:22:17 Checking for required tools...
02:22:17 All required tools available!
02:22:17 Replace backup mode selected at run time!
02:22:17 Checking disk space...
02:22:18 SD Card Free Space: 23572 MB
02:22:18 Required Space: 3596 MB
02:22:18 Necessary disk space available!
02:22:18 Detecting mountpoints to exclude...
02:22:18 Backing up to /sdcard/TWRP/BACKUPS/032a9e25d0234661/2014-04-09
02:22:18 Backing up the old backup for replace operation...\c
02:22:20 Backing up /boot...\c
02:22:22 Backing up /recovery...\c
02:22:24 Backing up /system...\c
02:33:17 Backing up /data...\c
02:55:23 Backing up /cache...\c
02:55:27 Replacing old backup with new backup...\c
02:55:31 Online Nandroid Backup Completed in 33 minutes 14 seconds!
###########################

Files Backed-up:
"-rw-rw----    1         0 Apr  9 02:09 .list_generating
-rw-rw----    1  23068672 Apr  9 02:22 boot.emmc.win
-rw-rw----    1      4829 Apr  9 02:55 cache.ext4.win
-rw-rw----    1         0 Apr  9 02:09 data.ext4.win
-rw-rw----    1 853537084 Apr  9 02:55 data.ext4.win000
-rw-rw----    1  23068672 Apr  9 02:22 recovery.emmc.win
-rw-rw----    1 419712945 Apr  9 02:33 system.ext4.win
drwxrwx---    2      4096 Apr  9 02:09 tmp"

Device: Nexus 5
Recovery: TWRP 2.7
Android Version: 4.4.2 (Stock)
Kernel: 3.4.0-gadb2201 (Stock)

properly installing device patches

Hi,
I have a SGH-T399n Samsung Galaxy Lite that I rooted. I installed your patch for my device but your main application still doesn't recognize my phone. Any suggestions?

Samsung Y GT-S5360B Device Not Listed

Would like to know if the S5360B can use the S5360 zip, or if a new one is needed?

(I assume a new one needs to be made for this phone)

Android: 2.3.6
Samsung Galaxy Y
Purchased in Thailand

Backup via ssh

Hello.
I have edited this script so that it sends backup to server via ssh, here is a patch: http://pastebin.com/Y1E2rhWZ
It still needs work over it, but it works and i guess it's something to start with in terms of "cloud backup". Few additions need to be deleted as they are not needed.
The reason i made this is that i always only have like 1 gb of space left on my device so i decided to send backup on-the-fly to server so it doesn't need free space at all.
Performance wise:
For me creating and uploading full backup takes around ~30-40 minutes (nexus 4)
Thank you for creating and sharing onandroid.

TWRP backup not recoverable by TWRP v2.7

I'm not sure why this happens but I cannot use OnlineNandroid to create TWRP backups that are recoverable using TWRP recovery system. For example, I backed-up my tablet's system and data partitions with OnlineNandroid and did the same with TWRP (from recovery), this is what I ended up with each method:

TWRP

system.ext4.win (508 MB)
data.ext4.win000 (1.47 GB)
data.ext4.win001 (805 MB)

OnlineNandroid v9.51

system.ext4.win (507 MB)
data.ext4.win000 (1.02 GB)
data.ext4.win001 (1.16 GB)
data.ext4.win002 (30.0 MB)

TWRPs backed-up partition data is correctly restored while OnlineNandroid isn't.
Also, the contents of those archives are totally different. TWRP recovery system creates a data structure with AndroidManifest.xml, resources.arsc file, res and META-INF folder, etc... while OnlineNandroid structure is the raw folder/file structure from the partition.

Does this problem only occur with some devices?
And why is TWRP recovery system able to make "perfect" backups and OnlineNandroid isn't?
I'll gladly help with testing.

is this a problem

none of the following detected by Online nandroid

  • /boot
  • /recovery
  • /wimax
  • /appslog
    Samsung galaxy s2 gt-19100 running update Luca Ics 4.04 deodexed rom, rooted using instal su and cwm from recovery method. checked using checkroot pro su and busy box installed correctly backed up everything else with no issues

"PadFone": issue with scheduled backups...

The patch for my device ("PadFone (A66)") is working fine when using the "Quick Backup" / "Custom Backup" option.

But when using "Scheduled Backup", the backup process doesn't seem to start when the time has come: There is no notification or error message at all, just the information regarding "Last scheduled Backup" and "Next scheduled Backup" are updating immediatley when switching to another app and back to "Online NANDROID Backup", although, I've used exactly the same settings for "Scheduled Backup" as under "Default Backup Settings" / "Custom Backup"..

Do you have an idea what might cause this behaviour?

I'm thankful for any hint!

Regards,
MisterFloppy

sd-ext being backed-up in /data partition backup

On devices with sd-ext mounted on data partition (such as app2sd, link2sd, etc...) Online Nandroid is backing-up sd-ext while backing up /data partition.

Devices Affected:

DeviceStatusRemarks
Galaxy Y DUOS GT S6102Nonexda xda
HTC HD2Nonexda
HTC HD2Nonexda

question about mtk partitions

Hi,

Thanks for the useful partition informations.
I would like please to ask if I may:
I see different start address in system.img between the scater_gather.txt of mtk file (0x4340000 in the mtk file) (see below) , to the info in cat /proc/dumchar_info , which shows 0x3740000. Which one is correct ?

C:\Users\ransh>adb shell
shell@w812a_kk:/ $ su
root@w812a_kk:/ # cat /proc/dumchar_info
Part_Name Size StartAddr Type MapTo
preloader 0x0000000000c00000 0x0000000000000000 2 /dev/misc-sd
mbr 0x0000000000080000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x0000000000080000 0x0000000000080000 2 /dev/block/mmcblk0p1
pro_info 0x0000000000300000 0x0000000000100000 2 /dev/block/mmcblk0
nvram 0x0000000000500000 0x0000000000400000 2 /dev/block/mmcblk0
protect_f 0x0000000000a00000 0x0000000000900000 2 /dev/block/mmcblk0p2
protect_s 0x0000000000a00000 0x0000000001300000 2 /dev/block/mmcblk0p3
seccfg 0x0000000000020000 0x0000000001d00000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000001d20000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x0000000001d80000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000002380000 2 /dev/block/mmcblk0
sec_ro 0x0000000000040000 0x0000000002980000 2 /dev/block/mmcblk0
misc 0x0000000000080000 0x00000000029c0000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000002a40000 2 /dev/block/mmcblk0
expdb 0x0000000000a00000 0x0000000002d40000 2 /dev/block/mmcblk0
android 0x0000000035200000 0x0000000003740000 2 /dev/block/mmcblk0p4
cache 0x0000000008000000 0x0000000038940000 2 /dev/block/mmcblk0p5
usrdata 0x0000000028000000 0x0000000040940000 2 /dev/block/mmcblk0p6
fat 0x000000007f1c0000 0x0000000068940000 2 /dev/block/mmcblk0p7
bmtpool 0x0000000001500000 0x00000000ff3f00a8 2 /dev/block/mmcblk0

############################################################################################################

General Setting

############################################################################################################

  • general: MTK_PLATFORM_CFG
    info:
    • config_version: V1.1.1
      platform: MT6572
      project: w812a_kk
      storage: EMMC
      boot_channel: MSDC_0
      block_size: 0x20000
      ############################################################################################################

Layout Setting

############################################################################################################

  • partition_index: SYS0
    partition_name: PRELOADER
    file_name: preloader_w812a_kk.bin
    is_download: true
    type: SV5_BL_BIN
    linear_start_addr: 0x0
    physical_start_addr: 0x0
    partition_size: 0xc00000
    region: EMMC_BOOT_1
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: BOOTLOADERS
    reserve: 0x00

  • partition_index: SYS1
    partition_name: MBR
    file_name: MBR
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0xc00000
    physical_start_addr: 0x0
    partition_size: 0x80000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS2
    partition_name: EBR1
    file_name: EBR1
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0xc80000
    physical_start_addr: 0x0
    partition_size: 0x80000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS3
    partition_name: PRO_INFO
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0xd00000
    physical_start_addr: 0x0
    partition_size: 0x300000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: PROTECTED
    reserve: 0x00

  • partition_index: SYS4
    partition_name: NVRAM
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x1000000
    physical_start_addr: 0x0
    partition_size: 0x500000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: BINREGION
    reserve: 0x00

  • partition_index: SYS5
    partition_name: PROTECT_F
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x1500000
    physical_start_addr: 0x0
    partition_size: 0xa00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: PROTECTED
    reserve: 0x00

  • partition_index: SYS6
    partition_name: PROTECT_S
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x1f00000
    physical_start_addr: 0x0
    partition_size: 0xa00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: PROTECTED
    reserve: 0x00

  • partition_index: SYS7
    partition_name: SECCFG
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x2900000
    physical_start_addr: 0x0
    partition_size: 0x20000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS8
    partition_name: UBOOT
    file_name: lk.bin
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x2920000
    physical_start_addr: 0x0
    partition_size: 0x60000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS9
    partition_name: BOOTIMG
    file_name: boot.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x2980000
    physical_start_addr: 0x0
    partition_size: 0x600000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS10
    partition_name: RECOVERY
    file_name: recovery.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x2f80000
    physical_start_addr: 0x0
    partition_size: 0x600000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS11
    partition_name: SEC_RO
    file_name: secro.img
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x3580000
    physical_start_addr: 0x0
    partition_size: 0x40000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS12
    partition_name: MISC
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x35c0000
    physical_start_addr: 0x0
    partition_size: 0x80000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS13
    partition_name: LOGO
    file_name: logo.bin
    is_download: true
    type: NORMAL_ROM
    linear_start_addr: 0x3640000
    physical_start_addr: 0x0
    partition_size: 0x300000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS14
    partition_name: EXPDB
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x3940000
    physical_start_addr: 0x0
    partition_size: 0xa00000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS15
    partition_name: ANDROID
    file_name: system.img
    is_download: true
    type: YAFFS_IMG
    linear_start_addr: 0x4340000
    physical_start_addr: 0x0
    partition_size: 0x35200000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS16
    partition_name: CACHE
    file_name: cache.img
    is_download: true
    type: YAFFS_IMG
    linear_start_addr: 0x39540000
    physical_start_addr: 0x0
    partition_size: 0x8000000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS17
    partition_name: USRDATA
    file_name: userdata.img
    is_download: true
    type: YAFFS_IMG
    linear_start_addr: 0x41540000
    physical_start_addr: 0x0
    partition_size: 0x28000000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: UPDATE
    reserve: 0x00

  • partition_index: SYS18
    partition_name: FAT
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0x69540000
    physical_start_addr: 0x0
    partition_size: 0x0
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: true
    is_reserved: false
    operation_type: INVISIBLE
    reserve: 0x00

  • partition_index: SYS19
    partition_name: BMTPOOL
    file_name: NONE
    is_download: false
    type: NONE
    linear_start_addr: 0xFFFF00a8
    physical_start_addr: 0x0
    partition_size: 0x1500000
    region: EMMC_USER
    storage: HW_STORAGE_EMMC
    boundary_check: false
    is_reserved: true
    operation_type: RESERVED
    reserve: 0x00

LG G4

Hey,
I have an LG G4, app says identifies it under P1, which Huawei Ascend, Will that work for me?
Thank You

Samsung Galaxy III

Hi, I have a problem with a partition table on a S3 GT-i9300 bought in Italy.
The phone will only boot into download mode, when flashing original firmware with Odin including the PIT Odin stops at reparation.
I would like to try one of your flash files but not sure which one will work??
Thanks

/data/media (sd card) being backed-up in /data partition backup

Some devices have /sdcard mounted to /data/media in addition to the usual sdcard mount point. This causes Online Nandroid to try backing-up /data/media (sdcard) while backing up /data partition.

Devices Affected:

DeviceStatusRemarks
Samsung Galaxy S IIINonexda
Acer Iconia A700Nonexda
Asus Nexus 7Nonexda xda
Motorola Xoom EOSNonexda xda xda
Samsung Galaxy Tab 10.1Nonexda
Samsung Galaxy NexusNonexda

Add support for encrypted TWRP backups

TWRP 2.6+ supports encrypted backups. At the moment, I am not considering to add this functionality in Online Nandroid, due the complexity of adding such support. FYI - TWRP encrypted backups use AES encryption and is done with such tools built-into the TWRP binary. If the same is implemented in Online Nandroid, it would require separate binaries for OpenAES and any other required tools. Adding to this complexity is the fact that only part of data partition (except /data/app) is backed up.

If you would like this feature to be implemented, vote for it by replying to this issue with +1 or similar.

PS: One person one vote.

data partition recovery includes sd-ext partition also, unable to restore

Device : LG Optimus One P500
ROM : stock gingerbread
Recovery : CWM 6.0.4.6
Noticed that after recovery from backup the device bootloops
Noticed that the /data partition backup file is over 400MB (For the device it is 200MB Only)
Using link2sd to move apps to sdcard. ( Which I think is the underlying problem !)
IS there any way to distinguish the files in device /data and /sd-ext, because
after link2sd, /data =/data+sd-ext2

License bug

Ameer,

The license you are using is "bugged".

Here is the bugged paragraph:

  • Neither the name of Mozilla Foundation nor the names of its
    contributors may be used to endorse or promote products
    derived from this software without specific prior
    written permission of Mozilla Foundation.

The bug is because of the use of the name of Mozilla :-)

This kind of license is called modified BSD license.
An example:
http://directory.fsf.org/wiki/License:BSD_3Clause

Original BSD:
http://directory.fsf.org/wiki/License:Sleepycat

Regards

Partition Layout for Huawei Y201 U8666E-51

Hello !
Very nice app - thank you for your good work.

From what I can see, the partition layout for the U8666e currently supplied with the app doesn't seem to apply to the U8666E-51. Interestingly, the partition layout contained in your part_detect_tool.u666e.zip appears to be different to the layout supplied with the app, and may actually be suited to the U8666E-51.
The following is the content of the file "recovery_mmc.fstab" obtained directly from the phone.

Copyright (c) 2011, Code Aurora Forum. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Code Aurora Forum, Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

mount point fstype device [device2]

/* < DTS2012011906026 chendeng 20120120 begin /
/boot emmc /dev/block/mmcblk0p15
/cache ext4 /dev/block/mmcblk0p6
/data ext4 /dev/block/mmcblk0p13
/recovery emmc /dev/block/mmcblk0p16
/misc emmc /dev/block/mmcblk0p7
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/system ext4 /dev/block/mmcblk0p12
/sys_boot vfat /dev/block/mmcblk0p3
/fat vfat /dev/block/mmcblk0p3
/HWUserData vfat /dev/block/mmcblk0p19
/
< DTS2012020804291 weizhonghui 20120208 begin /
/cust ext4 /dev/block/mmcblk0p18
/
DTS2012020804291 weizhonghui 20120208 end >/
/
DTS2012011906026 chendeng 20120120 end > */

Manually installing the "partlayout4nandroid" file from your zip seems to result in valid restore/recovery backups from onandroid - gauged by comparing results with those from "dd" . However I haven't as yet tested other partitions or performed any restores.

Also I couldn't directly flash your zip file from my stock recovery - signature error. Does flashing require a custom recovery to be used or is there another issue here perhaps?

Would be grateful if you could look at this and perhaps include this model in your supported devices.

Thank you.
Regards.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.