yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] Samsung Fanboy:
Happy Birthday!

Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] jred7o7:
Wow guys this is pretty amazing thanks so much for all development. You guys are really keeping this device alive! I cant stress how nice it looks (screenshot below) cant wait to actually get it to work.

I can open 2 apps but all I see is a border which I can adjust, but then screen goes black and I get FCs. Ive got to say though this is amazing to how far you guys have gotten. Keep up the good work and let me know if you guys need any testers or anything im open. Again thanks for everything guys. I think this and an updated jellyverse GA10 would be awesome.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Thats where I've been stuck for a while now LOL, one method just doesn't want to work:banghead:
[Samsung Epic 4G Touch] Goddly:
Thought TD had it working on his ET4G, running kobridge ROM?
[Samsung Epic 4G Touch] Stryke_the_Orc:
On his phone maybe but if he does he's the only one LOL
[Samsung Epic 4G Touch] Goddly:
Lol... Sweet. Gotta be getting annoying for ya stryke. So close, and yet. You guys will get it

:D
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah, you aren't kidding:p
[Samsung Epic 4G Touch] jred7o7:
Hmm I wonder if TD has some secret file we dont know about lol.
[Samsung Epic 4G Touch] Goddly:
Oh I'm sure there's more than one on his phone. Lol "The Mod Master Himself". :D
[Samsung Epic 4G Touch] jred7o7:
Damnit. If we could just get a hold of his phone and look at all the secrets on there. Our phones would be amazing! Lol oh well im not complaining I feel stryke is on the brink of figuring this mod out.
[Samsung Epic 4G Touch] tdunham:
Ok, somebody educate me on how this is supposed to work. I haven't had much time to research the whole thing for multiwindows to see how it actually works. Just thought I'd see if I could get it going.

BTW, I'm still fighting with services.jar edits at the moment so no luck getting it fully working yet.
[Samsung Epic 4G Touch] Goddly:
Lol. Stryke's been there ... ;). You guys will get it. As far as knowing how multi window works. I know nothing...
[Samsung Epic 4G Touch] Stryke_the_Orc:
I don't think any of us really do LOL but we'll figure it out:thumbup:
[Samsung Epic 4G Touch] elijahbrown:
Same functionality that we have, but you should be able to drag a second app that fills the top or bottom half of the screen, displaying both apps simultaneously. Split screen style.

Oddly enough, I get no FCs, just when I drag the second app it fills the whole screen and confuses the hell out of recent apps manager.

I'll see if a logcat shows anything on my end.

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah I just meant code wise
[Samsung Epic 4G Touch] elijahbrown:
Yeah mighT help if any of us were java programmers instead of a bunch of hacks. :rolleyes::D

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] BluesRulez:
Someone say java!? Now don't get hopes too high up but I will try. I am going to college and thats what we are learning..

So if someone would be kind to send me the files and all the java code, I will look at it. Infact if its all code, I can look at it right now.
[Samsung Epic 4G Touch] Stryke_the_Orc:
OK, here's the files I sent to td. http://d-h.st/wj9

The problem is in two particular files

Quoted from my message to td-

Don't flash it (not that I expected you to) because the updater script is wrong (from before you and Ko helped me figure those out lol)

The two files that seem to be the issue are located in android.policy.jar/smali/com/android/internal/policy/impl/multiwindow/MultiPhoneWindowEvent

and

multiwindow.jar/smali/android/sec/multiwindow/MultiWindowManager

The errors I recieved were

I/dalvikvm( 7911): Could not find method android.sec.multiwindow.impl.MultiWindowManager.isFullSize, referenced from method com.android.internal.policy.impl.multiwindow.MultiPhoneWindowEvent.isFullSize
W/dalvikvm( 7911): VFY: unable to resolve static method 595: Landroid/sec/multiwindow/impl/MultiWindowManager;.isFullSize (I)Z
[Samsung Epic 4G Touch] BluesRulez:
ok so no one that we know of has tried to open .jar files?
[Samsung Epic 4G Touch] Stryke_the_Orc:
OK, got one more try for the night before my eyes bleed LOL, will report back:thumbup::beer::D
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah, I've opened and modded android.policy, and have decompiled multiwindow.jar as well.

I've been tearing through them for a while LOL

Edit- Attached zip of only those two files for you blues, not sure how much it'll help but thank you for taking a look:D
[Samsung Epic 4G Touch] Stryke_the_Orc:
Nothing new, same errors:banghead:
[Samsung Epic 4G Touch] BluesRulez:
I am at work so gonna need to get home to get to the .class files..

Unless someone has a solution for me. I can't install anything on my work pc.
[Samsung Epic 4G Touch] tdunham:
I'll post the corrected smali files I've done tomorrow so everyone is up to date.
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
I know where the error is originating but I'll be damned if I can figure out wtf is causing it :banghead:

I like to break stuff! :D
[Samsung Epic 4G Touch] tdunham:
Here is the guide I am following. You can download the original files there.

http://xdaforums.com/showthread.php?t=2024227

I know there are many but I've found that the i9100 SII LSJ build code most closely matches our 4.1.2 JB. Please note the simplicity of the instructions. It looks pretty straightforward but the problem is that it is not universal and there is no hint that the included source files need to be altered if you plan on using it with another build. This is pretty much across the board with all guides that have been posted for this mod.

I've searched through and changed nearly a dozen files in android.policy.jar and services.jar so that the framework values match.

For those of you that don't know, in most apk's there is a file in res/values/public.xml that contains the converted hex values of all id's, drawables (images) and strings. The values are like shortcuts that represent a picture or line of text etc. Attached are the changed source files for both android.policy.jar and services.jar.

What I did:

I took source GA10 framework-res/res/values/public.xml and source i9100 LSJ framework-res/values/public.xml, set them up side by side and searched through every smali file for any occurrences of values that might match the LSJ framework-res and changed them to a matching value for the GA10 version. It's kinda tedious but has to be done. If even one value is incorrect, the phone will probably bootloop; especially where framework files are concerned.

Ok, now to the nitty gritty... Multiwindow is not fully functional without the services.jar changes. Every mod out there has a changed services.jar so I'm pretty sure it's necessary. I finally narrowed it down and there are two files that are included in the mod that will cause the phone to bootloop if the changed files are included:

ActivityManagerService.smali

MultiWindowManagerService.smali

Unfortunately, ActivityManagerService is huge, nearly 80,000 lines of code.

If you don't have it already, please download my flashable version of the LSJ multiwindow mod. It does not include the changes/fixes (and services.jar is missing too) I was talking about earlier but it does include all the files necessary and I went through the trouble of manually setting permissions for every file that is included via the installer script. So this installer should be good to go, just insert your changes as you test. GA10.FL16.Multi.Window.zip

If anyone makes any progress even a minor one, finds anything out of place or has any questions that may help forward this project onward, please post in open forum so that we may all benefit. ;)

Good luck - TD
[Samsung Epic 4G Touch] Goddly:
Thanx for the work so far TD. We definitely have the best and brightest on this project! I can't help you guys too much. I'd be the guy you send to buy you a coffee.. Lol but I'll be the first to show my respect and admiration.
[Samsung Epic 4G Touch] elijahbrown:
As far as I know, the only reason for the patched services jar is to allow ALL apps to work in multi window. Default functionality is only a select few apps are compatible. Mainly default system apps.

I don't know if it might be easier to start with the dumbed down version first.

As far as public.xml, you used the hex values already existing in ga10? Or did you swap files, compile, decompile and use those values? If not might be worth a long tedious shot

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] jred7o7:
Hey TD I tired to flash the multiwindow LST file you attatched to your post but it keeps giving me an error. I tried flashing in EL29 and EL26. Is there a specific way you are supposed to flash the file. Again thanks for you hard work TD.
[Samsung Epic 4G Touch] Goddly:
Its not working as of yet. Should have put that in caps on the top.. Lol. He's been working on it, and since its a collective effort he shared what he has gotten done in hopes someone can improve on his work..... Again.... Not a working mod....
[Samsung Epic 4G Touch] Stryke_the_Orc:
That was my understanding of the services as well, you'd think if they were absolutely necessary I'd have more than just one error in logcat:confused:
[Samsung Epic 4G Touch] jred7o7:
Lol sorry I guess I was just over excited I didnt read it carefully. What should we pick apart and contribute?
[Samsung Epic 4G Touch] elijahbrown:
Depends on what's within your abilities. You obviously already have the files used.

I can tell you that bug reports probably aren't needed at this point, unless you want Stryke to jump off a roof.

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] juan91:
I was trying out the AOSP 4.2.1 rom a few days ago and I noticed that the "dream" state came in that rom and there's an apk file in that rom. I dont know if me bringing this up is of any help :) :beer:
[Samsung Epic 4G Touch] Stryke_the_Orc:
Do you still have the zip or a link?

