yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, don't flash the screenstate_scaling addon.

I'm not sure about the GPS, as i9000 GPS is always iffy. I know that you'd always have to recalibrate the GPS i.e. leave the phone outside for 20mins to get a good lock on it.

What OS version do you have? Are you using CM7/MIUI? You can read the OP to see which addon suits you the most. Read the OP and if yo don't understand, ask me which specific line you don't understand.
[Android Software/Hacking General [Developers Only]] JJustin:
Hi Pika! Thank you for 1.9.4

I was just curious about step 5 in the instructions:

"Open up Script Manager and launch /sdcard/bolt_scripts/remount_{*} as Root and as Boot. This is done because on Voodoo lagfix, Voodoo will remount the partitions again later after init.d scripts finished launching hence reverting the mounts to stock lagfix mounts. The script then has to be launched only after the Android OS has launched. One way is to use Script Manager."

If I am on Miui, do I still need to do this step? I didn't think that CM7 uses voodoo lagfix.
[Android Software/Hacking General [Developers Only]] geokilla:
I flashed the script and mounded system and data prior to flashing, but just realized that when running terminal emulator, the following is missing:

dirty_background_ratio = 10 (when screen is off)
vfs_cache_pressure = 100 (when screen is off)

Would this be due to the fact I didn't flash LMK addon? I have a lot of files in init.d as well... Probably due to Semaphore tweaks which should be disabled and left as default.
[Android Software/Hacking General [Developers Only]] sn0wjie:
hi, I am using CM7 nightly 181 and NEO 18. so can i just flash Thunderbolt CWM 1.9.4?
[Android Software/Hacking General [Developers Only]] Bejda:
First you can at least read the two previous post,should be a good beginning.
[Android Software/Hacking General [Developers Only]] sn0wjie:
i read it, tats y i am confused! hence i asked!
[Android Software/Hacking General [Developers Only]] jamir5:
i had this error when runing screen state

governor smartassv2 awake

conservative sleep

am i doing somethn wrong?

exec sh '/system/etc/init.d/S98screenstate_scaling'

$ '/system/etc/init.d/S98screenstate_scaling'

/system/etc/init.d/S98screenstate_scaling: 243: Syntax error: end of file unexpected (expecting "fi")
[Android Software/Hacking General [Developers Only]] rmean:
Hi :)

Everything great here, but i have an old problem and i don't find a good setting :(

It's about playing music. I use the phone as my mp3 player since it has great sound quality. The problem is the following: i can't find a proper sleep governor!

Conservative: gives slight lags in playback, wake up

Smartass/ondemand: scaling way to high for just playing music. I already capped max freq on sleep to 400mhz, and phone runs half the time on that freq.

I think it's too much for just playing music. Once i tried to cap the phone to 100mhz, but then it didn't wake up anymore if i didn't play music and it went to deep sleep.

So here my question: any idea how to combine battery saving and proper performance while playing music at screen off state?

Regards :)
[Android Software/Hacking General [Developers Only]] Fenvarien:
Thank you flolep, your guide really made it clear! Jota text editor works great, saving failed but you already mentioned this and the workaround in your advices.
[Android Software/Hacking General [Developers Only]] wassk:
hello.one question : why are now only 1.0.0 version scripts on first page?what happened whit 1.9.3 lmk 60 and that stuff?

thnx
[Android Software/Hacking General [Developers Only]] thompson2009:
wow

Hi

At last no more lag. my phone flies now with these updates.

great works. good install instructions.

Cheers.
[Android Software/Hacking General [Developers Only]] doc_2nas:
I think it's still needed, I'm on mintberry miui with acid/mintberrycrunch/hardcore remount script in init.d, without thunderbolt script /system will still be remounted with relatime.

---------- Post added at 12:41 PM ---------- Previous post was at 12:38 PM ----------

maybe because you didn't flash screenstate_scaling addon?
[Android Software/Hacking General [Developers Only]] NickDunn:
pika, could you pls tell me where to download the XFJVA? thanks.:cool:
[Android Software/Hacking General [Developers Only]] vanu:
a quick one - i'm on simplicity 1.5.1 with semaphore kernel 1.8.0, is there any point in flashing 1.9.4? Thanks in advance.
[Android Software/Hacking General [Developers Only]] keuda:
have you edited it with VIM? if not,...that could be the problem.

http://www.vim.org/download.php#pc
[Android Software/Hacking General [Developers Only]] jamir5:
i only use scrpt manager to edit the governor.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, I need to rewrite the instructions and quote Voodoo as an example. All other systems also remount it to something else causing the mounts not to be optimized at the end of the boot.

The (when screen is off) is an information bit, not the actual output itself. You need screenstate_scaling to see this. I'll revise the OP a bit on this.

Yes, Semaphore tweaks need to be left as default (except the usual like OC, netfilter, Voodoo color etc)

Yes, be sure to leave out screenstate_scaling addon.

You should use VIM to edit. Others will introduce spaces at the end of the line.

I think you're having the auto-closing bug like two other members are facing. Hidden Apps are killed first before the rest. It's like that for other LMKs too. The LMKs in ThunderBolt! is more aggressive though, so you will face this issue much more frequently. If you use your phone without ThunderBolt!, you will eventually face this issue if you have an uptime of more than 2 days. It's due to a misbehaving app that keeps consuming memory in the background. You need to get that issue resolved first.

The music will be capped at 400MHz if you use the Samsung music player. However, the frequency it is actually using is less than that. Why don't you try that? SmartassV2 and ondemand should play music with frequency sticking to 100MHz. If not, I don't think I can provide much help as those governors are already optimized for these situations. If the load is higher than a certain range, the music would need to scale the frequency higher, or else there'll be stutter or a huge background process would completely obliterate the music playing capability resulting in either hangs or stutters or worse, deadsleep.

Read the OP. I split it to become an addon.

Yup, that's right :) Thanks for offering the explanation. I'll update the OP with your situation as an example as well.

A quick search would suffice :S

http://xdaforums.com/showthread.php?t=1336301

Yes there is :)

There's been a whole lot of changes since the one Simplicity offered as an addon. I believe it was 1.6.0?

Use only VIM.
[Android Software/Hacking General [Developers Only]] NickDunn:
i got that link too. LOLs.

thanks anyway. any dif with JVT?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, the fix the Phone FC issue. Other than that, I don't feel there's much changes. Maybe some APKs are updated, but overall, it's almost the same as XXJVT.
[Android Software/Hacking General [Developers Only]] Perka:
Stash app in.market get new fw
[Android Software/Hacking General [Developers Only]] thompson2009:
phone calls

Hi

i installed all the scripts yesterday.

Just a couple of things. I had a phone call earlier and my phone did not ring and the call was not logged. But it logged i had a voice mail.

I opened calls and selected logs and it kept closing all the time. I rebooted my phone and the phone log is staying open at the moment.

Also script manager at the bottom says voodoo_data_conversion_failed_restore.tar.lzo.

is that important.

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, might be the issue a few people are reporting, which is the missing ringtone after flashing ThunderBolt!. I'll put that in the known issue later.
[Android Software/Hacking General [Developers Only]] jamir5:
i dont know how to use that vim.

im such a noob on this.

so i cant just edit the script via script manager.

any option?

---------- Post added at 01:50 PM ---------- Previous post was at 01:48 PM ----------

any other option to edit the screenstate?

i dont know how to use vim,

sorry im such a noob on this.
[Android Software/Hacking General [Developers Only]] pikachu01:
You can use jota text editor like what flolep mentioned a few posts ago.
[Android Software/Hacking General [Developers Only]] Mopral:
Weird...

I use Conservative as sleep governor and I have no lags when playing music with stock player
[Android Software/Hacking General [Developers Only]] jamir5:
thanks pika ill give it a try.
[Android Software/Hacking General [Developers Only]] thompson2009:
Ok Thanks.

Sorry i still cannot see a thanks button for some reason. Never have been able to.

Cheers
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, conservative should play music without stutter. Weird that he's getting a stutter :/
[Android Software/Hacking General [Developers Only]] jamir5:
hi pika i use jota text editor but unable to save,why is that. i mount it to rw thou.
[Android Software/Hacking General [Developers Only]] Mopral:
Best way: save it somewhere else and put it in /system/etc/init.d with root explorer

That's what I did and it works
[Android Software/Hacking General [Developers Only]] BoOsT:
when i run a speed test the I/O is incredibly slow.. I believe it is the ROM i am running but want to double check.:rolleyes:
[Android Software/Hacking General [Developers Only]] pikachu01:
This is due to the readahead being small. The readahead can be tweak as high as the mountain, but I believe that usability should be prioritized over useless benchmarks.

http://xdaforums.com/showthread.php?t=1032317
[Android Software/Hacking General [Developers Only]] rmean:
It only lagged when waking up the device (better said, turning on the screen)..
[Android Software/Hacking General [Developers Only]] jamir5:
i had this error after editing screenstate in jota text editor

exec sh '/system/etc/init.d/S98screenstate_scaling'

$ '/system/etc/init.d/S98screenstate_scaling'

/system/etc/init.d/S98screenstate_scaling: cannot create /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold: directory nonexistent

/system/etc/init.d/S98screenstate_scaling: cannot create /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor: permission denied

/system/etc/init.d/S98screenstate_scaling: cannot create /proc/sys/vm/dirty_expire_centisecs: permission denied

/system/etc/init.d/S98screenstate_scaling: cannot create /proc/sys/vm/dirty_writeback_centisecs: permission denied

/system/etc/init.d/S98screenstate_scaling: cannot create /proc/sys/vm/dirty_background_ratio: permission denied

/system/etc/init.d/S98screenstate_scaling: cannot create /proc/sys/vm/dirty_ratio: permission denied

/system/etc/init.d/S98screenstate_scaling: cannot create /proc/sys/vm/vfs_cache_pressure: permission denied

can someone give me a screenstate wite smartassv2 awake and conservative for sleep

i alway had an error when tryin =(
[Android Software/Hacking General [Developers Only]] BoOsT:
Oh... well i just flashed a new rom and didnt remember it being like that before? i only like to use the benchmarks for 2d/3d anyways. i know i could make a benchmark read whatever i wanted lol
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, try not using screenstate_scaling and see if it solves your problem. Use only smartassV2 or ondemand?

Enable root first before trying the script.

Hmm, let me investigate this. I'll see if I can work this out. Which benchmark are you trying?
[Android Software/Hacking General [Developers Only]] rmean:
Well then it works :) but i wanted it to switch to conservative while screen is off, that's the problem..
[Android Software/Hacking General [Developers Only]] pikachu01:
smartassV2 sleeps better than conservative actually.
[Android Software/Hacking General [Developers Only]] BoOsT:
Quadrant standard.
[Android Software/Hacking General [Developers Only]] jamir5:
omg and it worked.

thanks again pika.

by the way if all the scripts are run as root and run at boot

ill not have to make a widget for them to activate?

how bout this tweak

exec sh '/system/etc/init.d/S98system_tweak'

# exec sh '/system/etc/init.d/S98system_tweak'

ls: /sys/block/zram*: No such file or directory

mount: mounting none on /acct failed: Device or resource busy

mount: mounting none on /dev/cpuctl failed: Device or resource busy

/system/etc/init.d/S98system_tweak: /system/xbin/echo: not found

/system/etc/init.d/S98system_tweak: /system/xbin/echo: not found

/system/etc/init.d/S98system_tweak: /system/xbin/echo: not found

how will i make this to work?
[Android Software/Hacking General [Developers Only]] pikachu01:
The first 3 are known. You don't have ZRAM and some mounts are always busy.

The last 3, I'm not sure which line is it, but your kernel doesn't have that tunable. Which is fine, some tweaks can't apply to so many versions of the kernel as some kernel versions have certain tunables while others don't. An example is like the CFS. Only kernels 2.6.2.x above have that. It's just an example.
[Android Software/Hacking General [Developers Only]] geokilla:
So Thunderbolt is corrupting my Google Contacts... 2nd time this week. My phone lagged hard a after only 30 minutes of idle time. The phone actually became unusable so I held the up button to force restart. After the phone was back, all my Google contacts got corrupted. Now my numbers are gone. Again. Not sure why it lagged hard in the first place either...

Happened again.... What the hack is going on. I'm going to flash the restore file for now.

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] BoOsT:
Ok here's something funny. I removed the entire unit.d folder, rebooted and got the same.quad score LMFAO!!
[Android Software/Hacking General [Developers Only]] pikachu01:
Something is causing that. Not getting this issue, though I once corrupted my Google Contacts from the use of the patched libsqlite. A restore from Titanium Backup and all is fine and dandy.
[Android Software/Hacking General [Developers Only]] pikachu01:
The system_tweak doesn't increase the quadrant score, the patched libsqlite does. Quadrant scores are meaningless as achieving smoothness is what people want, not scores that doesn't represent smoothness. If you want, I can tweak all the values to give you WTFBBQ scores, but you'd be left with a near-crippled phone and smoothness that you'd wish you killed yourself first before attempting to do anything to your phone.
[Android Software/Hacking General [Developers Only]] BoOsT:
Oh my bad my phone is fast!! Not saying its not. I just figured like stated before that the readahead would have some impact on it?
[Android Software/Hacking General [Developers Only]] geokilla:
So it's most likely the patched libsqlite causing the corruption when I force restart my phone?

How did you restore contacts using Titanium Backup? Aren't the contacts stored in the cloud?

Also, I flashed the i9000 restore and the lag is gone. Not sure what was causing this... Everything was fine and handy dandy for so long, even when I beta tested and stuff...

Edit: Might know why it lagged hard. Could be because I disabled lagfix to test things out.
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, sorry for the misunderstanding :S

The readahead is increased just a little bit from the default. The default in Talon is 256. I increased that to 512.

Yes, it's confirmed that the patched libsqlite is causing the corruption. The only thing here is that the corruption is fixable as its data corruption (not OS corruption). A restore from Titanium Backup (or a cloud sync, yes) should fix it.

Hmm, lagfix could be an attribute as you might have done the remounts even after you disabled lagfix. If you're using RFS, you should not use the remounts.
[Android Software/Hacking General [Developers Only]] pikachu01:
1.9.5 of ThunderBolt! as well as 1.0.1 of screenstate_scaling script is in testing.

Some hints of what's coming:

- Better Smoothness?

- Less microlags (I hope) :P
[Android Software/Hacking General [Developers Only]] Sqb:
A treaty for the weekend! No rest for the wicked. Thanks for all the hard work. Can't wait to try it out

Sent from a rock on fire in the middle of the sea
[Android Software/Hacking General [Developers Only]] flolep:
Yep. I confirm, after 2 full days of use that there are some microlags on keyboard, transitions on desktop and scrolling sometimes in applications where scroll is big. Something that wasn't there on 1.9.3... Do you think it's due to reduced aggressiveness of cfs? If so, as more aggressive cfs was a problem for some other users (not me...), how did you get rid of these microlags this time?

Take care.

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] Fenvarien:
My phone flys with ThunderBolt 1.9.4 too, stable and fast. I only experience some microlag during keyboard input, like flolep mentioned already.
[Android Software/Hacking General [Developers Only]] SGS_elko:
Do I need to run these two steps if have not a lagfix? Ok, step 6 is probably a cleaning skript that is needed at the first boot. But step 5 is a littlebit confused!

5. * Open up Script Manager and launch /sdcard/bolt_scripts/remount_{*} as Root and as Boot. This is done because on Voodoo lagfix, Voodoo will remount the partitions again later after init.d scripts finished launching hence reverting the mounts to stock lagfix mounts. This is also true for MIUI/CM7 where partitions will be remounted to relatime just before Android OS appears, thus nullifying the init.d remount.The script then has to be launched only after the Android OS has launched. One way is to use Script Manager.

6. * Open up Script Manager and launch /sdcard/bolt_scripts/sqlite_optimize. This script can be used arbitrarily at anytime that you want. Don't load it as boot or copy it to init.d though, it'll significantly slow down your boot up as the script is a very long running script.
[Android Software/Hacking General [Developers Only]] pikachu01:
I encounter microlags in keyboard on certain apps like Messenger (Facebook) and Whatsapp. All others like SMS and Google Talk are fine. I'm going to chalk that up to apps being a bit heavy on the RAM side. However, I will try to get rid of it by tuning the VM and experimenting on it. :)

For 5., you need lagfix, which is ext4 partitions to use it.

For 6., it's a script you can run at anytime. It takes about 30secs to 2 minutes to run it.
[Android Software/Hacking General [Developers Only]] burakgon:
FPS is increased much. My sgs can run all games on android in the world.
[Android Software/Hacking General [Developers Only]] DocMarc73:
I've copied the screenstate scaling script into etc/init.d and edited awake and sleep governor with galaxys built in text editor. When do tgese changes take effect? after reboot or imediatly?

Im on semaphores kernel btw.
[Android Software/Hacking General [Developers Only]] pikachu01:
It needs a reboot :)

Good to hear that :)
[Android Software/Hacking General [Developers Only]] ocelofil:
pikachu01: Thx for great work.I´ve your latest vesion of tweak on DocZ v9 and everything goes so smooth and quickly.Thx man...XDA must be proud of you!
[Android Software/Hacking General [Developers Only]] Mopral:
If you want to use conservative or smartassv2, do not forget that they come as modules in Semaphore kernel and they need to be activated
[Android Software/Hacking General [Developers Only]] DocMarc73:
What exactly do you mean by "have to be activated "?

In semaphore settings I chose ondemand. Edited script to ondemand for awake and conservative for sleep.

What else am I supposed to do?
[Android Software/Hacking General [Developers Only]] Mopral:
You need to put a script in init.d folder to activate conservative

This script should be in semaphore thread
[Android Software/Hacking General [Developers Only]] Thunder22:
Can I still use the 1.8.0 50mb with cm7. It was the last to work on cm7
[Android Software/Hacking General [Developers Only]] geokilla:
Trying to watch MLG and it's not working when I'm using 3G/HSPA connection. However when I tether it to my mom's Desire, everything's fine. Any ideas?

This is with and without the 3G addon.
[Android Software/Hacking General [Developers Only]] pikachu01:
The problem is not with ThunderBolt!. The problem is with CM7. Seriously, read the OP about the screenstate_scaling issue. It's due to a bug introduced in newer nightlies of CM7 and CM7 kernels that have the didle patch.

If you're using Semaphore, you have to enable netfilter to use tethering.
[Android Software/Hacking General [Developers Only]] geokilla:
It's the tethering that works fine. I try to stream mlg on my phone and it doesn't work. Flash stays black... If i'm lucky it'll load but lag., When I tether to the laptop and my mom's phone, it works fine.

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] pikachu01:
Try updating flash?
[Android Software/Hacking General [Developers Only]] burakgon:
Enable netfilter brother. But If you on semaphore.
[Android Software/Hacking General [Developers Only]] goodolsen:
I've tried several versions of Thunderbolt but have to keep removing it. Push updates from Words With Friends and Scoremobile stop working after installing. Once I remove it they work just fine again.

I just tried 1.9.3 with no addons and still had the issue.

Sent from Mister Red
[Android Software/Hacking General [Developers Only]] burakgon:
I'm not sure but maybe you have a corrupted ext4?
[Android Software/Hacking General [Developers Only]] geokilla:
Already up to date, which is weird. I tethered again and again it works on my sister's phone. But on mine, it didn't load. Black screen or lag.

Sent from my Samsung i896
[Android Software/Hacking General [Developers Only]] hackeron:
I just installed the f1 v13 rom that includes thunderbolt. And im kinda verifying if everything works..

Can some1 check if this looks good.. Some values dont seem to exist that is in the "verify if it works steps"

Like the screen off stuff.

http://imageshack.us/f/714/thunderbolt.png/

And pikachu, do you run ext4 or rfs now?
[Android Software/Hacking General [Developers Only]] fractaline:
Do I need to set all the scripts in

etc/init.d to run as root and as boot or does the kernel take care of that?

Many many thanks for your dedication (and patience with us) pica!!

Sent from hither to thither
[Android Software/Hacking General [Developers Only]] goodolsen:
I don't think that would explain why it works without the thunderbolt tweaks and doesn't work with them applied.

Sent from Mister Red
[Android Software/Hacking General [Developers Only]] KMino:
NO system shall execute them, just make sure attributes permissions are ok once copied. Only run script manager on scripts in boltscripts that you want, ie the remount script.
[Android Software/Hacking General [Developers Only]] fractaline:
Thanks, I figured but wanted to make sure.

Loving these tweaks!

Sent from hither to thither
[Android Software/Hacking General [Developers Only]] pikachu01:
Try 2.0.0. It will be released soon :P

I'm guessing this had to do with the CFS tweaks.

Might be related to the CFS tweaks. Try 2.0.0 in a bit.

It is correct. I'm using ext4 as I want to use the remount script :)
[Android Software/Hacking General [Developers Only]] pikachu01:
ThunderBolt! v2.0.0 and screenstate_scaling addon 1.1.0 will be uploaded in 30-40minutes. Some last minute testing as well as writing the changelog would take a bit of time :P
[Android Software/Hacking General [Developers Only]] jeebspawnshop:
Sounds good, Pika.

Your hard work is appreciated by me and everyone here, so thanks again, and again and again ;)