yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
As mentioned, GPU control is only working for Siyah :)
[Android Software/Hacking General [Developers Only]] tuto3324:
after i tried these tweaks, i have been experiencing a lot of lag with my games :( i want to revert the tweaks.. in your original post you uploadded multiple restore packages.. the one called "CM7MIUI i9000 Restore CWM v1.0.3.zip" would work on the infuse? i'm using cm7
[Android Software/Hacking General [Developers Only]] Peaster111:
Pikachu01

Nice to see you on the SGSII forums. It's good to see trusted folks. Thanks for bringing this over.
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for your support :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Nope. Won't work on Infuse. Did you make a nandroid backup beforehand?

Can you provide these files (from the Infuse CM7 ROM):

/system/bin/app_process

/system/bin/system_server

/system/lib/libsqlite.so

/system/lib/libsqlite_jni.so

I'll make a restore pack for the Infuse.
[Android Software/Hacking General [Developers Only]] xsaintzx:
Hi pikachu, I'm using your script here first time for Galaxy I9003.

I'm running Cranium ROM 3 XXKPH, after I flash the main ThunderboltCWM 2.50.zip, the phone becomes laggy at scrolling and slow bootup. I don't know is it because of some scripts conflict as I ticked all the tweak in CFROOT Tweak except Zipalign at boot.

My init.d folder contains:

00tweaks

S70darky_zipalign

S78enable_touchscreen_1

S98bolt_siyah

S98CFS

S98system_tweak

I also run the sqlite_optimize script for once.
[Android Software/Hacking General [Developers Only]] tuto3324:
yes, i restored with the nandroid backup, but i was trying to avoid that haha i attached the files, thank you!
[Android Software/Hacking General [Developers Only]] pikachu01:
Actually, have you tried waiting a bit more to see whether the lag was caused by some scripts still running in the background after the Android OS boots?

I know that the first time around, zipalign script takes a bit longer to run (with so many apps being checked and zipaligned)
[Android Software/Hacking General [Developers Only]] pikachu01:
You shouldn't tweak any of them. All of them will conflict with ThunderBolt!'s settings.

Also, wait a while after boot as the zipalign script running for the first time takes more time than usual.
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Pikachu, here is a script from the CM9 discussion forum. Instructions were to place it in init.d and to run as root and boot. I did so, but script manager froze then fc'd. I worked however as emmc was mounted as external_sd. The results of this script is that you see both. Then I reflashed Thunderbolt! today I thought since it was in init.d I didn't need to run it in scriptmanager. I was wrong, it would not mount as external_sd. So I ran it with script manager again, this time it didn't freeze, but it reported as 'failed'. However, once again emmc is mounted as external_sd. Will you take a look at it? I had to rename it .txt for it to send.:)
[Android Software/Hacking General [Developers Only]] naturallyfrozen:
So, as of right now, no revert flash besides a nandroid backup?

From my phone, to whatever electronic device you're using.
[Android Software/Hacking General [Developers Only]] pikachu01:
Not sure about this. Not familiar with the EMMC mount actually. Maybe you can ask the dev? Script Manager FCing is probably not related to ThunderBolt!.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll release one soon, for i777 and Samsung Infuse. Please upload these files from a Samsung stock ROM for i777:

/system/bin/app_process

/system/bin/system_server

/system/lib/lisqlite.so

/system/lib/lisqlite_jni.so

I'll make a pack for it :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

I know that because I ran it before I reinstalled Thunderbolt! I was just curious as to why Scriptmanager would report it as 'failed' but it would be mounted correctly anyway. I'm not sure myself why external sd is mounted in ICS as emmc, but I believe it might be because the Galaxy Nexus has no external SD? Am I wrong? In any event, that is how it is mounted 'External Multi Media Card' seen in root as /emmc. The script mounts it simultaneously where we've always seen it, /sdcard/external_sd.:)
[Android Software/Hacking General [Developers Only]] Sardo Numspa:
just flashed this and will give it a go.

running ICScrewD with the latest siyah kernel.
[Android Software/Hacking General [Developers Only]] SkOrPn:
LOL, Raymond, as has been mentioned many many times in the past. External SD, is what SAMSUNG called it and how they mounted it on their ROM's. eMMC is how Google Android has always been since day 1. I have been using eMMC for an entire year now on my Vibrant because I only use Google code, CM7, CM9, GB, ICS, etc etc... This script does NOT mount it where we've always seen it, it mounts it back to where Samsung had stupidly put it.

