Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
eViL D:
Old
(Last edited by eViL D:; 19th November 2010 at 06:54 PM.)
#1  
eViL D:'s Avatar
Recognized Developer - OP
Thanks Meter 1337
Posts: 4,472
Join Date: Jun 2006

 
DONATE TO ME
Default [MOD] Trackpad Wake - with Stock/CM ROM's [KERNEL] Updated baconbits[11/19/10]

Yet another Q&D MOD. Trackpad wake. If you're like me, I hate the placement of the power button. I have used minotauri's ad block MOD as a springboard for this. So, enjoy!

Requirements:
Root or Temp Root via VISIONary or equivalent
Busybox
Gscript (included in the zip)
*1.22.531.8 FW - Recommended

Instructions Updated:
Download gscript.zip below
Copy the package to the ROOT of you sdcard and extract it to gscript *very important!
There will now be a gscript folder on your SDcard.
Using a file manager Install Gscript.apk (inside /sdcard/gscript)
Exit your file manager
Open Gscript via app drawer
Press Menu
Add Script
Load File
Select vision-tp-wake
Ensure "Needs SU?" is checked
Save
Run Script
**The phone will then do a "Hot Restart", let it boot again et voila!
If you want to use baconbits kernel, download the zip below and flash via clockwork.

If you have Temp-Root:
This needs to be ran again after every reboot.

If you have Perm-Root:
Run this once, that's it.

*Note - I am a poor script writer.

**This will probably work for other newer HTC devices with trackpad too. I.e. Desire Z, MT4G, etc...

Quote:
Change Log:

temp-root version:
initial release

perma-root & custom kernel version:
perma-root-tpwake-via-gscript-v.3 - compatible with baconbits now

cm-baconbits kernel with trackpad wake fix: 11/18/10
updated with trackpad wake kernel fix - credits to cyanogen for the commit
added 900mhz speed step
Download below

added/updated gscript zip: 11/19/10
will now create sdcard/gscript folder
***There is an incompatibility with cm's original baconbits. If you are using the stock kernel this will work fine. However, if you want to use baconbits, I have updated the kernel to now work with this mod. Download below.
Attached Files
File Type: zip tpwake-via-gscript.zip - [Click for QR Code] (52.9 KB, 5961 views)
File Type: zip vision-baconbits-new.zip - [Click for QR Code] (3.87 MB, 1018 views)
File Type: zip gscript.zip - [Click for QR Code] (52.9 KB, 907 views)
The Following 5 Users Say Thank You to eViL D: For This Useful Post: [ Click to Expand ]
 
TL24
Old
#2  
TL24's Avatar
Senior Member
Thanks Meter 17
Posts: 554
Join Date: Oct 2010
Location: Minneapolis, MN
Excuse this super NOOB question, but what exctly will this do?

Sorry, I'm still new to the Android market and the G2 is my first Android based phone but I'm learning on the fly!

HTC One

"real recognize real"
 
smirkis
Old
#3  
smirkis's Avatar
Senior Member
Thanks Meter 554
Posts: 1,656
Join Date: Oct 2010
Location: San Diego, CA
hope @paul grabs this and spices it up and compiles it in an app some how, or directly into visionary. great work evil
 
eViL D:
Old
#4  
eViL D:'s Avatar
Recognized Developer - OP
Thanks Meter 1337
Posts: 4,472
Join Date: Jun 2006

 
DONATE TO ME
Quote:
Originally Posted by TL24 View Post
Excuse this super NOOB question, but what exctly will this do?

Sorry, I'm still new to the Android market and the G2 is my first Android based phone but I'm learning on the fly!
It wakes (turns the screen on) via the trackpad, which is normally done by the power button. Press the power button, screen comes on. Same thing, except it uses the trackpad.
 
minotauri
Old
#5  
Senior Member
Thanks Meter 120
Posts: 500
Join Date: Jun 2008
Location: Seattle, WA

 
DONATE TO ME
i think it's missing a file (in bold)

cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl
PHONE: Google LG Nexus 4, iPhone
TABLET: iPad (3rd Gen)

Twitter: http://www.twitter.com/antnguyen
 
bone$
Old
(Last edited by bone$; 5th November 2010 at 07:57 PM.)
#6  
bone$'s Avatar
Member
Thanks Meter 4
Posts: 84
Join Date: Jul 2009
Location: Texas
Quote:
Originally Posted by minotauri View Post
i think it's missing a file (in bold)

cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl

is this why i can't get it to work.. been trying for past 10 mins?


udpate: ahh... that did the trick... awsome work! thanks =)
 
eViL D:
Old
#7  
eViL D:'s Avatar
Recognized Developer - OP
Thanks Meter 1337
Posts: 4,472
Join Date: Jun 2006

 
DONATE TO ME
Quote:
Originally Posted by minotauri View Post
i think it's missing a file (in bold)

cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl
Quote:
Originally Posted by bone$ View Post
is this why i can't get it to work.. been trying for past 10 mins?
Ooops, fixed now. My bad.
 
TL24
Old
#8  
TL24's Avatar
Senior Member
Thanks Meter 17
Posts: 554
Join Date: Oct 2010
Location: Minneapolis, MN
Quote:
Originally Posted by eViL D: View Post
It wakes (turns the screen on) via the trackpad, which is normally done by the power button. Press the power button, screen comes on. Same thing, except it uses the trackpad.
Ah ok, figured from the topic title but i just wanted to make sure. Thanks!

HTC One

"real recognize real"
 
Carloswithac
Old
#9  
Carloswithac's Avatar
Senior Member
Thanks Meter 3
Posts: 446
Join Date: Jan 2009
Location: Pacific Beach
Thank you, I missed this from my Nexus one!
 
minotauri
Old
#10  
Senior Member
Thanks Meter 120
Posts: 500
Join Date: Jun 2008
Location: Seattle, WA

 
DONATE TO ME
thanks! this works great! i also missed this from the N1.

i'll probably put this in my visionary script too.
PHONE: Google LG Nexus 4, iPhone
TABLET: iPad (3rd Gen)

Twitter: http://www.twitter.com/antnguyen

 
Post Reply+
Tags
mod, tmobile g2, trackpad wake, vision
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more

One Stop Guide Shop for the Newbie and Dev

It’s been well established that XDA-Developers isthedestination for resources relating to … more

What Happened at Google I/O 2013 – XDA Developer TV

Unless you just emerged from a deep, dark, dank cavern under the Earth, you know … more

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more