• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[APP] Trackball Wake/Unlock/Skip [FRF91]

Search This thread

crimsondr

Senior Member
May 6, 2010
275
18
Trackball Wake
Push this to /system/framework/android.policy.jar.

Trackball Wake & Unlock
Push this to /system/framework/android.policy.jar.

Trackball Skip (works with stock music player only, screen must be off)
Push this to /system/framework/android.policy.jar.

Make sure the permissions on the file are the same as the original:
Code:
chmod 644 /system/framework/android.policy.jar

After pushing the file, reboot for changes to take affect.
This is not my work, original code pulled from CM5.0.8 and merged in by me.

*Requires rooted and deodexed rom
 
Last edited:

cdw9800

Senior Member
Dec 19, 2007
670
50
Bay Area
good stuff now for trackball skip and ill be in heaven with froyo.

Edit: everytime i try to push says read only....hmm im on MCR20????

Edit2: my pc blocked it for some reason better to be safe than sorry thanks working great.
 
Last edited:

HunGAa

Member
Apr 19, 2009
19
0
WORKED!

Confirmed work on Kang-o-rama 0.9 Final. Good job one of the necessities for froyo. Now can anyone get vibrate on answer and hang up like cyanmod on froyo?
 

wutang01

Senior Member
I'm sorry to ask this. I don't know how to get this to work.

When I try: adb push android.policy.jar /system/framework/android.policy.jar
I get this error: cannot stat 'android.policy.jar': No such file or directory

When I try: adb push C:/android.policy.jar /system/framework/android.policy.jar
I get this error: failed to copy 'C:/android.policy.jar' to '/system/framework/android.policy.jar': Read-only file system

I have android.policy.jar copied to the AndroidSDK/tools folder as well as C root directory. My device is listed when I type command line "adb devices".

My phone is on, in debugging mode. What am I doing wrong?
 

badantii

Senior Member
Oct 23, 2009
110
7
Sweden
I'm sorry to ask this. I don't know how to get this to work.

When I try: adb push android.policy.jar /system/framework/android.policy.jar
I get this error: cannot stat 'android.policy.jar': No such file or directory

When I try: adb push C:/android.policy.jar /system/framework/android.policy.jar
I get this error: failed to copy 'C:/android.policy.jar' to '/system/framework/android.policy.jar': Read-only file system

I have android.policy.jar copied to the AndroidSDK/tools folder as well as C root directory. My device is listed when I type command line "adb devices".

My phone is on, in debugging mode. What am I doing wrong?

adb remount then adb push android.policy.jar /system/framework/ :)
 

Top Liked Posts