[SHARE]Online Nandroid Backup / Nandroid Backup without re-booting by ameer1234567890 - Sony Ericsson Xperia Neo, Pro

Sorry if repost and i just copy/paste from original thread.
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. This tool is specifically for Xperia phones, but should work with any model of android phones.
{
"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"
}
This tool backups /system , /data , /cache & .android_secure partiotions to /sdcard/clockworkmod/backup directory. The date format used for folder name is the same used by CWM itself and nandroid backups created with this tool can safely be restored using CWM. If you would want to have a custom name for backup folder, pass an argument with the name to the script and it will use the name.
Feedback (especially ideas to improve) are most welcome.
Requirements
1. Rooted android phone
2. A terminal emulator installed on phone
3. Busybox
4. A working CWM based recovery installed
5. Some patience
Installation
1. Download and copy zip file to SD card
2. Reboot into recovery
3. Choose install zip from SD card, select zip and flash .
4. Reboot!
Usage
1. Open terminal emulator
2. Type su to obtain root
3. Type onandroid
4. Wait and watch
Custom Backup Name
* Example:
Code:
onandroid custom_name
* Please be careful not to include characters not allowed in filenames.
Timezone modifier
* Example: Use home/phone timezone for backup file name
Code:
onandroid -h
* Example: Use UTC (default) for backup file name
Code:
onandroid -u
* Note: UTC is used as default (if no timezone modifier is passed). This is to comply with CWM nandroid backups.
Download:
onandroidv3.0.zip
Tested and working in NeoThanks to ameer1234567890
Original thread:- http://forum.xda-developers.com/showthread.php?t=1620255

I will be testing this when i get home back to my wifi!!!!
Excellent work.

Related

[Q] AOKP 4.2.2 back to Stock 4.1.2 - restore backup or flash stock?

Hello,
I have a GT-I9300 (International Version). I installed AOKP 4.2.2 from this thread over my 4.1.2 stock rom (I9300XXELL4_I9300DBTELL1_DBT) which was rooted and had CWM. Before flashing I did a CWM backup of the stock rom. Now I would like to go back to the stock rom because the AOKP doesn't work with the hands-free system in my car.
I already read the basic threads about doing a backup. I think that I have two options to get back to the stock:
1) Restore the backup via CWM in recovery mode,
2) install the stock rom via Odin.
BUT I read that installing a 4.1.2 over a 4.2.2 rom might cause problems, because there's been a change in the file system (or so?). I don't want to brick my phone.
So I would like to know the best way to get back to 4.1.2? And what, in this particular case, do I have to heed when getting back to the old rom?
Will be thankful for your help,
Kerstin
In CWM format system, data, cache and preload. Delete the android folder from your internal sd card, I've read that 4.2 may have rearranged your folders for you also. Restore your nandroid and you're back to 4.1.2, simple.
You will lose any changes since you flashed the 4.2 but it's never a good idea to flash over the top of a different build version.
Can't find CWM backup files
Ok so I wanted to place the stock backup file into the CWM backup folder and store the backup of my recent rom (4.2.2) to my computer. When I connected my phone and opened the CWM backup folder, there were no backups. I went back in recovery mode and choose "install zip from sdcard" "choose zip from sdcard" I get 4 folders:
0/
clockwordmod/
legacy/
obb/
0/ contains my usual sdcard content including a CWM folder which is empy. clockworkmod/ contains the backup folder with my backups. So there they are. As I couldn't see them in my windows explorer, I installed the droid explorer to see all the smartphone content including the root folder. There I find several sdcard folders but none of them carries my backup files! I attached a screenshot of the droidexplorer. Maybe someone call give me a clue where to find those files?
{
"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"
}
Thank you!

[Cwm] Xiaomi Mi3

{
"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"
}
ClockworkMod recovery is a special boot mode by Koushik Dutta that gives access to administrative functions, such as installing the base firmware (ROM), making backups, and performing a 'factory reset'. .
This Recovery have this
Features:
install zip from sdcard or sideload into system1 or system2
backup system1 and system2 individual or together into one package
much choices of where you want to restore backups to
mount and format system1 or system2
fix permissions on system1 or system2
set bootmode to system1 or system2
automatically checks for install-recovery.sh on both systems and asks you if you want to delete them
TrueDualBoot
TrueDualBoot notes:
Enabling or disabling TDB will completely wipe your data-partition. Once enabled your data partition will be VIRTUALLY split which means that both systems together can use the full space of the data-partition.
There are some things which will break TDB:
everything which removes CWM(like Xiaomi Updater App's live install)
ROM's which don't support mount_ext4.sh (I did not see any ROM without support yet)
Recovery CWM --->http://d-h.st/zAe
Recovery Stock ---> http://d-h.st/czl
Download recovery-signed-***.zip
Copy the file in the root directory of your sdcard
Use updater installation from settings/info
This work will be impossible without previous work and actual help of @m1cha
Github: https://github.com/M1cha/android_bootable_recovery/tree/cm-10.1
Hello, is this recovery for Tegra or for Snapdragon MI3?
Pepe.II said:
Hello, is this recovery for Tegra or for Snapdragon MI3?
Click to expand...
Click to collapse
Snapdragon
Well, a Tegra version would be nice
Thank you for the Snap one
I have problems when wiping cache and installing ROMs... It takes a very long time to do it.
magarto said:
I have problems when wiping cache and installing ROMs... It takes a very long time to do it.
Click to expand...
Click to collapse
Download any rayglobe rom on miui.it. I use a different rom script to flash to avoid this problem
acer73 said:
Download any rayglobe rom on miui.it. I use a different rom script to flash to avoid this problem
Click to expand...
Click to collapse
I don't understand. If I download a rom what could it help me? I need a CWM recovery for the Mi 3W without that flashing delay.
Thanks mate

Root Z2 without loss?

Is it possible to root a Sony Z2 without losing data or something? I have a Sony Z2 which needs to be rooted, but the owner does not want to lose his apps and other data. Is that possible?
Not that i know of
There are options that are somewhat odd as the apps used send a lot of private data.
What version of Android? Should be easy if you don't have to downgrade. What data don't you want to lose? If it's sms and call logs, they can be backed up without root. User apps should also be able to be backed up without root and then restored later.
Have you looked at the backup and restore app?
{
"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"
}
Google is a wonderful thing
http://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-howtos.html
1. How to make your first backup WITHOUT root:
Before beginning, you need to setup your ADB and have your device detected. You must also running Android version 4.0 and above. Also, make sure you have a file manager installed. Our favorite is the ES File Explorer.
Connect your device and make sure its listed with the following command:
adb devices
Run a FULL backup with the following command:
adb backup -f FullBackup.ab -apk -all
This will create a “package” called “FullBackup.ab” on the current location in your command prompt. This is your backup package.
Now you can root your phone.
Once finished rooting, insert the “FullBackup.ab” package on your sdcard
Hit the menu button and look for “Extract from ADB backup” option. This will prompt you to search for the file. Use the file manager that you installed earlier and navigate to the directory and select the FullBackup.ab file.
Now restore like as if the backup was made with Titanium Backup. Don’t forget to make a fresh copy of the backup using Titanium Backup. You’re Done!
Sent from my D6503 using Tapatalk

Re-partition Internal Storage (user data)

4 this kind of guys x)
{
"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"
}
Code:
Warning:
Your device will never boot :D
Does this enough?
Ok jk but consider its possible
So don't blame me,
not responsible for anything
Trick:
Read 2nd Post First
(if u think necessary)(i would)
Why ?? :
Cuz u want to increase/decrease size on internal storage/internal sd card/nand/emmc.
So u can play Asphalt 8:AirBorne
I.e. default internal storage will increase from 4.6 GB to 5.5 GB
Sounds cool ?
Go ahead
Tools required:
0. Nandorid Backup ,
back up everything every way you can/know
1. Rooted Phone
2. Custom Recovery with ADB Sideload
3. Minimal ADB and Fastboot Tools(for Computer)
4 parted utilities.zip (download from below)
5. Computer should recognise device for that install necessary drive
6. brain, commen sense, patients,calm etc.
---> PROCEDURE/STEPS
(will add screen shot, Rewrite again )
1.
Extract 'parted' from zip copy to "/system/bin"
(if can't Open Es FILE EXPLORER app> find & tape Root explorer option>mount r/w option> mount system to r/w (read/write allow)
2.
Put phone in TWRP Recovery
3.
Connect to computer
On command line interface
(Windows>Run>CMD>enter)
#commands:
adb shell
su
parted /dev/block/mmcblk0
you will see the following screen
4.
On5 re-partition
Parted command
Rm mmcblk20,21,22,23
Name ,21,22,23
Re Size command
Mkpart primary start Size end Size
Format using
Mke4fs.
Restore twrp backup
Reboot to recovery

How can I make a NANDroid backup of an unofficial, unsupported prototype device? (Nvidia Shield Portable 2)

Hello! I've recently come to own an Nvidia Shield portable prototype, and am interested in tinkering with it as part of a long-term project. Before I mess with any of that, I wanted to make a NANDroid backup of the device to make sure I could recover it if I were to mess anything up. However, I'm not really sure how to install TWRP - and, by extension, make a NANDroid backup - onto an unsupported device. There is no official firmware available for this, the only thing I have is the device itself and everything on it.
The device is in complete working condition without any issues, it's just stuck on Android 4.4.2 without any updates available (because it was never officially released). If any further information about the device is needed, please let me know. I am new to these forums, so if there's a more appropriate place to post this let me know and I can post there.
Any help would be appreciated. Thank you!
Nandroid backups are usually performed in Android's recovery mode - option: backup and restore.
jwoegerbauer said:
Nandroid backups are usually performed in Android's recovery mode - option: backup and restore.
Click to expand...
Click to collapse
Yeah I did manage to access the recovery mode, but it only has stock recovery - no option to backup/restore. I'd need to flash on a custom recovery like TWRP so I can make a NANDroid backup, which brings me back to the problem of not being able to install TWRP on this unsupported prototype.
To do a full backup by means of ADB's inbuilt backup routine isn't possible. That's fact. Professional apps as Titanium Backup or Online Nandroid Backup requires Android is rooted. Root-free apps as Helium Backup only allows to backup all the videos, pictures, emails, notes, etc. on your Android device.
Possible workaround - NOT TESTED BY ME:
If device's Android supports Linux command tar then you easily can backup device by means of it.
{
"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"
}
If tar not present then install BusyBox-NoRoot, obtain path to BusyBox
Example:
Code:
adb devices
adb shell stop
adb shell "<PATH-TO-BUSYBOX> tar -cvf %TEMP%\system.tar /system"
adb shell "<PATH-TO-BUSYBOX> tar -cvf %TEMP%\data.tar /data"
adb shell start
jwoegerbauer said:
To do a full backup by means of ADB's inbuilt backup routine isn't possible. That's fact. Professional apps as Titanium Backup or Online Nandroid Backup requires Android is rooted. Root-free apps as Helium Backup only allows to backup all the videos, pictures, emails, notes, etc. on your Android device.
Click to expand...
Click to collapse
The device IS rooted but I can't install any of the 'professional' backup apps since they seem to require device-specific configurations.
My question is "how can I do a complete backup of an unofficial, unsupported device?"
The device is rooted and I can access the bootloader, I just don't know how to go about backing it up since it's unsupported
My understanding of peforming a successful Nandroid backup is that this is completely independent of the hardware / configuration of the device, that it doesn't matter what is the brand / model of the device, that it's totally irrelevant whether OEM/vendor supports the device or not, that it''s only important that device's Android preferredly is rooted so that all partitions / directories can be mounted as RW, that there is enough storage space available ( dozens of GB ) to hold the backup - preferredly on external SD-card. But I may err, as always ...

Categories

Resources