[Q] Remap Camera to Torch in CM - G2 and Desire Z Themes and Apps

Is there a way to remap the useless slow camera button to turn on the torch in cm. I currently am using a remapper to goto the app but idk how to make it turn it on with out an extra step. also it would be awesome if there was a way to keep the screen from turning on when the torch was activated... but im not that picky.. Any ideas/help?

I have something similar so I can long-press search to turn on the torch. I modified the CM torch, which is attached. You need to remove the old Torch.apk in /system/app or rename it to .bak before you install this one.

do u think one of you can help me i would like to try this but i wanted to know if you know the commands to do all of the steps using terminal emulator on the phone to rename the file and to install this one.

I don't wanna be one of those people but its a simple long hold and it comes up everytime...(everyone has their preferences though) I was testing this while watching a win phone 7 preview and they were showing off their instant camera feature and we have one more step but its the same time. I would like to change it to a fast click since its hard enough to accidentally push that down.
Sent from my T-Mobile G2 using XDA App

GamerGuy80 said:
do u think one of you can help me i would like to try this but i wanted to know if you know the commands to do all of the steps using terminal emulator on the phone to rename the file and to install this one.
Click to expand...
Click to collapse
Run this in the terminal emulator on your phone, or on your computer after running adb shell.
Code:
su
mount -o remount,rw /system
cd /system/app
mv Torch.apk Torch.apk.bak

i renamed the old torch.apk file and i installed the new one...but what was changed....if i long press the search button on my g2 just the voice search comes on.

GamerGuy80 said:
i renamed the old torch.apk file and i installed the new one...but what was changed....if i long press the search button on my g2 just the voice search comes on.
Click to expand...
Click to collapse
Sorry, you'll also need Button Shortcut:
http://www.androlib.com/android.application.com-socialnmobile-buttonshortcuts-qFB.aspx
It lets you assign an app to long-press search or the camera button.
You'll also need to tick the 'auto on/off' tickbox in the torch app.

Related

Ok removed some built in app's

So I took the plunge and have removed peep and learn more from the phone, all working well so far. don't want to push my luck and remove more.
How did you managed it? I'm guessing you have root access or something?
yes rooted and booted loads of bits i want to remove but not sure what effect they would have on the system.
adb shell rm /system/app/Learn*
adb shell rm /system/app/com.htc.Twitt*
I managed to remove learnmore and the Stocks app and its widget. No discernable bad effects. I used Root Explorer successfully to do this, thought I havent managed to get Root Explorer to Copy and paste either to or from the device (Yup I know its read only, but Root Explorer, when working correctly, allows you to toggle R/w and R/0 ).
Daisy xxx
Dayzee said:
I managed to remove learnmore and the Stocks app and its widget. No discernable bad effects. I used Root Explorer successfully to do this, thought I havent managed to get Root Explorer to Copy and paste either to or from the device (Yup I know its read only, but Root Explorer, when working correctly, allows you to toggle R/w and R/0 ).
Daisy xxx
Click to expand...
Click to collapse
Daisy! Quick question?? how did you manage to get root explorer to work. It seems to for-close on me all the time!
Dayzee said:
I havent managed to get Root Explorer to Copy and paste either to or from the device
Click to expand...
Click to collapse
It's now working here. I used the update.zip mentioned here to gain "adb remount" ability for an unrelated issue and a side-effect is that Root Explorer now copies/pastes as expected.
Maybe a little tutorial on how to uninstall apps ??
I remove "rosie" to get back old style android look : its blazing fast and all htc's applications still works.
I used the Update.zip from Pauls Method at MoDaCo (Should go in the wiki if Paul says its OK?) and then was able to copy from /data/app/ to my SD Card using Linda File Manager whilst in "adb remount" (link via usb, then use command prompt to get to the adb directory and type "adb remount" then use the Linda File manager to do the bizz.)
Haven't tried removing anything or putting anything in yet, cos I really don't know whayt I'm doing. I just want to know HOW it can be done really. :0)
Dayzee
minogue said:
Daisy! Quick question?? how did you manage to get root explorer to work. It seems to for-close on me all the time!
Click to expand...
Click to collapse
I don't get force closes, but it certainly doesn't work for me as it should. Pressing the buttons to change from R/W to R/O usually says Busy: cannot remount - also any "copy" seems to go ok but the "paste" never works.
I've got Root Explorer 1.4 I think. Also tried it with adb remount but it didn't seem to work either.
Daisy xx
NisseGurra said:
I remove "rosie" to get back old style android look : its blazing fast and all htc's applications still works.
Click to expand...
Click to collapse
I want to do this but worried I might get the "force close error" when opening the peoples application when using the standard android UI. Its happened a few times when I set Home as my default application, reverted back to Touchflo and it been working great.
Removing Rosie completely will also remove the black look that HTC put in the ROM? Or is that something that is fixed by theming? (Like the top bar being black on the Hero, but white on the Magic)
Edit:
Well I went ahead and gave Rosie the boot, allong with some other HTC widget stuff (which becomes obsolete when you remove Rosie) I used Root Explorer to delete the files (adb shell rm wouldn't work :-\)
All I need now is the default white bar at the top instead of the HTC Black one

[Q] Power-off shortcut??

Hi guys,
Is it possible to have a shortcut icon on homescreen that powers the phone off. I have a protective gel case on my Desire and its a pain in the a**e having to long press it through the case and then select power off and then ok to confirm.
I am using quick boot app which is excellent but no power off option with it. Just reboot, recovery and quickboot. Have already requested Dev to add the function but not hopefull.
When long pressing the power button a menu pops up right? Is it possible to invoke that power menu in another way? Perhaps with a shortcut?
Surely its not rocket science to be able to click an icon and the phone powers off???????
Edit: see last post for solution
??
C'mon guys, someone must know a way to achieve this. Otherwise, whats this forum for?
5 minute job to knock up a zip patch file or a simple app for someone who know's what their doing. I feel a lot of people (certainly those using protective cases) would find such an app or patch (for rooted users like me) very welcome.
I would happily do it for someone else.
you can power off with the command
reboot -p
Click to expand...
Click to collapse
you can use gscript (light version available on the market for free.) to add a shortcut to that command on the homescreen.
You will need root access, i think.
??
C'mon man, you must know how to show some sort of gratitude or give some sort of feedback. Otherwise, whats this forum for?
5 minute job to go on your computer (or phone) and post a reply for someone who know's what their doing. I feel a lot of people (certainly those who help others) would find a simple thank-you very welcome.
I would happily do it for someone else.
My point is if you can't be arsed to reply to your own thread in 24 hours why bump it after a day with no reply?
reboot controll widget
Mercianary,
Don't get your knickers in a twist
Only seen your reply this morning. Thanks for your suggestion - gscript. Gonna try it out later today. Will post back.
Cheers dude.
What....these feelings...I feel bad now...sorry.
That widget looks like it would do the job great. Just depends of your stingy like me and wouldn't pay 87p for an app when I can do the same for free.
Just installed gscript and run a reboot -p script but it doesn't work
I get a stderr: not permited error
I am rooted and have the superuser app
Any ideas??
Try
su
reboot -p
Edit: that wont work. Make sure you tick 'needs su' box in gscript when you make the script. Should make it work
Got su box checked.
Tried
su
reboot -p
Tried re-installing gscript.
Tried reboot
Is it not working because, although I am rooted with unrevoked 3.2, I still have s-on? I wonder. Or, is it because reboot is not allowed to be run as a script???
But I have superuser app. Puzzled. Any more suggestions as I really want to get this working. By the way scripts not requiring su run fine.
http://www.appbrain.com/app/quick-boot/com.siriusapplications.quickboot
Hello
Yes I am already using quick boot but it doesn't have the option to simply power off the phone. Only reboot, recovery and bootloader. I have asked the Dev to add this option as others have also asked but not hopeful anytime soon.
All I want is a homescreen shortcut that powers off the phone. Simples!
Why am I getting not permitted error messages when trying to run following from gscript.....
reboot -p
It is set to use superuser but gives the error. WHY!!!!
Try running the command from a terminal emulator. If that works we know gscript is the problem (in which case I can tell you a work around).
If it still doesn't work maybe your rom doesn't support it (I use cyanogenmod and it works fine for me.).
Edit: double check gscript is set to 'allow' in superuser.
Su
Shutdown
Works in terminal.
Sent from my Evil Lair using Doomsday Device
Ik Desire said:
Su
Shutdown
Works in terminal.
Sent from my Evil Lair using Doomsday Device
Click to expand...
Click to collapse
Not for me. It must be different on different roms.
Are you using a sense rom?
By terminal emulator, do you mean an adb shell from a command prompt on P.C........Or do you mean something that runs on the phone?
Edit: Ran Alpharev last night and am now s-off All went smoothly. Have installed root explorer and was wondering what file/directory permissions I need to change to be able to execute scripts?
btw, thanks for your suggestions Mercianary and IK Desire
Edit: installed Android Terminal Emulator and ran
su (it asked for superuser permision and i allowed)
#shutdown (phone powered immediately off but would not switch back on - had to pull battery)
#reboot -p (same as above)
Totally stumped and baffled.
mercianary said:
Not for me. It must be different on different roms.
Are you using a sense rom?
Click to expand...
Click to collapse
Leedroid 2.2e. Using terminal emulator on phone. I have the same problem (have to pull battery before rebooting). But previously this was not the case.
Sent from my Evil Lair using Doomsday Device
Update
Have found a solution (sort of!). Have installed busybox and have created a gscript script as follows....
busybox poweroff -d 10 -f
This works and powers the phone off after 10 seconds. The reason for the 10 second delay is to give the system enough time to unmount filesystems and stop services. An ordered shutdown if you like.
Thing is....Is this what actually happens? I mean the poweroff command in busybox doesn't go through the init system. So, is it a "clean, ordered" powerdown???? It switches back on ok afterwards and everything seems to work.
But the question is am I risking corrupting the filesystem by shutting down in the way?

[MOD] Default Froyo Launcher

This will allow you to use the default Froyo Launcher instead of using the HTC Sense Launcher included with the MT4G for those that prefer it!
This was compiled through the generic AOSP 2.2r1 source with 5 screens. I will make one with 7 screens if anyone would like it.
First of all, you will need root(VISIONary) and adb.
Second, you will need this file: http://www.4shared.com/file/Cd9kUAqL/Launcher2.html
Third, make sure your phone is in "Charge Only" mode when you connect it to your computer.
Next:
1. adb push Launcher2.apk /sdcard/
2. adb shell
Now in shell:
3. su (Superuser might pop up on your device, make sure to press "Allow")
4. stop
5. mount -o remount,rw /dev/block/mmcblk0p25 /system
6. cp /sdcard/Launcher2.apk /system/app/
7. start
8. Wait for the phone to do a "soft boot"
9. Once you pull down the Lockscreen, select Launcher instead of HTC Sense
Now, of course, this will go away once you reboot the phone, but you could use visionary.sh, a file that loads on boot if VISIONary roots your phone on every boot, and make it do these commands.
This was a simple idea I had after seeing Cyanogen's LED Notification Light Mod for the G2: http://forum.xda-developers.com/showthread.php?t=797867&page=4
UPDATE: You might want to re-download the Launcher2.apk. The phone hotseat button now loads the HTC Phone app instead of not working.
UPDATE 2: This also includes the default AOSP wallpapers under Wallpaper > Wallpapers.
thank you very much. i was really looking for this. now all we need is perm root so this doesnt go away on reboot
Greatly appreciated!
Not to seem like I am spitting in your face, but I think I'll stick with LauncherPro if I want to get the stock look. Until persistent root is obtained I don't want to mess with anything that may go away.
JWhipple said:
Greatly appreciated!
Not to seem like I am spitting in your face, but I think I'll stick with LauncherPro if I want to get the stock look. Until persistent root is obtained I don't want to mess with anything that may go away.
Click to expand...
Click to collapse
Ha I understand. I was using LauncherPro before I did this.
Updated Launcher2.apk so that the phone hotseat button now loads the HTC Phone app instead of not working.
travisjames said:
This will allow you to use the default Froyo Launcher instead of using the HTC Sense Launcher included with the MT4G for those that prefer it!
This was compiled through the generic AOSP 2.2r1 source with 5 screens. I will make one with 7 screens if anyone would like it.
First of all, you will need root(VISIONary) and adb.
Second, you will need this file: http://www.4shared.com/file/Cd9kUAqL/Launcher2.html
Third, make sure your phone is in "Charge Only" mode when you connect it to your computer.
Next:
1. adb push Launcher2.apk /sdcard/
2. adb shell
Now in shell:
3. su (Superuser might pop up on your device, make sure to press "Allow")
4. stop
5. mount -o remount,rw /dev/block/mmcblk0p25 /system
6. cp /sdcard/Launcher2.apk /system/app/
7. start
8. Wait for the phone to do a "soft boot"
9. Once you pull down the Lockscreen, select Launcher instead of HTC Sense
Now, of course, this will go away once you reboot the phone, but you could use visionary.sh, a file that loads on boot if VISIONary roots your phone on every boot, and make it do these commands.
This was a simple idea I had after seeing Cyanogen's LED Notification Light Mod for the G2: http://forum.xda-developers.com/showthread.php?t=797867&page=4
UPDATE: You might want to re-download the Launcher2.apk. The phone hotseat button now loads the HTC Phone app instead of not working.
UPDATE 2: This also includes the default AOSP wallpapers under Wallpaper > Wallpapers.
Click to expand...
Click to collapse
Dude is there anyway you can do this with the traditional sense launcher instead to replace the ugly espresso crap?
Omeer said:
Dude is there anyway you can do this with the traditional sense launcher instead to replace the ugly espresso crap?
Click to expand...
Click to collapse
Since Rosie.apk already exist within /system/app, it would just throw an error when trying to copy it from the SD card to the system cache.
Lol yeah I found that out the hard way after semi bricking my phone last night. My question now is can rosie.apk that exists within the system cache be replaced by a custom one? I'm assuming no since the .apk being replaced would be in use atm...
Sent from my HTC Glacier using XDA App
Ooh here's another idea. I saw a thread over at the Desire HD forums and someone ported/modded the themes into .apk files. The installation instructions are very straight forward, just install as normal .apk files or move the files to /system/app. Needless to say that just simply installing it didn't work on the MyTouch 4G. My concern now is can we use this method or any other method to push these .apk files to the /system/app folder to see if it works? A way to theme our devices will hold us eager beavers off till we get a permanent root.
Sent from my HTC Glacier using XDA App
Great work, thanks a ton for this. One question though, is there any advantage of using stock launcher insteat of ADW or LP? I myself love ADW, especially with 3D look that AnderWeb is trying go implement but if there's performance gain with the stock - I'm all for it.
Omeer said:
Lol yeah I found that out the hard way after semi bricking my phone last night. My question now is can rosie.apk that exists within the system cache be replaced by a custom one? I'm assuming no since the .apk being replaced would be in use atm...
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Even when using Launcher2.apk instead of Rosie, it failed to replace. I tried it last night after I saw your suggestion.
Omeer said:
Ooh here's another idea. I saw a thread over at the Desire HD forums and someone ported/modded the themes into .apk files. The installation instructions are very straight forward, just install as normal .apk files or move the files to /system/app. Needless to say that just simply installing it didn't work on the MyTouch 4G. My concern now is can we use this method or any other method to push these .apk files to the /system/app folder to see if it works? A way to theme our devices will hold us eager beavers off till we get a permanent root.
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
You might be able to do that with this method. All I can say is, try and see if it works.
borodin1 said:
Great work, thanks a ton for this. One question though, is there any advantage of using stock launcher insteat of ADW or LP? I myself love ADW, especially with 3D look that AnderWeb is trying go implement but if there's performance gain with the stock - I'm all for it.
Click to expand...
Click to collapse
Personally, I haven't seen any advantage to using Launcher2 over ADW or LauncherPro. The only reason I made this was because I like vanilla Android over Sense. But, I don't really see any performance gain. I might do a little bit more testing and get back to you.
travisjames said:
Even when using Launcher2.apk instead of Rosie, it failed to replace. I tried it last night after I saw your suggestion.
You might be able to do that with this method. All I can say is, try and see if it works.
Click to expand...
Click to collapse
OK so I followed this guide exactly as outlined except I replaced the launcher2.apk files with the commonSense.apk file. Everything goes swimmingly until I pull down the lock screen when the screen just hangs for a good a while but ultimately results in no change. What I want to try now is to push .apk files onto the /system/app folder some how and that's not what this method does. I read somewhere that it's now possible to push .apk files to root folders, any ideas as to what that might be?
travisjames said:
1. adb push Launcher2.apk /sdcard/
2. adb shell
Now in shell:
3. su (Superuser might pop up on your device, make sure to press "Allow")
4. stop
5. mount -o remount,rw /dev/block/mmcblk0p25 /system
6. cp /sdcard/Launcher2.apk /system/app/
7. start
8. Wait for the phone to do a "soft boot"
9. Once you pull down the Lockscreen, select Launcher instead of HTC Sense
Now, of course, this will go away once you reboot the phone, but you could use visionary.sh, a file that loads on boot if VISIONary roots your phone on every boot, and make it do these commands.
Click to expand...
Click to collapse
I think if you replace step 6 with
"pm install /sdcard/Launcher2.apk"
it should install to /data/app which should still be fine after a reboot.
Phone doesn't work
Thanks for that!
The left button doesn't work on my desire.
Is the link on #1 up to date?

[Q]How to restore Sense lockscreen?

This is going to be one of those things where some people cry out "Blasphemy!" But I will ask anyways.
I loaded up a ROM on my Evo that contains Sense everything, except the lockscreen. The ROM is perfect other than this problem. Despite my best efforts all I see is people asking how to remove the Sense lockscreen (wut?) and none trying to add it to a ROM after the fact. So I'm wondering if anyone would be kind enough to aid me in restoring the Sense lockscreen. I'd greatly appreciate the help.
Licht_ said:
This is going to be one of those things where some people cry out "Blasphemy!" But I will ask anyways.
I loaded up a ROM on my Evo that contains Sense everything, except the lockscreen. The ROM is perfect other than this problem. Despite my best efforts all I see is people asking how to remove the Sense lockscreen (wut?) and none trying to add it to a ROM after the fact. So I'm wondering if anyone would be kind enough to aid me in restoring the Sense lockscreen. I'd greatly appreciate the help.
Click to expand...
Click to collapse
Restore nandroid
Find the HtcLockscreen.apk and use adb to push it to /system/app/
bcarter2000 said:
Find the HtcLockscreen.apk and use adb to push it to /system/app/
Click to expand...
Click to collapse
If you're not good with adb, you can also use root explorer.
I've placed htclockscreen.apk into system/app but it doesn't enable the lock screen. Possible the APK I downloaded is misnamed.
Licht_ said:
I've placed htclockscreen.apk into system/app but it doesn't enable the lock screen. Possible the APK I downloaded is misnamed.
Click to expand...
Click to collapse
Did you install it?
Sent from my HTC EVO 4G with Tapatalk
Widget locker works well
A drop of Chuck Norris's semen was placed on Android OS. We now have CyanogenMod.
kd0axs said:
Did you install it?
Sent from my HTC EVO 4G with Tapatalk
Click to expand...
Click to collapse
I tried but it says "Application not installed." I assumed that meant that I couldn't install system APKs or something of the like. I'll look for another source for the file. I'm sure this one is just bad. (Random Mediafire link.)
Edit : I downloaded from a better source. But this file also will not install. Placed it into the correct folder and am now rebooting to see if it works.
Edit 2 : Definitely not working. Am I missing something? I just place it in the folder... then nothing happens.
You have to install it after it's place in the folder. Use your favorite file manager and click on the apk file.
Licht_ said:
I tried but it says "Application not installed." I assumed that meant that I couldn't install system APKs or something of the like. I'll look for another source for the file. I'm sure this one is just bad. (Random Mediafire link.)
Edit : I downloaded from a better source. But this file also will not install. Placed it into the correct folder and am now rebooting to see if it works.
Edit 2 : Definitely not working. Am I missing something? I just place it in the folder... then nothing happens.
Click to expand...
Click to collapse
Okay. Take your htclockscreen.apk, using Root Explorer preferably, and place it in /system/app. There is no need to install anything now. What is needed, is that you need to long press on the htclockscreen.apk after you copy it to the system/app folder, and press permissions. You must make sure that the "user" permissions are set "read" and "write". Make sure they're both checked. Once that is complete, reboot your Evo. You'll have the htc lockscreen, every time.
you can also use adb. If you don't have it all set up, there's an easy way around that. Download 'wireless adb' or 'adb over wifi' from the market. Activate that app (you have to have your wifi on), open up a command prompt and connect to your phone, by typing 'adb connect 192.sss.s.ss:8000' (it'd be your IP address and port, which the app will provide to you). Once connected, navigate to where you downloaded the htc lockscreen apk. (say it was in the folder C:\android, you'd type cd C:\android, then hit enter). Then do this. adb remount (hit enter).
adb push HtcLockscreen.apk /system/app (hit enter). Then type adb reboot (hit enter). That would be all you need to do. Either one of those two methods, with adb or the file explorer should solve your problem.
k2buckley said:
Okay. Take your htclockscreen.apk, using Root Explorer preferably, and place it in /system/app. There is no need to install anything now. What is needed, is that you need to long press on the htclockscreen.apk after you copy it to the system/app folder, and press permissions. You must make sure that the "user" permissions are set "read" and "write". Make sure they're both checked. Once that is complete, reboot your Evo. You'll have the htc lockscreen, every time.
you can also use adb. If you don't have it all set up, there's an easy way around that. Download 'wireless adb' or 'adb over wifi' from the market. Activate that app (you have to have your wifi on), open up a command prompt and connect to your phone, by typing 'adb connect 192.sss.s.ss:8000' (it'd be your IP address and port, which the app will provide to you). Once connected, navigate to where you downloaded the htc lockscreen apk. (say it was in the folder C:\android, you'd type cd C:\android, then hit enter). Then do this. adb remount (hit enter).
adb push HtcLockscreen.apk /system/app (hit enter). Then type adb reboot (hit enter). That would be all you need to do. Either one of those two methods, with adb or the file explorer should solve your problem.
Click to expand...
Click to collapse
I've added the permissions as per your instructions and rebooted twice but I still have the stock lockscreen.
Licht_ said:
I've added the permissions as per your instructions and rebooted twice but I still have the stock lockscreen.
Click to expand...
Click to collapse
What ROM are you running? I was under the assumption (for some reason) that it was a nonsense rom (sense based, but most sense elements removed). Are you on an AOSP rom? If you are, I don't believe you can use a sense htc lockscreen at all, and I apologize for the mis information. If you are actually using a sense based ROM, then I'm not sure why it's not working. What file explorer are you using? Root Explorer?
Edit: I re read your OP. I see you are on a Sense based rom. What rom is it? Maybe I'll flash it and see if I can get the htc lockscreen working. I feel like flashing something....
k2buckley said:
What ROM are you running? I was under the assumption (for some reason) that it was a nonsense rom (sense based, but most sense elements removed). Are you on an AOSP rom? If you are, I don't believe you can use a sense htc lockscreen at all, and I apologize for the mis information. If you are actually using a sense based ROM, then I'm not sure why it's not working. What file explorer are you using? Root Explorer?
Edit: I re read your OP. I see you are on a Sense based rom. What rom is it? Maybe I'll flash it and see if I can get the htc lockscreen working. I feel like flashing something....
Click to expand...
Click to collapse
Eternal Prophecy 4.2
It has most Sense elements but just not the lockscreen.
Sent from my Evo 4G using XDA App

[GUIDE] enable trackball/pad wake on the latest MIUI builds again

I think I found an easier way to enable trackball/pad wake again!
1. connect your phone to your pc and open a cmd window
2. execute the following commands:
adb shell
stop
cd /data/data/com.android.providers.settings/databases/
cp settings.db settings.bak
sqlite3 settings.db "insert into system (name,value) values ('trackball_wake_screen',1);"
start
3. thats it, if you want to disable it again do the same again but instead of
sqlite3 settings.db "insert into system (name,value) values ('trackball_wake_screen',1);"
use
sqlite3 settings.db "insert into system (name,value) values ('trackball_wake_screen',0);"
I have found a way to enable trackpad wake on MIUI Roms again! It's a little tricky but it works perfectly.
Things you need:
SQLite Database Browser -> http://sourceforge.net/projects/sqlitebrowser/
Follow these steps exactly:
1. connect your phone to your computer and open a cmd prompt
2. type in the terminal:
Code:
cd %USERPROFILE%\desktop
adb shell stop
adb pull /data/data/com.android.providers.settings/databases/settings.db
3. extract SQLite Database Browser somewhere and start it
4. open your settings.db with SQLite Database Browser (you'll find it on your desktop)
5. Change to "Browse Data" and select the system table
6. add a "New Record"
7. doubleclick the name filed of the new record and write
Code:
trackball_wake_screen
inside. Click Apply Changes!
8. doubleclick the value field of trackball_wake_screen and write
Code:
1
inside. Click Apply Changes!
9. Save the file (maybe you want to make a backup of the original file before this point )
10. last step is to copy the file back to your phone:
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/
adb shell start
Now trackpad wake should work again.
Woukd this only work on miui?
There are quite a few people waiting for this feature on xboarders stock gingerbread rom.
Sent from my Nokia 3210 using XDA Premium App
Can someone try this out on the test ver? I badly need track wake
Sent from my T-Mobile G2 using XDA App
xile6 said:
Can someone try this out on the test ver? I badly need track wake
Sent from my T-Mobile G2 using XDA App
Click to expand...
Click to collapse
I just tried this on my Droid Incredible, and it does work! Thanks!
Worked on my N1, Thankyou
Just wanted to say that I tried this again with the latest MIUI build...and again it works! Thanks!
Sweet worked for my HTC Incredible running MIUI 1.6.24 with Incredikernel 06192011
without adb
Can you do it without using adb, eg. with root explorer on the phone ?
(I am using MIUI on my google N1)
slim_thumb said:
Can you do it without using adb, eg. with root explorer on the phone ?
(I am using MIUI on my google N1)
Click to expand...
Click to collapse
I guess not since android has to be stoped to make this change. (stop command is to shut down android)
But why don't you just enable trackball wake in the settings menu? The Nexus One had always the option for it. The settings app checked the device name and if it wasn't passion (N1) or bravo (Desire) the trackball wake option didn't show up.
So Desire Z (vision) lost trackpad wake. Thats why I was looking for a way to enable it again. But since a few releases this isn't needed anyways.
Sent from my HTC Desire Z using Tapatalk
g4rb4g3 said:
But why don't you just enable trackball wake in the settings menu? The Nexus One had always the option for it.
Click to expand...
Click to collapse
Sorry I looked at the settings menu (under "hardware key setting"), there is no such option.
slim_thumb said:
Sorry I looked at the settings menu (under "hardware key setting"), there is no such option.
Click to expand...
Click to collapse
Goto Settings - System - Button Settings - Trackball wake
I can't belive that this doesn't exist on the Nexus One.
Sent from my HTC Desire Z using Tapatalk
Found it, my bad!
slim_thumb said:
Can you do it without using adb, eg. with root explorer on the phone ?
(I am using MIUI on my google N1)
Click to expand...
Click to collapse
Works with root explorer... Just copy database to sdcard then edit while connected to pc.. Copy back, change permissions, reboot and your set..
You can also just use an sqlite editor app..
Any chance someone could post step by step instructions on how to do this with sqlite editor on the phone?
EDIT:
Scratch that. Figured it out.
Thanks a million! This saved the day. Cant believe its not integrated with miui. Nexus One MIUI
Hi..
when I open cmd and I type adb shell... i get this..
'adb' is not recognized as an internal or external command,
operable program or batch file.
magdiel1975 said:
Hi..
when I open cmd and I type adb shell... i get this..
'adb' is not recognized as an internal or external command,
operable program or batch file.
Click to expand...
Click to collapse
You need to navigate to your sdk / adb folder.
Sent from my Sensation using xda premium
trackpad wake works on latest miui.. I am currently running it? :S
I wonder why people don't use the trackball/pad wake option in the settings menu too....
This was an issue half a year ago but the MIUI team fixed it a few weeks later and since then it works without this.
works for me
g4rb4g3 said:
I have found a way to enable trackpad wake on MIUI Roms again! It's a little tricky but it works perfectly.
Things you need:
SQLite Database Browser -> http://sourceforge.net/projects/sqlitebrowser/
Follow these steps exactly:
1. connect your phone to your computer and open a cmd prompt
2. type in the terminal:
Code:
cd %USERPROFILE%\desktop
adb shell stop
adb pull /data/data/com.android.providers.settings/databases/settings.db
3. extract SQLite Database Browser somewhere and start it
4. open your settings.db with SQLite Database Browser (you'll find it on your desktop)
5. Change to "Browse Data" and select the system table
6. add a "New Record"
7. doubleclick the name filed of the new record and write
Code:
trackball_wake_screen
inside. Click Apply Changes!
8. doubleclick the value field of trackball_wake_screen and write
Code:
1
inside. Click Apply Changes!
9. Save the file (maybe you want to make a backup of the original file before this point )
10. last step is to copy the file back to your phone:
Code:
adb push settings.db /data/data/com.android.providers.settings/databases/
adb shell start
Now trackpad wake should work again.
Click to expand...
Click to collapse
This method worked for me on my HTC Droid Incredible running MIUI 2.11.9. I actually used File Explorer in Android:
1. copied settings.db
2. uploaded it to my PC
3. used SQLite to edit it
4. copied it back to phone
5. backed up settings.db
6. pasted the new file in
Restarted phone and trackball wakes it up now.
Thanks!

Categories

Resources