yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] kronikings:
Hello, my backups seem to go well but when I restore I am brought to the Android welcome screen as if I am doing a fresh install. At that point I revert to a backup I created without onb. Anyone know what the problem is?
[Android Apps and Games] laughingT:
More info needed

Which phone?

Which OS and ROM?

Which backup mode and other settings?

TWRP or CWM recovery?

When you create backup in recovery and restore in recovery what happens?
[Android Apps and Games] kronikings:
I'm all good now! :good: My backups are restoring correctly. I think it was the onandroid script or the shell setting. Thank you
[Android Apps and Games] kronikings:
Actually, it's not good anymore. I don't know why but everything was great, I was able to create backups in about 5 minutes and they were restoring correctly as well. But now when I create backups it is taking about 30 minutes or longer. Actually I just created a backup in 20 minutes but it didn't restore correctly. I was brought to the welcome screen.

Samsung Galaxy Note 3 (SM-N900V)

4.4.2 PAC ROM

Normal Backup Mode

TWRP

*Fixed* Wiped and started from scratch and now it works
[Android Apps and Games] cm2003:
Hello.

I've had and still got some issues here.

First of I had a problem creating a backup at all. When creating the data part I received tons of dots and even after 30 minutes it didn't finish.

I reinstalled busybox and this worked out.

With the default settings it's backing up recovery as well. However when trying to reinstall in TWRP I don't see the recovery part and have cache selected instead. The restore fails with an error saying something about 15mb and I think something like ext5 or something. Can't really recall it right now.

When I uncheck cache the restore runs through without an error.

Next problem I see is the size of the backup. When creating a backup with TWRP I get a total size of 2gb. However with your tool is just 1.6gb even with recovery. When checking the files there is one data file with 1.01gb. Comparing to the data files of TWRP I've got there one file with 1.02gb and one (called data.ext4.win001) with more less 380mb.

So I'm a kind of scared if really the complete data is being saved by online nandroid.

I'm on an HTC One m7 using Insert Coin Sense 6 2.3.3.

Any idea on those issues?

If I can get it to work as is supposed to be I will most likely buy the pro version for scheduling, but at the moment I'm not really sure if it's working as it's supposed to be our if there is an error at one point. Especially regarding the data size.

Gesendet von meinem HTC One mit Tapatalk
[Android Apps and Games] kronikings:
My issues all went away after I wiped and did a fresh rom install. But I've been testing throughout the day and each time I do a back up its taking longer and longer, and I did one a few minutes ago that took over 20 minutes so I knew it wasn't going to restore correctly, which it didn't, so now I am going to restore a backup of when it was working fine this morning....kinda weird. I definitely suggest trying it with a fresh install just to see if it works, if it does then you can restore all yours apps etc. Otherwise just revert back. It definitely is hard to trust though because now I'm always wondering if the backup is trustworthy. I'm afraid that it will overwrite my known good backups and by the time I NEED a backup I won't have a good one saved.
[Android Apps and Games] kronikings:
Well I didn't change any settings but as the day evolved and I created a few backups, at some point the backups stretched to over 20 min and now they don't restore. Tried reverting to a backup from this morning when it was fine but that didn't help. So I'm back to the drawing board.

Update: When I wipe and start fresh it works fine again. But obviously that defeats the purpose of backing up. So I've restored my older backup and I give up for now. If anyone has any suggestions im all ears. Thanks!
[Android Apps and Games] DirkStorck:
Hi. May I ask for a feature?

Is it possible to define once in the configuration a cutom backup name and each backup the app takes the current timestamp an adds the name as prefix?

Example:

Custom name: ROM_XYZ_v1

Timestamp: 2014-04-26.15.44.00

Result: 2014-04-26.15.44.00_ROM_XYZ_v1

That would be great!

Thank you!
[Android Apps and Games] erik07:
Is this app still alive? Why no updates for so long, by the way, in latest version, i still have this bug with android secure not being saved, i dont have this bug in v4.2.2. Please fix. This really is a helpful app.
[Android Apps and Games] adrian.aitken:
Discovered a 'feature' in the latest version. It says backup completed but the log file says out of disk space.

Regards

