yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] :
Does it works on Pete Alfonso's rom ?
[Nexus S Android Development] aLNG:
dare to try first ? :)
[Nexus S Android Development] JerryPi:
I have tested it with petes ics, it works but has power menu bug :-)
[Nexus S Android Development] evilisto:
update

AOKP version is added in OP..:)

power menu, long press to kill and haptic feedback problems are gone..

but quad lockscreen and volume wake are not working on my phone..:confused:

(regardless of this mod)

-> sorry i tested this on build 17 and that problems look like fixed in latest build(18).
[Nexus S Android Development] aLNG:
wow..nice

can u add this mod to pete's rom?
[Nexus S Android Development] ca110475:
thanks a lot for the quick release of aokp version mate, 4am here and i'm flashing it :)
[Nexus S Android Development] jmattp:
never mind...
[Nexus S Android Development] ilnanny:
Thanks, I use for aok

Nexus S i9023 _ICS
[Nexus S Android Development] ragnarokx:
Does this mod leave search button long press function intact? I have a few apps I access with long pressing the search key.

Sent from my Nexus S
[Nexus S Android Development] evilisto:
update

AOKP version is updated to build 19.

quad lockscreen and volume wake are working well now...:)

no... long press search doesn't work because keycode is changed.
[Nexus S Android Development] Romonster:
I used aokp version on cybergrmod rom, it's working but whenever i hold down power button i get a reboot. So I'm not able to access power menu.
[Nexus S Android Development] ca110475:
Ciao evilisto

just to let you know that i flashed the AOKP version over latest Kangy (kangyS, based on build 19), and unfortunately it gives these 2 issues:

- a grey bar when you pull down the status bar (just above the bar with date and settings toggle)

- power menu messed up usual way

in case you'll save some time to look into this :)

cheers

Cristian
[Nexus S Android Development] sweetpiggy:
no way to link app switcher to a simple shortcut/icon in drawer?

will be very usefull for who heavy use search button ;)
[Nexus S Android Development] McDV:
Same problem here, why is it and what can we do against it?
[Nexus S Android Development] bearsblack:
Been wanting this forever!! Thanks so much!!!

I <3 Ice Cream Kangwiches
[Nexus S Android Development] bearsblack:
although I'm getting a status 7 error when trying to flash..? Downloaded twice and same thing with aokp 19.. anyone else?

I <3 Ice Cream Kangwiches
[Nexus S Android Development] bearsblack:
im thinking this is not meant for an ns4g..? i edited my build.prop to ro.build.product=crespo and ro.product.device=crespo, but still no go... any suggestions, please? :)
[Nexus S Android Development] solidd_swa:
I have the same issue too, on stock, old recent apps not multi tasking
[Nexus S Android Development] :
Works great on pete's rom!
[Nexus S Android Development] bearsblack:
im so hella jealous! lol. can anyone help make this work on a 4g? pleaseeee :D
[Nexus S Android Development] aLNG:
Thanks for making it for Peters
[Nexus S Android Development] evilisto:
then try this.. (NS4G only - AOKP build 19) :

http://www.mediafire.com/?butxuvjt67ovzob

i modified updater-script to make flashable on ns4g. but file itself is the same so i don't know whether or not this works well on ns4g..

and sorry but i can't make this mod for all roms.. that's why i wrote howto about this.
[Nexus S Android Development] endursa:
works great on nexus s aokp b19, but it has one bug:

pressing the search button right after the device woke up and shows the lockscreen, flashes the recent apps screen for few mill seconds and then the lockscreen shows again!

not that annoying but also not perfect :D
[Nexus S Android Development] bearsblack:
Thank u soooooooo much evilisto!! U r the man!

I <3 Ice Cream Kangwiches
[Nexus S Android Development] McDV:
Looks like people are not interested in a solution. ;-)
[Nexus S Android Development] bearsblack:
Now how about a flashable zip to make long press home perform long press search? ;D

Lol. I want too much...

I <3 Ice Cream Kangwiches
[Nexus S Android Development] QuAdS17:
Just tried this on my ns4g running aosp stock. -> boot loop(no fun)
[Nexus S Android Development] evilisto:
if your rom is pure stock aosp, try this : http://www.mediafire.com/?jyi4osqd4re9rpp

please tell me if this works for you.. if not, i'll compile separate version for ns4g.
[Nexus S Android Development] Jamalsid:
Any chance of a return to stock zip for this mod in case it all goes wrong or a user wants to undo the mod?
[Nexus S Android Development] McDV:
*push*

This is really weird, still no ideas out there?
[Nexus S Android Development] jmattp:
1: Use 7zip to open or extract the zip for the ROM you're using (meaning, download your ROM again and extract it on your computer)

2: Drag android.policy.jar from /system/framework/ to your desktop (just the file)

3: Drag /system/usr/keylayout to your desktop (just the /keylayout folder)

4: Use 7zip to open the zip for this mod that you installed (don't extract it)

5: Open the /system folder

6: Delete /framework/android.policy.jar and /usr

7: Drag android.policy.jar into /framework, and drag /usr into the same /system folder from your desktop into the open /system directory in 7zip.

In the root of the archive you're looking at it 7zip, you should have a META-INF folder and a system folder. Inside of system should be framework and usr. No duplicates. Inside of framework should be android.policy.jar. Inside of usr should be keylayout, which should have a bunch of files inside of it. You really only need the ones that were replaced, but they'll all replace the ones that are already in your phone.

If you did it correctly, you should be able to install that zip the same way and it'll replace the modified files.

via KeithN on Rootzwiki (Don't install the zip; it's not for your phone. But you can surely download it and look at it for reference)
[Nexus S Android Development] la.ouiche:
Interresting thread... I use the Virtuous Quattro ROM on a HTC Desire Z, in French (http://xdaforums.com/showthread.php?t=1428866). I wanted the feature to remap the search button (which is redundant and useless in a more unified UI like ICS) to the ICS recent app list.

In the folder /system/usr/keylayout/ I replaced all occurences of the string "key 217 SEARCH" by "key 217 APP_SWITCH" within all *.kl files.

It took a reboot and now when I press the physical Search button I have the recent app list that pops up but this is the old gingerbread list style with no screen preview and only 8 app in history...

Would it be possible to discuss on this issue?
[Nexus S Android Development] McDV:
This is the wrong place for your question, because this is a Nexus S forum. Anyway, just remapping the buttons won't work, you need to change and compile some code, there are instructions linked in the first post. Just remapping it only leads to the recent apps list.

So you need a dev who will code it for your device I guess.
[Nexus S Android Development] evilisto:
read this guide.. : [HOWTO] Remap hardware button to ICS recent apps
[Nexus S Android Development] AeroEchelon:
Just flashed AOSP+ coming from Stock and I realized I was missing this! Could anyone create an AOSP+ version?
[Nexus S Android Development] Revin:
Is there any chance to fix it for stock rom? Still not working (it is displaying the old version of recent apps from Gingerbread).

Many thanks in advance!
[Nexus S Android Development] McDV:
Thanks for pointing that out again - I'm also waiting for that fix. :-)
[Nexus S Android Development] :
Please, evilisto, we're begging you. :o
[Nexus S Android Development] dictionary:
Also a Cyber version.
[Nexus S Android Development] erikiksaz:
Seconded! :D
[Nexus S Android Development] QuAdS17:
Been really busy but I'll try it tonight. Thanks a lot.
[Nexus S Android Development] evilisto:
op updated

aokp and peter alfonso's version are updated.

and sorry to i9023 users. it looks like this mod doesn't work on i9023 and currently, i have no idea about this problem. this works well on mine(i9020) and all nexus s available in my country are some kinds on i9020. so i can't find test device..

so it seems like it requires i9023 dev's help..
[Nexus S Android Development] Lowroad:
doesnt work on an i9023? Thats odd, i have one of those and it works just fine :confused:
[Nexus S Android Development] evilisto:
really..?? :confused: then...only some of i9023 have problem..?

are there any i9020 users that have problem with this mod?
[Nexus S Android Development] endursa:
else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if(showing != true){
if (down && repeatCount == 0) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
}

could you please add a check if the device is on lockscreen, so pressing the search button while the device is locked wouldn't flash the recent apps screen :)

KeyguardManager kgMgr = (KeyguardManager) getSystemService(Context.KEYGUARD_SERVICE);
boolean showing = kgMgr.inKeyguardRestrictedInputMode();
[Nexus S Android Development] kvaju:
Hi

Thank you for this.

Im using i9023 stock + matrix karnel, and ehen I install this, it shows me recent apps in GB style

any way to fix this?
[Nexus S Android Development] :
All mod works perfectly on i9023 except stock. It shows old recent apps.
[Nexus S Android Development] shahravi94:
can you make a version for aosp+ ?
[Nexus S Android Development] evilisto:
op updated

op updated :)

thank you. i didn't know about that bug..:o :o

i fixed that with this code :

} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}

it looks like working well on my phone..

thank you :) now i have one less thing to worry about..:D

sorry but i cannot make my time-consuming mods(this and on-screen buttons) for all rom..
[Nexus S Android Development] AeroEchelon:
I'd like to thank you again for this great mod. Ever since ICS came out the Recent apps menu took so long to come out that switching to the home screen then selecting the app was usually faster.

For that reason, I even prefer using the pre 4.0 recents menu with the search key ... Much faster solution.

Thanks again! :)
[Nexus S Android Development] endursa:
i'm on stock rom, and the mod doesn't work, it only brings up the old gingerbread apps

i think it's because of the android.policy.jar file is not deodexed, and the stock rom has odex and jar files, no no code is acutally changed, only the keylayout!

how can one re odex the android.policy.jar file? i tried with smali/baksmali, i didn't manage to do it though :/
[Nexus S Android Development] [c]K:
This mod is off the hook, seriously the search key was useless and long press on the home key was pretty annoying. This should be in CM9 :)

Thanks!
[Nexus S Android Development] 4I-I:
Wich version should i download for hybrid v5?

Does it still cause problems on some roms? Because it did a when i tried it a while ago on kangy i think...;)

sent while eating an ice cream sandwich in the matr1x
[Nexus S Android Development] maarrrrr:
Works flawlessly on my i9023. CM9, Matr1x kernel, and BM tweaks.
[Nexus S Android Development] erikiksaz:
Hey OP, do you still have the links to the older AOKP version?
[Nexus S Android Development] evilisto:
yes i have aokp build 19 and 20 versions but these have lockscreen bug..

aokp build 19 : http://www.mediafire.com/?vtqfpdxtvntg4n0

build 20 : http://www.mediafire.com/?iyote81c6mgf6hg
[Nexus S Android Development] wedjohn57:
I used your method and copy your mod crespo CM9 android.policy.jar to my i9000 CM9, it works~ but not sure this is the proper way.
[Nexus S Android Development] ehsangolpesar12:
Thanks for MOD, It works great on CM9, v1, Now ICS on nexus s is comparable to Galaxy Nexus
[Nexus S Android Development] qtwrk:
sir... could you please make a new one for AOKP milestone 3 ?
[Nexus S Android Development] erikiksaz:
Thanks! AOKP version 21 had goofed up looking lock screen is why I asked.
[Nexus S Android Development] Lowroad:
+1

love this feature :)
[Nexus S Android Development] evilisto:
updated

aokp version is updated to milestone 3..:)
[Nexus S Android Development] qtwrk:
:p thank you so much
[Nexus S Android Development] buhohitr:
sir... Is it possible, could you please make a new one for TweakStock Droid Charge ? Thanks a million.
[Nexus S Android Development] moriz1:
is it possible for you to make a version that works with bigxie's apex v1.0.2? thanks in advance.
[Nexus S Android Development] provolinoo:
Hi evilisto and thanks for your great mod :)

I installed it (versione 1.1+) on latest CM9 build and I found it messed up the title text on the popup window that appears after boot when you wipe cache.

I mean the window with title "Upgrading Android" and text "Optimizing apps" with the apps number counting.

Sorry I'm not able to take a screenshot atm.

Hope you can check it ;)
[Nexus S Android Development] fleischbanane:
And I thought it's a bug in the rom. Also the batterie loading text is wrong in CM9!

Gesendet von meinem Nexus S mit Tapatalk
[Nexus S Android Development] provolinoo:
Yep, I found some other windows with weird text, battery loading text and also sim pin unlock :(

My guess is something changed in the framework of latest cm9 builds
[Nexus S Android Development] GnusNat:
Anyone here get this working on codename droid? Tried the aokp one and doesn't work afraid to try the others. I agree, this should be a standard mod on all ROMS now, it's very handy.
[Nexus S Android Development] Reptilez_DK:
Anyone knows if (not when) there will be an update of this for cm9 v2.p1 ? :)

These typos was sent from my Nexus S [i9023]using xda premium
[Nexus S Android Development] evilisto:
op updated :)

updated now :D

sorry but you have to ask your rom devs... it is impossible to make this mod for all rom/device by myself.. that's why i wrote guide in spite of my poor english :o
[Nexus S Android Development] provolinoo:
I love you :D :D :D
[Nexus S Android Development] Lowroad:
AOKP build 22 version?

pretty please? :D
[Nexus S Android Development] provolinoo:
Hi evilisto and thanks for update :)

I tested it on latest CM9 kangs and it still gives messed menu text issue (framework has changed in builds after the 2.1) :(

I don't want to exploit your time but can you update the mod as well?

I'm not able to build source code so I cannot do that by myself

Then, if I can give you a few suggestions:

- what about submitting your mod on cyanogen site (review.cyanogenmod.com) to have it merged into CM9? it would be awesome :)

- is it possible to create your mod like a patch instead of replacement so it will replace just the needed text in framework and works if it has been updated in future builds
[Nexus S Android Development] as6:
Great on AOKP m22. One of the best mods.
[Nexus S Android Development] fleischbanane:
When I know which tool I should use to edit the .jar-file I would do it for CM9. Even if I google it I can't find a tool. :(

Love this MOD, but it's hard to use it with latest CM9 KANGs by FUZZ. :(
[Nexus S Android Development] moriz1:
You can't edit jar files. To incorporate this mod, you have to edit the source code and recompile, which produces the jar file for the dalvik vm to interpret.
[Nexus S Android Development] provolinoo:
Yes, it's not possible to edit framework files when already compiled, this is why I'm not able to do that myself.

This is also why I suggested to evilisto to submit his code to integrate the mod into the CM9 sources.

I do love this MOD, for me it's a must-have and a time-saver :(
[Nexus S Android Development] fleischbanane:
I use the latest kang which has a buttons-menu. Think it will be possible to use the search-key for whatever you want and I hope this option will also be in CM9.

It saves some time and I love it. And its much more easy than a long press action!

Gesendet von meinem Nexus S mit Tapatalk
[Nexus S Android Development] hay112:
does anybody know if any of the version in the original post will work with SlimICS? I tried searching and didn't find an answer
[Nexus S Android Development] ljordan2:
Make a backup and flash them one by one:) Sorry to be unhelpful but that seems to be the only way.
[Nexus S Android Development] anishs:
still has the "recent apps (gb style)" instead of the multitasking apps menu. On IML74K any news on the fix?
[Nexus S Android Development] spitzedanese:
+ 1 same setup.

Sent from my Nexus S
[Nexus S Android Development] Lowroad:
*sigh* just when it comes out for AOKP build 22, build 23 is there :o
[Nexus S Android Development] evilisto:
updated :D

sorry, this mod doesn't work on odexed stock rom.

1) sorry but i can't make this mod keep up with cm9 kangs (update too frequently)..

2) and sorry again :o adding this mod to cm9 is not simple. to do that, i have to make this to settings menu that can turn on/off. it will be better to ask KalimochoAz..
[Nexus S Android Development] dictionary:
Could you submit the code to them for approval?
[Nexus S Android Development] Imppy:
would it be possible to put this on code name from?
[Nexus S Android Development] erikiksaz:
Uh oh, do you have the old link to the previous bugless beast? (or is a new one coming? :p)

Thanks!
[Nexus S Android Development] rrohanjs:
is ther a video on how to enable this mod ?
[Nexus S Android Development] kvaju:
Just flash it in cwm.
[Nexus S Android Development] Lowroad:
AOKP build 24 is out :eek:

edit; ah seems that build 24 was buggy, and build 25 has been released now to fix this
[Nexus S Android Development] blackheron:
Did anyone try one of the existing version with codename android?

I'm really missing this feature which I had on CM9
[Nexus S Android Development] McDV:
I'd also like to see this for codename. I wouldn't just flash one, it might really cause issues you maybe won't see immediately. If one SHOULD work, then maybe the one for CM9 - I guess codename is based on CM9 code.

Anyway, two days ago I've alreads contacted AndroidUser1100... (who maintains codename) and suggested him to include this MOD into the ROM. This wouldn't even cause disadvantages, because the code itself doesn't do anything. It only does when the user remaps key 217 (searchkey) to APP_SWITCH. So they really could build it in. Unfortunately I didn't receive an answer by now, so probably we won't see it in there...
[Nexus S Android Development] qtwrk:
could you please make one of AOKP build 25 ?
[Nexus S Android Development] fleischbanane:
CyanogenMod 9 v4.0.3 v3.0 is out. :)

Hope to see this mod for it. :D
[Nexus S Android Development] McDV:
Would be great! :) Did someone try the recent MOD-version on v3.0?
[Nexus S Android Development] kvaju:
Would like to see bugless beast mod too again.
[Nexus S Android Development] willverduzco:
Thank you! I've been looking for something like this for ages!
[Nexus S Android Development] uansari1:
What happened to the version that was posted recently? I'm using that with the latest nightly and it works fine. Is the OP no longer supporting it?
[Nexus S Android Development] ddfox:
has some bug with CM9 3.0

