yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Wait....so i'm assuming the device booted fine and there were no systemui force closes with TEST8?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
There were same ui force closes after clicking home and recents button.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Ok, try this...u may need to delete the tablet.xml again but try it with it included first. Also...u may need to change the "systemui" and "android system" to 128/160/213 dpi and 600x1024 (try this first...then try 800x1280 for both). Once again...u need to set these in app settings module BEFORE u flash(If it's even neccessary)

View attachment 2131406

^TEST9

if it boots but systemui still force closes then remove all minimode related files and try again...if everything seems to be ok reinstall xposed with the multiwindow apps manager, activate some apps (since none of yours will probably work by defualt), reboot and look for resize maximize icon.

I dont think this has been stated yet & just so we're clear...just because u dont any see signs of multiwindow in settings or notifications does NOT mean its not working. Floating window mode works WITHOUT the flashbar, phone.xml OR the tablet.xml installed (the xml files are what places the toggle in settings/notifications)...also it would help if u had an alternative way to navigate installed to try to workaround home button issues(gesture control, full screen, etc)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ya by using toucher there's no need of home button and it dosent causes ui force close.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
OK, using toucher to avoid systemui force closes i think that floating mode MIGHT in fact be working....of course u need to activate apps using xposed first and maybe change dpi but let me know (look for resize icon in top or bottom right corner)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
After testing zip 9

System ui force close even after trying many dpi combinations

Statusbar not displaying.

No minibar nor floating window traces after xposed and multiwindow manager.

I think first we have to try the flashbar appear using xperiacle's method and try to modify flashbar to work in our device.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
After changing dpi of ui and android system and changing your preferred resolution without flashing any zip just with stock.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
concerning the status bar...did u remember to add the line qemu.hw.mainkeys=0 to you build prop?

the last couple of zips have been xperiacles method...at least partially anyway. What he described as far as changing resource numbers is essentially rewriting code and thats gonna take a lot of time & work...at this point if that is what it takes then i hate to say but it will almost never get done because i would definitely need the device in hand in order to properly test without taking 2 years to do it.

lets rewind a bit...has there been any zip that i've given u that has NOT had the systemui force close? i'm about to read through the thread again and hope that i have missed something...all of the combinations we have tried should have gotten at least some results at some point

here goes another zip to try while i'm reading...u may need to set systemui & android system to 213 dpi 800x1280 resolution BEFORE u flash (try it with & without)

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

^TEST10
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Bootloop.

You are saying true without having a phone in hand it's difficult to port any feature but trying is the only hope of development.

I think the services and the framework2 has some classes missed with flashbar which is not supporting our device.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
[MENTION=4559222]frapeti[/MENTION] I installed winmerge and found the s2 services.jar file.Should I replace every different file?The only multiwindow files I found were in the zip of the old guide(s2 XWLSJ).
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
According to the thread you had to make changes in the phonewindowmanager.smali

And atleast three files smali files had to be added to impl/am folder In the services jar and we had almost modified the android.policy.jar to run multiwindow but still had to make changes.

And the framework2.jar, flashbarservice.apk because after trying many flashbar but did not work at ace 2 forum by adding some classes someone has make the flashbar appear.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
We must ask Drn01E(or whatever name he has) what he did because I found a bool value in the phone app which enables multiwindow for it(this must prevent the secphone force close they had).
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
You should add everything missing from s2 to i9070, file by file, block by block and line by line different, (not just copying them), that's a painful work but that's the correct way
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
The only differences I found in most s2 files are the ".line" numbers.The rest are almost identical.
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
MW related classes are not identical
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
If I would know where are them...without knowing this I'm like a blind man who tries to get the silver ring from hundreds of steel rings...
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
Diff class by class and you will find the differences, if those class are almost identical you can save time and skip them
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Frapeti you can try the guide posted by xperiacle on page no 19:)
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
Maybe we can divide the work of compiling jar files shaik let's try tell me if android. policy . jar is proper..

I'm ready to help with it...

We can modify it according to grand..

---------- Post added at 05:44 AM ---------- Previous post was at 05:30 AM ----------

Hey xperiacle can you pls elaborate your statement...do you mean flash bar service.apk ?

Or giving permission as rw-r-r to all the files?

Or adding MW permission files ?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
First our mission is to just make the flashbarservice.apk appear I will give you one apk you just have to add the classes from s2 or grand

May be s2 beacause s2 has a modded multiwindow.

Then the framework2.jar we just have to add the multiwindow smalis it's important because without framework2.jar we can never get the flashbar appear.

After modifying android.polcy.jar now I have to work with the phonewindowmanager.smali

After modifying these three files we can make the flashbar appear after this only we can step to the services.jar.

And xperiacle is talking about the xml files which should be in system/etc/permissions

http://db.tt/ZNevObrK

Flashbarservice.apk^
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
i don't think you have to mod the apk

instead of that modding 'jars' is required

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

that will definately take time bro..

probably you try to mod the android.policy.jar first !
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ok you can just modify the framework2.jar and pass it on it's important and then I will try to just appear the flashbar if it get appeared then we will be close to it.
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
ok i'll try..

pass me those files

i mean framework2.jar which you are using 'untouched'..

and the link to the guide

edit : if you want the permissions (xml files) are ready..
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Here you go

http://db.tt/JrQNxhZ9

Jar files^

I have the xml files.

Good luck I will report if I find something in phonewindowmanager.smali
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
howcome u are sure that framework2.jar is required for mw..

anyway pass me the link to the s2 mw guide also..
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
http://xdaforums.com/showthread.php?t=2024227

S2 lsj guide^

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

How come I know framework2.jar is needed to appear flashbar.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
http://db.tt/JhgLsBGX

Grand files^

So you had find the diffrences in the phonewindowmanager.smali

You had added the multiwindow folder in the android.policy.jar
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
no it isn't compiling properly ..

we cannot blindly follow the guide we need instructions from frapeti and xperiacle..
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
But you have seen the framework2.jar just tell me which smalis are missing in the framework2.jar
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
look without a proper guide i can't tell what's missing

i'll look into it some hours later i'm looking for some more guides on multiwindow...
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
I found.

In framework2.jar in android/sec/multiwindow folder is missing.

And android/view folder I think after adding these and trying bundle of flashbar bar with modified policy one flashbar can work.

Can anybody test this.
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
no we can test it right now ...u need to configure those files, the jar files in the s advance zip which u passed wasn't properly modified..

they had errors..sorry but don't go to test it now i hope some recognised dev will look into this..
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Use winmerge to seek differences.It does miracles;)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
I tried it bro

Just waiting for a senior developer for instruction.

Edit:I will try some jars tommorow.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
http://db.tt/C4wiRHwg

Here's the logcat after modifying policy and framework2

System ui and flashbar issue.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
well good news and bad news....good news is hopefully we will have a fix soon but the bad news is we have basically wasted a week because of faulty flashable zips. Apparently EVERY package i put together in the last week or so has been broken which means that this mod MAY have been working days ago...smh. Anyway...someone please test this version and if it doesn't show any changes after flashing then u may need to manually place the files in their proper places and change permissions. In order for this to work u must install xposed along with app settings module and change the dpi of "android system" and "system ui" BEFORE u flash

install instructions

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-flash the zip below OR extract and manually install

View attachment 2136978

View attachment 2136980

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

^TEST11
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
On potrait the four boxes are not coming proper.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:


But not working only the ui has changed may I have to change the dpi.

Awesome bro I think we are close.

No force no errors nothing everything works fine just have to make work floating window.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
yeah, we hopefully we are close...did the zip flash or did u have to install manually?

if u didnt follow the xposed instructions that part is NOT optional...u MUST change those dpi values in order for this to work. Since your screen is smaller u may need to increase/decrease the actual numbers though...try 120 then 140 for both options in app settings

this SHOULD be the fix...replace the the multiwindow.jar with this one

View attachment 2137673
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Let me try but why the screen in potrait is not appearing proper.

I have to add flashbar or not.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
no...forget about flashbar forever (lol..i dont think we will need it)

i need a screenshot of portrait but most likely it's your dpi...did the zip i posted flash correctly or did u have to copy the files yourself?(IMPORTANT)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope nothing happened after pushing the multiwindow jar
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
I flashed your zip but not working also after pushing the jar no multiwindow option is in settings
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
multiwindow opton does NOT need to be in settings for floating windows to work...the tablet.xml is what puts the toggle there and u say it makes the screen blackout. i'm almost sure it should be working now...do u have the xposed multi window manager installed and apps enabled?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
No can you post it.

But tablet.xml needs nav bar i think

Edit:nope after pushing tablet xml it boots but there's no sign of multiwindow.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
its probably just your settings menu...but here goes the flashbar and the settings.apk

View attachment 2137851

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

^SECSETTINGS.APK

also...HAVE U PLAYED WITH THE DPI & RESOLUTION SETTINGS YET? (IMPORTANT) I saw u in the other thread so if u read it u will know that it was not working for unclefab either UNTIL he found the proper dpi

edit: when u say you're "pushing" the files are u checking permissions & rebooting afterward? it sounds like u are using adb to do it and it does NOT set proper permisions unless u set certain variables...please triple check the perms on ALL files
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
So I have to change the secsettings.apk

And I have used root browser to set permissions and cheked the permissions.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
U shouldnt have to change settings but if you're worried about the option showing up (again...this is NOT important) then u MIGHT have to
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
May be something wrong in the script.

The files are not properly extracted

No multiwindow xml files are present after flashing.

how does I copy the jar files you know phone freezes after deleting services or policy jars.

And tablet.xml still causes blackscreen after flashing and adding missed multiwindow xml.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
u need twrp which is a touch screen recovery that has a file manager built into it...u will probably have to mount system first so it shows up (also has the option)

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

^TWRP KERNEL (looks like u might have to do a lil reading but this is what u need)

ATTN: ANYONE READING THIS WHO CAN HELP....CAN SOMEBODY PLEASE CREATE A PROPER FLASHABLE ZIP FOR US SO WE CAN COMPLETE THIS PROJECT!!!
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Aroma file manager is an option too.

Just use a generic flashable zip (or do you want a VRT zip?)
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
i guess should have explained the situation in a lil more detail...it seems that any zip i open is being corrupted some sort of way and at this point its become frustrating because its holding up progress. I've tried "pre-packaged zips" that i found online and yet STILL i'm having the same issue where it seems only some of its contents are being flashed...ive checked my updater encoding, zip compression, i'm not extracting, tried 7zip and somehow the problem persists. What i really need now is for someone to take TEST11 above and place its files in a fully functional flashable zip so we can get a V1 up...I will be sure to give credit in the thread i create to whoever helps me out. I'm almost certain the mod is ready at this point but my package won't work and the one guy that's helping me test doesn't really know how to manually place files...not to mention it would make it easier on everybody.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Ok, I will make it in around 15 minutes because I'm eating now.

---------- Post added at 10:11 AM ---------- Previous post was at 09:54 AM ----------

The problem is that I don't find any mistake in the updater-script so flashing should work.But are these the raw files from Galaxy Grand?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Using aroma file manager I will test the files.

I think something is wrong only some archivers like zarchiver extracts properly and other archivers are missing some files after extracting.

I will try your files sometimes later coz going to sleeping.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Are you typing and slepping at the same time?:p
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
all of them except 3 which are N7000 systemui & minimode files...will u also be able to test it or should i wait on [MENTION=5168784]shaikhsumair99[/MENTION] to log on?
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
If S2 raw files aren't working on our phone than the note's are less likely.But if you want Ibwill test the zip.

