FORUMS

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more
Thread Closed Subscribe to Thread Email Thread

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

9th October 2012, 02:59 PM |#1  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,298
 
More
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, 563 views)
File Type: zip multiwindow.zip - [Click for QR Code] (369.8 KB, 886 views)
File Type: zip FlashBar.zip - [Click for QR Code] (138.2 KB, 638 views)
Last edited by eybee1970; 10th October 2012 at 02:55 PM.
The Following 86 Users Say Thank You to eybee1970 For This Useful Post: [ View ]
 
 
9th October 2012, 03:09 PM |#2  
pajaSRB's Avatar
Senior Member
Flag Beograd
Thanks Meter: 117
 
More
Rly cool feature!
9th October 2012, 03:23 PM |#3  
Member
Flag Mumbai
Thanks Meter: 17
 
More
really appreciate your effort +1
9th October 2012, 03:23 PM |#4  
zgmf-x322a's Avatar
Senior Member
Thanks Meter: 19
 
More
Nice, gonna try it!!

Sent from my Galaxy Note or from my Transformer TF300T
9th October 2012, 03:30 PM |#5  
Member
Thanks Meter: 3
 
More
Gr8!I was looking for this on my GNote
9th October 2012, 03:39 PM |#6  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,298
 
More
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, 03:44 PM |#7  
Member
Thanks Meter: 3
 
More
The best new feature of sn2.
9th October 2012, 04:07 PM |#8  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 8,326
 
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, 04:09 PM |#9  
eybee1970's Avatar
OP Recognized Contributor
Thanks Meter: 13,298
 
More
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, 04:27 PM |#10  
Crash's Avatar
Senior Member
Flag Costa Rica
Thanks Meter: 8,326
 
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


Top Threads in Galaxy Note GT-N7000 Android Development by ThreadRank