Nvm, I just saw the title bar from your pic:thumbup:
[Samsung Epic 4G Touch] Stryke_the_Orc:
Our smali files are drastically different than those in the guide. Different devices, different carriers. Who knows how many people added and deleted and whatever else to those files:sly:
[Samsung Epic 4G Touch] juan91:
Any luck? :)
[Samsung Epic 4G Touch] Stryke_the_Orc:
Just packaged it up going to test now:beer:
[Samsung Epic 4G Touch] Stryke_the_Orc:
That didn't work lol almost bricked me. Stuck at splash screen and wouldn't go to recovery or download until battery pull then wouldn't install any zips. I had to odin back to the original tar :banghead:
[Samsung Epic 4G Touch] juan91:
:eek:

plan c? lol
[Samsung Epic 4G Touch] Stryke_the_Orc:
Start from scratch lol
[Samsung Epic 4G Touch] juan91:
do you need "dreams" for multiwindow to work?
[Samsung Epic 4G Touch] Stryke_the_Orc:
No I just thought it was cool
[Samsung Epic 4G Touch] juan91:
Hmmm what about if u just try installing the apk itself?
[Samsung Epic 4G Touch] Stryke_the_Orc:
Worth a shot but my guess is you need the framework edits to get it running
[Samsung Epic 4G Touch] evo3d6:
Yes need framework its going to take finding the right combo of scripts to run and compairing notes I am tearing down the scripts used to port over to the s2 but theres alot of lines to look thru like said earlier we dont know whats been tampered with and what not I got the notes apk file and compairing to get a idea of what was changed and what not.
[Samsung Epic 4G Touch] juan91:
Im still new to this hehe :p I have no clue on how to do that

---------- Post added at 04:54 PM ---------- Previous post was at 04:52 PM ----------

What about the 4.2.1 rom, it works there... is there any way to mimic it on other roms?
[Samsung Epic 4G Touch] Stryke_the_Orc:
The problem is that that ROM is based entirely on source, these roms have touchwiz ingrained so deep we'd have nothing left if we took it out. We need to figure out what coding is going to work for touchwiz :beer:
[Samsung Epic 4G Touch] juan91:
Oh I see :) hey thanks for taking the time to explain hehe :thumbup:
[Samsung Epic 4G Touch] Stryke_the_Orc:
OK update, I've got a fresh mod together, I'll give it a go tomorrow but now I've got to catch some sleep for work :beer:
[Samsung Epic 4G Touch] elijahbrown:
Did you try anything different from the tutorial?

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] Stryke_the_Orc:
I've got two zips, one with their files that overwrote ours for services and one with our files plus the additional files they provided, going to flash back to a deodexed rom now and try them.
[Samsung Epic 4G Touch] evo3d6:
So howed it go?
[Samsung Epic 4G Touch] evo3d6:
I'm currently looking at the download I got from td and will post a couple of things that may help getting it working. After I finish helping getting this going I will not be doing any work on the efgt I have a lot of people here that have worked with me for the past year or so and I will be in contact as for anyone else this is my farewell its been fun THANK YOU for all your support thru my ups and downs. God bless:beer: I will also be donating the phones I have left over that my friend (the Sammy guy) will be returning to me I already have a idea who will put them to good use.
[Samsung Epic 4G Touch] Goddly:
:what: all of a sudden eh?
[Samsung Epic 4G Touch] tdunham:
If that's a choice, bring beer, sell some tickets and video tape the event. Now all we need to determine is what he's going to be jumping into. ;)
[Samsung Epic 4G Touch] evo3d6:
I'll be in and out I'm sure since my wife will still have one she says she'll finish me off if I get rid of it:eek:
[Samsung Epic 4G Touch] Stryke_the_Orc:
A bottomless pit and the doghouse if I continue to obsess LOL
[Samsung Epic 4G Touch] tdunham:
Ok, I'm about to jump over to SIII android.policy files. But before I do, is anything semi working even if you get FC's? Stryke, your SIII files maybe?
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah, the files I used seem to work up until you try to open the second app. The first app opens and runs beautifully, once the second is dragged to the screen, the screen splits, goes black and will fc whatever app was opened last.
[Samsung Epic 4G Touch] tdunham:
Ahh, perfect. I missed some edits in the LSJ one I posted anyway. Just modded the S3 files, wish me luck. :)

---------- Post added at 07:30 PM ---------- Previous post was at 07:22 PM ----------

Ok, still missing something. Which guide are you using Stryke?

Update: Ok, got a little further using the flashbar apk you provided stryke. Edit works but I'm not sure what I'm supposed to do with the apps that get dragged over. Still no split window. Which apps should I try. The transparency is pretty annoying in the flashbar though. ;)

Update2: Ok got a couple of apps, Sprint Music and Sprint Hotspot to show a split screen while they get dragged over. No force closes now btw but they won't (or cannot) run in a split window I think. So I get each one of them full screen.
[Samsung Epic 4G Touch] evo3d6:
Is this what yours looks like?
[Samsung Epic 4G Touch] tdunham:
It should, its going to be a few minutes before I can confirm. I have gotten into the habit of forcing permissions on EVERYTHING I flash in JB through the installer script because it's so bloody finicky.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I used gmail and youtube as they are supposed to be supported natively
[Samsung Epic 4G Touch] Stryke_the_Orc:
Mine looks like this
[Samsung Epic 4G Touch] tdunham:
Yes, my permissions are fine. Same as this screenshot.
[Samsung Epic 4G Touch] evo3d6:
Ok well let me know I'm kinda going in and out while we're driving headed home I'll send what I have to you when I get there
[Samsung Epic 4G Touch] Goddly:
OK, just out of curiosity, multi window apk modifier for windows is supposed to make many apps usable in multi window. Not saying it will work here, but maybe you can see what, or which files get changed to get them working.
[Samsung Epic 4G Touch] tdunham:
Ok, I see the force closes now. It's the apps themselves at this point. They begin to display split screen then they both FC. I wonder if I missed an edit somewhere. I wasn't being too careful with the edits. ;)
[Samsung Epic 4G Touch] Stryke_the_Orc:
Way ahead of you LOL, it requires edits to android policy to use the app, even then it only acts like my mod to context aware where you select the apps that are displayed
[Samsung Epic 4G Touch] Stryke_the_Orc:
Run a log and you'll get the error about the static method I've been seeing for the last month lol
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
That GD error is gonna make me punch myself in the face. It probably doesnt help that im running an EMU to test, but still. I cannot for the life of me find what is throwing the error, just where its originating. And I can't find anything "missing" when compared to active MW on my note 2. All the files appear to be in place and intact but something isn't happy in there and its making me want to faceplant into a bowl of razor blades. I guarantee when one of us figures this out I'm gonna facepalm so hard I'm gonna have to go get stitches.

I like to break stuff! :D
[Samsung Epic 4G Touch] Sherbon26:
I am not a dev by any means but have started looking at alot differnt decompiled apps and framework and for some reason just the name alone minimode-res.apk sounds like it would play a major role in this mod! But I am so noob I make noobs look like pro devs lol
[Samsung Epic 4G Touch] BluesRulez:
Both files that you are having issue with has no code. Screenshots attached. Not sure if you already knew this..

https://www.dropbox.com/s/uyo36lphnuy805m/MultiPhoneWindowEvent.png

https://www.dropbox.com/s/63b3tk4h7avmf6p/MultiWindowManager.png
[Samsung Epic 4G Touch] Stryke_the_Orc:
LOL welcome to my world :D come join the party

:beer:
[Samsung Epic 4G Touch] Stryke_the_Orc:
I thought so at first, but it really doesn't appear to
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah those were only the specific xml files, boot classes should be in the apks in the zip I linked in the same post
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Well looks like I get to rebuild my EMU since something I just did caused mine to suicide on me :rolleyes: guess I shouldn't have clicked run live view after removing kernel modules and not replacing them :banghead:

I like to break stuff! :D
[Samsung Epic 4G Touch] Stryke_the_Orc:
Bummer bro :(
[Samsung Epic 4G Touch] BluesRulez:
You mean FlashBarService.apk and SecSettings.apk?

Also can some one get me the services.jar and android.policy.jar files from a working rom with multiwindow?
[Samsung Epic 4G Touch] Stryke_the_Orc:
Umm, there should have been android.policy and multiwindow jars in there as well...

Please tell me I uploaded the right zip:confused::banghead:
[Samsung Epic 4G Touch] BluesRulez:
So the jar files are from a working rom with multiwindow?
[Samsung Epic 4G Touch] Stryke_the_Orc:
No those ones are mine, I'm uploading the working ones now and will post the link:thumbup:
[Samsung Epic 4G Touch] Stryke_the_Orc:
http://db.tt/rEouMEki

Named bluesfiles so I'd upload the correct zip lol

These are from a working note 2 rom
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Lol tell me about it! I was trying to remove modules for the n2 and s3 EMUs and accidentally got at least 1 for the s2 which caused the EMU to suicide (lockup then crash and refuse to open) luckily I had made a .bak of the live EMU so now I just need to remove the n2 and s3 modules and NOT any s2 :eek: would make it alot easier if some of these file names werent so damn similar

I like to break stuff! :D
[Samsung Epic 4G Touch] tdunham:
Ok, are these the same files you sent me because I'm stuck finding a value and I need to know what source this came from? I need the framework-res.apk for that EXACT build.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah, you aint kidding. I have so many files that just have numbers after them in apktool its not even funny LOL (android.policy37.jar :D)
[Samsung Epic 4G Touch] Stryke_the_Orc:
No the files I sent you were from the i9100 I believe, the ones i just uploaded were from a working note 2 ROM I was using to compare.

So which framework do you need, my files or the notes?

Edit - nvm, I read that wrong, give me a second to dig it up and I'll send it your way:thumbup:
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Im trying to see if this error is coming from something kernel related cuz for the life of me I cant find anything in the system files that would cause it. Which leads me to believe theres something failing at a kernel check, possibly a module used to allow app scaling or something similar. Watch its gonna be some stupid true/false value I missed somewhere or an if > then statement and I'm gonna go ape**** for being so damn stoopid

I like to break stuff! :D
[Samsung Epic 4G Touch] tdunham:
They sure look like maybe S3 multiwindow files.

It was this link:

http://d-h.st/wj9
[Samsung Epic 4G Touch] Stryke_the_Orc:
they might be, to be honest, Ive used so many...
[Samsung Epic 4G Touch] Stryke_the_Orc:
It's got to be the S3 files, they are the newest that I know I tried playing with, however I only have the jars on my pc. I think I dl'd to my phone at work and only extracted those files:crying:

Sorry TD :banghead:
[Samsung Epic 4G Touch] evo3d6:
This may help aswell

https://www.dropbox.com/s/stayf7kojpeqds0/MWControl.apk
[Samsung Epic 4G Touch] BluesRulez:
Allright will get a chance to look at them when I get home. Hopefully those 2 classes have some code and not just show internal error/no code.
[Samsung Epic 4G Touch] evo3d6:
On my last post seems that apk is in most of the working roms with multiwindow it may have to be altered not sure at this point
[Samsung Epic 4G Touch] Sherbon26:
Installed MWControl.apk says it installed doesnt do anything pushed to system/app changed permissions still? still fc on second app selection on MW
[Samsung Epic 4G Touch] Stryke_the_Orc:
This does the same thing my mod for the headphone apps did, allow you to choose which apps you see in the pane, nothing more. It needs edits to android policy services and framework res to work.
[Samsung Epic 4G Touch] Stryke_the_Orc:
It will be useful once we can actually get mw working:D
[Samsung Epic 4G Touch] Stryke_the_Orc:
Also, spent the last couple hours digging in virtually every apk related to running the os, I have all matching id's for mw related files with stock files for ga10, these even correlate with the files I pulled and added to my version of mw. So this leaves me with only the .isFullSize static method that fails, again. Nothing seems to trace to that call out except for opcode 0x71 (which is in core and is the code for static methods) so the only thing I can think of is to write that method into multiwindowmanager.smali (which I've tried before with no success)

I'm stumped:banghead:
[Samsung Epic 4G Touch] BluesRulez:
Anyone knows if Note2 or GT-I9100 calls .isFullSize method when running multiwindow?
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yes, however the files that call it (the two I linked earlier) are identical across all devices, right down to line numbers.
[Samsung Epic 4G Touch] BluesRulez:
So if someone were to do a logcat like you were doing (and showing the errors in red), we would see .isFullSize called but no errors?
[Samsung Epic 4G Touch] Stryke_the_Orc:
The only errors related to mw would be these ones,

The only exception from before today is the resource errors, I didn't have those before I started adding files again
[Samsung Epic 4G Touch] Sherbon26:
Multi-window Apps?!?!?!?!

http://xdaforums.com/showthread.php?t=2039710

Ok so someone made a comment about face palm earlier well this may be it....going to test now but will be back very shortly with answers!:fingers-crossed:
[Samsung Epic 4G Touch] Stryke_the_Orc:
And that failure to gain entry code is a id for apktool_dummy in framework-res/values/public.xml :confused:
[Samsung Epic 4G Touch] Stryke_the_Orc:
Going to test what? :confused: