[DEV][HOW TO][GUIDE] MultiWindow -enable all apps on MC3, with native hotspot

timmetal6669

Inactive Recognized Developer
Apr 15, 2012
2,761
2,029
0
Redlands CA


Ok, so I'm back at it again today and I couldn't find a guide to enable all apps on multiwindow for mc3 and above, so.... here we go again... lol.



MultiWindow add all apps
1.Decompile FlashBarService.apk or pull the classes.dex and Baksmali
2.Navigate to com\sec\android\app\FlashBarService\FlashBarInfo.smali
3.Find the following code:

Code:
const-string v8, "android.intent.category.MULTIWINDOW_LAUNCHER"
...and change to this..

Code:
const-string v8, "android.intent.category.LAUNCHER"

4.Smali the classout or recompile the FlashBarService.apk


5.Decompile the services.jar
6.Navigate to com\android\server\am\MultiWindowManagerService.smali
7.Search for the METHOD....

Code:
method public isSupportApp(Ljava/lang/String;)Z
.....in the METHOD, change the following code from this....

Code:
.line 459
    const/4 v0, 0x1
    .line 462
    :goto_9
    return v0
to THIS...

Code:
.line 459
    const/4 p0, 0x1
    .line 462
    :goto_9
    return p0
8. Recompile services.jar or baksmali it.
9. Flash BOTH the modified FlashBarService.apk and services.jar.
This is was built from STOCK MC3. If you're running a prior version you most likely will end up in a boot loop. If you are running a custom rom,
such as the MOAR or Mijjahz Goodness.., I haven't tested this on thier custom ROMS. It may boot loop, or it may break any other mods that other
developers of custom ROMS might have included in thier services.jar, such as the native HOTSPOT mod.
You have been WARNED. Devs.. feel free to use this guide, just shoot me some respect
and give me some thanks.
(verified breaks native hotspot unless you add that to the services jar too like I did....)

Here's a zip for the developing impaired..., This zip includes all apps multwindow moD AND native hotspot ... Enjoy!!http://d-h.st/x3j
 
Last edited:

jjerome1979

Senior Member
Feb 5, 2013
82
11
0
Im on md4 with a fresh backup. Here we go, downloading now :D

Update: definitely boot loops on md4
Sent from my SPH-L710 using xda premium
 
Last edited: