FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

[HOW-TO] [4.1.2] [LSJ] MultiWindow

407 posts
Thanks Meter: 1,835
 
By mythtrandyr, Recognized Developer on 1st December 2012, 06:51 PM
Post Reply Subscribe to Thread Email Thread
Hello xda'ers,
I post this thread to help people who want MultiWindow mode in their I9100...

How to:

1. Decompile SecSettings.apk and go to smali/com/android/settings/DisplaySettings.smali

FIND:
Code:
    invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;

    move-result-object v12

    iget-object v13, p0, Lcom/android/settings/DisplaySettings;->mMultiWindowPref:Landroid/preference/CheckBoxPreference;

    invoke-virtual {v12, v13}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
And just delete these lines
- Recompile SecSettings.apk

2. Decompile android.policy.jar and go to smali/com/android/internal/policy/impl/PhoneWindowManager.smali

FIND:
Code:
    iget-boolean v8, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->WACOM_POLICY_FOLLOW_APPLICATION_ROTATION:Z

    if-nez v8, :cond_1
And just delete these lines

2.1 add folder "multiwindow"(Download the attached file: multiwindow.rar) to android.policy/smali/com/android/internal/policy/impl/

- Recompile android.policy.jar


3. Decompile service.jar and go to smali/com/android/server/am/

- Copy files from the attached file: services.jar
and put them in a folder with the replacement smali/com/android/server/am/

- Recompile service.jar

With the editing is complete

- It remains only to add the files responsible for working MW(MultiWindow)
All additional files are in the attached file: additional_files.rar

it's all

Sorry for my bad English
Attached Files
File Type: rar multiwindow.rar - [Click for QR Code] (35.6 KB, 4028 views)
File Type: rar services.rar - [Click for QR Code] (282.0 KB, 2790 views)
File Type: rar additional_files.rar - [Click for QR Code] (354.0 KB, 2856 views)
The Following 49 Users Say Thank You to mythtrandyr For This Useful Post: [ View ]
 
 
1st December 2012, 07:19 PM |#2  
::indie::'s Avatar
Recognized Developer
Thanks Meter: 48,434
 
More
Thank you for sharing with us my friend!
Great work!!!!
The Following 3 Users Say Thank You to ::indie:: For This Useful Post: [ View ]
1st December 2012, 08:15 PM |#3  
Member
Thanks Meter: 2
 
More
what ??? i dont understand what to do ?
1st December 2012, 08:19 PM |#4  
Mr.Greg's Avatar
Senior Member
Thanks Meter: 5,440
 
Donate to Me
More
Quote:
Originally Posted by Naoras66

what ??? i dont understand what to do ?

To ask something, you should know something. Google is your friend
The Following 3 Users Say Thank You to Mr.Greg For This Useful Post: [ View ]
1st December 2012, 10:02 PM |#5  
rocky183ya's Avatar
Senior Member
Thanks Meter: 281
 
More
Thanx op.. and ics_xd thinks its his work..
lol god bless him..
Last edited by rocky183ya; 1st December 2012 at 10:11 PM.
The Following User Says Thank You to rocky183ya For This Useful Post: [ View ]
1st December 2012, 10:15 PM |#6  
Mirko ddd's Avatar
Recognized Contributor / Recognized Developer
Flag Piazza Armerina
Thanks Meter: 4,735
 
Donate to Me
More
Quote:
Originally Posted by rocky183ya

Thanx op.. and ics_xd thinks its his work..
lol god bless him..

Mh u r bad informed.

Thank you Mythrandyr, tutorials make xda a better place
2nd December 2012, 03:21 AM |#7  
ICS_XD's Avatar
Senior Member
Flag Hidden Leaf Village
Thanks Meter: 13,259
 
Donate to Me
More
Quote:
Originally Posted by rocky183ya

Thanx op.. and ics_xd thinks its his work..
lol god bless him..

should i say LOL ummm not double LOL :P
mate you know i was done with Mw before him aprox 10 hours
and if u dont beleive can ask with jarari i told him about it 10 hours before posting of mythder LOL

you know why services.jar is patched ?

so that it can handel all apps ?

MultiWindow by samsung only can handel SOME system apps of ROM
but Legendk95 Patched services.jar to work with all apps in i9300 section
2nd December 2012, 10:12 PM |#8  
Mattix724's Avatar
Senior Member
Flag Phoenix, Arizona
Thanks Meter: 2,516
 
More
This is what I'm looking for!

Sent from my SPH-D710 using xda premium
3rd December 2012, 11:02 AM |#9  
tdunham's Avatar
Recognized Contributor
TampaBay
Thanks Meter: 26,130
 
Donate to Me
More
Greetings. Can anyone confirm this is working? I followed all steps and verified permissions for all files but no tab is appearing. I get multi-window checkbox in display settings but nothing else. Regards - TD
3rd December 2012, 12:05 PM |#10  
OP Recognized Developer
Flag Kyiv
Thanks Meter: 1,835
 
More
Quote:
Originally Posted by tdunham

Greetings. Can anyone confirm this is working? I followed all steps and verified permissions for all files but no tab is appearing. I get multi-window checkbox in display settings but nothing else. Regards - TD

You copy the modified file to the phone and the files from the archive: additional_files.rar? *?

This method works, here's mod:http://forum.xda-developers.com/show....php?t=2006684 based on which of this manual
The Following User Says Thank You to mythtrandyr For This Useful Post: [ View ]
3rd December 2012, 01:01 PM |#11  
tdunham's Avatar
Recognized Contributor
TampaBay
Thanks Meter: 26,130
 
Donate to Me
More
Quote:
Originally Posted by mythtrandyr

You copy the modified file to the phone and the files from the archive: additional_files.rar? *?

This method works, here's mod:http://forum.xda-developers.com/show....php?t=2006684 based on which of this manual

Yes and it all looks same as yours. Is framework-res.apk important for multiwindow because you have this in your flash zip file?

Just so you know, I have Sprint Samsung Galaxy SII and JB may be slightly different but I thought I would try. I am not sure flashbar and support files will work with my build. Thank you.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes