yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Mopral:
Thanks!

Empty init.d folder before flashing and now it works!
[Android Software/Hacking General [Developers Only]] gerald7:
managed to install the main ThunderBolt! erm... bootup is slower but after a while things seem to speed up. Lets see how it goes after a few days of usage. Thanks Pika!
[Android Software/Hacking General [Developers Only]] mialwe:
Hello pikachu01, don't know if it's of any help but I'm using those graphics prop values with my kernel for some versions now and there have been no reports about instability. BUT at the time I started the Midnight kernel project some users reported blackscreens/SOD while sleep_mode was used... after removing it everything was fine.
[Android Software/Hacking General [Developers Only]] Syntaxer:
Nice! 2.1.7 works really well :). I'm usin TB 2.1.7 with all addons on Smiplicity 1.6.1 with Semaphore 1.9.1 and everething is fast as hell ;) even graphics seems to be faster.
[Android Software/Hacking General [Developers Only]] cwc289:
Hi pika, Can I put your graphic scripts into local.prop instead of init.d?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. Makes no difference anyways, unless you want it to become a readonly value by specifying ro before each of the prop setting.
[Android Software/Hacking General [Developers Only]] Meastersquallx:
Hello pika thank you for your effort

i have installed F1 v14 in My Sgs which has TB 2.14

i want to update it to TB v2.17 what are the steps to flash it? do i need to remove somthing and what about the addon which one to flash and choose

because i ddint understand it

thank you again
[Android Software/Hacking General [Developers Only]] rYuuk:
If nand unlocked means bootloader unlocked, than yes it is.
[Android Software/Hacking General [Developers Only]] pikachu01:
There were no change in addons from 2.1.4 to 2.1.7, hence you can flash the main CWM v2.1.7, and you'll be updated to the latest :)

Yup, nandroid first before using it. Only a few people tested it to be working in Xperia Arc and there are a million ways it can go wrong.
[Android Software/Hacking General [Developers Only]] loomis:
Many Thanks for your effort, Pika. Really appreciate it, install till now, so far so good, will continue test on it, many thanks... :)
[Android Software/Hacking General [Developers Only]] Ashtrix:
Works with CM9 too(except for the add-ons ), we got many users on CM9 thread trying out ThunderBolt..:D !

thank you again pika ;) !
[Android Software/Hacking General [Developers Only]] Perka:
So how u do it when the kernel does not support init.d?

zipalign does not run. or?
[Android Software/Hacking General [Developers Only]] pikachu01:
I would like to know too :) Maybe create your own init.d folder?
[Android Software/Hacking General [Developers Only]] Hasan10:
Hey

If I want to get rid of thunderbolt, does it matter which kernel I am running? I am currently using i9000 with stock JVT and dark core kernel, do I just download the stock i9000 restore package?

Thanks for all the help.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeap. Stock i9000 restore is the correct one.

What made you want to remove ThunderBolt! anyways?
[Android Software/Hacking General [Developers Only]] Bogie1:
Yes, that's all you have to do. Also, I don't know if it's required or not but I always go ahead and mount system and data in CWM before flashing the restore.

Sorry Pika, I didn't see you post the answer before I did.

You are doing an Awesome job man. Thank you a lot for your efforts!
[Android Software/Hacking General [Developers Only]] Ashtrix:
Boootup ,touchscreen had improved over the stock CM9's and noticeable smoothness in launcher but have to run all scripts manually (in init.d and optional scripts) from script manager as boot,root.

And maybe the screenstate scaling,CFS,remount scripts are is not possible without init.d support from kernel.

Don't know about the zipaligning but thunderbolt had made my CM9 Dev BUILD fly high ;)...!
[Android Software/Hacking General [Developers Only]] jnr21:
@pika: Restore packs doesn't include line for deleting graphics script.
[Android Software/Hacking General [Developers Only]] saszseb:
I think, yes. I did so some days ago, but got wrong values from terminal emulator.

---------- Post added at 08:24 AM ---------- Previous post was at 08:21 AM ----------

Pls. let's see your values from Terminal Emulator:

dirty_ratio =

dirty_background_ratio =

vfs_cache_pressure =

Thanks.

---------- Post added at 08:32 AM ---------- Previous post was at 08:24 AM ----------

Perka, I think the kernel supports init.d.

I did the following:

- created /etc/init.d.

- opened Voltage Control>menu>hit "save as boot settings> a message will appeare: "S91voltctrl will be saved in /etc/init.d".
[Android Software/Hacking General [Developers Only]] Kurre:
Teamhacksung's ICS port (i don't like to call it CM9, since it isn't that yet) doesn't support init.d. Pawitp already stated it IIRC. And voltage control only says that it has successfully saved file in to that folder..but it doesn't get loaded at boottime..

Sent from my CM'd SGS
[Android Software/Hacking General [Developers Only]] powerdams:
Pikachu, i've found something to keep you awake during thunderbolt improvement:

http://www.google.fr/imgres?q=pikac...bnw=67&start=110&ndsp=17&ved=1t:429,r:3,s:110

:p
[Android Software/Hacking General [Developers Only]] saszseb:
Using SetCPU you can amend your governors. After reboot you'll get the new governor.

Some parts of pika's scripts are working on teamhacksung's ICS. Pika has confirmed it seeing my results of "sysctl -a | grep vm" and "getprop | grep ADJ".
[Android Software/Hacking General [Developers Only]] Ashtrix:
Yep, these are my values...!

dirty_ratio = 80

dirty_background_ratio = 65

vfs_cache_pressure = 1

and these ensure that thunderbolt's working fine on ICS port..!
[Android Software/Hacking General [Developers Only]] jnr21:
Edit: newermind...
[Android Software/Hacking General [Developers Only]] purpleraintoxicity:
Works perfect here on mmb 1.12.2.

Thanx!
[Android Software/Hacking General [Developers Only]] spambayes:
Pika,

Is this another Busybox or Script Manager issue?

Thanks.
[Android Software/Hacking General [Developers Only]] jnr21:
Why do you try to run touchscreen script with script manager?
[Android Software/Hacking General [Developers Only]] cursedwave:
Anybody been using this on Semaphore and Apex 11.1 on their Captivate?

It keeps bootlooping for me until Semaphore (bigmem) clears the init.d folder. I've been restoring apps through TiBu, but only a small number have had their data restored as well. I can't be certain if it's a Thunderbolt! (2.1.6) issue, but I do use it and wanted to see if anybody else had gone through a similar experience, or had any ideas on what could be causing the loops.
[Android Software/Hacking General [Developers Only]] spambayes:
To change touchscreen sensitivity.
[Android Software/Hacking General [Developers Only]] jnr21:
Touchscreen script is allready in init.d folder, and in bolt_scripts folder there is couple of variations. You don't need to run these with script manager, just replace old one in init.d.
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know. Yes, it needs init.d support to work.

Yeah, will be releasing a new restore pack soon.

LOL

You can either use SetCPU or edit the screenstate_scaling script. Both are just as fine. You can't use both though.

These are the correct values :)

This is after you cleared the init.d before flashing right?

Touchscreen script doesn't work with Script Manager. It's a known issue. If you issue the command (that is inside the script) in terminal emulator or ADB, it works.

Should be ROM related. Does the ROM bundle other tweaks? You need to remove it before flashing ThunderBolt!
[Android Software/Hacking General [Developers Only]] spambayes:
Ah, thanks for the info!
[Android Software/Hacking General [Developers Only]] spambayes:
Yes, I knew that. Was trying to see if I could change the sensitivity on the fly using SM. Apparently not as Pika has said. Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
You can, but you need to do some manual typing to do that. :)
[Android Software/Hacking General [Developers Only]] Richieboy67:
Hey guys,

Being new to this I really have no idea what I am doing. Do all Android phones have CWM built in or do I have to install this? Do I need Rom Manager? I just bought it thinking it was CWM..

Could someone explain things in easier to understand terms? My phone is rooted and I have no problem navigating directories or system files or editing script. Still I do not understand the instructions. Could someone take 5 minutes and go through a couple of them?

Copy the CWM zip and all the addons you need to your internal sdcard

CWM is clockworkmod - I do not understand this. Are you implying that the "cwm" zip is the zip file for this package? I do not have to install cwm?

Mount /data, /system and /sdcard in CWM (IMPORTANT!) (When mounted, it will show "unmount /system" for example. This means that an unmounted partition will show a "mount /system" for the /system partition)

What does this mean? I know where these directories are but I do not know what you mean by "mount".. Are you saying to move the files from the zip files into the phone overwriting the existing files? Is this what you guys mean by "mount"?

Install using CWM all the CWM zips without needing a reboot in between

CWm again - can I use Rom manager for this?

Wait for bootup

Open up Script Manager and launch /sdcard/bolt_scripts/remount[device] (e.g. remounti9000) as Root (The skull icon) and as Boot (The wheel icon).

Open up Script Manager and launch /sdcard/bolt_scripts/sqlite_optimize as Root (The skull icon). 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.

????

PROFIT

Finally - I have 2.3.3 right now.. should I update this first or after or does it matter?

I am sorry to be a pain. I build computers and web sites and have no problems but I am lost when it comes to phones. I have only started using android about 5 months ago and I have only had my gti9001 plus for a month..

I really appreciate the help and trust me when I say I do support developers that support me. I know because I am a web site developer so I do know how it works. I am one to donate and buy apps when I can.

Thanks,

Rich
[Android Software/Hacking General [Developers Only]] rlorange:
Would just like to report that CFS 1.9.4 works much better for my phone in terms of ui smoothness, keyboard snappiness and my browser hangs and FCs with the latests cfs

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] Wendigogo:
Just to thanks for this !

Had try with 2.1.6L and got the sleep-death as with 2.1.6 ...

Now with 2.1.7 (without graphics acceleration tweaks) problem seems solved !

Thanks a lot again !
[Android Software/Hacking General [Developers Only]] cursedwave:
As much as I could find regarding tweaks in Apex, plus if I switch to Talon Kernel, everything works fine when I add in Thunderbolt. :[
[Android Software/Hacking General [Developers Only]] ShadedCyan:
CWM is a custom recovery for Android that allows you to flash files.

Do you have a custom ROM installed? If you do it is more than likely that you already have CWM.

If you don't you would have to get Odin to flash the custom recovery. Google around, it should help you. Or else use Ezbase, very handy when switching ROMS and could potentially fix your device at times. http://xdaforums.com/showthread.php?t=991792
[Android Software/Hacking General [Developers Only]] Mopral:
Seems like something does not work for me...

I have these values:

dirty_ratio = 90
dirty_background_ratio = 65
vfs_cache_pressure = 1
[Android Software/Hacking General [Developers Only]] pikachu01:
CWM is basically a custom recovery mode that comes with a custom kernel. You can update to 2.3.6 (the latest) or stay with 2.3.3. It works with Gingerbread without problems.

About the mount instruction, you'll understand it once you install a custom kernel like Semaphore or Talon.

Yeah, by all means, you can use other CFS values as well :)

Yeah, sleep_mode was probably the cause :)

Hmm, remind me what is your issue again?

You have something else that is in your init.d changing the setting?
[Android Software/Hacking General [Developers Only]] Mopral:
Absolutely nothing!

I wiped init.d folder before flashing ThunderBolt
[Android Software/Hacking General [Developers Only]] ShadedCyan:
I have the same values.

The files in my init.d are :

01syctl

03firstboot

05mountsd

06mountdl

20useriniy

s70 darky zipalign

s70 zipalign

s78 enable touchscreen 1

s91 supercharger

s98 cfs 1.9.4

s98graphics

s98system tweak

Any idea what might be causing it?

Much appreciated!
[Android Software/Hacking General [Developers Only]] cursedwave:
I'm trying to use Thunderbolt! with Apex 11.1 and Semaphore 2.1.1 on my Captivate (with ext4).

Everything works fine even when I toss in some OC, color temperature/governor change from Semaphore. But when I add in Thunderbolt, it starts bootlooping upon reaching the lock screen until Semaphore moves the init.d scripts. I've been trying to figure out if there's a certain script that just doesn't play well (and left Semaphore with default settings), but I wasn't having much luck.

Tried using both the chainfire app and then the Talon kernel to convert to ext4 (then switching to Semaphore on the latter occasion) but still no go. :(
[Android Software/Hacking General [Developers Only]] lippol94:
Are you running SuperOSR?

In any case remove these:

s70zipalign
20useriniy
[Android Software/Hacking General [Developers Only]] pikachu01:
Try not to OC? The CFS is pretty aggressive that it will show instabilities of OC right off the bat. If you're using a less aggressive CFS, you'll probably face some FCs or sleep deaths/hangs/restarts every few days/weeks if you have an unstable OC.

Weird. Check if ThunderBolt! scripts are rwx-rwx-rwx permissions? Also check using Script Manager (run the scripts in Script Manager) to see if there are any errors. A few possibilities here:

- Your permission wasn't applied correctly

- The files in init.d wasn't copied correctly (due to disk space issue)

- The files in init.d was copied half way (due to disk space issue).
[Android Software/Hacking General [Developers Only]] rlorange:
@pikachu the 1.9.4 CFS values certainly are the best after trying all of the others. Not only is the ui the smoothest but the phone doesn't warm up as much. Very interesting! I really like your approach to dev work because you educate and involve us with the workings! You would make a great teacher!

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, I have half a mind to see if I should revert the default CFS to 1.9.4 >.<

Well, I'm happy to share my knowledge so that everyone grows together. Knowledge is not meant to be kept as a secret (unless the person doesn't know how to handle it). Knowledge is power!!!
[Android Software/Hacking General [Developers Only]] cursedwave:
Did that before by not touching the OC settings removing the scripts from init.d but it still happened. I'll give it a shot once more to be double sure.

Also I can't be absolutely certain Thunderbolt! is the cause, but I thought I'd ask anyways and see if anybody else was experiencing the same. :o
[Android Software/Hacking General [Developers Only]] Mopral:
Already tried the permissions thing this morning without luck...

I am reflashing rom from scratch so I can not tell you how many free space I had in /system folder

I will try with stock MIUI instead of MintBerry...

Maybe something in MB conflicting with your tweak...
[Android Software/Hacking General [Developers Only]] lippol94:
I'm running Thunderbolt! 2.1.7 on Mintberry without any problem.

Do us a favour. Open Android Terminal Emulator or ADB and type

ls -l /system/etc/init.d

And paste here the output
[Android Software/Hacking General [Developers Only]] rlorange:
I do recall another person mentioning 1.9.4 settings being the best. Switching between the two via script manager really shows an unmistakable improvement at all oc frequencies I use as well (I switch between 1.12 and 1.3 via talon scripts). Also in quadrant the DNA animation rockets up to 40ish from 28 but screen scroll smoothness in ADW launcher is just silky smooth.

Anybody else want to try? Simply run the CFS 1.9.4 script in bolt scripts folder and switch between CFS 2.2.1 and report back.

**Simply Honey 5.1 JVR rom & Talon kernel @ 1.3ghz**
[Android Software/Hacking General [Developers Only]] ShadedCyan:
Files previously stated removed. Problem persists.
[Android Software/Hacking General [Developers Only]] lippol94:
permissions are wrong for

S98CFS_1.9.4
S98graphics
s78enable_touchscreen_1

Use root explorer or something like that and set permissions to 777

(That means you have to tick Read / Write / Execute for Owner / Groups / Others)
[Android Software/Hacking General [Developers Only]] cursedwave:
So far so good, here's my steps so far:

- Flashed appropriate restore pack

- Deleted ScriptManager's preferences for the optimize, drop, and S98CFSJ scripts

- Flashed kernel cleaning script

- Flashed Semaphore 2.1.1 (no settings changed)

- Flashed main Thunderbolt! file (2.1.6)

- Flashed 60MB LMK & Screenstate scaling add-ons (latest on both)

- Flashed 3G, binfiles, libsqlite add-ons (latest on both)

Gonna tweak some Semaphore settings (minus OC) to see how that goes.
[Android Software/Hacking General [Developers Only]] ShadedCyan:
Done. Files stated are now rwx-rwx-rwx. Rebooted and ran the test again. The values remained the same o.o

Should I start afresh?
[Android Software/Hacking General [Developers Only]] erto90:
I want to install these scipts

I currently have cyanogen7 #181 with platipus v18

What i have to do to install thunderbolt? I read OP but i haven't understood something regarding issue on cm build

Can someone patiently write the passage in my case? this worth the flash?

Thanks a lot
[Android Software/Hacking General [Developers Only]] Mopral:
Here is what I done:

-flash stock JVT (with repartition and factory reset)

-flash CF-kernel

-flash MintBerry 1.12.2-2

-flash latest platypus with stock color

-wipe init.d folder with root explorer

-flash thunderbolt and addons

-set all permissions to rwxrwxrwx in init.d with root explorer

-reboot and check rwxrwxrwx permissions in init.d

Here are my values:

vm.dirty_ratio = 90
vm.dirty_background_ratio = 65
vm.vfs_cache_pressure = 1

Forgot to say that lippol94 instructions gave me rwxrwxrwx permission for all files in int.d
[Android Software/Hacking General [Developers Only]] rmean:
hey pika,

Is there any description of the settings in the available cfs-scripts? I don't really know how to decide for a certain script, and trying all of those would take approx. a year :D

everything is smooth and fast over here, so i don't think i need another cfs-script, just curious about how it works :)

Regards :)
[Android Software/Hacking General [Developers Only]] fifa_king:
to those of you lot with problems applying. Are u sure u are using the correct mount script using script manager??

just looking at the steps yall posted above and i dont see the sm step.
[Android Software/Hacking General [Developers Only]] flolep:
Yes, + 1 on that one, the remount script launched at boot thanks to script manager is very important for smoothness.

I tell you this cause I had a problem with it one time, I saw in the advanced logs onboot of script manager that the remount script wasn't giving me a return code of 0 (so there was an error onboot trying to launch the remount script...)

Just trying to modify it or moving the script somewhere else or not pushing the "Run at boot " button in script manager, a reboot and bam, no more smoothness...

You are now informed...
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, there could be something that is loaded after ThunderBolt!.

Ok. Why are you using 2.1.6? 2.1.7 is already out :)

Hmm, try starting afresh and let me know :)

The red bold letters on the first post are the most important that you need to know :)

Hmm, dirty_ratio should be 80 >.<

CFS is the complete fair scheduler. It's to determine how much time slice the kernel sets per scheduled task. The more fine-grained it is, the faster turnaround time every scheduled task gets runned, though the smaller the timeslice, the more processing power is directed to the kernel (as opposed to apps)
[Android Software/Hacking General [Developers Only]] Mopral:
Here what I did to test:

-run S98system_tweak with script manager (errors on ls,/acct,/dev/cpuctl,kernel.sem, kernel.shmmax, kernel.msgmni and kernel.hung_task_timeout_secs)

-wondering myself if all these errors are normal...

-check dirty ratio setting: it was 80!

-restart phone

-check dirty ratio setting: it was 90...

So I DO have something that set dirty ratio to 90 at boot but I can not find what it could be...

-only TB files in init.d folder

-permissions for files in init.d are all on rwxrwxrwx
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you provide a screenshot for the errors? :)
[Android Software/Hacking General [Developers Only]] cursedwave:
I know, I just haven't taken the time to update it. :D

Also, an update...

Changed IO schedueler to Deadline, Color Temperature to Cold, Enabled Netfilter (all in the Semaphore app). Also ran the remount and sqlite_optimize scripts, CFJ (with only remount set to run at boot). Still golden and still no OC. Half-tempted to leave it like that.
[Android Software/Hacking General [Developers Only]] Mopral:
How can I make screenshot?

found! Here they are!
[Android Software/Hacking General [Developers Only]] pikachu01:
SIO is the best actually :)

If you changed to deadline, it'll be already tweaked to be SIO-like (which is actually no difference with SIO actually :P)

You can move the CFS to init.d (deleting the CFS file in init.d to replace it) and making the permissions rwx-rwx-rwx.

They're normal errors. Something is setting dirty_ratio 90 at boot. Can you do a "List" in Script Manager and see if there are other scripts that are loading?
[Android Software/Hacking General [Developers Only]] Mopral:
just your remount and sqlite optimize scripts...

saw a "dirty ratio=90" line in init.aries.rc file but do not know if it can be that...
[Android Software/Hacking General [Developers Only]] pmmfleandro:
Can i use this scripts with glicth kernel in CM7?
[Android Software/Hacking General [Developers Only]] cursedwave:
Never gave SIO a try, did so just now and did the rest on the CFS script. No issues still, I'll just chime in if something does happen. Thanks!

Sent from Russia, with love.
[Android Software/Hacking General [Developers Only]] pikachu01:
Hmm, maybe an app? Do you have root-required apps that tweak the system?

Yes :) Don't flash the 3G script or screenstate_scaling script.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Hi Pika!

Is vfs_cache_pressure=10 when screen off a typo?

Shouldn't it be 100? (OP)
[Android Software/Hacking General [Developers Only]] pikachu01:
It should be 10 actually. Are you getting a different value (checked using ADB)?
[Android Software/Hacking General [Developers Only]] Mopral:
-pimp my cpu but it just manage cpu overclock

-rom toolbox but all the tweak section is disable

Start to think that lippol94 forgot to change an old tweak when he try to include TB in his rom

Will try on stock MIUI later this afternoon
[Android Software/Hacking General [Developers Only]] .:Crack:.:
No, i just was kindof confused because the OP says

dirty_ratio = 90

dirty_background_ratio = 75

vfs_cache_pressure = 100

is correct for screen off.

OK then, thanks for the answer!
[Android Software/Hacking General [Developers Only]] pikachu01:
Ok. Let me know if you've managed to solve it :)

Ahh, thanks for the catch. I forgot to edit the OP :P