yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] THEDEVIOUS1:
ok, here's the thing...i've had a guy in the galaxy advance forum flash the ENTIRE framework folder from a similar device with working multiwindow and u would think with all the code/pieces matching it would have worked but we were basically getting the same error as if we only switched the same few files we had been. THEN in the 7.7 forums it's been reported that the mod works with a custom rom (that has had some note 8 files added ironically...exactly where the mod files come from) but will NOT work with stock deodexed so how else do u explain it?! There HAS to be some outside file calling/allowing/enabling multi window at least indirectly (almost makes u think the kernel rumors were true)...going with my own educated guess i've read that certain features can be enabled/disabled through csc which matches up with the fact that the early version of the "enable all apps in multi window" mod was done by altering the features.xml. I think this could be significant but again just a good guess...i'm currently combing through the P6800 roms to see why one would work and the other wouldn't. That MIGHT make sense if it were a port but it's just a modified stock rom...so ultimately the key to all this definitely lies hidden within those files and i plan on finding it

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

^ALL APPS CSC

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

^CSC FEATURES

http://developer.samsung.com/s-pen-sdk/technical-docs-09

^SPEN SDK LINK(which i'm sure you've seen but i said i would post it earlier)
[Samsung Epic 4G Touch] THEDEVIOUS1:
dpi

Well, i'm assuming by lack of responses that no one actually went through the process of changing the dpi to try to fix the systemui force close which is unfortunate because the mod COULD very well already be working and we wouldnt know.. [MENTION=3053298]Stryke_the_Orc[/MENTION] u have already seen the following link but i would like to repost it just in case it convinces another user to try

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

anybody who has made a SERIOUS attempt to get this mod working has had to have heard of the original poster [MENTION=4948919]xperiacle[/MENTION]....who is definitely the multi window master. Just in case it seems like i dont know what i'm talking about, the above link i believe is one of the first successful attempts to port this...the entire first post is worth a read but i would like to direct your attention to one line in particular which states "change the dpi to another value until you find the sweet spot. When it finally booted without systemui error, I know it finally worked"
[Samsung Epic 4G Touch] Stryke_the_Orc:
I have tried the dpi change to no avail, but it was your last post that got me thinking. I'm about to flash another test using the csc.apk and csc folders from a similar device to see if that has any effect. This is the one thing I had neglected to try before hand as they were very similar and just adding lines to ours had no effect. If this successfully boots then I'll try the dpi change within that ROM and report back.

You'll have to forgive me for the time between responses, life has been very hectic.

EDIT- Well, it booted, but it booted into a completely black screen. I could still choose what home launcher I wanted as long as I only chose the "Just Once" option, but nothing else displayed. This zip flashed and worked fine before hand, so it must be something in the csc.apk. Trying a clean install again from the el29 kernel istead of agat 1.3 to see if that makes any difference.

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] bilgerryan:
At any rate, I would like to thank you for trying to help us out on this
[Samsung Epic 4G Touch] shaikhsumair99:
Hey I think you are busy reply to pm please.

FROM THE UNBEATABLE

SAMSUNG GALAXY S ADVANCE.
[Samsung Epic 4G Touch] THEDEVIOUS1:
i definitely understand...real life comes first man. I've just been driven after finally finishing the mod for our device and want to help out the rest of u guys any way i can...i just wish i had the phone here in my hand, that way i could be a lot more "scientific" with the testing procedure. Couple of questions for u code junkies though...over in the galaxy advance forum we're having a flashbar force close issue with the logcat saying "unable to resolve superclass" (along with other errors). Does this mean anything to anybody and when i tried to have the user replace the phone.xml with the tablet.xml permission(to attempt floating window mode and get around the flashbar problem) he said his phone would blackscreen...any ideas?

I'm assuming you're using either the sprint note 2 or S3 csc files and if your flashing u set permissions in the updater script for the csc folder...also i'm pretty sure u wanna avoid booting into stock recovery because i think it overwrites the csc
[Samsung Epic 4G Touch] Stryke_the_Orc:
I've seen that once before, try using a different flashbar.apk, that's how I got around out without rewriting anything LOL. Yes I'm using the s3 csc files with custom recovery, I included it in an entire ROM so separate permissions shouldn't be necessary. The black screen has me confused though, and this flash wouldn't let me connect to Adb, so I'm sort of in the dark on this one. If anyone has any ideas I'm all ears:D:beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] THEDEVIOUS1:
i was just re-reading your post...u replaced BOTH the csc.apk AND the csc folder, right? and when u say that u could still choose which launcher i'm assuming that u are in fact NOT trying to use touchwiz home and that blackscreen means no statusbar or nav buttons which begs the question..how is the choose launcher dialog being activated? i'm again assuming that it's automatically popping up...i just took a look through the feature.xml of the sprint gs3 to see if i saw anything that stuck out & noticed that it DOES in fact have the multi window section mentioned in the above link which i'm not sure even means much because some devices(like mine) dont even have the features.xml at all. I would put together another zip but since u say u are flashing in a rom i want u to try something if u havent yet...replace the ENTIRE framework folder as well all files related to minimode(dont see any specific code related to the flashbar but it stopped working when i removed these files) & multiwindow (permissions,apk & jars...with or without csc but i'd try both personally) with the gs3 versions or the note 2 versions (again personally i'd do both) and let's see what happens

[MENTION=3053298]Stryke_the_Orc[/MENTION]

i forgot to mention...use the systemui from the gs3 or note 2 as well(do not alter any of the files)
[Samsung Epic 4G Touch] Mattix724:
What about trying to use some stuff from the international S2? Just borrow some files from a ROM that has working multiwindow and go from there.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I've attempted this before, Tdunham may have as well, it led to constant bootloops, but I've learned much since then, so it may be something i was doing wrong.

I think if I'm going to be robbing the S3 files I may as well just try to port the premium suite all together...

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] bilgerryan:
Hey Stryke, I just saw a MultiWindow Xposed mod-http://xdaforums.com/showthread.php?p=35473559
[Samsung Epic 4G Touch] Stryke_the_Orc:
Playing with this now, good news is everything boots after adding in the necessary files :fingerscrossed:

Unfortunately it doesn't work right out of the box, but this may be a huge help! Thanks for the find Ryan :beer::thumbup:
[Samsung Epic 4G Touch] Goddly:
gotta good feeling about it! ...do it , do it now!!!, (best arnold schwartz voice)
[Samsung Epic 4G Touch] THEDEVIOUS1:
I hate to be the bearer of bad news so hopefully this will help u guys progress in some sort of way but i don't want to see u waste too much time on a wild goose chase...that thread REALLY needs to be relabeled because its only a mod to enable non multi window ready apps NOT a fix for devices who do not have the feature and there is more than one user complaining about just that throughout the thread. In fact...it actually says as much in one line at the bottom of the post which states "Because of the wonderful xposed framework it should work on all roms that have the normal multiwindow control" which honestly still isnt all that clear...don't want to disappoint u guys but believe me when i said i read EVERY post of EVERY thread about multiwindow i wasn't exagerating(by much anyway...lol). Again, I just dont want to see progress held up even more after we have wasted so much time foucesed in the wrong direction as it is...like said earlier though maybe this will assist in achieving our goal in a round about way however
[Samsung Epic 4G Touch] tdunham:
So... has anyone checked FL16 for the existence of flashbarservice.apk yet?
[Samsung Epic 4G Touch] evo3d6:
I just downloaded been a long day will check
[Samsung Epic 4G Touch] tdunham:
So far, I've found 6 different flashbarservice.apk files. And from what I'm reading, they should come with the rom, even if multiwindow isn't necessarily enabled. It could be the missing link. ;)
[Samsung Epic 4G Touch] jlear3:
Awesome! Great news :beer::beer:
[Samsung Epic 4G Touch] evo3d6:
Actually tonight I will be calling early been running since 2a.m and its 11p.m now have to wake at 5 to start picking up family from the airport thanks to all working on this and if I dont see you before the holiday Merry Christmas hope all have a wonderful holiday filled with warmth. God bless
[Samsung Epic 4G Touch] Stryke_the_Orc:
I stopped getting permissions errors in longcat when I added minimode.apk, I think we're still missing some necessary xmls as it keeps attempting to open factory.apk

I could be wrong though...
[Samsung Epic 4G Touch] jlear3:
Merry Xmas evo3d.dont let Santana kill you. (if anyone's a futurama gan biiig orops)
[Samsung Epic 4G Touch] colonel.shepard:
None can be taken from Intl or att gs2?
[Samsung Epic 4G Touch] Stryke_the_Orc:
We've got all kinds xmls from the note2, S3, and S2. The problem is none of it wants to work with our phone
[Samsung Epic 4G Touch] colonel.shepard:
:'(

Maybe its not meant to be? But since fl16 is a port of the gs3 jelly bean it should right?
[Samsung Epic 4G Touch] Stryke_the_Orc:
All of the jb builds have been roughly the same, they've all had the capability for multi window, but from what TD and I have found there are packages that are rom specific that we just don't have.
[Samsung Epic 4G Touch] elijahbrown:
Have you checked fl 16? I think you will be pretty surprised at just how little file transferring you have to do.

Only thing I saw missing was your old friend flashbarservice

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yes I'm working on fl16 now, but there are still smali codes that don't match enough to know what's what.

Dont worry though, I haven't given up :p
[Samsung Epic 4G Touch] elijahbrown:
I'm thinking they are going to enable it for ota. That's the only reason I can think they are adding files.

You said you added mini mode apk. You mean minimode-res apk?

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yes, it wasn't included until fl16, but it was in every ROM that had working multi window across several devices

Edit- OK it was included in fk23, I don't know why it never showed in my system files :confused:
[Samsung Epic 4G Touch] Stryke_the_Orc:
LOL
[Samsung Epic 4G Touch] rockypr:
Good luck guys!
[Samsung Epic 4G Touch] colonel.shepard:
Is there an app that does the same
[Samsung Epic 4G Touch] Stryke_the_Orc:
Its possible, but I don't know. Try the play store and the development forums. I'm still working to get it as a mod.
[Samsung Epic 4G Touch] Goddly:
buzz kill.... ;)
[Samsung Epic 4G Touch] Stryke_the_Orc:
I had gathered as much when nothing was included LOL, but it does give us the option of the 240 dpi which is our devices dpi anyhow, so if I get this working using your methods and any other methods I can, we won't need to alter dpi for every ROM:D:thumbup::beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] shaikhsumair99:
Hello.

I am working on multiwindow in s advance we are having a flashbar force close every time as said by sto I had tested with all flashbar available in the forum but still it force closes everyone is welcome to help.

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

Link to thread I have posted this message here because this forum has only made the flashbar work.
[Samsung Epic 4G Touch] Stryke_the_Orc:
We got lucky and just found one that worked without having to change it, if none of these worked for you we'd need a logcat to be able to even begin to identify the problem. In my experience those kinds of fc are usually related to the window manager method in android.policy.jar. Phonewindowmanager.smali to be more precise. I'll help as much as I can, but I can't guarantee anything.:beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] shaikhsumair99:
Which files we have to modify tell me I will give you those files from s advance.

You can tell me the method how-to.

Beacause I have tried several methods but they dosent work for me.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'd really need your logcat to know for sure, but at a guess I'd say android.policy.jar and systemUI.

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] shaikhsumair99:
http://db.tt/Dm0SPChk

Here's the logcat

http://db.tt/JrQNxhZ9

Here's the s advance system ui and jar files hope we can just make appear the flashbar.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'd like to apologize to everyone, I'm going through a tough time right now, personal issues and I got laid off today. I'm going to take some time to sort things out and will continue development when I can. Thanks for understanding:beer:

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] bilgerryan:
That sucks man, hope you get back on your feet.
[Samsung Epic 4G Touch] krazy_smokezalot:
No need to apologize sh!t happens bro. We understand but curious and no I didnt read but have you guys made any progess just curious bro. Hope you find something soon!:beer::beer::beer:
[Samsung Epic 4G Touch] Stryke_the_Orc:
At this time there is nothing new to report aside from xposed module may be used in conjunction to get this working for our device.

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] swift2989:
Life before anything else bro been there.... You will find something quick :thumbup: good luck man

Use this link: https://copy.com?r=7PeCci when you signup to copy.com so we can both get 5GB free!
[Samsung Epic 4G Touch] shaikhsumair99:
Take your time bro but just inform me when you're back.

Thanks.

Hey xperiacle has posted the method to port multiwindow on my thread.
[Samsung Epic 4G Touch] shaikhsumair99:
Bro have you ever been modified you Framework2.jar
[Samsung Epic 4G Touch] Stryke_the_Orc:
I have, I've also modified the minimode.apk and several others at various points in time.

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] THEDEVIOUS1:
FLASHABLE ZIP HELP!!! new test version

ATTN: ANYONE READING THIS WHO CAN HELP....CAN SOMEBODY PLEASE CREATE A PROPER FLASHABLE ZIP FOR US SO WE CAN COMPLETE THIS PROJECT!!!

my system is apparently broken and all of my zips are coming out bad...i've checked notepad++ & winrar settings and i'm sure it's something simple but at this point i'm tired of wasting time trying to figure out because it's holding up progress. Thanks in advance to anyone who can be of assistance...i will make sure to give u proper credit in any thread that i create

[MENTION=3053298]Stryke_the_Orc[/MENTION]

I just finished up a floating multi window mod for the galaxy grand and i'm pretty sure the galaxy advance version is also complete but as i stated above i'm having a zip issue so its holding up progress...i said that to say that i would like u to try this system ui below to see if it will boot for u guys. U will most likely need to install xposed along with the app setings module in order to get it functioning properly (u may experience system ui force closes at first but like i said earlier in the thread changing the dpi solves that)

install intructions (may need to change the numbers since u have a smaller screen and lower resolution but these worked on the grand)

1-install xposed framework along with the app settings module

2-set "android system" and "system ui" dpi to 130 (it may work with other dpi) & set "android system" resolution to 600x1024

3-set dpi in build prop to 240 and add the line qemu.hw.mainkeys=0 to the bottom the of file

4-u can try this entire zip but i'm sure its broken....all i want u to do now is pull the system ui by itself and manually install through aroma/twrp. If it doesn't boot with ONLY the system ui then go ahead and copy ALL files manully and see what happens

oops...forgot the link (i see u beat me before i caught it...lol)

https://docs.google.com/file/d/0B7yxeu9x48ILVzJPSTlzZHRJazQ/edit?usp=sharing
[Samsung Epic 4G Touch] Stryke_the_Orc:
Ok, but I don't see a link or attachment ;)
[Samsung Epic 4G Touch] Stryke_the_Orc:
Still a no go. I'm still trying to port over the premium suite, with minimal success (it bootloops now as opposed to freezing at splash screen) so with any luck that may hold some answers for us.
[Samsung Epic 4G Touch] THEDEVIOUS1:
system ui bootable?

Since i've been having some success with this across multiple devices lets start simple...see if your phone will boot with the systemui i've attached below. Also i just realized that i never tried my original method with the galaxy S2 files assuming that they have been used before but not taken into consideration that they were probably never flashed unaltered or in the same combo...i may package up something soon but hopefully this gets us on the right track

View attachment SystemUI.apk

^TRY 1ST

View attachment 2SystemUI.apk

^TRY 2ND (remove 2 of course)
[Samsung Epic 4G Touch] bilgerryan:
Well we found a little thing called Sprint Phone Info that *may* be causing some of the problems (device administrator that "enforces device hardware limitations" among other bad stuff) and we know how to remove it now. Fingers crossed that it helps on this endeavour.
[Samsung Epic 4G Touch] comptonhubbard:
got my toes crossed too....I tried crossing my eyes but I got a headache.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Got a few projects for school to take care of then I'm all over this;)

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] bilgerryan:
:what:
[Samsung Epic 4G Touch] jdsingle76:
Hey, bil, that's my line and pic! Lol..
[Samsung Epic 4G Touch] bilgerryan:
Lol, just found it on my sd, didn't remember where it came from.
[Samsung Epic 4G Touch] tdunham:
Just for fun I just ported over an entire SII i9100 stock 4.1.2 rom. It looks like we might get a working multi-windows one way or another. ;)

Edit: Quite a bit of the rom works but no mobile data. It's looking for a sim card. Bummer. LOL
[Samsung Epic 4G Touch] Goddly:
lovely
[Samsung Epic 4G Touch] mlock420:
I want multi Window bad as h3ll!
[Samsung Epic 4G Touch] bilgerryan:
Put a tooth under your pillow
[Samsung Epic 4G Touch] tdunham:
Well, look at that. Working multi-windows on an E4GT. :)

(From a US variant of our phone this time. Different ported ROM.)
[Samsung Epic 4G Touch] Goddly:
no service.... :(
[Samsung Epic 4G Touch] tdunham:
Yeah, this one I could probably get working. There are some other things that need to get done when porting this type of thing.

Give me a break, I only spent like 10 minutes on it. :p
[Samsung Epic 4G Touch] Goddly:
lol, im not pushing, just stating the obvious ;) good work
[Samsung Epic 4G Touch] Stryke_the_Orc:
Awesome! Just out of curiosity what ROM did you end up porting to get it working?

Edit- Rather, which variant?

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] tdunham:
AT&T XXLSN Stock deodexed based rom by Shoman94.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Lol figures, I didn't try any of the s2 variants because they were all ports from other devices. Great job TD, much appreciated:beer::thumbup::D

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] egzthunder1:
/me starts slow clapping...

I knew that it would pay off to still follow this thread :) i don't miss my e4gt a whole lot but i can't help but to kick myself in the head for not being able to try this myself...

Job well done fellas... I now have a long overdue article to write about this project :)
[Samsung Epic 4G Touch] Stryke_the_Orc:
Now I'm gonna have to diff the roms and see what sprint did to block this for us. I'm interested to know what held us up this long:sly:

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] THEDEVIOUS1:
Awesome...the port functions properly which makes me wish i had tried my original method which i'm almost certain will work at this point. Never attempted to use the S2 files because i assumed u guys had already tried every combination but i guess i should have first since u were trying to alter the code instead of using them pure...take the UNALTERED framework-res.apk, framework.jar, framework2.jar, android.policy.jar, services.jar, systemui, multiwindow.jar, twframework.jar, twframework-res.apk, minimode-res.apk, minimode.jar (may not need the last 4 files but try with them to elminate the possibility) and ALL related permissions files from the ported rom and stick them in your stock device and hopefully u will be good to go

[MENTION=1042140]tdunham[/MENTION]

if u plan on getting the ported rom fully functional then u probably have bigger fish to fry (like fixing the network) but if u find the time try to use the systemui from post #1199 and delete phone.xml (may need to add minimode_tray.xml...attached below just in case) and should have a pleasant surprise although i'm not sure how practical it would be on such a small screen

View attachment com.sec.feature.minimode_tray.rar

^MINIMODE_TRAY.XML (extract and set perms)
[Samsung Epic 4G Touch] hazedabeast:
took everyone about a year but took tdunham 10 min.:laugh:genius!!:eek::cool::D;)
[Samsung Epic 4G Touch] graydiggy:
Outfriggistanding!!! :beer:
[Samsung Epic 4G Touch] Stryke_the_Orc:
The difference in the methods is why though. We were trying to get it working natively vs porting an entire ROM.

Adding the supporting code to get it native is a bit more involved. I'm still going to try for this if TD doesn't manage it first, so that it can be flashed to any ROM we currently have rather than making entirely new ones based on the ported ROM.

Slithering from the nether regions of a twisted mind and tarnished soul
[Samsung Epic 4G Touch] hazedabeast:
Ooooh but wat TD did would it help u with wat ur doing now.
[Samsung Epic 4G Touch] Stryke_the_Orc:
You're damn right it will! LOL

HUGE props to TD for that, it's one avenue I never went because I was so focused of native support. Now he's got me thinking about another method, and The Devious One has got a ton of files to play with here.
[Samsung Epic 4G Touch] hazedabeast:
The international s2 got it officially right?
[Samsung Epic 4G Touch] mlock420:
Lol