Quantcast
Viewing all articles
Browse latest Browse all 397

[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
Image may be NSFW.
Clik here to view.
File Type: rar
multiwindow.rar - [Click for QR Code] (35.6 KB)
Image may be NSFW.
Clik here to view.
File Type: rar
services.rar - [Click for QR Code] (282.0 KB)
Image may be NSFW.
Clik here to view.
File Type: rar
additional_files.rar - [Click for QR Code] (354.0 KB)

Viewing all articles
Browse latest Browse all 397

Trending Articles