Do I really need to make so many DPI changes?
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
We already have proven that the systemui works on the advance.. [MENTION=5168784]shaikhsumair99[/MENTION] has tested it and even put a screen shot in post #254. The dpi changes are neccessary (it solves force closes & button cut offs) because floating is activated by dpi and because of the resolution differences between devices...there a few misunderstandings about multiwindow which is why it has taken so long for people to get it working. There are essentially 2 approaches...one is to rewrite code which xperiacle has gotten more into but the other is file combinations which is actually how he started off (using a tab 7 system ui with note 10.1 multi files on a N700) and is the method i have had success with on now THREE different devices (including activating floating mode on the grand which is identical your device). There is a theory that there are basically only 2 or 3 main branches of roms (this may be documented somewhere) from which samsung bakes all other device firmware from so the trick is to find what group yours came from...as xperiacle said earlier in the thread the advance is the same as the note 10.1 & the N7000. So yes...i would like u to test for me please but if not i guess u guys will have to wait until [MENTION=5168784]shaikhsumair99[/MENTION] wakes up.

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

^GRAND THREAD (at least read post #42 and this should give u a better understanding)
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
What DPI changes do I need to make?
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
check post #253 (or the one i referred u to in the grand thread so u can see exactly how he came up with those figures) but understand that the numbers MAY be different because your screen is an inch smaller which means a higher density at the same resolution but try those settings first because they have been proven to work...the xposed files u will need are also attached to that thread and read the post above u again because i just edited and added a line which might make this all make sense. With all that said...there is ONE other change i may need to make to the files themselves but other than that its gonna be a combo of removing what doesn't work & changing settings
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Bootlooped after placing files manually in aroma.

I think only system ui works.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
hopefully [MENTION=5026789]ionescugeo9942[/MENTION] reports back with better news...but try to use ONLY the android.policy, services.jar, multiwindow.jar, minimode.jar, minimode_tray.xml minimode-res.apk leaving out ALL of the frame files i gave u (use your original frames along with the working system ui and other permissions files of course) and see what happens. If that doesnt work then use your orignal minimode files (but leave minimode_tray) and try again...if that doesnt work i still have other 2 options to try (a couple of combos with each option)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope bootlooped again:(
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ok...try ONLY these 3 with the system ui & permissions files

View attachment 2139432

View attachment 2139433

View attachment 2139434
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Booted but same ui dialer gallery and splanner force closes.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
do NOT worry about app force closes right now....what dpi settings are u using on the phone & xposed and do u have the manager installed?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Yes I have exposed multiwindow apps manager and i have set your instructed dpi.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
so u do u see the maximize/resize icon on any of your apps? if u have the phone.xml in permissions then please delete...remember what i said about u maybe needing to change the numbers also

after u have checked those things add these 2 and see if the phone will still boot...also dont forget to put minimode_tray back in permissions if its not there

View attachment 2139506

View attachment 2139507
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope no sign of multiwindow except the 4 icons on the statusbar.

And after clicking those buttons
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
AFTER u try to boot with the minimode files....try the "system ui" and "android system" at 120/140/160 and also try changing the resolution to 800x1280
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope tried every dpi and played with diffrent dpi also but still same.

Because there is no multiwindowmanager.smali in framework 2 I think so.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
so did it boot with the minimode files added?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Yes but no change.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
try to add that flashbar i gave u a couple of posts ago...i dont think that will work though so i got another batch of files that i want u to try wenever you're ready
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ok but I will try it sometimes later because of some studies and religious matter.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope still nothing even after adding flashbar.

Ready.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ok...try only these 3 with the system ui & perms (include minimode_tray.xml)

View attachment 2140182

View attachment 2140183

View attachment 2140184

did u add the line qemu.hw.mainkeys=0 to your build prop because i think that's neccessary...also did u ever find the proper settings to fix portrait mode because that's another reason why it's probably not working?