yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] [Ramad]:
This can be turned on and off on EXT4-advanced, and it will stay that way upon Power-down and Power-up.

I can only think that one of the partition that is responsible for storing informations as Time-Zone, Debug and Clear cache is not mounted/unmounted as it should, because everything else is working fine with no problem due storing changed information. It could be /cache partition...
[Galaxy S I9000 Android Development] sztupy:
if you have at least 0.2 it should work.
[Galaxy S I9000 Android Development] Robse86:
hi,

I do have the same locale problem as a prewriter, everytime I reboot my phone it switches back to english. Im using Advance JFS.

If I flash it back do ext4 advance, will it be gone?

Then another question, someone expierenced a difference with the battery drain between ext4 and JFS? I read somewhere here that ext4 drains the battery faster than rfs or ext2, is this true :D ?

Thx :)
[Galaxy S I9000 Android Development] ashwinds:
No locale problem with ext4 and the battery life has been pretty decent for me with advanced ext4 - pretty comparable to jfs actually.
[Galaxy S I9000 Android Development] renaud:
Yes, you can do that but it's not the same behavior as jfs. jfs writes when "there is a reason to do it", not one minute after or the like.

Not properly unmounting may be an issue, so we really need to replace the normal shutdown by a clean one.
[Galaxy S I9000 Android Development] sztupy:
the reboot command only does a sync that's for sure (that might be modified though). I still don't know what gets run when you shutdown the phone the proper way.
[Galaxy S I9000 Android Development] FadeFx:
if someone is going to modify the shutdown.apk then it would be nice to have a reboot option in there maybe with asking for reboot to recovery or to download mode.

edit: nevermind, just found out somebody did already...

http://xdaforums.com/showthread.php?t=819578
[Galaxy S I9000 Android Development] ashwinds:
Do believe Tayutama is working on this. In the interim there is this.
[Galaxy S I9000 Android Development] Mycorrhiza:
There are downsides to everything.

But now at least we have a choice. Speed + less battery or less speed and more battery.

Both is faster than stock so I am not complaining!

Thx for the comparison though.
[Galaxy S I9000 Android Development] :
thx great job+++

this is making everything a lot more easier.
[Galaxy S I9000 Android Development] ashwinds:
Regarding the Timezone on JFS issue, temporarily fixed it by adding

persist.sys.timezone=Your/TimezoneHere

in /system/default.prop

Examples:

persist.sys.timezone=Asia/Kolkata

OR persist.sys.timezone=GMT+5:30

I did from adb in recovery - but dont think thats really required.

PS: and incidentally, Clear Data ALSO works now!
[Galaxy S I9000 Android Development] Bec07:
So how should "Your/TimezoneHere" look like?

Is it GMT+2:00 OR GMT+2:00/European time etc?

"persist.sys.timezone=GMT+3:00" seems to have worked fine for me.

Problem solved :D
[Galaxy S I9000 Android Development] ashwinds:
lol good it worked - my bad for not explaining it clearly but i used Asia/Kolkatta :)
[Galaxy S I9000 Android Development] FadeFx:
But this is no fix, its just a workaround!
[Galaxy S I9000 Android Development] ashwinds:
Of course it isnt. Hence the words temporarily fixed :P
[Galaxy S I9000 Android Development] HKcow:
If I have voodoo lag fix installed. Can I disable the voodoo lagfix (by placing a disable folder according to documentation) and flash this kernal? Will my existing data be wiped or can be preserved?

Very excited to try the version 0.4 to increase the memory, should I installed 0.3 before install 0.4?
[Galaxy S I9000 Android Development] ashwinds:
Disable-lagfix, reboot, make sure it changed to RFS, go to download mode and flash the kernel. No need to install .3 - you can flash .4 directly. All your data should be preserved
[Galaxy S I9000 Android Development] HKcow:
Thanks a lot for your answer! Will try soon!
[Galaxy S I9000 Android Development] dupel:
Just curious - what did he tell you that wasnt written by sztupy in his opening posts? Or are people just THAT lazy to read 4 posts?
[Galaxy S I9000 Android Development] HKcow:
I have read all the posts in first few pages but still not figure out a secure wording that existing data will not be wiped.

Sorry if I have overlook... Just wanna ask to confirm...
[Galaxy S I9000 Android Development] dupel:
No, I dont mean to be mean or anything, just curious =) And its always better to be safe than sorry :cool:
[Galaxy S I9000 Android Development] Ettepetje:
Yesterday evening I tried to switch from a fine working Advanced JFS to Ext4 (all ULF 0.3). Backup+Restore seemed to go fine, except that my phone looped (hung) at the first boot screen. Nothing I tried solved this.

Finally installed Doc's 5.1 using ULF 0.3 and restored all my apps with Titanium. Worked fine, but felt a bit laggy (Ext 4).

Made regular CWM Backup, and tried to switch to unlagfixed and then (back to) JFS. Phone looped (hung) at first boot screen again.

Tried to Restore the regular CWM Backup I just made: Phone looped again at first boot screen.

The only thing that seemed to work was (again) installing Doc's 5.1 and than format and Restore data+cache using CWM (ULF 0.3).

Q: Anyone know why the Backup/Restore mechanism doesn't seem to work properly? Any solutions?

NB: I also discovered that flashing one of newer variations of this Kernel (with more RAM available) caused the same looped boot screen. (Had to again install Doc's 5.1 and re-apply data+cache through CWM)
[Galaxy S I9000 Android Development] Bec07:
Maybe "persist.sys.timezone"and the right setting from the menu will do?
[Galaxy S I9000 Android Development] Ettepetje:
Refrased the problem description of my post above. Hopefully somebody is able to help out... :)
[Galaxy S I9000 Android Development] Razer(x):
Hi, jfs lagfix changes my system language to english, is it normal?
[Galaxy S I9000 Android Development] dbraaker:
yep, it is! expect some crazy battery behavior and time zone switch on each reboot aswell
[Galaxy S I9000 Android Development] Razer(x):
Damn! so what's the suggested lagfix? (that does not drains a lot of batter too)
[Galaxy S I9000 Android Development] dupel:
This doesnt drain anything. It does change language and timezone ONLY if you choose jfs lagxfix option - you can use ext4 option with no problems.
[Galaxy S I9000 Android Development] Razer(x):
I know, but i just changed from ext4 'cause a lot of people said it drains too much battery.. LOL
[Galaxy S I9000 Android Development] dupel:
Test for yourself =)

I dont really see any difference in power consumption rfs/ext4/jfs (jfs is supposed to be slightly better at using battery).

Reality is that we have insanely power hungry screen, loads of radios, power hungry cpu and gpu and a lot of ram, which eats battery too. And only after that we have flash memory.

So yeah, it doesnt matter =)
[Galaxy S I9000 Android Development] dupel:
By the way, sztupy, did you notice that latest kernel based on your sources (kernel by hardcore) are almost 6.5 mb, yet there is no screen tearing on boot?
[Galaxy S I9000 Android Development] Razer(x):
Ok, i'll try, but i'm curious, what you using?
[Galaxy S I9000 Android Development] sztupy:
probably because some optimizations used affect this. It's still better to have the kernel small (more memory, less battery drain, etc.)
[Galaxy S I9000 Android Development] sztupy:
And it might be the applications used.
[Galaxy S I9000 Android Development] dupel:
Personally I am a speed and @new things@ freak =)

So jfs with ext2 loop (is slightly faster, but It can be slightly more draining, since there is more happening during the write) and the tweaks there are :cool:
[Galaxy S I9000 Android Development] dupel:
wow! Great work! Im just about to download it as part of Doc new ROM =)
[Galaxy S I9000 Android Development] _JKay_:
OK Installed root and No-RFS Extended on a fresh JP6.

Quadrant score 1911 !

Restored LauncherPro and all my apps. Removed alot of Samsungs apps.

Applied the rom-g version2 battery mod.

Everything seems to work fine and the Galaxy S is faster now!

But everybody knew the Galaxy could be faster... even my computer knew... because when I plug the Galaxy S into it my WinXP popped up and said: This device can perform faster :-)

Thanks JKay
[Galaxy S I9000 Android Development] dupel:
btw, what do you think of jfs lagfix? Seems like jfs could be even better than ext4 (since we are being very experimental with this kernel, why not go further?) :D
[Galaxy S I9000 Android Development] Nash123:
What a great project! Awesome!
[Galaxy S I9000 Android Development] spippo:
•OCLF: /data stays at rfs, but has an ext2 loop device on top of it