1. first time to flash the mod, when system reach at update logo, the information is wrong .

2. when charging, at the lock screen, it can't shows the percent of battery.
[Nexus S Android Development] provolinoo:
This is because you used the patch for v2.1 on v3.0

We need to wait for an update :)
[Nexus S Android Development] iGoogleNexus:
Anyway to make it for the IMM26 4.0.4? =[

- Google
[Nexus S Android Development] evilisto:
update

cm9 version is updated :) (v3.0)

and i can't make this mod for IMM26 until google release the source code.. you can use IML74K version instead but you will lose some new features in IMM26.

(mainly related to lockscreen but it doesn't look like there are any important changes..)
[Nexus S Android Development] fleischbanane:
Thank you very much. Should work for cm9 v3.3 as well.

Gesendet von meinem Nexus S mit Tapatalk
[Nexus S Android Development] cahir_cz:
Would this be possible on miui roms (love the kill all featire in taskswitcher)?
[Nexus S Android Development] provolinoo:
Thanks a lot evilisto but... v3.3 of CM9 is already out :D

I compared android.policy.jar between 3.0 and 3.3 and file hash is different, so my guess is the patch needs an update ;)

Anyway v3.4 is coming soon because v3.3 has a bug so I suggest to wait for it before update the patch.

Thank you in advance.
[Nexus S Android Development] GnusNat:
I'm sad that there isn't one made for Codename Android, one of the more popular Nexus ROMs here.

Please and thanks evilisto! :)
[Nexus S Android Development] provolinoo:
v3.4 is out, we can update the patch now :D :D
[Nexus S Android Development] LKNim:
Will there a nightly version?
[Nexus S Android Development] evilisto:
sorry but why don't you ask rom dev to include this mod to their rom? i already released this mod's source code so i think there is no problem to do that.

and it will be incomparably better than making mod to keep up with their rom update endlessly.

frankly speaking, just updating this mod is not interesting to me at all.. nothing to fix so just keep update until cm9 or aokp rom include this feature to their rom.. (or no one use this mod lol)

making wallpapers or another new useless mod is much more interesting to me..

anyway, i'll update cm9 version tomorrow. i can't compile this mod on my old netbook so i have used other's desktop pc to make this..
[Nexus S Android Development] erikiksaz:
I'm interested in learning how to do what you've done here...

Would it be possible to write up a complete newb guide to doing this?

Or would that be too confusing for somebody with no programming experience?

If possible, this would really take the pressure off you to keep updating all these roms.
[Nexus S Android Development] provolinoo:
+1 :)

I would do that by myself if I knew how :P
[Nexus S Android Development] kvaju:
Read the first post, you have link to howto.
[Nexus S Android Development] evilisto:
oh.. it looks like i don't have to update cm9 version because they didn't change any source code in policy since feb.18..:D
[Nexus S Android Development] erikiksaz:
Useless post is useless. Already read the first post. As I said, I'm a newb at programming, he loses me at the part that says "change the source code"
[Nexus S Android Development] mixtapes08:
Is that for real ? Thanks :)

Sent from my Nexus S
[Nexus S Android Development] provolinoo:
Oh... so why is file hash of android.policy.jar between 3.0 and 3.3 different? :confused:
[Nexus S Android Development] mixtapes08:
Cm version working great thanks :)

Sent from my Nexus S
[Nexus S Android Development] evilisto:
then sorry for my useless post.

maybe it is due to my poor english that your words "useless post" hurt my feelings..

i don't know but you can see source code history in github.

https://github.com/CyanogenMod/android_frameworks_base/tree/ics/policy
[Nexus S Android Development] provolinoo:
Don't take it too bad... My guess is he meant your how-to can be followed by advanced users only :)

Very strange... anyway I installed your mod on v3.4 and it seems to work fine ;)
[Nexus S Android Development] erikiksaz:
I am extremely sorry, that "useless post" comment wasn't directed at you. You devs are the only reason why the android community is as great as it is and I would never speak poorly about any of you.

I was referring to the person who referred me back to the FAQ that you had written. I was stating that that his post useless because I had already read the FAQ and that a person without a programming background isn't able to comprehend the changing the source code part.

Again, please don't take offense, the comment surely wasn't directed at you evilisto.
[Nexus S Android Development] kvaju:
Well sorry for usless post dear, you did not said in that post that you read the howto from op.