• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Boost Mobile] [Tool][Port]Online Nandroid Backup "Onandroid"

chevanlol360

Android Expert
Online Nandroid Backup For Warp


NOTICE:
I did not create this, the amazing Ameer1234567890 over at the XDA forums did. i only edited it to make it compatible with the ZTE Warp. i find this to be a great useful tool that most of you will start using cause well its easier and you'll never miss a call or text:D.


ameer1234567890-

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 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.


onandroid.png


Features
This tool for the Warp backups the below partitions to /sdcard/clockworkmod/backup directory.
/boot
/recovery
/system
/data
/cache
.android_secure
sd-ext


Requirements:
1. Rooted android phone
2. terminal emulator installed on phone
3. Busybox
4. CWM installed on your Warp
5. Some patience

How To Use:
1. Open terminal emulator
2. Type su to to gain root access
3. Type onandroid
4. watch your system backup process





Disclaimer: I am NOT responsible for any damage or problems caused to your device try this at your own risk, i have already tested it on a ZTE Warp and its works fine.




Download:

Onandroid4Warp.zip




IMPORTANT: DO NOT Install this if you are not using a ZTE Warp OR you WILL BRICK your phone, This is ONLY compatible with the ZTE Warp YOU HAVE BEEN WARNED!!!!!



Installation

Good Time to Make A Backup

■Download the zip file Do Not UNzip it Copy it to your sdcard

1. Boot into CWM.
2. Choose "Install Zip From SDcard"
3. select "Choose Zip From SD Card"
4. Then select "Onandroid4Warp.zip" when you find it
5. confirm "YES "
6. wait for script to finish
7. reboot phone



CREDITS:

Ameer1234567890 - Creator
Mr. Bobo - Tested while i got it compatible for while


Original Thread
 
But why, Boosts 3G speeds are BLAZING fast, man! Coverage is AWESOME everywhere!
/sarcasm
 
now we just need jetx to integrate this into the system apk so we can just click a button to make a nandroid backup using this script!
 
Just to let everyone know I am creating an app capable of utilizing the onandroid script... it will first be available in team glitch's up and coming rom... not giving any etas as of when I expect the app to be completed but like I said... it will first be available in our rom

Sent from my N860 using Tapatalk 2 Beta-5
 
How does this keep from getting missing calls and texts??
My phone is notorious for that!

Edit: nevermind...I misread the OP.
I was getting a little excited for a minute
 
I want to add native support for Warp in Online Nandroid. Can someone please post the output of the below commands in terminal emulator?
Code:
su
cat /proc/partitions
mount
 
I want to add native support for Warp in Online Nandroid. Can someone please post the output of the below commands in terminal emulator?
Code:
su
cat /proc/partitions
mount

You are best to contact the original developer. You might find more information by doing a Google search;)
 
Haha ya I just got a full explanation of this in another thread.
Its a script from xda,
Edit
Apon following the links I read that it is not zte specific.
So if your phone is a semc phone it looks to be the original script, not this one is compatible with your phone listed on xda.
 
$ export PATH=/data/local/bin:$PATH
$ su cat /proc/partitions mount
SuperSU - Copyright (C) 2012 - Chainfire

$ su cat /proc/partitions mount
SuperSU - Copyright (C) 2012 - Chainfire

$ cat /proc/partitions mount
major minor #blocks name

7 0 7308 loop0
179 0 3864576 mmcblk0
179 1 8192 mmcblk0p1
179 2 8192 mmcblk0p2
179 3 8192 mmcblk0p3
179 4 1 mmcblk0p4
179 5 8192 mmcblk0p5
179 6 8192 mmcblk0p6
179 7 8192 mmcblk0p7
179 8 8192 mmcblk0p8
179 9 32768 mmcblk0p9
179 10 32768 mmcblk0p10
179 11 8192 mmcblk0p11
179 12 16384 mmcblk0p12
179 13 16384 mmcblk0p13
179 14 8192 mmcblk0p14
179 15 512000 mmcblk0p15
179 16 8192 mmcblk0p16
179 17 307200 mmcblk0p17
179 18 2840576 mmcblk0p18
179 32 7778304 mmcblk1
179 33 7777280 mmcblk1p1
254 0 7308 dm-0
mount: No such file or directory
$

Any chance this tool could be tweaked to make a twrp backup?
 
MrBobo that was my thought.
I just posted in the twrp thread it was sad to lose this because wanting to use twrp
 
Thank you MrBobo for the output. One command had failed. Instead of that, can you try this.
Code:
su
cat /proc/mounts


To clear the doubts, I am the developer behing Online Nandroid and it is not just for SEMC devices, but for all Android devices in general. It is just that a patch file needs to be done for some devices.

Online Nandroid should work with TWRP as well. I have had reports of it working. It will, however, backup in uncompressed CWM format, in contrary to compressed backup in TWRP. However, since TWRP is able to restore CWM style backups, it works.
 
exec sh -c "cd '/mnt/sdcard' ; exec /system/bin/sh"
# h -c "cd '/mnt/sdcard' ; exec /system/bin/sh"
# cat /proc/mounts
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,size=63260k,nr_inodes=15815,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,size=63260k,nr_inodes=15815,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,size=63260k,nr_inodes=15815,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/mmcblk0p15 /system ext4 rw,relatime,barrier=0,nobh,data=ordered,inode_readahead_blks=256,noauto_da_alloc 0 0
/dev/block/mmcblk0p18 /data ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=0,nobh,data=ordered,inode_readahead_blks=256,noauto_da_alloc 0 0
/dev/block/mmcblk0p7 /persist ext4 rw,nosuid,nodev,relatime,barrier=1,data=ordered,inode_readahead_blks=256 0 0
/dev/block/mmcblk0p17 /cache ext4 rw,nosuid,nodev,noatime,nodiratime,barrier=0,nobh,data=ordered,inode_readahead_blks=256,noauto_da_alloc 0 0
/dev/block/mmcblk0p18 /botbrew ext4 rw,nodev,relatime,barrier=0,nobh,data=ordered,inode_readahead_blks=256,noauto_da_alloc 0 0
tmpfs /botbrew/run tmpfs rw,nosuid,noexec,relatime,size=63260k,nr_inodes=15815 0 0
/dev/block/vold/179:33 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:33 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/ar.com.moula.zoomcamera-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
#
 
Online Nandroid should work with TWRP as well. I have had reports of it working. It will, however, backup in uncompressed CWM format, in contrary to compressed backup in TWRP. However, since TWRP is able to restore CWM style backups, it works.

The backup made by onandroid does not work with twrp even if you transfer the backup to the twrp folder. It will show and spit out restore complete in 0 seconds but it doesnt restore anything.
 
The backup made by onandroid does not work with twrp even if you transfer the backup to the twrp folder. It will show and spit out restore complete in 0 seconds but it doesnt restore anything.
I am not so knowledgable with TWRP. I do not officially support TWRP at the moment.

How does your TWRP backup? What partitions? File names? are they compressed?
 
I am not so knowledgable with TWRP. I do not officially support TWRP at the moment.

How does your TWRP backup? What partitions? File names? are they compressed?

Im not that knowledgeable about the inner workings of recovery backups but here's a list of the files twrp puts in the recovery folder
and-sec.vfat.win
and-sec.vfat.win.md5
boot.emmc.win
boot.emmc.win.md5
cache.ext4.win
cache.ext4.win.md5
data.ext4.win
data.ext4.win.md5
recovery.emmc.win
recovery.emmc.win.md5
system.ext4.win
system.ext4.win.md5

And here's a link to the twrp site
 
Back
Top Bottom