Related
I don't know if it has anything to do with it, but after I installed the new google voice search, my search key didn't work any more. When I touch the search key now, it doesn't do anything. Any idea?
Thanx in advance.
Sent from my PC36100 using XDA App
Same boat.
Cm6.
Any ideas people?
Add me to this list same here
The voice search isn't to blame it's the new Google search widget that you need to blame.
Sent from my PC36100 using Tapatalk
you got to hold it, hold it for like 3-4 seconds, it will work, at least on fresh does!!
What ive been looking for..
Sounds like a great fix to that annoying thing. I hate that it comes on all the time. Think ill install it just for the break rofl....................
jonathaflores said:
you got to hold it, hold it for like 3-4 seconds, it will work, at least on fresh does!!
Click to expand...
Click to collapse
That asks for the long press one
I'm talking about the single press search
Here's how to fix (from your Terminal/Command Prompt, where ADB is):
Code:
adb shell mount -o remount,rw /dev/block/mtdblock4 /system
adb shell rm /system/app/GoogleQuickSearchBox.apk
adb shell rm /system/app/VoiceSearch.apk
adb shell rm -r /data/data/com.google.android.voicesearch
adb shell pm uninstall com.google.android.voicesearch
adb reboot
Now go install the Google Search and Voice Search from the Android Market. Problem solved.
NOTE: You have to have full root. That means # in your shell, and NAND unlock. If you don't, you are SOL.
drmacinyasha said:
Here's how to fix (from your Terminal/Command Prompt, where ADB is):
Code:
adb shell mount -o remount,rw /dev/block/mtdblock4 /system
adb shell rm /system/app/GoogleQuickSearchBox.apk
adb shell rm /system/app/VoiceSearch.apk
adb shell rm -r /data/data/com.google.android.voicesearch
adb shell pm uninstall com.google.android.voicesearch
adb reboot
Now go install the Google Search and Voice Search from the Android Market. Problem solved.
NOTE: You have to have full root. That means # in your shell, and NAND unlock. If you don't, you are SOL.
Click to expand...
Click to collapse
I am fully rooted anyway to do this via titanium backul? Is the main goal here to uninstall the old apps?
Jsimon9633 said:
I am fully rooted anyway to do this via titanium backul? Is the main goal here to uninstall the old apps?
Click to expand...
Click to collapse
No way that I found. His way is flawless and just requires typing what you see.
the adb commands worked awesome...I still have a slight lag with the "hard" key search button...still requires a long press.
Thanks!!
Quick note: If you do all of that, and when short-pressing the Search key, you don't get the Google Search (and assuming you've installed Google Search from the Market), use these commands:
Code:
adb shell mount -o remount,rw /dev/block/mtdblock4 /system
adb shell cp /data/app/com.google.android.googlequicksearchbox-1.apk /system/app/GoogleQuickSearchBox.apk
adb reboot
This thread oughtta be stickied. I've already quoted my post in here three times.
drmacinyasha said:
Here's how to fix (from your Terminal/Command Prompt, where ADB is):
Code:
adb shell mount -o remount,rw /dev/block/mtdblock4 /system
adb shell rm /system/app/GoogleQuickSearchBox.apk
adb shell rm /system/app/VoiceSearch.apk
adb shell rm -r /data/data/com.google.android.voicesearch
adb shell pm uninstall com.google.android.voicesearch
adb reboot
Now go install the Google Search and Voice Search from the Android Market. Problem solved.
NOTE: You have to have full root. That means # in your shell, and NAND unlock. If you don't, you are SOL.
Click to expand...
Click to collapse
I've already uinstalled/rebooted/installed both the voice search and the google search. Do i still proceed with the above steps? And if so, can I type these commands as I see them into the Terminal Emulator on the phone itself?
The commands are meant to be done via ADB (a command prompt/shell on your computer).
If you already have everything working (including the search key) then there's no need for you to do this.
drmacinyasha said:
Quick note: If you do all of that, and when short-pressing the Search key, you don't get the Google Search (and assuming you've installed Google Search from the Market), use these commands:
Code:
adb shell mount -o remount,rw /dev/block/mtdblock4 /system
adb shell cp /data/app/com.google.android.googlequicksearchbox-1.apk /system/app/GoogleQuickSearchBox.apk
adb reboot
This thread oughtta be stickied. I've already quoted my post in here three times.
Click to expand...
Click to collapse
You are a lifesaver. Was freaking out when my search button broke. This fixed it. Thank you!
Sent from my PC36100 using XDA App
drmacinyasha said:
The commands are meant to be done via ADB (a command prompt/shell on your computer).
If you already have everything working (including the search key) then there's no need for you to do this.
Click to expand...
Click to collapse
I've just uinstalled/rebooted/installed both the voice search and google search. Voice search works fine, but as I said previously, the google search button is broken.
I want to use your instructions but I've never used adb on my computer before. Can you help me out? I've always avoided using it, but maybe it's time I learn.
tranquilchaos said:
I've just uinstalled/rebooted/installed both the voice search and google search. Voice search works fine, but as I said previously, the google search button is broken.
I want to use your instructions but I've never used adb on my computer before. Can you help me out? I've always avoided using it, but maybe it's time I learn.
Click to expand...
Click to collapse
there's a thread in development on how to use adb.
seriously, once you get the least bit familiar with it, you won't want to use anything else...
i do everything from adb. it's just easier. trust me. i've tried all the other methods, and they're a pain in comparison
timothydonohue said:
there's a thread in development on how to use adb.
seriously, once you get the least bit familiar with it, you won't want to use anything else...
i do everything from adb. it's just easier. trust me. i've tried all the other methods, and they're a pain in comparison
Click to expand...
Click to collapse
Wowsers, so I found the following post: http://forum.xda-developers.com/showthread.php?t=502010 (adb for dummies) but I'm lost.
It seems to be designed for Windows users....So far I have:
downloaded the newest SDK package, Eclipse and installed the ADT Plugin. Now what? I'm so confused...any help would be great!
tranquilchaos said:
Wowsers, so I found the following post: http://forum.xda-developers.com/showthread.php?t=502010 (adb for dummies) but I'm lost.
It seems to be designed for Windows users....So far I have:
downloaded the newest SDK package, Eclipse and installed the ADT Plugin. Now what? I'm so confused...any help would be great!
Click to expand...
Click to collapse
You don't need Eclipse or anything like that.
Just go to Start>Run, type in "cmd" (no quotes) and then type the command:
cd *location of where you saved the Android SDK*
cd tools
So if you copied the Android SDK to "C:\Program Files (x86)\Android SDK", you would type:
cd "C:\Program files (x86)\Android SDK\"
cd tools
Now just type in the commands, starting with "adb " such as "adb reboot" or "adb shell" and so on.
EDIT: Since there was an update for the Nexus One version of CM6, there's now a new GApps ZIP which contains the new search, Voice Search, etc. Just copy it to your SD card, reboot into recovery, and flash it:
http://mirror.kanged.net/gapps/gapps-hdpi-20100814-signed.zip
if I do something like text [name] and then press the mic button to say some more text, it instantly crashes. anyone else get this issue? running rc2
Shyfe said:
if I do something like text [name] and then press the mic button to say some more text, it instantly crashes. anyone else get this issue? running rc2
Click to expand...
Click to collapse
Try uninstalling /system/app/VoiceSearch.apk and then install it again from the market. I was having this same problem and that's how I fixed it.
will do. thanks.
Shyfe said:
will do. thanks.
Click to expand...
Click to collapse
I forgot to to tell you that you need to uninstall /system/app/GoogleQuickSearchBox.apk too. If you're comfortable doing it with adb. Here are the commands.
adb remount
adb shell rm /system/app/GoogleQuickSearchBox.apk
adb uninstall com.google.android.googlequicksearchbox
adb shell rm /system/app/VoiceSearch.apk
adb uninstall com.google.android.voicesearch
adb reboot
And then install Voice Search and Google Search from the market.
just what I needed. thanks.
Shyfe said:
just what I needed. thanks.
Click to expand...
Click to collapse
I've been helped a couple of times too. I'm just returning the favor to those who need it.
Thanks! I recently installed Fresh 3.1.0.1 and I could not get the newest version of voice search until I followed these directions. Worked perfectly.
I am wondering if someone can help me. i am running Leedroid 1.8c and experience the same issue mentioned above. When i try to run
adb shell rm /system/app/GoogleQuickSearchBox.apk
I get the error
rm: can't remove '/system/app/GoogleQuickSearchBox.apk': Directory not empty
and
adb uninstall com.google.android.googlequicksearchbox
Failure
Think I figured it out. I had to reboot into recovery and mount the system partition. I was able to delete the .apk files. Though the adb uninstall commands did not work, they gave pm: not found.
Hey guys, I'm using Fresh 3.1.0.2 and I was wondering what I need to uninstall to remove weather from "accounts and sync." Also, would removing it affect Fancy widget's built in weather?
Also, if I uninstall the apps using TI backup, is there anything else I need to do, such as deleting the APKs w/ root explorer?
Thanks!
If you just want to keep it from syncing, you can just uncheck the box next to it. If you don't want to have it show up at all, you can just delete the apk from /system/app. I don't remember the exact name but it should have weather in the name. I don't think it breaks anything major, but then again, removing parts of Sense like that is kinda like playing roulette. Its all integrated, so you never know for sure until after you've done it. I recommend making a copy of it before you remove it as a backup. Then you just have to push the file exactly as its named back to the folder and reboot.
Here's the exact steps you can take:
From your computer:
Code:
adb remount
adb shell
su
cd /system/app
ls
Note: You only need to run su if you have a $ instead of a # when you run adb shell. Otherwise, you can skip su.
This is where you can look for the necessary app. like I said, I don't remember the name, but a list will show up in your console.
Code:
exit
exit
Note: if you didn't have to use su before, exit only once, or you'll exit your command prompt/terminal
Now in your console:
Code:
adb pull /system/app/<name of weather apk> \backup\
adb shell rm /system/app/<name of weather apk>
If you are using linux, replace \backup\ to /backup/. You can also make this any directory you want to use to keep the backup file in.
To put the apk back later:
Code:
adb remount
adb push \backup\<name of weather apk> /system/app
If you have any questions about the steps, let me know.
superlinkx said:
If you just want to keep it from syncing, you can just uncheck the box next to it. If you don't want to have it show up at all, you can just delete the apk from /system/app. I don't remember the exact name but it should have weather in the name. I don't think it breaks anything major, but then again, removing parts of Sense like that is kinda like playing roulette. Its all integrated, so you never know for sure until after you've done it. I recommend making a copy of it before you remove it as a backup. Then you just have to push the file exactly as its named back to the folder and reboot.
Here's the exact steps you can take:
From your computer:
Code:
adb remount
adb shell
su
cd /system/app
ls
Note: You only need to run su if you have a $ instead of a # when you run adb shell. Otherwise, you can skip su.
This is where you can look for the necessary app. like I said, I don't remember the name, but a list will show up in your console.
Code:
exit
exit
Note: if you didn't have to use su before, exit only once, or you'll exit your command prompt/terminal
Now in your console:
Code:
adb pull /system/app/<name of weather apk> \backup\
adb shell rm /system/app/<name of weather apk>
If you are using linux, replace \backup\ to /backup/. You can also make this any directory you want to use to keep the backup file in.
To put the apk back later:
Code:
adb remount
adb push \backup\<name of weather apk> /system/app
If you have any questions about the steps, let me know.
Click to expand...
Click to collapse
Thank you very much! I'm in class right now, but after I will try this out! I've noticed a couple of weather apks though. Little weird. Haha.
p.s. you da man.
I found a couple of weather apks:
1) com.htc.Weatherwidget.apk
2) weathersyncprovider.apk
3) htcweatherwallpaper.apk
4) weatherprovider.apk
5) weatheragentservice.apk
Not really sure which one to remove. Lol.
mylasthope said:
I found a couple of weather apks:
1) com.htc.Weatherwidget.apk
2) weathersyncprovider.apk
3) htcweatherwallpaper.apk
4) weatherprovider.apk
5) weatheragentservice.apk
Not really sure which one to remove. Lol.
Click to expand...
Click to collapse
Every time i try removing any of the weather apks i get a force close error. it been a while but its something like com.android.htcbgp or something like that. I would just uncheck the sync option.
EDIT- com.htc.bg is the process that FCs
Alright all,
I know there's another thread about "easier" method, but this is easiest for me. 3-Clicks after installation.
I was really tired of typing the same crap over and over after rebooting just to get my temproot back to do more testing/playing.
So I redeveloped this to be quicker/easier upon reboot. Mainly I altered the Term app to be have a scripted start-up on the 1st 3 launches.
I also updated the su/Superuser combo with ChainDD's latest stuff.
Here's how it works, after it's installed.
3ClickTempRooter said:
1) You run the terminal app once, wait a few seconds and it disappears.
2) You run the terminal again, wait for it to FC.
3) You run the terminal a final time and receive root.
Click to expand...
Click to collapse
Now on each reboot, it will be simply 3-clicks (running terminal app 3 times).
Finally ... any executable script placed in /data/local/tmp will be in the path of the new terminal mod. This makes running other scripts very easy.
Installation
Download the attached QuickTempRooter.zip and place it in a directory and unpack it.
Turn on USB debugging and install through adb ...
Here's the adb installation snippet ...
Code:
adb kill-server
adb push su /sdcard/su
adb push Superuser.apk /sdcard/Superuser.apk
adb push busybox /data/local/tmp/busybox
adb push rage /data/local/tmp/rage
adb push root /data/local/tmp/root
adb shell chmod 0755 /data/local/tmp/busybox
adb shell chmod 0755 /data/local/tmp/rage
adb shell chmod 0755 /data/local/tmp/root
adb shell 'pm uninstall com.android.term'
adb install Term.apk
Has made my life wayyy easier when playing with this phone while we wait for the real-deal!!!
Hope you enjoy!
NOTES
If you get a permission denied on the ''adb shell 'pm uninstall com.android.term' '' ... this is normal if you don't have a terminal already installed or have an alternate terminal app (using a namespace other than com.android.term.
If you have another Terminal App installed, you may want to uninstall it first, to avoid confusion.
Also, you may need to reboot after the initial installation for it to work properly!
ummmmm.....Enomther??
Did you get a G2 already?
Great to see you helping out with this
Great to see you here man! Trying this now can't wait to get themes rolling once we get permanent root!
Sent from my T-Mobile G2 using XDA App
I get a permission denied response when running "adb shell 'pm uninstall com.android.term'"
burton14e7 said:
I get a permission denied response when running "adb shell 'pm uninstall com.android.term'"
Click to expand...
Click to collapse
If you didn't already have a terminal app installed that error is normal. Also you may need to reboot once after the initial installation for it to work properly.
~enom~
Thank you sir. Appreciate the goodness.
damn i wish i could hit the thanks button
Thanks man good to have you on the G2 too
Sent from my T-Mobile G2
enomther said:
If you didn't already have a terminal app installed that error is normal. Also you may need to reboot once after the initial installation for it to work properly.
~enom~
Click to expand...
Click to collapse
good to see you on this side.... i have terminal app installed rebooted but still get this denied when running adb shell 'pm uninstall com.android.term
Edit: fixed it uninstalled the Android Terminal E,ulator and just ran the setup now have root thanks
Thank You..
Enom.. (sigh)
Welcome Home..
thank u so much now i can wireless tether. easiest root ever
Sorry, this is my first Android. I came from WM and I was pretty good with it.
I've searched XDA, Youtube, and web to ADB and SDK. I've downloaded it and it's installed. The only thing I don't get is when you said to
"Download the attached QuickTempRooter.zip and place it in a directory and unpack it."
You mean place the extracted files into the sd card correct? That's why the command is "adb push su /sdcard/su".
ddgarcia05 said:
Sorry, this is my first Android. I came from WM and I was pretty good with it.
I've searched XDA, Youtube, and web to ADB and SDK. I've downloaded it and it's installed. The only thing I don't get is when you said to
"Download the attached QuickTempRooter.zip and place it in a directory and unpack it."
You mean place the extracted files into the sd card correct? That's why the command is "adb push su /sdcard/su".
Click to expand...
Click to collapse
No, he means on your PC. You are running adb to push files contained in the zip to your phone.
HamNCheese said:
No, he means on your PC. You are running adb to push files contained in the zip to your phone.
Click to expand...
Click to collapse
So they go into the tools folder? Damn. I think I've in over my head here.
Like this?
If you have better terminal, you can also add the rage and root to specific keys.
At this command I'm getting told "failed to copy 'su' to '/sdcard/su': Read-only file system"
adb push su /sdcard/su
kevdawg said:
At this command I'm getting told "failed to copy 'su' to '/sdcard/su': Read-only file system"
adb push su /sdcard/su
Click to expand...
Click to collapse
Unplug then plug ur phone back in then try again also make sure u are in usb debug mode
Good work, Temp root in like 5 seconds
Quick question, ok I was able to get root for a few mins, then it went away I guess I have to have the terminal always open or ignore so my taskiller doesnt terminated it?
Don't use task killers. (IMHO)
But I tend to have to reboot every once in a while to keep root in tacked within terminal but all my apps seem to stay with su permissions until reboot (or sometimes 12 hours)
I'm trying the rage root method after reading up on all the stuff. I managed to get adb installed and connected, but i can't use adb actions.
I type in c\androidsdk\tools\adb shell
$ su
$ SUermission denied
even without su, if i try to type "adb push su /sdcard/su" it says adb permission denied.
I have kept my phone screen on as per another thread, but i do not get a prompt that asks for adb permissions. Am i missing an app or something? I do have debugging and screen awke both on.
I have placed the g2 root folder in the androidsdk\tools\ folder, both just the files and the entire folder just to be sure.
Obviously I'm new to adb, so If i'm doing something completely wrong just let me know.
as long as you're not rooted (temp or perma) you can't use "su" in adb-commands... If you tell a little more about what you're trying to push, then I can help some more
Im just trying to root the phone with rage since visionary seems unreliable.
Im trying to adb push the su/ sdcard/su as per the first line of instruction in the rage temp root guide
hehe... I used the visionary root, and it have worked good for me btw, I think you should've posted in the rage-thread instead of opening a new topic, but now it's already opened so here it goes
firstly... are you sure you're in the right folder, and have the folder "su" in there?
If so, don't go into "adb shell"... use the lines exactly as stated in the OP. adb inside an adb shell won't give the results you want... Post back if it doesn't work
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
Click to expand...
Click to collapse
I don't think Im using adb right then, how do I just type in "adb push ...?" If I do that, it just says that the command is not recognized internally or externally.
For example,
Adb push su/ sdcard/su
gives me that error.
I've tried to set a path directly to adb, but that didn't work, so I was manually going
AndroidSKD\tools\ Adb push su/ sdcard/su but that also didnt work.
I don't have the $ prompt without shell, is that wrong?
I'm pretty sure Im in the right folder, as androidsdk\tools\adb gives me the adb directory, just nothing else works. What exactly does SU folder mean? I have the su file in the tools folder, dont know about the su folder.
Ok, my adb stuff is in c:\tools .. so when I first open command prompt, I have to type this:
cd c:\tools
That puts me into the correct folder. If yours is in C, then you'd probably have to do this:
cd c:\androidsdk\tools
Then type:
adb devices
It should at least give you SOME sort of output, either with your device number (if it's connected, and adb is working properly), or just say devices, with no numbers (incorrectly)
dwang93 said:
I don't think Im using adb right then, how do I just type in "adb push ...?" If I do that, it just says that the command is not recognized internally or externally.
For example,
Adb push su/ sdcard/su
gives me that error.
I've tried to set a path directly to adb, but that didn't work, so I was manually going
AndroidSKD\tools\ Adb push su/ sdcard/su but that also didnt work.
I don't have the $ prompt without shell, is that wrong?
I'm pretty sure Im in the right folder, as androidsdk\tools\adb gives me the adb directory, just nothing else works. What exactly does SU folder mean? I have the su file in the tools folder, dont know about the su folder.
Click to expand...
Click to collapse
You, apparently, need to read some more.
Do it exactly as written here
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
FYI you will not see the $ symbol. that just indicated the next line you have to enter in commnad prompt. Each time you see $ just mean you type that line then press enter. Wait to see a result of transfer from prompt then enter next line and so on.
rsxtypes72 said:
You, apparently, need to read some more.
Do it exactly as written here
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
Click to expand...
Click to collapse
This!! I'll be kind though.
Make your life easy. Unzip the contents of g2TempRoot, to your tools folder, in sdk. So, unzip the g2temproot to your desktop. Go into that folder. Copy all, and move them to c:\androidsdk\tools. Now, once that's done, go into command prompt. cd c:\androidsdk\tools. Then, do as follows, as per that link
$ adb push su /sdcard/su
$ adb push Superuser.apk /sdcard/Superuser.apk
$ adb push rage /data/local/tmp/rage
$ adb push busybox /data/local/tmp/busybox
$ adb push root /data/local/tmp/root
$ adb shell chmod 0755 /data/local/tmp/*
(Sorry I couldn't be of more help, as I used VisionaryR12 and it worked fine for me.)
One more word of advise...
I would recommend you try temp root first.
Become used to using adb then try to get full root.
When you use temp root everything you do is temporary only.
Rebooting will reset everything back to stock so its good practice.
thanks for the help guys, but i figured it out. I just wasn't in the right directories from the get go.
Edit: Just finished the perm root! And it didn't brick.
dwang93 said:
thanks for the help guys, but i figured it out. I just wasn't in the right directories from the get go.
any tips on going onto the perm root?
Click to expand...
Click to collapse
Read .. research .. double check .. triple check .. and right before you do it .. check again. As you're doing it, go over every letter, space, and character to make sure it's as it should be.
On the subject of adb, I have it installed, but when I run adb devices to find my phone, I get "???????????? no permissions". What am I doing wrong here?
Daughain said:
On the subject of adb, I have it installed, but when I run adb devices to find my phone, I get "???????????? no permissions". What am I doing wrong here?
Click to expand...
Click to collapse
Upload a screen shot of your command window
with the error
dwang93 said:
thanks for the help guys, but i figured it out. I just wasn't in the right directories from the get go.
Edit: Just finished the perm root! And it didn't brick.
Click to expand...
Click to collapse
dude..I think I am doing something like you...could you please post what you did....I think is an issue of directories..but I'm not that familiar with adb and i have not been able to figure this out.....
Thanks!!!