yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] spambayes:
Looking at your screencap, go to each one of the listed directories in your path and check which one contains Busybox. If you have multiple copies of Busybox, delete all but one. Then just copy your PATH into the Override PATH setting in Script Manager. In your case, it should be

/data/local/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

Hope it works.
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope. It would take more than a script to handle this. Tasker seems to be able to do it.

Did you install the screenstate_scaling addon and/or the 3G addon? Did you read the big red bold letters on the first post?

Are you using CM7/MIUI? Did you read the big red bold letters on the first post?

The last one isn't normal. You're not using i9000?
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope, just install it in recovery. Everything will run on its own (including the Script Manager scripts. Inspect them if you want in Script Manager, just to be sure).

Did you install the 3G addon and/or the screenstate_scaling addon? Did you read the big red bold letters in the first post?

Don't worry, let me know which sentence you're stuck with. I'll try to help clarify it as much as possible.

Yup, if everything fails, try a restore ;)

The main CWM should work. The addons might not work. The LMK will also work I think.

Try it out and let me know :)

Do a nandroid backup just in case.

The last one might be ignoreable if he's not using i9000.

Yeah, the $PATH command is weird. Can you do a custom $PATH and then only include the path shown?

See my sig (Android Optimization Tips) and CTRL-F for LMK.

The main CWM should work. The addons might not work. The LMK will also work I think.

Try it out and let me know :)

Do a nandroid backup just in case.
[Android Software/Hacking General [Developers Only]] spambayes:
Hmmm, didn't think of that. I assumed everyone is using a I9000 in this thread. :confused:
[Android Software/Hacking General [Developers Only]] albee320:
Thank you very much pikachu!

Would be great to have this info posted over in i997 forums :)
[Android Software/Hacking General [Developers Only]] geokilla:
Hey pika remember the back button problem I was experiencing? Well still here.... I've pretty much given up now. Might be a hardware issue after all....
[Android Software/Hacking General [Developers Only]] GoombaVinnie:
Ignore this
[Android Software/Hacking General [Developers Only]] spambayes:
Pika,

Something prompted me to do an idle check on the 3 *enable_touchscreen scripts today and I was surprised at the output. All three scripts (1,2 and stock) return similar output. Please advise.

Thanks.
[Android Software/Hacking General [Developers Only]] DaXmax:
The first zip works but flashing LMK stucks on boot anim...
[Android Software/Hacking General [Developers Only]] jeremy651:
so are you saying that screenstate on MIUI is a no go?
[Android Software/Hacking General [Developers Only]] eliteforce:
Pika plz add changelog of 2.1.4 to first page :cool:
[Android Software/Hacking General [Developers Only]] doc_2nas:
Thanks a lot Pika for your awesome work and also for your concern to your followers. You really are the man! :)
[Android Software/Hacking General [Developers Only]] senotrius:
sq lite..when I press run it shows an error message:database malformed or something like that

and I'm experiencing lags.using latest 2.1.4.sometimes even when more than 100mb free ram is present..using lmk 80.but even when free ram down to 50 mb I see no effect.something wrong with lmk I think.I use ttorrent/opera mini,poweramp together.sometimes the three together also.but even when two are running I experience lag.it starts with distortion in the music and soon everything lags.but then i check free ram-its 100..sometimes 120..the other situation is when have 50mb free ram left..I stop everything and the free ram increases and takes a while for the lag to go.should i use some other lmk.is lmk 80 not stable or something.I do not know.
[Android Software/Hacking General [Developers Only]] .:Crack:.:
Oh come on?!

Doesn't ANYBODY read the OP or even the message in the "***"?!
[Android Software/Hacking General [Developers Only]] spambayes:
This had been addressed within the last 30 posts and also in the original post by Pikachu as well as numerous times in this thread. It should take less than 10 mins of reading to find the answer.

Thanks.
[Android Software/Hacking General [Developers Only]] rschenck:
That is normal...it says so right in the script.
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope, some came from Infuse, Captivate and even Galaxy Note. Hence I need to be sure :/

Yeah, posting it in a few minutes ;)

Hmm, yeah, best is to flash back to stock and try to repair the back button :/

It seems to be like this at my end too. ADB works without problems. Terminal emulator too works without problems. I'm going to put this down to Script Manager's iffyness. You'll have to replace files in the init.d and feel the touchscreen smoothness at every reboot (or use ADB/Terminal Emulator).

Ok. Good to know. I'll include this on the front page :) Thanks!

Yes, Captain Obvious II.

Yeah, will do that in a while.

The error is known. It's in the front page's as well as printed when you run the script. Put some more effort in reading please?

About the lags, I'm not experiencing it. Try using other LMK settings? Before that, try reading the first page 10 more times and then reinstall from scratch. I'm not too confident on how well you're following the installation instructions :)
[Android Software/Hacking General [Developers Only]] pikachu01:
News:

Updated main ThunderBolt! CWM to v2.1.5 by adding N7000 remounts. Also v2.1.4 integrates a part of MintBolt! tweaks (noauto_da_alloc and build.prop tweaks). Another attempt to fix sqlite_optimize by using busybox find. If that fails, it means your busybox isn't symlinked correctly.

Changelog:

12/3/2011 (2.1.5)

- Added N7000 remounts.

12/2/2011 (2.1.4)

- Integrated some MintBolt! tweaks, notably the noda_auto_alloc and build.prop. The build.prop shouldn't change anything much but the noda_auto_alloc should make I/O transaction a little faster at the expense of corruption risk, which is small by the way.

- Fixed the sqlite_optimize by using busybox find instead. If you can't do busybox find, it means your busybox symlinks are broken. Contact your kernel/ROM developer for a fix.
[Android Software/Hacking General [Developers Only]] melvinaury:
Pika the date should be 12 (December).

One question I change from Apex 10.1 to Illuminance 3.0.1. What filed can I install.
[Android Software/Hacking General [Developers Only]] pikachu01:
Should have no difference when changing ROMs. Do what you did in the previous ROM :)

And the date is following the US format.
[Android Software/Hacking General [Developers Only]] kevin2516:
11/3 and 11/2 (your previous post), time warp backwards :p
[Android Software/Hacking General [Developers Only]] martinomac:
I too am having trouble with sqlite_optimize using Semaphore 1.9.1.

I do have busybox installed, I'm just not sure if the PATH is correct or if the entire PATH needs to be copy/pasted into Override PATH setting:

Should I paste this code?

/data/local/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin

# $PATH
/data/local/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin: not found
# busybox
BusyBox v1.16.2androidminimal (2010-03-28 22:34:51 EDT) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.

Currently defined functions:
[, [[, ash, awk, basename, bbconfig, bunzip2,
bzcat, bzip2, cal, cat, catv, chgrp, chmod, chown,
chroot, cksum, clear, cmp, cp, cpio, cut, date, dc,
dd, depmod, devmem, df, diff, dirname, dmesg,
dos2unix, du, echo, egrep, env, expr, false, fdisk,
fgrep, find, fold, free, freeramdisk, fuser,
getopt, grep, gunzip, gzip, head, hexdump, id,
insmod, install, kill, killall, killall5, length,
less, ln, losetup, ls, lsmod, lspci, lsusb, lzop,
lzopcat, md5sum, mkdir, mke2fs, mkfifo, mkfs.ext2,
mknod, mkswap, mktemp, modprobe, more, mount,
mountpoint, mv, nice, nohup, od, patch, pgrep,
pidof, pkill, printenv, printf, ps, pwd, rdev,
readlink, realpath, renice, reset, rm, rmdir,
rmmod, run-parts, sed, seq, setsid, sh, sha1sum,
sha256sum, sha512sum, sleep, sort, split, stat,
strings, stty, swapoff, swapon, sync, sysctl, tac,
tail, tar, tee, test, time, top, touch, tr, true,
tty, tune2fs, umount, uname, uniq, unix2dos,
unlzop, unzip, uptime, usleep, uudecode, uuencode,
watch, wc, which, whoami, xargs, yes, zcat

#
[Android Software/Hacking General [Developers Only]] pikachu01:
Oh, just realized that :P

Fixed the changelog
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, you would need to manually define those path in the path overrides.
[Android Software/Hacking General [Developers Only]] BoOsT:
Lmao! Good Job Pika. I have been testing a new ROM, and without your tweaks it wouldn't be the same. Improved battery, Buttery smooth with extreme responsiveness. Loving the 80-LMK...
[Android Software/Hacking General [Developers Only]] pikachu01:
Use the Others version instead. :)
[Android Software/Hacking General [Developers Only]] martinomac:
Great, on Semaphore using:

/data/local/bin:/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:

optimized and defragged successfully, thanks!
[Android Software/Hacking General [Developers Only]] SGS_elko:
Pika Thank you very mutch, you are the man. I tested the 3G tweak since 4 days and I must say 3G response is really improved compared to the stock. I compared my phone witha Iphone 4, hehe and its really faster overall. I'm so happy with my phone now :D

Simplicity + TB = unbeatable hehehe
[Android Software/Hacking General [Developers Only]] danieldmm:
Can you post a screenshot? I get the normal Errors. See screenshot.

Cheers

Escrito pelo meu querido S using tapatalk...
[Android Software/Hacking General [Developers Only]] AceofSpades90:
Hey pikachu, i noticed something, that i think i should share here..

yesterday, i flashed 2.1.4 and let my phone sit for 6 hours or so and then it randomly shut down on me and won't open... i had to pull out battery and then put it back in. then last night i thought it was because of charging so i let my phone on charging and woke up with the same random shut down and needed to pull out battery and put it back in... i turn it on and after 10mins, the phone shut down back again like it did the last time. i thought to put the phone AS IS on the charger and noticed no activity.. so i pulled the battery out then in to see the battery screen pop up.

I never had this problem with 2.1.3(not sure if its related) and im not gonna lie, i face this random shutdown once a week rarely but never this often as i already got 3 shut downs in less then 12hrs! :/

It could be something else..
[Android Software/Hacking General [Developers Only]] Perka:
How can I check if the apks gets zipaligned?

EDIT: Here :) http://android-developers.blogspot.com/2009/09/zipalign-easy-optimization.html
[Android Software/Hacking General [Developers Only]] pikachu01:
Those errors are normal :)

It's almost always a kernel problem (Semaphore 1.9.0?) or an app problem. My XDA app does that way back then. Try uninstalling some apps and see if the problem still occurs?

There's a file called /data/zipalign.log.

Check there and you'll see that apps are zipaligned :)
[Android Software/Hacking General [Developers Only]] MAQ7:
Hi Pika,

I want just to confirm,

I have this:

AWAKE_GOVERNER="ondemand"

SLEEP_GOVERNER="conservative"

Do I need to add S10enable_gov_conservative to init.d manually or not?

btw, the CPU got stock with 100 freq and I had to change the max freq manually to 1000 with SetCPU. That happend one time only while S10enable_gov_conservative was in init.d and then I removed it.

-----------------------

JVT + Semaphore 1.9.0 + TB 2.1.4
[Android Software/Hacking General [Developers Only]] pikachu01:
You'll need the Semaphore app to enable the conservative governor. After that, just use the configuration above. Fyi, ondemand with sleep detection is better than the configuration above.
[Android Software/Hacking General [Developers Only]] MAQ7:
I got the first point.

Do you mean that keeping the SLEEP_GOVERNOR with the default value --> ondemand is better than the settings I was trying to do?

Thanks
[Android Software/Hacking General [Developers Only]] saszseb:
pika,

I'd like to install Thunderbolt and LMK on pawitp's ICS, but there isn't /etc/init.d folder. Should I create it?

Thanks.
[Android Software/Hacking General [Developers Only]] droidgt:
Hi Pika,

Thanks for the amazing work.

Can I use TB with CF-Root kernel? I see chainfire has mentioned about the init.d script support in his kernel.
[Android Software/Hacking General [Developers Only]] Perka:
Theres no log in my phone :( Used Sdmaid to search the phone.
[Android Software/Hacking General [Developers Only]] bethedealer:
I am not able to run this step after flashing all the zips.

Open up Script Manager and launch /sdcard/bolt_scripts/remount[device] ...

I can't find the bolt_scripts folder. I used terminal to search and did not find it. Where should it be located?

Sorry for my ignorance if this has been mentioned as I did not go through all two hundred pages. Many thanks.
[Android Software/Hacking General [Developers Only]] extralife:
did you read post #1?

"

Instructions

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

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)"
[Android Software/Hacking General [Developers Only]] bethedealer:
I assume that instruction is just for flashing and I did that and flashed all zips without problem. I just can't locate the scripts.
[Android Software/Hacking General [Developers Only]] xenon_bn:
Me neither. JVA + semaphore 1.9.1 with superuser, phone rooted and converted to ext4. from cwm i've mounted /data /system and flashed ThunderBolt-CWM 80MB LMK Others addon v1.0.3.zip. Everything went smooth but when i'm back i just cannot locate folder bolt_scripts in sdcard. Some ideas?

LE: problem solved!
[Android Software/Hacking General [Developers Only]] pikachu01:
Yeap, it's already in the first post :)

Yes, create it then flash :) The LMK settings are known to hang at boot, though I'm not sure if a newer version solved it already.

Yes.

Can you use File Expert/ Root Explorer and check for the file. If ThunderBolt! is installed correctly, the zipalign.log will be there. Probably it's called Zipalign.log instead.

Did you mount /sdcard before installing?

How did you solve the problem?
[Android Software/Hacking General [Developers Only]] xenon_bn:
I didn't flash ThunderBolt-CWM v2.1.5.zip in first place, i just flashed ThunderBolt-CWM 80MB LMK Others addon v1.0.3.zip. After flashing both, bolt_scripts folder was there. My eyes killed me :rolleyes:
[Android Software/Hacking General [Developers Only]] Perka:
Bolt scripts are there, but no zipalign.log :-(

So I guess it doesent install ok.

Im on TeamHacksung ICS port. Sgs
[Android Software/Hacking General [Developers Only]] pikachu01:
Is there a zipalign.db instead?

In /data.
[Android Software/Hacking General [Developers Only]] Perka:
No, the only files in my phone with zipalign is zipalign binary and zipalign script.
[Android Software/Hacking General [Developers Only]] lippol94:
Hey pikachu :)

I have a little question.

I really like CFS settings of 1.9.4 in sdcard but i think it's a little bit strong as I got some FCs during the day.

So what's the file with a CFS configuration a bit lower than 1.9.4?

Thank you so much :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Is the script having a rwx-rwx-rwx permission?
[Android Software/Hacking General [Developers Only]] Perka:
Yes. 10 chars
[Android Software/Hacking General [Developers Only]] bethedealer:
My device is N7000 I better post question there. Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try running the darky_zipalign script in Script Manager as root. What's the output?

Which question? I've already answered it in the N7000 thread :)
[Android Software/Hacking General [Developers Only]] saszseb:
Ok. I created the init.d folder then installed TB_v2.1.5 and LMK_50MB.

Pls. check it, whether it works.

Thanks.
[Android Software/Hacking General [Developers Only]] pikachu01:
The LMK seems to be applied correctly, but the VM settings are not :/

Not sure why this is the case. Need to actually install ICS to test this. However, it'll be quite a while till I jump on the ICS bandwagon. I would like to have a usable phone at the end of the day :/
[Android Software/Hacking General [Developers Only]] saszseb:
Thanks. What to do now? Apply the restore zip?
[Android Software/Hacking General [Developers Only]] flolep:
Hey pika.

Can you explain technically why you decided to set vm heapsize to 32mb? What is the benefit to having this parameter less than the original one?

Because I thought that if it was bigger, heavy app could run better... And I read that it should be bigger only if there is enough free memory...

So I assume that you put this parameter lower to have more free memory...

But I saw that with semaphore last version and your 60 lmk addon, I always have enough free memory to run things smooth (around 70 / 80 mb all the time) and I assume that it's even better with bigmem version... (the same amount of free memory all the time but more multitasking...)

So my question is why not increasing this value for these specific versions to increase the performance? (and maybe decrease a bit more battery but it's worth it, no?)

I understand that there should be some good limit between run better because of more vm memory and run smoother because of more free memory but I want to have your explanation, technical thoughts on this and to know what is the problem in lowering or highering too much this value and why you put it at 32mb...

Thanks in advance.

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] saszseb:
Both versions have good battery life.
[Android Software/Hacking General [Developers Only]] pikachu01:
You could do that, or you could troubleshoot why the VMs are not being set :P

Beginning 2.3.5, the VM heapsize was changed from 32MB to 64MB (I think, I forgot if it was 48MB or 32MB originally). The heapsize is not the total memory used, but the largest amount of data an app can use. Even having a heapsize of 16MB is good enough for most if not all apps. 32MB is kind of the middle ground. 48MB should be the maximum you should use as 64MB is ridiculously high.

Yeah, usable also means I have my 3G video calling and my apps work fine :)
[Android Software/Hacking General [Developers Only]] flolep:
Ok. Thanks for your answer and what are the bad consequences for having it too low or too high?
[Android Software/Hacking General [Developers Only]] pikachu01:
If you set it too low, applications will need to garbage collect at a much more frequent rate. In some instances, apps can crash. Set it too large, then any app can hog 64MB of RAM and less multitasking occurs.
[Android Software/Hacking General [Developers Only]] dearblues:
pika, if im going to install new rom. do i need to undo the script before flashing?
[Android Software/Hacking General [Developers Only]] pikachu01:
No, just install the new ROM and install ThunderBolt! again.
[Android Software/Hacking General [Developers Only]] rschenck:
Just a general comment...but hats off to Piku. He is providing peerless support in multiple Thunderbolt threads, answering all questions patiently no matter how throughly he covered the topic in the op or how many times that specific question has been asked already.

We are not worthy. Great support, piku.
[Android Software/Hacking General [Developers Only]] Prasad:
Umm.... Could this be used with the ICS ROMs? Specifically teamhacksung's ROM?
[Android Software/Hacking General [Developers Only]] Bejda:
Another musical instrument make his arrival in the never ending melody...

It seems yeah,it's about creating before an init.d folder in /system/etc and knomn tested should be main thunderbolts+ lmk but Vm settings doesn't seems to apply.

That is if i remember well but let's check a few pages back (at least one) for real informations.:)
[Android Software/Hacking General [Developers Only]] pikachu01:
Thank you for the kind comment :)

I believe I have a commitment towards the users who are using ThunderBolt!, hence why I offer support to them to my best effort (nevermind ThunderBolt! is free of charge).

Yes. Nandroid backup before proceeding. There is an issue that some settings can't take effect as Bejda explained.

Yup, that's correct :)
[Android Software/Hacking General [Developers Only]] saszseb:
Have you read the post #2482? (1 page before).

---------- Post added at 08:08 AM ---------- Previous post was at 08:06 AM ----------

Only partially as you wrote me some posts before.

LMK works but Thunderbolt_2.1.5 doesn't.
[Android Software/Hacking General [Developers Only]] pikachu01:
It might not be the entire 2.1.5. I can see the VM settings not taking effect.

If you can "cat" every value that was set on the system_tweak, I can probably change them to be compatible with ICS.

For starters, the path might've changed in ICS. In that case, I would need to use sysctl to set the values as opposed to using echo.
[Android Software/Hacking General [Developers Only]] flolep:
Ok. Thanks again pika.

So I think 48mb could be a good value for the versions I talked earlier in my big post...

For example, at 32mb, I have an app I use every day, SwiftKey (the best android keyboard for me) that is using 30mb of ram (and believe me or not but it's worth it...).

So I can't imagine how much memory are taking power ram hungry games like wind-up knights, roboto, cordy or even the angry birds games...

I think they will have more room to prove they can be smoother with some more ram in the vm...

Just FYI, I already tested what I am saying here... And I think I am right... Just test it pika...

Maybe another addon for :

- people who have already enough multitasking

- or people with lmk 60 addon who don't need too much multitasking like me (I don't care having too much multi tasking, just two applications together and smoothness all the time is ok for me)

- or bigmem versions

Thanks for your hard work again pika...

Take care.

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] pikachu01:
The amount of VM heap size is not equivalent to the amount of RAM used. Heap memory is a dynamically allocated storage space that is specially for apps to use. What this means is, any generated usercode/data (as opposed to static data) from the app while it is running is stored in heap. And this is only the Dalvik based usercode/data (when the app is running on Dalvik).
[Android Software/Hacking General [Developers Only]] saszseb:
In which cases should be used "remount CM7/MIUI" instead of "remount i9000"?

What will happen if I choose remountCM7/MIUI?
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm not sure of the mount options in ICS. I would need to know what's the output of 'mount' to be sure in terminal emulator ;)
[Android Software/Hacking General [Developers Only]] saszseb:
Output of "mount".
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup, CM7/MIUI is the correct one :)
[Android Software/Hacking General [Developers Only]] saszseb:
What's your opinion?

Thanks.