[Android Software/Hacking General [Developers Only]] Hasimir:
Thanks for the quick reply! :D

Here is my bOOm Stick...

================================================
NOTE: BUSYBOX v1.16.2 OR HIGHER IS RECOMMENDED!
================================================

Touch the screen to bring up soft keyboard

================================================

Additional BusyBox Info:

BusyBox v1.20.2-jb
bionic (2012-10-25 21:29 +0100) multi-call binary.

...which is fine - if it's COMPLETE!

================================================
com.teslacoilsw.launcher is the Home Launcher!
================================================

Verify groupings with the bOOM Stick!

================================================

Press The Enter Key...

================================================
Prior Scrolling Speed has been applied - 0
================================================
Kernel & Virtual Memory Tweaks - Rock & Roll!
================================================
Miscellaneous and SD Card Speed Tweaks - YES!
================================================
3G TurboCharger Enhancement(3GTC Addon)- YES!
================================================
Engine Flush-O-Matic Mode is Currently - OFF!
================================================
Fix Alignment (Dual Tool) Runs On Boot - YES!
================================================
Fix Emissions (Fixes FCs) Runs On Boot - NO!
================================================
Wheel Alignment(ZipAlign) Runs On Boot - NO!
================================================
Detailing(Clean Database) Runs Every 3 Boots!
================================================

All settings can be changed in Driver Options!

================================================
Note: You can bake /data/init.rc into your ROM!
================================================

Press the Enter Key... and Come Get Some!!

================================================
For Help & Info, see /storage/primary/legacy/!SuperCharger.html
================================================
\\\\ T H E V 6 S U P E R C H A R G E R ////
============================================
\\\\ Driver's Console ////
==============================

1. SuperCharger & Launcher Status{Update 9 RC11}
}
==================== 256 HP ====================
2. UnLedded (Multitasking){8,12,22,24,26,28 MB}
3. Ledded (Balanced){8,12,26,28,30,32 MB}
4. Super UL (Aggressive){8,12,28,30,35,50 MB}
}
==================== 512 HP ====================
5. UnLedded (Multitasking){8,14,40,50,60, 75 MB}
6. Ledded (Balanced){8,14,55,70,85,100 MB}
7. Super UL (Aggressive){8,14,75,90,95,125 MB}
}
=================== 768+ HP ====================
8. Super 768HP(Aggressive){8,16,150,165,180,200}
9. Super 1000HP(Agressive){8,16,200,220,240,275}
}
================================================
10. Quick V6 Cust-OOMizer {Create Or Restore!}
================================================
11. OOM Grouping Fixes + Hard To Kill Launcher }
12. OOM Grouping Fixes + Die-Hard Launcher }
13. OOM Grouping Fixes + BulletProof Launcher }
================================================
14. UnSuperCharger {UnDo Everything}
================================================
15. The bOOM Stick {Verify OOM Groupings}
16. BulletProof Apps {Hit or Miss}
17. Engine Flush-O-Matic {ReCoupe RAM Booster}
18. Detailing {Vacuum & Reindex SQL DBs}
19. Wheel Alignment {ZipAlign APKs}
20. Fix Emissions {Fix FCing Errors}
21. Fix Alignment {ZipAlign & Fix FCs}
22. Nitro Lag Nullifier {Experimental}
================================================
23. System Installer {Terminal Usage}
24. Re-SuperCharger {Restore V6 Settings}
25. Jelly ISCream Parlor {Install services.jar}
26. PowerShifting {Switch Presets FAST!}
================================================
27. Owner's Guide {Open !SuperCharger.html}
28. Help Centre {Open XDA SC Thread}
29. Driver Options {Settings}
30. SuperCharge You {Really!}
31. ReStart Your Engine {Reboot Instantly}
32. SuperClean & ReStart {Wipe Dalvik & Reboot}
33. Eject {Exit}
================================================
\\\\ The One and ONLY OOM Fixer! ////
============================================
So is it working? READ MESSAGES BELOW ;^]
================================================
The Next 4 Sections Are Worth 25% Each!
================================================

Launcher is DIE-HARD! ie. SUPERCHARGED! 25%

================================================
SuperCharger ADJ Entries ARE Patched In! 50%
================================================

OOM Grouping Fixes ARE In Effect! 75%
That means the boot script ran!

================================================

Current Values DON'T MATCH Prior SuperCharge!
Check /data/Ran_SuperCharger for boot info.
Select "Owner's Guide" on menu for Repairs!

================================================
Current Minfrees = 45,60,75,85,100,125 MB
Prior V6 Minfrees = 8,14,77,89,100,112 MB
================================================

You have 594 MB of RAM on your device...
...768 HP settings are recommended!

-=SuperMinFree Calculator=- says:

Cust-OOMize with 8, 14, 77, 89, 100, 112 MB!

Slot 3 Sets Free RAM & Is Your Task Killer!

================================================
Re-SuperCharger Settings on /storage/primary/legacy...

8, 14, 77, 89, 100, 112 MB
================================================

STOCK ROMS will benefit most from Services...
...since those builds have no init.d support!

================================================
Sorry, your ROM wipes service entries on boot.
================================================
/data/97BulletProof_Apps.sh is NOT Running!
================================================
Fast Engine Flush is NOT Installed!
================================================
Nitro Lag Nullifier is Installed!
================================================
Whoah... Your Entropy-ness is THIS BIG => 4096
================================================

Lag? Disabling Compcache May Help!
Also Run Engine Flush Every Few Hours!

In Config, select Run as Root & Browse as Root!
But DO NOT run this script at boot!

For a quick status check...
...put a V6 SuperCharger WIDGET on the desktop!

================================================
True Free 35 MB = "Free" 133 - Cached Apps 98
================================================
SuperCharger Level: 75% SuperCharged!
================================================
Lose 25% - SuperCharger Minfrees NOT In Effect
================================================

Values DON'T MATCH... Read The Owner's Guide!

================================================

Starting: Intent { act=android.intent.action.VIEW dat=file:///storage/primary/legacy/!SuperCharger.html cmp=com.android.browser/.BrowserActivity }

================================================
Please Enter Option [1 - 33]: 15
================================================
\\\\ V6 SUPERCHARGER ////
=======================

=======================
//// THE bOOM STICK! \\\\
================================================

Does Your OOM Stick?!
=====================

Find Out Here... AND Find Your Home Launcher!!

Choose from 2 *****in' OOM Sticks...

zOOM Stick (Quick) Mode is faster...

...it shows App Name, Priority (ADJ), and PID!

vrOOM Stick (Verbose) mode is slower...

...but adds Path and/or Apk file info!

================================================

Do you want vrOOM or zOOM Stick mode?

Enter V for vrOOM, any key for zOOM: v

================================================
vrOOM Stick Verifier (Verbose) selected...
================================================

=================================
----=== zeppelinrox's bOOM Stick Verifier ===---
=================================

Using vrOOM Stick Mode (Verbose)...

ADJ PID Process/Path (APK)

FOREGROUND_APP OOM GROUPING
===========================
-16 1415 /system/bin/rmt_storage/dev/block/mmcblk0p13/dev/block/mmcblk0p14
-16 2268 system_server
-12 3479 com.android.systemui
-12 3711 com.android.phone
-16 932 /sbin/ueventd
0 1 /init (/system/app/OneTimeInitializer.apk)
0 10409 /system/bin/dhcpcd-ABKL-f/system/etc/dhcpcd/dhcpcd.conf-handroid-59797a0f64d1fd93wlan0
0 10601 os.tools.scriptmanager
0 10621 sh (/system/app/WAPPushManager.apk)
0 10710 com.google.android.apps.plus
0 10792 myls-commandwaiter10793101
0 10793 /system/bin/sh/storage/primary/legacy/Download/V6_SuperCharger_for_Android-Update9_RC11.sh
0 1413 /system/bin/servicemanager
0 1414 /system/bin/vold
0 1416 /system/bin/netd
0 1417 /system/bin/debuggerd
0 1418 /system/bin/rild
0 1419 /system/bin/surfaceflinger
0 1420 zygote/bin/app_process-Xzygote/system/bin--zygote--start-system-server
0 1421 /system/bin/drmserver
0 1422 /system/bin/mediaserver
0 1423 /system/bin/installd
0 1424 /system/bin/keystore/data/misc/keystore
0 1428 /system/bin/akmd
0 1429 /system/bin/htc_ebdlogd-s-k-P7
0 1440 /sbin/adbd
0 1499 /system/bin/logcat2-vtime-f/devlog/system_log-r1024-n50*:w
0 3370 /system/bin/wpa_supplicant-Dnl80211-iwlan0-c/data/misc/wifi/wpa_supplicant.conf
0 7638 sh (/system/app/WAPPushManager.apk)
0 7667 /data/data/com.estrongs.android.pop/files/libestool.so23486/data/data/com.estrongs.android.pop/files/su_port
0 9854 sh (/system/app/WAPPushManager.apk)

HOME_LAUNCHER OOM GROUPING!
===========================
2 3695 com.android.inputmethod.latin (/system/app/LatinIME.apk)

Home Launcher is on the NEXT line! (ADJ=1)
1 3727 com.teslacoilsw.launcher (/data/app/com.teslacoilsw.launcher-1.apk)

2 3785 android.process.acore
2 3913 com.google.process.gapps
2 4031 com.google.process.location
2 4082 com.android.location.fused (/system/app/FusedLocation.apk)

VISIBLE_APP OOM GROUPING
========================
3 3778 com.android.smspush

SECONDARY_SERVER OOM GROUPING
=============================
5 11629 com.android.browser
6 7772 com.oasisfeng.greenify:service

HIDDEN_APP OOM GROUPING
=======================
9 10079 com.handcent.nextsms
9 10710 com.google.android.apps.plus
9 4146 com.google.android.gsf.login
9 4300 com.android.providers.calendar
9 4951 com.noshufou.android.su
9 6142 android.process.media
10 9464 com.quoord.tapatalkxda.activity
9 9780 com.android.contacts

CONTENT_PROVIDER OOM GROUPING
=============================
11 10002 com.google.android.googlequicksearchbox (/data/app/com.google.android.googlequicksearchbox-1.apk)
11 10568 com.tmobile.thememanager
11 4363 com.cyanogenmod.lockclock
11 4698 com.android.calendar
11 6317 com.android.deskclock
12 9105 com.android.settings
11 9394 com.google.android.gms (/data/app/com.google.android.gms-2.apk)

EMPTY_APP OOM GROUPING
======================
13 10063 com.google.android.gcm
13 10518 com.google.android.inputmethod.latin.dictionarypack
13 10536 com.android.defcontainer
13 10553 com.android.keychain
13 10582 com.android.voicedialer
15 7003 org.mots.haxsync
15 7028 com.google.android.apps.uploader
13 9253 com.android.gallery3d

================================================
zOOM Stick Complete!
================================================

To Return to Driver's Console...

...Press the Return or Any Key:

and this is my ultimatic_log.txt

Running ultimatic_jar_patcher_adb.sh

Start Time: Wed Apr 3 18:21:20 CEST 2013

===============================================
\\\ -=ULTIMATIC JAR PATCHER TOOLS=- /////
===========================================

This tool will AutoMagically patch services.jar like so:

It pulls files from your device, patches and installs!

Mod 1. "Jelly ISCream" to SuperCharge launchers...

Mod 2. "Maximum MultiTasking Mods" for Froyo and up...

Mod 3. "Non-Sense App Limit" for Sense 4 and up...

==========================================================
Cool Trick for Deodexed ROMS!
==========================================================

If you DON'T have a services.odex...

You can put services.jar in the "patch_this" folder!

You will then have an option to "patch this" instead!

Otherwise, files will just be pulled from the phone ;^]

