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
Thread Closed

[possible Port?] Note II's Multi Window feature ==> Devs needed for assistance!

OP eybee1970

9th October 2012, 03:59 PM   |  #1  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,290
 
4,922 posts
Join Date:Joined: Jan 2010
ok, guys,

For the ones, who don't know what multiwindow-feature is: http://www.youtube.com/watch?v=k6c7XaDWmJg
I diffed 2 different Note 2 ROMs (1 with multiwindow, 1 without), to point out the differences responsible for making multiwindow work.
This is what I could find out:

  1. you need 'multiwindow.jar' inside /system/framework (inside attached 'multiwindow' package)
  2. you need 3 additional xmls inside /system/etc/permissions (inside attached 'multiwindow' package)
  3. you need the app 'FlashBarService.apk' and according permission xml 'com.sec.feature.flashbar.xml' (inside attached 'FlashBar' package)
  4. various changes in xmls and strings within framework-res.apk have also to be done...attached 'framework' package with 1 'without mulitwindow' and 1 'with multiwindow' of original Note 2 ROMs: http://www.mediafire.com/?p6zem8je5sakvfg
  5. and the most tricky part: you need to port smalis inside 'android.policy.jar' to make it working (original Note 2 android.policy.jar inside attached 'multiwindow' package)
    • --> there is one complete folder inside \com\android\internal\policy\impl\ called 'multiwindow' ==> you for sure have to add to your android.policy.jar
    • --> there are several code-changes to be made inside \com\android\internal\policy\impl\PhoneWindowManag er.smali (at least to define backbutton working for starting multiwindow)
    • --> maybe other changes in same folder to other smalis

I also attached the android.policy.jar from Note2-ROM without multiwindow --> it is for devs to diff and find out what to port in a more detailed way....

Unfortunately I am not good in porting smali-code, but for sure others are able to do that!

I guess, if this succeeds, there is a good chance to make it working on other Sammy-Devices, such as S3 or Note1....or the feature depends on more then just that - who knows

So someone with deeper smali / java knowledge should continue....

For the devs wanna diff themselves, here are the sources I used:
Quote:

--> this is deodexed Odin-ROM with multiwindow enabled (so you have to unyaff system.img after DL): https://hotfile.com/dl/175413315/b8e...EODEX.zip.html
--> this is custom ROM by indie without multiwindow: http://depositfiles.com/files/g3zkghhq7

Attached Files
File Type: jar android.policy.jar - [Click for QR Code] (332.2 KB, 547 views)
File Type: zip multiwindow.zip - [Click for QR Code] (369.8 KB, 866 views)
File Type: zip FlashBar.zip - [Click for QR Code] (138.2 KB, 622 views)
Last edited by eybee1970; 10th October 2012 at 03:55 PM.
The Following 86 Users Say Thank You to eybee1970 For This Useful Post: [ View ]
9th October 2012, 04:09 PM   |  #2  
pajaSRB's Avatar
Senior Member
Flag Beograd
Thanks Meter: 108
 
478 posts
Join Date:Joined: May 2010
More
Rly cool feature!
9th October 2012, 04:23 PM   |  #3  
Member
Flag Mumbai
Thanks Meter: 16
 
92 posts
Join Date:Joined: Dec 2011
More
really appreciate your effort +1
9th October 2012, 04:23 PM   |  #4  
zgmf-x322a's Avatar
Senior Member
Thanks Meter: 19
 
679 posts
Join Date:Joined: Sep 2008
More
Nice, gonna try it!!

Sent from my Galaxy Note or from my Transformer TF300T
9th October 2012, 04:30 PM   |  #5  
Member
Thanks Meter: 3
 
51 posts
Join Date:Joined: Aug 2006
Gr8!I was looking for this on my GNote
9th October 2012, 04:39 PM   |  #6  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,290
 
4,922 posts
Join Date:Joined: Jan 2010
Quote:
Originally Posted by jonsey

Gr8!I was looking for this on my GNote

it's not done yet....just started, so we need assistance in smali coding from talented devs to get it running
The Following User Says Thank You to eybee1970 For This Useful Post: [ View ]
9th October 2012, 04:44 PM   |  #7  
Junior Member
Thanks Meter: 3
 
29 posts
Join Date:Joined: Oct 2011
The best new feature of sn2.
9th October 2012, 05:07 PM   |  #8  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 6,902
 
4,508 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Hehe dam eybee i will give it a try but the one is very good on smalis is grgciols maybe he can help us

Sent from my GT-N7000 using Tapatalk 2
The Following 8 Users Say Thank You to Crash For This Useful Post: [ View ]
9th October 2012, 05:09 PM   |  #9  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,290
 
4,922 posts
Join Date:Joined: Jan 2010
Quote:
Originally Posted by Crash 1976

Hehe dam eybee i will give it a try but the one is very good on smalis is grgciols maybe he can help us

Sent from my GT-N7000 using Tapatalk 2

and framework-res.apk also need to be worked on...will attach now to OP
The Following 4 Users Say Thank You to eybee1970 For This Useful Post: [ View ]
9th October 2012, 05:27 PM   |  #10  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 6,902
 
4,508 posts
Join Date:Joined: Apr 2011
Donate to Me
More
I send a message to Criskelo he is good on smalis too so lets wait eybee to see if he can give us a hand

The Following 9 Users Say Thank You to Crash For This Useful Post: [ View ]
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes