Remove All Ads from XDA
Honor 9 Lite

Editing android.policy.jar

70 posts
Thanks Meter: 9
By reactorcooler, Member on 13th May 2012, 02:52 PM
Post Reply Email Thread
I'm using CM9 5/2 version currently and seeking for a key remap.

A key user experience of ICS is multitasking but the 2 second delay on home button prevents me from using this function of Recent Apps. So I start to remap my search button to ics recent apps.

[MOD][PORT]Search key to ICS recent apps for ICS Passion from Vibrant forum

[HOWTO] Remap hardware button to ICS recent apps (which contains Java change instruction_

According to link2 I edited system/usr/keylayout/melfas_touchkey.kl and change search to recent apps, but it's not the ics style like long-press home button, it's gingerbread style recent apps. It seems to need some java change to support the change.

Among all the mods only link 1 make it work that search button->ICS recent apps. Link 1 provided excessive change and it mess the home button and power menu up. I deleted the key layout change part from Link 1 zip so the home button is fine, but how could I edit android.policy.jar in META-INF and system/framework?

Update May 17:
I finally decomplied the android.policy.jar into classes.dex, then I took out PhoneWindowManager.class and that's all I can see, can't edit it anymore.

19th May 2012, 03:43 AM |#2  
OP Member
Flag Nanning, GX
Thanks Meter: 9
Troubleshooted installation failure problem, I simply copied the android.policy.jar to replace my old one and it's not working well either.. of cource not, any good idea?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes