yashsingh1/xdaforums huggingface dataset:
[Xperia SP Q&A, Help & Troubleshooting] lanluckez:
Few days ago sent an email to Sony asking about this issue. Here in Spain there was a global complaint from Xperia U users asking for open the possibility of unlock their bootloaders: not to unlock it but to change the "unlockable" state of the phone. After the debate, Sony says people could send their phones to Sony attaching the respective unlock code with which they'd unlocked (SIM Unlock). Then Sony would send the telephones with the bootloader unlockable.

PS: Maybe he meant "not unlockable" instead "unlockable". If it's unlockable then he doesn't have any problem!
[Xperia SP Q&A, Help & Troubleshooting] Wallly:
Yes, I meant *not* unlockable. I actually live in Spain so this service from Sony would be very useful, could you tell me how I can do this?
[Xperia SP Q&A, Help & Troubleshooting] lanluckez:
Yeah, mate. You have to send a message to Sony saying you've (sim) unlocked your phone and you want to unlock your bootloader. They will send you all the information you need to go through with the process.
[Samsung Galaxy Nexus] daxisalive:
Hello all. I've been using nova launcher for a long time and I've been irritated a little because nova is not a complete replica of the stock android launcher (android 4.2). What I mean is, it looks similar but the spacing of the icons are not right (which I am able to adjust through nova settings) and the folder when opened its too close to the edge of my screen. Is there any other launcher that can possibly give me the closest feel to stock launcher apart from the stock launcher itself?

Thanks :)
[Samsung Galaxy Nexus] Kustaa:
Try Holo Launcher
[Samsung Galaxy Nexus] freduser:
Nova launcher
[Samsung Galaxy Nexus] beekay201:
Why can't you just use stock launcher? People who want a complete replica of stock launcher...use stock launcher.

Lol did you even read his post ?
[Samsung Galaxy Nexus] Seraz007:
FirstWorldProblems.png :rolleyes:

Sent from my Katana
[Samsung Galaxy Nexus] freduser:
My mistake, I did but apparently I wasn't too terribly awake lol... sorry bout that
[Samsung Galaxy Nexus] beekay201:
np mate; i suspected as much, otherwise you wouldn't have suggested it, too obvious ha ha ha :silly:
[Samsung Galaxy Nexus] DroidOnRoids:
The screen shot is from my phone using Nova launcher. It looks exactly like stock. All you have to do is set margins to Large and dock margins to large and it's done.
[Samsung Galaxy Nexus] daxisalive:
That I can do, but what I don't like is how the folders are pushed to the edge. There's supposed to be a bit more gap than the whats in default by nova.
[Samsung Galaxy Nexus] daxisalive:
I'd use stock launcher if it offered custom icon support...
[Samsung Galaxy Nexus] beekay201:
DIY

10chars
[Samsung Galaxy Nexus] daxisalive:
LOL. I wish I could...

Sent from... what? SENT? ALEADY?
[Samsung Galaxy Nexus] kreindler:
Try trebuchet launcher:) it's a winner for me - smooth, slim and solid
[Samsung Galaxy Nexus] T-Keith:
Except it's not. The icons are at the top of their "areas" so there's a large gap at the bottom and almost none at the top. Changing the spacing affects both, so they are never even. Widgets seems to work properly. This has always bothered me about nova.
[Samsung Galaxy Nexus] EnricoD:
novaaaaaa

Nova launcher...

the fastest and rich of features!

:good:
[Samsung Galaxy Nexus] daxisalive:
Maintainer please close this thread. Thank you
[Samsung Galaxy Nexus] fux0r99:
Can't live without nova prime launcher, the fact I can place more apps in folders an get rid of the useless stock search bar at top is worth it alone.
[Samsung Galaxy Nexus] lastforone:
my question, why would they make a replica of Default launcher? if they're making a launcher they want to make sure its different and nothing like the default one.. :P

if you know what i mean.. and btw i use nova launcher and i think its pretty neat and easy to use..
[Samsung Galaxy Nexus] pecia:
nova launcher is the best
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Good afternoon everyone,

In the spirit of improving our phone, one enthousiastic member [MENTION=5168784]shaikhsumair99[/MENTION] started working on Multiwindow.

At first I was a bit sceptic, but I decided to join him.

In this thread we'll keep everyone informed about the Multiwindow and eventually the download for it will come.

To mods: Don't delete this post please! We want to combine forces and keep people updated about it, as the download will not appear in 24 hours, I beg you do not delete this, cuz we're trying our best to contribute something

An exact changelog of every step taken will be posted here.

If anyone wants to help, you're welcome to join!

Downloads:

http://xdaforums.com/attachment.php?attachmentid=&d=1381705480 - Modded SystemUI.apk by THEDEVIOUS.
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
Yeah opened it from my phone, but wanted to add the text from my pc. So had to edit it
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Thanks.

Its tough but we will try the best.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Progress has started.
[Galaxy S Advance I9070 Original Android Developmen] amgarcia:
good good. keep working men,

good luck! im gonna be waiting for this.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
http://dl.dropboxusercontent.com/u/29102098/framework.zip

Framework.jar, framework2.jar

Can anyone deodex these files.
[Galaxy S Advance I9070 Original Android Developmen] areeb47:
Keep on it guys. :D
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
Actually when we add flashbarservice.apk to system/app eventually MW toggle appears replacing the sync toggle at the end...

After searching for some hours in the sqlite editor (available on play) I've found that in settings provider many things are missing...

But by default MW switch is enabled so I can somewhat confirm that MW is not a kernel related feature...

I was keen on sharing my findings hope it was helpful...
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
It was helpfull for sure!

But the toggle doesn't have to be replacing Sync toggle, that could be simplier by adding a line into SystemUI/res/drawables/arrays

If you add one line in that the toggle will be added, instead of replacing another one.
[Galaxy S Advance I9070 Original Android Developmen] willi9070:
great guys....i hope now some senior dev come for help we have lots of users standing in support of porting this feature...:)
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
I can't, but I can take then from another deodexed JB ROM?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Its note 2 framework.

Have to take from s2.

Deodex.
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
OK ppl !

You got me interested into this topic again ....

Some one pass me the framework.jar, multiwindow.jar,android.policy.jar and services.jar also the flashbarservice.apk from galaxy grand duos ..

We r going to take multiwindow from grand (for some reason...which i cant explain right nowand yes it is a firmware specific feature not kernel related issue at all and plz write your firmware somewhere coz it helps ...mine is xxlqe )make sure the above mentioned apps are deodexed

U can take it from Bali boxer's ROM(make sure u download the deodexed version cause his ROM is in odexed format too) in galaxy grand duos development

please note -

i am on a low speed connection and hence I can't download the ROM(a big sorry for asking all those files)....

I can only help u people with these files otherwise please don't expect anything from me...
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
I can give it.

Downloading.
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
Waiting here we can start ASAP..:) :thumbup::thumbup:
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Uploading.

---------- Post added at 02:41 PM ---------- Previous post was at 02:32 PM ----------

http://www.4shared.com/zip/Ikk50-21/mw_files.html

Done continue I am here for your help.
[Galaxy S Advance I9070 Original Android Developmen] amitnv:
Downloaded !

But there are 2 files in it with same name - MW files which one is from grand ?

Or maybe both are same ..
[Galaxy S Advance I9070 Original Android Developmen] Jeroenvk94:
I'll start downloading them right away!
[Galaxy S Advance I9070 Original Android Developmen] Bulgaricus:
ah yeah? just to ask :D where is the sync button? ;)
[Galaxy S Advance I9070 Original Android Developmen] frapeti:
No, I guess you didn't get me, i9100 stock jb ROM already has mw partially included but somehow disabled, our stock jb ROM doesn't, so... The first thing you may want to do is porting stock services.jar (from i9100) to our stock services.jar, use winmerge to diff, when you complete this step, then follow that simple guide for the s2
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ok as you are saying I can try but what about the framework files and system ui which has multiwindow files included.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
What multiwindow files has SystemUI?It doesn't have almost any relation with multiwindow,except the toggle,which is generated by the framework.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Take a look to test zip 5 on the thread you will get your answer.
[Galaxy S Advance I9070 Original Android Developmen] xperiacle:
So I had a quick look at the files you attached. But before I go further, are those files stock/native files for your device or imported from other devices? Looking into their manifest seems like they are stock.

So here is what I found out.

1. framework-res.apk - your framework-res.apk is has more complete multiwindow resources than the Note2 or SGS3. So the framework-res.apk is ready for multiwindow.

2. SystemUI.apk is the same code as the Note1 and Note10.1 and has the multiwindow code to be able to work with floating windows like Note10.1.

3. android.policy.jar - has missing multiwindow code - I mean one whole folder of multiwindow code. The PhoneWindowManager.smali seem to have the necessary code to tie the multiwindow codes together provided you have those codes in place.

4. services.jar has missing multiwindow code (responsible for determining what apps appear on the multiwindow bar, etc.) about 3 smali files located in /am folder

5. framework2.jar has missing multiwindow code (I mean multiwindow folder with one multiwindowmanager.smali file) that contain some methods accessed by different multiwindow apps and the android.policy.jar.

6. multiwindow.jar - you need this file because it contains the multiwindow api code.

7. also the multiwindow permission files

So if you could port all those codes and be able to point the resource ids to the correct values in your framework-res.apk then you will get the flashbar multiwindow or even floating multiwindow to work on your device. IT IS HARD WORK.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ok everybody I know no one is intrested in this so I am leaving this project multiwindow.

Because of lack of devs.

If anyone wants to start they can start with this thread.

But without any experienced developer this project is impossible.

Trying by myself everything is failed.

I will try if someone supports and guide me.

---------- Post added at 05:26 PM ---------- Previous post was at 04:59 PM ----------

Its stock files as i am using stock for pure touchwiz.

I cannot do it myself as I am not good at it maybe someone good at it can do it.

But I will try.

But please can you try this because you are the only one who can do it.

As this can only done by a xperienced dev like you.

Hope you are free to help.
[Galaxy S Advance I9070 Original Android Developmen] xperiacle:
I think there is a way of doing all those you mentioned but it is difficult when one doesn't have the device. If the necessary codes are there then enabling them would be easier than porting the code from other devices. Samsung implemented floating windows only at certain dpi and normally triggered when you are sw600dp density. Minimize button is an easy mod if the codes are already present in android.policy.jar. The note8 switcher app only change the dpi so you can decompile it and change the dpi with the corresponding tablet and phablet dpi for your device. I think if you already have the flashbar working then I think there is no point enabling floating windows like Note 10.1. As to the 5-layout multiwindows, it is a complicated mod that even I sometimes forget how I did it. It is creating resources and then injecting smali codes and pointing the ids in the code to the rerource ids of the layouts I created. I myself am having difficulty trying to do it for note2. It is difficult when you don't have access to the device you are doing the mod on. Anyway, thumbs up for having done a great job porting multiwindow to those devices. You are a great dev. Keep it up.

The minimize button is enabled by just lowering the register number in MultiPhoneWindowEvent.smali in android.policy.jar. Just search for the minimize field and its initialization in the construct method and change lower the number by 1 (v12 becomes v11 for example).
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Xperiacle you can make possible the multiwindow mod to this device and I know you will do it easily.

Happy that you will help.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
TEST6

Try this...u probably need to set your dpi to 160 first(if your phone will still boot that low)

if this doesn't work i'll put together something a lil more specific to your device later...dont give up yet man ;)

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

^TEST6

[MENTION=4948919]xperiacle[/MENTION]

thx for your input & i agree it is difficult when u don't have the device...if u could provide a lil info about question #1(that's if u even have a clue) that would be great but what i need to know now is how hard it is it to add a drawable folder (ldpi/nodpi) to my systemUI? I'm sure its more complicated but can i just copy & paste the folder with the pngs i need then rename it or will i need to edit smali/xml somewhere(this is concerning question #6...just want the slider bar to appear at 134 dpi)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
As you say I am still in the project afterall Xperiacle is here to help.

Edit:there's no flashbarservice.apk in the zip.

---------- Post added at 10:59 PM ---------- Previous post was at 10:11 PM ----------

It booted but after optimising apps again the blackscreen appear.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
[MENTION=4948919]xperiacle[/MENTION]

knew i forgot something(one of the most important questions of course...lol)...do u have any idea of why the tablet.xml would cause a blackscreen?

[MENTION=5168784]shaikhsumair99[/MENTION]

first...what homescreen/launcher are u using? (should be something OTHER than touchwiz...i personallly use apex) Next...delete the tablet.xml and replace with phone.xml (set permissions...dont worry about the flashbar for right now which means do NOT install it)
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ya I always use apex launcher as my default launcher.

Can I know what's changes are made in zip 6.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Just switched to note 10.1 files since xperiacle mentioned thats what your systemui was closest to...try the phone.xml suggestion and see if the minibar works after it boots
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
By changing dpi to 160 or default at 240.

Have you gone through the method written by xperiacle.

May be because of the navigation bar we are getting that blackscreen.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
will your phone boot normally at 160 WITHOUT installing the test zip and if so...does it change the look of the ui from phone to phablet/tablet?
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope it remains same as phone ui.

So can I try the zip with 240 dpi.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
Ok lets try this...BEFORE u flash TEST6, install xposed with the app settings module then set both "android system" & systemui" to 160 dpi 1280x800 resolution (leave the build prop at 160 also) and add the line qemu.hw.mainkeys=0 to the bottom of your build prop (do NOT wipe data...cache wipe should be fine & might be needed).
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
After flashing zip 6 with phone xml.

After following the instructions.

System ui force close.

Statusbar not displaying.

After ticking the multiwindow in settings nothing happens.

After pushing flashbar again flashbar error.

Maybe you have not usen my system ui.

One thing if we did not use flashbar it will never exists.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
changing the dpi SHOULD get rid of the force close(try 200/213) but for now just forget about the flashbar...it is not the only way to get multiwindow. As xperiacle stated your code matches the NOTE 10.1 tray bar method so thats what we want to focus on. If that doesnt work then start over fresh from stock and try the zip below...u still need to add the line qemu.hw.mainkeys=0 to your build prop BEFORE u flash. If it blackscreens do NOT add the phone.xml...just delete the tablet.xml from the zip and try again. Oh yeah...could u please upload your build prop for me

link removed...see post below

^TEST7
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
http://db.tt/bzP8nMIt

Build.prop.

May be first we have to convert system ui to tablet first.

I have to flash it after zip 6
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
use this TEST7 instead of the first one i posted...the build prop has already been edited but u still may need to delete the tablet.xml if it blackscreens (do NOT add flashbar or phone.xml)

View attachment 2130045

^TEST7
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Navigaton bar yeh.

But after clicking home button and the recents app button the system ui force closes.

I have to change dpi or not.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
probably so...did the mini apps arrow show up?
[Galaxy S Advance I9070 Original Android Developmen] xperiacle:
When I enabled Floating Multiwindow on the Galaxy Note2, putting com.sec.feature.multiwindow.tablet.xml causes black screen. So what I did is deleted the com.sec.feature.multiwindow.tablet.xml file altogether and voila, no more black screen.

