[Android Software/Hacking General [Developers Only]] blackdeath09:
Still bootloops. This is how much I managed to save from the .exe window. There was a guy before me who only magaed to solve his errors using a DE-ODEXed ROM. Used the latest RC2 exe.

-=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: Y
Y

================================================
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: Y
Y

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

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!
================================================

So... get outta here... type "exit" remember?

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

~ # exit
exit

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

Pulling patched smali files from /storage/sdcard0...

4601 KB/s (2125140 bytes in 0.451s)
1 file(s) copied.
1953 KB/s (22001 bytes in 0.011s)
1 file(s) copied.

Creating new classes.dex file...

Updating services.jar with Info-Zip 3.0

adding: classes.dex (152 bytes security) (deflated 54%)
Pushing new services.jar to /storage/sdcard0

3243 KB/s (1557674 bytes in 0.469s)

Creating new services.odex on /storage/sdcard0...

--- BEGIN '/storage/sdcard0/services.jar' (bootstrap=0) --
-
--- waiting for verify+opt, pid=24843
--- would reduce privs here
--- END '/storage/sdcard0/services.jar' (success) ---

Applying "special sauce" to services.odex...

20+0 records in
20+0 records out
20 bytes (20B) copied, 0.002882 seconds, 6.8KB/s
4322 KB/s (3629832 bytes in 0.820s)

=========================================================
Installing patched services.odex!
=========================================================

1 file(s) moved.

NEW info about your current services.odex...

=========================================================
-rw-r--r-- 1 root root 3629832 Dec 2 20:14 /
system/framework/services.odex
=========================================================

services.odex MUST have a brand new timestamp!

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

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

...RIGHT NOW from your computer!

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

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

"su" & enter, "sh /storage/sdcard0/V6*" & enter... :)

Type "reboot" to reboot your device now!

Type "exit" to uhhh... exit :)

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

~ #