Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Tool] Add Multiwindow-option to almost every apk files

OP Leppin

17th November 2012, 05:21 PM   |  #1  
Leppin's Avatar
OP Member
Flag
Thanks Meter: 207
 
96 posts
Join Date:Joined: Jul 2011
Hey,

I've programmed a small windows tool to add the multiwindow option to almost every apk file.

Disclaimer: Please follow the instructions at your own risk. I will not be held responsible if your device or its data gets damaged in the process of following this guide.

Instructions:
1. Copy the wanted app with a root explorer from data/app (installed apps) system/app (system apps) to a mountable storage like /sdcard or /mnt/extSdCard
2. Connect your device to the Windows PC and copy the stored apps (see section 1) to your pc.
3. Start the Tool and select the files (see section 2) as source path
4. If you have selected the selection mode folder you can select the wanted apps in the list by checking the boxes.
5. Select a destination Path
6. Execute the tool by pressing the green triangle at the top.
7. Copy the modified app to the tablet
8. Backup the app with an backup app (i recommend titanium backup)
9. Uninstall the app
10. Install the modified apk
11. Restore the produced backup data (only data not application)
12. You should now be possible to select the app in the multiwindow view.

Credits:
Daneshm90 (APK-Multitool)
Brut.all (Apktool)
Justfresh (Great Found of the method adding multiwindow property by manipulating XML-Tags)
Justinchi (informations + test-apks)

Requirements:
JellyBean
Java (please install the right one x86 (32 Bit) x64 (64 Bit) you find here: http://www.java.com/en/download/manual.jsp )
.net Framework 2.0 or higher (preinstalled in windows vista and higher)

If you have any feedback please send it to me.

For all of you, who don't have root access, don't have time or just are lazy:
Already modded apps you can find here (by JustFlesh) and here (by TheSanitarium)

In case of an error please complete the following error-formular:
  • Error-description?
  • Startet app as administrator? [ ] Yes [ ] No
  • Error log in "C:\Users\[Your Windwos Account]\Documents\multiviewapmodifier.log" written? [ ] Yes [ ] No
  • In case of yes: text of the errorlog?
  • Error on every APK or just one? [ ] every [ ] one
  • In case of one: which one?
  • In case of one: which version of the app?
  • (optional) in case of one: provide the APK
  • Which selection mode of the tool do you use?
  • At which step in the tool does the error occure?

Hope you like it
Attached Thumbnails
Click image for larger version

Name:	tool_selectfile.png
Views:	7708
Size:	25.2 KB
ID:	1490275   Click image for larger version

Name:	tool_selectfolder.jpg
Views:	6925
Size:	23.2 KB
ID:	1490276  
Attached Files
File Type: zip MultiwindowAPKModifier Beta3.zip - [Click for QR Code] (6.37 MB, 11001 views)
Last edited by Leppin; 13th December 2012 at 08:30 AM.
The Following 79 Users Say Thank You to Leppin For This Useful Post: [ View ]
17th November 2012, 07:05 PM   |  #2  
Junior Member
Thanks Meter: 0
 
2 posts
Join Date:Joined: Feb 2011
Thank u! Like this tool!

I used it already for a few apps. One app that haven´t worked was ezPDF. If i want to start in fullscreen it crashes, but when i start in window mode it works till i resize.

Any idea?
17th November 2012, 07:28 PM   |  #3  
Senior Member
Thanks Meter: 18
 
337 posts
Join Date:Joined: Oct 2007
More
I used the program but when it's finished and I clicked "yes" to goto destination folder, there's nothing there. The app I'm trying to convert is viggle version 1.0.9
17th November 2012, 09:27 PM   |  #4  
Leppin's Avatar
OP Member
Flag
Thanks Meter: 207
 
96 posts
Join Date:Joined: Jul 2011
Quote:
Originally Posted by cproaudio

I used the program but when it's finished and I clicked "yes" to goto destination folder, there's nothing there. The app I'm trying to convert is viggle version 1.0.9

Hey, do you start the application as administrator? if not that could be a problem, or select another destination path. In case of an error in the tool there should be a "multiviewapmodifier.log" in your documents folder you can open it with any text editor and send me the error text, maybe there is the information i need to tell you how you can solve this problem.

i don't have ezpdf to test it but some apps make problems with this mod, thats the reason why i wrote almost every apk

greets
The Following 2 Users Say Thank You to Leppin For This Useful Post: [ View ]
17th November 2012, 10:45 PM   |  #5  
RaptorMD's Avatar
Senior Member
Thanks Meter: 221
 
1,725 posts
Join Date:Joined: May 2010
More
Cool mod, thanks. I just ordered a GN 10.1 today and will be pre-ordering the GN2 on Verizon next week when I am eligible for an upgrade.
17th November 2012, 11:46 PM   |  #6  
Junior Member
Thanks Meter: 15
 
19 posts
Join Date:Joined: Dec 2010
I have the same problem, here's my log :

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\kd\AppData\Local\temp\com.adobe.reader-1\AndroidManifest.xml'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)

Somehow, it doesn't decompress properly...


Edit: In my case, java's bin folder wasn't in my PATH variable. As soon as I fixed that, everything started working.
Last edited by eusor; 18th November 2012 at 12:01 AM.
The Following User Says Thank You to eusor For This Useful Post: [ View ]
18th November 2012, 01:09 AM   |  #7  
Senior Member
Thanks Meter: 171
 
1,532 posts
Join Date:Joined: Feb 2012
Donate to Me
More
Do we download and run the tool then select the apk or what ..

Sent from my GT-N7000 using Tapatalk 2
18th November 2012, 02:57 AM   |  #8  
Leppin's Avatar
OP Member
Flag
Thanks Meter: 207
 
96 posts
Join Date:Joined: Jul 2011
Quote:
Originally Posted by DJsCrIBbLe

Do we download and run the tool then select the apk or what ..

yes, you have to download the tool (its a windows application), run it, select a source and destination path for the apk and then press the execute button, after that you have to reinstall the modified apk and voilà the app should be displayed in the multiscreen window =) very usefull for people who use an alternative browser like chrome or just want to launch the 2 favorite apps at the same time. But as i told you, there are some apps which doesn't can get modified like uccw (problem with the used decompile/recompile interface) if you have any problems pls first try to run it as administrator

greets
The Following 3 Users Say Thank You to Leppin For This Useful Post: [ View ]
18th November 2012, 03:49 AM   |  #9  
JISIK's Avatar
Senior Member
Thanks Meter: 5
 
103 posts
Join Date:Joined: Sep 2012
Wow pretty god tool.
but when update apk file, for example, update in playstore or update apk package, multi window keep??

Sent from my GT-I9100 using xda premium
18th November 2012, 04:52 AM   |  #10  
Leppin's Avatar
OP Member
Flag
Thanks Meter: 207
 
96 posts
Join Date:Joined: Jul 2011
Quote:
Originally Posted by JISIK

Wow pretty god tool.
but when update apk file, for example, update in playstore or update apk package, multi window keep??

Thank you

Dont think that the multi window keep after updating the app, think the modified part of the apk will get overwriten after update, but i'm not certain.

The Following 2 Users Say Thank You to Leppin 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