But the blackscreen you are experiencing may not be caused by com.sec.feature.multiwindow.tablet.xml but by other firmware incompatibilities because you are flashing apks and framework files from another device (n8020) as used by devious1 on the tab plus and 7.7. So basically, devious1 ported the apks and framework files from another device. It just so happens that the firmware for tab plus and 7.7 was compatible with the ported files that devious1 used that is why he did not have the black screen so if you are to substitute files from another device, forget about multiwindow for now and make sure the ported files make your device boot without problems. If it boots without major issues and can launch apps and no systemui FC, then that is the time to work on the multiwindow part. I did it once - I ported the Note 8 firmware on my Note1 and I got the Note 8 multiwindow working but there are issues that I can not live with and have difficulty resolving like SystemUI, Dialer/Contacts and all sorts of stuff so I abandoned the project and just modded my flashbar to look and function like the Note 8 multiwindow. I am using stock NOte1 files that I modded with missing codes added from various devices (I did not substitute stock files with other device's files) so everything that is working on the stock files still work as they should and have the ability to switch from native mode to the ported mode.

What you could maybe do is port the firmware of some same resolution device that has multiwindow and the whole ported ROM to work on your device so even the multiwindow function will work out of the box. But that of course is a difficult undertaking.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Nope only the nav bar works and the system ui issue but after deleting tablet xml.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
[MENTION=4948919]xperiacle[/MENTION]

at first we were using the files from the galaxy grand (which i am currently trying to get floating mode working on so any advice would be helpful) which seems to be the closest device with native multiwindow but due to the fact that u pointed out how similar the note 10.1 files were i made TEST6 with pure N8000 files and TEST7 is the original stock galaxy advance files modded with the changes u suggested (again the changes came from a note 10...except i didn't see any multiwindow related files in framework2)

[MENTION=5168784]shaikhsumair99[/MENTION]

try 200/213 dpi...did u remember to turn OFF the individual app settings for "systemui" and "android system" BEFORE u tried TEST7
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
Ya I turned off those settings first.

And also tried changing dpi to 213 but that also causes system ui force close.
[Galaxy S Advance I9070 Original Android Developmen] xperiacle:
If using the galaxy grand files, does your device boot without issues?

If using the test6 or test7, forget about the navbar for now? Set your dpi to 128 in build.prop, reboot and open up Gallery and VideoPlayer and see if it has the MULTIWINDOW button on the top right corner or bottom right corner. 128 dpi is highest dpi to trigger floating windows for your resolution.

A few minutes ago, somebody in the galaxy grand duos has PM me about enabling floating windows on his device. So if the galaxy grand is comptible with your device, maybe you can work together.
[Galaxy S Advance I9070 Original Android Developmen] THEDEVIOUS1:
i'm not sure why the systemui would be force closing now since we're using the original but i just made a stupid mistake and left the multiwindow.jar out of TEST7 so that one NEVER would have worked...lol. While i'm brainstorming (translation sleeping...lol) try this new zip below...if i were u i would try a bunch of different dpi settings betwen 160-240 but also u can try to edit the build prop and change characteristics=tablet back to characteristics=default to see if that makes a difference(do that after u try test 8 though)

View attachment 2130275

^TEST8

EDIT: listen to xperiacle about the dpi settings
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
After flashing the zip the multiwindow.jar exists in the system framework folder but there are no multiwindow traces in the statusbar nor the mini bar is there.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Why don't you first try to get the normal multiwindow working:rolleyes:?No one will use the phone with so low DPIs...
[Galaxy S Advance I9070 Original Android Developmen] ManiacShri:
If you have nothing to contribute, shut up and do your work. Don't go around giving advice to those who are actually contributing.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
Did you have a bad daybor something? I actually see harder to port the "floating" multiwindow instead of the normal one.Yourbpost doesn't help neither.I just gave an opinion.If you're too angry, get a stress ball or something...I just think that it's too hard to get a feature that only tablets have.If someone really wantsnto port multiwindow, frapeti's method seems morw reliable.
[Galaxy S Advance I9070 Original Android Developmen] shaikhsumair99:
If you are free you can try the frapeti's method.
[Galaxy S Advance I9070 Original Android Developmen] GeoVali99:
I will try it tomorrow.I will share the results here.