yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Okay Thanks! ;)

Also accoring to your Android Optimization Thread, a tweaked SIO is better than a tweaked Deadline, until now (before your diff) you're saying that both actually are the same if tweaked to be fair, so SIO and Deadline should be par in your ranking and if not it should actually be better than noop (since you say your ranking shows TWEAKED schedulers) ;)
[Android Software/Hacking General [Developers Only]] MAQ7:
Hi,

I faced reboots while surfing the net, using what's up, and/or calling.

SGS1 JVU semaphore no OC no UV

All addons + tried both LMK 60 and 80.

Any clue?
[Android Software/Hacking General [Developers Only]] aorifan:
i've got same question
[Android Software/Hacking General [Developers Only]] maurogg84:
The tweaks are doing wonders to my Droid charge thanks!

Eclipse 1.4 ROM

V6 Supercharged!

Kicking ass!

Imoseyon

Tegrak Overclock
[Android Software/Hacking General [Developers Only]] pikachu01:
You need to remove screenstate_scaling tunables in the script before enabling lulzactive set on boot option.

Actually it is better to modify from S98system_tweak and screenstate_scaling. That way, it won't be affected by anything else.

You can :)

Don't install Supercharger and the LMK addon together though, both of them does the same thing (with different setting) and will override each other.

Yup. That's true (hence I'll need to check the scheduler algorithm to see which is actually better)

It's either due to a misbehaving app or Semaphore's options (tweak). Ask stratosk in his Semaphore thread. I haven't seen any complaints yet from the 12 devices I posted ThunderBolt! about reboots. :/

Cool. I'll post a support thread in Droid Charge in a bit :)
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Really looking forward to it! :)
[Android Software/Hacking General [Developers Only]] maurogg84:
Thanks man

Eclipse 1.4 ROM

V6 Supercharged!

Kicking ass!

Imoseyon

Tegrak Overclock
[Android Software/Hacking General [Developers Only]] pikachu01:
Quite busy these days. Have to wait for this :P

No prob :)
[Android Software/Hacking General [Developers Only]] grgsiocl:
i am on galaxy note...i am confused which files i need to flash..i can see only n7000 restore.zip...can someone guide me?
[Android Software/Hacking General [Developers Only]] pikachu01:
ThunderBolt! is compatible with a lot of phones (and they all use the same zips except for the restore files). Read the original thread more for more information :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Pika, you are monitoring a lot of threads. This is your original thread, lol!:)
[Android Software/Hacking General [Developers Only]] MAQ7:
You are right, that was SetCPU although I didn't setup any prfile using it. I updated it to the latest version which has fixed the issue and now everything looks normal.

Thanks
[Android Software/Hacking General [Developers Only]] geokilla:
I get that too, along with boot loops when restarting or tuning on the phone without clearing cache. I'm blaming bad phone as I haven't heard of anyone else mentioning this kinda problem. I got a friend's Captivate which restarts every 10 minutes or so though... I've given up with the phone.

They're all running the same stuff as me too :confused:
[Android Software/Hacking General [Developers Only]] pikachu01:
Ah LOL, I really get confused sometimes. Like 14 or 15 threads to monitor.

Good to know :)

Try starting out clean without any apps, install ThunderBolt! and troubleshoot from there. This is the best way to see what apps/tweaks are causing the bootloop.
[Android Software/Hacking General [Developers Only]] mrphumin:
MIUI

Does ThunderBolt Script work with MIUI ROM?(MIUI 2.2.17 I9003)
[Android Software/Hacking General [Developers Only]] pikachu01:
Should work ;)

Have a nandroid just in case.
[Android Software/Hacking General [Developers Only]] mrphumin:
You mean just main script work or all script work.
[Android Software/Hacking General [Developers Only]] pikachu01:
As mentioned in the red bold text, if your kernel supports the latest didle patch, screenstate_scaling won't work. 3G will also not work. All others should work.
[Android Software/Hacking General [Developers Only]] spambayes:
Just upgraded to the latest 2.6.1 but it seems I have lost my bolt_scripts directory. Reinstalled and still the same thing.

