yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] thomas.raines:
You need to unzip Lighting Zap.zip folder. Open it, you will see 3 folders. Ignore the META-INF folder. open system/bin and copy the 2 files, then navigate to your root folder system/bin and paste the 2 files there. then go back to the lightning zap folder. Open etc you will find a folder and a file. Copy both of those items and the navigate back to your root folder system/etc and paste those to itmes there. Then go back to lightning zap folder and open lib folder. There you will find 2 files. Copy them then navigate to root folder /system.lib and paste those files there. Reboot to recovery, delete delvik and cache, then reboot and enjoy. Make sure you follow my instructions (in the first post) on how to calibrate the battery tweak. Do not delete any existing files that are already on your device, just overwrite them.

Dont forget to make a backup before doing this!!!!!!!!!!!!
[Samsung Galaxy S (4G Model)] jyl926:
Random question, but after i installed the tweak, my phone started to heat up a bit when i was charging it at night, but in the morning it was fine? Has anyone else had this problem?
[Samsung Galaxy S (4G Model)] thomas.raines:
Is it possible that it has always done that, but since you installed this tweak you just noticed it? Was the phone on or off? Taking where the phone was sitting (in the path of the heater vent), ambient temperature, and if it was on an original charger or not into consideration, how much did it warm up?
[Samsung Galaxy S (4G Model)] jyl926:
It was the first time I noticed it, phone was on and i normally just leave it on the floor where the carpet is pretty cool. It warmed up just a bit not like blazing hot, but just warmer then normal. Overall though, the tweak helped a lot so thank you for that. :D
[Samsung Galaxy S (4G Model)] thomas.raines:
Well, as long as it isn't getting like HOLY CRAP IT'S ON FIRE (much like what we say about Megan Fox), then it should be ok. Keep on eye on it though and allow your phone to completely die before recharging it.
[Samsung Galaxy S (4G Model)] jyl926:
So just drain the battery completely before each charge, and then after the 4th charge i should start noticing longer battery life? :)
[Samsung Galaxy S (4G Model)] thomas.raines:
Yes and no. Yes let it die and then fully recharge it. But you will progessively see the improved battery life, just have the full benefit by the 4th charge.
[Samsung Galaxy S (4G Model)] turtlepa:
Should I flash kj6 2d after or.before I flash this. Does it matter either way. I had it installed before, had to redo it entirely recently and not getting same scores I used to
[Samsung Galaxy S (4G Model)] Farlander:
I must say kudos to the devs who have been so generous in sharing their accomplishments. I do wish however there was some standardization in listing the details among different ROM/kernel upgrades available. For example, what exactly is in this tweak? We don't even know, we just flash it and see what happens. Does it affect the max/min volts of the battery? Does it overclock CPU? Does it affect how much charge the battery will take? Doesn't a battery calibrator need to be used every time you flash a new rom? I would like a list of details before I put anything like this on my device, and even source code would be nice to see, in fact I'm interested in doing some of my own coding but I haven't programmed in a while, what software are people using to decompile edit and recompile android? That way we could see the changes ourselves and even modify to suit, which is why we're all here isn't it? Not everyone's preferences are exactly the same however. I would rather my battery give 4-5+ years of reliable service than be temporarily stronger...
[Samsung Galaxy S (4G Model)] thomas.raines:
In order for you to have this tweak, you must falsh it after flashing a new ROM.
[Samsung Galaxy S (4G Model)] thomas.raines:
As for your questions on what is in this tweak, there are kernel tweaks, system process tweaks, battery tweaks, and much more. I am not going to get into the specifics as I am deeply busy at the moment and wanted to get you some of an answer right away, but if you donwload Lightning Zap to your computer and open it up, you can see them for yourself and if you have questions you can PM me with them.

This does undervolt your battery very little, but it does not overclock your cpu. The biggest affect this has towards longer battery power is that it kills unnecessary tasks and makes thigns run A LOT smoother.

It is recommended that you use a calibrator app, but not necessarily. The most important part to gain the maximum amount on battery power is that for your first 4 charges, allow the battery to completely discharge and then fully recharge. To the best of my knowledge, there is nothing in this tweak that will degrade the longevity of your overall battery life span.

As far as software to de/re compile things, there are a lot out there for various parts of the android system; .apk, .jar, .dex etc just to name a few parts of the system. Therefore, there a quite a few tools you will need when creating and altering things within the android system, just depending on what your goal and expected outcome is; theming, ROM building, Kernel tweaking, etc. Again, PM me with specifics and I will be more than happy to point you in the right direction.
[Samsung Galaxy S (4G Model)] CSOS:
Hi, installed the Zip, now wondering, if there is supposed to be anywhere a APK or settings somewhere to check / alter, i for one am unable to see any trace of a reference anywhere??

Thanks
[Samsung Galaxy S (4G Model)] thomas.raines:
This has no settings options or .apk. The settings and changes are preconfigured and embedded in the files.
[Samsung Galaxy S (4G Model)] Bl4ckpheniX:
Wow! really? enough said.
[Samsung Galaxy S (4G Model)] turtlepa:
So flashing sgs gb official zip in cwm that I downloaded that would count as a rom ? I mean its stock, but still slightly modified and I do noyice difference with tweaks. Big.diff.
[Samsung Galaxy S (4G Model)] jb0ne:
Just wondering if this is compatible with the new octane ROM + drhonk's KJ1 kernel?
[Samsung Galaxy S (4G Model)] thomas.raines:
RaverX3X posted earlier in this post that the only thing that you will truly benefit from this is the sdcard read ahead tweak as RaverX3X left octane stock (2048 I think) and this will bump it up to 4096. But, RaverX3X did a really sweet thing by incorporating tweaks into the ROM itself, so overall I really wouldn't recommend flashing this on Octane v3. But, others have reported they flashed this and noticed some minor improvement, and (although it really doesn't mean much) their quad scores jump dramatically (but that is because of the read sdcard ahead cache being set so high).
[Samsung Galaxy S (4G Model)] thomas.raines:
Yes, it is a ROM. A ROM is basically your phone's operating system. If you are using a rooted stock ROM, then your performance gains should be huge...
[Samsung Galaxy S (4G Model)] RaverX3X:
Ill reply to your pm when i have real net ;)
[Samsung Galaxy S (4G Model)] thomas.raines:
NP. It is quite lengthy...hehehehe... Thanks a bunch man!
[Samsung Galaxy S (4G Model)] jb0ne:
Thanks! Very helpful info. I won't flash this then since it's not necessary.

I'm having issues with battery life on Octane -- 6 hours with very moderate usage, thought this might help. I just flashed the KJ1 kernel on, I'll see how battery life goes with KJ1 + Octane now.
[Samsung Galaxy S (4G Model)] RaverX3X:
Its kernel not rom related
[Samsung Galaxy S (4G Model)] jb0ne:
Then running KJ1 should help. I'll test battery and see. The problem I'm having now is that every time I reboot Linda wants to convert me to ext4 even though I already am. Talk about slow boot times :)

Edit: She seems to have stopped after about the 5th reboot. *shrug*
[Samsung Galaxy S (4G Model)] thomas.raines:
The battery tweak in this should help him then right? Or maybe he just needs to recalibrate his battery?
[Samsung Galaxy S (4G Model)] thenicksherman:
This is awesome! Thanks so much for this, I know quads really don't matter but I'm averaging 2,400 without overclocking.
[Samsung Galaxy S (4G Model)] RaverX3X:
Eh...........
[Samsung Galaxy S (4G Model)] neotoky:
Is this compatible with Valhalla black edition?
[Samsung Galaxy S (4G Model)] vgcraze:
As long as you're rooted and have gingerbread, you are good to go.

So, in short, yes.
[Samsung Galaxy S (4G Model)] thomas.raines:
I am running this with Valhalla black and I have amazing results. However, I did have some issues with battery life the first day so calibrating the battery after flashing is extremely important...
[Samsung Galaxy S (4G Model)] jb0ne:
Sorry if it's a dumb question, how does one calibrate battery?
[Samsung Galaxy S (4G Model)] neotoky:
You need to get the battery calibration app from the market. Charge your phone to 100% and follow what it says on the app. Then use your phone regularly, fully discharge your phone and then charge it without break to 100%. You need to do this for 3 cycles.
[Samsung Galaxy S (4G Model)] thomas.raines:
I actually recommend doing this for 4 cycles with these tweaks.
[Samsung Galaxy S (4G Model)] neotoky:
Yeah, I knew it was 4 cycles. I forget, thanks.
[Samsung Galaxy S (4G Model)] thomas.raines:
Happy holidays all!
[Samsung Galaxy S (4G Model)] Obies:
MY score is 2500 without OC. Running Valhalla Final. Awesome and pretty fast. before tweaked of this Zap flashed, score was 1700. Battery life is average 2 days for me as medium to light useage. TY!
[Samsung Galaxy S (4G Model)] neotoky:
There's an update?
[Samsung Galaxy S (4G Model)] tehgyb:
Yep he added a bunch of new stuff ;)
[Samsung Galaxy S (4G Model)] thomas.raines:
With the new battery tweak I got nearly 36 hours before the first recharge... And I flashed the update at 85% battery... Quad scores for me jumped to 2900 standard and 3300 OC'd... Working on another update already the will OC automatically so no need for another app... Will be keeping the governor at ondemand though...
[Samsung Galaxy S (4G Model)] KotsChopShop:
so you're going to be offering this latest drop (3.2?) as OC'd and standard editions? ..if so, that sounds sofa king delicious

and being that I'm already on Valhalla Black, all I need do is flash this package and that's it, yes? *starts drooling, thinking of the OC'd edition*
[Samsung Galaxy S (4G Model)] thomas.raines:
Ummm... Yes... just flash and enjoy
[Samsung Galaxy S (4G Model)] mikhail777:
I used majority of your files, but updated pikachus system files, then deleted the original init.d and flashed @ 90% battery died quickly-under 10 hours..

Charged while phone was off and got over 38 hours with 4 hours talk time, txt use, music, paid some bills, jump on xda a "few times" hear my gf complain "stop messing with your phone"Lol. Overall great addition to any phone, very impressed! I used some files from pikachus 2.3.6, he just updated 2.3.7.

***I only turn on background data and 4g data when it's needed ***
[Samsung Galaxy S (4G Model)] steeleain:
Could you tell us which files specifically that you kept and deleted? I'd really like to try out your method ;) Thanks in advance bro :D
[Samsung Galaxy S (4G Model)] mikhail777:
when I get on the computer I'll let you know which files. I have the flashable I changed if you want and I'll upload in general section. I'm not sure there would be a big difference, I used another file because pikachu said he fixed typos etc
[Samsung Galaxy S (4G Model)] steeleain:
Hey great! Much appreciated. I'm always looking for new ways to improve my phone. Thanks alot :D
[Samsung Galaxy S (4G Model)] thomas.raines:
Hello everyone. There's an update. Check the OP... Enjoy!

ATTENTION EVERYONE

It was brought to my attention bye GreyDark that there was a typo in the S14buildprop script. It has been fixed. Check the OP for details.
[Samsung Galaxy S (4G Model)] thomas.raines:
Awesome results man. In the update I included parts from the updated Thunderbolt tweak (v2.3.9). But I see there he just updated again to 2.3.10. Gonna check the change log. So I may be updating again in the future... Enjoy!
[Samsung Galaxy S (4G Model)] QUIETLYloud:
First thanks for the work you're doing. I was wondering if you'd share your oc values.

Now the thinking part it seems like my phone is getting hotter then usual, anything I should look for that would cause this?
[Samsung Galaxy S (4G Model)] thomas.raines:
How hotter than usual is it getting? Is it getting hottter then usual while plugged in, on battery, or both? What ROM are you using? Which version of Lightning Zap are you using? Under what conditions is this happening? I presume your phone is an SGS4G?

I need this info to help troubleshoot/debug.

As for the oc values, that is not the issue as I have already made the necesary scripts. I actually need a driver. Which, from what I have found, has to be built from the kernel which is something that is far beyond my resources (need a Linux machine or a computer that can effectively run Linux in a vm or Cygwin because my POS windows box is well... a POS lol). If you know anything kernel coding, scripting and compiling Linux drivers, I am now running Brian's (bhundven)UVKJ6...
[Samsung Galaxy S (4G Model)] thomas.raines:
It has come to my attention that there are people out there that think I "kanged" this solely from dsexton702 (this is not a bash on dsexton either). I would like to point out that I compiled this from not just dsexton, but other devs that have used certain tweaks in their ROMs just as others have done. I have also adjusted various values to improve battery life, smoothness, reception, and overall performance. If you read the OP it states, and I quote, "Special Thanks to GreyDark for catching my booboo's dsexton702 LOSTLOGIC89 pikachu01 tehgyb and ICS And all the super awesome DEVs that help us!" I was to understand, if you gave credit to people when using any protion of their work you would avoid the "kang" law. Obviously I was wrong. For all of you that have supported me and appreciated these tweaks that I have COMPILED (not created), I thank you very much.
[Samsung Galaxy S (4G Model)] mikhail777:
Where's this coming from, if ppl are saying anything oh well-you did credit those that had tweaks! Thank you for the new version, it works great.
[Samsung Galaxy S (4G Model)] thomas.raines:
I'm not naming names, just putting it out there that I did in fact give credit. But on a better note, I am glad you like the new update and are enjoying it very much. I am already working on another update for better battery life and performance only... Not sure what I'm going to call it yet as it will probably only include governors.
[Samsung Galaxy S (4G Model)] QUIETLYloud:
Decided to give it a couple days to see if the tweaks would settle in.

Well, it has gotten up to 50°c generally I'm never over 43°c, it's hot enough that the heat radiates through the screen (near the speaker). I'm on Valhalla black, ki3 modem, lz 3.4.1. The rise in temp happens when I have wifi enabled (regardless of being connected) as well as when watching videos, and when surfing web pages with a lot of graphics. Does not make a difference unplugging.
[Samsung Galaxy S (4G Model)] thomas.raines:
Wow, that is actually pretty hot. What kernel are you using? So, if I understand you correctly, it is happening when you are unplugged and plugged in to the charger during times with fast and/or high graphics are being used. Therefore, I would think it is your GPU getting hot. Judging by the version you flashed, it would be one of the build.prop adds, governor tweak or actual GPU tweaks. Let's start with the easiest, the build.prop add. Do you have the resources to edit your build.prop? If not, PM me and we can discuss this further as that is a whole other thread...lol. In your build.prop you will see this:

##Render UI with GPU
debug.sf.hw=1

Simply change the 1 to a 0, save, reboot and test. You will have to have root permissions and mount /system as rw to do this. I personally like to use NotePad app from market to make changes directly on my phone (just beware of the adds... I enable flightmode to turn off all radios to avoid the adds as they are pretty unrelenting). Or you could use DroidExplorer, connect your phone to your PC and pull/push it that way. Please get back with me and let me know the result.

As for all you guys that are using Vahalla, check this out and see if you are having the same issue. I would like to know if this is just a one-time occourance or do I need to mod a bit more. Thanks in advance...
[Samsung Galaxy S (4G Model)] mikhail777:
I don't watch my phone a while lot, but wifi was enabled woke up to it off had about 35% battery before I lated down. Turned on phone plugged it in let it charged for about 5 min and my battery temp is climbing.. 109 atm with out using heavy applications. Anyway to revert back to buildprops etc. why is there a build prop mod and build prop remove?? There's so much information now, to complicated to check if original had echo line and remove if it does etc etc.. Can I just push over an build prop from Valhalla ROM? Or just flash over this one, it's very weird..
[Samsung Galaxy S (4G Model)] thomas.raines:
I explained all that in the op... If the build prop tweak isn't removed, it keeps installing the values at each boot leaving you with multiple values which can cause issues... Therefore I wrote in a remover to avoid the conflict. As for your heat issue, I flashed vahalla last night and i'm not having the same problem, so its making it hard to troubleshoot. With that said, in the op it says to make a back up of your original build.prop so if there are issues you can replace it. So, go ahead and replace the modded build.prop with the original and reboot. As

for what is actually causing your issue is still unclear to me because I cannot duplicate, but that still doesn't mean there isn't a problem. Are you OCed?
[Samsung Galaxy S (4G Model)] mysticfrog:
hey 19969 i installed this last night and i just ran mine and my score is 1376 what kj6 kernel did you install?? i really dont want to use tegrak... just trying to learn about all this other stuff can be quite overwhelming.. hey im a newb.. cant really help that.. lol anyhow if you could direct me to the link to download that kernel id appreciate it.. ive seen the ones that brian were working on but theres to many of them and i dont know which one to install.. my mod version is valhalla final with iceversion update..
[Samsung Galaxy S (4G Model)] thomas.raines:
You should already have

Brian's kj6 kernel since you have vh final... That's the one i'm using...
[Samsung Galaxy S (4G Model)] mysticfrog:
Hmmm i just totally redid my phone.. I started from scratch again... I haven't applied it yet.. but your right about the kernel.. Lol... I looked it up a while ago.. I'll apply tomorrow... Thanks for response...
[Samsung Galaxy S (4G Model)] melih101:
i just flashed this and i dont see a difference on my phone... im running on octane 3.0... idk if i did something wrong but theres basically no difference. and my quad score actually went lower to like 1100.. help plz/
[Samsung Galaxy S (4G Model)] thomas.raines:
Check OP for bluetooth fix... Sorry guys, I didn't even think to test bluetooth till I actually needed it... You will need to put your build.prop on your desktop, edit with notepad++ or something alike, mount /system as rw and push buil.prop back to phone... Again, I do apologize. As for fredulus, if you want to promote someone else's work or your own start your own thread. If you want to report problems or suggestions about Lightning Zap, then post in this thread. Furthermore, the tweaks may be similar, but I have altered values to what I thought was good. If you don't like what I have done just move on and don't troll this thread.
[Samsung Galaxy S (4G Model)] thomas.raines:
I had mentioned in the OP not to use this with Octane as Raver has put the tweaks directly in the ROM. But I must have accidentally deleted it. Apologies... To fix this, with adb or root explorer or something alike, mount /system as rw and delete the init.d folder (/system/etc/init.d), and replace the build.prop with the original (/system) then reboot.
[Samsung Galaxy S (4G Model)] melih101:
Can i just reflash the rom?!
[Samsung Galaxy S (4G Model)] thomas.raines:
That should work too. Just make sure you backup all your stuff with mybackup root or titanium or something alike
[Samsung Galaxy S (4G Model)] melih101:
instead im going to flash vahalla blackedition.. i wanna new rom and a new feel and octanes not getting an update so.... would this work for vahalla blackedition?
[Samsung Galaxy S (4G Model)] thomas.raines:
Others on VH balck have flashed this with amazing results (as they reported).

Just make sure you download the update I just released. It contains the bluetooth fix...
[Samsung Galaxy S (4G Model)] melih101:
just flashed vahalla BE and flashed ur tweaks. and i do not know how you guys get such nice benchmark scores... i just got 1228...
[Samsung Galaxy S (4G Model)] thomas.raines:
Do a factory wipe, flash ROM 2 times, power off and let set for 10 minutes. Power on and select reboot as phone will boot in recovery mode. Allow to set 10 minutes. Reboot to recovery, flah Lightning Zap, let phone set 10 minutes, reboot, reinstall backups, enjoy... Make sure you are flashing the latest version of Lightning Zap (v3.4.2)
[Samsung Galaxy S (4G Model)] thomas.raines:
UPDATE Coming soon

I will have a brand new Lightning Zap by Wednesday. It will include a new battery and performance tweak, new RAM tweak, and much more. I cleaned up a lot of unnecesary scripts and added some things from dsexton's Val-Black-Booster. The updated version is v4, and I have created 2 of them v4 and v4 BV. The v4 BV is to be used ONLY with Vahalla Black Final CyanogenMod-7.1 Hybrid (it has dsexton's build.prop mod intended for the VB ROM. flashing the wrong build.prop can have bad results.) The other, v4 can be used with any ROM. I am currently testing the update, fine tuning some values as necessary, and working out any bugs that might arise.

POSTING Betas
[Samsung Galaxy S (4G Model)] RaverX3X:
thomas if u got time i got a new settings apk file and services for you to test :P

it will allow you to change all the values inside the rom itself :P some do require a a reboot ill get it out to u and desexton for testing so you can play with diffrent varables :P
[Samsung Galaxy S (4G Model)] thomas.raines:
No problem man! Anything to help! You may want to look at the new one I have coming out because it has a really awesome battery tweak that you could add to the apk to change the settings on it as well, plus my layout is different than dsexton's. I'll post the betas right now so you can take a look at them.
[Samsung Galaxy S (4G Model)] thomas.raines:
BETA posted. Enjoy! Please post your quad scores, issues, and thoughts. When doing so, please include what ROM, kernel and usage conditions (light, medium, heavy). Thanks and enjoy!
[Samsung Galaxy S (4G Model)] reddd123:
Will this work if I got Black Final + the booster? Sorry for asking! I know I read will work with Black Final but what about if I also got the booster
[Samsung Galaxy S (4G Model)] thomas.raines:
dsexton and I use a very similar script where it will delete the existing init.d folder and replace it with the one you are flashing. It helps avoid conflicts and nasty undesired results. Rest assured, v4 VB will replace those tweaks from the Booster as I included them. So to answer your question bluntly, Yes...
[Samsung Galaxy S (4G Model)] thomas.raines:
I scored a 2223 on the first Quad run. Keep in mind, I killed no apps or process before I ran the bechmark test. I'm sure it will only go up from there as the tweaks soak in.
[Samsung Galaxy S (4G Model)] reddd123:
ok so in order to calibrate battery, I must let it charge to 100% then calibrate then use it and let it die to 0% then charge while phone off to 100% and keep on doing that and I will be seeing results? Do I must recalibrate if say I calibrated after I installed Black Final but did not calibrate after I installed booster is that okay? And Do I need to calibrate again after I install lightning zap?