Detect, Avoid IMSI-Catcher Attacks with Android IMSI-Catcher Detector

Privacy is always an important topic, as well as a delicate one to … more

Materialized LeanDroid Fights Your Poor Battery Life

Battery life has always been one of the biggest problems facing most Android devices. … more

Bump! Workaround for the LG G3 Locked Bootloader – XDA TV

The LG G3 is a power house device. It’s been a favorite of many people. … more

Enable Call Recording on Xperia Z2 and Z3

Call recording, while not legal in every part of the world, is quite handy in certain situations. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[MOD] TrackballWake [v0.1] and TrackballSkip [v0.1]

OP metalhead8816

12th March 2010, 06:27 AM   |  #1  
metalhead8816's Avatar
OP Senior Member
Thanks Meter: 3
 
116 posts
Join Date:Joined: Jan 2010
More
These mods have now be included in CM-5.0.5. So I have taken down the links. Please download CM-5.0.5 and install. If you have issues with it then post them here please.

I would first like to thank those that have helped me along the way. Thanks ChainsDD for helping me realize Android development isn't that hard. Thanks Cyanogen for the awesome roms and for the inspiration to innovate. Love your cool features. And lastly thanks to all the other devs for the great mods (optedOblivion and arctu to name a few)

Alright on to the details.

The mod has options to turn them on or off, but they cannot be used together. This is by design because if you are skipping songs and the screen wakes up then you are wasting battery and taking events away from the lock screen. (May change this later if you guys want)

1st Mod: (TrackballWake)
- Allows the user to wake the screen using the trackball (No extra apps its built-in to OS)
- Option is under the System Settings -> Sound & Display -> Trackball Settings -> Trackball wakes screen
- Option is off by default

2nd Mod: (TrackballSkip)
- Allows the user to skip to the next song if music is playing and the screen is off.
- This is done by double-tapping the trackball while the screen is off.
- A double-tap is two consecutive presses within about half a second.
- Option is under Music App -> Settings -> Use trackball to skip
- Option is off by default

Two different versions now:
1) trackball-SuccessW-WSv01.zip - This includes the Successive Notifications v0.4
2) trackball-NoSuccessW-WSv01.zip - This does not include Successive Notification v0.4

This should fix the force close issues for people as the previous version had a new implementation of Successive Notifications which apparently has some bugs. If you have problems with Successive Notifications then post in that thread please.

If you get a force close or unexpected behavior, please put it on pastebin.com and post the link on this thread. Please include which version you are using and what happened.

Donation:
Please donate if you like my work. It helps keep me motivated and working hard on Android.

Install:
- Nandroid Backup
- Simple install CM-5.0.5

Again, note for now you cannot use these two mods together (and TrackballWake takes precedence)

Source is on Github now.
Last edited by metalhead8816; 20th March 2010 at 06:45 PM.
The Following User Says Thank You to metalhead8816 For This Useful Post: [ View ]
12th March 2010, 06:28 AM   |  #2  
metalhead8816's Avatar
OP Senior Member
Thanks Meter: 3
 
116 posts
Join Date:Joined: Jan 2010
More
Saving for potential changelog if need be.
12th March 2010, 06:28 AM   |  #3  
Recognized Developer
Thanks Meter: 718
 
853 posts
Join Date:Joined: Jan 2007
Very impressive man
12th March 2010, 06:34 AM   |  #4  
Senior Member
Thanks Meter: 164
 
3,201 posts
Join Date:Joined: Apr 2009
Donate to Me
You are a lifesaver. Since my power button has gone south, I don't have a way to keep a lockscreen (using keyguard disabler) and cut the screen off after it has been cut on, is there any way that you could remap another button to power it off?
12th March 2010, 06:34 AM   |  #5  
Senior Member
Flag Houston
Thanks Meter: 8
 
227 posts
Join Date:Joined: Sep 2009
More
Giving it a try!

Will edit with results.

Edit: Seems to be working fine so far, been waiting forever for this mod. It reverted some of the changes I have had from BakedGoods (clock font color, etc)
Last edited by andythefan; 12th March 2010 at 06:40 AM.
12th March 2010, 06:40 AM   |  #6  
Senior Member
Flag Los Angeles
Thanks Meter: 2
 
124 posts
Join Date:Joined: May 2008
More
HAWT! I've been wanting to be able to turn it on with the trackball! WOOT... I'm trying now.
12th March 2010, 06:42 AM   |  #7  
Senior Member
Thanks Meter: 0
 
102 posts
Join Date:Joined: Jan 2010
Does this turn the screen on when you move the track ball or on a trackball click?
12th March 2010, 06:43 AM   |  #8  
eXelero's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 8
 
170 posts
Join Date:Joined: Apr 2009
More
sounds nice! will definitely use the 1st one!
12th March 2010, 06:53 AM   |  #9  
metalhead8816's Avatar
OP Senior Member
Thanks Meter: 3
 
116 posts
Join Date:Joined: Jan 2010
More
Quote:
Originally Posted by alextripp

Does this turn the screen on when you move the track ball or on a trackball click?

Its on trackball click.

Oh, and feel free to donate if you like my work. Link is in my sig.
12th March 2010, 06:55 AM   |  #10  
Senior Member
Thanks Meter: 164
 
3,201 posts
Join Date:Joined: Apr 2009
Donate to Me
Quote:
Originally Posted by alextripp

Does this turn the screen on when you move the track ball or on a trackball click?

Only does it for a trackball click for me. Works very nicely.

Quote:
Originally Posted by andythefan

Giving it a try!

Will edit with results.

Edit: Seems to be working fine so far, been waiting forever for this mod. It reverted some of the changes I have had from BakedGoods (clock font color, etc)

Here is a services.jar for this that has been modded to clock, date, and roam/network to white. just remove everything after .jar and push to framework then reboot.

EDIT:
http://android-theme-minus.googlecod...white_text.zip

There is one that you can flash in recovery. Nandroid first for cmoa reasons.
Attached Files
File Type: zip services.jar.remove-all-text-after-jar.zip - [Click for QR Code] (500.9 KB, 196 views)
Last edited by david1171; 12th March 2010 at 05:30 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes