yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] DANIELWHITT:
The fix for time issue worked for me by leaving the battery out over night, also it sorted the other issue with the time being wrong on startup, would take about 20 seconds before is would show the correct time, now it does it straight away, brilliant, many thanks phil
[Galaxy S 4 i9505 Android Development] tata_brada:
OK, backup is not most important to me, usually using TB.

But interesting my SD is formated as fat32 and backup of system is quickly.

Everything become very slow when backup data.

FYI
[Galaxy S 4 i9505 Android Development] BillGoss:
As the backup progresses the display lists files and I assume they are being backed up. The display showed files that only exist in the sdcard.

The recovery log file also lists files which, I assume, have been backed up.

Every file on the internal sdcard is listed in the log.

You can see the log and the list of files on the sdcard here: http://db.tt/ZKcaQEYm

Note that the list of sdcard files includes some directories so these aren't in the log file.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] lonelime:
Hi,

I used the latest version, backup to my external exFat64 Samsung 64GB

it took 5:08 with 2.08GB of data...

is that good or bad?

It said backup successfully at the end...
[Galaxy S 4 i9505 Android Development] BillGoss:
I think that's good.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] Phil3759:
Could be like a user said above, an issue with a game/app creating thouthands of empty folders!

Looking at it, will let you know
[Galaxy S 4 i9505 Android Development] Phil3759:
Interesting because you are using the TWRP backup mode

Actually, when you open backup archive, does it contain /data/media files ?

I will try to reproduce the issue
[Galaxy S 4 i9505 Android Development] Frenix27:
Sorry. Can someone explain to me where nandroid backup are saved? Because in sdcard/clockworkmod there aren't but i see they use space! I know i made a backup but I don t find it but if I want to restore through recovery it found it. Help pls?!?!
[Galaxy S 4 i9505 Android Development] hanspampel:
No and no again. Was posted over and over again. Search for that or read the FAQ.
[Galaxy S 4 i9505 Android Development] Mahdi786:
First of all thanks for all your hard work.

Now, I also noticed backup was very slow to exd-sd so I tried internal and was the same, about 15mins and this was after I deleted some cached pics from xda apps data folder before that it was like 35mins which is crazy. I know that's not long but it never used to be like this can't remember when it changed, I have 211 apps installed.

Today I thought I would try original cwm recovery and backup to ext-sd and it only took 8mins, I'm not sure if cwm backs up those cached files or not. Hope it helps.

Also could you implement something like twrp were the screen can timeout in backups?
[Galaxy S 4 i9505 Android Development] adl:
I flashed a kernel with Philz Recvery, now every time i reboot my time and date is totally wrong and i get a error message from whatsapp about that. If i untick and retick "automatic date and time" everything is fine again, but after a reboot it´s wrong again. I use the latest version (5.09.2) for my SGS4 i9505. Any ideas?
[Galaxy S 4 i9505 Android Development] Phil3759:
Trying to settime on some S4 phones seems to cause issues

I just finished a big update to use a new way to set time without forcing things at chip level

I will just add an option to toggle the force time at system level

Meanwhile, search here. A workaround/fix was reported by many as working. Seems like a bug at chip level
[Galaxy S 4 i9505 Android Development] BillGoss:
What format is the file? I need to change the extension so that I can open it.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] Zoot Allures:
Since you talked about primary/logical partitions, I checked both my 32 GB and 64GB, they are both primary (in fact, on the 64GB there's a 16 MB free space before the 58 or so GB), and it was FAT32 out of the box.

I tried to format the card with SD-Formatter (the one from SD org), thing left me no choice and formatted it exFAT. Even if it could run into problems, I put it back in my 9505, launched the 5.08.5 recovery, backup to external... somehow stuck on Data.

Flashed 5.09.2, same result.

Having my earlier message, I flashed 5.07.6 that was OK sometimes, launched an external backup and somehow against all odds 23:20 mn later the backup is complete.

At least, this one works now.

BTW, when I flashed, reflashed 5.08.5/5.09.2, every time, I've reset to default recovery settings, just checking the backup format to be CWM without compression with MD5 but didn't set the time to UTC+1 & Daylight saving, left it to UTC0. Could it ever been the reason of the failing (or taking ages) backup?
[Galaxy S 4 i9505 Android Development] Phil3759:
It shouldn't, but you could try and let me know. I have many ideas of what could cause it, but not having the phone and with only a few people affected, it is hard to debug it

Will add small changes to next update to see if we can fix it

file is .tar

If you enable compression, it is tar.gz
[Galaxy S 4 i9505 Android Development] Zoot Allures:
Ok, so, I flash 5.08.5 now with good time zone settings, will see... :)
[Galaxy S 4 i9505 Android Development] Phil3759:
Thank you for the bug report

In fact, under TWRP mode, /data/media is not correctly excluded. Some files can be backed up under some circumstances.

I will fix in next update
[Galaxy S 4 i9505 Android Development] Zoot Allures:
It is now 25' I launched the exact same config, data etc. vs 23' 20". Seems not doing well.

First thing I notice, 5.07.6 vs 5.08.5, screen does not dim in the latter. If so, could the full bright screen heat up so the SD-reader reach what I've read could be a temperature threshold so it stalls?

Since it's particularly hot these days here (30°C), not easy to keep the things cool. Even putting the 9505 right behind a 120mm fan in my PC-rig doesn't help.
[Galaxy S 4 i9505 Android Development] Phil3759:
Are you sure screen doesn't dim?

Also, i will add option to disable backup stats and see if it fixes these issues
[Galaxy S 4 i9505 Android Development] Zoot Allures:
Yes, fairly sure so that I notice.

It should dim within 1' but now back to 5.07.6 to test again, reset all to default without even setting time zone, I don't see it dimming too... Anyway, it should shut of the screen after 3" too.

But 5.07.6 ended its backup in 18'46". So it is not a problem of time zone and maybe not a temperature...

Aaaargh! I don't understand.
[Galaxy S 4 i9505 Android Development] Phil3759:
Screen was never turned off during backup, i did it on purpose but can add it

I will look at the dim screen bug

Also, i will revert some changes in next version to see if it fixes your issue
[Galaxy S 4 i9505 Android Development] sixun:
hello

impossible to make backups on external card:

I have messageg: "can not mount backup path"

if I try to mount the card via cwm:

I get as msg: error mounting / "external_sd"

Is t the same thing with a sdcar 16 Go fat 32 or sdcard 64Go exfat

do you have a solution
[Galaxy S 4 i9505 Android Development] kieeps:
Turns out i was right, used foldermount to move Supreme Hero to the external SD, after that my backup times went from 55~min to 13min.

Will try to move some more big apps with foldermount to see if i can get the time down even more :)
[Galaxy S 4 i9505 Android Development] BillGoss:
You are very welcome.

And I can confirm that /data/media is in the backup file.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] Phil3759:
Probably not all of it, but some files

Anyway, will fix it on next update and please, post a feedback if it is fixed
[Galaxy S 4 i9505 Android Development] Phil3759:
Testers Needed

For all people complaining from very slow backups and huge slow downs when backing up /data.

Please, do the following:

On internal sdcard create this file:

/sdcard/clockworkmod/.hidenandroidprogress

Please note the heading dot and ensure no space after it

Also, ensure, to set the correct /data/media or /data/media/0 path in Advanced menu to reflect your phone /sdcard path

When such a file is present, nandroid backup will disable all progress, include progress bar and size progress stats

You won't see any progress at all, but backup should still work

Try to backup /data or redo what was causing issues

Report if:

- backup /data still slows down to +60mn for people having the issue

- speed increases in a significant way compared to when progress is shown

Once I have some reliable reports with time stats, I will release next update which will fix the time issue properly too

By the way, on my i9100 with exfat card, enabling stats is longer by 3 seconds for 1 Gb data
[Galaxy S 4 i9505 Android Development] tata_brada:
We have a winner for me!

My configuration is:

Compress: low

Path in advanced menu: data/media/0

Backup time before: 4 hours

Backup time with .hidenandroidprogress option: 18 min

Great!
[Galaxy S 4 i9505 Android Development] Phil3759:
Thanks, but will wait for more reports from people that reported /data hang and slow downs
[Galaxy S 4 i9505 Android Development] Zoot Allures:
The .hidenandroidprogress file should be placed here?

So I have to set the advanced to /data/media/0, right?

With their pain in the a** multi-user pattern on devices mostly used by one person, man oh man!*

It finally succeed in 10' or so on my external 64 GB exFAT SDcard and needed only 6' 09" on internal storage.

Job done with your last 5.09.2.

Nice job/idea, Phil! :good:

*

First question on first launch "Would this device/tablet be shared by all the family [Y/N]" since it only be a tablet to be shared, a f**g phone is like a toothbrush, I don't want others microbs, germs or whatever. :eek:

Sorry for the fuss, if I once compiled FreeBSD kernel modules for an old crappy PC from my iBook using SSH, I really don't care nor want to bother with that BS on a phone, even so called "smart".
[Galaxy S 4 i9505 Android Development] Phil3759:
Screen dims fine on my setup during nandroid operations. maybe you already set it to minimum brightness?

This su**s

It seems some phones/cards cannot cope with too much disk operations

I will have to remove backup size stats probably, or make it optional since only i9505 is affected
[Galaxy S 4 i9505 Android Development] Zoot Allures:
No, I left the default settings, that is pretty bright and should/could be dimmed.

To spare the screen, when I customise a bit, I only swap to the first solid background, black as black on AMOLED is "off" (what I understand it's told, actually) and does not consume battery afaik.

Yup, maybe.
[Galaxy S 4 i9505 Android Development] maglise:
Great with .hidenandroidprogress !!

Hello PhilZ,

Winner for me too !

With PhilZ Touch version 5.09.2

My configuration is:

Compress: none

Path in advanced menu: data/media/0

Backup time before in my extSDcard (64 GB FAT32) : 22 min

Backup time with .hidenandroidprogress option in my extSDcard : 6 min

Very very much faster for the data backing up part !

I put the file ".hidenandroidprogress" in both SDcard and ExtSDcard.

The backup is 2.8 GB big.

Thank you very much, love you recovery.

Maglise
[Galaxy S 4 i9505 Android Development] Phil3759:
I am compiling new v6.0.3.4 - 5.09.5

It removes the settime bug affecting some of you

It also implements a small workaround to try to enhance speed while keeping backup size stats

Will release in about 15mn maybe, if some are still awake till then...
[Galaxy S 4 i9505 Android Development] Phil3759:
Update v5.09.5

Download: http://d-h.st/users/philz_touch/?fld_id=16685#files

In this version, I increased the delay to refresh backup size stats

Please, let me know about speed with progress enabled

If it is still causing slow downs, I will add a toggle to disable backup size progress. That way, people having bad sdcards/phones can disable it, while others can still display the stats

I also fixed the reported TWRP issue with some /data/media files included in backup

Please also test if you can still mount external storage as USB storage in recovery since I modified the adb start service to comply with cm-10.1 sources. This should fix sideload if it was broken

Waiting for some feedback so that I can continue to make it stable.

Thanks again to all testers who made it possible to locate the cause of these slow nandroids on some sdcards
[Galaxy S 4 i9505 Android Development] Phil3759:
Upload done

Update cwm 6.0.3.4 - v5.09.5

Download: http://d-h.st/users/philz_touch/?fld_id=16685#files

In this version, I increased the delay to refresh backup size stats

Please, let me know about speed with progress enabled

If it is still causing slow downs, I will add a toggle to disable backup size progress. That way, people having bad sdcards/phones can disable it, while others can still display the stats

I also fixed the reported TWRP issue with some /data/media files included in backup

Please also test if you can still mount external storage as USB storage in recovery since I modified the adb start service to comply with cm-10.1 sources. This should fix sideload if it was broken

Waiting for some feedback so that I can continue to make it stable.

Thanks again to all testers who made it possible to locate the cause of these slow nandroids on some sdcards
[Galaxy S 4 i9505 Android Development] Zoot Allures:
Hi Phil,

I'm still up, but not for long :fingers-crossed:

Thanks for this new update but...

It doesn't worked whether internal or external backups were stuck (could maybe finish for Christmas :angel:) in one third of "data".

Trying it with .hidenandroidprogress in the right place, 8' 13" to external card.
[Galaxy S 4 i9505 Android Development] ifti_a:
Does this recovery change the binary counter ? And increase chances of yellow triangle ?
[Galaxy S 4 i9505 Android Development] cyberspaceguy:
Ca we flash it through your recovery CWM selecting a zip file from a card? Thanks
[Galaxy S 4 i9505 Android Development] wingg:
@up ...no just got to go on the croossroads at the midnight and catch black cat with one hand at full moon time. .. ...;)... before flashing...

//-->
[Galaxy S 4 i9505 Android Development] Tassos_i:
Just to say that backup works fine on stock MGA : 8min58 on exfat 64 for 2GB after low compression. Slightly slower than version 5.09.2 though (8min03).
[Galaxy S 4 i9505 Android Development] BillGoss:
Perfect!

/data/media is no longer included in the backup. Backup size is now back to what I expected and it takes 1:30 less time to complete.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] starbucks2010:
Test 2 with the new version 5.09.5

1. Without the .hidenandroidprogress

Total size ~2600 Mb

Backup time: 22:06 mn

Backup size: 1612.22 Mb

Compression: 37.30%

2. With the .hidenandroidprogress

Total size ~2400 Mb

Backup time: 04:44 mn

Backup size: 1493.25 Mb

Compression: 34.56%

ROM Foxhound v1.3 (XXUBMG7) Adam kernel v1.5 and the backup was done on ext-sdcard (Samsung Class 10 UMS-1, 32Gb, fat32).

Best regards.
[Galaxy S 4 i9505 Android Development] Phil3759:
Thank you. Seems the phone cannot cope with this. Probably something related to drivers/sdcard/datasize combo

I will add the toggle to disable backup size stats and just keep progress bar
[Galaxy S 4 i9505 Android Development] starbucks2010:
Phil,

As far as I remember, the progress bar didn't move during the backup. But I might be wrong ...

Anyway, a short info is always good. So, if is possible to implement it, just to show us during the backup what partition is in progress, will be very nice. But if this is slowing down the backup process then is better to be removed the info.

PS. Is there any restriction for size of system partition backup? I see that the system partition backup is split in 2 files (953 Mb + 131 Mb). I ask you this because is very difficult for me to find a sw that knows how to unzip split tar.gz files.

Thank you.
[Galaxy S 4 i9505 Android Development] Fauert:
Hi Phil , I did a "normal" nandroid backup, with new version

5.09.5

Without the hidenandroidprogress :

Echoe Rom v1 with Ausdim Kernel v11 :

Backup time : 15:48 min

Backup size : 3662,71 Mb

Compression : 0.00%

10 min. faster than .92 :good:
[Galaxy S 4 i9505 Android Development] maglise:
Great New Update

Hi PhilZ,

I did a "normal" nandroid backup in my ExtSDcard (64GB FAT32), with new version 5.09.5 with the .hidenandroidprogress file :

OMEGA Rom v9.0 + Stock Kernel :

Backup time : 06:55 min

Backup size : 2819,74 Mb

Compression : 0.00%

Thanx a lot,

Maglise
[Galaxy S 4 i9505 Android Development] Phil3759:
Thank you all for the feedback

So, seems really the check for sdcard space that causes the issue

As I said, probably a combo of phone drivers, sdcard brand/format and size of data on sdcard

I am adding a toggle to disable the size progress. This will keep the progress bar and the file names progress

Hopefully, this fixes the slow downs

Must say though that only some i9505 phones seem affected. I have no reports of the issue on other phones.
[Galaxy S 4 i9505 Android Development] InevitableDJ:
Hi Phil,

It seems the time bug isnt resolved in your latest build for me, im currently running omage v9 (MGA) with GE Kernel V11
[Galaxy S 4 i9505 Android Development] starbucks2010:
I really don't understand this time bug. I set the time manually in the cwm and that's it. I consider that is too much trouble and time consuming for Phil to fix it without having the device. Just my 2c.

Best regards.
[Galaxy S 4 i9505 Android Development] InevitableDJ:
ok so how do you set the time manually on philz recovery? i could not find the option there, if it was there i would of set the time myself.
[Galaxy S 4 i9505 Android Development] starbucks2010:
You reboot in cwm, go to Philz Settings, then GUI Preferences, then Time zone. That's it.
[Galaxy S 4 i9505 Android Development] Phil3759:
In 5.09.5 you have to config again the DST and time offset if they were used. Recovery uses new prop values for these

If your CMOS was broken by one of the older builds and time is still wrong or date stuck at 1970 during backups, you still have to pull out battery for 24h to reset CMOS

Again, the cause is not recovery, but this failing i9505

New version should no more cause this CMOS corruption.
[Galaxy S 4 i9505 Android Development] zencooler:
Hmmm... it seems really strange. Before I made an upgrade to 5.09.5 on three different versions of your recovery the time always worked fine.

Now this is the first version with the "time issue". Later on, I will downgrade to previous version of recovery to see if ti works again ;)

My test based on ver. 5.09.5 (Omega 7.0, XXUBMF8, KT)

1. Backup to extFAT 64GB external SD

a. Without the .hidenandroidprogress

Backup time: 32:23 mn

Backup size: 4230.94 Mb

Compression: 0.00%

b. With the .hidenandroidprogress

Backup time: 16:30 mn

Backup size: 4206.30 Mb

Compression: 0.00%

2. Backup to internal SD

a. Without the .hidenandroidprogress

Backup time: 42.06 mn <--- it's interesting, cause it takes longer than on ext sd :)

Backup size: 4231.66 Mb

Compression: 0.00%

b. With the .hidenandroidprogress

Backup time: 06:08 mn <--- Wow!

Backup size: 4232.14 Mb

Compression: 0.00%

BTW: Progress bar is working in each option (with and without .hidenandroidprogress file) - so it's good :) - this is comment to:

Best regards.
[Galaxy S 4 i9505 Android Development] Phil3759:
You have to define again the dst and timezone offset in new version (GUI Settings menu)

Whit the .hidenandroidprogress, the progress bar will not show any progress. It will stay black, that's sure 100%
[Galaxy S 4 i9505 Android Development] Bradden1:
Me too..look at the main thread..there is a solution which worked for me.
[Galaxy S 4 i9505 Android Development] zencooler:
Heh, this is the first thing I tried. I set up the time zone and checked DST, then even after reboot into recovery the time was different and the backup date after was: 1970...

However:

Suprise, suprise! After I installed 5.07.6 and reboot into recovery the time is correct again. Then after I installed 5.09.5 and reboot again, the time is finally correct. Maybe that's the solution for those that have a "time issue"? :)

You are right. I don't know how I seen this bar changing... It is just black :)
[Galaxy S 4 i9505 Android Development] niknase:
did a back up without .hidenandroidprogress

3.2GB

0 compression

48 minutes

with .hidenandroidprogress

3.2 GB

0 compression

7.52 minutes

thumbs up

thanx for this great recovery

set my time manually, showed wrong in the last versions

sent with SGS i9505 OMEGA ROM V9 ausdim Kernel GE V11
[Galaxy S 4 i9505 Android Development] aeroman:
we need more speed. :D

but Phil is a good Dev, when you see with what energy & determined he goes to the cause.

'm Sure this recovery sometime even the fastest for the S4, :D ;)

so if the good development goes on. :good:

*tapatalked* GT-I9505
[Galaxy S 4 i9505 Android Development] Zoot Allures:
Yeah, thanks, Phil.

I did it once again, just to be sure on sd_ext exFAT with hideandroidprogress file:

Backup time: 06:30 mn

Backup size: 1922 MB

Compression: 38%

Kudo to you deducing what was wrong.
[Galaxy S 4 i9505 Android Development] Phil3759:
Recovery is undergoing a massive code cleanup to open source most parts and to make maintenance easier against official CWM

Also, I will be away for a few days, so a final fix to speedup things while keeping progress bar will wait next week

Big thanks to all testers for all the feedback :good:
[Galaxy S 4 i9505 Android Development] Zoot Allures:
Have nice holidays, Phil. :cool:
[Galaxy S 4 i9505 Android Development] Phil3759:
A last one...

5.10.0 (25.07.2013)

Download:

http://d-h.st/users/philz_touch/?fld_id=16685#files

This version should, by default, disable size progress for i9505

You can enable it under Misc Nandroid Settings

Note: this version underwent a major code workup (see change log). Some bugs could popup despite I tested it largely

As usual, just report any issue

And... let me know about backup speed

Thanks again to all the supporters and testers
[Galaxy S 4 i9505 Android Development] ifti_a:
Hi

I need to install this using method 2 cause my ROM isn't rooted and I have no recovery installed on my i9505.

How do I go about using triangle away if my rom isn't rooted or does that not come up with the i9505 ?

Just a little confused, I really want to install omega 9.

Thanks and sorry I'm a noob.
[Galaxy S 4 i9505 Android Development] Milamber:
Triangle Away needs root to run properly.
[Galaxy S 4 i9505 Android Development] Tanis64:
As far I understand this all, you need Root for using Triangle Away!

But since the Kernel and the Recovery are separated in th I9505 you can:

Install the Recovery via Odin

Boot in the Recovery and 'Flash' your custom ROM.

I use always TW so I'm not shure if you need to be rooted to install the Custom ROM, i think there is no need for Root at this point.

Rooting using CF-AutoRoot is easy

After you has Root the Phone you can use TA to set the internal Counters and custom ROM Flags back.

But Remember:

In the moment you change the recovery you can not set the internal counters and custom ROM Flags with TA!

Regards
[Galaxy S 4 i9505 Android Development] Tassos_i:
Backup ok with default values on stock MGA (no significant changes in backup time).

2 minor curiosities :

1. Upon installation over 5.09.5, time zone was ok, but daylight savings were lost.

2. After re-entering correct daylight savings, first reboot ended in a crash (first time ever with my current rom). Since then, ok.
[Galaxy S 4 i9505 Android Development] BillGoss:
I like using a script to do my ROM updates as I typically flash about 5 zips.

At the moment I'm using Open Recovery Script which doesn't support wiping /system.

Is there any documentation on scripting for CWM (I've not been able to find any)?

Or would it be possible to include support for a "wipe system" command in ORS?

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] Milamber:
Can anyone tell me were the fix permissions has gone?