yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] Formhault:
I know you meant you formatted the SD card with the phone. I was just kidding, mate :D. That's what I do to alleviate the situation when I feel r*ped by my carrier :laugh: :silly:.

If you format the SD card with the Galaxy S4 (ROM booted up), doesn't it format it to FAT32 and whatever file allocation size it deems fit...?
[Galaxy S 4 i9505 Android Development] kantjer:
No if the SD for example was formatted exFAT it will just be reformatted exFAT again if you do it in phone.

If you want to change the filesystem you will need to do it manually using your good old PC and a card reader.
[Galaxy S 4 i9505 Android Development] MatteoB92:
OT : Between FAT32 and exFAT, which filesystem guarantees the best performances?

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] Formhault:
exFAT is faster, plus it allows for larger-than-4GB individual files. I still use FAT32 and am pleased. Besides, exFAT is supposedly (still) problematic on specific ROMs / kernels, as far as I know.
[Galaxy S 4 i9505 Android Development] Phil3759:
No need to PC

Recovery will format it for you to any type you like ;)
[Galaxy S 4 i9505 Android Development] kantjer:
That depends on the ROM and kernel used.

If you use a Samsung TW based ROM with stock kernel you can safely use exFAT for anything else I would recommend FAT32.

---------- Post added at 12:53 PM ---------- Previous post was at 12:52 PM ----------

Sorry, I should have known you made a simpler solution for it :D
[Galaxy S 4 i9505 Android Development] Formhault:
[MENTION=4666971]Phil3759[/MENTION]

The switch to enable old updater scripts compatibility is gone... but the functionality is still there, right? :confused:
[Galaxy S 4 i9505 Android Development] phil.o:
Klick

°°° tapatalked °°°
[Galaxy S 4 i9505 Android Development] Formhault:
I know. I've read that at the time it was posted, and acknowledged it. But now... you got me startled :D.

So, as I thought... the functionality is there, just the switch has been removed.

---------- Post added at 02:16 PM ---------- Previous post was at 02:15 PM ----------

I don't think ROM makers will switch to the new update-binary that just because of this. They'll just say "USE ANOTHER RECOVERY PHILZ SUCKS"... :(
[Galaxy S 4 i9505 Android Development] DSA:
That's a big assumption

A lot of people on here have respect for what Phil is doing and I'm one of them

Please don't say things like that, its a little offensive
[Galaxy S 4 i9505 Android Development] Phil3759:
6.24.6 Fixed

You can redownload from goo.im

exfat is back like it was: fast

4.6 Gb in 09:32 mn
[Galaxy S 4 i9505 Android Development] phil.o:
But [MENTION=4129455]Formhault[/MENTION] is right. I already came across such a statement of a well known ROM dev too. :rolleyes:

°°° tapatalked °°°
[Galaxy S 4 i9505 Android Development] Formhault:
Provided things haven't changed much for one specific ROM which shall remain nameless (in terms of update-script)... I don't really think I know how big my assumption is, afterall. I didn't intend to offend anybody, however I did expect some backlash to my previous statement... For that, I apologize.

For the record, I did see negative mentions with regard to specific recoveries from regular members, as well as people I really did not expect that from (you know what I mean).

Regardless, hope I have not offended anyone, and if I have, I sincerely apolgize, for that was not my intention. Especially [MENTION=4666971]Phil3759[/MENTION].
[Galaxy S 4 i9505 Android Development] SmartFreak:
Backup times increasing

Hi Phil,

I just installed your latest version and made a backup, took 21 mins (medium compression, 3,1Gb compressed).

Downgraded back to 5.18.9 which is still my reference version and it took 8.40 mins with the same settings.

Versions in between ranged from 10-14 minutes.

I am still on 4.2.2 (BobCatRom V6) and backup to 64Gb exFAT card so I don't need all the latest functionality, hence going back to 5.18.9 again.

But I will continu to try each new version ;) need to flash something regularly.....
[Galaxy S 4 i9505 Android Development] MatteoB92:
Thanks Phil, also for the update ;)

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Android Development] Phil3759:
Rom version doesn't matter

I test on a 64 Gb exfat too

4.5 Gb in 9:36 mn low compression

I see little advantage of stronger compression as you loose too much time
[Galaxy S 4 i9505 Android Development] Phil3759:
6.24.8 / libtouch_gui 1.16

This is a small bug fix version

I promise to calm down guys, but I hate bugs. Fell on the touch gesture one by case

The other was merged from main cm repo
[Galaxy S 4 i9505 Android Development] SmartFreak:
I installed 6.24.6 again and switched compression from medium to low (no other change). Backup time increased from 21 to 38 mins. Beats me completely.

All steps were equally slower than before (backup as well as MD5 calculation).

Will do some more tests
[Galaxy S 4 i9505 Android Development] Phil3759:
/emmc path is not used by cwm
[Galaxy S 4 i9505 Android Development] track909:
[MENTION=4666971]Phil3759[/MENTION]

I don't understand where is the download link for jflte :confused::confused::confused:
[Galaxy S 4 i9505 Android Development] Formhault:
1. Go to the first page of this topic.

2. Locate the first post.

3. Locate "Download links" and read carefully.

4. Open whatever link you find in that section

5. Press CTRL+F and type in "jflte"

6. Be amazed at how simple that was.
[Galaxy S 4 i9505 Android Development] BEBU1:
So should I use TWRP instead or doesn't this error have any affect on the update?
[Galaxy S 4 i9505 Android Development] Formhault:
The same happens on my phone when I try to use KTweaker to update the kernel : recovery boots up, red triangle appears and the phone boots back up to normal, with the new kernel not being flashed...

That happens because whatever scripts KTweaker (and your program in question, OpenRecoveryScript) is running within the recovery is not compatible with CWM (and, hence, PhilZ) due to the unknown path the script is pointing to (as Phil previously said, CWM does not use /emmc, so... if the script points to /emmc/Download/filetobeflashed.zip, CWM has no idea where /emmc is).
[Galaxy S 4 i9505 Android Development] John_wba:
+1
[Galaxy S 4 i9505 Android Development] Phil3759:
Cwm and twrp share common paths too

Now, if the dev decided to cap his work to TWRP, you have no big choices left except asking him to support cwm
[Galaxy S 4 i9505 Android Development] Formhault:
They share common paths? What is the problem then? I thought it's the path :confused:... TWRP uses /emmc, while CWM uses... what?

TWRP is getting too much love, and I really don't understand why, especially since there is no official support for I9505...
[Galaxy S 4 i9505 Android Development] Phil3759:
/emmc is /sdcard usually

However, I think TWRP also symlinks extra storage to many paths: external_sd, external_sdcard... not sure about /storage/sdcard1 though

As CM is quickly evolving and aligning on aosp, TWRP will soon or later have to support these paths and maybe move to vold

It is just that they had since ages a far better enhanced fsmgr code and they weren't happy to move to vold

Since latest JB versions and mainly kitkat, cwm and twrp have a huge compatibility issue now

Smart devs could easily add a script to detect installed recovery, either cwm or twrp and adjust their script paths accordingly during install. No Aroma or big work. Just a few shell script lines.
[Galaxy S 4 i9505 Android Development] Formhault:
I reached out to [MENTION=4325945]ktoonsez[/MENTION] and brought this into his attention. His reply was as follows:
[Galaxy S 4 i9505 Android Development] Phil3759:
External scripts still can be used perfectly in cwm. I use that in my installers by the way. Most kernel devs too

He can get in touch with me if he wants to investigate and fix it for cwm
[Galaxy S 4 i9505 Android Development] ktoonsez:
Here is the info of what I have right now since this is what works on TWRP. I do have a check box for CWM style so I can modify the paths to be different for CWM/Yours.

Paths:

Internal SD

flash_path = /storage/emulated/0/KTweaker/OTA/

External SD

flash_path = /external_sd/KTweaker/OTA/

File I write too for CWM style:

/cache/recovery/extendedcommand

Info I write in the /cache/recovery/extendedcommand file:

'install_zip(\"" + loc + "\");'

loc = flash_path + xxx.zip

_____________________________________________________________________

EDIT:

Flashed your recovery and the only change needed was this and it took off :D:

Internal SD

flash_path = /sdcard/KTweaker/OTA/
[Galaxy S 4 i9505 Android Development] ktoonsez:
See above, edited post and got it going, hopefully CWM official will work the same :good:
[Galaxy S 4 i9505 Android Development] Phil3759:
Thanks, maybe piping it from tar still writes some temp files on target, not sure about this at all

In theory, if nothing temporary is written, compression on such sizes should have a significant positive impact on speed

40 mn on Chenglu's recovery is definitely an issue. As said, report it in his thread so he can fix it. Could be kernel related
[Galaxy S 4 i9505 Android Development] Phil3759:
Font size will be increased on next update, asap
[Galaxy S 4 i9505 Android Development] kantjer:
Great, time to switch back then :good:
[Galaxy S 4 i9505 Android Development] AMDPOWERFIST:
5.05 Recovery log (External Backup)

The issue i had before (in my previous post above) is now fixed (not finding the external drive until you click delete first)

So far no issues as i can see.

Well done on this version.
[Galaxy S 4 i9505 Android Development] btemtd:
Just want to let you know that touch screen still does not work in Aroma FM....
[Galaxy S 4 i9505 Android Development] thunderserpent:
You should bring that up in the aromafm thread, it's already been set that it is the aromafm code, not our recovery.
[Galaxy S 4 i9505 Android Development] btemtd:
well maybe I should get the latest version... instructions says to get 1..80 or is this is the latest number ? Is 1.80 the only version of aroma that workx?
[Galaxy S 4 i9505 Android Development] damador:
1.80 is latest
[Galaxy S 4 i9505 Android Development] kantjer:
Will you also be increasing the row height? I think the current max of 56 is still a bit on the low side for this phone :fingers-crossed:
[Galaxy S 4 i9505 Android Development] Phil3759:
Argh

I am just uploading a version with bigger font and some more fixes. If you refresh, you will get 5.05.3 in a few minutes

I can increase row height in next version, yes

Before that, I need answer my question, that no one did

Most complain about sensitivity being too important:

1- Can you explain what does it mean with a good description or even a video?

1- is it during scroll or some other gestures?

2- is it fixed by changing the scroll sensitivity to a value above 100?

3- Is it affected by change in touch accuracy?
[Galaxy S 4 i9505 Android Development] kantjer:
Thanks for the increased font :good:

I haven't tried scrolling much because of the low row height I kept selecting the wrong row and therefore used the HW buttons mostly :eek:

I will test the sensitivity and try to answer your question tomorrow morning (need to spend some time with the family now)
[Galaxy S 4 i9505 Android Development] Phil3759:
v5.05.3 uploaded + Bigger font

Now, increasing menu height should be even bigger at same settings as it is relative to font size

So, try again the menu height setting and scroll sensitivity (try to increase it at the maximum, above 100 to see if it is better)

Please give a feedback (+ a pic if you can)
[Galaxy S 4 i9505 Android Development] Sammath:
The font has increased but not by much Imo, or well, maybe I suck at remembering things :p how do you make a screenie again in the recovery?

Sent from the gt9505 galaxy s4
[Galaxy S 4 i9505 Android Development] Tassos_i:
Phil thanks again for trying without having in your hands an S4. But, I'm afraid, the font issue is not yet resolved :

Font size is strictly unchanged under 5.05.3 (as measured with my ruler: longer line in main menu is 2.1cm long, under both 5.05.0 and 5.05.3).

Menu height is about 25% bigger (main menu height goes from 4.1cm to 5.2 cm, with the same philz setting "menu height=44").
[Galaxy S 4 i9505 Android Development] kenzolo:
error 7 when flashing rom fixed in next release?

Inviato dal mio GT-I9505 con Tapatalk 2
[Galaxy S 4 i9505 Android Development] squabbi:
I think its just when flashing a AOSP or AOKP ROM. I also got that error 7 when trying to flash. Try using TWRP to flash.
[Galaxy S 4 i9505 Android Development] live-evil:
No one knows what is causing it. So all recoveries have the same issue.
[Galaxy S 4 i9505 Android Development] AMDPOWERFIST:
Font still tiny.

It may have increased by what looks like 2-4 pixels on this gigantic resolution screen.

have no idea how to take a screenshot from within recovery, so cant post. And currently at work, so cannot get out the digital camera to take a photo.

Also the increase the menu height to something like 80-100, mine still caps out at 56 then goes back to 4...
[Galaxy S 4 i9505 Android Development] daddyspud:
U can change the size in advance setting under GUI along as other settings my setup perfect the way I like it to look n feel
[Galaxy S 4 i9505 Android Development] AMDPOWERFIST:
already tried that.

Its under: Philz Settings > GUI Preferences > Menu Height - however, it caps out at 56 still, it (imo) should cap out somewhere around 80, this is to ensure that people dont accidently tap on a menu they dont want to - i know theres a lot of "validation" built in such as: "

are you sure, NO, NO, YES....., NO, NO" etc etc however, its still a little too small at 56 imo
[Galaxy S 4 i9505 Android Development] Phil3759:
[MENTION=4325945]ktoonsez[/MENTION]

Thank you for being in touch to debug it

My recovery is just a cwm mod at the end, so it is using stock CWM mount points:

Internal storage: (this can be actually a symlink to /storage/sdcard0 on some devices or to /data/media(/0) on others)

/sdcard

Extra storage:

/storage/sdcard1

Now, on some devices, some repo maintainers feel like to name the /storage/sdcard1 mount point to some fancy names, probably ignoring the issues that can come out of this.

However, if you stick to above two mount points, they should work on any good built Clockworkmod recovery
[Galaxy S 4 i9505 Android Development] Phil3759:
6.25.2

this was annoying a lot of people

Check main thread for exactly what it means:

http://xdaforums.com/showpost.php?p=51509224&postcount=3346
[Galaxy S 4 i9505 Android Development] ktoonsez:
Excellent man, thanks for the confirmation :good: :highfive:
[Galaxy S 4 i9505 Android Development] HaTrED_:
Yesterday was daylight saving time day and recovery didn't update it's clock! Figure that out today when performing a nandroid backup. Time is 1 hour "behind"!

Any hint to get it synchronized correctly?
[Galaxy S 4 i9505 Android Development] John_wba:
Yes, hold your phone in a bowl of ice water for 5 minutes and the clock will reset. I hope this helped mate :thumbup:
[Galaxy S 4 i9505 Android Development] HaTrED_:
Yeah, right, I'll try that and will let you know in first place!

Sent from my S4, another Galaxy!
[Galaxy S 4 i9505 Android Development] BillGoss:
I don't believe that feature actually works. I manually adjust the time zone.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] Phil3759:
Android, if you look at the system settings, sets your timezone to +1 when DST is enabled.

The DST environment variable seems to be disabled since late JB kernels.

I thought at fixing it by forcing a set time action when DST is enabled. However, it would break your system clock that would need an auto-update on each reboot to ROM.

So, I decided to leave it as it is. You have to increment timezone, like main Android system does
[Galaxy S 4 i9505 Android Development] RK:
Phill, the write speed to external SD card when mounted as ums through recovery is super slow (like 1-2 Mbps). Can it be improved? I eventually just stopped using the feature and started using adb push instead which works well (10-15 Mbps)
[Galaxy S 4 i9505 Android Development] BillGoss:
I have always set my Android to use the network-provided time. So I never realized that a DST setting was missing.

But I did notice that PhilZ didn't show the current time when DST was active and that I had to change the timezone.

Sent from my GT-I9505
[Galaxy S 4 i9505 Android Development] Hawke84:
[MENTION=4666971]Phil3759[/MENTION] would it be possible to add md5 check of backups to the recovery? As an extra tool just to make sure backups run properly. Thanks
[Galaxy S 4 i9505 Android Development] Phil3759:
But they are there since ages!
[Galaxy S 4 i9505 Android Development] Hawke84:
Oh oops where I can't find it? Sorry my bad
[Galaxy S 4 i9505 Android Development] shoey63:
Backup and Restore /Misc Nandroid Settings/Md5 checksum - make sure the box is checked.:p

Seriously though, you should thoroughly explore the recovery before requesting features ;)
[Galaxy S 4 i9505 Android Development] HaTrED_:
Well, it seems soo!

That's correct!

I'll have to do that.

Thx for your help, both of you! :good:
[Galaxy S 4 i9505 Android Development] Hawke84:
Oh not that I found that! I mean just run an md5 check without starting a restore. When I do a backup I then boot into android to check md5 of backup I just made.
[Galaxy S 4 i9505 Android Development] kantjer:
You want to do a restore simulation without the actual restore.

Why would you want that? In all the years I use Android and make nandroids I think I only ones had a corrupt backup.

Even if the md5 backup checks out, that's no guarantee nothing can happen with it that can corrupt it later.

I think the safest way is to keep more than one backup (I always keep 3)
[Galaxy S 4 i9505 Android Development] Phil3759:
But when backup is done, md5 is generated. Why check it again?
[Galaxy S 4 i9505 Android Development] RK:
I have only had corrupt backup issues with twrp on exfat cards. Never with philz. In any case you can do what you want to using the app nandroid manger from play store.

---------- Post added at 08:38 AM ---------- Previous post was at 08:35 AM ----------

With TWRP, I have had issues where I made a backup to exfat SD card, booted up and checked md5 on the backup I just made and it did not match. I don't know why but it happened on every other backup. So I see why he wants to check.

Never had that issue with your recovery tho. Same card..
[Galaxy S 4 i9505 Android Development] Hawke84:
Ok thank u all for your replies. I must have been unlucky and have had a few corrupted backups
[Galaxy S 4 i9505 Android Development] Phil3759:
I will add the feature
[Galaxy S 4 i9505 Android Development] Hawke84:
Thanks Phil. U don't have to. It sounds like maybe I'm being paranoid about corrupted backups!
[Galaxy S 4 i9505 Android Development] luisds87:
Hey Phil,

I am having issues with your recovery.

I was on MF9 and decided to go to NAE with MF9 bootloader. I have gotten there but I am having issues now.

When I go into recovery and try wipe data it does not let me! It just restarts my phone. I can wipe Dalvik, cache, preload, but not DATA! It will not let me factory reset or clean install for a new ROM.

Why is it doing this?
[Galaxy S 4 i9505 Android Development] Technical:
Thanks. It gives peace of mind that the backup is really working.

I do the same (i.e., verify) my Windows backups to check if they're valid.
[Galaxy S 4 i9505 Android Development] giodeluigi:
6.25.9 for i9505?

It's stuck at philz_touch_6.25.4-jflte.zip..
[Galaxy S 4 i9505 Android Development] daniello8:
Could someone give me some heads-up why setperm fails on this?

ui_print("");
ui_print("*****************************************************************");
ui_print("Auto Rotation Fix");
ui_print("*****************************************************************");
ui_print("");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Applying fix...");
delete("/system/lib/libgnustl_shared.so");
package_extract_dir("system", "/system/lib");
set_perm(0, 0, 0644, "/system/lib/libgnustl_shared.so");
ui_print("");
ui_print("************************************************");
show_progress(0.100000, 0);
unmount("/system");
[Galaxy S 4 i9505 Android Development] edzamber:
Delete set perm line, permissions should be good without it.