sdcard/external_sd = Samsung

eMMC = Android

P.S. I think they should leave the External_SD seperate from the sdcard and rename the internal sdcard to eMMC, which is what it is. Here in the Android world everyone, Linux users, non-Linux users and manufacturers along with developers have done nothing but make this all way to confusing for the everyday Joe, who ultimately is the one who uses the devices. Sasmung tried to put the normal Linux naming scheme back to sdcard/external_sd, but since this device is not a normal desktop computer and was not designed for multiple sdcards, Google introduced eMMC which is actually incorrect for external memory. eMMC "officially" stands for "Embedded Multi Media Card", but many users here I have noticed call it "External Multi Media Card" for obvious reasons. I for one am sick and tired of not seeing a standard naming sceme for an external sd across the board. Since these devices actually use "Secure Digital" technology as the Internal memory it compounds the confusion even further. So, I agree with you, the Nexus device probably comes stock with an empty eMMC folder in root, but all google phones came that way, which is why eMMC is the stock Android way to call it. It was the manufacturers i.e Samsung, who tried to make sense of it and re-mount it back to the way Linux naturally mounts sdcards.

What Samsung needs to do, is get away from using sd for its storage and develop something specific for mobile devices "Internal Storage", Embedded SDCards only adds to the confusion... The Internal sdcard you are using is actually eMMC but not called that, and the add-on card MicroSD should be called External_SD by default on all 100% of Android phones period (or MicroSD lol). However, both should have their own mount point in root (they are separate physical mounts, no?), NOT within each other... Which is how its done by Android and CM and anyone else trying to stay close to pure Android.

I hope this makes sense as it is how I see things. I am not much of a Linux user as I have always been a Windows user, but over the years on occasion I do use Linux as well.
[Android Software/Hacking General [Developers Only]] Andrew149:
Running Super Smooth on wiui! love it very smooth my phone seems faster with this script than you!
[Android Software/Hacking General [Developers Only]] Sardo Numspa:
Is it a competition now? :D

Edit: just ran a quick antutu
[Android Software/Hacking General [Developers Only]] CyberpunkDad:
Can I ask what I am sure is a stupid question ... which of the remount scripts for 2.5.1 do I use for an ATT GS2 running MIUI?

I'm assuming I'd use the remountCM7MIUI-fullext4 file, I was just thrown for a loop because I didn't see an I-777 file.

Edit:

Disregard question, I improved my search-fu and found the answer. For those wondering:

1. Terminal

2. su

3. mount | grep yaffs

If output, use remountCM7MIUI-yaffs

4. mount | grep ext4

If output, use remountCM7MIUI-fullext4

For sheps 2.2.3 the answer is remountCM7MIUI-fullext4
[Android Software/Hacking General [Developers Only]] LiLChris06:
I have a similar question that was asked on i9100 thread.

Going to put this in a rom I am building which is XWLA4 based. :)
[Android Software/Hacking General [Developers Only]] Alucardis666:
Gonna flash this on SHO-Stock and see what happens. Thanks.
[Android Software/Hacking General [Developers Only]] CyberpunkDad:
Thank you pika!

It looks like the latest miui 2.2.3 no longer uses /datadata, I encountered a mount error that it didn't exist. I just commented out that line in the script.

Thanks again.
[Android Software/Hacking General [Developers Only]] supergaijin:
am I dping something wrong? I'm running jp_miui v8. I didn't flash the screen_scaling files, since I was told it would cause bootloop on miui. I also didn't flash that 3g script.

the scripts I flashed were:

80 MB LMK all others

bin files addon

graphics prop addon

libsqlite addon

and the main thunderbolt cwm 2.5.0

after flashing these, I wiped my caches and restarted my phone. I then tested, and on both quadrant and antutu, my phone had slowed down by half. this is not just looking at scores; I was observing the fps of each applicable test and anything that was around 30 fps was now 14-15 fps o.O

I will now be restoring the previous state and testing one at a time to see which one it is, if it is only one that's affecting it...
[Android Software/Hacking General [Developers Only]] pikachu01:
Try not using the bin files as well as the graphics addon. See if it works well for you :)
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

Ahhh, thanks for the education. I can't help but laugh at what I thought was knowledge. Problem is even though that script works, it seems to break scriptmanager. That's a problem. I can't run sqlite optimize because now it won't really open. Plus, now I have a lot of lingering lag for several minutes after a reboot. I figure scriptmanager is trying to run the reboot script and getting hung up. When I stop being lazy I'll check to see if my values are even correct.

That is exactly what they did in ICS. There is some strange stuff now in external_sd. Problem is this ROM I'm running has introduced a little Samsung into it and some say a lot of apps, especially Samsung ones, will look to /sdcard/external_sd for media. I think that is why I could successfully set contact pics again using the Samsung Gallery after I used that script. Before that It would fc as soon as I tried to set a chosen picture as a contact. Now, it works just fine.
[Android Software/Hacking General [Developers Only]] Mostdef:
Can I use this Script on CM7 build 230 and Glitchy v13 ?
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Thunderbolt!

If you are referring to Thunderbolt, you can if CM7 has init.d support. The other thing to look out for is that Glitch kernel has the didle patch, so you can't use screenstate scaling (I'm assuming this CM7 is ICS, if it isn't, wait for Pikachu to respond as what I am saying may not apply as I am not the expert.). All you can use provided you have init.d would be the main CWM and the LMK of your choice. Once installed find out if your filesystem is ext or yaffs, following the instructions Pika gave to me not too many posts back. Chose the remount script for whatever one you have then set the remount script to run as 'root' and 'at boot' with Scriptmanager.

If you are referring to the script to mount emmc ans external_sd, you can try it, again, as long as you have init.d. Just make sure you make a backup in case anything goes wrong for either process.:)
[Android Software/Hacking General [Developers Only]] vishal24387:
I flashed ur file. I really don't know what differences I have observed but one thing is for sure 40 mb LMK definitely works :) Now I can do a superb heavy multitasking. Than a lot for such a good script.
[Android Software/Hacking General [Developers Only]] luiseteyo:
Hey there, great job! What would you advice me to flash if I want a better battery life? Thanks!!

EDIT: I mounted /sdcard from recovery and then flashed ThunderBolt-CWM_v2.5.1.zip and ThunderBolt-CWM_screenstate_scaling_addon_v1.5.2.zip and didn't boot. I restored backup. How should I do it?
[Android Software/Hacking General [Developers Only]] supergaijin:
wow, all my writing disappeared then the "token" expired...:rolleyes:

so, to put this simply, nothing worked well, regardless of the combinations I tried (all possible combinations) of 2.5.1, sqlite, and LMK. different things only slowed down the phone less or more. I have a suspicion that the kernel I'm using isn't properly supporting init.d, so I will confirm that before I do more testing...
[Android Software/Hacking General [Developers Only]] xXCorleoneXx:
Nice.

Works verry good.

+Multitasking

Verry fast

Thanks
[Android Software/Hacking General [Developers Only]] alexis!:
@pika how can i test if i did right the cputune file configuration?

how i must open it with? like screenstate_scaling with VIM Editor, is there any app for editting cputune file?

Or just copy file at system/etc/init.d and run with Script Manager as Boot and as Root?

Thanks mate.
[Android Software/Hacking General [Developers Only]] mikempower:
if i install this script on Kernel CF, how can i return on the original configuration if i'm not satisfied?
[Android Software/Hacking General [Developers Only]] Nar4:
may I ?

Thanx for You hard work dude!

I'm gonna use You scripts in the ROM I 'm cooking at the moment on my private country kitchen ;-) May I?

The warm dish will be presented a t The 4PDA.ru

=

First I tryed placing Your script all together (except those on sdcard) to device I noticed a pretty high back side warming and the battery started to "melt down" (about 5-6% drain in a half an hour).

I left phone for few hours for rest and found it switched off after it!!! So it arbitrarily did it! I turn it on about an hour ago and... It's fine! No heat but still batt.drain!

Keep on testing
[Android Software/Hacking General [Developers Only]] kubson1999:
What to do with cpugputune?

Thanks for a reply

Wysłane z mojego GT-I9001
[Android Software/Hacking General [Developers Only]] Nar4:
is everythin fine?

Hi pikachu01 !

Here is what I'v got:

sh-3.2# sysctl -a | grep vm
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 65
vm.dirty_background_bytes = 0
vm.dirty_ratio = 80
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 3000
vm.nr_pdflush_threads = 0
vm.swappiness = 0
vm.lowmem_reserve_ratio = 32
vm.drop_caches = 0
vm.min_free_kbytes = 4096
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65530
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 1
vm.mmap_min_addr = 4096
vm.scan_unevictable_pages = 0
debug.gDvm_addr = 0
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
sh-3.2#

And also:

sh-3.2# getprop | grep ADJ
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.PERCEPTIBLE_APP_ADJ]: [1]
[ro.HEAVY_WEIGHT_APP_ADJ]: [2]
[ro.SECONDARY_SERVER_ADJ]: [2]
[ro.BACKUP_APP_ADJ]: [2]
[ro.HOME_APP_ADJ]: [4]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.EMPTY_APP_ADJ]: [15]

Is everythin ok with my device? Or should some shift be done?

(I'm not keen in scripting :rolleyes:)

ThanxAlot
[Android Software/Hacking General [Developers Only]] chasemyass:
Gpu tune doesn't work on sgs+ sadly
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. The fullext4 should work fine :)

You can put the bolt_scripts (not all of them mind you, just the ones you want) in init.d. However, remount has a chance to get overridden at Android OS boot. Also, sqlite_optimize runs very long causing your boot time to be slowed down by 30s to 2minutes.

Ahh, ok. There are still some devices that use /datadata. If your mounts don't have /datadata, it'll just be skipped without issues :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yup. What Raymond said :)

Glitch doesn't have the didle patch from what I remember, hence screenstate_scaling should work (not sure if its changed).
[Android Software/Hacking General [Developers Only]] pikachu01:
There's a Galaxy Note restore pack. :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)

Does your kernel have the latest didle patch? If so, you can't use the screenstate_scaling. It'll hang at boot.

Let me know :)

Interested to make it make ThunderBolt! work for you.

Good to know :)

Can you flash only the main CWM, LMK and screenstate_scaling (those 3 are the ones that gives the most stable build with performance and battery life goodness).

You didn't use the LMK addon right? Then it looks ok to me :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, VIM editor works fine.

Then in bolt_scripts itself, you can run as root and boot.

You can test by checking the file itself that is "echoed". If it sticks, opening that file itself will show the values you echoed.

Edit it and test the values until you get a stable one. Check a few posts back for instructions.

The CPU tune works. The GPU tune only works for Siyah kernel.
[Android Software/Hacking General [Developers Only]] pikachu01:
I just compared the MD5 for Infuse4G CM7 files with CM7MIUI i9000 restore files. They are the same. You can use the same files :)
[Android Software/Hacking General [Developers Only]] Nar4:
tnx for reply

Shure can!

Right!

Thank You a lot! Really helpfull.

SeeUsoon
[Android Software/Hacking General [Developers Only]] RaymondPJR:
Finally got around to checking my values and they are all correct!:D I pm'd the guy who made that script and hopefully he will respond. It works fine, but I'd really like to be able to run drop caches and sqlite optimize without having Scriptmanage crash.
[Android Software/Hacking General [Developers Only]] pikachu01:
Good to know :)

Also consider sending the crash log to Script Manager's author. He might be able to find out what's going on.
[Android Software/Hacking General [Developers Only]] alexis!:
Thanks @pika!

But when i try to edit the file, i open it and i see this :

In the instructions you say that i have to put this two lines:

echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;

To limit clock freq at 200Mhz, but i have to write them where? And it always stay clocked at 200Mhz? Sorry i dont understand it...

Thanks!

PD: When i try to open with Script Manager i get an error like " /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table : Directory nonexists"
[Android Software/Hacking General [Developers Only]] pikachu01:
Put them below the script and run it :)

It always stay clocked to 200MHz until you change it (then run again) or reboot.

If the directory doesn't exist, your kernel doesn't support undervolting.
[Android Software/Hacking General [Developers Only]] :
hey pika after flashing thunderbolt i have plenty of files in blot_scripts such as CFS touchscreen, etc.. since ur instruction only said to remount i9001 and sqlite_optimize, can i delete the rest?

