Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,300 Members 53,248 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
mythtrandyr
Old
#1  
Recognized Developer - OP
Thanks Meter 1805
Posts: 399
Join Date: Nov 2011
Location: Kyiv
Default [HOW-TO] [4.1.2] [LSJ] MultiWindow

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, 3713 views)
File Type: rar services.rar - [Click for QR Code] (282.0 KB, 2553 views)
File Type: rar additional_files.rar - [Click for QR Code] (354.0 KB, 2623 views)
The Following 47 Users Say Thank You to mythtrandyr For This Useful Post: [ Click to Expand ]
 
::indie::
Old
#2  
::indie::'s Avatar
Recognized Developer
Thanks Meter 44891
Posts: 5,803
Join Date: May 2010
Thank you for sharing with us my friend!
Great work!!!!
::indie's:: Omega Roms Series
OmegaDroid - your android portal ...
Omega Files Pro app - Build and Customize your rom the way you like it!!
Samsung Galaxy S5 Samsung based
Samsung Galaxy S4 Samsung based I9505 - Samsung based I9500
Samsung Galaxy Note 3 N9005: Samsung based 4.4.2
Samsung Galaxy Note 2 N7100: Samsung based 4.4.2
Samsung Galaxy S III I9300: Samsung based 4.3 - Omega AOKP 4.4.4 - Omega Omni 4.4.4
Samsung Galaxy S II I9100 Android 4.1.2 - Android 4.2.2 AOKP
Samsung Galaxy Note 10.1: Samsung based 4.1.2
HTC HD2 + Tmous HD2 - Omega v30 - WM6.5.x Build 29022
:: User Friendly Developer ::

If you like my work please consider a donation!
Please use Omegas Threads for Support and Suggestions and don't sent me pm's!

The Following 3 Users Say Thank You to ::indie:: For This Useful Post: [ Click to Expand ]
 
Naoras66
Old
#3  
Member
Thanks Meter 2
Posts: 47
Join Date: Aug 2012
what ??? i dont understand what to do ?
 
Mr.Greg
Old
#4  
Mr.Greg's Avatar
Senior Member
Thanks Meter 5434
Posts: 6,397
Join Date: Sep 2010

 
DONATE TO ME
Quote:
Originally Posted by Naoras66 View Post
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: [ Click to Expand ]
 
rocky183ya
Old
(Last edited by rocky183ya; 1st December 2012 at 10:11 PM.)
#5  
rocky183ya's Avatar
Senior Member
Thanks Meter 281
Posts: 185
Join Date: Aug 2012
Thanx op.. and ics_xd thinks its his work..
lol god bless him..
The Following User Says Thank You to rocky183ya For This Useful Post: [ Click to Expand ]
 
Mirko ddd
Old
#6  
Mirko ddd's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 4721
Posts: 1,450
Join Date: Nov 2010
Location: Piazza Armerina

 
DONATE TO ME
Quote:
Originally Posted by rocky183ya View Post
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
NICOLA SAVED ME!

If I helped you and/or you like my rom consider a small donation and/or join Disaster Family on Facebook
I DON'T ANSWER ON PM ABOUT ROM/MODDING STUFFS

 
ICS_XD
Old
#7  
ICS_XD's Avatar
Senior Member
Thanks Meter 13202
Posts: 4,427
Join Date: Jan 2012
Location: Hidden Leaf Village

 
DONATE TO ME
Quote:
Originally Posted by rocky183ya View Post
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
NeatROM I9500
NeatROM I9100G
X-TremeXD ROM i9100G
IF you Like My Work Please Buy me a Beer Here

 
 
Mattix724
Old
#8  
Mattix724's Avatar
Senior Member
Thanks Meter 2511
Posts: 4,245
Join Date: Sep 2010
Location: Phoenix, Arizona
This is what I'm looking for!

Sent from my SPH-D710 using xda premium
 
tdunham
Old
#9  
tdunham's Avatar
Recognized Contributor
Thanks Meter 15993
Posts: 7,698
Join Date: Jun 2008
Location: TampaBay
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
 
mythtrandyr
Old
#10  
Recognized Developer - OP
Thanks Meter 1805
Posts: 399
Join Date: Nov 2011
Location: Kyiv
Quote:
Originally Posted by tdunham View Post
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes