yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
thanks bro thats exactly what i need to know...i will put togethor another zip which contains the rest of the files needed for the mod and hopefully the fix will be that easy for u guys (probably not though...lol). Just so we're clear... the flashbar (which appears at the side of the screen when u long press back) & the mini apps bar (which appears at the bottom) are 2 different things. What this mod will do is convert the bottom bar into a multiwindow launcher...what u should have seen was an arrow on the navbar (where your home & back buttons are). Press that and see if u at least get the miniapps/multiwindow tray pop up...i'm also assuming that the other buttons work as well? Also..the version of the mod we're using

will NOT mke any changes to "settings/display" since it's dependent upon a file that we dont need

most likely it's a permissions issue...i strongly suggest suggest a manual install using TWRP

View attachment I717MultiWindowTest2.zip

^TEST2 (try this one first...i've changed the permissions in both zips so they SHOULD be good but nothing beats a manual install)

https://docs.google.com/file/d/0B7yxeu9x48ILYVY2MXlKU3c2VDQ/edit?usp=sharing

^TEST3 (this version may bootloop...please be sure to backup your device before u begin)

[MENTION=2153182]scariola[/MENTION]

based off of your report...test 2 should get most of the multiwindow functions working but it is still missing 2 files (trying to change as lil as possible & eliminate bootloop). Test 3 should be the magic fix IF it even boots...it contains framework files which may cause it to loop and is also the reason why the file is so much larger (the reason for the google drive link). Either way...somewhere in the middle is the magic spot for u guys so if u are willing to help me find it i think we could have a V1 up in the next day or so.
[AT&T Samsung Galaxy Note I717] scariola:
Your TEST 1 zip actually does place all files and permission and flash correctly.

my bad on thinking otherwise.

I didnt think the DPI change was necessary,

well theres that stupid mini-app button you were talking about.

Doh!

I also have a constant multi-window seperator. Just the grey bar no buttons, it is draggable but apps take over the whole screen and its on every screen.

The draggable apps from the mini-app bar show a light blue seperated when dragged over the screen correctly like they frame the half screen, but again take up the whole screen when dropped. This has been regarding TEST1.zip

TEST2 and TEST3 DO NOT flash in TWRP recovery. (error executing updater binary in zip, error flashing zip. So I placed said files to their locations from TEST2.

Now heres the interesting part...

Your android.policy.jar from TEST2 causes a couple things. The clock is now centered in the status bar, dont care about that. Trying to reboot the phone from power button will cause a hot reboot or full reboot for the long press, where the reboot menu should be. The quick press of power button still works to turn ON/OFF the screen with no problems though.

Good news is...

That same android.policy.jar file from TEST2 makes multi-window working and they are separated correctly like normal multi-window from the mini-app bar arrow. 2 apps running like they should, re-sizing correctly too. Some instability with a couple apps crashing when trying to open in multi-window, but most work.

Still have the constant multi-window separator over all screens though.

Haven't gotten to TEST3 yet but will report back.
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
at this point test3 is not a priority but i still would like u try it and post the results so i know exactly whats going on...the zip attached below should be the working combo but that bar in the middle of the screen may still be an issue is usually a sign of the flashbarservice.apk being present so if u have it installed please delete (it could also be mismatched framework files which should disappear with test3 if u try) . Also...what dpi did u set your device to?

View attachment I717MultiWindowTest4.zip (I also found the issue with not being able to flash....should be good to go now)
[AT&T Samsung Galaxy Note I717] scariola:
Under system/app I have FlashAnnotate.apk and FlashAnnotateSvc.apk, tried removing both and rebooting to no effect of getting rid of the stagnant grey bar.

Replacing framework.res.apk worked on TEST3, no notable changes to anything previously stated. Replacing framwork.jar, framework2.jar, services.jar causes to hang on bootanimation.

I actually tried both 213 and 160 DPI. 160 causes tablet mode and gives me a screenshot button next to the mini-app bar button where-as 213 was just enough to actually see the mini-app bar button, but no screenshot button.

The latest attachment you tried to post gives me an invalid link, for what might be TEST4.
[AT&T Samsung Galaxy Note I717] developweb:
Sounds like you almost have this licked. Blackjelly has the framework for multiwindow installed so can I replace some files using one or more of your test attachments and give it a try? Or just stand by to avoid confusing things?
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
just so u know...the framework-res.apk can be replaced by istelf but u must replace all 4 at the same time in order for your device to boot with the other jars (still doesnt mean that it's guaranteed to boot but it definitely wont without the main framework file to match if u get what i'm saying). Anyway...forget about test 3 for now and retry the download for test 4 which should be our V1 (or close to it)

u can try test 4 or just stand by for now...we should be almost done
[AT&T Samsung Galaxy Note I717] scariola:
So with TEST4 the reboot menu by holding power button works.

But alas it causes a lot of the built in and extra apps to force stop when trying to open them without using multi-window. Settings/ and a lot of basic included apps now no longer funtion.

Only 1 or 2 apps work in multi-window on TEST4 where with TEST2 about 6-8 apps work. But no way to get into settings using TEST4. Also the bar is still constantly there. Will try more tomorrow...
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
the force close is most likely because of the differences in firmware (by the way which version are u using?) so dont worry about the apps...some will actually need to be replaced to function properly anyway (most stock samsung apps) which sounds like it sucks but i've discovered so many bonuses that i never would have by having to switch apps (like being able to rearrange the notification toggles in settings and even adding one for hotspot!). As far as the bar...i just thought about a possible solution. Choose any other layout besides dual....hopefully its that simple since i noticed in your pics u never used another view and it sometimes gets stuck on my tab until i press another icon the same way.

https://docs.google.com/file/d/0B7yxeu9x48ILU2RUb2dTWjF1X3M/edit?usp=sharing

^SETTINGS (try this settings app from note 8...of course it wont enable functions that u dont have the hardware for)

i'm pretty sure i know what you're probably thinking...."its obviously in the code of that one file so why would we want to swap out a bunch of apps?" lol...the thing is it just doesnt make sense to make 10 different versions (just checked and saw that u guys only have 2 versions of 4.1.2 but still...lol) of the mod when u could create one universal package with no loss of functionality. The zip above is flashable but make sure that your settings.apk is actually in the preload partition like the other note 1...if this doesnt work then i'll just upload the apk fom the other rom i grabbed the systemui from.

edit: on second thoughts...upload your.android.policy & framework2.jar if it is NOT firmware MD3
[AT&T Samsung Galaxy Note I717] scariola:
Choosing any other layout besides dual still has the same effect on the bar, only a single split grey bar.

settings.zip did not flash SecSettings.apk to preload, when pushed to preload and reboot, blacked out screen on bootanimation. Couldn't find just Settings.apk to put with the SecSettings.apk to go on the preload partition.

SecSettingsProvider.apk stops the SystemUI errors. Still cannot open any apps or the settings

And a good ol odin restore because i forgot to backup my preload, doh! Give me some time to get back to working. Let me know where to start, flashing test1, test4, then whatevers next. Or to just skip to test4 only.

Build number for this Telus(Canadian) JB is JZ054K.I717DTLMD1, files requested attached below.
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
ok...dont worry about the bar because it is most likely just a file mismatch. We just had the same issue over in the advance forum where one user had it and one didnt with the same file on 2 different roms. The secsettings.apk must be matched with the secsettingsprovider.apk...actually u should be able to boot the device with the apk missing altogether so i'm not sure what happened unless u had a copy in preload and a DIFFERENT copy in system/app. FYI...there is no just settings.apk so when u say it didnt flash to preload do u mean it flashed to system/app instead (if u think this is the case then it was just a copy of the old secsettings) or it didnt flash at all ? in the future u will find it far easier/quicker to just jeep a good copy of the apk that u can just copy back over using TWRP instead of having to do an entire restore...i just recently got in the habit of using the file manager in the recovery myself but it really helps with testing.

lets skip ahead for now and worry about the easy fixes a lil later...try this Test 5 instead of 4 and let me know how it works and more importantly is that pesky bar gone?

View attachment I717MD1MultiWindowTEST5.zip
[AT&T Samsung Galaxy Note I717] scariola:
Unfortunately the bar is still there constantly. Now

all my apps are opening again in multi window

and I attached some photos.

Anything besides dual when rotated causes these bar mismatches. Dual works really well rotating back and forth, anything else comes out looking like the pics below. I've tried both 213 and 160 DPI and the mismatch is still present. Everything working system wise after test5.zip

All the views for multi-window work, with the odd bar placement after rotating the phone once.

Your settings.zip didnt flash either of the files. They were unchanged after install, I had to manually copy, paste. With the error of copying to preload before, I hadnt reflashed or manually replaced those settings.zip files, just tried from test4.

Been using the file manager in TWRP but not like that. +1 to you for the tip.
[AT&T Samsung Galaxy Note I717] Thunder guy:
This is all some awesome work but do you have to edit the dpi?, it makes the systemUI unresponsive
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
man i would SWEAR u had the flashbarservice.apk or the flashbar.xml installed on your system (are u sure u never tried to get any other version of the mod working before now? if u have then check preload/symlink/system/app as well)...thats the only time i've seen that issue personally. I just went back and read about 20 pages in my original tab plus thread & the 7.7 thread to be sure and the only other complaint i see is a guy said it happened to him when he tried to use one of the multiwindow modules in xposed...do u happen to have either one of those installed? Heres what i want u to do...manually install the framework-res, framework, framework2, & services from the test 3 zip using TWRP along with the files from test 5 to see what happens & also upload your systemui so i can take a look at it while you're doing that

u shouldnt need to lower it far enough to trigger tablet mode but yes...in order to get the windows to float and the mini apps arrow to show i believe u will need to bump it down a bit
[AT&T Samsung Galaxy Note I717] developweb:
Well I'm looking forward to a version 1. May be worth flashing back to custom Canadian for. For now I'm trying the latest unofficial ROM with split window but it doesn't have the mini app drawer or resizing that multiwindow would offer.
[AT&T Samsung Galaxy Note I717] _INSPIREed:
Idk if Scariola has relied to you via PM or not, but I can confirm I had the same issue with the flashbar always present with no flashbarservice.apk or flashbar.xml. I also added test 3 framework-res, framework, and framework2 & services along with the test 5 files, & I got system UI crashes? I'm going to try that again as I was doing so while at a soccer game so who knows could have been some user error on my part lol.

Here is the system UI if scariola hasnt already gotten it to you https://docs.google.com/file/d/0B9aFI8iriW9HaC1USUtMRUwtQm8/edit?usp=sharing

EDIT: Also , thanks a lot man for your effort in getting this to work. The only thing wrong is that pesky flashbar. The mod even worked with multi window manager in the playstore so I was able to use All apps with it. Definitely a fun feature.
[AT&T Samsung Galaxy Note I717] scariola:
This is a stock deodexed and plain jane rom. No xposed modules, no weird stuff or extra tweaks.

Only thing I can think of is that we were to get these extra features but they half assed the JB build and gave us a popupbrowser and popup video player only. Those are built into the rom already, the MD3 build from ATT took out the browser but it still works when addes to ATT's rom, canadian build also featured the pagepuddy service. Perhaps some of these popup elements that are built in to the rom are conflicting with your edits.

I looked all through system/app, tried renaming a bunch of stuff to see if it conflicted. Under system/framework I noticed a minimode.jar and renamed it to see the effects. The bar is gone as well as the mini-apps popup, although the arrow is still there, just doesnt work.

Will try your suggestion and then update this post with the original systemui from the rom im using? Your tests.zip include systemui from n7000 it looked like, so i assume you want an untouched version from my rom.

Im thinking some half assed featured already in stock is screwing with this mod working perfectly. Let me know any libs or anything else that may cause a problem within the filestructure, couldnt find a mention of any flashbar or related.

Also the only button in the mini-app bar that doesnt work(causes systemui crash) is what looks like the expand to full window button. Everything else is selectable. Second button on the left next to edit on the mini-apps bar.
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
dont worry bro...that bar wont get the bet of us. I was leaning toward a firmware conflict but with the report [MENTION=2153182]scariola[/MENTION] just posted we hopefully will have an easier fix...please see below

This may be a lil out of order but the bar that causes the systemui crash was a feature [MENTION=4948919]xperiacle[/MENTION] built into his rom that hid the navbar and is actually supposed to be a help menu for us...i never cared enough to bother getting working because i've been so focused on multiwindow itself. So...lets get down to business. I'm thankful that u went above and beyond to determine the cause because from the sound of it this MAY be as simple as simply finding the proper minimode.jar to switch the stock one with. i'll attach one below to begin with and we'll finally get this thing finished one way or another...worse case we may need to make specialized versions and since its only 2 different firmware i dont have a problem with that. So...take the working combination u have now and swap your default minimode.jar with this one

View attachment minimode.jar
[AT&T Samsung Galaxy Note I717] scariola:
No luck with that minimode.jar file. Everythings still the same as far as the grey bar overlapping everything in the same ways. No features working any different.

Only places i noticed that the bar does not show is on the lockscreen and for some reason opera mini browser. I literally have the bar over the top of every app, settings, browser, but not opera mini app. This was the same as before i changed the minimode.jar you uploaded. Thinking any of these things could be clues.

Thanks for going above and beyond here to actually make this attempt. Maybe some others here are keen to chime in with some insight.

Another dev has the flashbar working on his rom blackjelly but the app would only open into fullscreen. Perhaps you have some of the missing pieces for that such problem?
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
since this is POSSIBLY such a quick fix i'm just basically gonna throw every minimode.jar i can find in a zip and let u try them one by one...let me know which works if any. I have included the corresponding minimode-res.apk if u feel like going through the trouble of swapping it as well...if i was u i would try the 7100 first then probably the 8000 version simply because the file sizes are noticeably smaller

View attachment minimodejars.zip (this zip is NOT flashable...u will understand why once u open it)
[AT&T Samsung Galaxy Note I717] _INSPIREed:
I haven't had any luck with any in the zip. I didnt just swap the .jar files but also the minimode-res.apk's
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
u know what....i might as well quit making this so hard since i think i have a definite fix. This time i want u to REMOVE (or dont add) the qemu.hw.mainkeys line from your build prop...if the bar still appears then u will still need to remove/rename the minimode.jar which wont matter since we will be using the sidebar/flashbar method now. When u boot up u will most likely need to go to settings/display and uncheck then recheck the "multiwindow" option for the multiwindow launcher to appear on the side of the screen (there is a way to add a toggle to the quick settings panel if it doesnt automatically appear...alternatively u should be able to just simply hold the back button also)....this is probably the best method for u guys anyway since u get your screen real estate back at the bottom where the navbar was plus u get the extra arrangements the 5-layout method offers since the icons are present in the pull-down (although your screen may be too small to truly take advantage of it anyway)

View attachment I717MD1MultiWindowTEST6.zip
[AT&T Samsung Galaxy Note I717] _INSPIREed:
I believe for this particular JB build for our device (the canadian telus base I think it was), the option for multiwindow was never there under settings/display. I think the AT&T version only has that option. Once I restore my backup I will confirm if this is true or not.

EDIT: yup confirmed. Multiwindow option wasnt there for this build. Any chance of this fix working on the AT&T base natively, or would you have to do some tweaking?
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
sorry...i forgot the file that places the option in settings :silly:

i think holding the back button still should have worked however...anyway here u go

View attachment I717MD1MultiWindowTEST7.zip
[AT&T Samsung Galaxy Note I717] _INSPIREed:
lols. :silly:

will check now before my late night gym sesh. :good:

---------- Post added at 11:01 PM ---------- Previous post was at 10:19 PM ----------

Nope. Zip flashed fine and such, but still no option present in settings for multiwindow, and holding the back button doesn't do the trick either regardless of the setting being there or not. I changed dpi down to 213 (as I have been), but does the sidebar method require a dpi change? I wouldn't think so ?
[AT&T Samsung Galaxy Note I717] THEDEVIOUS1:
it does matter but it SHOULD still at least show even if it may not appear properly...although i think this particular flashbar file has already been modded for multiple dpi settings. When u hold the back button do u at least feel the "vibrate/buzz" like its supposed to be doing something? Try this zip which should add the option to the quick panel buttons in the notification panel...this may break floating mode however

View attachment I717MD1MultiWindowTEST8.zip
[AT&T Samsung Galaxy Note I717] _INSPIREed:
Test 8 did it !. Works good. The side bar comes up a little short on 213 dpi but its fully functioning. And you can access the 3 and 4 window modes from the notification pulldown I'll attach some screenies

EDIT: Here are the screenshots...thanks devious for your dedication to this. It's really appreciated. I have a question. Did this mod get ported from another device and/or is based on another mod from another galaxy device? It seems that so many devs had trouble porting multiwindow from the n7000, n7005 I think, and other galaxy devices that got it working. What did you do different?
[AT&T Samsung Galaxy Note I717] scariola:
To _INSPIREed...even the ATT Base of JB did not include the Multi-window option under settings/display, as well as the canadian version. Most the custom roms here have included it for when they got it working...

THEDEVIOUS1

I tried all your combinations of the minimode.jars as well the the minimode-res.apk, with NO EFFECT on how anything was

before, with regards to the consistant grey bar. I had also tried replacing all your framework files from TEST3 at once and never got past

the bootanimation.

TEST6:

When I remove the build.prop line, staying at 213 DPI, I get systemUI crash. Unless also renaming the minimode.jar the

crashes will not stop. No option in settings/display. No long press back functionality, no vibrating like it tried to open.

Also now phone vibrates at bootanimation, never had a rom that did that.

TEST7:

No option for multi-window under settings/display, no long press back button funtion or vibration for the flashbar.

TEST8:

I now have an option for multi-window under settings/display.

Also under the notification toggles, wifi, bluetooth, sound, multi-window.

Uncheck and re-check and I have the flashbar intro.

Flashbar is only taking up a little more then half the side screen in 213 DPI.

Long press back also properly hides and restores the flashbar.

Apps switch in dual with the ui elements in the bottom right of frame.

Full screen option on bottom right of selected multi-window tab work.

Floating tabs work but no way to re-arrange, no status bar.

Grey bar is adjustable in dual mode, not in any other mode.

There is

only a slight fill

problem with the grey bar, less is more, haha. All modes work, aside from noted issues.

Since the basic dual opening of apps work can we remove the mini-app modes from the notification area? Or those the only way to control the 3-4 way app modes.

You sir deserve 5 STARS for helping out this community!! :) I feel a V1 thread opening very soon with about 100 thank you posts.

Will upload some pictures here in a little while to show the UI issues, but they are small and do not really effect how this actually works.

At second try, stock 320 dpi is best for proper size flashbar and no grey bar area mismatch!! :)
[AT&T Samsung Galaxy Note I717] _INSPIREed:
Oh and if you havent noticed... multi window manager works with all apps! although you will be prompted to apply a patch, I just selected the galaxy note n7000 patch and it worked fine :good::good:

as Scariola said..you are the man :good::good::good::good::good:

EDIT: YOU CAN RUN YOUR PHONE AT ANY DPI WITHOUT ANY SIDEBAR DISTORTION IF YOU SET FLASHBAR SERVICE APK TO 320 DPI IN XPOSED APP SETTINGS