yashsingh1/xdaforums huggingface dataset:
[Samsung Epic 4G Touch] BluesRulez:
Maybe he has a note 2 or GT-I9100 with working MW. I just want to see if logcat shows .isFullSize called successfully without errors.
[Samsung Epic 4G Touch] Sherbon26:
LOL sorry got all excited the apps used in multiwindow have to actually support multiwindow the link I shared is for a very informational thread on apks for MW.
[Samsung Epic 4G Touch] evo3d6:
Blue what do you need I can pull them for you just pm me a list
[Samsung Epic 4G Touch] BluesRulez:
Just want to see if logcat shows .isFullSize called successfully without errors.

And check this post http://xdaforums.com/showpost.php?p=37714758&postcount=401

Screenshots shows 2 classes. I am going to check the files tomorrow that stryke send me. I am guessing if the note 2 calls .isFullSize with no errors then there must be some code in the 2 classes shown in the screenshots.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'm calling it good for the night guys, got a storm coming in and a long drive to work in the morning.
[Samsung Epic 4G Touch] evo3d6:
Give me a few and I'll check it out
[Samsung Epic 4G Touch] elijahbrown:
I thought it was odd that the app bug workaround was calling sdk 11. I'm pretty sure jelly bean is sdk 14 & 15.

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] evo3d6:
Seem to be having issues with xda anyone else getting stuck on uploading
[Samsung Epic 4G Touch] Goddly:
Was happening to me earlier...
[Samsung Epic 4G Touch] tdunham:
Ok, I still think we need services.jar working. Somebody send me some solid info if you can find it otherwise. I saw you asked Myth about it too Stryke. He's Russian I believe so not sure if he understood what you were asking about completely.

Ok, I'm tired of flashing back to stock. So here is a multiwindow with a semi-working services.jar (still fighting with those two files). If someone has a chance today please flash it and send me a logcat because I won't have a chance to get to it until at least tonight.

What to expect...

The phone comes up completely every time but will bootloop right about the time that multiwindow kicks in and I need to see if there are any clues in the logcat.

Multiwindow d/l link for logcat.

Stock Services.Jar flashable so you can get out of bootloop.

Included this in case anyone needs to have it too.

Stock flashable android.policy.jar

This zip includes my fixed android.policy.jar including some value changes that weren't in the last set of files I posted. All values have been ported over and working. The services.jar has all values changes ported over but still has the stock FL16 ActivityManagerService.smali which is one of the files that causes bootloops. Right now this is to test changes to MultiWindowManagerService.smali only (which is the second file causing the bootloops in services.jar).

---------- Post added at 02:17 PM ---------- Previous post was at 02:12 PM ----------

Ok, since we're sharing... ;)

Framework-res Value 10802c8 logcat error for missing resource I think comes up also with stock rom with no mods loaded. Somebody confirm with a fresh logcat if they flash back to pure stock please.

Framework-res Value 108058b logcat error seems related to multi windows but I cannot find the value anywhere that I have looked so far. I even searched through flashbarservice.apk. And this one could be the entire issue with it force closing the apps. Like I said, one framework value is wrong and the phone could FC or bootloop.
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
I got good news and bad news.

Good news: pretty sure I figured out where strykes error is being thrown from

Bad news: looks like its kernel related and no JB kernel source for et4g for me to dif against note 2 and s3 to find the problem and remedy it :mad::banghead:

It doesn't appear to be directly related to MW in the kernel just a value or module is different which causes the error to flag.

I like to break stuff! :D

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

Im uploading a 12gb file (gonna take forever on 3g) that has my EMU, the note 2 kernel source, s3 kernel source and a decompiled et4g kernel (broken from decompiling trying to dif) as well as the compiled kernels and the associated MW files included for others to look at the errors. It should be fairly plug and play, just extract to C:/ or whatever your main linux partition is labeled then open a cmd line and enter the strings in the readme file to load the EMU, device trees and kernels/sources from there follow the rest of the instructions in readme to run the EMU and the logger to see errors

I like to break stuff! :D
[Samsung Epic 4G Touch] BluesRulez:
Yeah same thing with those 2 files. The classes have no code. So maybe its like evil mentioned, its kernel related?
[Samsung Epic 4G Touch] Stryke_the_Orc:
Thats going to suck LOL