Can anyone help?

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
It's now in /etc/bolt_scripts :)
[Android Software/Hacking General [Developers Only]] spambayes:
Doh! I've been away... :o
[Android Software/Hacking General [Developers Only]] geokilla:
Ya you mentioned it before, but I've had these apps for a long time. I don't even have that many. All the apps I have are the popular apps. Clearing cache and dalvik cache prior to restarting or turning on the phone would get rid of the boot loops. I've given up.
[Android Software/Hacking General [Developers Only]] leongwenjun:
can you make it for I9100G?? thanks.
[Android Software/Hacking General [Developers Only]] ImbaWind:
hi , how was the galaxy ace version going ? :D

galaxy ace laggs alot after used ram over 150mb (we only have 278mb ram) , which LMK setting should i apply? :D
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, you've been away :P

Weird. Still, try a clean phone (without apps) and see if you still get the issue. It could be an updated app that broke compatibility with something.

It's compatible with I9100G :)

You should use the 50MB or 60MB LMK :)
[Android Software/Hacking General [Developers Only]] thiskar:
this wont work on my stock JVU rom with sempahore kernel
[Android Software/Hacking General [Developers Only]] pikachu01:
How doesn't it work. Details? :)
[Android Software/Hacking General [Developers Only]] thiskar:
it says applet missing i think it was in script manager and the bolt_scripts folder didn't end up on my sd card
[Android Software/Hacking General [Developers Only]] Bonvaz:
sorry guys all work for aokp milestones 4?
[Android Software/Hacking General [Developers Only]] sahidmiah:
thunderbolt script ,does it work on galaxy s2 westcrips ics 4.0.3 rom ?
[Android Software/Hacking General [Developers Only]] PIRATA!:
pikachu01 what can you say?
[Android Software/Hacking General [Developers Only]] pikachu01:
It's a custom release for a specific phone. :)

On another note. A moderator just deleted a whole bunch of ThunderBolt! threads for each section :(

*sadpanda*

And moved it to the General section (as opposed to Android Hacking section).

*sadpanda*
[Android Software/Hacking General [Developers Only]] iXNyNe:
I'm sorry to be rude here but you read wrong.

The auto mount release is an exact replica of your script that uses busy box to do the mounting and works on all devices (all that I've tested so far). There are no device specific mounts. Please try it (and read the changes in updater script) on a few devices before brushing it off.
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, you're right :P

I mistook it for another thread (that has device specific mounts for ThunderBolt!). Sorry about that. Well, I won't mistake it again though, as there's only one thread for ThunderBolt! ... Sigh..
[Android Software/Hacking General [Developers Only]] iXNyNe:
No worries. I'd definitely like to know your thoughts on the busy box mounting method :)

Edit;

Also maybe have this thread moved to the main android hacking forum since it doesn't seem device specific?
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, this thread belonged in the i9000 forum. The mods uprooted it here and deleted the rest of the device specific threads.
[Android Software/Hacking General [Developers Only]] iXNyNe:
Oic. Well I hope that all gets sorted for the best.

So back on the busy box mount thing;

Busy box isn't built to be device specific right? Its just busy box all around, like su. So theoretically any device that busy box would work on should be fine to have this mounting method do the work.

If anyone else somehow cannot get this working please let me know.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll test it out extensively and let you know the results :)
[Android Software/Hacking General [Developers Only]] cwc3:
Sorry to hear about your thread business. You spend a lot of time trying to make this universal, and posting those threads to help people find out about it. I would be a VERY sad panda, and ticked off.

Another note: I seem to have SGH-I777 AOSP issues with:

setprop wifi.supplicant_scan_interval 120;

Won't boot past logo. I will try some other AOSP roms to see if it is just a MIUI/CM7 issue.
[Android Software/Hacking General [Developers Only]] Nar4:
Hi pikachu!

What happened to Your ThunderBolt thread devoted to Galaxy I9003 phone!?

I can not find it in I9003 forum!!!
[Android Software/Hacking General [Developers Only]] iXNyNe:
read back ONE PAGE to see the answer to your question

to paraphrase, mods removed all of the thunderbolt threads in all of the device specific forums and moved the original thread to the android hacking general

pika isnt pleased because it makes it harder for people to find thunderbolt

it was kinda better before when pika could make a thread in each individual device forum almost as a way to confirm support and compatibility for a device

either way, this thread is now the main discussion for thunderbolt (assuming this situation doesnt get fixed) and if your device isnt listed somewhere as known to be confirmed working and supported then use at your own risk
[Android Software/Hacking General [Developers Only]] Nar4:
i see

So am I!!!

Well that's life. If nothing can be done will stay here. All together!

May it will be even better in terms of experience exchange.

Thanx for make it clear
[Android Software/Hacking General [Developers Only]] pikachu01:
Weird. Try that in Terminal Emulator to see whether it'll run live or not. Never heard of this happening though. Siyah's own post boot script tweaks this (as part of ThunderBolt!), never heard anyone getting hang at boots though.

Try updating Script Manager (ICS compatible version is out). And it's in /etc/bolt_scripts now :)

The main CWM script and LMK plus screenstate_scaling should work. The red bolded words in the OP should describe most of it :)

They deleted it. I'm trying to get them merged into this thread instead. There are a lot of search-able information on the other threads that will be lost if its deleted for good :(

Yup, not pleased at all :/

A notification before it gets deleted would suffice, not after. :(

And yes, the known working devices are in the first post.

Thanks for the support :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Its not the setting, it's setprop itself.

There was one update where people's phones began to not boot.

I had moved some prop tweaks to 99supercharger and 98kak just to keep build.prop/local.prop cleaner.

Logs showed the last executed command to be different setprop commands.

So I chucked setprop and moved those tweaks back to the prop file without issue.
[Android Software/Hacking General [Developers Only]] pikachu01:
This is only happening in AOSP (CM9 or CM7?)?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ah I dunno.

I checked and the changelog shows I fixed it in RC5.2 which came 2 days after RC5.

So I can search for setprop in posts dated for those days back in january
[Android Software/Hacking General [Developers Only]] pikachu01:
Ahh, will await your answer on that then ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok here is my AHA! moment lol http://xdaforums.com/showthread.php?p=21930878#post21930878

So quick n dirty... CM7, ICS for Desire, GSB Workshed... not sure if all CM based.
[Android Software/Hacking General [Developers Only]] pikachu01:
Looks like setprop on those ROMs are broken. I guess I'll need to make my own custom prop files soon to counter this.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I was going to edit my prior post but anyway it would be best to read 5 or 6 pages starting from here http://xdaforums.com/showthread.php?p=21923343&highlight=setprop#post21923343

So its probably more than just those 3 roms.

It would have been nice to blame busybox but setprop isn't a bb applet lol
[Android Software/Hacking General [Developers Only]] pikachu01:
Must be some updates in AOSP that broke setprop?

Have you asked around in the AOSP forums about this? Cyanogenmod forums maybe?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Nah i just reverted to what works.

i forgot how big a problem it was.... issue began 5 pages earlier http://xdaforums.com/showthread.php?p=21905068#post21905068

Lots of different roms/devices.

Ah... Ive been on CM9 for milestone and it was fine for me of course.

But I THINK it freezes on the last setprop command, whatever it may be.

If that's the case, then the problem might be that setprop just doesn't get released from memory when exected in a boot script.

Is the wifi setting the last setprop command?
[Android Software/Hacking General [Developers Only]] pikachu01:
There is another setting after that. windowsmgr.max_events_per_sec. However, this setting only sets itself if it is not set in the first place. Hence, it might be skipped (not sure if CM7 sets this by default as Samsung firmwares by default don't set this prop). Hence it could actually be the last setprop.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah a willing user will have to test.

Move that entry up to be the first setprop and then see where it freezes.
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. Any willing AOSP users here that face hangs at boot on ThunderBolt! use? :P

On another note, just installed ICS and I faced the Dalvik LMK problem that you faced (which required editing the services.jar :S).

Looks like LMK settings aren't being overridden by local.prop/default.prop/build.prop anymore.

Has to be done using init.rc and also services.jar. Dang.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
You find that ICS likes to kill? lol

On ICS, there arent even ADJ or MEM enties in init.rc.

Even if it read build.prop or local.prop ADJs, it gets overridden by a calculation routine in ActivityManagerServices.java.

That was a royal pain the ass to figure out.

I would change ADJs in ProcessList.java and it had no effect... drove me nuts... until I found the override - and made it over ride everything to what I wanted ;)

I really like that new "previous" grouping category even though the default usage is dumb.

Of course you can now edit services.jar with whichever values you want ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
I still see the ADJ in the init.rc in Samsung. Weird.

I haven't tried the services.jar way yet. But I'm confident it should work seeing the detailed explanation you had on your post ;)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
oh weird indeed.

What rom?

I havent seen any ADJs in any CM9 init.rc
[Android Software/Hacking General [Developers Only]] pikachu01:
Official Samsung i9100 ROM :/
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Pikachu, I was having a problem with ScriptManager that I posted in the Vibrant thread before the Mods deleted it. You may have answered it a few pages back. I was afraid to update it, but maybe that's what needs to be done. It hangs a lot now and is very difficult to run any scripts. Anywho, this discussion you are having with Zeppelinrox, does this affect how Thunderbolt runs on all ICS ROMs? I'm running an AKOP version right now, and after installing Thundrbolt! I get these insane Launcher redraws sometimes when waking the phone from sleep and at other times too. The lag is unbearable. This did not exist before flashing Thunderbolt!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, the LMK settings doesn't work (it works half way) hence you should be better off not flashing it.

Also, Script Manager needs to be updated. The ICS version works well without issues (I tried it).
[Android Software/Hacking General [Developers Only]] cwc3:
Just to list a few of setprop's I use in a init.d script. Was having CM7 issues for some reason, so only got to testing MIUI with the below:

Working:

setprop debug.sf.hw X;

setprop video.accelerate.hw X;

setprop debug.performance.tuning X;

setprop pm.sleep_mode X;

setprop ro.ril.disable.power.collapse X;

setprop ro.lge.proximity.delay X;

setprop mot.proximity.delay X;

setprop windowsmgr.max_events_per_sec X;

setprop ro.telephony.call_ring.delay X;

Not Working:

#setprop wifi.supplicant_scan_interval X; - Won't Boot on AOSP (Already in build.prop)

#setprop ro.media.enc.jpeg.quality X; - Won't Boot on AOSP (Already in build.prop)

#setprop persist.adb.notify X; - Won't Boot on AOSP

#setprop debug.sf.nobootanimation X; - Won't Boot on AOSP

All on a SGH-i777 (AT&T i9100)
[Android Software/Hacking General [Developers Only]] pikachu01:
That means it's not setprop that is the issue. :/
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Its still hard to tell tho.

The very same settings when moved to build.prop would likely be fine.
[Android Software/Hacking General [Developers Only]] Papa Smurf151:
I'm still new at this and my script is still at its very beginning but I had a hard time getting setprop to work for me. I instead did a sed (name of in line) delete command then did a echo " line and value) >>/system/build.prop and it searches and deletes the previous setting the add the new setting at the bottom. I've noticed it actually reduces the amount of multiple same settings and makes it so that the setting ur putting in is the only one in the build.prop. also works every time for me as well where as setprop very rarely did
[Android Software/Hacking General [Developers Only]] pikachu01:
Does the setting stick when done in build.prop?
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, build.prop is definitely a cleaner way to it, though using it purposefully will override init.d settings (if it's pre-appended with the ro).

I still feel having it in init.d using setprop should be better. However, I'm still clueless as to why some setprop works while some can't (and works just as well in build.prop).

Don't have the device to test them either. :/
[Android Software/Hacking General [Developers Only]] pikachu01:
Also, for those who are using ICS right now, the main CWM as well as screenstate_scaling works without issues, including remount, sqlite_optimize as well as drop script.

Use Script Manager with the remount/drop/sqlite_optimize.

All other addons don't work (or work rather poorly for ICS hence they are not recommended).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yep unless a setprop command in a script executes successfully and trumps the build.prop entry.

So a possible fix I just stumbled upon while looking as to why dns settings may break bluetooth or wifi...

http://neato4u.wordpress.com/2011/07/28/access-blocked-sites-with-your-android/

So... users can try:

su -c "setprop blah blah"

That just might work.
[Android Software/Hacking General [Developers Only]] pikachu01:
My thought was init.d scripts was ran in superuser mode already.

I think there's a deeper underlying issue here at hand. Might want to ask one of the CM7 devs or whomever to chip in their expertise?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
of course... but magic would be in the -c parameter
[Android Software/Hacking General [Developers Only]] pikachu01:
-c is just to specify the command? :confused:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
yes but the su -c together executes the command in a separate instance so to speak - so it just may avoid error/hang of the boot script since the command executes "outside"

Another option to test would be, come to think of it:

setprop blah blah &

The & makes it definitely execute outside of the boot script.

I use "$0 & exit 0" in 99SuperCharger without a single hiccup.
[Android Software/Hacking General [Developers Only]] cwc3:
I will test that later (Monday most likely).
[Android Software/Hacking General [Developers Only]] iXNyNe:
Wouldn't this be beneficial to maybe optimize SQL in this way while other init is going on?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
OOoohhhh.. nice idea man

can do zipalign too and slow nothing down... that's pretty spiffy :cool:

Glad I thought of it LOL

I'd just call my Detailing/vaccum script from 99SuperCharger near the bottom like so:

sh /data/Detailing.sh &
[Android Software/Hacking General [Developers Only]] pikachu01:
Let us know the results :)

Yeah, however, it'll still be limited by I/O bottleneck though. Zipalign and sqlite_optimize both heavily utilize the I/O hence there could be maybe 10-15% increase in performance (at the expense of slower UI by that percentage if and when the Android OS boots).
[Android Software/Hacking General [Developers Only]] zeppelinrox:
yeah the vacuum would be a little too much overkill on boot.

zipalign wouldnt be too bad after the first time since an app will be zipaligned only once
[Android Software/Hacking General [Developers Only]] iXNyNe:
well as it stands you already recommend in the OP that zipalign CAN be added to init.d without major slowdowns, so i think the -c idea would just speed up the boot time and not affect performance much

as for optimizing sql i think that should be left up to the user

but here's my recommendation for all of this to make it super simple for users

keep the scripts in /system/etc/bolt_scripts/ (as they are) maybe put them in a subfolder just to separate them, and then make some scripts like this;

S##init_zipalign

calls the actual zipalign script but uses -c

and S##init_sqloptimize

calls the actual sqlite optimize script but uses -c

then suggest users copy those respective files to their init.d folder to run at boot so that if a user has a slower device they dont have to load them (or just load zipalign, however they want to do it) and if they have a faster device they can choose to see if the effects of the potentially laggy first few moments of home screen action are worth the benefit for them individually

only reason i recommend the separate scripts is because i dont know how to launch a script with -c from inside the script itself

anyway that's my 2c
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. Probably a good idea for zipalign.

Good idea :)

Thanks! I'll implement this (and the automount in the next version) :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

I can confirm the newer Scriptmanager works fine, although it did take a while to open the first time. I figure that's a dalvik cache issue. I also downloaded and flashed the LMK 50 version replacing the LMK 60, and the difference is like night and day so far. Will report back more tomorrow.

EDIT: I know you said to not use LMK with ICS, but I did this yesterday before your post. So far the 50 value is working fine.