Adrian
[Android Apps and Games] sbcrumb:
I can't get this app to backup at all. Left it running for over an hour and never got off system partition. I have a verizon s4 MDK fir the latest twrp a 32GB external SD card. Running Echoe v20 ROM
[Android Apps and Games] kronikings:
Yeah, still having issues myself. Sometimes it works, most times it doesn't. Too unreliable to count on unfortunately
[Android Apps and Games] efan3719:
Haven't been having any issues on my nexus 5 or nexus 7. But this thread does look to be abandoned. Its a shame as this is a great app for those it works for.
[Android Apps and Games] Master Cylinder:
Thought I had posted here already?

On my Verizon S3 using TWRP 2.6.3.1 (stuck on that because of a ROM 2.7 won't boot for me) this works great, with a few tweaks: Had to change shell to 'default' and change Busybox to system - must have one installed, of course. I am using it on Touchwiz and AOSP ROMs.

Problems I have run into had to do with switching ROMs by restoring Nandroids and not having Busybox installed or needing a reinstall. I have had some of the issues listed on this page but have been able to get past them by reinstalling Busybox.

Also, if I push the screen lock button while the backup is happening in that screen, with the log rolling by, it might bomb out, so I just have to push the 'Home' button and let it background and all is well.

Works for me! :good:
[Android Apps and Games] cm2003:
I think this app isn't in development anymore.

But there is an alternative on the Playstore called Live Backup. It costs some money though, but if it's not working out for you the developer will refund you - or like in my case try to solve the issue.

For me it's working now on my m7 with InsertCoin.

The developer also has TWRP Manager on the Playstore and with it comes the live backup as a plugin.

If you can't find it I will post the links if you want me to.

Gesendet von meinem HTC One mit Tapatalk
[Android Apps and Games] meduza:
There is also ameer`s thread about his original script. This app was build arround it: http://xdaforums.com/showthread.php?t=1620255

m.
[Android Apps and Games] Master Cylinder:
Yes, and users are using Tasker to manage it.
[Android Apps and Games] kronikings:
scripted backups using Tasker & TWRP

This is for anyone else out there that is having problems with this script and/or ONB. It works!

http://www.pocketables.com/forum/showthread.php?t=11435

You can alter it for your purposes as I did.

To create a backup that automatically runs nandroid backups twice a month, keeping only the last two backups (one on the 1st and one on the 15th)

New Tasker Task: TWRP Backup 1st

+ Run Shell "chmod 0777 /cache/recovery" ,use root

+ Write File "../../cache/recovery/openrecoveryscript", "backup SDBOM backup1", append off

+ Delete Directory "/storage/sdcard1/TWRP/BACKUPS/<serno>/backup1", recurse, use root

+ Reboot "Recovery"

Duplicate the above task and call it TWRP Backup 15th and change the 2 instances of backup1 to backup15 (if desired)

New Tasker Profile: Monthly TWRP Backup 1

+ Date, 1 (choose the day of the month)

+ Task "TWRP Backup 1st"

+ Time 3:00am - 3:02am

Duplicate the above Profile and call it Monthly TWRP Backup 15th and change the date and Task (if desired)
[Android Apps and Games] Ancientsthe:
My online Nandroid backup is very slow on my new phone the Samsung Galaxy S5 it takes about 12 hours. On my old phone Samsung Galaxy note II it only took 24 minutes. When I do backup directly from Twrp recovery the backup only takes 35 minutes. Already looked at many options, changed ash shell to the default shell, Allow Wakelock is on, used build-in busybox and busybox from system. Have the same music files on this phone and even less apps installed on my SM-G900F Samsung Galaxy S5.

Why does Online Nandroid backup runs very slow on my faster phone?
[Android Apps and Games] Master Cylinder:
Yes, this is odd. Others have complained of this on this thread - have you searched it to see if any of them found a solution? Any other S5 users yet?

I find it strange that TWRP takes 35 minutes, though I'm not familiar with an S5 being an S3 owner. What is the size of the data of your backup - with TWRP by itself and with O-Nandroid? How many files are created in each? This may tell you something.

This app works quite fast on mine - about 18 minutes on a TW ROM and around 12 on an AOSP ROM - about a minute faster than TWRP by itself. I'm not backing up any music files. Backup folder size is just over 2 GB on a TW ROM and 1.5 GB on an AOSP ROM. I'm not creating md5 files. Each folder has 5 files in it, which includes a small log file.

---------- Post added at 09:17 AM ---------- Previous post was at 09:01 AM ----------

Also what part of the backup does your log say is taking so long? Here is a quote from the dev responding to someone else with a long backup problem: "

This could be due to a lot of different reasons because your device booted into system but its mostly likely some sort of IO bottleneck either when reading from /data or writing that data to the memory because some app is also reading or writing to data or sdcard. This does not happen in twrp because you are booted into recovery so there is nothing that could be reading or writing to data or sdcard at the same time a nandroid backup is happening.﻿"
[Android Apps and Games] Ancientsthe:
Did not find any other S5 Nandroid remarks/solutions

Added screen shot of my folder size.

About 5gb for full backup. 2gb without \data.

Nandroid backup without \data to backup only take 6 minutes.

When I select normal (including \data)

I endlessly see the dots during the Nandroid backup for \data.

The normal (full Nandroid backup including \data) recovery log is to big 5mb! to read/show.
[Android Apps and Games] Master Cylinder:
I have a feeling you're not compressing. Even though it takes longer to do a backup with compression, try it with compression to see what happens - it will reduce your backup size by 40%! Your /data backup is big and that is obviously throwing it off. Also don't use md5 (I did not see evidence that you were in your log.)

Report back of your results!:good:
[Android Apps and Games] Ancientsthe:
Started backup with compression and without md5 .

Did run fix permission all before starting nandroid backup.

Will report later on.
[Android Apps and Games] Iceman248:
I've been having some trouble with this app since I started using it which has recently gotten worse.

It demands much more free space than what it ends up using once it finishes the backup.

Then, all of sudden, it demanded even much more, yet the backups are still the same size. It asks for 5.9GB of free space, backs up, total size is 2.5GB, not even close to half the amount.

Anyone have any insight? I don't quite have 5.9GB of free space, so it's now an issue.
[Android Apps and Games] kronikings:
I've given up and created Tasker profiles to handle this now
[Android Apps and Games] Iceman248:
So you don't even use this app at all, then?
[Android Apps and Games] kronikings:
No, I tried to make it work for a week or two but eventually gave up. The first time it worked fine but each time after that the backup times increased and the restores failed unfortunately.
[Android Apps and Games] Iceman248:
When you do it through Tasker, does your phone stay online or reboot into recovery?
[Android Apps and Games] kronikings:
it boots into recovery which is fine because i schedule my backups for when i'm asleep anyway. I wish there was an app like ONB that would just boot into recovery for backups, there would probably be less issues that way.
[Android Apps and Games] H3R3T1C:
Hey guys sorry for my absence in this thread. I've been very busy with classes the past few month so I have not been able to work on the app and address issues people are having. Now that I have two month off of school I will be putting all my free time into working on all my android app as well as introducing a few new apps and possibly even a game exclusively for android. For right now I'm going to focus all my efforts on addressing the issues in this app. Please send me a PM with the title ONB Issue and I will personally work with you to try to fix the problem.
[Android Apps and Games] efan3719:
No worries. App is still working fine on my nexus devices. Appreciate your work. Don't be sorry for taking time to further your education. ;)
[Android Apps and Games] Master Cylinder:
Perfect! Send this in a PM to the dev like he just requested on the post at the top of this page with ONB Issue in the subject.! He has been absent from the thread for a couple of months but now ready to address issues. Tell him what phone and what all has happened.
[Android Apps and Games] Master Cylinder:
Why not use Tasker and Onandroid, the script this app is based on, to run backups while the phone is online? Check out the xda thread where many are doing this.

However, this app works great for me. I don't want to go back to going offline to do backups after using this.
[Android Apps and Games] H3R3T1C:
Here is a quick update of the current change log for the next version of this app:

Version 4.3

* Removed ActionBarSherlock and replaced it with ActionBarCompat.

* Added support for tasker!

* Scheduled backups can now be canceled from the notification bar. (Android 4.1+)

* Added elapsed time timer to nandroid backup so uses can see how long the backup has taken so far.

I'm also working it those of you who have pm'ed me to fix problems they are having with the app.
[Android Apps and Games] meduza:
Great news :)

m.
[Android Apps and Games] BEBU1:
Great, tasker support :) May I ask for a wish? Would be nice to have ftp upload after backup.
[Android Apps and Games] H3R3T1C:
I am looking into adding support for uploading backups to ftp / the cloud.
[Android Apps and Games] H3R3T1C:
I have just uploaded a beta version of the app and it should be visible to all the beta tester soon. If you are a not a member of the beta tester community or dont want to wait to download it from the play store you can download the beta version from this post!

Beta for 4.3 has ended! Please download the public release of 4.3 from the play store!

Version 4.3

* Removed ActionBarSherlock and replaced it with ActionBarCompat.

* Added support for Tasker! (Free while in beta)

* Scheduled backups can now be canceled from the notification bar. (Android 4.1+)

* Added elapsed time timer to nandroid backup so uses can see how long the backup has taken so far.

* Change log dialog will now show once the app as been updated.
[Android Apps and Games] meduza:
No problems on my both devices :)

m.
[Android Apps and Games] kronikings:
Would just like to mention to anyone else that may have had issues restoring data with this app, I was until I switched from TWRP to Philz cwm recovery. Hopefully this helps someone...
[Android Apps and Games] Iceman248:
Did you use the INI file from this thread or just Philz recovery by itself?

http://xdaforums.com/showpost.php?p=52907321&postcount=1
[Android Apps and Games] kronikings:
Just switched to Philz recovery
[Android Apps and Games] H3R3T1C:
Version 4.3 of the app has graduated from beta and is now available for everyone to download!

The new version is available for download through the Google play store or the first post of this thread!

Also I know a lot of you have been wanting support for uploading newly created backups to FTP and cloud service, well I have started adding support for FTP so expect a beta soon with that new feature!
[Android Apps and Games] diperso:
CWM can't find my backup

Hi all

Yesterday I backed up my Nexus 5 using Online Nandroid Backup. It gave me this:

- Boot.img

- cache.ext4.tar

- data.ext4.tar (2.59go)

- nandroid.md5

- recovery.img

- recovery.log

- system.ext4.tar

Now when I reboot and use CWM, it doesn't find those backups.

What are my options ?

Thank you.
[Android Apps and Games] 3afrit:
I got 2 crashes on my galaxy S3 :(
[Android Apps and Games] kronikings:
Are you using Philz?
[Android Apps and Games] diperso:
No
[Android Apps and Games] kronikings:
I'd suggest using philz and change your backup location to data/media
[Android Apps and Games] diperso:
[QRCODE][/QRCODE]

Where can I find this Philz please ?
[Android Apps and Games] Yeti47:
Here you go:

http://xdaforums.com/showthread.php?p=34379030
[Android Apps and Games] diperso:
Will it work with Nexus 5 ? I saw that it was the Galaxy S3 forum
[Android Apps and Games] Yeti47:
Sorry, forgot this was a general thread :(. The first post gives a link to other devices, so try here:

http://goo.im/devs/philz_touch/CWM_Advanced_Edition
[Android Apps and Games] BEBU1:
Tasker plugin doesn't work for me, it just does nothing.
[Android Apps and Games] H3R3T1C:
Do you have the pro key for Online Nandroid Backup? Also when you are adding the action are you hitting the configure button and then hitting the blue check button to save your configuration?
[Android Apps and Games] wirtzpeitz:
The Tasker plugin is much appreciated, but would it be possible to have a Tasker event for when a backup has successfully finished? This would let me trigger a cloud upload. I tried setting this up by having Tasker read the Online Nandroid Backup notification, but unfortunately it can only read notification titles and those are always the same (just the app's name).

Thanks.
[Android Apps and Games] BEBU1:
I removed and installed pro key again, but didn't work either. :( Tasker plugin is configured also.
[Android Apps and Games] H3R3T1C:
What settings are you choosing when you configure plugin? Also what context are you using to trigger the plugin?
[Android Apps and Games] H3R3T1C:
Thanks for the suggestion.

Let me see what I can do to add this.
[Android Apps and Games] kantjer:
Adding exit variables would do the trick and would also let you do other cool things like sending yourself an email on failed backup for example.
[Android Apps and Games] BEBU1:
CWM standard backup, it's triggered by time. I configured the plugin and tried to test it with the play button in tasker but nothing happened.
[Android Apps and Games] kantjer:
Just tried it, Tasker started the backup as intended.
[Android Apps and Games] BEBU1:
That's strange, will remove the app and try again.
[Android Apps and Games] Mario1968:
[MENTION=4535362]H3R3T1C[/MENTION], thanks for your app, I'm on NeatROM 6.3 with Apolo regular Kernel, when I launch a backup it seems to work, but even if the log display that all the partition I select was backed up, the .android_secure is not saved in the backup folder.

Any suggestion?

Thanks

Mario

Signature:

Phone: Galaxy S2 I9100

Sent by: Tapatalk4

Firmware: XWMS3 NeatROM Lite 6.3

No 2nd Rom installed

Kernel: Apolo 4.14 Regular

Modem: XXMS4

Battery: Samsung 2000mAh

SD: SanDisk 32Gb Class 10

Mod:V4A
[Android Apps and Games] Master Cylinder:
Backup Problems Since 4.3

Well, things have gone down the tube since 4.3 came out for me! My d2vzw was operating perfectly on 4.2.5. It takes 30-35 minutes now instead of 12 and it'll boot after a restore but it don't know me or my phone. I'm presented with the initial setup screen choosing language, then setting up wifi, Google accounts, etc.... Of course it's the /data backup that takes so long.

I've TiBu back to 4.2.5 and that worked for awhile but it kept updating. Now I'm having problems with both. I've tried different options and backing up and restoring and wiping data and dalvik and 10 other things so hours have gone away trying to get this to work right again.

EDIT: I have been able to get it to work again today restoring nandroid from a few days back and restoring 4.2.5 app/data.(Sometimes this works and sometimes it doesn't.) However, this has really become a hassle and the advantage of the online backup model is lost. I just restored the backup to see if it worked and it did, but immediately updated to 4.3. I was waiting to stop it but couldn't.

I have found one difference in the backup logs from the one's that worked and the one's that don't on AOSP (haven't tested on TW yet):

Works: Busybox: BusyBox v1.22.1 bionic (2014-04-06 21:24 +0200) multi-call binary.

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

What's strange about this is that the Stericson Busybox installer with his busybox is all I've ever had installed. I have had to use "system" busybox to get this to work but I know that there is a CM busybox bionic, n'est pas? I probably have it on my C-RoM 6.5 ROM which does have a lot of CM11 in it.

EDIT encore: I always use compression and TWRP.
[Android Apps and Games] Yeti47:
As a side note you can unselect the auto-update option for this app in google play. Under the three dots on this app. Had to do that to stop Barclays mobile app updating...
[Android Apps and Games] H3R3T1C:
There is a bug in the onandroid script that causes TWRP format backups to corrupt /data in the backup if the /data partition is too large and script has to split it into .win000 and .win001. I have contacted Ameer about the problem and he says a new version of the script is on the way. Right now the only solution for this problem is switching to CWM format backups and using PhilZ recovery so you can use both CWM and TWRP format backups.
[Android Apps and Games] Master Cylinder:
Well, fair enough. I neglected to report that it was splitting the archive all of a sudden. (I will moderate my initial post when I get a chance.) I'll have to assume that it was a coincidence that my /data size grew to just too much to go into one archive (1.3 GB worked in 1 before) at the same time 4.3 came out.

I've used Philz before and I suppose I might be able to live with that (a confusing and counter intuitive interface and I haven't been able to figure out how to lock the screen.)

I'll give it a try.
[Android Apps and Games] H3R3T1C:
Hey guys is a new beta of the app!

Version 4.3.1_beta

* Script Version has been moved to navigation drawer.

* Fixed small typos.

* Fixed FC when opening the app.

* Upload backup to FTP has been added.

App graduated from beta! Download 4.3.1 from the play store!
[Android Apps and Games] Master Cylinder:
This has not worked for me - it's only available after 4.3 has already updated. I can choose that, and have, but it updates after I've gone back to the older one. Also, if I'm on 4.2.5, I don't that option, only 'Update.'

Anyway, it looks like that may not have been the problem - I'll test the solution H3R3T1C presented and see if that solves things.
[Android Apps and Games] f4780y:
Thanks for reporting this. I purchased the pro ONB app yesterday, but so far haven't been able successfully restore any back up it has made.

My config is TWRP, and my data partition does get split into 000 and 0001 during the backup due to its size.

Here's hoping for a fix to the script soon!
[Android Apps and Games] nihilista:
That explains why i couldnt successfully restore /data in the past. If i backup without md5 nandroid manager shows me empty data folder inside backup, if i activate md5, there is data inside...

I didnt restore some backup since it failed and i had to reinstall all, so i hope it will work secure next time ;)
[Android Apps and Games] Iceman248:
I didn't think anything of the data split, but after trying CWM backup and seeing it stay one file and actually backup over an hour shorter I'm time, much better. Haven't switched recoveries, waiting for new script.

Question though, when switching recoveries, is there anything else besides reconfiguring backup app that I need to make adjustments to?