I've got a few more ideas I'm going to try but beyond that...:(
[Samsung Epic 4G Touch] tdunham:
You know that you can create a Linux virtual machine with VMware that will run on a windows machine too. And once the VM is created, all you need to provide is the free player. It's pretty good stuff. I test new operating systems that way. Plus it's run in a protected shell so you don't have to worry about hosing up your pc. ;)
[Samsung Epic 4G Touch] Stryke_the_Orc:
Well, I think I need to concentrate on something else for the moment. Anyone know if you can remap the power key? LOL a few hundred flashes and god knows how many recovery entries seems to have done mine in:banghead:
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
I only use windoze on my work laptop I run openSUSE and Mint on my alienware laptop and my desktop. The EMU will run in its own VM that simulates the entire device down to hardware. You can actually recreate hardbricks in the EMU to see the errors that caused it and then use the restore point to revivr it after the suicide dialog. Basically once you load the device tree the EMU thinks it's whatever device is loaded, its based off of the android SDK emu but is heavily modified to mimic the actual hardware as well as software for debugging at all levels. It will even allow you to do an emmc brick in the et4g device tree it will throw a dialog box that says Help! I just commited suicide, then the logger will popup and show you all the errors in red of what caused the suicide. I'm not sure how well it would run in a windoze VM just cuz it uses alot of resources to replicate the entire device. In system mode it runs fairly light, about 1 gb of ram total but on device mode it uses a minimum 3gb of ram to run stable and not freeze up randomly. On a pc with less than 6gb of ram it wont run very well on my work laptop which only has 4gb it stutters and lags really bad but my desktop and alienware have 32gb of ram and it doesn't even touch them they also have dual amd black quadcores clocked at 3.67ghz per core since they are my graphics and dev boxes they are maxed out for my bankroll. I could've gone overboard and built a single SC but needed one portable and one with the ability to have multiple large displays so I broke it up into a laptop and desktop which I sometimes have to network together to share the load for some projects

I like to break stuff! :D
[Samsung Epic 4G Touch] elijahbrown:
Check in system/usr/keylayout

You can open those .kl files as text files and swap stuff around.though I didn't check if you could change the power button.

Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Keylayout only allows mods to cap keys, not the actual hardware keys(vol rocker&power) you can remap the caps to work similar to the power key to wake and suspend the screen

I like to break stuff! :D
[Samsung Epic 4G Touch] tdunham:
I seem to recall that there was an app that would remap keys but I don't recall if it worked properly or not.

Edit: By the way, how did you get alogcat working? It just comes up blank for me.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Not really sure, it just worked:confused:
[Samsung Epic 4G Touch] Stryke_the_Orc:
The problem is my power key sticks and is super sensitive so even touching the button sends my phone into reboot:banghead:
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Go get so denatured alcohol, rainx liquid works well, or 91%+ isopropyl, a #00 philips screw driver and disassemble the phone remove the power button cover and clean it and inspect it for damage. If its not damaged cleaning ot should fix it. Also a sewing needle or paperclip will work to unjam the button under the key cover. I've had to clean mine a few times from my kids getting jelly or something sticky all over my phone and it getting in the cracks

I like to break stuff! :D
[Samsung Epic 4G Touch] elijahbrown:
Use titanium backup to convert it to a system app.

Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] Goddly:
So.... Is all hope lost??? :confused::(
[Samsung Epic 4G Touch] BluesRulez:
Hope is never lost.
[Samsung Epic 4G Touch] Goddly:
Lol. ;). Thanx!
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
No hopes not lost its just gonna be a bigger PITA than we were expecting. It seems theres something in the kernel that isn't MW specific but is causing an error to flag when MW activates. I have a feeling is a res module to scale the app sizes that just isnt the same in the et4g as it is in the s3 or note 2. It may be due to the screen resolution being hdpi on the et4g and xhdpi on the s3 and note 2 causing scaling errors

I like to break stuff! :D
[Samsung Epic 4G Touch] Goddly:
Sounds like a lot of fun.
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Yeah I had to take a break for the rest of the night my eyes feel like they want to bleed from reading low level error logs for kernels :banghead:

I like to break stuff! :D
[Samsung Epic 4G Touch] Goddly:
+ 1 respect to all putting in time and hardware (evo, stryke) to get this mod working. Keep the faith! (And logs lol!) :thumbup::cool:
[Samsung Epic 4G Touch] tdunham:
Just for the sake of argument, I've found many different flashbarservice.apk.

Attached are a collection of 6 of them in flashable format. They are all named with the filesize of the flashbar, you will see when you open the zip. Please consider that part of our problem may be because of wrong apk also. So maybe flash each one of these while testing.

Edit: Ok, this may not be the problem but it is still worth consideration and you will see several different flashbar views which are interesting too. ;)
[Samsung Epic 4G Touch] tdunham:
Alright, found a problem with framework.jar.

Apparently it has code pertaining to multiwindow and is the cause of some of my problems with errors in logcat (Value 108058b Stryke ;)).

Will see what I can do and report back.

Update: Cool. That worked! No more force closes when trying to open multiple apps. The multipane opens without errors now but it still displays only a single app across both panes. So at least a little victory.

---------- Post added at 02:43 PM ---------- Previous post was at 02:23 PM ----------

Here is the modified framework.jar, flashable.

https://www.dropbox.com/s/lc48c81j559dsya/ZZZ.FL16.MW.Framework.Jar.zip?m
[Samsung Epic 4G Touch] Sherbon26:
Thank you Td. Have you tried using the apps loaded on stock GA10 or the ones modded for MW... I shared a thread about apps for MW a couple pages back.

---------- Post added at 09:50 AM ---------- Previous post was at 09:49 AM ----------

[/COLOR]

Here is the thread for said apps
[Samsung Epic 4G Touch] tdunham:
Not yet. I think we're concentrating on stock apps that should work with multiwindow right now to get it going. But this thread brings up another very important question I have about MW.

Is it confirmed that certain apps have MW capability? Otherwise I'm spinning my wheels here. Because I see Gmail on that modded app list and that is one app I'm using to test MW panes.

Another problem:

We will need to use the flashbarservice.apk that works with our rom. The 650k one I provided in my collection seems to work!

I can get panes up with framework.jar fix but when I try to switch panes with the little included applet flashbarservice FC's. This is due to a problem with Flashbarservice.apk. The 650k one I provided in my collection works fine without force closes.

Edit: Added screenshot of working flashbar. Note the panes are working but apps are not splitting between panes.
[Samsung Epic 4G Touch] tdunham:
Just about there. Still no love with services.jar but this is what I have so far.

Here is my nearly working Multiwindows. This is complete and it is flashable.

https://www.dropbox.com/s/xzikr99haly50xm/zzzGA10.FL16.Multi.Window.zip?m

Notes:

Fixed framework.jar. No more FC's when adding apps.

Fixed android.policy.jar. All values changed to match framework-res.apk values.

Working flashbarservice.apk included.

Edit works now in flashbar.

All additional files included. All permissions are set via the installer script.

*** Last known issue:

Panes display but apps do not split into individual panes currently.
[Samsung Epic 4G Touch] elijahbrown:
Since I don't have any time to work in this until late tonight, and you're probably better suited to use this info...

As far as I can tell from some quick looking around, the resizing of apps is controlled by minimode-res.apk and minimode.jar

I think it might be worth checking ids in those apps. Let me know if you find anything or I will look when I get to a comp.

Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] Stryke_the_Orc:
Flashed but hangs on 4g screen and powers down phone:confused:
[Samsung Epic 4G Touch] Sherbon26:
http://xdaforums.com/showthread.php?t=2024399

here is a thread about how to make apps work in MW and the code required in the apps. not sure if it will make a difference for us though.:confused:
[Samsung Epic 4G Touch] elijahbrown:
Got tired of you bringing this up so I flashed tds latest (lost ink effect and settings fc trying to reenable, need more testing) and installed a couple missed apps.

Same exact result, modded apps are just defaulted into flashbar.

Edit: sorry, any help is appreciated, but it's not necessary to keep beating a horse if we're %90 sure it's dead.

Sent from my SPH-D710 using Xparent ICS Tapatalk 2

---------- Post added at 12:52 PM ---------- Previous post was at 12:43 PM ----------

It loaded fine for me, with known issues. Frustrating part is there are no errors in log cat to give a clue as to what the issue might be.

Personally still leaning toward minimode files, but stuck at work.

Go TDunham, go!

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] tdunham:
Sure thing. Ok, can't get friggin logcat/adb/alogcat to run on current rom had to flash back to stock. I'm seeing the 10802c8 error again so I'm searching through several hundred thousand files for the occurrence to see if that's got anything to do with it and it's going to take a while to search through that many smali files.
[Samsung Epic 4G Touch] Sherbon26:
Sorry for continued mention of apps will let the horse rest now lol just dont have much else to offer....I am rooting for you guys...want so badly for this to work and dont know how or what I am doing when it comes to editing jar files!
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'm looking at minimode now and an really not seeing anything that looks off. I even pulled both the apk and the jar from the note 2 and pushed to phone, no changes and the files are almost identical
[Samsung Epic 4G Touch] tdunham:
Ok found 10802c8 value. Had to get the corrected public.xml value from an SIII rom, then translate that corrected value for FL16/GA10 framework. Might not be able to get back to this until later. Gotta do errands. Wife's orders. :rolleyes:
[Samsung Epic 4G Touch] Stryke_the_Orc:
Take your time, we aren't going anywhere LOL
[Samsung Epic 4G Touch] elijahbrown:
Obviously your wife has the same misguided sense of priorities as mine.

Course my wife thinks it's more important to give the goldfish a bath than mod my phone.

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Well I was finally able to partially decipher the low level kernel error this morning. Its showing as res-layout error: dpi mismatch but still haven't figured out what is causing it :confused::banghead:

I like to break stuff! :D
[Samsung Epic 4G Touch] elijahbrown:
This instantly brings to mind thoughts I had before about multi window and the OG "tweak" of enabling ripple lockscreen by setting dpi to 180.

.......aaaaaaaaaaaannnnnnd..... no.

Set to 160

Sent from my SPH-D710 using Xparent ICS Tapatalk 2
[Samsung Epic 4G Touch] -EViL-KoNCEPTz-:
Problem is I can't find where in the kernel the error js flagging since theres no jb source for et4g and after I decompiled the kernel its borked.

I like to break stuff! :D
[Samsung Epic 4G Touch] Goddly:
MX player just added support for multi window. Be sweet to watch a video and surf the web . ;)
[Samsung Epic 4G Touch] Samsung Fanboy:
Hope this may help, sorry if posted already.

http://xdaforums.com/showthread.php?p=35949934

Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] Sherbon26:
Lol I was just reading this and in the process of doing the edits....waiting for reboot

Nope not the problem
[Samsung Epic 4G Touch] tdunham:
Stryke, did you ever find source rom for the Note 7100 like Myth asked? Because Im not having any luck with services. Jar.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah, I grabbed the lab rats ROM, but it didn't seem to make a difference, if you want I'll post a link for services, and whatever else you may need, just let me know:thumbup:
[Samsung Epic 4G Touch] Stryke_the_Orc:
Here you go td

http://db.tt/mPhtHxZF
[Samsung Epic 4G Touch] tdunham:
Do you know build/revision this came from for Note? I label everything since I have like 5 or 6 NON-e4gt roms I'm working from and I keep them separate. Also, I need framework-res.apk from the same build if you have it. :)
[Samsung Epic 4G Touch] Stryke_the_Orc:
Ill zip up the framework and the build prop for you:thumbup:
[Samsung Epic 4G Touch] Stryke_the_Orc:
http://db.tt/xhAPPYN4

Framework-res and build.prop from note 2
[Samsung Epic 4G Touch] evo3d6:
I have another set of files I'll send to you if you guys like they may work they have been ported so they may help with a fix.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Yeah, set up a link and I'll take a look:D
[Samsung Epic 4G Touch] Goddly:
Awfully quiet round these parts... Lol.
[Samsung Epic 4G Touch] Sherbon26:
Yeah lol either everyone has taken break or have been hitting it real hard.... I am looking at the services jar on our phone and the how to for the international s2 and there arent many differences other then the s2 refers to local and our refers to region?
[Samsung Epic 4G Touch] Goddly:
Yeah, that's what they're saying, there isn't much of a difference , just having a h*ll of a time getting it all sorted out . damn you sprint variant! Lol
[Samsung Epic 4G Touch] jlear3:
The funny thing is this was the biggest galaxy s2. You'd think a bigger screen would be the first to get it

Sent from my epic touch, waiting for my Nexus 4
[Samsung Epic 4G Touch] swift2989:
Absolutely true

Sent from my Epic Touch armed with a Jellybean army to kill you Apple!
[Samsung Epic 4G Touch] Stryke_the_Orc:
But we get everything from a third party that decides what we get. The international gets updated via kies from Samsung right?
[Samsung Epic 4G Touch] im0rtalz:
The international does not have multi window officially either though I thought they had ported it from the note 2. I believe the only phone that received multi window update officially is the note 1 and the international s3.
[Samsung Epic 4G Touch] Stryke_the_Orc:
Right, but my point being sprint can remove code
[Samsung Epic 4G Touch] Sherbon26:
modding services.jar

Ok so after modding services smali for the last 3 hours I cant see straight and have made it through all the multi windows files and about 1/10 through service manager. And still have about 10 files of code to get through after that....this will either be the fix or the biggest pita waste of time ever. Fingers crossed. Gonna jump back on it tomorrow after work.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'm sorry, but I have to ask...

Do you have any idea what you're doing?

New user, 50 posts that, except for this one, aren't development related...

Don't get me wrong, help is appreciated, and I'm not trying to be a ****, I just don't want to have something posted here thats going to brick someone. Or see this thread being used to boost somebody's thanks meter...

Tdunham has been working on services, as have I and a few others, with no success, and if you can figure it out, kudos.

:beer:
[Samsung Epic 4G Touch] Sherbon26:
I really dont have a whole lot of experience. I am going based off of the international guide for multi window only changing " register #" to "local# provided and if values....and trust I will be tryi mg this on my phone before I ever think of pitting it on here and I understand where you are coming from I would question me too if I were a dev like you and TD

Edit. I also have geeksquad insurance so if I brick I cam have a new phone in 24 hours so not a major deal for me to jam up my phone so I am willing to test files for you guys.
[Samsung Epic 4G Touch] Goddly:
Agreed stryke, but if hes willing to brick his phone and put in hours of work in hopes of getting a shred of useful information to you guys, i give him props. Just dont post any zips ... lol
[Samsung Epic 4G Touch] elijahbrown:
Meh, unless he is waaaaaay off base, there is nothing he can do to his phone while working in this, that a one-click can't fix.

Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
[Samsung Epic 4G Touch] Stryke_the_Orc:
LOL I'm far from being a Dev, but like I said, I didn't want something to be put up that can harm others devices. I appreciate and respect that you're helping and meant no offense to anyone. Just wanted to make sure you knew what you're playing with;):beer:
[Samsung Epic 4G Touch] tdunham:
I'm sending our services.jar out to another dev to have a look at.
[Samsung Epic 4G Touch] Stryke_the_Orc:
I'm having a major brain fart here, I can't remember in the updater script, if everything is going into /system, do I need to set individual permissions or is it all covered under recursive?

examples:

set_perm_recursive(0, 0, 0755, 0644, "/system/");

or

set_perm_recursive(0, 0, 0755, 0644, "/system/");
set_perm(0, 0, 0644, "/system/framework/android.policy.jar");
set_perm(0, 0, 0644, "/system/framework/multiwindow.jar");
set_perm(0, 0, 0644, "/system/framework/services.jar");
set_perm(0, 0, 0644, "/system/app/FlashBarService.apk");

been a long day:silly::o
[Samsung Epic 4G Touch] evo3d6:
I've been real quite for a bit for a good reason I have successfully ported two roms I am waiting on approval to post them I will need some testers as soon as I get a response from them. The rom's have been ported a few times already so I don't see a issue there but I have to go about things the right way. I think everyone will be real happy with the results.
[Samsung Epic 4G Touch] evo3d6:
This is what I've been working on just got to get the go ahead
[Samsung Epic 4G Touch] Stryke_the_Orc:
You got multiwindow working?:what:
[Samsung Epic 4G Touch] evo3d6:
I have some bugs to work out aswell will continue working on them while waiting on approval
[Samsung Epic 4G Touch] Goddly:
Lol.. :what::o
[Samsung Epic 4G Touch] evo3d6:
Sent you apm sto
[Samsung Epic 4G Touch] jt323bd:
I've been following this thread as research into tdunhams quick toggle for multi-window, I'm guessing he put that in anticipation of this moment?

Either way, bravo. That ROM looks impressive.
[Samsung Epic 4G Touch] evo3d6:
It's not my work just ported will post credit when I get the ok
[Samsung Epic 4G Touch] Stryke_the_Orc:
Dude, you rock!
[Samsung Epic 4G Touch] evo3d6:
Dinners up bbl try that file sto if you need it I'll send to you when I return