yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] 78Staff:
Well fwiw, I set scheduled backup and do not see that behavior - I set it for 11pm and it only ran at 11pm as expected... based on the bug I would expected another run at... 10am I suppose, but it didn't occur. So I guess it doesn't affect all devices? Or doesn't flow across the date. Will report back after tonight's expected run of 11pm...

EDIT - ran fine at 11pm as expected. I see an update already out there so it's a non-issue I suppose :good:
[Android Apps and Games] testrider:
Hi all, I have a Note 2 running stock JB 4.1.2, rooted, with stock recovery.

Does Online Nandroid Backup require CWM or TRWP on my phone?

Thanks.
[Android Apps and Games] H3R3T1C:
I'll see what I can do to add this option :D.

Yes your device needs to have either TWRP or CWM if you want to restore the nandroid backups you make.
[Android Apps and Games] testrider:
Thank you! Do I need CWM or TWRP if I just want to do a backup?
[Android Apps and Games] H3R3T1C:
Nope. You do not need CWM or TWRP to just create backups.
[Android Apps and Games] H3R3T1C:
New version of the app has been uploaded to the google play store with the following changes:

* Fixed bug that caused scheduled backups to trigger at wrong times after first scheduled backup. (Please remove current scheduled backup and set a new one for bug to be fixed on your device)

"* Added option to scheduled backup to only backup if device is charging.

* Fixed FC bugs reported through the Google Play Store.

It should be visible in the play store very soon!

https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup
[Android Apps and Games] HirogenX:
Thx for the good work and quick email support. Now it's working well. Keep it up!
[Android Apps and Games] spupuz:
Some times during the night does not complete the backup I suppose cause I'm under clocked on off screen. Could you set an option to leave screen on during backup?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] Hirishiolo:
for me too, the last 2 nights it doesn't backup...
[Android Apps and Games] LillieBennett:
TWRP 2.6.3.0 is unable to restore android-secure from a backup created by onandroid.
[Android Apps and Games] zencooler:
Last version works for me like a charm.

The schedule problem has been fixed. After the update it needed set up SU permission again then everything works.

Thanks for the awesome tool!
[Android Apps and Games] mauam:
Thanks a lot [MENTION=4535362]H3R3T1C[/MENTION]. This's the only one that works on my S3 mini with cm10.2, without the need of supersu (from playstore). Simple & awesome to use, without some crap like OBackup. Thanks again dev, you're awesome:)
[Android Apps and Games] okidokiss:
I would like to ask for a small change.

TWRP 2.6.3.0 stores backups inside a directory named with phone model, i.e. GT-I9001. Nandroid do diferent, and all backups goes to dir 000000000000000. It's possible to change this? So I can have all backups in same dir?

Thank you!
[Android Apps and Games] kantjer:
TWRP backups should be saved in sd/TWRP/your-phones-serial-number.

Not "phone model" or 000000000000000
[Android Apps and Games] okidokiss:
It's a known issue that some phones don't work with serial number, like i9001. With this phones, backups always go to 0000000000. TRWP solved this replacing serial number by phone model and that's how is working now. So, at this moment I've this problem with my phone, and at least B users with same model also. TWRP found this solution and is working perfect.
[Android Apps and Games] jaiswalnilesh:
For Unsupported Device

Please tell me what to do for unsupported devices like

Swipe MTV Slash ( i am having) with JB 4.1.2
[Android Apps and Games] kantjer:
You need to request a device patch. You can do that using the settings menu.
[Android Apps and Games] spupuz:
my nightly scheduled backup sometimes is not working or it does not complete correctly (size is smaller than expeted) and the notification is not still present at morning wake up.
[Android Apps and Games] kantjer:
Same here, yesterdays backup failed completely, but I blamed that on the app coming out of beta and updated during the night without the pro key installed.

Last night backup wasn't finished completely. I use a custom name for my backups and the scheduled backup was aborted with a "backup already exist" message in th elog. It looks like when using a custom name no data/time extension is given so the new backup wants to write to the same folder as the already existing one.
[Android Apps and Games] nihilista:
I'm testing that app from beta till now, buyed final from Store.

Found some issues: If no backup in backup folder and setting retention to save one last backup, backup is written and deleted after that, tried it 2 times, same result. If doing backup manually before with "keep all" retention, all runs like it should, after that retention works with scheduled backups, too.

Next issue was, that scheduled backup in the morning (after long sleep time at night) starts, but runs half an hour and finishes after screen wakeup.

Using Obackup finished fast every time. In bbs there is a 20min wakelock for obackup, in this app nothing like that, maybe that could be the problem? Trieing backup while cpu sleeps?
[Android Apps and Games] spupuz:
in oback there was an option to prioritize the operation or maintain the screen on.
[Android Apps and Games] nihilista:
Yes, but screen on not needed, works great without. Don't understand your post, cause problems are not with obackup....
[Android Apps and Games] okidokiss:
See this log. App is deleting the backup at the end.

Starting backup...

Running with the following commands: -o --twrp --utc --storage /mnt/external_sd -me -cd -pd

Using ash Shell

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

Online Nandroid Backup v9.20

* 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

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

07:25:35 Using busybox from: /data/data/com.h3r3t1c.onnandbup/files/busybox

07:25:35 Checking for root permissions...

07:25:35 Root permissions acquired!

07:25:35 Analysing battery level...

07:25:35 Sufficient battery available!

07:25:35 Checking version of BusyBox installed...

07:25:35 BusyBox version 1.20 or above installed!

07:25:35 Searching for SD card...

07:25:35 Alternate storage media provided!

07:25:35 This device has a patch file installed!

07:25:35 TWRP backup mode selected at run time!

07:25:35 Checking for required tools...

07:25:35 All required tools available!

07:25:36 Checking disk space...

07:25:36 SD Card Free Space: 3673 MB

07:25:36 Required Space: 1336 MB

07:25:36 Necessary disk space available!

07:25:36 Detecting mountpoints to exclude...

07:25:36 Backing up to /mnt/external_sd/TWRP/BACKUPS/0000000000000000/2013-11-22--07-25-35

07:25:36 Backing up /boot.... 100%

07:25:39 Backing up /recovery.... 100%

07:25:41 Backing up /system........................... 100%

07:26:35 Backing up /data................................................. 100%

07:28:18 Backing up /cache... 100%

07:28:20 Backing up /.android_secure... 100%

07:28:26 Generating md5sum for and-sec.vfat.win... 100%

07:28:29 Generating md5sum for boot.emmc.win... 100%

07:28:32 Generating md5sum for cache.ext4.win... 100%

07:28:35 Generating md5sum for data.ext4.win....................... 100%

07:29:20 Generating md5sum for recovery.emmc.win... 100%

07:29:23 Generating md5sum for system.ext4.win........... 100%

07:29:44 Online Nandroid Backup Completed in 4 minutes 9 seconds!

exitcode [0]

Backup retention policy enforced!

User specified number of backups to retain: 1

Backup /mnt/external_sd/TWRP/BACKUPS/0000000000000000/2013-11-22--07-25-35 has been removed.
[Android Apps and Games] H3R3T1C:
Thanks for reporting this bug. I will fix it very soon!
[Android Apps and Games] okidokiss:
Thank you!

It's possible to do something about this too?

http://xdaforums.com/showpost.php?p=47682272&postcount=250

It's very annoying, Every time I want to restore, I've to copy or move backup from 00000000000000 to GT-I9001! Otherwise TWRP don't find the backup. Just asking to align with TWRK 2.6.3.0
[Android Apps and Games] spupuz:
Night scheduled backup does not start

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] efan3719:
Just to let you know I am also getting the backup deletion on my Nexus 7 2013 running KitKat. Even with keep all backups selected.
[Android Apps and Games] H3R3T1C:
What settings do you have set for your auto backup?

Can you post the log file that is created after the nandroid backup has finished?
[Android Apps and Games] spupuz:
Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] spupuz:
Ok

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] kantjer:
There seems to be a bug in the retention calculation. In order to keep 3 backups I need to set the retention to 4.

Try setting the retention to 2 to keep 1 backup.
[Android Apps and Games] H3R3T1C:
Please try the version im attaching to this post and let me know if the bug has been fixed.
[Android Apps and Games] okidokiss:
Seems ok now. To be perfect just need to fix the directory from 0000000 to phone model, the only way to be 100% compatible with my device.
[Android Apps and Games] efan3719:
as [MENTION=3306843]kantjer[/MENTION] suggested there seemed to be an issue with the retention calculation. i set it to two as he suggested and it started to only keep one. with the new apk you posted it seems to work fine again. set retention to one and it didn't delete itself. all seems good.
[Android Apps and Games] H3R3T1C:
Thanks for testing and reporting back guys. I published that new version to the play store.
[Android Apps and Games] spupuz:
My schedule is not working :(

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] H3R3T1C:
I looked over the settings you have set and it looks like you have only backup if device is charging.

When you try to do a backup is your device plugged in?
[Android Apps and Games] kantjer:
Happy to report that the retention is working correct now.
[Android Apps and Games] spupuz:
Yes device is plugged in but problem is that the backup does not complete or does not start dunno why

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] kantjer:
Are you using a custom backup name?
[Android Apps and Games] spupuz:
no custom backup name :)
[Android Apps and Games] kantjer:
OK, custom name was stopping my scheduled backup.

Have you tried it without the "Power" option disabled? I don't use that and my scheduled backup is running fine.

Could be that the "Power" isn't detected correct.
[Android Apps and Games] spupuz:
dunno but i have a strange issue my backup is usual 1.5gb here sometimes does not start and sometimes it start but it's around 80mb or 1gb
[Android Apps and Games] kantjer:
Weird, what does the log say?
[Android Apps and Games] spupuz:
Ok it does not work apparently when in high deep sleep and screen off. In these case's schedule is not starting

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] Krowbarr:
Or in my case it'll start but never finish. Same on my E4GT.

Sent From My Nexus 7 2013/Pacman Rom/faux mainline kernel 007 r2!
[Android Apps and Games] m0han:
Backup location issues

i switched to twrp recovery (v2.6.3.0) recently. i usually do backups while the phone is still switched 'on' - i.e., without booting into recovery - by either of the following methods:

----------(i) using online nandroid backup app (v4.2.1)

----------(ii) executing the appropriate command after installing onandroid script (v9.20)

these backups are created in /sdcard/TWRP/BACKUPS/0000000000000000/. but, backups done

from within recovery

are created in /sdcard/TWRP/BACKUPS/Micromax_A116/.

'restore' from within recovery

detects backups located in /sdcard/TWRP/BACKUPS/Micromax_A116/, but not /sdcard/TWRP/BACKUPS/0000000000000000/.

since i wanna be able to restore my backups with ease, rather than having to first move the backup from the former location to the latter location, i'd like help regarding the following:

----------=> saving the backups created by "online nandroid backup app" or "onandroid script" directly in /sdcard/TWRP/BACKUPS/Micromax_A116/

----------=> getting twrp recovery to detect backups in /sdcard/TWRP/BACKUPS/0000000000000000/

i'm a bit :confused:. somebody please help. thanks.
[Android Apps and Games] okidokiss:
Same here with my I9001, reported more than once before.
[Android Apps and Games] spupuz:
still missing scheduled backup of last night.

Cataclysm kitkat 4.4 Nexus 4 kernel semaphore 1.8.0
[Android Apps and Games] kantjer:
Sorry to hear that man, It seems I'm the lucky one, all is working fine for me.
[Android Apps and Games] spupuz:
maybe it's because of my android 4.4 :)
[Android Apps and Games] nicesoni_ash:
Hi,

I am using the latest version and cwm v6.0.4.4 recovery. My backup from this app is of 2.7 gb however when I do the same backup in cwm recovery, it's 3.75gb. Almost one gb less thru this app, I haven't restore it yet as I am confused which one did wrong, can you suggestme what vcould be wrong here?
[Android Apps and Games] kantjer:
Feature request.

I would love to see an easy way to redownload the patch using the existing device detection.

My Phone isn't detected automatically, so as it is now after a Rom update I need to go through the manual device detection process to download the patch again.

It would be great if we could just download the patch using the existing detected device with one click :fingers-crossed:
[Android Apps and Games] sewe:
First, at every restart of the phone online nandroid makes a backup, why?

Second,i think i found a bug

SM-N9005 via Tapatalk 2
[Android Apps and Games] efan3719:
I'm on android 4.4 but my scheduled backups are working fine.

I have that too. Looks like it is skipping December. We'll see if it actually does the backup or if it's just a visual bug. I also just rebooted and the backup ran. Idk what is causing that.
[Android Apps and Games] spupuz:
Scheduled backup is pointing to Nov 1 :mad: That's strange

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] H3R3T1C:
I'll look in to this bug and fix it soon!
[Android Apps and Games] H3R3T1C:
The bug has been fixed and the new version has been uploaded to the google play store with the following change log:

Version 4.2.2:

* Fixed bug that caused scheduled backup to to not roll over to next month. Please click on Manage Scheduled Backup and click set to set the next scheduled backup to the correct time!
[Android Apps and Games] sewe:
Do you know why it starts a backup every time i restarts the phone?

SM-N9005 via Tapatalk 2
[Android Apps and Games] efan3719:
I noticed in the app permissions it has run at start up. Is this required for something else or would removing that stop the backup at restart?
[Android Apps and Games] H3R3T1C:
This is due to the bug in the previous version of the app (version 4.2.1). Please update to the latest version then when you open the app, click on Manage Scheduled Backup, and click set. This will set the auto backup timer with the correct time.

Yes that permission is required for the auto backup to be setup at boot because I'm using the AlarmManager to schedule when the auto backup should run and it is not persistent between reboots.
[Android Apps and Games] efan3719:
Can confirm. Schedule issue and auto start on reboot have been fixed with latest apk. That was fast, thanks a ton.
[Android Apps and Games] marbulas:
[MENTION=4535362]H3R3T1C[/MENTION]

reporting 2 bugs here...

1.

If I restore backup made via online nandroid backup, only the pro(unlock key) app becomes extinguished. I don't know why :(

2.

Restoring nandroid backup and Flashing some of update.zip(s) through Nandroid Manager doesn't work at CWM 6.0.3.5 on SM-N900S(Galaxy Note 3, one of snapdragon variants).

Thread of the recovery I'm using : http://xdaforums.com/showthread.php?t=2454079
[Android Apps and Games] sewe:
Awesome support, thank you

SM-N9005 via Tapatalk 2
[Android Apps and Games] spupuz:
Ok backup this night has started but never finished only 156mb

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] nihilista:
Just gave this app another chance. But have some issues....Sometimes after reboot, backup starts. And last night backup did run, but there is no file saved (on both devices i have running...). Sometimes it runs ok, sometimes it stops and leaves unusable backup. Never had this with orange, runs fine over months on my both devices.
[Android Apps and Games] okidokiss:
I've notice this yesterday, before last update.
[Android Apps and Games] m0han:
issues with v4.2.2 or earlier?

[MENTION=3839999]marbulas[/MENTION], [MENTION=815448]spupuz[/MENTION], [MENTION=4471736]nihilista[/MENTION], [MENTION=2314311]okidokiss[/MENTION]: would like to know; you guys still facing all those issues - with the latest release (v4.2.2)?
[Android Apps and Games] marbulas:
[MENTION=4620757]m0han[/MENTION]

4.2.2 doesn't have the 1st one what I reported.

2nd one is still.
[Android Apps and Games] nihilista:
One little question: Is it possible, to give backup custom name with some dynamic tag like "SLIM-<date>-<time>", maybe to get actual date in this name like this example? Or Rom-Name like in Obackup? If not, this would be a nice feature.....
[Android Apps and Games] jpgmn:
Hi!

The max backup policy isn't working.

No matter how many I choose it never deletes old ones.
[Android Apps and Games] TopperBG:
For me schedule and retention works perfect :)
[Android Apps and Games] kantjer:
On my S4 everything is working but I found this morning that on my wife's S2 backups above the retention period aren't removed.
[Android Apps and Games] H3R3T1C:
Thanks for the feedback guys. I'll address all the issues you are having very soon. At the moment finals week is coming up next week so I need to put development of this app and Nandroid Manager on hold. Once finals are all done I'll be replying to your guys issues and work with you all to fix them.
[Android Apps and Games] efan3719:
Just wanted to say thanks for this app and the quick support you provide. This app is great! good luck on the finals!
[Android Apps and Games] spupuz:
Again yesterday night schedule has not start

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] zencooler:
Go to settings and grant root permissions again. I have the same issue after update to last version.

Regards.
[Android Apps and Games] efan3719:
Think you quoted the wrong person
[Android Apps and Games] kernelmoron:
For those having trouble with the backup schedule and retention policy try re-patching the device. I've tried this yesterday and it seemed to fix the issue.
[Android Apps and Games] zencooler:
Yes, right :)

It was reply to person noticed an issue with scheduled start...

Sorry for this mess ;)
[Android Apps and Games] nihilista:
OK, next fail here tonight. Backup started, but then said unknown device. reinstalled patch yesterday,but didn't work. Manually backup works fine...
[Android Apps and Games] spupuz:
as always mine is not starting :/

