yashsingh1/xdaforums huggingface dataset:
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
test2

Well...hopefully this is the one or else i'm going to have to take my time and SLOWLY go through the code. If your phone will not boot then u may need to remove the services.jar and/or the android.policy.jar from the zip then try again (may want to make backups of your working ones...i figured i would go ahead and include them this time since it seems like u know what you're doing)

View attachment 2327115 (same install instructions as above)
[Galaxy S Advance I9070 Original Android Developmen] dagger:
OK..

Testing now..:)

---------- Post added 16th October 2013 at 12:00 AM ---------- Previous post was 15th October 2013 at 11:33 PM ----------

OK so the phone booted with this zip..:)

The zip cleared the dalvik cache so it is still optimising apps..

will give you the screenie once it boots completely..

---------- Post added at 12:18 AM ---------- Previous post was at 12:00 AM ----------

OK so here are the results.

the phone booted normally but there was a systemui fc message and the status bar was gone..

i went to /system/app and found out that ther permission of systemui.apk was

rw

rw

rw

the same was the case with android policy.jar,services.jar and multiwindow.jar

so i changed it to

rw

r

r

But even then i am getting a system ui fc message and the status bar and virtual buttons disappear..
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
wow...i think i should probably only work on one device at a time instead of 4 :silly:

so...somehow i made all of the changes but forgot to save them :eek:

anyway...this one might not work either but it DEFINITELY should be better than the last try. I have a question though...do u guys have the minimode.jar in "system/framework" and the minimode-res.apk in "system/app"?

link removed:see post #374 below
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Both apk and the jar files are there.. :)

And about the flashing.

I will do it tomorrow because right now is 2:00am and I am feeling sleepy.. :p
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Only makes statusbar transparant. Nothin' more.mm

Verstuurd van mijn GT-I9070 met Tapatalk
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Test 4

whenever u wake up dont waste your time on test 3 and go ahead and try the one attached below...thx

Just realized why the mini apps bar wasnt showing up...please test this one and let me know. Question...i'm assuming everything else works ok? (specifically the home & back buttons)

i apologize guys...i'm trying to do too much at the same time which is why i'm making some basic mistakes that are causing us to waste time :(

INSTALL INSTRUCTIONS

1. you MUST be on a DEOEXED 4.1.2 TOUCHWIZ BASED ROM preferably pure stock (can anyone tell me if u guys have a stock 4.2.2 out?)

2. install busybox if it's not already

3. install an alternative launcher (i use apex personally)

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

5. 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 2327623
[Galaxy S Advance I9070 Original Android Developmen] dagger:
The result of this test was similar to my previous report(post no #366)

The only good thing was that there was no random systemui restart.

It only restarted when i pressed the virtual home or recent apps button.

Also i notified that the permissions of the files was 666 so i changed it to 644.

Was that right? ?
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
One of the users here used "zipme" to auto-generate a flashable and i guess it takes the safe way and sets them all to r/w (i guess it's ok since the systemui is being flashed properly)...did the arrow at least show up this time?
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Nope..

The arrow didnt showed up..:(
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ugh...try setting your build prop to 160 (actually...set it low as it will go but still boot if u dont mind) i think i'm gonna need to move a layout file but more importantly i have to hunt down that force close...do u have xposed installed & if not are u familiar with it? also...do your hardware keys cause a force close as well or only the virtual ones?
[Galaxy S Advance I9070 Original Android Developmen] dagger:
ok.

so i have the xposed framework installed.

also both the virtual and hardware home key gives a fc..
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
what i want u to try is to put the entire phone to 160 dpi in build prop & use the app settings module to set BOTH the "android system" and "systemui" to 160 DPI and 600 x 1024 resolution (could even try 800 x 1280)...i guess u will need to change that BEFORE u flash since u most likely wont be able to navigate afterwards.

Also... try flashing the file WITHOUT adding the qemu.hw.mainkeys=0 line to your build prop and see if your hardware buttons still cause a force close .If not...repeat the steps above & install the samsung multiwindow manager from the playstore , enable some apps and see if the restore/window icon shows up and press it to see what happens (the icon may already be present in the native mw apps but i'm sure to enable float your dpi will need to be lowered...may need to increase resolution as well to 800 x 1024)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
In the zip there are all grand duos Deodex files.

The zip contains.

Flashbarservice.apk.

Framework-res.apk.

Framework.jar.

Framework2.jar.

Service.jar.
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Yeah the problem is, that he replaced the sync button with multiwindow.

But I will add it again, every moron can add it by decompiling SystemUI.apk and look into arrays.xml......
[Galaxy S Advance I9070 Original Android Developmen] KINGbabasula:
Just put flashbarservice.apk into system/app and your sync toggle will be replaced
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Android.policy.jar grand duos.

http://www.4shared.com/file/7ni6IkxX/androidpolicy.html

---------- Post added at 03:32 PM ---------- Previous post was at 03:30 PM ----------

Nope after modifing android.policy.jar.

And placing files.

It appers.

But after modifing services.jar it gives fc.
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
im not on stock xD
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
Is it modified or untouched

And what exactly appears? The toggle or the drawer button on the left hand side

---------- Post added at 03:49 PM ---------- Previous post was at 03:44 PM ----------

OK people maybe we can do it step by step ..so that we can sort out errors easily we can see that adding the multiwindow.jar and flash bar service.apk adds a toggle called MW any further findings on how it is related to android policy jar and services.jar would be helpful and please put up your observations...
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Toggle appears but after switching it flashbar sevice force close.

And all things work correctly but phone.apk dosent work.

But we can make calls through contacts.

You can solve it through modifing the three framework files.
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Wait? So our Multiwindow disables phone.apk?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ya.

Maybe because of mismatch framework.
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
I guess....

Then is it need to be modified in framework or phone.apk?
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
I'm trying to port aosp contact app by Dr linking the contact app from services administered by tw framework but that's not the only solution we've got ..need to find something else..any other observations?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Observing framework2.jar.

I have heard that it has missed classes of multiwindow.

Hope it will help.
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
Framework
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Flashbarservice. Apk some classes are missed may be by merging them the multiwindow would work.

Testing fingers-crossed.
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
Why don't you look at s2 guide instead of trying to reinvent the powder?
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Lol that's one hell of an idea... Why are we just f**ing around when it's written in S2 forum....

But I thought it was a stock 4.1.2 feature in S2?
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
I've tried that guide ...it doesn't work for our device.. And yes it's not a stock s2 feature that's why I asked for galaxy grand files cos it's the only phone I can find having hdpi resl. And built in MW ..
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
Of course it's not for i9070 but that's the whole guide, adapt it and it will work
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Failed.

Framework-res.apk has to be modified.
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Okay. I'm not at home for the weekend. Monday I will start the development again!
[Galaxy S Advance I9070 Original Android Developmen] dagger:
So I set the dpi to 160.

A resolution of 600*1024 for those apps.

But still getting fc on pressing the home button..(I didnt add that qmeu line to build.prop.)

Cant attatch a screenie as the gallery is also giving fcs.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
i'm not sure if u will be able to pull a logcat but i would REALLY like to see one...oh well back to the code :crying:

edit: wait...MAYBE i'm making this a lot harder than it has to be. i just remembered that i already modded a systemui for the grand (confirm working) which technically should work on your device as well...try the attached zip and let me know

View attachment 2328606 (u will need to add the line back to your build prop...if your device doesnt boot then remove services.jar and/or android.policy.jar then retry)
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Ok I will test this and get you a logcat along with this.

Give me a bit time..

---------- Post added at 04:23 PM ---------- Previous post was at 03:55 PM ----------

Still no luck..:(

Getting the same errors as before.

Just one thing, I have ink effect installed so could that be the one which is creating conflict? ?

Also i dunno why catlog isn't reading the logs. ..:mad:
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
it's possible but i doubt something that simple could be causing problems...so still force closing and still no miniapps arrow? if u feel like trying again...remove ALL other files from the zip EXCEPT the systemui and see what happens. At this point...i have to assume that something thats being added to the system along with the systemui is causing the problem because it just doesnt make any sense that the modded native systemui and a known good one would be experiencing the exact same issue. Make sure that non of the permissions files remain in "system/etc/permissions" that are in the zip and be sure that u are in fact using your stock/default android.policy & services.jar...also delete multiwindow.jar as well
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Ok.

So i got a good news and a bad news.

The bad news is that still there is no pop up button along with the virtual buttons.

Good news is that there is no more systemui fc on pressing the home button. :D

It only fcs if i enter into landscape mode.

Also i noticed few buttons on the top of status bar which seems to me like the multi window buttons. .

The taptalk is acting crazy and Isnt allowing me to upload images.

So here is the link for screen shot.

http://youupload.org/aq9lyed
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
finally some sort of good news...i'll take it. :D So...now we have a few issues and you're the only one that will really be able to solve one of them. We need to pinpoint EXACTLY which file is causing the systemui force close first....i'll take an educated guess and say that it's one of the jars (probably services) and that u should be able to put the xmls back but u will need to expermiment and let me know for sure. Next...do the same thing u just did with the systemui from test4 (shouldnt work just like your regular systemui....meaning no force close in landscape) but please be aware that those multiwindow icons (yes..thats what they are) will not show up because they are actually built into the mini apps tray which is why our next priority will be getting that arrow to appear (I have an idea as far as copying layout files...if u want to experiment before u go back to the test 4 systemui then use the test5 systemui along with the xmls and the androi.policy.jar only (assuming neither of these causes the force close), install the multiwindow manager from the market, enable some apps, look for the resize icon in those apps & test it, then try those buttons in the pull down to see if they work.
[Galaxy S Advance I9070 Original Android Developmen] dagger:
umm..

i am a bit confused here..

can you simplify me about what i have to do??
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
lol...just try the systemui from test4 by itself first (remove all other files from the zip and your system like last time) and make sure everything works including no force close in landscape
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Finally success at last..:D

I flashed the test4 zip (just with the systemui.apk and nothin else) and the virtual buttons work fine..:)

No fc of systemui.apk not even in the landscape mode..:D
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ok...so what i was saying was first we (meaning you...lol) need to figure out EXACTLY which file causes the force close (probably one of the jars...i would assume services) then we (meaning me...lol) need to get the miniapps tray arrow to appear ;)
[Galaxy S Advance I9070 Original Android Developmen] dagger:
the permissions are causing the fcs..

i can guarntee that..
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
can u pinpoint which one...try with all of the minimode xmls installed (3 files) but leave out the multiwindow xml (2 files). If it force closes....delete the "com.sec.feature.minimode.xml" and try again
[Galaxy S Advance I9070 Original Android Developmen] dagger:
finally found the culprit. .:D

it was the com.sec.feature.multiwindow.xml file which was causing the fcs while pressing home button and while going in landscape mode. .
[Galaxy S Advance I9070 Original Android Developmen] hastalafiesta:
There's any new ziptest? I'will test it for sure you are awesome men :highfive:
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Thank you very much..:)

And currently there is no zip test (not for now) but keep checking the thread for any..

Currently we are just trying to stop the system ui fcs..
[Galaxy S Advance I9070 Original Android Developmen] mhmod222:
!!Good News!!

i managed to have virtual buttons without any fc:D

But the bad news that it doesn't have the pop up arrow

here are the steps

1- install LQB firmware http://hotfile.com/dl/198627441/57a...m-GT-I9070-TSR-I9070XXLQB-1361861136.zip.html

2- then rooted it

3- installed cocore 7.8 cmw

4- deodexed it -here is the link- http://d-h.st/Bcc

5- added this line "qemu.hw.mainkeys=0" to bulid.prop

6- installed systemuimodednotpermissions.apk [MENTION=2176838]THEDEVIOUS1[/MENTION]
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Operation "arrow" is now in full feffect!

see below

i have 2 special missions for u when u come back...first install the zip below and if the arrow is not automatically there i want u to go to 160 dpi then use the same values in xposed app settings i gave u earlier BUT this time i want u to also install the tablet ui module afterwards to see if it enables tab ui and of course to see if the arrow now appears. If that doesnt work then i'll let u know whats next when u report back...thx

As i have stated...since we seem to have found the force close issue i need ALL testers to be focused on making the miniapps panel work which means making the arrow appear. Everybody please install the zip below and we can proceed from there...hopefully it automatically appears now but if not then we'll figure it out soon. I have a question though...since it seems the "com.sec.feature.minimode.xml" was causing the force closes i have removed it from the zip BUT what i need to know is if it is present by default on the i9070 meaning after u flash a stock rom is it already placed in "system/etc/permissions" (if so...please delete)? Also...if u guys install "samsung multiwindow manager" (might as well leave it on your system since u will need it to add apps anyway) and enable some apps u MAY be already able to go into windowed mode now (although i'm pretty sure u will at LEAST need to decrease dpi and maybe have to perform the xposed trick as well)

INSTALL INSTRUCTIONS

1. you MUST be on a 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-213 while you're there)

5. 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 2330336
[Galaxy S Advance I9070 Original Android Developmen] Javho:
How you change the density?
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Btw it was the com.sec.feature.miltiwindow that was causing the fcs and no it's not present in our /etc/permissions by default..
[Galaxy S Advance I9070 Original Android Developmen] dagger:
I got a good news bro. .:)

So I deleted the com.sec.feature.multiwindow fron the above zip and added com.sec.feature.minimode to it and guess what. .

I can see the popup button..:D

No fcs or anything like that on pressing the home button or entering landscape mode..

Here is the screenshot (I was on 240 dpi)

http://youupload.org/e9bsdmn

http://youupload.org/gu9vfj5
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
:victory:

well...does it work?!

i saw your post and was like "he already told me which permissions files it was"...i dont know why but i keep reading multiwindow as minimode :silly:
[Galaxy S Advance I9070 Original Android Developmen] dagger:
Lol..:D

When i click the pop up button, I get the option of video player but when i click it I get video player fcs..

I am going to switch back to 160dpi and 600*1024 resolution of systemui.apk and see that whether it solves few ui glitches that are there..

---------- Post added at 09:25 AM ---------- Previous post was at 09:15 AM ----------

Ok so the ui glitches in portrait mode sre gone when i set the dpi of systemui.apk as 160 and resolution as 600*1024.

But in landscape mode the glitches are still there..:(
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ok, we have a problem anyway... i just removed that xml to see what it breaks on my device and that one permsissions file is basically responsible for EVERYTHING multiwindow related. The panel that u are seeing is NOT the multiwindow panel but the original miniapps panel (mine reverted back which is how i know) but the fact that the arrow appeared and works is definitely progress...so now i need to track down whats going on with that. Please list these glitches in detail...it looks like the recents button was cut off in the first phtoto u posted in portait mode and and i see that the navbar is in the wron gorientation in landscape...both of those seem to be related to layouts(which shouldnt be a difficult fix) so is that accurate and is there anything else u noticed? i know what will probably happen but add the multiwindow.xml back now and see what happens :fingers-crossed:...i have a feeling u removed it before u flashed the zip (whch actually contains an altered systemui the reason the arrow shows up now but the glitches occur) and hopefully it all works now
[Galaxy S Advance I9070 Original Android Developmen] dagger:
For now the only glitch is the landscape mode and nothing else..

Now I will add back the multi window xml and report to you.

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

Crap..

Upon the addition of that xml I am facing systemui fcs again when orientation is switched and the buttons are pressed.

Also that pop up is gone. .
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
well that definitely confirms it...looks like i'm gonna have to hunt that piece of code down & kill it...for the time being test this systemui below and see if the glitches are fixed & the arrow still functions. I am preparing a test 8 i want u to try after u report back...8 might bootloop so be prepared

View attachment 2330769

edit: i think i just found the magic piece...be right back
[Galaxy S Advance I9070 Original Android Developmen] dagger:
The landscape glitch is still there..

View attachment 2330794

Edit: oh excellent can't wait to test it. .:)
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
ok...lets forget the glitch for a few minutes and just test in protrait. Since i had already created test8 (its much larger and will be a google drive link...hopefully we wont even need it after this) this one will be called test9...this may bootloop as well so let me know

View attachment 2330796

EDIT: I know i said forget the glitch but just so we're clear...did u still have the xposed settings enabled when u tried test7? if so...i think that might be the problem
[Galaxy S Advance I9070 Original Android Developmen] dagger:
The test 9 is still causing the fcs on pressing the button and switching the orientation.

But there was something different this time.

And yes I had the app settings enabled in xposed framework.

I had set the dpi of systemui as 160 from there and the resolution as 600*1024.

So should i disable it??
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
yes..u should disable it and hopefully the layout will be ok now. I snuck the multiwindow.xml back so thats why it froze...lol. delete it then check and see what else is broken besides that bar in the middle of the screen...when u post the results i guess we will try test8. Exactly what firmware are u using...and is it a custom or stock rom? if it 8 is a failure i will need u to upload a copy every file thats included in 8 from your sytem so that i can alter the ones that go exactly to your device in order to rule out incompatibilities

edit: where did the arrow go?! also...u dont happen to have flashbarservice.apk installed do u? if so...please delete it as well
[Galaxy S Advance I9070 Original Android Developmen] dagger:
There was no arrow in this one..

And i am using stock DDULP8 firmware.

So what do I have to do now??

Edit:there is no app like flashbarservice.apk in my /system/app.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
just tun off the app settings for "systemui" and "android system", remove the multiwindow.xml again, and delete flashbarservice.apk if u have it on your system...are u actually flashing the zip or still manually installing?. if manual...are u using the android.policy & services that are included in the zip?