and can u teach a more simple way to test cpugputune? its so complecated :(
[Android Software/Hacking General [Developers Only]] alexis!:
If i change the echo´s values of min_freq and max_freq i can set the phone working around 100Mhz and 10000Mhz? Like this?:

#!/system/bin/sh
if [ -e /sys/class/misc/gpu_clock_control/gpu_control ]; then
echo "100 200 267" > /sys/class/misc/gpu_clock_control/gpu_control;
echo "85% 45% 85% 70%" > /sys/class/misc/gpu_clock_control/gpu_control;
#echo "800000 850000 950000" > /sys/devices/virtual/misc/gpu_voltage_control/gpu_control;
fi;
#if [ -e /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table ]; then
#echo "1400 1300 1175 1075 975 850 825 825 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table;
echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq;
#fi;

I have to put/remove any "#" ?

I have got 1.4 FeaMod OC, i dunno if its Uv too.

Thanks in advance.
[Android Software/Hacking General [Developers Only]] wietwiet:
Every line with gpu, gpu clock, etc. Can be deleted since the sgs+'s adreno 205 gpu clockspeeds are impossible to control.

echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;

echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/

scaling min freq

Those should be good to control the cpu clock with, but why dont you use a cpu clockspeed app?

Btw, all feacore/mod and cranium kernels are undervolted, but except for a couple of cranium kernels the voltage cant be altered manually. Look into the cranium (kernel) threads for more info about this.
[Android Software/Hacking General [Developers Only]] alexis!:
Thanks mate!

Then i had an sintax error while editting the file, i will try to rewrite and run in Script Manager again.

I had and error before, so thats why i asked if FeaMod was UV, now i know that`s not a kernel issue.
[Android Software/Hacking General [Developers Only]] chasemyass:
Feacore Phoenix 1.4 doesn't support UV...
[Android Software/Hacking General [Developers Only]] alexis!:
:S is UV or not UV?
[Android Software/Hacking General [Developers Only]] chasemyass:
Check the feacore thread mate...but I know for sure when I used it I couldn't UV it with IncredyControl...
[Android Software/Hacking General [Developers Only]] Nar4:
Well... Some more testing done.

Following Your advice I have main CWM, LMK and screenstate_scaling scripts installed.

View attachment 903179View attachment 903180View attachment 903181View attachment 903182

And here go screenshots from terminal window

View attachment 903169View attachment 903170

The LMK addon works as it should to as I suppose.

What about the rest? What does that 'net.ipv4... 'net.ipv6... errors mean? Should they be corrected?

And also: what about s78enable_touchscreen script? Which version better? The default one from main CWM zip or s78enable_touchscreen_2 from /bolt_scripts folder? Or may be it's possible to use them all? If not them what the difference I might notice swapping them over?

Thanx for Your guide :)

P.S. I've edited the post removing CWM update file! Now You can find it HERE along with another one!!
[Android Software/Hacking General [Developers Only]] supergaijin:
ok, my update comes from the developer of miui, gm007. apparently, the kernel that's been modified for miui is overwriting or ignoring settings provided by the scripts, which is why they're not having the intended effects. I'll be testing later when I go back to a closer-to-stock rom some other time. thanks again :D
[Android Software/Hacking General [Developers Only]] pikachu01:
You can delete it if you are not using it.

If you don't know how to use it, don't use it, or let me know which line you're stuck with :)

Yup. Just like that. I'm not sure if FeaMod OC has the ability to UV or not. You should ask the kernel dev.
[Android Software/Hacking General [Developers Only]] pikachu01:
The error is ok. It's a kernel issue that it can't read the sysfs using sysctl (though its not gamebreaking as that particular sysfs isn't that important).

Touchscreen 2 > Touchscreen 1 > Default touchscreen script

in terms of sensitivity. Use either of those. It depends on the individual person on which to choose :)

Good work on the auto-mounting CWM zip. However, I can only leave it in your post as I would have to update it every time I update a new version, while supporting 11 other devices (which have different mounts). Perhaps, if you want, you can maintain the version in your post? :)

Take note that there are a number of scripts in your folder that can affect ThunderBolt! They might interfere with ThunderBolt! clash with it. Hence, it's better if you remove them if you know that it will clash with ThunderBolt!.

Ahh. That explains it. Perhaps you can try again when you switch kernels/ROMs :)