yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Well it seems as if we got a problem..

I deleted the multiwindow xml and then flashed the test 9 zip and two cases arise.

Case 1. Disabled the xposed module.

Result:no ui glitches in portrait or landscape mode.

Bugs: the systemui fcs when the popup button is pressed.

Case 2. Enabled the xposed module and set the system ui only at 160dpi and 600*1024 resolution.

Result: pop up button works fine also no systemui fcs..

Bugs:ui glitches in landscape mode.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Ok, let me get this straight...lets go back to post #402. So when u said the pop up button was working but the video player force closes it seems that u did NOT have xposed app settings set at that time...is this correct? in the same post u mentioned that changing the settings in xposed fixes the portrait glitch...so exactly what glitch did u have in portrait mode before that? also...try 800 x 1280 for both and see what happens. oh yeah..in case 1 i'm assuming the back & home buttons worked ok?
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Yes you are correct.

At that time I hadn't set the custom dpi for the systemui apk but the module was still ticked in the xposed settings.

And before setting the dpi the glitch that I was facing in the portrait mode was that the recent apps button wasn't visible.

Also let me tell you that I am setting the dpi only for the systemui apk and not the androidsystem.apk

Is that ok??

Yes in case 1 only the pop up button gives fc..
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
definitely do both (if u havent been setting both then retest at 600 and at 800)...it makes a difference but in this case i'm not sure what effect it will have
[Galaxy S Advance I9070 Original Android Developmen] dagger:
So now I set both to 800*whatever and still there is that glitch. .(but that's not a big deal)

All the buttons work fine.

So what do we do next? ?
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ok...when u get time i want u to go back to test 6 (dont forget to replace the multiwindow.xml with the minimode one) and test at 800x as well as try increasing the dpi of the entire phone and the 2 options in app settings to between 190-213.

right now...lets try that test 8 i was talking about earlier. this is a much larger file because it includes framework files and MAY bootloop for the same reason just so u know...flash as is first and if the buttons cause a force close then u know what to do ;)

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

^TEST 8

ok...link should be good to go now
[Galaxy S Advance I9070 Original Android Developmen] dagger:
The device isn't booting with this one. .:(
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
did u see my message about redownloading/ setting permissions...when i first put the link up i forgot to set them for the extra files i added so u will need to set them manually for framework-res.apk, framework.jar, & framework2.jar OR u can simply redownload now and it should be ok. That still doesnt mean it will boot though..lol
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Still no boot..:(
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
well...go ahead & go back to test 6 (dont forget to replace the multiwindow.xml with the minimode one) and test at 800x for both as well as try increasing the dpi of the entire phone and the 2 options in app settings to somewhere between 190-213. I have a lot to think over...the 2 main things being the miniapps arrow (i feel like the answer is right there between post #402 & #412 but my mind is split in so many different directions i just cant see it yet) and more importantly why does the one permission file we need to make this thing work cause a force close.

EDIT: forgot to remind u...please upload a copy from your system of every file contained within test 8 (in other words i need the untouched files of the same name that came with whatever rom you're using) so that i can rule out incompatibilties. Also....exactly what firmware & rom are u using?
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Ok so didnt noticed any change with the 6th case. .

No fcs of systemui but glitches in landscape orientation that's it. .

And for the files. .

Just give me a sec..

---------- Post added at 04:16 PM ---------- Previous post was at 03:25 PM ----------

Here you go bro. .

https://app.box.com/s/czzy20q2sflkpupnrcd8

sorry for taking too long..

It doesnt contains the permissions and the multiwindow.jar files. (Hope that's ok)

And my firmware is DDULP8.

I am going to cm10.1 to get a little stable. (Had too much flashes recently. .:D)
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
whenever u feel like flashing again...hopefully this fixes the glitches

still have the major issue with the multiwindow.xml to take care of...is the rom u were using stock lp8 or a custom rom(if so...whats the name)?

View attachment 2331403
[Galaxy S Advance I9070 Original Android Developmen] dagger:
the rom was stock DDULP8 rom..

and i will flash the zip once you get to fix the multiwindow xml..(hope thats okay..:))

in the meantime any member can flash the zip and report if he wants..:) [MENTION=2991046]shut_down[/MENTION]

can you do it bro??
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
When I get back from work. :) Not in next 4 hours, for sure...

P.S. Hmmm, I forgot that I am on CM. :(
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Much thanks..:)
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
But I could restore stock. No need to be DDULP8? :D
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
well i guess thats ok...EXCEPT how am i gonna know if it's fixed?! :rolleyes: :laugh: :silly:

No...i would actually prefer u be on LQB but hopefully it doesnt matter much
[Galaxy S Advance I9070 Original Android Developmen] dagger:
when you do your fix then tell me.

then i will flash and tell you whether its fixed or nod..:D
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
I've just flashed this on harsh jelly (LQG) I've set the dpi to 200 and I have fc by video player.

Here the log, maybe it helps
[Galaxy S Advance I9070 Original Android Developmen] HeltonMax:
hello I've been trying to test your Mod Multiwindow but without success, made ​​it all the dumb Dpi and restart the phone it starts is not a black screen and nothing happens.

also use Hashjelly 3.0
[Galaxy S Advance I9070 Original Android Developmen] emme1:
Here is some screen shot of last zip on my I9070p.

I only add the qemu.hw.mainkeys=0 line in build prop and flash the zip bu cwm

I am not in a deodexed rom, but I am on the stock, the same of some post ago.

I have fc only if I active the movie player present in the popup bar, but you are on right way and I think early we can have the multiwindow on our phone.

I foget...the virtual button bar didn't appair if in landscape, but I I open the popup and then I turn the phone it work

Thanks for your work

Inviato dal mio GT-I9070P con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
One of these should fix landscsape layout...please test & report

View attachment 2332765

View attachment 2332766
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
If you think it's dumb why even bother trying? We can't use anything you gave us on that comment...

Verstuurd van mijn GT-I9070 met Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
I'll test it at home as I'm on odex stock rom. When I have wifi I'll download the deodexed and try on LQE

Verstuurd van mijn GT-I9070 met Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] HeltonMax:
hello think there was a misunderstanding, but either way I could use the mod HashJelly appeared in the mini apps menu and icon of the video player but the fc
[Galaxy S Advance I9070 Original Android Developmen] emme1:
Ok here is screenshots abut the 10A zip

Now just try the 10B version and I will post you other screenshot

Edit: Et voilà, 10B version screenshot, in this case the popup row isn't visible in both modes

Inviato dal mio GT-I9070P con Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
With the 10b I do not display the bar in landscape mode..
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
lol...well i screwed that all up :silly: thanks for testing guys & i apologize for wasting everyone's time but i think the truth is there was nothing ever really wrong...allow me to explain. Long story short...i wanted to get the arrow to show up so bad that i changed the layout files but i think we just never set the device dpi low enough to get it to appear. What i need one of u guys to do is set your phone to 134 dpi and see if it still boots then install the zip below. I know this is too small to really be usable but i just want to prove that everything is functioning as it should...this may not be enough to get it to work alone as u may need to change the resolution as well which will require a lil more effort but will result in a more usable device if we need to make this a part of the setup process

Install Instructions (try this after the u have set the phone to 134 and it does not boot, the arrow still does not appear, or u just find it too small to be useable)

1. you MUST be on a ROOTED DEOEXED 4.1.2 TOUCHWIZ BASED ROM preferably pure stock

2. install busybox if it's not already

3. install an alternative launcher (i use apex personally...while you're in the play store download "samsung multiwindow manager" also)

4. add the line qemu.hw.mainkeys=0 to the bottom of your build prop (i suggest lowering the dpi to between 160-190 while you're there)

5. install xposed framework and the app settings module below (must be rooted)...open installer, click install/update, and enable the module then reboot

6. open app settings and change BOTH android "systemui" and "android system" to 120 or 134 dpi and the resolution to 600 x 1024 then save and reboot

7. flash the test zip below through recovery (please keep in mind that the files MAY need to be manually copied with proper permissions using TWRP or AROMA)

View attachment 2334751

View attachment 2334752

View attachment 2334753

[MENTION=4982868]maurus1998[/MENTION]

i have aspecial assignment for u...use zip me and package up your systemui, android.policy, & framework2.jar as well as any permissions files that u have default on your device such as any minimode.xml and upload it for me. My purpose here is to see if the the same permissions are being set to every directory...i have a funny feeling that they're not

[MENTION=4945687]emme1[/MENTION]

thanks for providing the screenshots...we have been having so many issues tht i failed to notice a good thing. I was looking at your photos and realized that the bar [MENTION=4364516]dagger[/MENTION] (i see u lurking bro...i need your help man cm10 will always be there :p) was talking about being stuck is not present...what firmware are u using and if its a custom rom which one?

one more mission for anyone who is willing to test and report...i just want u to take the "com.sec.feature.multiwindow.xml" and place it in system/etc/permissions" of your STOCK/NORMAL rom (no other files from any of the zips except that EXACT one) and see if it causes a force close when u press your navigation buttons
[Galaxy S Advance I9070 Original Android Developmen] emme1:
I'm happy if my sceenshots help you,I tell you that you are in right way, in fact in the 10 A zip there is a cut row in the landscape mode.

Unfortunately I have nfc model so my configuration is stok I9070PXXLPJ firmware + cocore p kernel 8 + nova launcher.

Unfortunately now is late, and my battery is very low, so at the moment I can't flash nothing.

I hope my test are useful because I cant flash I9070 firmware :p

Inviato dal mio GT-I9070P con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Ok i will test it in the evening when i reach home..:)

Currently i don't have the backup with me.
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Ok sir now I'm at school but I'll upload the zip as soon as I can :cool:

Inviato dal mio GT-I9070 con Tapatalk 2
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Are you talking about putting "com.sec.feature.minimode.xml" and place it in system/app/permissions" OR putting it in "system/etc/permissions" .BTW I putted it in both places and still no force close while pressing navigation keys.

Sorry for bad English.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
No need to apologize...actually i should be saying sorry for MY bad english and i'm american! :silly:

thanks for catching that mistake...yes i meant system/ETC/permissions and thanks also for testing and posting the results because i need to rule out a few things so we can proceed

edit: [MENTION=4760784]AltamashAN[/MENTION]

i just went back to edit my post and realized i made an even bigger mistake...i actually meant to test the file "com.sec.feature.MULTIWINDOW.xml". If u can try again for me that would be great...i apologize again guys i thiink trying to work on too many mods at the same time :o

everybody else who wants to catch up...please at least read posts #439 & #448 if u dont feel like reading the last couple of pages
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Its OK.May i know what permission should be assigned to every and each file in the zip.I just flashed it using cwm and permissions looks messy.when system starts and it asks for launcher to assign if I press always it reboots while when I click on just ones it works.

EDIT: minimode tray icon doesn't appear in navigation bar for me.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
at this piont i'm not really sure about the permissions which is why i asked [MENTION=4982868]maurus1998[/MENTION] to upload another zip...EVERY other android device i have dealt with uses 0644 or rw-r--r-- but for some reason this zip was set to 0666?
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Yea it was set to 666 but even when I did it to 644 nothing happened. And what if we do set permission from cwm?
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
all i know is it shouldnt mess up anything...to be honest i'm flying blind because i dont actually own a galaxy advance which is why i'm depending on u guys to report your results.

also can somebody please test this systemui below to see it your device still boots...if so, can u also stick the "com.sec.feature.multiwindow" in "system/etc/permissions" and see if it causes a force close as well. You can just replace the systemui in one of the other zips with the one below and flash...hopefully i will have enough information after i get results from test 11 and this to find the conflict thats stopping progress

View attachment 2335636
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
Here you the zip(s) The "update.zip" contains systemUI, android.policy, minimode and framework2 and "permissions.zip" contains the perm folder ;)
[Galaxy S Advance I9070 Original Android Developmen] dnzdeniz:
https://play.google.com/store/apps/details?id=com.bjbinc.multiwindowmanager :rolleyes:
[Galaxy S Advance I9070 Original Android Developmen] shut_down:
It says not compatibile... :eek:
[Galaxy S Advance I9070 Original Android Developmen] mhmod222:
http://techydevil.com/index.php?topic=894.0
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Where is file? "com.sec.feature.multiwindow.XML"? I searched it in testzip11 there is no such file under permission folder.there is 4 files

com.sec.android.app.minimode

com.sec.android.app.multiwindow

com.sec.feature.minimode

com.sec.feature.minimode_tray

In it.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
i apologize again i should have said check one of the earlier zips...here u go

View attachment 2337698
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
When I sticked it to the folder you mentioned and rebooted the phone,back and home softkeys were working But when I pressed recent app softkey it gives SystemUI fc.

Sorry for bad English.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
what firmware are u using and if its a custom rom which one? try this zip below...the recent button will be cut off in portrait and u will have the same issue in landscape (which may be fixed by following the xposed instructions in post #439) but what i need to know is if your home & back buttons still work and most importantly does the arrow still work. If they do NOT work then remove the multiwindow file then try the directions in post #439 anyway so we can at least see if that solves the layout issue

View attachment 2339111
[Galaxy S Advance I9070 Original Android Developmen] dagger:
hey bro..

sorry for not replying but i have exams in the next week so i won't be able to flash the mod now.

but i promise to flash it in the next week end..:)
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
I'm using harshjelly v3 with xxlqg baseband.
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Now here are the results...

Rom-harshjelly v3

Base-xxlqg

Dpi-190

SystemUI and android system dpi-134

Xposed and app settings mins talked

Before removing multiwindow: I flashed the zip using twrp.the system was giving FCS time to time and when I press home key and recent app key.also miniapp tray icon wasn't visible that time

After removing multi window: when I did remove it the systemui FCS are gone,every navigation key works and miniapp tray icon is visible but we have layout problem in landscape mode.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
so it seems i was thinking correctly as far as the arrow is concerned...did u remember to set the resolution of both "systemui" and "android system" to at least 600x1024? If it's not too much trouble...could u please try 800x1280 in portrait and landscape also? Oh yeah...if u get some spare time increase the dpi values in app settings until the arrow disappears so we can figure out the minimum amount required to trigger the miniapps tray although this is not really important since we know what defintely works

attention everyone else...unless i think of a quick and easy fix, getting landscape mode to work is our SECOND priority with the first being getting multiwindow.xml to cooperate with the rest of the files. At this point it is simply taking away from my thought process and taking up too much of everyone elses time as well...this means all testing should be done in portrait mode until it's fixed
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
I'll see it report.

EDIT:

here are some important results and a good news for you.

I think the navigation keys DPI depends on build.props "ro.sf.lcd_density" option. When we increase or decrease DPI the alignment starts from right side that's why even if we increase the density beyond 240 the miniapp tray icon in navigation key will be visible.

We were trying build.props density around 190 and others like systemui and android system around 134 and red 600*1024.

Now I lowerd above three dpis to 120 and results were in our favour.Guess what? The miniapp tray icon was visible even in landscape mode. Changing resolution do sent matter.

But if we increase the build.props DPI ( say I set it to 134) there was again layout problem in landscape mode. It also won't work if set build.props to 120 and systemui and android system to other DPI say I set it to 190.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
thanks that definitely confirms my thinking but i believe most users are gonna complain that setting the dpi that low will make the device unusable...also the resolution really comes into effect when u want floating windows. I have another experiment for u...using that same setup with the dpi at 120, REMOVE the qemu.hw.mainkeys=0 line (of course this will remove the virtual button bar) from your build prop and add the "com.sec.feature.multiwindow.xml" back and see if your hardware keys cause force closes. If not then i have a work around that will save us all a few headaches...i also have another systemui i want u to try using this same method that i'll attach below (this one contains the muti layout icons in the pull down instead of the mini apps tray). U can simply swap this one manually or replace the one In the latest zip...if this doesnt work then it's back to combing through the code

View attachment 2341270
[Galaxy S Advance I9070 Original Android Developmen] AltamashAN:
Here are the results.

The menu and back softkeys are working,the only problem is of home key that it gives fc.

I tried the new systemui apk it shows those multiwindow icon but not functional.I flashed 12 test zip then did put the systemui apk and set the proper permission.

Here is the log taken by .logcat app for systemui fc because of homekey.

[QOUTE] E/Watchdog( 2087): !@Sync 21 E/AndroidRuntime( 5845): FATAL EXCEPTION: main E/AndroidRuntime( 5845): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x40000010 (has extras) } in com.android.systemui.statusbar.MiniModeAppsPanel$3@41bfb7d8 E/AndroidRuntime( 5845): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:765) E/AndroidRuntime( 5845): at android.os.Handler.handleCallback(Handler.java:615) E/AndroidRuntime( 5845): at android.os.Handler.dispatchMessage(Handler.java:92) E/AndroidRuntime( 5845): at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime( 5845): at android.app.ActivityThread.main(ActivityThread.java:4856) E/AndroidRuntime( 5845): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 5845): at java.lang.reflect.Method.invoke(Method.java:511) E/AndroidRuntime( 5845): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007) E/AndroidRuntime( 5845): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774) E/AndroidRuntime( 5845): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:110) E/AndroidRuntime( 5845): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 5845): Caused by: java.lang.NullPointerException E/AndroidRuntime( 5845): at com.android.systemui.statusbar.MiniModeAppsPanel.clearItemsAnimation(MiniModeAppsPanel.java:2303) E/AndroidRuntime( 5845): at com.android.systemui.statusbar.MiniModeAppsPanel.refreshApplicationList(MiniModeAppsPanel.java:1621) E/AndroidRuntime( 5845): at com.android.systemui.statusbar.MiniModeAppsPanel.closeMiniAppsPanel(MiniModeAppsPanel.java:2291) E/AndroidRuntime( 5845): at com.android.systemui.statusbar.MiniModeAppsPanel$3.onReceive(MiniModeAppsPanel.java:748) E/AndroidRuntime( 5845): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:755) E/AndroidRuntime( 5845): ... 10 more E/android.os.Debug( 2087): !@Dumpstate > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error E/Dumper ( 1752): 6: 674841994: User action: dump logging circular buffer and context E/Dumper ( 1752): 7: 674842025: Triggering circular buffer dump in /data/ste-debug E/ActivityManager( 2087): App already has crash dialog: ProcessRecord{41e7c7d8 2207:com.android.systemui/u0a13} E/InputDispatcher( 2087): channel ~ Channel is unrecoverably broken and will be disposed! E/InputDispatcher( 2087): Received spurious receive callback for unknown input channel. fd=314, events=0x9 E/InputDispatcher( 2087): Received spurious receive callback for unknown input channel. fd=321, events=0x9 E/WindowManager( 2087): Unknown window type: 2200[/QOUTE]

Sorry for bad English.