last scheduled is 2dic netx schedule is 4dic but we are at 5!! so i suppose next should be6 dic :/
[Android Apps and Games] kantjer:
I flashed an Android 4.4 Rom a few days ago and my nightly schedules including retention are still running fine. It doesn't appear to be a KK issue.
[Android Apps and Games] spupuz:
thanks i got to identify the problem :| is there a way to take a log?
[Android Apps and Games] kantjer:
What you can try is to schedule a backup in say 5 min. and see if that run's. If that also doesn't run it would be easy make a logcat.

There was a similar problem with non starting backups with OB in the beginning. I helped testing and bug hunting then, in that case the backups scheduled 5 min. later ran nicely but the ones scheduled hours later didn't. If I remember correctly it had something to do with the limited memory of my S2 back then and the alarm needed to wake the device wasn't persistent and died.
[Android Apps and Games] LillieBennett:
I suspect there are power saving modes in and around that could interfere during the background/screen off situation.
[Android Apps and Games] spupuz:
you also have problems?
[Android Apps and Games] LillieBennett:
No, sorry I was just trying to be helpful. I prefer to run backups ad-hoc while catching up on e-mail or forums.
[Android Apps and Games] spupuz:
since i switched to omnirom it seems to be ok :)
[Android Apps and Games] kantjer:
Good to hear.

Is the retention working for you also?

Thats the only problem I have on my wife's S2. Backups are never deleted.
[Android Apps and Games] spupuz:
i suppose it's working.
[Android Apps and Games] nihilista:
Any news from developer? Till now app didn't work always reliable for me.
[Android Apps and Games] HirogenX:
Ok, at first thanks again for this tool and the good support.

Just a little problem, every time I try to do a custom backup I have to re-download and install the patch, if not backup of boot and recovery is missing. It's the same with two devices, an S3mini with SlimROM by maclaw and an Nexus 7 with stock 4.4.2. Could you have a look at this please?

Thanks and keep up the good work! :thumbup:
[Android Apps and Games] mauam:
Try this.
[Android Apps and Games] MasterBrush:
How can I restore a backup i made with online nandroid backup?

In which folder do I need to put the backup

I put the folder with the backup on the SD card, but I did not manage to restore it with CWM. CWM seems not to be able to mount the external sd card to get the folder

I cannot put it on the memory of my phone since it is encrypted

any suggestions?
[Android Apps and Games] HirogenX:
You can use the Nandroid Manager by H3R3TIC from Playstore.

If you are using CWM you have to select 'restore from extSd'. To backup to extSd you must choose storage /sdcard1 or extSdcard depends on how called your extSd in your system. At least on my S3mini it is so.
[Android Apps and Games] nihilista:
Same problem every time here, manual backup works fine, scheduled backup works one time, second it runs and after that it said unknown "something" (forgot the exact thing) and backup folder is empty. Seems retention didnt work ok.
[Android Apps and Games] okidokiss:
I Must say that for me is working just fine. No problems at all.
[Android Apps and Games] ilal2ielli:
Tried doing some suggestions I found in this thread from a whIle back, but backing up using TWRP mode takes significantly longer than backing up in TWRP itself.

TWRP takes anywhere from 10 minutes or less, but when using the app, I left it running for an hour and it still wasn't done when I stopped it. Backing up the data partition takes the longest.

Any suggestions or fixes known?
[Android Apps and Games] JulianJenner:
Why you surprised? 5GB data?

Happy New Year for Everyone!

Sent by my imprisoned LG Optimus L9 (P760) with Tapatalk 4.3 from deadly & suffering Hungary
[Android Apps and Games] ilal2ielli:
Well considering the same backup from within TWRP takes only 10 minutes or less, that is a surprise.

When I was using CWM, backups using Online Nandroid took just about as much time as running within CWM.

There seems to be something going on when running TWRP mode that makes it take longer than it should.
[Android Apps and Games] efan3719:
Has anyone else had a backup starting after a reboot? Never noticed it before but it just started doing it on my Nexus 5 and Nexus 7 2013 both running stock rooted KitKat.
[Android Apps and Games] okidokiss:
I had one today, 1st since I've started to use this app
[Android Apps and Games] efan3719:
Just rebooted again to test it and it started again. Weird. I'll send in a bug report.
[Android Apps and Games] kantjer:
Happened to me twice today, never before
[Android Apps and Games] razen_kain:
Awesome app H3r3T1C! Bought the paid version to support and left five stars. :thumbup::):beer:

:thumbup: Sent from my SGH-S959G :)