yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] AntonX:
Those of you who followed this thread http://xdaforums.com/showthread.php?t=1141550, and went all the way backwards to RFS from ext4, you probably made a mistake. ext4 is objectively a better file system, it just may be configured to run somehow slower, although more secure. This security is needed when the drive can be disconnected on the fly or may suddenly lose power, which is obviously not applicable to our phones as the card is inside and nobody normally removes it with the phone on.

Anyway, I looked how Voodoo mounts the ext4 partitions and found couple of things that can be improved. First of all, "noatime" option should be set to all partition wherever possible. This option tells not to ever update last access time upon every read operation. It is actually being set like this with one of the init.d tweaks already. The other option has way bigger effect. It controls delayed allocations, the allocation mechanism that is one of the biggest improvement of ext4 over ext3. For some reason Voodoo sets it to "nodelalloc" for \data partition. As soon as I changed it to "delalloc", my Quadrant score shot from about 1700 to over 2300.

Here is how to fix it, IF YOU ARE STILL ON EXT4 FOR ALL 3 PARTITIONS. If you moved back to RFS this will have no effect.

If you don't use init.d, then you have to start using it :) You'll have to either modify one of the existing init.d scripts, or write you own like this:

--

#!system/bin/sh

for k in $(busybox mount | grep -E 'relatime|nodelalloc' | cut -d " " -f3) ; do

sync

busybox mount -o remount,noatime,delalloc $k

done

--

Those who already use init.d tweaks should modify the S98edt_tweaks file. Open it with an editor and change the "for" loop in the beginning (the one that deals with remounting partitions) to my code. Save, reboot, and try Quadrant now.

I also recommend removing the "fix" that extends SD read-ahead cache. Comment out the related code, you can easily find it in this file. This cache can bring more troubles than benefits, but well, it's up to you.

Btw you may as well remove code in 20sombionixInit file that deals with the same "noatime", the part that does "for k in $PART;..., done;", it's just redundant.
[Samsung Galaxy S (4G Model)] RaverX3X:
If you really wana back up your claim id suggest posing benchmarks. U can also ask dr Honk as hes the one that deved the kernel with voodoo lag fix and ext 4 and as i previously stated most the tweaks are directly from darkey and Teamwhiskey. Granted some can be changed like sd cache it can be commented out smaller and or larger i never said it was the end all be all of use this or else by all means experment. But no offense your just trying to say ext 4 is better not saying it is and isnt but its been stated before and beaten tod death its per case basis not everywhere is it better and in some places it is.
[Samsung Galaxy S (4G Model)] AntonX:
Here is my score now. Running stock KD1 with Bali 3.1, OC-ed to 1.2 MHz. All partitions are ext4, here is how they mounted:

--

rootfs on / type rootfs (ro,noatime)

proc on /proc type proc (rw,noatime)

sys on /sys type sysfs (rw,noatime)

/dev/block/stl9 on /system type ext4 (rw,noatime,barrier=0,data=writeback,noauto_da_alloc)

/dev/block/stl11 on /cache type ext4 (rw,noatime,barrier=0,data=writeback,noauto_da_alloc)

/dev/block/stl10 on /data type ext4 (rw,noatime,barrier=0,data=ordered,noauto_da_alloc)

tmpfs on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

none on /acct type cgroup (rw,relatime,cpuacct)

/dev/block/stl6 on /mnt/.lfs type j4fs (rw,noatime)

tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)

none on /dev/cpuctl type cgroup (rw,relatime,cpu)

/dev/block/stl3 on /efs type rfs (rw,nosuid,nodev,noatime,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8)

/dev/block/vold/179:2 on /data/sdext2 type ext4 (rw,relatime,barrier=1,data=ordered)

/dev/block/vold/179:1 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

...

--

Btw this is actually another proof that Quadrant don't mean much and nobody should pay much attention to them. The score just should not have jumped that much because of a single change to file writing option.
[Samsung Galaxy S (4G Model)] dsexton702:
Hahahahahaahahahshahshagshs

sent from my sgs4g 2.3.3, finally
[Samsung Galaxy S (4G Model)] RaverX3X:
Let me ask you who are you? Just curious
[Samsung Galaxy S (4G Model)] RaverX3X:
here mines still bigger
[Samsung Galaxy S (4G Model)] AntonX:
Is this question for me or for dsexton702? If for me, I'm a software engineer, actually have been for over 20 years, but we are in medical devices field. I started working with computers long time ago in PDP-11 era as a tech then OS engineer, so I pretty much know (or maybe feel :) ) how this things work inside.
[Samsung Galaxy S (4G Model)] juan16h:
how did you get that?
[Samsung Galaxy S (4G Model)] RaverX3X:
It was for you i know who dsexton is .
[Samsung Galaxy S (4G Model)] RaverX3X:
2.0 ghz oc cooled it long enough to be stable and take a pic and then reverted the changes phone gets really hot fast :P
[Samsung Galaxy S (4G Model)] AntonX:
How much are you overclocked? Do you want me to try 1.5MHz? I really don't want doing it, there is no practical reason.

Btw I wonder how your /data is mounted. Didn't you guys live it as ext4? Maybe you should change the mount options and see what happens. So if it's still ext4, try running this from adb:

adb shell

su

busybox mount -o remount,noatime,delalloc /data

Run the scores again see if they change. I myself think they will not, it's more of a peculiarity of Quadrant than real improvement.
[Samsung Galaxy S (4G Model)] RaverX3X:
2.0ghz oc but i had get the phone extreamly cold oc it run it snap pic get out of it its not stable for long at all..
[Samsung Galaxy S (4G Model)] juan16h:
wow at 2.0 Ghz this phone would murder all others :)
[Samsung Galaxy S (4G Model)] RaverX3X:
dont try it on your device as i did it on a tester phone i sent krylon my other sgs4g and now im using the sgs 2 ( this was done on the dev sgs 4g tester phone i have)...
[Samsung Galaxy S (4G Model)] RaverX3X:
lol umm the sgs 2 can pimp 5k benches like nothing :P about 4500 easy stock did it :P
[Samsung Galaxy S (4G Model)] rickyc19:
remember...the sgs 2 is at 2.4ghz...pretty damn big difference just saying and can you give me a smartbench score on 2.0ghz on sgs 4g vs sgs2? just curious:o
[Samsung Galaxy S (4G Model)] shotchacokov:
Here is my score with Raver & Dsexton's method.

build is in my signature... kd1/bali 3.1uv oc'd to 1.5......

I can also tell you that as my quad score also went up... normal use of the phone is where it really shows. Instant anything.... smooth as butter. So I would say that quadrant does hold some water as far as how well your phone runs.

here is a run just now at 1.0ghz and my best run at 1.5ghz as well...
[Samsung Galaxy S (4G Model)] RaverX3X:
i would if i could keep the phone stable enough to run a few benchamarks it was hard enough getting it stable enough for that to run
[Samsung Galaxy S (4G Model)] RaverX3X:
and the sgs2 is 1.2ghz not 2.4
[Samsung Galaxy S (4G Model)] mbernusg:
did this thread really turn into a "my quadrant score has a bigger ENGINE than your quadrant score"? because thats what it reads like.. get over yourselves..

your both posting really great mods that help the community immensely.. if people want to choose ext4 or rfs they can, but lets keep it at that..

edited: for the young padawans
[Samsung Galaxy S (4G Model)] RaverX3X:
eh wasnt the intention. and your right if people wanna runn full ext 4 by all means run it :P I never said anything that u shouldn't. IF thats your flavor by all means.
[Samsung Galaxy S (4G Model)] lenny hodapp:
There is young kids on this forum you need to watch what you say and how you say it.
[Samsung Galaxy S (4G Model)] mbernusg:
edited sir
[Samsung Galaxy S (4G Model)] shotchacokov:
I was just stating and proving that raver and dsexton's method does work great.

I wasn't trying to state anything else.

We'll see if some people decide to try this and what the results are.
[Samsung Galaxy S (4G Model)] GDofWR420:
All I got to say is keep up the great work guys. What the user prefers is the users choice. Let's just have fun and help eachother along the way. But yea have fun.
[Samsung Galaxy S (4G Model)] shotchacokov:
Agreed.... if you can't have fun, what can you have?
[Samsung Galaxy S (4G Model)] RaverX3X:
forum fragmentation detected.. Must install new os :P
[Samsung Galaxy S (4G Model)] GDofWR420:
A boring day. Lol
[Samsung Galaxy S (4G Model)] lenny hodapp:
Just want to get this out there. I'm not trying to act like I'm someone special but there are rules for a reason this forum is open to the public and no age restrictions not trying to be bossy sorry if it came off that way.
[Samsung Galaxy S (4G Model)] mbernusg:
Took a few tries to get working..

First run was in the 1500s - next few were 1800s

Black ice voodoo Bali 3.1 no OC

sent from my real Gs move in silence like lasagna
[Samsung Galaxy S (4G Model)] fknfocused:
Lol, you guys are too funny... Nice find Anton ill check it out later. \m/
[Samsung Galaxy S (4G Model)] mbernusg:
If it means anything.. phone foesnt feel very different with rfs tweaks... FAST

sent from my real Gs move in silence like lasagna
[Samsung Galaxy S (4G Model)] Eric-1987:
Only able to get 2500 now with the adb option posted on the second page. I dont know how to do the OPs directions.
[Samsung Galaxy S (4G Model)] RaverX3X:
eric thats ok ill make u a init d u can just push with his tweaks if u wanna test them
[Samsung Galaxy S (4G Model)] rickyc19:
its dual core @1.2ghz... 1.2 X 2= 2.4 :o
[Samsung Galaxy S (4G Model)] Jerry D:
This thread has some serious potential for intellectual exercise. :)
[Samsung Galaxy S (4G Model)] mbernusg:
That would've been sooooo helpful an hour ago lmao

sent from my real Gs move in silence like lasagna
[Samsung Galaxy S (4G Model)] Jerry D:
Sorry just tuned in. lol

EDIT

MY BAD. WRONG REPLY. Damn you people are fast..I'm mobile.
[Samsung Galaxy S (4G Model)] cnote74:
Make one for me please
[Samsung Galaxy S (4G Model)] RaverX3X:
here

these are the changed files with his tweaks i didnt modify anything else and i did comment out the sd card cache size if u want one that is back the way it was let me know or do it yourself :P

edited to fix error i couldnt see thanks!!! u can now recheck it
[Samsung Galaxy S (4G Model)] Jerry D:
Who are you?
[Samsung Galaxy S (4G Model)] RaverX3X:
im god nice to meet you
[Samsung Galaxy S (4G Model)] Jerry D:
No. Nice to meet you. From what I've seen of you you are nice. ;)
[Samsung Galaxy S (4G Model)] Jerry D:
Another Great and fast work RaverX3X. Thank you!
[Samsung Galaxy S (4G Model)] RaverX3X:
if u have any issues with it let me know as these are based off his tweaks not mine or darkey or anyone elses so if theres issues please ask him and ill modifiy the init d files accordingly

one of the tweaks ill totally appoligize for missing when i was going though them i didnt catch that there were a few redunant ones those were removed :P
[Samsung Galaxy S (4G Model)] AntonX:
I looked at the files, you made a slight mistake where you commented the SD cache - you put the comment sign only in front of the "if" statement but the body and "fi" are still left uncommented. You need to comment out all three lines.
[Samsung Galaxy S (4G Model)] cnote74:
What should the permissions be set for the initd tweak
[Samsung Galaxy S (4G Model)] RaverX3X:
thanks ill fix and re upload mine reads it all on one line hence why i dont have 3 lines commented only one ill parse it to show on 3 lines

update fixed the zip file u can of course check it see if it showing how it should ty
[Samsung Galaxy S (4G Model)] FBis251:
Tried the fix, didn't get it to work, even when using the shell:

It's still saying "noauto_da_alloc"
[Samsung Galaxy S (4G Model)] RaverX3X:
u can push them to your system reboot clear cache and then cwm advanced fix premissions
[Samsung Galaxy S (4G Model)] FBis251:
Tried all that good stuff and no changes. Damn shame, I was hoping I'd leave everything as ext4.
[Samsung Galaxy S (4G Model)] AntonX:
Yep, the script didn't work. It's not the "noauto_da_alloc" option you have to be watching for, this one is fine. It's the "nodelalloc" for the /data partition. It's still there, so the script must have failed.

Are you on Bali kernel? You have to be to enable init.d. Where did you copy the files? They should be in /system/etc/init.d folder. Make sure you set Execute permission for the script file.

EDIT: Just noticed that you did not run the script... duh... But - you run the command for /system instead of /data. Should be this:

# su

# busybox mount -o remount,noatime,delalloc /data
[Samsung Galaxy S (4G Model)] RaverX3X:
Dude i honestly dont even know. I modfied the init d files

granted removing the errors i made did help lol well checking for redundant files those were expunged.

But i had no other info to go on at all

he says oh ext 4 is better set ur init d to this bla bla bla

i had to do the damm work for everyone i have no bench test at all to really work with is this supposed to be tested as full ext 4 vs our ext 4 only data methood

im trying it on mine and i get some odd resaults 1600-2100 and testing at diffrent times i never had that with the methood i did for u guys at all.

Some clue as to his setup perams would be helpfull for someone no offence that has 20 years exp in this Thanks for haveing others do the work for you greatly appreated NOT...
[Samsung Galaxy S (4G Model)] mbernusg:
Yeah Raver your the man for even attempting to simplify it for us.. seriously

I am getting random scores now.. though the phone is smooth as ever.. not even a hiccup

sent from my real Gs move in silence like lasagna
[Samsung Galaxy S (4G Model)] FBis251:
Alright, didn't have execute bit on the scripts.

Tried the mount for /data in the shell and got it to work, not showing nodelalloc for /data anymore :D

Just ran Quadrant twice, got these scores:

1913

1998

Gonna try the reboot and update the post. The init.d tweaks weren't kicked in yet.
[Samsung Galaxy S (4G Model)] RaverX3X:
give it a bit your scores normalize

removing alot of the crap i missed so the phone isnt doing some **** twice helped.. Honestly i thikn thats prob what helped the phone more..
[Samsung Galaxy S (4G Model)] RaverX3X:
keep me posted....

if it actually is better ill work it into my full init d suite of crap god i wish i could make this one ****ing file sorry bout my english

is there anything on the script i need to change cause i just pushed it to my system remounted the folder as read only rebooted fixed premissons in voodo and seems ok.
[Samsung Galaxy S (4G Model)] FBis251:
1994.

I had to do the remount in the shell again. Didn't work from init.d even after the permissions fix.
[Samsung Galaxy S (4G Model)] RaverX3X:
no idea why its doing that
[Samsung Galaxy S (4G Model)] Eric-1987:
Where do I place the init.d folder again?
[Samsung Galaxy S (4G Model)] FBis251:
/etc, which should be a link to /system/etc.

You'll need to mount /system as read and write.

mount -o rw,remount /system

Then you need to make everything executable

chmod +x /etc/init.d/*
[Samsung Galaxy S (4G Model)] invario:
Bone stock Odin-ed KD1 with Bali 3.1UV and ext4 on data, system, cache. No init.d scripts.

First quadrant run about 1100. Every run after that consistently 1400-1500.

Added ONLY the OP's init.d script and reboot. First quadrant 1300. Every run after: about 1700-1800!

Thanks OP!
[Samsung Galaxy S (4G Model)] Eric-1987:
Wtf is this? linux? Okay I'll do that.
[Samsung Galaxy S (4G Model)] AntonX:
Probably the init.d scripts that Raver posted didn't work because they use Windows <CR><LF> line endings while Unix wants only <LF>. The files have to be re-saved using Unix formatting to become compatible.

If somebody wants them let me know and I'll repost. Also let me know if you want the whole S98edt_tweaks file (there are some settings there that I really would leave to Samsung's defaults), or just the small fix for ext4.
[Samsung Galaxy S (4G Model)] cnote74:
I would like the small fix for ext4 please
[Samsung Galaxy S (4G Model)] AntonX:
Here is a file with just ext4 code. Unzip, copy script to /system/etc/init.d folder. If the init.d folder does not exists, create it. Add Execute permissions to the script file. It's easier to use something like Root Explorer to accomplish these tasks.
[Samsung Galaxy S (4G Model)] cnote74:
It worked beautifully scored a 2044 on black ice voodoo with bali 3.2. Overclocked at 1.2 Thank you
[Samsung Galaxy S (4G Model)] GDofWR420:
How would I change permissions?
[Samsung Galaxy S (4G Model)] mbernusg:
I actually was using ravers intd files missing from black ice's intd folder and it worked

sent from my real Gs move in silence like lasagna
[Samsung Galaxy S (4G Model)] RaverX3X:
I use file expert goto your init folder change the folder to read write long press the init d file u wanna change scroll down to premission add exicute to it back out remount the folder as ro reboot

if any of you have perl on your system

command prompt

perl -p -e 's/\r$//' < winfile.txt > unixfile.txt

do that with the init d files push them back to your phone when done it removes the <cr> return off the file :P
[Samsung Galaxy S (4G Model)] RaverX3X:
THat was my fault honestly i was tired and wasnt booted into linux

perl -p -e 's/\r$//' < winfile.txt > unixfile.txt

install perl use that removes the cr return off the file push them and use root explorer and or file expert to add exicute back into the file :P

you also might wanna note ext 4 on the system partition can cause issues with some programs and settings being saved or changed and not actually sticking

especally those running chainfire 3d..
[Samsung Galaxy S (4G Model)] FBis251:
Alright changed the files back to Unix line endings and the scripts finally ran at boot. Awesome job. Maybe you should add files to the OP in case people are looking into the thread they can find them more easily.
[Samsung Galaxy S (4G Model)] Jerry D:
This Thread is advancing my knowledge...I hope to be capable enough to apply your posts soon!

Please keep it up!

THANK YOU!
[Samsung Galaxy S (4G Model)] rose2jam:
Anyway to make this all work with gb b/c as everyday use for I like gb and having Netflix is plus. Just the system is slow my benchmarks barly clear 1k

sent from gingerbread 2.3.3 sgs4g ROOTED:)
[Samsung Galaxy S (4G Model)] dsexton702:
GB rom is not slow its almost as smooth as our froyo tweaks, however mods cannot be made to gb right now but that,will change soon ;)

sent from my sgs4g 2.3.3, finally
[Samsung Galaxy S (4G Model)] RaverX3X:
edify +cwm = ginger goodneyness :P
[Samsung Galaxy S (4G Model)] rose2jam:
Lol the 2people answer are the champs of modding haha... anyway noob what's edify

my wife vibrant lol which is better b/c of me...
[Samsung Galaxy S (4G Model)] nazcalito:
AntonX, how does increasing the sdcard cache cause more problems than it is worth? I'm curious -- is it something like write errors if you turn the phone off too fast? I had a problem with my SDcard that took hours to fix and the help of jager555 to finally solve.
[Samsung Galaxy S (4G Model)] brandond15:
1.2Mhz? thats underclocking... 1.2Ghz u mean :P
[Samsung Galaxy S (4G Model)] nazcalito:
if you don't have linux or perl you can download a free program called Notepad++. Make sure it is version 5 or above. Once you have that program, you can load a file, hit control+F to search, check the box for "extended" search mode, and replace "\r\n" with "\n" That should take out the carriage returns and leave only linefeeds. Then save the file. I downloaded the windows version but there might be one for mac as well.
[Samsung Galaxy S (4G Model)] mzangui:
quad scores was 1500s now with this tweak 1800s
[Samsung Galaxy S (4G Model)] xmaster1736:
Juwe also a has a script that could be useful to us. It is an auto ram task killer. He just posted it few days back. If anybody could give it a try and see how it works.
[Samsung Galaxy S (4G Model)] AntonX:
If you mean read-ahead cache, I wrote about it already someplace, search through my posts. It's not damaging in any way, it's just waste of resources (battery, CPU). You may read what this guy wrote as well: http://xdaforums.com/showthread.php?t=1032317

I actually benchmarked SD card some time ago with hdparm (with -t switch.) There was very slight throughput boost when I went up to 512KB cache, but no gain after that. And this is for sequential reads, for random access read-ahead cache is just bad. The 128KB size is set by Linux engineers as a good compromise, there is no need to mess with it, at least too much.
[Samsung Galaxy S (4G Model)] nazcalito:
I noticed a big difference when I was restoring apps using titanium backup after flashing a new kernel. With the cache at default, a restore crawls along. It goes a lot faster when the cache is bigger.
[Samsung Galaxy S (4G Model)] Spider_Pig27:
I Just Read Like 30+ words i have No i dea what they meant i had to grab a dictionary lmfao
[Motorola Droid and Milestone General] spartan.062:
My friend wants me to root and overclock his Droid and I was thinking "Why not CM7?" So my question is what is the best combination of CM7 and OC kernel? And is set cpu the only option for control? Or is there anything like Voltage Control?

Any help would be appreciated.

By the way, I come from the Samsung Fascinate. So I am unfamiliar with rooting the Droid (I used to have one but I never rooted it).
[Eee Pad Transformer General] Good2BCh13f:
LTL, but I have an issue now and search isn't helping.

So, I have had my AT for about 3 weeks. No problems. Forgot to charge it overnight, no big deal. Charged it for several hours and then turned it on. Nothing. The screen lights up, but there is nothing on it. Ok, says I, I restart it. Nada. I did the hard restart (10 seconds holding the power button, 2 seconds off, 10 seconds holding it again) and still nothing. Then I noticed it made noise if I touched something that makes noise. I plug in an HDMI, and low and behold, the tablet is working fine, the screen just isn't. Now, keep in mind that the backlight is on, the screen just doesn't display anything. Any ideas?
[Eee Pad Transformer General] frosty5689:
If you never dropped it, then the ribbon cable connecting the screen to the motherboard probably got loose and isn't making a proper connection. Your choice is to RMA or try taking it apart yourself and re-connecting the ribbon cable.
[Eee Pad Transformer General] martabakeju:
I have exactly the same issue. I wish i can tear apart my transformer, but i don't know how.
[Eee Pad Transformer General] frosty5689:
There have been posts with pictures detailing the tear down steps people did to take it apart, but it can't be said for certain that the ribbon got loosen. The screen could've very well just died. I know for a fact that some LED powered screens draws power for the LED backlight from the same ribbon cable, if the Transformer's IPS screen does the same then the screen must've died cause the back light is still on indicating the ribbon cable is still in place.
[Eee Pad Transformer General] Good2BCh13f:
Thanks I might just do that. It is case-kept and it was inside a computer bag, so even if it was dropped (I didn't, but I have a dog/cat/wife who might have bumped it :D) it should have been fairly protected. I am still within my return/replacement window with Amazon, but they can only refund me due to lack of stock :(
[Eee Pad Transformer General] Good2BCh13f:
I was also thinking that maybe it thinks an HDMI cable is still attached and won't put the tablet display on? I have never hooked up an HDMI cable up until this issue arose so I am unsure what my AT's screen would do when I plug an HDMI in. Does the screen turn off? Does the backlight stay on?
[Eee Pad Transformer General] martabakeju:
I don't think thats the issue...before my screen totally died, it discolored for some time...then i kinda shook my AT quite strongly, then the screen totally died. I think it is the ribbon issue.