yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Android Development] goddamnit:
1.Decompile services.jar

open MultiWindowManagerService.smali

1: Search : iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

then get follow

1.1:

.prologue

.line 391

iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_a

.line 392

const/4 v0, 0x1

.line 395

:goto_9

return v0

:cond_a

const/4 v0, 0x0

goto :goto_9

.end method

1.2: Start from

.prologue

To

.end method

1.3: Replace with

.prologue

.line 391

const/4 v0, 0x1

goto :goto_b

iget-object v0, p0, Lcom/android/server/am/MultiWindowManagerService;->mSupportAppList:Ljava/util/ArrayList;

invoke-virtual {v0, p1}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_c

.line 392

const/4 v0, 0x1

.line 395

:goto_b

return v0

:cond_c

const/4 v0, 0x0

goto :goto_b

.end method

2.Open PackageManagerService.smali

2.1 Search

.line 7660

and-int/lit8 v1, p0, 0x10

if-eqz v1, :cond_6

.line 7666

:cond_5

:goto_5

return v0

.line 7663

:cond_6

and-int/lit8 v1, p0, 0x8

Replace with

.line 7660

and-int/lit8 v1, p0, 0x10

if-eqz v1, :cond_7

.line 7666

:cond_5

:goto_5

const/4 v0, 0x0

return v0

.line 7663

:cond_7

and-int/lit8 v1, p0, 0x8

------------- Recompile services.jar ----------
[Galaxy Note II Android Development] teshxx:
You sir are awesome. Greatly appreciated.
[Galaxy Note II Android Development] teshxx:
Do I need to edit FlashBarInfo.smali ? or Do I just need to edit services and install mwcontrol ?

Thanks
[Galaxy Note II Android Development] mrnexusone:
Can I flash this in ARHD rom? Tnx..
[Galaxy Note II Android Development] goddamnit:
flashbar ? use the one I post in op

you do not need to install anything after flash

sure

Sent by N7100
[Galaxy Note II Android Development] hadar.shamir:
ARHD just changed its base to ALJ2.

I really need the all app multi-window features! Is there any way to use it on ALJ2?

Thanks.
[Galaxy Note II Android Development] hadar.shamir:
http://db.tt/RYRAflLC

Thanks!
[Galaxy Note II Android Development] dude6595:
shouldnt it be DLJ2 and not ALJ2?
[Galaxy Note II Android Development] hadar.shamir:
Says ALJ2 here

http://db.tt/2BEsUxVM
[Galaxy Note II Android Development] dude6595:
ah ok, its still 4.1.1

Wouild you mind doing the mod for DLJ2 (4.1.2)

https://www.dropbox.com/s/nsez02hek135cx1/services.jar
[Galaxy Note II Android Development] goddamnit:
It's ALJ2 ? or DLJ2 ? :confused:

Sent by N7100
[Galaxy Note II Android Development] dude6595:
ALJ2 is still 4.1.1 (Columbia I believe)

DLJ2 is 4.1.2 (UK)
[Galaxy Note II Android Development] aqishimie:
im using omega v7. can flash on it? :confused:
[Galaxy Note II Android Development] 200mpx:
Here it is this file from XXDLJ2 (4.1.2) - could you please make a version for 4.1.2 ROMs: https://www.dropbox.com/s/271ghdn92eq9g9e/services.jar

Thank you in advance!

---------- Post added at 02:02 PM ---------- Previous post was at 02:01 PM ----------

No, wait for the version for XXDLJ2 (4.1.2)
[Galaxy Note II Android Development] dude6595:
If you look back one page I already have this posted.....
[Galaxy Note II Android Development] 200mpx:
Missed it :)
[Galaxy Note II Android Development] goddamnit:
ALJ2 is baseband version .

It's not firmware version .

I have checked ,ARHD 4.2 is using LJ3 .
[Galaxy Note II Android Development] Primokorn:
Hi

I'd like to flash the Omega version 7.0 but the firmware is based on XXDLJ2. If I'm not mistaken this means that your mod won't be compatible, doesn't it?

I've read the previous posts but I didn't find my answer.

