How do you install new HTC_IME? - G1 Q&A, Help & Troubleshooting

Hi I was trying to install the new HTC_IME on my phone right now I am currently using 2.0 and I tried to install with appsinstaller and it didn't work. So is there a way to do it threw terminal emulator, or threw recovery?
I don't use adb cause I tried setting it up and it didn't work.
So somebody please give me a good reply! Thanks!

try with astro

if astro doesn't work try this.
you must have adb working. adb does wonders. works every time. top cmds is for adb and bttm is terminal on phone.
Adb remount
Adb push HTC_IME.apk system/app
Adb shell rm system/sd/app/HTC_IME.apk
Adb shell rm data/app/HTC_IME.apk
Adb shell reboot
Or from terminal
Mount -o rw,remount -t yaffs2 dev/block/mtdblock3 /system
Cp *yourdir*/HTC_IME.apk system/app
rm data/app/HTC_IME.apk
rm system/app/HTC_IME.apk
reboot
PHP:
since you dont use adb, if your using any kind of windows let me know and i can personally walk you thru an adb setup. i have encountered the worst of worst mess ups. durrr lol... fosho . . . . .

that doesnt make any sense, why are you removing HTC_IME right after you're done pushing it?
You need three files for HTC IME to work, HTC_IME.apk, Clicker.apk (both of those in /system/app or /data/app) and libt9.so (in /system/lib)
Assuming you place all three in C:\
Code:
adb remount
adb push C:\libt9.so /system/lib
adb push C:\Clicker.apk /system/app (or /data/app if you don't have space)
adb push C:\HTC_IME.apk /system/app (or /data/app if you don't have space)
no need to reboot, just give it time to finish dexopting (about a minute) then go to Settings>Locale & Text and enable (checkmark) Touch Input, disable Android Keyboard if you wish.
About where to get the files? search, but it's easier if you search inside Cyanogen's (version 4.0.4 and below) roms and pull them from those.

rockin_mod said:
if astro doesn't work try this.
you must have adb working. adb does wonders. works every time. top cmds is for adb and bttm is terminal on phone.
Adb remount
Adb push HTC_IME.apk system/app
Adb shell rm system/sd/app/HTC_IME.apk
Adb shell rm data/app/HTC_IME.apk
Adb shell reboot
Or from terminal
Mount -o rw,remount -t yaffs2 dev/block/mtdblock3 /system
Cp *yourdir*/HTC_IME.apk system/app
rm data/app/HTC_IME.apk
rm system/app/HTC_IME.apk
reboot
PHP:
since you dont use adb, if your using any kind of windows let me know and i can personally walk you thru an adb setup. i have encountered the worst of worst mess ups. durrr lol... fosho . . . . .
Click to expand...
Click to collapse
What do you mean by *yourdir*? Lol sorry kinda of a noob to this

Brandice128 said:
What do you mean by *yourdir*? Lol sorry kinda of a noob to this
Click to expand...
Click to collapse
First of all thank you for taking my advice , the Q & A section is the best place for all your questions about android . Seeing that your new here it would be wise that you do some research on the following
ADB
zip7
rar
cyanogen's 1.4 recovery
terminal commands
and so on . There's a lot but as you search you will find them ...
NOW the yourdir question ,it's on your SDcard where you downloaded your htc_ime.apk , if it's on the root of the sdcard (not in any folders) then just use cp sdcard/HTC_IME.apk or if you downloaded it then it's in your download folder then you do cp sdcard/download/HTC_IME.apk

adb remount
adb install directoryofyourfile\HTC_IME.apk
Click to expand...
Click to collapse
worked for me

Related

ADB Push Issues

ok so I have managed to pull all the apps from the phone to comp and the app-private to have a backup.
I cleared the ext partition
BUT now when I push them on .. well TRY to ... it starts gets to about 10 of them and then just stops. I have tried to restart and it stops at different places and just doesnt go all the way from start to finish.
anyone have any ideas on why this happening and whats going on here??
hey how did you pull your apps mine wont let me
what command did you use (exactly Please)
jf4888 said:
hey how did you pull your apps mine wont let me
what command did you use (exactly Please)
Click to expand...
Click to collapse
Pull apps off phone onto computer (adb remount before)
Code:
adb pull /system/sd/app app
adb pull /system/sd/app-private app-private
and to
Push apps back to phone from the computer (adb remount before)
Code:
adb push app /system/sd/app
adb push app-private /system/sd/app-private
also to remove apps from sd
Delete existing apps on SD
Code:
adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-private
can copy/paste these comands into the CMD window when you have adb up and going .. you cant do these from the # prompt. It has to be done that that "cd C:\android-sdk-windows-1.5_r3" or whatever line: <--- not exact, dont copy/paste that one.
yo thanxs bro so did you fix your problem yet?
no .. not yet gonna try some other stuff to see what works.
if you are using windows Strapt and you are typing that long command each time you want to use adb to push or pull... etc. then just so i can sleep better at night and you don't have to type a book every time you want to push or pull a file then add adb.exe and and adbwinapi.dll to your windows/system32/ directory and you can use adb from any dos directory prompt. (got that info from this thread)

/sdcard/ problem

i can never access from terminal
/sdcard/app.apk when tryin to install from someones commands.. they say cp /sdcard/app.apk /system/app
then i get cp cannot stat '/sdcard/app.apk no such file or directory?
mrnv45 said:
i can never access from terminal
/sdcard/app.apk when tryin to install from someones commands.. they say cp /sdcard/app.apk /system/app
then i get cp cannot stat '/sdcard/app.apk no such file or directory?
Click to expand...
Click to collapse
Is the .apk on the root of your card?
whats the app name? just want to confirm your using the apk files name instead of "app.apk"
mrnv45 said:
i can never access from terminal
/sdcard/app.apk when tryin to install from someones commands.. they say cp /sdcard/app.apk /system/app
then i get cp cannot stat '/sdcard/app.apk no such file or directory?
Click to expand...
Click to collapse
It sounds like you've got your commands mixed up. What are you trying to do exactly? You shouldn't really be pushing apps to /system while the phone is on..
just any app exapmle..
i tried to install the modified contacts.apk so i just go by the abundence of commands i got since it wasnt workin while in recovery in terminal to adb push /sdcard/contacts.apk /system/app/contacts.apk (with or without the last contac ts.apk on this section cause i know some do it without and just leave the folder name)
also when i am in my terminal and i to all that rw, -o,remount code they give you but i never can access /sdcard/ that away either.. and i usually just go to recovery load up adb shell ums_enable and the i run adb install f:/contacts.apk but then i get a sh: bin error or something like that..
now i cant even access my sdcard via adb using adb shell ums_enable/disable ..and at times a cant adb remount it says remount unsuccesful.. idk just alot of crazy ****
your sd card is probably going bad. also the commands are case sensitive. Contacts.apk
also RA recovery lets you toggle usb. you dont have to type ums_enable disable
just go and click on "toggle usb" in the recovery

How to remove (live)wallpaper

I can't find a thread for this, but how would I delete stock wallpapers or stock live wallpapers. I prefer to pick and choose which ones to remove to try and save a little space.
I have a rooted N1 with Cyan's mod. I'm comfortable using ADB, just don't know the proper commands, locations of wallpapers or names of specific files.
Me too. want to know where the files are located.
Me three. I've searched around in nearly every directory and cannot find them. I would like to remove the stock htc wallpapers to save space.
adb shell rm /system/app/LiveWallpapers.apk
adb shell rm -r /data/data/com.android.wallpaper
adb uninstall com.android.wallpaper
adb shell rm /system/app/MagicSmokeWallpapers.apk
adb shell rm -r /data/data/com.android.magicsmoke
adb shell rm /system/app/VisualizationWallpapers.apk
adb shell rm -r /data/data/com.android.VisualizationWallpaper
adb uninstall com.android.VisualizationWallpaper
adb shell rm /system/app/Mode10Wallpapers.apk
LiveWallpapers.apk = contains nexus and water live wallpaper and some other i cant remember
wallpapers are located inside of /system/framework/framework-res.apk and does require slight knowledge of how to edit framework files
hey i follow the first adb then i got this (?) then no go???what i need to do after (?)
vinny.1967 said:
hey i follow the first adb then i got this (?) then no go???what i need to do after (?)
Click to expand...
Click to collapse
Check if ur phone is detected by adb (adb devices). Then do an adb remount and the run the above adb commands
My device is detected but i try to put in the above commands I it says that its a read-only file system.
Static wallpapers (except the single default wallpaper) are stored in your launcher or in CM6 or Kang-o-rama a special wallpapers app.
It's much easier to download ES File Explorer, turn on root functions, mount system as read/write (same menu) and selectively delete the files you want from /system/app/ and /data/data/ as above.
But really, you're not going to save any user space as all because, for the most part, you're deleting stuff from /system which you don't otherwise need space on.

removing an app using ADB

Hi, I was wondering if anyone knows the correct ADB command for removing an app from the /data/data folder?
I recently installed a new ROM on my nexus one and it came with both Launcher Pro and ADW Launcher installed. I know I could just NOT use the one I don't like but I'd rather remove it.
I tried:
adb remount
adb shell rm /data/data/org.adw.launcher
Click to expand...
Click to collapse
AND
adb remount
adb shell rm /data/data/org.adw.launcher.apk
Click to expand...
Click to collapse
But neither worked.
Any suggestions?
I'd appreciate it.
I used root explorer and just deleted all apps I didnt want from /system/app
(ADW, facebook, calculator, amazon mp3)
And I think you have to use /system/app instead of /data/data
adb shell rm /system/app/ADWLauncher.apk
or try this
adb devices
adb remount
adb shell
/system/app
ls (this shows you all apps installed, search for the launcher)
rm -r [name of the file you want to remove].apk
IsnĀ“t the app itself in /system/app/ADWLauncher.apk ??
oops, thats what I meant. Just copied his adb line.. edited my post now, thanks
Thanks guys, I got it to work.
I appreciate all your help
Hi there... i tried the same commands but i get directory not empty.
i'm not trying to remove the whole directory but just an apk.
i tried it both of windows and linux to no avail.
thanks in advance.

How to get r/w in ADB

I currently have the 1080p 30fps camera mod on and I'm wanting to go back to the original, i have the camera.apk to go back on but when I try to push it, it says READ ONLY FILE SYSTEM.
I had a hunt around and found this but didn't work
adb shell sysrw
adb push (file name.apk /system/app/)
adb shell sync
adb shell sysro
then i found this
adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system
and that didn't work, Im pretty new to ADB etc and trying to get the hang of it so take it easy on me
Kickasskev said:
I currently have the 1080p 30fps camera mod on and I'm wanting to go back to the original, i have the camera.apk to go back on but when I try to push it, it says READ ONLY FILE SYSTEM.
I had a hunt around and found this but didn't work
adb shell sysrw
adb push (file name.apk /system/app/)
adb shell sync
adb shell sysro
then i found this
adb shell mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system
and that didn't work, Im pretty new to ADB etc and trying to get the hang of it so take it easy on me
Click to expand...
Click to collapse
you can use my zip in recovery
stock_Camera
LOOOOL this is the 1080p 30fps that i already have on my phone I wanna go back to stock.
I will put my STOCK camera.apk in the zip
Thanks
didn't work
Anymore idea's
Or Commands
Bump......
Sent from my LG-P990 using XDA App
i think you need to su first?
adb remount before adb shell
Hi, You can download the original LGE-Camera.apk file below...
Google or yahoo or find your way to get an app called: root manager(Paid app on market)
Not suppose to talk about 'where-to-download-paid-app' here... So i guess you need to google.
Copy the Camera.apk to SDCARD
Go to System>App>, Mount R/W, Delete the camera app.
Go back to SDCARD and cut/copy the camera.apk
Return to System>App>Paste file here.
You can see the 'Mount R/W' Button on the 'App' folder itself. So don't ask me how to mount R/W.
Cheers A reboot may be necessary.
in adb you need to enter
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Thanks for all the replys i will try them when i get home from work
Sent from my LG-P990 using XDA App
I tried to instal the LG Contact.apk this way (to replace the stock one)
Code:
C:\Program Files\Android\android-sdk\platform-
1908 KB/s (3175637 bytes in 1.625s)
pkg: /data/local/tmp/Contacts_lg.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
Any idea ?
Don't install it, push it into place.
Rusty! said:
Don't install it, push it into place.
Click to expand...
Click to collapse
Yes, by you don't need to install those default apk. Just place it in system/app, and you will see it in your menu screen. If nothing happen, reboot your phone.

Categories

Resources