yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
zipalign is not built as part of Kit Kat anymore. It's only compatible with ROMs that are JB or lesser (I think, or was it 4.2).
[Android Software/Hacking General [Developers Only]] a-id:
So where can we find zipalign binary which is compatible with Kit Kat? Maybe someone can compile it?
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll try to see if I can compile it, but it's not a high priority matter. Nowadays, most apps are zipaligned by default with the release tools. All Play Store apps are zipaligned by default.
[Android Software/Hacking General [Developers Only]] JimJ2Mz:
Piiiiikaaaachuuuuuuuuu

OMG IT'S PIKACHU LEMME CATCH YOU

Okay anyway I am in a serious rush as I have work coming up and I don't have enough time to read the OP.

So just throw an answer at me, Pikachu (omg that name tho), will this script work for my Nook HD+ running official CM11?

Or will it somehow die? Because I tried CrossBreeder before and it murdered my tablet.

Anyways, thanks a bunch!
[Android Software/Hacking General [Developers Only]] pikachu01:
It should work. Take note that the CWM update_binary might need to be changed to accomodate to the CWM/TWRP version that you are using.
[Android Software/Hacking General [Developers Only]] GianniAraujo:
Sorry if this non related but is it okay to copy your XDA Thunderbolt tweaks signature?
[Android Software/Hacking General [Developers Only]] pikachu01:
The signature at the bottom of my posts? Sure why not? :o
[Android Software/Hacking General [Developers Only]] :
I ran your tweak on my note running CM11. What exactly does CFS scripts do :confused:

tried searching could not find anything solid. Which one you should I run according to you. There are so many.

I am on stock CM kernel and no other tweaks installed
[Android Software/Hacking General [Developers Only]] pikachu01:
It basically makes your CPU scheduler (Completely Fair Scheduler) behave more towards mobile usage. Desktop CFS values have lower granularity and higher latency.
[Android Software/Hacking General [Developers Only]] :
and this is basically different from the kernel schedulers. SIO,CFQ etc

I want a smoother UI , I should go for lower values right?

Which one is the most aggressive one ?
[Android Software/Hacking General [Developers Only]] pikachu01:
What you're referring to (SIO/CFQ) are I/O schedulers. They are a different kind of scheduler. There's only one scheduler used for CPU and that's CFS (well there were kernels that used BFS schedulers before, but CFS is what's being used most of the time at this point in time).

And yes, you should go for lower values (lower granularity).

You should try S98CFS first and see if your tasks are much more smoother, then move on to each of the others. S98CFS was tested to be the smoothest so far.
[Android Software/Hacking General [Developers Only]] pemell:
[MENTION=3599329]pikachu01[/MENTION] you know I love your script and I'm very thankful for all your work over the years.

I got a new device, xperia z ultra, and as usual I installed your script package. But it didn't work very well. My cpu use to go down to 300 in no time and stay there when not using the phone but with your script it wouldn't. It altered between 600-800 and refused to settle at 300.

Installation process: flash main package and screenstate_scaling. Set remount, cfs and tcp in SM as root and boot.

About device:

- Stock Sony rom 4.4.2

- DooMKernel v11

- governor: intelliactive scheduler: row

thanks

pemell
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you remove the scripts one by one and see which is the one that made it that way?

AFAIK, there're no scripts that are active all the time when your device is asleep/screen off.
[Android Software/Hacking General [Developers Only]] pemell:
Didn't have time to investigate it more, sorry about that. I will do it later. I confirmed it by rebooting twice with the script active, and the cpu wouldn't go lower then 600.

Uninstalled and on next reboot it was down to 300.

And this is with screen active (not screen off) but without touching anything and no sync or other app active.
[Android Software/Hacking General [Developers Only]] pikachu01:
Try not using screenstate_scaling. I'm leaning to your kernel having conflict with the screenstate_scaling script.
[Android Software/Hacking General [Developers Only]] pemell:
I'll try it right away and report back.

---------- Post added at 05:00 PM ---------- Previous post was at 04:52 PM ----------

Working fine without screenstate_scaling. Thanks

Wonder what's conflicting. The risk is others don't check this and they will have a disaster of a battery life.
[Android Software/Hacking General [Developers Only]] pikachu01:
Please give me the output:

