yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] thomas.raines:
New Update... v5

v5 Now up. It takes quite a while to install, so be patient. It is deffinitely worth the wait. Now using Aroma installer from FBis251...

There are 3 differnt versions:

If you are running ANY older version of Lightning Zap, install the UPGRADE version

If you are on MIUI, install the MIUI version

If none of these apply to you, then install v5

Read the entire OP

ENJOY all!
[Samsung Galaxy S (4G Model)] Kyndig66:
Just installed. DSP manager FC'd on startup... Caches are cooking right now.

Edit: I'm on VB
[Samsung Galaxy S (4G Model)] QUIETLYloud:
Installed on vb, no issues
[Samsung Galaxy S (4G Model)] Kyndig66:
I'll be taking a look in bit hopefully and see what I can see. I'm doing some serious multi-tasking right now, so I may not be able to peek until tomorrow. Did clear data for DSP, then into recovery and fixed permissions. letting it sit again.

Edit: Seems that it's the same old issue. Undoubtedly something I did along the way. No EQ settings for speaker, no FC. Just weird that the FC happened to pop up when it did. It hadn't since I last installed VB again, about a week 1/2 ago.
[Samsung Galaxy S (4G Model)] ipaq_101:
Thomas this thing is stupid fast, amazing, thanks for your time and efforts into this. Check your PM.
[Samsung Galaxy S (4G Model)] thomas.raines:
And that's half the reason I removed DSP from my phone...lol...
[Samsung Galaxy S (4G Model)] icy56:
Was working perfectly until i rebooted my phone. Now it only stays at a black screen after getting past the boot animation :( cant provide a logcat as my phone wont even boot up. Back to odin i guess....
[Samsung Galaxy S (4G Model)] Kyndig66:
Yeah. I don't use it for the phone speaker (what's the point). Settings were still in there from last install (I test it just to see about the fc). Froze it and defrosted paid voodoo. No big woop. :)

It did FC much faster though! :P

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] thomas.raines:
Odd... Did you let the installer run completely? Which version (MIUI, Upgrade, Normal) did you flash? You can do a logcat during boot. Connect phone to PC, start cmd prompt, type:

adb -d logcat

Then copy and paste log into a text file and email it to me...
[Samsung Galaxy S (4G Model)] thomas.raines:
Does your ROM have init.d support? There may be a conflict with the script between the 2 devices.
[Samsung Galaxy S (4G Model)] dsexton702:
its not the rom, you have to change the flashing script i believe
[Samsung Galaxy S (4G Model)] thomas.raines:
That's what I was kinda thinking also, but wasn't totally sure.
[Samsung Galaxy S (4G Model)] kaizasoshi:
So I pushed the files manually to system/etc/init.d, rebooted twice and benchscores went from 4100 to 4700 :) phone also feels a lot snappier!! Thank you for this!!
[Samsung Galaxy S (4G Model)] cannondale0815:
I am using the simply simple ROM, which already contains AS XIX. Should I be able to apply this on top of it?
[Samsung Galaxy S (4G Model)] spy4ka:
Yes, this cwm package deletes the ini.d holdings
[Samsung Galaxy S (4G Model)] cannondale0815:
Thanks, I flashed it over simply simple. But the scores are unimpressive. Without OC and no Ext4, I get between 1300 and 1500, which is pretty much unchanged from before.
[Samsung Galaxy S (4G Model)] thomas.raines:
Hoenstly, I didn't take the lack of ext4 into consideration, and you don't have to be OCed in order to get imressive results. But most people say that quad scores aren't really relevant. What does matter, is the smoothness, resonsiveness, and overall performance that you notice yourself. Another thing, don't give up on it just yet. Keep playing with your phone so the device actually uses the tweaks, and allow it a few days to soak in. Since you are using a mostly stock ROM, you should see a significant increase in battery life if you calibrate it correctly (let completely die and charge completely before disconnecting from the charger (preferably off), and repeat that cycle for 4 days. In addittion, what program did you use to get your cores? There are 2 main ones on the market. One of them, from my experience, will rate your device extremely low unless you are OCed. The other one seems a little more accurate. I don't have my device righ tnow as it fail victim to the spontaneously broken speaker issue and I had to sent it to samsung today or I could tell you the name of the apps.
[Samsung Galaxy S (4G Model)] cannondale0815:
Thanks Thomas for the detailed response. I used quadrant standard for the benchmarking, and am aware that raw scores aren't everything. To be honest, the simply simple ROM was smooth to begin with, as it already incorporated AS XIX. But I will give it a few days to see if there are any improvements. I just enabled Ext4 on all partitions and the score jumped to 2000,as was probably expected, but I'll continue to monitor it.
[Samsung Galaxy S (4G Model)] tablador:
Thomas, is there a way to uninstall these tweaks without having to factory reset the phone and/or start over from stock? I am always nervous about these tweaks because they seem irreversible...
[Samsung Galaxy S (4G Model)] thomas.raines:
I didn't consider ext4 would make much of a difference, but it makes sense. Also, know that I did pull some of the tweaks from ASXIX and AS 12... So, you may not see much of a difference as far as speed, smoothness and responsiveness...
[Samsung Galaxy S (4G Model)] tehgyb:
Other than flashing other tweaks? Nope. I don't think you'd want to go back though, dude's got a pretty nice set of tweaks here for sure!
[Samsung Galaxy S (4G Model)] thomas.raines:
Depending on what ROM you are on, you may be able to reflash it without deleting everything. Otherwise, just delete the init.d folder and that will remove the actual tweaks, then extract the extract the app_process and system_server from the bin folder on your ROM and push them back to the phone as well as the libsqlite.so and libsqlite_jni.so (provided your ROM has them... otherwise, just delete them also), wipe cache and dalvik cache, and the tweaks are gone.
[Samsung Galaxy S (4G Model)] tablador:
Thanks. Useful info for debugging. BTW. Running AOSP + bhundven's kernel + Lightning Zap + TegraK Free 1.3 GHz OC--I got a quad score of 3100.
[Samsung Galaxy S (4G Model)] thomas.raines:
That's awesome! How long have you been running all that together?
[Samsung Galaxy S (4G Model)] Dopadron:
What do you think about this on the new octane3? I know i saw not to flash on previous versions but wanted to see if it would help boost peeformance
[Samsung Galaxy S (4G Model)] tehgyb:
It won't. Raver built his init.d scripts into the ROM itself, its actually pretty sick how he did it... But either way, this won't do much if anything at all for v3
[Samsung Galaxy S (4G Model)] thomas.raines:
I don't know about octane. But from my understanding, about the only benefit you will get from this on octane is the battery life...

EDIT

I just checked out octane and saw the tweaks Raver did. There are 4 more tweaks that I have in lightining zap that aren't in octane. I haven't looked at the scripts for it though. But overall, if you flash this to octane, you won't see much difference in performance, and he has a battery tweak as well.

EDIT

I used Octane v2 for this reference. For Octane v3, the tweaks are made directly into the ROM. You can flash this, but the only tweaks you will benefit from is the sdcard tweaks as RaverX3X has stated in a later post.
[Samsung Galaxy S (4G Model)] steeleain:
Has anyone tried these tweaks on Valhalla Final? If so, what were the results?
[Samsung Galaxy S (4G Model)] thomas.raines:
I haven't tried them on valhalla final yet. But they should be phenominal. My phone is at the repair shop right now, but when I get it back, I'm going to flash valhalla to it and record the results, as well as a few other ROMs that are available for our phone. Also going to flash a some FROYO ROMs to see what results I get there.
[Samsung Galaxy S (4G Model)] icy56:
I flashed normal on vb. Sorry I can send you a log cat, I already odined my phone to stock and flashed a new rom. :/ I couldn't wait since I really needed my phone. I dont know why did it do that. I was really working perfectly.
[Samsung Galaxy S (4G Model)] thomas.raines:
Were you running Lightning Zap v4 for Vahalla Black?
[Samsung Galaxy S (4G Model)] icy56:
I was running adrenaline shot v14 and then I flashed normal over it.
[Samsung Galaxy S (4G Model)] thomas.raines:
Hmmm... Odd that it crashed on you... I wish you could have gotten a logcat...
[Samsung Galaxy S (4G Model)] ipaq_101:
I am not getting insane battery life.....11% drained after only 2 hours...maybe I need to let it go for an entire cycle to be sure
[Samsung Galaxy S (4G Model)] thomas.raines:
you are on Vahalla Black right?
[Samsung Galaxy S (4G Model)] hechoen:
Thomas

Nice work on MIUI V5. That bootmation going into the installer is sick. Speaking of the installer you weren't kidding about it taking forever. At least I'm backed up nine ways to sunday now. Quads are hitting over 3200 with noop. FPS are way up. I'll let you know about battery life in a few days. can't seem to get over a day out of MIUI.

EDIT: Just noticed it broke my WIFI. When you go to enable wifi it just says error. Tried rooter reboot, and fixed permissions. Still doing it. Gonna hit gremlin remover and reflash MIUI RC3. Then install lightning again and see if it still does it. Any way to push these instead of waiting for the installer?
[Samsung Galaxy S (4G Model)] 7TimesCursed:
I believe the installer does the "tuning" for the new Zap. So pushing the files would not give you optimal performance. Please correct me if I'm wrong Thomas :P
[Samsung Galaxy S (4G Model)] thomas.raines:
@hechoen, if you push /system/etc/init.d to the miui.zip it should work, otherwise no. But this is ONLY on the MIUI build rc2 and up I believe. I just flashed v5 MIUI a few hours ago, when we was working on the ringtones, and I had no problems with wifi. Did you happen to grab a logcat?
[Samsung Galaxy S (4G Model)] jigglynuts:
I too have been running v5 on MIUI and using wifi without any problems.

Great work Thomas. My phone is running flawlessly.
[Samsung Galaxy S (4G Model)] thomas.raines:
It might be something with the backup of your data partition (apps and settings)...

Next time someone has an issue, connect phone to pc, open cmd and type:

adb logcat D

Copy the event's, paste into notepad or something alike...

If you fail to fully boot or get stuck in a bootloop after flashing, connect phone to pc, open cmd and type:

adb -d logcat

Copy the event's, paste into notepad or something alike...

Then PM it to me... These errors seem speratic but I would still like to try and find out where they are coming from...
[Samsung Galaxy S (4G Model)] hechoen:
I didn't grab a log. Was in a rush. If it happens again I'll grab one. Seems like it was probably a fluke since everyone else isn't having any issues. I'll DL V5 again just in case before I re-install.
[Samsung Galaxy S (4G Model)] thomas.raines:
Just for snitz N giggles, I OC'ed, killed all background apps/services, made some changes to the governor script, and ran a quad... 4682, 4891, and 5004! I know I gave quadrant an ideal environment to run and all, but for me, I have NEVER scored that high!
[Samsung Galaxy S (4G Model)] hechoen:
Damn dude what did you OC at? I was getting 3200 without so i'll assume 1.5 or higher. Helps if you put it in the freezer going that high. You know just in case.
[Samsung Galaxy S (4G Model)] NewKlNGjames:
This has been great on my phone. Thank you so much
[Samsung Galaxy S (4G Model)] hechoen:
Thomas

Second install on a clean flash of RC3 with no apps restored. Wifi worked until rebooting. Then it broke again. So I factory reset the phone. This fixed the wifi issue. After restoring super manager with titanium I looked at the initd files and the are the same ones from lightning. I'll be gone for a few days but I'll try and reproduce the issue when I get back and give you a log. Was in a bit of a hurry to get on the road. Thanks
[Samsung Galaxy S (4G Model)] thomas.raines:
1.6 with paid Tegrak app...lol
[Samsung Galaxy S (4G Model)] dimitrie:
hey thomas, im using Valhalla Final with the beta 2c kernel and Lightening Zap. If i want to flash another kernel do i have to also flash the Lightening Zap again over it?
[Samsung Galaxy S (4G Model)] Johnmonkey0:
This isn't stable with Whitehawx's Valhalla Final (not VB). Adrenaline shot 14-1 works much better.
[Samsung Galaxy S (4G Model)] hjjiang:
I have Lightning Zap V4 Valhalla Black, i would use the upgrade version correct?
[Samsung Galaxy S (4G Model)] HB66:
Would this with lagfreev2. i would like touchscreen sensitivity improvement. i am on vb right now.
[Samsung Galaxy S (4G Model)] thomas.raines:
Only the touchscreen script. Just copy to /etc/init.d folder (don't flash it)
[Samsung Galaxy S (4G Model)] thomas.raines:
Flashing a kernel or modem doesn't affect it... Only a ROM or another set of tweaks...
[Samsung Galaxy S (4G Model)] thomas.raines:
Correct...
[Samsung Galaxy S (4G Model)] thomas.raines:
Same files. Some were cleaned up and fixed. Some new files added. I won't change my typical file system, only add new files and tweak the existing ones and new values come compatible with new kernels, ROMs, etc... The best benefit of LZ 5 is the tuning of the file systems/partitions...
[Samsung Galaxy S (4G Model)] thomas.raines:
Go troll somewhere else. It has been stable for others. VB uses VF as a base so there isn't any reason why it wouldn't be stable. If you want to plug someone elses work (granteds I respect dsexton to the highest of regards) start your own thread. Don't do it in mine! If you have an isssue with lightning zap, I will be MORE than happy to assist you. But if all you have ot say is trash then bugger off!
[Samsung Galaxy S (4G Model)] ipaq_101:
I agree with you Thomas, thanks for all your hard work.... Some people just ask and ask for more and then *****
[Samsung Galaxy S (4G Model)] RaverX3X:
do remember thomas one thing It uses vf as a base but its been modfied more but still it works for alot of users on vf so logcat there might be important :P
[Samsung Galaxy S (4G Model)] thomas.raines:
This is true... Like the man said, LOGCATs please...
[Samsung Galaxy S (4G Model)] HB66:
this worked great thank you. i forget it's that easy. this mod makes the phone feel a lot snappier. thx also how do you know if you are on tune file system?
[Samsung Galaxy S (4G Model)] thomas.raines:
That's a great question. One which made me read my own OP and see the typo...lol

tune2fs is not a fielsystem, but it allows us to adjust tunable filesystem parameters such as journaling on an EXT4 (and others) filesystem type.

In this tweak, tune2fs is used to disable journaling, enable faster read/write speeds, and much, much more.

Sorry for the misunderstanding.

But this question, did bring up a point. How can we know if it works?

Look in the OP for the answer on how to find out...
[Samsung Galaxy S (4G Model)] thomas.raines:
tune2fs results

tune2fs -l /dev/block/stl9
ilesystem volume name: SYSTEM
Last mounted on: /system
Filesystem UUID: number and letters
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: resize_inode dir_index filetype extent flex_bg sparse_super large_file uni
nit_bg dir_nlink extra_isize
Filesystem flags: unsigned_directory_hash
[COLOR="Red"]Default mount options: journal_data_writeback (means journaling is disabled)[/COLOR]
[COLOR="red"]Filesystem state: not clean (working on a cleaner)[/COLOR]
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 95904
Block count: 95872
Reserved block count: 0
Free blocks: 43348
Free inodes: 94836
First block: 0
[COLOR="red"]Block size: 4096 (formerly 2048)[/COLOR]
[COLOR="red"]Fragment size: 4096 (formerly 2048)[/COLOR]
Reserved GDT blocks: 23
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 31968
Inode blocks per group: 999
Flex block group size: 16
Filesystem created: Thu Mar 15 12:56:46 2012
Last mount time: Fri Mar 16 02:26:42 2012
Last write time: Fri Mar 16 02:26:44 2012
Mount count: 3
Maximum mount count: 1
Last checked: Fri Mar 16 02:25:57 2012
Check interval: 15552000 (6 months)
Next check after: Wed Sep 12 02:25:57 2012
Lifetime writes: 223 MB
Reserved blocks uid: 0 (user unknown)
Reserved blocks gid: 0 (group unknown)
First inode: 11
Inode size: 128
Default directory hash: half_md4
Directory Hash Seed: numbers and letters

This is my results from the /system partition. The results for /cache and /data partitions are similar. I'm not going to post all 3 partitions, nor am I going to explain what every little detail is (that's what google is for), but you get a general idea of what it should look like.

As for the fielsystem state not clean, I am working on a script to clean and flush the partitions. I should have it done by this weekend and will probably add it to the 1-Click Gremlin Remover processes.
[Samsung Galaxy S (4G Model)] DnickDominic:
Thomas,

Flashed on MIUI RC3 and have the wifi issues..is there anyway to fix this wothout reflashing MIUI because i just want a quick fix
[Samsung Galaxy S (4G Model)] hechoen:
Dnick

Just factory reset the phone. Fixed it for me.
[Samsung Galaxy S (4G Model)] thomas.raines:
Try fixing permissions, give me a logcat, i can't fix it if i don't see the problem...

Sent from my BAMF SGH-T959V!
[Samsung Galaxy S (4G Model)] DnickDominic:
well ive already went back..cant go without wifi..and mabye ill try and reproduce with logcats later got school

Sent From My Rockin' Galaxy S 4G
[Samsung Galaxy S (4G Model)] Kyndig66:
I'll do my best to keep an eye on the thread. If I miss the update posting shoot me a message and I'll change the mirror.

Edit: Probably wrong thread. I meant Gremlin mirror.
[Samsung Galaxy S (4G Model)] HB66:
cool thx, i love this mod
[Samsung Galaxy S (4G Model)] chastity:
Thanks.

My phone is amazingly faster now. I have one problem though: Many spontaneously restarts???
[Samsung Galaxy S (4G Model)] thomas.raines:
What ROM? What kernel? Which version of lightning zap did you flash? Have a logcat by chance?

First step with random reboots, boot into recovery and fix permissions...
[Samsung Galaxy S (4G Model)] ai_keo:
Would this work on scomv4.4.. sorry new to this and kindna need help on the tweaks. Want my phone to run smoothly .
[Samsung Galaxy S (4G Model)] HB66:
works for me, do the quick setting and you should be fine. do a backup just in case
[Samsung Galaxy S (4G Model)] nativesmiley:
can i use this with CM7?
[Samsung Galaxy S (4G Model)] thomas.raines:
these tweaks will work on any ROM except what is noted in the OP... They're is no need to flash the MIUIv5 if you are on Eriks MIUI add i have incorporated lightning zap into it. The next lewa update will also include lightning zap...

Sent from my BAMF SGH-T959V!
[Samsung Galaxy S (4G Model)] Wodensman:
Hi thomas, I love your work. Quick question, because I don't understand some of this stuff:

I'm on Val-Final and a couple of days ago I flashed AS14.1

I'm using SetCPU and I'm OCed @ 1.2. My kernel is AntonX's 1.1rc2

Will this tweak do anything for me, or is it compatible? Do I need to take any extra steps?

Also, for future reference, how do I produce a logcat?
[Samsung Galaxy S (4G Model)] 95Z28:
You can flash it, but it'll overwrite AS14.1. They have the same goal in mind, increase performance in all aspects of your phone. You can always flash this and if you want to go back its as simple as reflashing AS.

As for logcat, there's a couple apps in the market, I believe a popular one is alogcat.
[Samsung Galaxy S (4G Model)] Wodensman:
Mr. Raines, will you please re-upload with the script error fixed sometime when you have the spare time? I'm eager to try this, but I don't know about scripting, and I just know I'm going to mess something up trying to fix it myself.
[Samsung Galaxy S (4G Model)] nativesmiley:
Im on CM7 and i flashed the v5 and v5-upgrade and checked the init.d file and the files dont match up. i believe it didnt stick when i flashed it.
[Samsung Galaxy S (4G Model)] thomas.raines:
PM me with your email address and I will send you the file with instructions...
[Samsung Galaxy S (4G Model)] thomas.raines:
Not really sure if this works with CM7 anyways... I haven't tested it... I will try it out tomorrow and see...
[Samsung Galaxy S (4G Model)] nazcalito:
yes that's what I was going to ask Cm7.
[Samsung Galaxy S (4G Model)] QUIETLYloud:
At the risk of being flamed can I make a request? Can you make a lz for Antonx's barebone ROM? I tried flashing this onto it and well... Let's just say it didn't go so well. If not I understand, you may very well be busy with other projects.
[Samsung Galaxy S (4G Model)] thomas.raines:
I'll look into it...lol

What happened? What was the output? Did it erase your system partition? Let med know what went wrong... Makes it easier to fix...
[Samsung Galaxy S (4G Model)] QUIETLYloud:
I lost all of my data(could be because the ROM is odexed) I did boot, just got fc's on everything... Tried to fix permissions to no avail ended up reinstalling ROM (thanks to tb was able to get everything back)
[Samsung Galaxy S (4G Model)] xakuvo:
great boost for my phone!

i ran 1 click goblin remover, installed [ROM] Barebone SGS4G KJ6 1.1.2 by AntonX, then flashed Lightning Zap, AWSOME! blazing speed! we'll see about battery...
[Samsung Galaxy S (4G Model)] thomas.raines:
1 click goblin remover?

Don't you mean 1-Click GREMLIN remover? lol (jk)

On a serious note, the performance that LZ adds is amazing. But, with the right settings, your battery life will blow you away... I have been able to get as much as 3 days on 1 charge with moderate use...
[Samsung Galaxy S (4G Model)] tvotony:
Even with out the gremlin remover its still great
[Samsung Galaxy S (4G Model)] ChadBFlores:
will this work on ics?
[Samsung Galaxy S (4G Model)] tvotony:
deleted
[Samsung Galaxy S (4G Model)] eollie:
No
[Samsung Galaxy S (4G Model)] thomas.raines:
Working on an ICS/CM9 build along with 3 ROMs... Have some patience guys...
[Samsung Galaxy S (4G Model)] Fatty1212:
Hello Thomas. First off , thank you for making life easier for all sgs4g users. I like your one-click Odin ... it's sooo noob-proof. Wanted to tell my experience with the LZ v5. I followed your OP for the gremlin remover, odined to stock, then flashed the Valhalla Final rom. My quadrant score as follows

1531 , no OC flashed the LZ V5 after score was

2056 no OC... after 30 min 3rd score was

2275 no OC

While im not getting quad scores as high as what you are getting, I see an upward trend. Why are my scores like these? Am i missing something? Please advise. was gonna flash another kernel with higher frequencies but i wanted to find out why i couldnt hit those 3000 numbers ive been reading here. Thank you very much for the Lightnig zap!

EDIT: Could it be that i did format my external card? The internal memory is only 512, so all default downloads and stuff goes to the external SD. It is 32 gig. Also i noticed during the quadrant test that it gets bogged at testing for CPU 6-8.Please advice this noob :) Thanks!
[Samsung Galaxy S (4G Model)] thomas.raines:
The upward increase of your scores is because the way the scripts and your phone work together. Basically, the more you use it, the better it gets. As for not being able to reach the 3000's that others have gotten, it could be one or more of your apps. Try killing as many processes as you can before running your benchmark tests, or, even better, remove all your apps and go back to basic to get a true raw score. As for the little lag you experience, it could be the app you are running your benchmark tests with.
[Samsung Galaxy S (4G Model)] Fatty1212:
Could it also be from the Rom itself? i noticed important the settings portion where i use the tweak to scroll room sd card read, i check 4028, but it doesn't stick, it always says zero or unknown but when i go back to the settings 4028 is checked :(. anywaYs i do notice a snappiness with the phone, o just wish i could show the high score for bragging rights:). also, how long would it take to soak the tweak in ? thanks for the swift reply .

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] lumin30:
Wow.