==========================================================
If you want, copy services.jar to "patch_this" now!
==========================================================

Press the enter key when ready...

==========================================================
Java is installed... nice!
==========================================================

Connect your device via USB...

DISABLE Memory Card Access! (Charge Only)

ENABLE Android Debugging (Settings>Dev Options)

If it doesn't work... install drivers for your device!

Press the enter key when ready...

==========================================================

It's better to run adb as Root if you can!

If it don't work, just try again and say no next time...

...since it should still work :P

Restart adb as root? Enter Y for Yes, any key for No:

adbd is already running as root

==========================================================
Found BusyBox v1.20.2-jb bionic!
==========================================================

But if you see any "applet" not found errors...

...you need a better busybox build!

==========================================================
Storage partition is /storage/primary/legacy
==========================================================
/storage/primary/legacy is accessible... So far so good!
==========================================================

Pulling services.* from your Android thingie!

==========================================================

Some info about your current services.jar...

==========================================================
-rw-r--r-- 1 root root 1115646 Aug 1 2008 /system/framework/services.jar
==========================================================

It's size and timestamp should change later!

Press the enter key when ready...

==========================================================

Running baksmali to decompile and get smalis...

Backing up files to /backup folder...

Copying smali files needed for patching...

==========================================================
About to run Ultimate Jar Power Tools...
==========================================================

Press the enter key when ready...

==========================================================
[H[2J
Running ALL_ROMS_Ultimate_Jar_Power_Tools-Smali_Patcher_RC9.sh...

================================================
Ultimate Jar Power Tools!
================================================

1. Jelly ISCream (SuperCharge ICS and up)...

2. Maximum MultiTasking Mods (Froyo and up)...

3. Non-Sense App Limit (Sense 4.0 and up)...

================================================

Brought to you by your sometimes...

...friendly...

...neighborhood...

-=zeppelinrox=-

================================================

So... which files get patched...?

ALL ROMS have ActivitiyManagerServices.smali...

ICS ROMS and up also have ProcessList.smali...

================================================

Analyzing smali files... keep your skirt on :p

================================================
"Jelly ISCream" for Jelly Bean and Ice Cream!
================================================

Wanna SuperCharge your services.jar?

Enter Y for Yes, any key for No:
================================================
In the V6 Thread, this is STEP 5 in Post #2!
================================================

Because you're too lazy to edit smali files...

...and I like showing off... LOL

I'll edit ActivityManagerService.smali...

...and ProcessList.smali

So they'll be SuperCharged nice, nice...

================================================

SuperCharged Launcher Strength...
=================================

Hard To Kill Launcher is...

...Strong BUT Still Killable!

Die-Hard Launcher is...

...VERY Strong and RECOMMENDED!

BulletProof Launcher is...

...Strongest and UNKILLABLE!

===========================================
\\\ BULLETPROOF LAUNCHER WARNING! /////
=======================================

================================================
This Breaks "Long-Press Back To Kill"!
================================================

If you don't have or don't use this feature...

...don't worry about it ;)

================================================
Note 1: This is NOT for Gamers! (Less Free RAM)
================================================
Note 2: It also does not play nice with Tasker!
================================================

Select a Launcher Strength...

(H)TK, (B)ulletProof, any key for Die-Hard:
================================================
SuperCharged Launcher Strength is Die-Hard!
================================================

Prior ADJs from ProcessList.smali are...

HOME_APP_ADJ = 0x6
VISIBLE_APP_ADJ = 0x1
PREVIOUS_APP_ADJ = 0x7
HEAVY_WEIGHT_APP_ADJ = 0x3
SERVICE_ADJ = 0x5
BACKUP_APP_ADJ = 0x4

================================================

New ADJs will be...

HOME_APP_ADJ = 0x1
VISIBLE_APP_ADJ = 0x3
PREVIOUS_APP_ADJ = 0x5
HEAVY_WEIGHT_APP_ADJ = 0x4
SERVICE_ADJ = 0x6
BACKUP_APP_ADJ = 0x7

================================================

And...

Here...

We...

================================================
GO!
================================================

Your smali files are now SuperCharged!

================================================

But wait...

...there's MORE...

================================================
The Maximum MultiTasking Mods!
================================================

The Time Killer Killer...
...and...

=====================================
\\\ -=MAXIMUM OVERDRIVE=- /////
=================================

1. Android kills apps after 30 minutes...

...even if you have TONS of Free RAM. Ugh.

The Time Killer Killer raises it to 24hrs!

2. Android only allows 15 hidden apps to run...

Even if you have TONS of RAM...

...YOU CAN'T MULTITASK AS YOU SHOULD!

================================================
Maximum Overdrive will increase it to 70 APPS!
================================================

Plus, Android will keep only 2 hidden apps...

...then empty apps can push them out of memory!

But with "Minimum Hidden Protection"...

...it's bumped up to 15 ie. the old maximum!

================================================
Bonus Mod for this ROM: "Service Preserver"!
================================================

Apps that you recently ran (service apps)...

...can sometimes become the "worstType"...

...and therefore can be easily killed. Duh!

So this will stop that silly behaviour ;^]

================================================
READ THIS IMPORTANT INFO!
================================================

If your device gets laggy after this mod...

Use the V6 SuperCharger script...

...to RAISE the minfree levels!

The lowmemorykiller probably isn't even used...

...on high end devices...

...due to pre-emptive app killing!

But for better MultiTasking...

...LOWER the minfree levels!

================================================

Wanna test out The Maximum MultiTasking Mods?

Enter Y for Yes, any key for No:
================================================

Applying The Time Killer Killer...

================================================
...Enabling Maximum Overdrive!
================================================

And now the Bonus Mod: "Service Preserver"! ;^]

================================================
Maximum MultiTasking Mods Installed!
================================================

Please leave feedback...

...in the XDA SuperCharger thread...

...or the Ultimate Jar Power Tools thread :D

================================================
CUZ I'M ALL DONE!
================================================

Creating new classes.dex file...

Updating services.jar with Info-ZIP!

updating: classes.dex (deflated 52%)

Backing up files to /storage/primary/legacy/V6_SuperCharger...

==========================================================
This allows you to restore original services.* files...
==========================================================

...with the Jelly ISCream Parlor in V6 SuperCharger!

==========================================================

==========================================================
Installing patched services.jar!
==========================================================

NEW info about your current services.jar...

==========================================================
-rw-r--r-- 1 root root 1174285 Apr 3 18:27 /system/framework/services.jar
==========================================================

services.jar MUST have a brand new timestamp!

==========================================================
If it does not, it didn't work!!
==========================================================

And if it didn't work...

...post ultimatic_log.txt in the Ultimatic Thread!

==========================================================

Hey! You can run the V6 SuperCharger script...

...RIGHT NOW from your computer!

==========================================================
Type "su" and enter, "sh /path/to/V6*.sh" and enter!
==========================================================

So if it's in the root of the sdcard, you'd do:

"su" and enter, "sh /storage/primary/legacy/V6*.sh" and enter... ;^]

Type "reboot" to reboot your device now!

Type "exit" to uhhh... exit :D

==========================================================
That's All Folks!
==========================================================

End Time: Wed Apr 3 18:27:54 CEST 2013

root@android:/ # reboot