ls -l /sys/devices/system/cpu/cpufreq/
cat /sys/devices/system/cpu/cpufreq/*/*

I think I know what the problem is.

Thanks!
[Android Software/Hacking General [Developers Only]] pemell:
With screenstate_scaling active or not?
[Android Software/Hacking General [Developers Only]] pikachu01:
With or without. Whichever is more convenient for you. It matters not :)
[Android Software/Hacking General [Developers Only]] pemell:
okay here they are:

root@C6833:/ # ls -l /sys/devices/system/cpu/cpufreq/

ls -l /sys/devices/system/cpu/cpufreq/
drwxrwxrwx root root 2014-04-06 20:18 intelliactive
drwxr-xr-x root root 2014-04-07 13:10 overall_stats

root@C6833:/ # cat /sys/devices/system/cpu/cpufreq/*/*

cat /sys/devices/system/cpu/cpufreq/*/*
20000
0
tmp-mksh: cat: /sys/devices/system/cpu/cpufreq/intelliactive/boostpulse: I/O err
or
80000
99
2150400
1
80000
0
729600
90
20000
80000
1728000,1728000,1728000,1728000960000
95
300000 2462564
422400 355301
652800 306519
729600 37393
883200 22013
960000 9033
1036800 7441
1190400 85411
1267200 6947
1497600 12291
1574400 3194
1728000 852948
1958400 44593
2150400 310188
300000 0
422400 0
652800 0
729600 0
883200 0
960000 47641
1036800 652
1190400 10822
1267200 1057
1497600 14743
1574400 564
1728000 1366
1958400 1251
2150400 31989
300000 0
422400 0
652800 0
729600 0
883200 0
960000 83342
1036800 1268
1190400 14192
1267200 1634
1497600 22433
1574400 939
1728000 1617
1958400 1729
2150400 50273
300000 1
422400 0
652800 0
729600 0
883200 0
960000 84032
1036800 1482
1190400 14446
1267200 1395
1497600 26382
1574400 940
1728000 2214
1958400 2178
2150400 108123
258937
11302
16099
16758
[Android Software/Hacking General [Developers Only]] pikachu01:
Still figuring out what's wrong with screenstate_scaling that prevents lower frequencies. It might have something to do with your kernel.
[Android Software/Hacking General [Developers Only]] pikachu01:
Your kernel might detect a script running in the background and won't go lower than it, even though the script by itself doesn't cause load. That could be the cause for this.
[Android Software/Hacking General [Developers Only]] pemell:
Ok thanks. Guess I'll have to live without the script :)

Again, thanks for digging in to it.
[Android Software/Hacking General [Developers Only]] pikachu01:
No prob.
[Android Software/Hacking General [Developers Only]] adame09:
Can I run both thunderbolt and screen scaling scripts on my nexus 5 now or do they still not work with the nexus 5?
[Android Software/Hacking General [Developers Only]] pikachu01:
The main CWM works with Nexus 5. The screenstate_scaling unfortunately does not. I have to find time to fix that, though can't help that the wait_for_fb_* interface was removed in Nexus 5.
[Android Software/Hacking General [Developers Only]] adame09:
What happens if I flash it nothing?
[Android Software/Hacking General [Developers Only]] pikachu01:
Absolutely nothing :)

The main CWM still works without issues, so flash that instead.
[Android Software/Hacking General [Developers Only]] adame09:
OK thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
No prob. Let me know if you're facing any issues :)
[Android Software/Hacking General [Developers Only]] ivcha90:
[MENTION=3599329]pikachu01[/MENTION] hey bro, i read your info posts, and i saw addon 80mb ALT, for 512mb and above, i saw that minfree are higher that 80mb addon, whats advantage of its and is it recomeneded (80 ALT) for multitasking, also if 80 isnt recomended, please recomend me other values for MTK 512mb device :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't really get what you're trying to say. Sorry. What device are you using and what OS?
[Android Software/Hacking General [Developers Only]] ivcha90:
I found addon 80 MB ALT (u wrote thats for 512mb device and above), and values are higher than 80 MB addon, so can u tell me what is best for multitasking, i have Alcatel Idol Mini 6012x, 4.2.2 android, 512mb ram, 1.3ghz processor and Mali 400MP gpu. Thanks :)
[Android Software/Hacking General [Developers Only]] ~DemonLord~:
Mod fails to install using CWM in recovery, using 4.3 jb , boeffla kernel and neat rom v7.5, is it incompatible due to scripts already applied in the rom or am i doing something wrong?
[Android Software/Hacking General [Developers Only]] FlemishDroid:
Which error? Error 7? Maybe update your recovery...Philz cwm is the best recovery for gt-i9300.

I need an invite for the OnePlus One...
[Android Software/Hacking General [Developers Only]] ~DemonLord~:
Usin latest twrp. No it just says failed to open zip.
[Android Software/Hacking General [Developers Only]] pikachu01:
Since ICS, you shouldn't use any LMK tweaks as the framework calculates it on the fly. If you use these LMK tweaks, it'll create a differentiation between Android LMK and Kernel LMK.

Is the zip file corrupted? Can you attach the /cache/recovery/* right after you've failed to install them?
[Android Software/Hacking General [Developers Only]] ~DemonLord~:
Uh im a bit of a noob when it comes to that stuff. I got a philz recovery log ( yeah its my third recovery already but had to flash as flashing twrp kinda soft bricked my phone :confused: )

Installing zip file 'Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip'

E:unknown volume for path [Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip]

-- Installing: Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip

Finding update package...

I:Update location: Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip

E:unknown volume for path [Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip]

E:Can't mount Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip

Installation aborted.

E:Error installing zip file 'Bluetooth/signed_ThunderBolt-CWM_v3.3.0.zip'

Done processing script file

I:setting up /data/media(/0) for /sdcard.

I:using /data/media/0 for /sdcard

Pretty much only says this.. If im off point could you guide me a bit :D
[Android Software/Hacking General [Developers Only]] pikachu01:
Did you try to flash anything else? Seems more like a recovery issue than an installation issue.

Can you move the file to /sdcard/tmp/* and then only flash it or something?
[Android Software/Hacking General [Developers Only]] ~DemonLord~:
Uh hehe it turns out there was something wrong with the file i downloaded( 3 times to be exact) all of them were essentially incomplete. So problem fixed xD Thanks for the help though :)
[Android Software/Hacking General [Developers Only]] pikachu01:
No problem. :)

Glad your problem got fixed in the end.
[Android Software/Hacking General [Developers Only]] pemell:
Hi [MENTION=3599329]pikachu01[/MENTION]

Does flashing the main package enable init.d? If so, how does it patch the kernel?

Thanks

pemell
[Android Software/Hacking General [Developers Only]] pikachu01:
It doesn't enable init.d :)

Hence why init.d is one of it's pre-requisites. I don't want to mess with that as different devices might have different implementations.
[Android Software/Hacking General [Developers Only]] Praeenkallaje:
It is working with galaxy core i8262 please.......?
[Android Software/Hacking General [Developers Only]] pikachu01:
If it's rooted and has init.d support, it should work :)
[Android Software/Hacking General [Developers Only]] ElmohandsX:
works great :) (y)

check the screen shot :D
[Android Software/Hacking General [Developers Only]] ElmohandsX:
works great
[Android Software/Hacking General [Developers Only]] Sharique244777:
hello sir

hey sir !!!

Harbir says to me that i should talk u !!

so bro can u help me

i m creating a gaming rom for a low ram device 512 mb ! with dual core proccesor

so bro can u help me which scripts are best for gaming and performance ??

help me sir/bro ?

and plz tell me other gaming tips !

thanks

currently i m using the swap scripts only ??

help mesir !

i used your thunderbolt script and its awsome but the prblm is that it gives balanced gaming and i want extreme so plz can u hlp me sir ?

thnx

will be happy if u will reply !
[Android Software/Hacking General [Developers Only]] pikachu01:
Your phone hung/restarted? That could explain it. Or your battery is having problems.

You can use the screenstate seeder. It's in my other thread :)
[Android Software/Hacking General [Developers Only]] prabu33:
Work for lg G2 stock KK or AOSP rom??
[Android Software/Hacking General [Developers Only]] pikachu01:
As long as it supports root and has init.d :)
[Android Software/Hacking General [Developers Only]] shiftyHungary:
Hi, I'd like to use ThunderBolt in the rom I'm making for LG L7 II, giving the proper credits of course. Do you have any advices/"tutorials" (as you might have been asked a few times :D) for implementing the scripts, or just copy them in place and I'm good to go?
[Android Software/Hacking General [Developers Only]] pikachu01:
It should just be copy and paste. The scripts in bolt_scripts that are needed are just the remount and CFS scripts. Let me know if you have any specific questions on what script does what.
[Android Software/Hacking General [Developers Only]] shiftyHungary:
Thanks for your reply, but unfortunately I'm stuck with the rom, and it's not because of the TB script...

Thought I'm working on it, I have no clue why it's not booting yet...
[Android Software/Hacking General [Developers Only]] pikachu01:
I can't help there. :(

Sorry about that.
[Android Software/Hacking General [Developers Only]] shiftyHungary:
It's just about time, I will succeed, not my first rom :D
[Android Software/Hacking General [Developers Only]] ottomanhero:
[MENTION=3599329]pikachu01[/MENTION]

I've tried every zipalign binary I found laying around, none work in kitkat.I need it badly for my sister's phone uses quite a lot of RAM and I suspect the system apps aren't zipaligned, or atleast multiple user apps.

Are you planning to somehow use a zipalign binary that would be supported by kitkat? Thanks in advance :)
[Android Software/Hacking General [Developers Only]] pikachu01:
I don't think that in this day and age apps aren't zipaligned yet. If you want, you can extract the APKs out and see if they are zipaligned using Windows applications.

RAM issues are usually due to apps running in the background. Install Greenify and see what apps linger in the background even when it's closed.
[Android Software/Hacking General [Developers Only]] ottomanhero:
I've actually turned services off for most apps, unneccessary ones.I suppose the problem is either with zipalign or dalvik vm settings.Thanks anyway
[Android Software/Hacking General [Developers Only]] hnizil:
Does it work with ART runtime ?
[Android Software/Hacking General [Developers Only]] a g bell:
Yep
[Android Software/Hacking General [Developers Only]] milojoseph:
Any update on final kit kat
[Android Software/Hacking General [Developers Only]] zatanika:
lenovo a536

will this work on lenovo a536

ver 4.4.2?
[Android Software/Hacking General [Developers Only]] pikachu01:
News

Fixed to be compatible with Android L and M.

Changelog:

5/15/2016 (3.4.0)

- Updated for Android 5/6. Removed a lot of junk code as they are not necessary to be tweaked in later Android versions (yes, Android finally coded them to be default values).
[Android Software/Hacking General [Developers Only]] pikachu01:
This might be the final version for Android L/M. Sorry for being a year late :)

It should work with any Android version from Gingerbread days till now.
[Android Software/Hacking General [Developers Only]] core7x:
thanks for the update
[Android Software/Hacking General [Developers Only]] a g bell:
Wow an update longtime no see??

Let see if l can remember how to install?
[Android Software/Hacking General [Developers Only]] milojoseph:
It has been a while lol
[Android Software/Hacking General [Developers Only]] pikachu01:
Glad to be of help :)

Yep. Been a while and things have changed drastically with /system preferably not be modified

Seeing a lot of familiar faces here. Glad to see you all again.
[Android Software/Hacking General [Developers Only]] AhZhi:
Can I use this script in cm13 x86 ？
[Android Software/Hacking General [Developers Only]] pikachu01:
Yes, it should be compatible. Let me know if you're getting any errors.
[Android Software/Hacking General [Developers Only]] hamzaeid:
nice work proo :o:good:
[Android Software/Hacking General [Developers Only]] pikachu01:
Thank you :) Let me know if you encounter any problems.
[Android Software/Hacking General [Developers Only]] -CALIBAN666-:
Wow,he lives,lol!
[Android Software/Hacking General [Developers Only]] AhZhi:
okay i will try
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
Can someone provide me with a link to flash it through TWRP that it runs itself? Cuz the link provided under the youtube link doesn't include all the mods I've seen in the youtube video. idk

EDIT: and there's no two files to run through SManager like in the video.
[Android Software/Hacking General [Developers Only]] pikachu01:
They've all been removed as they were redundant. With /system being unmodified, you should instead extract it all and use script manager to run those script on startup.
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
I need your help.
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
Any help? [MENTION=3599329]pikachu01[/MENTION]
[Android Software/Hacking General [Developers Only]] pikachu01:
Try using your Explorer to change the permission to 777.
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
Permission of what? Please guide me sorry for those idiotic questions..
[Android Software/Hacking General [Developers Only]] pikachu01:
Using Explorer:

https://play.google.com/store/apps/details?id=com.speedsoftware.explorer

Navigate to the extracted files, long press on the files then click Permissions. Make sure all the tick boxes are ticked for Owner, Group and Others.
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
It didn't work, now this happens to all of them:

[MENTION=3599329]pikachu01[/MENTION]
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you sure you're rooted?
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
Absolutely.
[Android Software/Hacking General [Developers Only]] pikachu01:
How about busybox? :)
[Android Software/Hacking General [Developers Only]] il3gal:
First time execute "su" command in terminal and after execute "sh ..."
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
Can you explain please?

---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------

I have BusyBox
[Android Software/Hacking General [Developers Only]] pikachu01:
You didn't give Script Manager root permissions and you didn't tick the Root icon when launching the scripts.
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
Haha yeah just opened supersu app and didn't find smanager well now this happens when I enter system/etc/scripts

Tried to change permissions but

How to give root to this app? There is no settings
[Android Software/Hacking General [Developers Only]] il3gal:
First time you need to give root acces on Terminal Emulator.

Open Terminal Emulator

(if you see character $, Terminal Emulator is executing commands without root)

Write: su

After that, grant root acces on pop-up window

(On Terminal Emulator is changed $ character to # . Now Terminal emulator is executing commands with root acces)

Now execute what command do you want..like: sh /system/etc/Scripts/S98a

Tell me if is work now.

edit: watch attach photo. on first line i dont have root acces..after executing "su" command, caracter $ transform to # :). Good luck
[Android Software/Hacking General [Developers Only]] ahmadaboshah5:
It worked, thank you!
[Android Software/Hacking General [Developers Only]] leather.face:
[MENTION=3599329]pikachu01[/MENTION] ... Hi, first I wanted to tell you that I appreciate your - Thunderbolt - tweaks & thanks for your last update. I modify only for the HTC One_M8 my GoldenDroid tweaks and I found in your S98system_tweak script also the tweaks for the CPU Governor ... Do I get your permissions to activate only the Governor tweaks in my GoldenDroid script? Sure, I would put you on my Credit list! Thanks for all pikachu01.

Regards

leather.face ...
[Android Software/Hacking General [Developers Only]] pikachu01:
Sure. Go ahead :)
[Android Software/Hacking General [Developers Only]] leather.face:
Thank you so much mate! :good: I`m happy and you make a good job for Thunderbolt.

Regards & a nice Thursday,

leather.face ...

PS: I press later the Thanks Button, my limit is full.
[Android Software/Hacking General [Developers Only]] Saikat0511:
I am on my Xiaomi RN3 with MIUI 8 firmware and unlocked bootloader, root for sure. Can I flash THIS?
[Android Software/Hacking General [Developers Only]] Johny Cipeli:
Is this mod going to get compatibility with Android N?
[Android Software/Hacking General [Developers Only]] Johny Cipeli:
As the Android N was recently released, will the Dev update the mod? By the way, thanks for this mod
[Android Software/Hacking General [Developers Only]] hpagliettini:
Is this mod compatibily for Android nougat un my Nexus 6p?
[Android Software/Hacking General [Developers Only]] leather.face:
[MENTION=3599329]pikachu01[/MENTION]! Your work in the past are very great but I have a question because the 120 MB LMK-Addon. I`ll this Addon integrate in my GoldenDroid Tweak Package for the Samsung Galaxy J5 (2015) but what was the correctly way for the Activation? THX for your help. :angel:

Regards ...
[Android Software/Hacking General [Developers Only]] pikachu01:
Unsure, but the last version should be compatible up to Android M. Have not tried with Android N as I don't have a phone that is compatible with it. You should not try to flash it. Instead, extract the relevant scripts to your SDCard and launch it using Script Manager at boot.

As above.

As above.

I don't think you should flash any of the LMK scripts into your phone. Ever since ICS/JB the LMK tool was deprecated as Android employed different tools to ensure apps are garbage collected once memory is low and LMK itself is just one part of the equation. Installing LMK addon on top of what Android has now will just unbalance the equation and cause more problems in the long run.
[Android Software/Hacking General [Developers Only]] leather.face:
Ah okay, great thank you for the Statement. I wish you all the best!

Kind regards

Edit: [MENTION=3599329]pikachu01[/MENTION], sorry for my next question but have you ideas for a RAM Calculator? I mean for MarshMallow+Nougat. This question was a mistake by me! Sorry...
[Android Software/Hacking General [Developers Only]] pikachu01:
What RAM calculator? Can you describe it in detail?
[Android Software/Hacking General [Developers Only]] pikachu01:
Wrong link. Sorry about that. :(

Link updated.
[Android Software/Hacking General [Developers Only]] neobuddy89:
Was using 1.9.4.

Looking forward for this one. :)
[Android Software/Hacking General [Developers Only]] Beastmode:
whats all this? lol sorry
[Android Software/Hacking General [Developers Only]] pikachu01:
Let me know if you are facing any issues :)
[Android Software/Hacking General [Developers Only]] pikachu01:
It's a CWM tweak zip that contains a bunch of scripts, tweaks and linux hacks that will blow your mind. They've been modded by me and expanded from the original ones (you can see what are the original ones in my thread).