​

Posté via Pyrana v36 FNC4 by Alan-B

http://xdaforums.com/showthread.php?t=2661717
[Galaxy S 4 i9505 Android Development] Phil3759:
This should go in edify scripting threads.

what is the error log?
[Galaxy S 4 i9505 Android Development] daniello8:
Thought it is recovery specific .. that's why I posted here .. sorry if it isn't. The output on screen complains about setperm .. I will try to delete the line according to edzamber.

edit: set_perm doesn't seem to be the problem. The problem is rather that the file isn't there .. so I guess the culprit is the method to mount .. that's why I was unsure if is the recovery or not .. can I call busybox from the recovery ???

run_program("/sbin/busybox", "mount", "/system");
[Galaxy S 4 i9505 Android Development] Phil3759:
Yes

But you could just use edify scripting mount command
[Galaxy S 4 i9505 Android Development] daniello8:
Tried this method instead but still not working:

mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");

Logfile:

I:Checking for extendedcommand & OpenRecoveryScript...

I:Script file found: '/cache/recovery/extendedcommand'

I:Running extendedcommand...

Waiting for SD Card to mount (20s)

I:setting up /data/media(/0) for /sdcard.

I:using /data/media for /sdcard

SD Card mounted...

Verifying SD Card marker...

SD Card marker not found...

I:Running script:

I:

ui_print("-------------------------------------");

ui_print(" ZipInstaller 5.0.3");

ui_print("-------------------------------------");

ui_print(" Mounting external sd");

run_program("/sbin/mount", "storage/sdcard1");

ui_print(" Installing zip");

assert(install_zip("/storage/sdcard1/ScreenRotation_better.zip"));

ui_print(" Rebooting");

parse returned 0; 0 errors encountered

-------------------------------------

ZipInstaller 5.0.3

-------------------------------------

Mounting external sd

about to run program [/sbin/mount] with 2 args

mount: can't find storage/sdcard1 in /etc/fstab

run_program: child exited with status 1

Installing zip

-- Installing: /storage/sdcard1/ScreenRotation_better.zip

Finding update package...

I:Update location: /storage/sdcard1/ScreenRotation_better.zip

I:605 Volume sdcard1 /storage/sdcard1 state changed from 1 (Idle-Unmounted) to 3 (Checking)

I:/storage/sdcard1: Checking

I:613 sdcard1 /storage/sdcard1

I:614 sdcard1 /storage/sdcard1

I:605 Volume sdcard1 /storage/sdcard1 state changed from 3 (Checking) to 4 (Mounted)

I:/storage/sdcard1: Mounted

I:200 0 volume operation succeeded

Opening update package...

Installing update...

minzip: Extracted file "/system/lib/lib/libgnustl_shared.so"

set_perm: chown of /system/lib/libgnustl_shared.so to 0 0 failed: No such file or directory

set_perm: chmod of /system/lib/libgnustl_shared.so to 644 failed: No such file or directory

script aborted: set_perm: some changes failed

*****************************************************************

Auto Rotation Fix

*****************************************************************

Applying fix...

set_perm: some changes failed

E:Error in /storage/sdcard1/ScreenRotation_better.zip

(Status 7)

Installation aborted.

result was NULL, message is: assert failed: install_zip("/storage/sdcard1/ScreenRotation_better.zip")

I:setting up /data/media(/0) for /sdcard.

I:using /data/media for /sdcard

/data/media/clockworkmod #

Doesn't work without Zipinstaller either.
[Galaxy S 4 i9505 Android Development] Bejda:
[MENTION=1209212]daniello8[/MENTION] ,

Why the two lib folders:

minzip: Extracted file "/system/lib/lib/libgnustl_shared.so

If zip extract an additional /lib folder with your .so file in it to /system/lib/ then the file ends up in /system/lib/lib and then doesn't exists in /system/lib

Could you post your zip?