•Voodoo: /data is ext4, all others are kept at rfs

•No-RFS Standard: /data is rfs+ext2, all other partitions are ext4

•No-RFS Advanced: all partitions are ext4, and /data/data and /data/dalvik-cache are moved to /dbdata

•No-RFS Extended: turns on all options: everything is ext4+ext2 and /data/data and /data/dalvik-cache is bound to /dbdata

:p may overreach on your second choice humble opinion?;)

which to choose for you?
[Galaxy S I9000 Android Development] cHarOn99:
ok tested advanced option :P but there seems to be an issue with it, Personal Data is full after a short time no way to use it and then you will get FC's all the time.

So trying now different option :D
[Galaxy S I9000 Android Development] Ibanez33:
I've noticed this too..
[Galaxy S I9000 Android Development] sztupy:
Yep, this is unfortunately an issue with the binds... Have to find something.
[Galaxy S I9000 Android Development] sztupy:
Clearly worth a try too. added to my agenda :)
[Galaxy S I9000 Android Development] mapas:
ahahahahaha... lol.... you made my day :D
[Galaxy S I9000 Android Development] deli_gt:
Hello please make jfs kernel if possible

Same like advanced but everything JFS instead of EXT4.

If possible it would seem best.
[Galaxy S I9000 Android Development] halabibk:
I try to use Advanced and now the phone stuck in backup efs....,

What to do.... wait or????

Please any advice...
[Galaxy S I9000 Android Development] cHarOn99:
don't use the advanced one, use voodoo option for now as long as there are the bind issues
[Galaxy S I9000 Android Development] halabibk:
But can I take the phone off a try it other option again or I have to reflash???
[Galaxy S I9000 Android Development] IntenZeD:
SztupY Multinational ROM + universal lagfix kernel NO RFS Advanced.

I can download apps from market but i cant install them. Trying VooDoo option now.

Edit; re installed RFS advanced with bind disabled.

Google earth is starting instantly, that has never happened before.
[Galaxy S I9000 Android Development] cHarOn99:
yes you can try an other option again, if all goes wrong then i would disable the lagfix and then restore the nandroid backup
[Galaxy S I9000 Android Development] sztupy:
You can disable the bind option in the advanced lagfix config menu, and still use the advanced type lagfix scheme.
[Galaxy S I9000 Android Development] cHarOn99:
ah ok thats true :P
[Galaxy S I9000 Android Development] vinclar:
I installed it (over JPM-and CF-1.2_busybox1.17) and use no rfs extended, then memory says full. I disable lagfix wipe everything except batterystatus, and aply advance extended again. Now works like a charm, market, apps, 2K in quadrant, the only thing when it was doing backup couldn't copy backup to external SD.

Lovely clockworkmode. Thx, nice work!!

I attached the log, perhaps is useful perhaps not.
[Galaxy S I9000 Android Development] INeedYourHelp:
Any chance to create a version with "super optimization" http://xdaforums.com/showpost.php?p=8676606&postcount=1 for those who want to use it?
[Galaxy S I9000 Android Development] thunderteaser:
Woah, this thread should be sticked!

Tou made an _AWESOME_ job! :)

Is there any chance you'll base the next release on the "official" JP6/JPM kernel?
[Galaxy S I9000 Android Development] TheTodFather:
Would we have to have source before this can be made for the captivate because or is their gonna be or is a workaround for this?
[Galaxy S I9000 Android Development] sztupy:
There will be. I'll just need someone with a captivate that can help me sort the bugs out. And not before the middle of the next week.
[Galaxy S I9000 Android Development] deli_gt:
Is there any way to get current MA from the kernel logged.

I found in kernels power drivers there are many mentions of current_uA.

But no logging?

It would be very helpful to get it so we could compare the drain of different file systems.
[Galaxy S I9000 Android Development] Crysta:
Sorry for my English. Sztupy's JPM/JP6 Multinational Custom ROM v3.0 + this kernel version 0.3 works fine for me. My setings are: No-RFS Overkill JFS without bindings, all tweaks on

After reboot no time zone change, no locale change. Battery lasts about 3-4 days with minimal usage.
[Galaxy S I9000 Android Development] xan:
Next step: overclocking!
[Galaxy S I9000 Android Development] deli_gt:
For me the battery in idle was 1-2% idle jfs overkill with data bind.

With ext4 overkill it was 2-5% / H

So it would be very helpful to get the Current MA.
[Galaxy S I9000 Android Development] newter55:
Sztupy,

Captivate user here using doc's rom with your kernel. What do you need help sorting out? Or do you need the captivate in your hands?

Using advanced ext4 and modified soft keys to enable search as home key.

Going to try jfs later though
[Galaxy S I9000 Android Development] Morghus85:
Thanks for this Lagfix! It feels a lot faster with JFS and the "Super Optimized JPM-JP6 Kernel" (thread in this forum).

Also, your modded CWM is great, I always hated having to run it from the update.zip
[Galaxy S I9000 Android Development] thermaltak:
I wanna to know whether the v0.4 in somewhere is released from author? Looks like work fine in my SGS. Expecting the final 0.4 release!
[Galaxy S I9000 Android Development] FadeFx:
It is, but u can not record 720p video nor play it back. Also video calls do not work. It is due to to much memmory tweaking.
[Galaxy S I9000 Android Development] Mangus_U*RA:
I've not read the whole thread....just a question: is there a complete list and explanation of every tweak, what they do (or SHOULD do) and eventual bugs?

Thanks a lot.
[Galaxy S I9000 Android Development] extralife:
thread: [REF] Startup script speed tweaks

# Tweak cfq io scheduler

Tweaked settings of the disk io scheduler more for flash memory. Defaults are optimized for spinning harddisks. Lowered the idle wait, re-enable the low latency mode of cfq, removed the penalty for back-seeks and explicitly tell the kernel the storage is not a spinning disk.

# Tweak kernel VM management

Set tendency of kernel to swap to minimum, since we don't use swap anyway.

Lower the amount of unwritten write cache to reduce lags when a huge write is required.

Increase tendency of kernel to keep block-cache to help with slower RFS filesystem.

Increase minimum free memory, in theory this should make the kernel less likely to suddenly run out of memory.

# Tweak kernel scheduler

Make the task scheduler more 'fair' when multiple tasks are running. This has a huge effect on UI and App responsiveness. These values (less aggressive settings) are 20% of the Linux defaults, and about half of the Android defaults.

# Miscellaneous tweaks

Manually set the starting dalvik heap size.

Increase wifi scanning gap to reduce battery usage.
[Galaxy S I9000 Android Development] Mangus_U*RA:
thanks extralife :)

Maybe it could be useful to put that in the first post, just to have all the information together...or maybe a link to that thread :)

BTW, i've installed 0.3....very responsive!!
[Galaxy S I9000 Android Development] baribalbear:
Thanks. Found. But after changing /sbin/post-init.sh and gadget rebooting all my changes have been lost. So the only choice to run startup script commands is using /system/bin/playlogos1 trick?
[Galaxy S I9000 Android Development] sztupy:
those files can't be changed as they reside on the initramfs. I added init.d support, for user side scripts, although I didn't test this feature. Theoretically you can add a file starting with S to /system/init.d (iirc), and it will be started the next reboot
[Galaxy S I9000 Android Development] Kel Ghu:
I don't know about you guys, but JFS gives me awesome battery life even while using the the phone! I'm looking forward to the bugs to be addressed!

Though, I have requests:

1) Deadline IO Scheduler for JFS users.

2) BFS Scheduler for Kernel.

Thank you for your awesome work!
[Galaxy S I9000 Android Development] baribalbear:
Well I have created /system/init.d directory, have put there Stweaks.sh script (#!/system/bin/sh at the beginning), have checked it by running script by myself - all were fine. Then I reboot system and script didn't start automatically. :(
[Galaxy S I9000 Android Development] tonymy01:
Isn't it meant to be /system/etc/init.d?

Or /etc/init.d given etc links back to root.
[Galaxy S I9000 Android Development] INeedYourHelp:
For those with the jfs lag-fix, do you guys get a vibrate at every shutdown/reboot?

I use ext4 and after shutting down or reboot, the phone will shut off the screen and then a while later the phone will vibrate. And the time between that, the phone is completely unresponsive (meaning the power button does nothing until after it gets done vibrating).
[Galaxy S I9000 Android Development] baribalbear:
Woohoo! It worked with /system/etc/init.d/. Looks like sztupy wrote to me /system/init.d path by mistake. Now it's much better than messing up with playlogos1. Thanks you both.
[Galaxy S I9000 Android Development] Mangus_U*RA:
TOOOO MUCH battery drain!!!!

-8% in less than 2 hours in idle+wifi!!!

JFS advanced without any tuning (i've also tried with tweaks enabled, same results)

:(
[Galaxy S I9000 Android Development] deli_gt:
I have noticed also drain problem with this kernel not only jfs but also ext4
[Galaxy S I9000 Android Development] jeebspawnshop:
Been using 0.3 in JFS Advanced Mode + all tweaks ever since it came out.

My battery drainage is pretty normal compared to stock JPM - maybe slightly better.

Unless I turn on 3G... then it disappears at like 5% / hour! I keep it on 2G most of the time...
[Galaxy S I9000 Android Development] Kel Ghu:
I have Kalpic/Doc ROM, which includes this Kernel. With JFS and SuperPower app, it's just amazing. I have like 1% per hour, but only using 3G or WiFi when needed.

SuperPower is an absolute must have. The switch between 2G and 3G is kinda annoying because it takes time, but it is worth it. All the other features are awesome too. Give it a try.

And apps like skype just kill your battery.
[Galaxy S I9000 Android Development] deli_gt:
With stock kernel wifi on my drain is 1% / 2h, 3g on its 1% / 1-1,5 h. With this kernel the drain is 200% compared to stock.
[Galaxy S I9000 Android Development] paranoid2007:
Yeah, battery drain is insane with this kernel. I didn't manage to come through 1 day any more with moderate use. So now I reinstalled the stock kernel. Too high of a price for a fast phone.
[Galaxy S I9000 Android Development] Metalzoa:
I noticed that as well ... I figured it was a safety script which forces all the proper functions (read/write) to complete before the device shuts down, or discharge excess current through the vibration mechanism.

Either way its not enough of a problem for me to be overly concerned.
[Galaxy S I9000 Android Development] ed10000:
Left my phone at home today, on 2G and no wifi. 7 hours later, battery is down by 32%!! :-O It used to be much better when I installed this on stock JP6. Now I'm using doc's v5. Ext4 advanced with all tweaks enabled. Oh and yeah, I also flashed a increased RAM size kernel today, the one with HZ or something set to 100 which is supposed to increase battery life. I wonder what's causing the heavy drain.
[Galaxy S I9000 Android Development] tnijkes:
What's The Fastest Linux Filesystem On Cheap Flash Media?

Don't know if this is the most appropriate thread, but I just read an interesting article today on LinuxPlanet where several filesystems are compared wrt. performance on flash drives.

Among ext2/ext3/ext4/Reiser3/VFat/NTFS there is one clear winner...ext4!

(Sorry can't post any URLs, but you can find the article on LinuxPlanet.com using the title "What's The Fastest Linux Filesystem On Cheap Flash Media?").

How does this apply to our beloved SGS?
[Galaxy S I9000 Android Development] Bec07:
I'm quite sure these are subjective measurements and I'm 100% sure the wi-fi and etc etc modules haven't been touched.

Only modded thing is around the partition. The increase in speed is made possible by reducing the inane battery eating writes RFS used to do. The additional CPU features are disabled by default.

Also I don't recommend using "advanced" or versions that use loop.

I use simple JFS and the results are amazing.

Make sure you're not using autokillers because that certainly does not help. Check your other apps as well.

Also make sure your device isn't full of trash: Flashing JM1 and then JP6 partly insures that.
[Galaxy S I9000 Android Development] INeedYourHelp:
they didn't compare jfs?
[Galaxy S I9000 Android Development] Ettepetje:
Strange to hear all these battery draining stories with wifi (and screen) off.

After close to 7 hours sleep my Advanced JFS shows 99-100% with 2G and 95-97% using 3G, no wifi. That has been the case with almost all ROMs I've tried, also with ULF 0.3 and the 340MB kernel with yet more tweaks published last night (B version). My battery quickly drops after awakening and reading Internet etc. with a white background, but that's just typical for AMOLED.. ;)

I tuned my applications & settings to NOT synchronise unless desired and try to reduce the number of lingering unneeded applications. If settings won't help I kill or de-install (with very few exceptions).