Does this mod will be available for LJ2 firmware?

Thanks for your reply.
[Galaxy Note II Android Development] goddamnit:
Uploading

---------------------

done ,check op
[Galaxy Note II Android Development] goddamnit:
Right now support DLJ2 .

Check op for link
[Galaxy Note II Android Development] cabessius:
Thanks for the update for DLJ2.

I´m experiencing a FC when I try to resize the windows, only the divider bar moves and after a few seconds... FC.

Running stock deodexed DLJ2 by Wanam.

Screenshot attached
[Galaxy Note II Android Development] geovas77:
Confirmed I have the exact same issue with omega v7.
[Galaxy Note II Android Development] goddamnit:
wipe flashbarservice data and try again.

if still fc, send me flashbarservice.apk.

but I will mod it 20 hours later coz very busy these few days

Sent by N7100
[Galaxy Note II Android Development] Primokorn:
Thanks goddamnit ;)
[Galaxy Note II Android Development] cabessius:
Wiped flashbarservice data and still FCing

Here you go:View attachment FlashBarService.apk

PD Take your time, not a big deal.
[Galaxy Note II Android Development] goddamnit:
i remember something.

try to flash v3.1.flashbarservice in op and see if it work

Sent by N7100
[Galaxy Note II Android Development] cabessius:
Done. Now I have all the apps at the sidebar but still FC when resizing windows.
[Galaxy Note II Android Development] goddamnit:
k ,will mod new one when i have time :)

Sent by N7100
[Galaxy Note II Android Development] goddamnit:
Hmm ,I have check the FlashBarService.apk you send to me .

It have been modded before ,so it should work .

With that will force close ?
[Galaxy Note II Android Development] hadar.shamir:
Using the files provided in the first post I have the same problem with the FC's when I try resizing the flashbar.
[Galaxy Note II Android Development] goddamnit:
how about use the one come with rom ?

Sent by N7100
[Galaxy Note II Android Development] BT73:
WanamLite V2.0 also FC

Hi,

I use WanamLite V2.0, i have also FC when i use to resize flashbar.....

Thanks for the mod..

Extra Info:

Tried with stock Flashbarservices....FC

Tried with V3.0...FC

Tried with V3.1...FC
[Galaxy Note II Android Development] hykhleif:
hello dev this needs to be addressed asap, as this mod screwed our phones now.

I am not trying to be rude, but proper testing a mod is an essential thing before releasing anything to the public
[Galaxy Note II Android Development] sabankuru:
+1 fc
[Galaxy Note II Android Development] 200mpx:
How your phone is screwed? Don't you know the rule that before flashing something you should made a Nandroid backup? Even without a backup it is simple to flash your rom once again without full wipe to solve possible problem.

And you are trying to be rude.
[Galaxy Note II Android Development] lightdelegate:
I get some fc...

When try to resize one apps I get

FlasBarService has stopped.

After I press ok then cant resize ...

I am on omega rom v7

Using the file

N7100.DLJ2_4.1.2.MultiWindows.Unlimited.zip
[Galaxy Note II Android Development] BT73:
Thanks Devs...

Hey, you are responsible for screwing up your phone, nobody has pressured you to use this mod, every mod here is in your own risk,

Nobody can give you 100%garanty for the mods, each situation is different, each phone is different...

So if you use these mod you take the risk for the errors or screwing your phone up.

The dev gives the oppurtunity for a nice mod, we are here to help him for his mod so everybody has benefits an can use the mod,

if you are so good make us happy an make your mod...or give the dev feedback so he can resolve the problem...

I thank every dev here for there efforts and nice mods... If they where not here we had only the stock rom....

Thanks...
[Galaxy Note II Android Development] thedid63:
Hi, I've got the same FC on the same Rom....

Envoyé depuis mon GT-N7100 avec Tapatalk
[Galaxy Note II Android Development] goddamnit:
I will CLOSE this thread as I'm moving into the other apartment right now ,and WILL BE ON A TRIP to Taiwan.

I have no time even download and flash Wanam v2.0 till X'Mas

And then it will not screwed someone phones balabala

DLJ2 Mod removed
[Galaxy Note II Android Development] goddamnit:
If you're using odex rom ,browser for this two file ,and delete it with something like Root Explorer after flash.

Then Reboot .

/system/app/FlashBarService.odex

/system/framework/services.odex
[Galaxy Note II Android Development] yocasta:
Almost nothing... great work ;)

Tapatalkteando desde mi móvil.
[Galaxy Note II Android Development] code72:
After done that phone doesn't boot, it stay on "Samsung" logo
[Galaxy Note II Android Development] goddamnit:
Please try :

download this , Restore LJ1 ODEX.zip

http://xdaforums.com/attachment.php?attachmentid=1439673&d=1351502200

put it in your external sd card (in case you cannot go into system ,switch off phone ,copy file using card reader)

boot into recovery ,flash Restore LJ1 ODEX.zip

Your phone should boot normally right now .

Here is new file from Adroid ,try this .

If this one do not work ,I give up .. sorry
[Galaxy Note II Android Development] grgsiocl:
all the applications installed in app drawer will automatically installed on flashbar and thats what the lidroid mod does as i used his ROM and i have ported the same on wanamlite...
[Galaxy Note II Android Development] code72:
I already solved restoring my backup, no problem for that. I'd like to try a working mod :)
[Galaxy Note II Android Development] goddamnit:
I just upload a new one ,@ this post .

http://xdaforums.com/showpost.php?p=33413840&postcount=24

Maybe you can try again ?

I think download restore pack first is better :p
[Galaxy Note II Android Development] code72:
Done with the same result: phone doesn't boot after flash and delete odex files. Restored with your restore files
[Galaxy Note II Android Development] goddamnit:
I give up ...

-> but maybe try again tmr:D
[Galaxy Note II Android Development] LegendK95:
Well, at first, I did the same. I was able to make all apps appear, but then I thought about the mess this has caused, a lot of annoying apps, multiwindow edit became laggy a bit. So I made the control app so you can only add the apps you want, and not overcrowd the MultiWindow.

Anyway, this is undeniably a great mod :)

PS. I'm currently improving my app so you can remove any app (even the ones Samsung added by default, or the ones you added using the webtool)
[Galaxy Note II Android Development] Dr.Taly:
y have a stock lj3 rom with root, i made all that things manualy , deleting odex files, an insert the files onto system/app and system/framework. and reboot but i got a bootloop ... y flash a cwm recovery and flash the zip bt again bootloop
[Galaxy Note II Android Development] goddamnit:
That why I add something like this in #1 :P

Quote ->>

If you think it's a trouble of this bug .

You may think about this by LegendK95 : http://xdaforums.com/show....php?t=1953705
[Galaxy Note II Android Development] goddamnit:
Hi Dr.Taly ,

You may try to flash this which provided by LegendK95 ,and see if you can boot into your phone ?

http://www.mediafire.com/download.php?uir2gr3vvd6umpp

If not ,you may need to recover your nandroid backup ,sorry
[Galaxy Note II Android Development] cocaino:
Nice1 brother wow working like charm

Nice working without any bug
[Galaxy Note II Android Development] LegendK95:
Oh I understand now :P it's not really clear.
[Galaxy Note II Android Development] yocasta:
I don't get the point why you come into another dev threat for promoting your app.

Tapatalkteando desde mi móvil.
[Galaxy Note II Android Development] goddamnit:
Hi yocasta ,

Please forget it :)

LegendK95 do good job with his app .As I said at #1

Why I post this is to give out another options only :P
[Galaxy Note II Android Development] Dr.Taly:
ya reflash the stock rom and ksvbsivbverbgvESRB
[Galaxy Note II Android Development] goddamnit:
I have no idea right now why it can't work on odex rom .

Will keep an eye on it:rolleyes:
[Galaxy Note II Android Development] Dr.Taly:
You must say on first post that this mod isnt for odex rom ultil yopu solved it regards
[Galaxy Note II Android Development] goddamnit:
Changed :eek:
[Galaxy Note II Android Development] kest874:
Not sure how to fix this but the bug adding apps on the last page is due to it picking up the last app on the 1st page.

Maybe this is a hint on how to fix it?
[Galaxy Note II Android Development] goddamnit:
I will check this ,thank for this :)
[Galaxy Note II Android Development] yocasta:
There is a bug, when you pick one app from the box and you return it again, you are unable to pick again until next reboot.

No big trouble, but it's there.

Tapatalkteando desde mi móvil.
[Galaxy Note II Android Development] emprize:
im using LJ1, after flash the latest one, i get no response when i press and hold the back button, just like a normal back button click,

then i try remove the services.odex, so i got boot loop, after restore the original files, now boots, how can i get this work?

p.s. im using N7105
[Galaxy Note II Android Development] goddamnit:
Your phone is using stock rom or third party rom ?

If stock rom ,forget it .. it's not support right now ,error reported ,sorry .
[Galaxy Note II Android Development] kotty:
anyone using wannalite rom with this mod ?
[Galaxy Note II Android Development] vgkeeper:
Working with wanam 1.2 lj3 deodexxed

Envoyé depuis mon GT-N7100 avec Tapatalk
[Galaxy Note II Android Development] talhamid:
No LJ2

First of all, amazing work. I am dreaming about a day when you can enable this feature on all Android ROMs, not just TW ones, and on all phones. But there is no LJ2. Do I have to send you that services.jar file so that you can mod it?

Thanks
[Galaxy Note II Android Development] goddamnit:
1 : If your rom is deodex rom

2 : send me services.jar ,let me mod it :P
[Galaxy Note II Android Development] talhamid:
Yes. I am running Android Revolution HD 3.0 which I believe is deodexed. Here are my two files:

https://www.dropbox.com/sh/dg1exs2otkziinh/DmsiF1Wsft

Please inform if the link doesn't work.
[Galaxy Note II Android Development] goddamnit:
Please try this .

Tell me if success so I can put to OP

Regards

*** File deleted ,it's LA3 ***
[Galaxy Note II Android Development] talhamid:
Making a Nandroid right now. Will report back once done and flashed
[Galaxy Note II Android Development] emprize:
yes, using stock odex one, u fixed it yet? i saw u have instruction on first post metion if using odex rom then delete 2 files, i thought its ok for stock odex rom
[Galaxy Note II Android Development] goddamnit:
It should work by delete odex file .

But users report bootloop .

And I have no idea right now.
[Galaxy Note II Android Development] goddamnit:
hmm ... wait a second .

Are you sure you are using Android Revolution HD 3.0 ?

It's LJ3 .. but not LJ2 .

Quote from http://xdaforums.com/showthread.php?t=1925402

System details:

Android 4.1.1 (Jelly Bean) - latest official Samsung N7100XXALJ3 firmware
[Galaxy Note II Android Development] talhamid:
I checked the baseband and it says LJ2. In any case the files you modified should match the firmware. Maybe I didn't flash the radio or something which remains stock.

Nevertheless I can report that the phone has booted (THANKS GOD), and right now it is 'optimizing apps'.

UPDATE: IT works! However, I am seeing the same problem as some other users: I try to drag an app toward the sidebar and some other app appears there. Still, can't thank you enough. BTW my 'baseband' in settings page reads 'N7100XXALJ2'
[Galaxy Note II Android Development] goddamnit:
Baseband and ROM build is not the same ,baseband is modem .

Then I should remove the post before to prevent LA2 user have bootloop with that:p
[Galaxy Note II Android Development] talhamid:
Fair enough, although I guess I made you modify LJ3 files all over again :). BTW how do I find ROM build, all it says on my about page is Android Revolution HD 3.0 by Mike 1986. Yes I know its shameful to ask given that I am a 'senior member' here too. Second question: that would mean I can flash the LJ3 files you gave in OP right?
[Galaxy Note II Android Development] goddamnit:
1 : Simple check the page you download your rom ,every developer will tell you rom version .

Something like Android 4.1.1 (Jelly Bean) - latest official Samsung N7100XXALJ3 firmware in ARHD3.0

or

Something like Based on firmware ZSALJ7 Android 4.1.1 in Omega thread .

2 : Yes ,flash LJ3 in OP should work fine
[Galaxy Note II Android Development] talhamid:
Thanks again. A few observations:

1) The EDIT button doesn't stay 'pressed' for long, sometimes it reverts within a second

2) The selection draw that appears is way too slow and laggy (though I can live with that, were it not for problem No.1)

3) Some apps simply don't make it to the bar. I drag them, and when they land they have turned into something else

4) At the same time, starting an app or game (even NFS Most Wanted works!) first, THEN dragging another app on top of it almost always works perfectly

I do realize you have achieved a tremendous breakthrough and there is no obligation on you to improve upon this, but will appreciate if you are working on improving it and look at these bugs.
[Galaxy Note II Android Development] goddamnit:
Hi talhamid ,

I'm glad that if I could do .

But problems casue by FlashBarService.apk .I think it can only be solved by rewrote this apk by someone
[Galaxy Note II Android Development] talhamid:
ITs OK, since a neat workaround is to start the first app you want to window and drag the second one on top of it. This opens up virtually any app for this function without having to add it to the bar.
[Galaxy Note II Android Development] YoungAceAtlanta:
Got it working, But there's a problem moving my apps that i want.. like a user said before when you pick the app you want to be installed it detects another app that you want to have in the bar.
[Galaxy Note II Android Development] goddamnit:
It's only work with the app located in first page .

So if you installed hundreds apk in your n7100 .. I can't help :D

Another options, you can delete data of com.android.sec.FlashBarService.apk

After reboot ,all app will add to flashbar .Remove one by one that you dun want .
[Galaxy Note II Android Development] DJChriZZ:
Hi there,

I using Wanam Lite Rom XXALJ3 V.1.2. Works fine .-) Thanks a lot
[Galaxy Note II Android Development] goddamnit:
** Error report with odex rom . So if you are using odex rom ,this is not suit for you **

** New one MAY work in odex rom .Anyone willing to try this and report ? Nandroid Backup 1st **

** After that ,delete /system/framework/services.odex and /system/app/FlashBarService.odex **

Update 2012 Nov 3 .

Mod flashbarservices again .

You can flash only FlashBarServices-MOD.zip if you have flash update @ 2012 Nov 2.

Update 2012 Nov 2 .

Fixed Random Apk issue ,now it can add any apk that locate in your system but not only 1st page.

All credits to 平海浪子 and ownhere

Please check your ROM firmware version first before flash .You can get firmware version @ the page you download your ROM

Choose one of them to install from OP ,by Recovery like CWM or TWRP ,for DEODEX ROM only

New LJ1 MultiWindow Unlimited for LJ1 base

New LJ3 MultiWindow Unlimited for LJ3 base

New LJ7 MultiWindow Unlimited for LJ7 base

AND ,you need to flash also

FlashBarServices-MOD.zip

*Nandroid Backup first .I only tested LJ3 with Omega 4*

*LJ7 tested by my friend ,work fine*

*Please report bugs ,or thanks :p*

--------------------------
[Galaxy Note II Android Development] kest874:
Works great on Omega 5 (LJ7)
[Galaxy Note II Android Development] goddamnit:
Mod flashbarservices.apk again.

You can flash FlashBarServices-MOD.zip to install this mod.
[Galaxy Note II Android Development] ial_ns:
tq for your work

it's works fine on wanamlite lj7 with the mod that you released on october

except bugs that explained on first page

but i flashed your mod again from today

now i dont have problem about add random apps things, but multiwindow only work like normal without mod. i mean multiwindow doesnt work with "unlimited" apps, just like stock did
[Galaxy Note II Android Development] Novek:
Ok... I have no problem adding apps (omega 5), opening them or such, but many of them refuse to open in half screen... Any idea as to why?
[Galaxy Note II Android Development] goddamnit:
Update 2012 Nov 3.2

Bugfix again ,I found that I miss something.

Flash v03.LJ_ MultiWindow Unlimited.zip with your firmware version.

Add 7105-LJ4 Support

v03.LJ4-N7105 MultiWindow Unlimited.zip included FlashBarService.apk ,do not need to flash FlashBarServices-MOD.zip

Bug report please leave message
[Galaxy Note II Android Development] dreamado:
Baseband XXALJ2 +Buildnumber XXALJ3

hi guys.

i have Baseband XXALJ2 +Buildnumber XXALJ3

how it works on my Rom?

many thanks
[Galaxy Note II Android Development] goddamnit:
Try LJ3 .

LJ2 is your baseband (modem)
[Galaxy Note II Android Development] dreamado:
ok Thanks...

i have Original Rom on my phone is only Rooted!

i dont sure how it works

how i most delete this 2 files and flashing FlashBarServices-MOD.zip ?
[Galaxy Note II Android Development] goddamnit:
If you have only rooted phone ,then I suppose you have odex rom.

I dunno if new mod could work in odex rom ,error reported @ last mod.

And since you ever dunno how to flash.

I would recommend you wait someone test it first .

And read some dr.katen post that explain cwm/recovery so you can flash mod,having nandroid backup and so on.

Regards
[Galaxy Note II Android Development] dreamado:
ok many thanks.

my rom is ODEX yes...

at moment i have installed Lennys Multi-screen and this work fine

Regards
[Galaxy Note II Android Development] goddamnit:
Hi dreamado ,

Since you have installed Lennys Multi-screen ,So you have recovery like CWM or TWRP installed ?

You may try following steps .

Nandroid backup first

Flash Mulitwindow Unlimited.zip

Flash FlashBarServices-MOD.zip

Boot into system ,delete /system/framework/services.odex and /system/app/FlashBarService.odex

Reboot ,if your phone hang on Samsung logo around 2 minutes ,restore your nandroid backup

Regards
[Galaxy Note II Android Development] amanx:
n7105 LJ4

Can we have the Multi Window support for n7105 LJ4 rom?:o
[Galaxy Note II Android Development] garykcliu:
Can I flash L7-Multi Windows and Flashbar over LJA ROM? your advice please...
[Galaxy Note II Android Development] dreamado:
yes i have CWM..

ok i make this steps now...

many thanks goddamnit

Regards
[Galaxy Note II Android Development] goddamnit:
Check OP ,
[Galaxy Note II Android Development] goddamnit:
Maybe ... always Nandroid backup first ,and your rom deodex ?
[Galaxy Note II Android Development] dreamado:
ooohhh noooo

dont work for me goddamnit!!

my phone hang on Samsung logo !!

Can wait

thanks and regards
[Galaxy Note II Android Development] goddamnit:
Maybe next time ,sorry for that :p
[Galaxy Note II Android Development] liqn7:
+1. For example, ezpdf, repligo reader, calculator etc all open in full screen only.

Just wondering is this normal despite being able to put the app in the flash bar?
[Galaxy Note II Android Development] goddamnit:
For me ,with v03 ,I can open calculator in half window (cannot show all) ,ezpdf for half (must open others first ,as ezpdf will try to open in full screen by default ?)

I do not use repligo reader so I can't test it.
[Galaxy Note II Android Development] emprize:
just flashed the new LJ4 file, but after that, i still cant add other apps, just like the stock one, any advice?
[Galaxy Note II Android Development] goddamnit:
hi emprize ,your rom deodex ?
[Galaxy Note II Android Development] liqn7:
Thanks for reply. Will give v3 a go. :)

Great to see a hk developer (from there myself ;)
[Galaxy Note II Android Development] garykcliu:
Thank you and it works on LJA ROM as well...
[Galaxy Note II Android Development] emprize:
no, stock from sammobile, i dont think LJ4 has deodex version yet

i tried just flash the zip, also tried remove both .odex files, same give me unmodified flashbar like default
[Galaxy Note II Android Development] goddamnit:
Right now I'm @ Hung Hom :p

I try to post this on a hong kong famous forum.

They think that I'm promise or something ?

They don't allow me to post ,I give up there lol .
[Galaxy Note II Android Development] mmorisa:
Works great on ARHD ROM ver 3.0

Thanx

Sent from my GT-N7100
[Galaxy Note II Android Development] emprize:
nice bro, Im from HK too, hope see more hk firmware base support from u