Post Reply

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

OP mythtrandyr

1st December 2012, 06:51 PM   |  #1  
OP Recognized Developer
Flag Kyiv
Thanks Meter: 1,810
 
399 posts
Join Date:Joined: Nov 2011
More
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, 3804 views)
File Type: rar services.rar - [Click for QR Code] (282.0 KB, 2630 views)
File Type: rar additional_files.rar - [Click for QR Code] (354.0 KB, 2695 views)
The Following 47 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: 46,068
 
5,903 posts
Join Date:Joined: May 2010
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
 
51 posts
Join Date:Joined: Aug 2012
what ??? i dont understand what to do ?
1st December 2012, 08:19 PM   |  #4  
Mr.Greg's Avatar
Senior Member
Thanks Meter: 5,438
 
6,418 posts
Join Date:Joined: Sep 2010
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
 
185 posts
Join Date:Joined: Aug 2012
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,728
 
1,453 posts
Join Date:Joined: Nov 2010
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,221
 
4,436 posts
Join Date:Joined: Jan 2012
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,514
 
4,246 posts
Join Date:Joined: Sep 2010
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: 18,953
 
8,414 posts
Join Date:Joined: Jun 2008
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,810
 
399 posts
Join Date:Joined: Nov 2011
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 ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy S II Android Development by ThreadRank