yashsingh1/xdaforums huggingface dataset:
[G2 and Desire Z Android Development] Okawa:
eVil D thanks again man, loved your Nexus One roms hope you will be coming over to the G2 when its rooted ^_^
[G2 and Desire Z Android Development] clockedtouch:
Thank you the one thing i also missed from my N1 the wifey now has lol you rock!
[G2 and Desire Z Android Development] xile6:
did you put the files in the right places?

Install gscript lite

*put vision-tp-wake.sh in /sdcard/gscript/

then put curcial-oj in /sdcard/

add the .sh to grscript and then run it and all should work.
[G2 and Desire Z Android Development] ihateusernames:
Would it be possible to combine the lcd density scipt with this so both happen on the hot boot?
[G2 and Desire Z Android Development] s30zgt:
Thanks again for this man. Hated having to hit the power button all the time. The thing is that it seems to be working a few times then stops. Ive reinstalled gscript and reran the script but same thing happens. anyone else having this issue?
[G2 and Desire Z Android Development] marqi.k:
Works great. Thank you!
[G2 and Desire Z Android Development] eViL D::
There is no actual output on the screen.
[G2 and Desire Z Android Development] skiptomylou11:
It doesn't hot restart after I enter the file. Am I missing something?

If I try to reboot from GSript it says not permitted.
[G2 and Desire Z Android Development] eViL D::
do you have busybox installed?
[G2 and Desire Z Android Development] dictionary:
No idea why this doesn't work for me, on this stock g2 build I have on my Z, but it's all good, lol. Going to try another ROM shortly
[G2 and Desire Z Android Development] eViL D::
which zip did you try?

Download gscript.zip and try again.
[G2 and Desire Z Android Development] androidtoy09:
Ok so, looks like Gscript was not permitted to reboot by the system.

The script seems to work fine but it failed at reboot thus the blue blank screen.
[G2 and Desire Z Android Development] sinistersai4d4d:
FYI to OP... I feel that a better explanation is needed of all three files on the first post and what they do and if we need all three and why.

It's really confusing (to me) and I already got it working somehow lol
[G2 and Desire Z Android Development] androidtoy09:
Where can I find latest Busybox for the G2?

Edit: Nvm me, found the latest busybox on the market lol..I need more coffee. sigh
[G2 and Desire Z Android Development] eViL D::
They all go into the same folder. I did say extract the zip...
[G2 and Desire Z Android Development] dictionary:
I was/am doing it properly, just doesn't want to work, lol. No biggie.
[G2 and Desire Z Android Development] androidtoy09:
Ok, still no luck getting gscript to hot reboot even with busybox already there.

fyi, SU permission is allowed.

Any clue? :confused:
[G2 and Desire Z Android Development] eViL D::
You can just turn the phone off and back on if you have perm root.
[G2 and Desire Z Android Development] dictionary:
For what it's worth, my LCD Density apps, won't hotboot either. After you change the density, the app hotboots the phone to the new density. With this build of AOSP, it seems to not allow apps to hotboot. However, my Boot Control widget, allows me to hotboot no problem.

I don't think the issue is your script eViL, I believe it to be the build of the OS I'm running.
[G2 and Desire Z Android Development] androidtoy09:
I agree. The script is very simple and it's supposed to run just fine.

I suspect the ROM has something to do with this problem.
[G2 and Desire Z Android Development] skiptomylou11:
Yeah, I updated to the latest one but to no avail.

Also, I had to revert because this new kernel borked tether for me. Just a heads up.
[G2 and Desire Z Android Development] sinistersai4d4d:
Damn. He's right. Back to old kernel.

Sent from my T-Mobile G2 using telepathy and unicorn dust!
[G2 and Desire Z Android Development] eViL D::
wifi tether?
[G2 and Desire Z Android Development] xomikronx:
Mine works, but only a little after turning off screen. after a while you have to turn it on with power button.

haven't tested Wifi Tether.....i usually USB tether.
[G2 and Desire Z Android Development] sinistersai4d4d:
Yup WiFi tether doesn't work on new kernel. Can't connect.and it also starts the stock tether app, even if im using the root app "wifi thether"

Sent from my T-Mobile G2 using telepathy and unicorn dust!
[G2 and Desire Z Android Development] Stryder5:
Is "cm-baconbits kernel with trackpad wake fix" (vision-baconbits-new.zip) compatible with Sense based ROMs?
[G2 and Desire Z Android Development] potentdro:
Its late right now and I just took some medication so my mind might be playing tricks on me.

Before installing the trackpad wake feature, when I get a text message
[G2 and Desire Z Android Development] loomism2:
I feel stupid for not understanding this, but I have to ask...if I follow the instructions it seems like I only need gscript.zip. So what is vision-baconbits-new.zip used for? I think that is what is causing me the most confusion and the feeling that I am missing something. I haven't tried to install this yet but I want to make sure I understand all the directions and files before I do.
[G2 and Desire Z Android Development] gilnino:
I agree with you as of now however I think CM is just getting started. I have CM on all my other phones but I really like the g2 stock rom so I just added bacon bits

Rooted G2 sprinkled with bacon bits
[G2 and Desire Z Android Development] csufmedina1:
Baconbits is compatibale with sense...but the trackpad wake rarely works...it only work for a a few seconds..after that is gone...I'm running virtous sense rom with baconbits...
[G2 and Desire Z Android Development] Stryder5:
Ah darn, the trackpad wake was the most important feature to me. Guess I'll just run the mod for trackpad wake then. Thanks for the confirmation.
[G2 and Desire Z Android Development] sinistersai4d4d:
I told the op it was confusing. In not sure which files u need... but the new zip breaks WiFi tether.

Sent from my T-Mobile G2 using telepathy and unicorn dust!
[G2 and Desire Z Android Development] loomism2:
Looking at it again it made more sense. Gscript.zip is the actual script that enables trackball wake. Unzip the file and put the gscript folder in the root of your sd card, and continue to follow the instructions in the op to get the script on your phone.

If you have stock android on your G2 then that should be all you need. If you're like me and have Baconbits .3 installed then it won't work right. You need to reinstall baconbits by flashing vision-baconbits-new.zip using ROM Manager or however you like to do it.

I ran gscript first, noticed that it didn't work too well if your screen is off for any length of time, then used ROM Manager to install Baconbits again using the special file from the op (vision-baconbits-new.zip). Now everything appears to work as it should.

Hope this run-through helps, and thanks for this awesome script, eVIL D! It was just what I needed.
[G2 and Desire Z Android Development] ajk1311:
has anyone tried this trackpad wake with the 1.8GHz G2-Fast kernel?

it breaks the trackpad wake in CM6.1
[G2 and Desire Z Android Development] misconcepti0n:
I didn't notice this until you mentioned it. Definitely opens stock tether app and wifi tether app seems to have limited connectivity.
[G2 and Desire Z Android Development] Stea1thmode:
@ eViL,

Flawless bit of work.

Cheers mate.
[G2 and Desire Z Android Development] wrapper:
I've tried this on my Desire Z a few times. It works initially, but after a phone restart (perhaps sooner), the script no longer runs.

Is there a fix for this?
[G2 and Desire Z Android Development] jayb222:
I got it working just fine with baconbits. Now is there any way I can set it to unlock the screen on the second push like in cm?
[G2 and Desire Z Android Development] ShanksG1:
Ok I have htc sense will this work for my rom? No offence but some ppl was complaining in the earlier post about the usage and removing. Altho a backup would would redue what was done
[G2 and Desire Z Android Development] xdviper:
Has anyones youtube crash for them with this with the back button? Thanks
[G2 and Desire Z Android Development] eViL D::
The mod actually installs 1 file. The script to install the mod is ran once and only once. It does not continuosly run like some ppl seem to think. It should work on any Rom now with stock kernel or my own custom kernels.

Sent from my HTC Vision
[G2 and Desire Z Android Development] ShanksG1:
hey evil you said there was a way to fix my screen issue was this the one you where refering to? if so which one, im on the sense rom 0.7.0
[G2 and Desire Z Android Development] loomism2:
I think that is a G2 problem and not the fault of this. Anyway, the trick is to not hit back in landscape but to only do it in portrait, which is a really weird fix but that is what I have found on the Googles.
[G2 and Desire Z Android Development] Davidion:
Is there a separate recovery test key for the trackpad wake version of baconbits? I've been trying to install the version of BC in the OP but am running into the signature verification error over and over again as described at the end of the post below when trying to apply the update file.

http://xdaforums.com/showpost.php?p=9121966&postcount=3

Enjoying OC, but the user experience is tremendously diminished without the trackpad wake.
[G2 and Desire Z Android Development] wrapper:
If that's the case, any idea why the script isn't 'sticking'? I'm using Desire Z stock rom, permanently rooted.
[G2 and Desire Z Android Development] vasuenvee:
Can I delete gscript folder on sdcard?

Hi,

Sorry for the noob question. Can I delete the gscript folder on sdcard after successful installation?

Thanks for the script..
[G2 and Desire Z Android Development] eViL D::
Did you try with both scripts?

Sent from my Desire HD
[G2 and Desire Z Android Development] luniz7:
I can't seem to get this to work at all
[G2 and Desire Z Android Development] jojo_16:
Does this works perfectly in BB .3 smoothly with everytime you press trackball it wakes up and was wifi tether works?? My cousin tried to flash the new BB zip the wifi tether doesnt work.. thnx

Sent from JoJo's T-Mobile G2
[G2 and Desire Z Android Development] ccb04:
Load File

Select vision-tp-wake

Ensure "Needs SU?" is checked

Save

Run Script

Everytime i click load file "vision-tp-wake" its not on the list..I did the other steps correct what am i missing?? Someone help this is really frustrating me :mad:
[G2 and Desire Z Android Development] misconcepti0n:
Did you have any intention of trying to fix the wifi tether problem for your updated bacon bits kernel or were you not experiencing any issue?

Thanks for the hard work.
[G2 and Desire Z Android Development] ssirus:
Any chance you can post this script for download? I am assuming you just add this to the folder data/local?

It seems you have the perfect boot up script as you get trackpad wake and 1.2Ghz overclock which is the perfect speed.

What does the LCD density do?

thanks!

Ssirus
[G2 and Desire Z Android Development] glenn111381:
LOST

So I extracted to the gscript folder in sd card...but when I tell gscript to load the .sh file it doesn't find any such file?
[G2 and Desire Z Android Development] glenn111381:
Frustratin me too
[G2 and Desire Z Android Development] jojo_16:
It breaks my wifi tethering even in pershoots kernel i thought it was only on baconbits
[G2 and Desire Z Android Development] xomikronx:
Has anyone tried this on GingerBread Roms?
[G2 and Desire Z Android Development] WindlessMd:
Does This Work On The GingerVillain Rom?
[G2 and Desire Z Android Development] dictionary:
For any and all asking.. NO, this will NOT currently work with ANY Gingerbread ROMs. Things have changed in Gingerbread, so the old method won't work. Hold tight, when a fix appears, (and I think CM has pretty much narrowed it down/figured it out) it will be commited/posted.
[G2 and Desire Z Android Development] ayalah1986:
Tried it with no success.... I had gotten hella use to using the tp-wake its annoying that it doesn't work anymore.... but loving CM gingerbread!!
[G2 and Desire Z Android Development] turok_14373:
when i try to run script it tells me busybox is not installed. but i installed when i put in titanium backup. .... O_o
[G2 and Desire Z Android Development] no6969el:
ok the wake by trackpad doesnt work for me.. and I also lost wifi tether.... not very successful on stock rooted rom..

If you want to get tethering back please flash the normal bacon bits .3 and it will work again.
[G2 and Desire Z Android Development] rand0m_insanity:
Thanks for this! Really works well. I only have temp-root though. But since I rarely reboot, this is a minor hassle for me.:)

Also, I kind of solved the other half of the problem by using a market app to turn my screen off (by long-pressing the search button).
[G2 and Desire Z Android Development] hogg2500:
Any update on this working for Gingerbread?
[G2 and Desire Z Android Development] Kevinmac2049:
If u are on stock , u need busybox installed

Place the curcial-oj.kl in /sdcard/

Place vision-TP-wake.sh in /Sdcard/gscript/

add script in gscript and run

Should work , i had the problem before
[G2 and Desire Z Android Development] redpoint73:
Working great on the Desire Z, stock ROM, Godspeed kernel, rooted.

Thanks!
[G2 and Desire Z Android Development] diehardfan:
is this for the G2 OTA Gingerbread update?
[G2 and Desire Z Android Development] captainreynolds:
It will not work with the Gingerbread update, so no!
[G2 and Desire Z Android Development] aliasi11:
I am currently running Virtuous unity 1.31.0. will this script work for me? or I have to flash the kernel?

kindly guide..
[G2 and Desire Z Android Development] SwordLaker:
No offense at all, but please watch this first before posting again

http://www.youtube.com/watch?v=JmvCpR45LKA

As far as I know, Virtuous Unity is already equipped with Trackpad Wake, so what exactly that you are trying to do?
[G2 and Desire Z Android Development] aliasi11:
Thanks for notifying me that I initiated wrong question at wrong place.

My dumb head :o . Actually I was searching a thread for trackpad notification enable script for virtuous unity rom. and by mistake I choose the wrong thread. Sorry for that.
[G2 and Desire Z Android Development] SwordLaker:
In case you haven't found out. Lightflow from the Market might help. That's what I have been using.
[G2 and Desire Z Android Development] aliasi11:
Thanks. I tried that, a good software. My trackpad light worked well, but there is still LED notification along with the trackpad notification. I am unable to stop that LED notification.

HAve you managed to stop that?
[G2 and Desire Z Android Development] SwordLaker:
Enable LED Mixer, then choose off for both in the next two sub-settings.
[G2 and Desire Z Android Development] dirtybudha:
No go...

I have BeatMod BlissSense and this script didn't work. Bummer, it was something I loved from xboarder's ROM.
[G2 and Desire Z Android Development] ATech:
Guides like this are awesome.

When it works. :-/
[G2 and Desire Z Android Development] shekki:
I tried this on the Creamed Glacier ROM and instead of the trackpad awaking the device, the back button wakes the device. It's a lot better than pushing the power button, but I still want the trackpad to perform that action.
[G2 and Desire Z Android Development] andrewilley:
I just put in a current Desire-Z Gingerbread Sense ROM (basically the OTA, but with root) and as expected it has broken the previous trackpad wake.

Can anyone tell me what I need to do to re-enable this facility? Thanks.

Andre
[G2 and Desire Z Android Development] The Prince1:
[MENTION=314309]eViL D:[/MENTION]

How about the file: tpwake-via-gscript.zip

what is the use of it? is it going to work from recovery with no need to all other steps?!
[G2 and Desire Z Android Development] carlitozway57:
It worked for me, however after the "hot reboot", USB debug mode wasn't working. So I had to do an actual reboot and, obviously, the script doesn't work anymore.

Thanks for the script but this needs a more elegant implementation.
[G2 and Desire Z Android Development] hoetel4dawgs:
no luck

tried that didnt work for me...hot reboot and then nothing
[G2 and Desire Z Android Development] drm916:
This is great!

Now.. if it could only put the phone back to sleep... like the Mytouch 4g. That phone can wake up on trackpad touch.. and go back to sleep (only if the screen is never unlocked).

Would be usefull for checking notification status bar..since there is no damn Led notification light that is active yet (track pad notification light is way to darn slow).

wasnt someone working on the notification light
[G2 and Desire Z Android Development] slinky1914:
I have widgetlocker. It didn't do trackpad wake but since the g2 update it does trackpad wake and unlock.
[G2 and Desire Z Android Development] minotauri:
yes, simplest way would to add this to your current visionary.sh file:

sh /sdcard/gscript/vision-tp-wake.sh before the reboot command.

or you can just copy the entire vision-tp-wake.sh script to your existing visionary script.

if you want to run this seperate from visionary, then open up the vision-tp.wake script in gscript in edit mode, and add the following line before the killall command:

setprop qemu.sf.lcd_density 200 (or your chosen value)
[G2 and Desire Z Android Development] SuperDave81:
Works great as posted. Thanks a ton. However, when I add:

mount -o remount,rw /dev/block/mmcblk0p25 /system
cp /sdcard/curcial-oj.kl /system/usr/keylayout/curcial-oj.kl
chmod 04775 /system/usr/keylayout/curcial-oj.kl
mount -o remount,ro /dev/block/mmcblk0p25 /system
busybox killall system_server

to my visionary.sh script, it doesn't work. Can anyone help?
[G2 and Desire Z Android Development] Vandam500:
Works awesome for me, thanks. Now you know what would make it complete, one more click and having it unlock the screen (no need to slide to unlock). Is it possible?
[G2 and Desire Z Android Development] minotauri:
superdave - see my post right above yours.
[G2 and Desire Z Android Development] xdviper:
Works for me. Thanks, Just followed the instructions and rebooted and it worked.

This is probably one of things I missed from my iPhone.
[G2 and Desire Z Android Development] s30zgt:
Ive followed it step by step but still cant get it to work right. seems to only work for a split second after i hit the power button. do you have to be updated with the new OTA, the reason i ask is cause i just got prompted for it.
[G2 and Desire Z Android Development] swhtownboy:
thanks!!! works great
[G2 and Desire Z Android Development] ihateusernames:
Thank you.
[G2 and Desire Z Android Development] imblacklife:
Works for me no problem...thanks
[G2 and Desire Z Android Development] blk_jack:
Hopefully not a stupid question but in theory should this work on the Desire Z too?
[G2 and Desire Z Android Development] iamjames:
Worked w/o issue. Thanks man.
[G2 and Desire Z Android Development] eViL D::
Yes, I mentioned that in the OP.

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] s0xpan:
good stuff man
[G2 and Desire Z Android Development] Ryanmo5:
Great to see you here man, works like a charm thank so much!
[G2 and Desire Z Android Development] jaymn88:
Works perfect, and it didn't even mess up my Overclock Module! Thanks!
[G2 and Desire Z Android Development] ajk1311:
This is perfect! Thanks a lot!
[G2 and Desire Z Android Development] xdviper:
It works fine for me but most of the time. I don't want to say its buggy cause its a script but sometimes the screen won't come on when you press it. Has anyone else noticed this yet?
[G2 and Desire Z Android Development] mike96789:
Just installed. This is awesome, have not noticed any bugs yet but will post if I find any.
[G2 and Desire Z Android Development] khaosxiii:
Works great - as long as curcial-oj.kl is copied to /sdcard (thanks! minotauri)

What would really be the ****! would be if a long press on the trackpad would do a screen power off!!!!111 :D
[G2 and Desire Z Android Development] havikx:
seems funny that it wakes up the phone but cant put it to sleep and you have to hit the power button anyways. longpress on the trackpad isnt a function so it may be possible to map it.
[G2 and Desire Z Android Development] oldsk00lz:
Works pretty good.

Found a bug it seems. If phone display is asleep and you hit the volume keys, the trackpad wake doesn't appear to work.

Anyone else experiencing this?

-oldsk00lz
[G2 and Desire Z Android Development] pershoot:
works great.

thx evil.
[G2 and Desire Z Android Development] minotauri:
i just tried... it still works after i hit volume buttons.
[G2 and Desire Z Android Development] mustbevick:
On and Off Phenomenon

So I actually have 2 G2s.. one for my dad and one for myself... Mine works perfect -- for now-- my dad's it works initially but lets say after 10 min... it wont work. I have to re-run the script. Any ideas?

Thank you for continued efforts into making this phone into what it should have been -- one piece at a time... !!! xda RULES
[G2 and Desire Z Android Development] sk8rbebop:
I'm having similar problems with the script. Sometimes it works, but often times it seems impeded and does not function.
[G2 and Desire Z Android Development] :
Works flawlessly on the Desire Z,

Once again your a star eViL;P

JD
[G2 and Desire Z Android Development] dsil711:
I am having the same problem also. I have to press the power button to bring up the unlock screen than press the power again to shut the screen off, and than if I click the trackpad it will work. Did I do something wrong?
[G2 and Desire Z Android Development] eViL D::
For those that are having problems, did you update to the OTA?

Sent from my T-Mobile G2
[G2 and Desire Z Android Development] dthadamaja:
working great so far. will report back if there are any problems.
[G2 and Desire Z Android Development] gbpack2306:
I am having the same problem as a couple people in here. It seems to work when I first put the phone on standby, but stops working if the phone is left alone for a while.

I have not updated to the OTA yet.
[G2 and Desire Z Android Development] dsil711:
I have not received the OTA update yet. And I do not want to manually update it. Id rather wait for it to come OTA.

Is this the reason why it is not functioning properly?
[G2 and Desire Z Android Development] eViL D::
I guess we'll see.
[G2 and Desire Z Android Development] mustafazr:
Works like a charm. Thanks.
[G2 and Desire Z Android Development] KidHuyDiet:
After manual update OTA, this work like a charm. Thanks so much Dev
[G2 and Desire Z Android Development] tv2177:
Sweet, this thing works like a charm. Don't even know how I live with that power button for all this time I have my G2
[G2 and Desire Z Android Development] Stryder5:
Happens to me too. I haven't updated to OTA yet though.
[G2 and Desire Z Android Development] Shambala001:
I just added it to my own script and it didnt work, so I changed the chmod to 775 and now it works. Great mod! love the quick unlock now
[G2 and Desire Z Android Development] kinacool:
Thanks for reminding me why I love android/G2, works great so far.
[G2 and Desire Z Android Development] mustbevick:
Regarding the Lag

To Those of Whom It Concerns..Who are experiencing a delayed wake

If i you have SetCPu profiles set up... consider for Screen Off 246/768 Performance instead of Ondemand.... i noticed doing this virtually guaranteed wake... and of course i know this would probably kill the batter but its worth a shot to see to what effect... especially with an 1800mah battery now on board. Modifications and questions to this method are more then welcome. Thanks again XDA
[G2 and Desire Z Android Development] ryaninc:
This rocks, thanks for putting this together! Hugely helpful, works perfectly.
[G2 and Desire Z Android Development] minotauri:
i have my setcpu profile at 245/245 and ondemand for screenoff, and it works just fine.
[G2 and Desire Z Android Development] eViL D::
Same here. If you guys are having wake issues, check your 3rd party apps.
[G2 and Desire Z Android Development] gbpack2306:
Got tired of waiting for the OTA and updated manually. Trackpad wake seems to be working perfectly since then. Thank you!