FORUMS

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we’re … more

Cyngn Explained: Who’s Cyanogen, What’s Cyanogen OS?

While Cyanogen, Inc has been the source of many headlines lately, there … more

Verizon Moto X 2014 Receives Root On Kitkat 4.4.4

The Verizon Moto X 2014 has finally received root, albeit only on Kitkat 4.4.4 … more

Android 5.1.1 Released, Google Cell Service – XDA TV

Android Lollipop 5.1.1 has been released. That and much more news is covered … more
Post Reply Subscribe to Thread Email Thread

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

1st December 2012, 06:51 PM |#1  
OP Recognized Developer
Flag Kyiv
Thanks Meter: 1,832
 
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, 3978 views)
File Type: rar services.rar - [Click for QR Code] (282.0 KB, 2760 views)
File Type: rar additional_files.rar - [Click for QR Code] (354.0 KB, 2824 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: 47,882
 
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,439
 
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,734
 
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,257
 
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: 22,759
 
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,832
 
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