Help using Terminal - G1 Q&A, Help & Troubleshooting

I'm currently using Dwangs donut ROM.
For some strange reason my Terminal Emulator is "missing".
There is no icon for it in my app tray.
Market shows it as installed, but cannot open it nor uninstall it.
I have now installed Better Terminal Emulator Magic. What commands do I need to enter to completely remove Terminal Emulator from my system, so that I can try reinstalling it from the Market?
I hope I've made myself clear - if not please feel free to ask for clarification!

Look in the Development Tools or Spare Parts. I've seen a couple builds where it ends up in there.

qwerty3656 said:
Look in the Development Tools or Spare Parts. I've seen a couple builds where it ends up in there.
Click to expand...
Click to collapse
Just looked in Spare Parts - not there. Can't find Development Tools on my phone.

To remove it do this in the recovery console
mount system
rm /system/app/Term.apk (i think that is the name for it)
reboot

david1171 said:
To remove it do this in the recovery console
mount system
rm /system/app/Term.apk (i think that is the name for it)
reboot
Click to expand...
Click to collapse
Ah, now we're getting somewhere (sort of!)
I've done that, but get the response:
rm: cannot remove ' /system/app/Term.apk' : No such file or directory

that means its not there or its spelled wrong..
try using /system/sd instead of system
also, maybe clearing the market cache would work

B-man007 said:
that means its not there or its spelled wrong..
try using /system/sd instead of system
also, maybe clearing the market cache would work
Click to expand...
Click to collapse
Tried both of these - no joy :-(
1. Same response as before
2. Terminal Emulator still showing as installed (but Open & Uninstall buttons greyed out), even after clearing Market cache.

well if you dl one of cyanogens roms, you can pull the apk from there and push it to system

Yea or adb install -r

if it is not in /system/app then you can drop it in there with these commands, make sure that the .apk is in the root of your sdcard
Code:
mount sdcard
mount system
cp /sdcard/Term.apk /system/app/
reboot

Related

JAVA app from HERO

I've just pushed new Hero Java app into my rogers build and it works fine.
What you basically need is:
Jbed.apk (install with adb install)
libjbedvm.so (adb push /system/lib) - remember to remount as RW.
I strongly suggest to run linux-swap (as it killed all my applications and hanged for some time without it).
Files taken from Drizzy's build.
I just went to getjar.com and d/l the jbed runner, installed and it worked perfectly without pushing it but I haven't found any good use for it, must java programs are worthless on our phones since they were made for regular phones and not smartphones like ours
I have a .jar file on sd, but it doesn't read. Anyone know for what OS i have to download it for (ei: motorola razr)
akirah said:
I've just pushed new Hero Java app into my rogers build and it works fine.
What you basically need is:
Jbed.apk (install with adb install)
libjbedvm.so (adb push /system/lib) - remember to remount as RW.
I strongly suggest to run linux-swap (as it killed all my applications and hanged for some time without it).
Files taken from Drizzy's build.
Click to expand...
Click to collapse
What is remount as RW? Just want to make sure I get this done correctly.
So I just download it and then:
adb install jbed.apk
adb remount
adb push libjbedvm.so /system/lib
adb shell reboot
Click to expand...
Click to collapse
Correct?
Stigy said:
So I just download it and then:
adb install jbed.apk
adb remount
adb push libjbedvm.so /system/lib
adb shell reboot
Click to expand...
Click to collapse
Correct?
Click to expand...
Click to collapse
correct
Code:
adb install jbed.apk
adb remount
adb push libjbedvm.so /system/lib
adb shell reboot
Stigy said:
What is remount as RW? Just want to make sure I get this done correctly.
Click to expand...
Click to collapse
/system is originally read only, you can't write files to it. It's for protection/security reasons. Run the following command, which remounts it as RW (read-write, instead of read only).
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
johnowa636 said:
I have a .jar file on sd, but it doesn't read. Anyone know for what OS i have to download it for (ei: motorola razr)
Click to expand...
Click to collapse
I've used Nokia N95 ebuddyIM to test. Some of apps doesn't work (to be honest my biggest motivation was trying to run SmartCam for S60).
this works great! thanks a lot
Hello I just installed it I think it went well.. one noob question, what can we use this for? Thanks
sstang2006 said:
Hello I just installed it I think it went well.. one noob question, what can we use this for? Thanks
Click to expand...
Click to collapse
You can use it to run java (J2ME) apps. Like the ones from getjar.com
can u post the terminal commands to install it ..would it work on cyan rom ?
Danmalone72 said:
can u post the terminal commands to install it ..would it work on cyan rom ?
Click to expand...
Click to collapse
Wanting to know the same thing..
You don't need to do all this, I posted before that, go to getjar.com and find the j2me runner and install, it works the same and does work on cyan's roms
Put both files on root of sdcard.. and do this on terminal
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/jbed.apk /system/app
cp /sdcard/libjbedvm.so /system/lib
reboot
Or download it from getjar.com like gridlock32404 said..
And yes it works on cyan's rooms..
tryed with skebby www.skebby.com doesn't work and is a java application with jad and jar file...
atsic said:
tryed with skebby www.skebby.com doesn't work and is a java application with jad and jar file...
Click to expand...
Click to collapse
Skebby (and jacksms) works Are you Italian?
johnowa636 said:
I have a .jar file on sd, but it doesn't read. Anyone know for what OS i have to download it for (ei: motorola razr)
Click to expand...
Click to collapse
Chances are you will need to run a fully compliant j2me jad or jar file. as for a jad u need to make sure the jar file has the full path or else it will fail.
java apps made specifically for Blackberries and not for universal j2me devices will not work as well as most java apps for Symbian based Nokia phones and specific Ericsson models.
Also a lot of Nokia apps will not have properly built manifests but those u can go in and correct or build yourself and repack the jar
your best option for downloads are any Motorola or Samsung since 99% of them are purely java based with the exception of the few Win Mob
I get the following output on Amon_Ra's 1.6.2 ROM:
Code:
G:\Android Images\apps>adb push libjbedvm.so /system/lib
failed to copy 'libjbedvm.so' to '/system/lib/libjbedvm.so': No space left on device
...it's a 32A Magic with heaps of space to spare...
unfnknblvbl said:
I get the following output on Amon_Ra's 1.6.2 ROM:
Code:
G:\Android Images\apps>adb push libjbedvm.so /system/lib
failed to copy 'libjbedvm.so' to '/system/lib/libjbedvm.so': No space left on device
...it's a 32A Magic with heaps of space to spare...
Click to expand...
Click to collapse
I have same problem
zephyr83 said:
I have same problem
Click to expand...
Click to collapse
As hinted at in the other thread, the solution is to delete some stuff from your /system/ directory.
I deleted about 20 ringtones I never use from /system/media/audio/ringtones and then repeated the adb push command. Worked a treat.

help voicemail app gone

My sprint voicemail app is gone..?.?.? Not sure what happened to it after i flashed modaco 1.1. Anybody got a copy for me?
its still there just doesnt have an icon
Hmmm whats the name of the file and how do i fix it?
i would flash the fresh rom right now as they are always doing updates...but to fix your problem do this
Code:
adb remount
adb shell
rm -r /data/dalvik-cache
rm -r /data/boot-cache
reboot
BigBallin said:
i would flash the fresh rom right now as they are always doing updates...but to fix your problem do this
Code:
adb remount
adb shell
rm -r /data/dalvik-cache
rm -r /data/boot-cache
reboot
Click to expand...
Click to collapse
this didn't work for me anybody got a different answer.
Boot into recovery and try "Fix uid app mismatches" or you can download the App Installer by Flipz and run his Clear Cache thingy (www.geekfor.me and the go to downloads youll see app installer). Or if you have the 1.5.1 recovery you can clear the delvik cache in there somewhere.
Couple of options for you..
or just re-install the voicemail app..
app is attached
nelson8403 said:
or just re-install the voicemail app..
app is attached
Click to expand...
Click to collapse
Or that LOL.
Vm app wouldnt install
acm2117 said:
Vm app wouldnt install
Click to expand...
Click to collapse
Error? Which method above did you try?
Well i used astro file manager. How should i do it? Ive got a terminal program to use if i need to.
acm2117 said:
Well i used astro file manager. How should i do it? Ive got a terminal program to use if i need to.
Click to expand...
Click to collapse
You should be able to Extract the ZIP to the root of the SD card, open Astro move into the SD card folder and just click on the APK. Then open it with Program Installer(i think thats the option, someting close).
If it errors, post back the message.
I moved the .apk i extracted to /sdcard/ and opened it with app manager and chose install. The error it gave me just said voicemail could not be installed on this phone.
I am also getting the error, "application not installed" when trying to install.
BigBallin said:
i would flash the fresh rom right now as they are always doing updates...but to fix your problem do this
Code:
adb remount
adb shell
rm -r /data/dalvik-cache
rm -r /data/boot-cache
reboot
Click to expand...
Click to collapse
i tried this and it worked this code should def work

Apps missing and won't let me re-install

something weird happened on my phone when I installed the SuperD 1.9.3 rom. I've never had this problem before, so see if you can help me. I installed Chompsms and Acontacts amongst a variety of other apps. Well, I was texting earlier, when my phone froze. No biggy, I popped the battery out, placed it back in, and turned it on. Well I got the green boxes in place of the the logos for Chomp and Acontacts. I clicked on them and it said that the apps weren't installed? um, ok. I have aps2sd with ext3, so I figure something must have corrupted the file, no biggy, I'll just redownload it. So I go to the market, and it says the program is installed. I click on the program to try to reinstall, and the bottom where it says "open, uninstall" are greyed out. So the app isn't installed, but it is, so I can't uninstall and re-install. Anyone, help please? I really use these 2 apps!
Delete the apk's from /system/sd/
It also sounds like your marketdb file is still there too. I've had this problem with Backup for root users. It'll import the marketdb but sometimes it won't import the APK's. So that leaves you with no apps and the market seeing that you already have it. I'm trying to find where the program is pulling that file, and i'll let you know. If anyone else knows where it's at feel free to jump in.
nolimit78 said:
If anyone else knows where it's at feel free to jump in.
Click to expand...
Click to collapse
/data/data/ I think.
evilkorn said:
/data/data/ I think.
Click to expand...
Click to collapse
That's what I was thinking but I didn't see it there...
While Im still looking for that file, you could also do the following:
Code:
Use switchrom and save your rom
flash a new rom
download the apks that are giving you problems (if its not too many)
use linda to save the apks to your SD card
switchrom back to the old rom
download and use linda to install the apks you saved.
It's not pretty but it'll get the job done.
Had a little time to look at the phone, did you try to delete the folder in /data/data/com.android.vending/?
Goto terminal emulator.
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.
shadowch31 said:
Goto terminal emulator.
Type - mount -o remount,rw /dev/block/mtdblock3 /system (enter)
Type - rm /data/data/com.android.vending/databases/* (enter)
Type - reboot (enter)
Words in bracket are instructions and not to be typed.
Click to expand...
Click to collapse
yeah I found that it was in the vending/databases folder, I just hadn't had time to post until now. Good job!
i had the same problem and it worked...at first the terminal emulator went like 'are you root' and im like whaaat...i have cynogen 4.2.14.1...so had to type su before the 3 lines of codes...it worked

[Q] Help upgrading Market

I recently rooted my Nook color with Auto Nooter 2.12.25. It gave me the Google Market but it is the old one and it only displays 10 apps in portrait mode and some of the buttons have problems working. I read in a thread that the newer market fixes that and I downloaded an apk named com.android.vending02.apk but when I try to install it, the app manager doesn't have an install tab. I downloaded a 3rd party install manager and when I try to install it says that 'There is a problem parsing this package'.
I have read that people have installed the updated market but no one gives an explanation how. Does anyone know how do this? Thanks for your help.
Found solution
I found a solution.
Dont just post you found a solution, that helps no one. post what the solution was or atleast a link to the fix.
Good Call
I installed the APK at the top of this thread http://forum.xda-developers.com/showthread.php?t=872621 and then reset my NC and the new Market worked. Apparently, after reading through the thread, this method doesn't work for everyone. There are further instructions that may be of some use.
Now my market isn't working. After trying to install this and switch back both times when I open market it just disappears.
buffnutz1 said:
Now my market isn't working. After trying to install this and switch back both times when I open market it just disappears.
Click to expand...
Click to collapse
I had the same problem on my 1.1.0 NC rooted with Decad3nce's V1.1.0_r2 [01/29/2011] method (there's a huge long thread on that in the Development forum). I was dreading the possibility of having to wipe the machine and start over, but I just re-flashed the zip file, and everything's working fine again. Unfortunately, I'm still stuck with the old Market.
If you're feeling like you can handle cmd-line stuff, try this method out.
First download the attached newmarket.apk
open/connect adb
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb pull /system/app/Vending.apk (notice the cap V, also this will get put into your platform-tools folder. Back it up!)
adb push pathtonewmarket.apk /system/app/Vending.apk
adb reboot
Once you've rebooted then go into settings->applications->manage->all
Find the market and clear the cache
Then find google services framework and clear the data then force quit
reboot once more
After that the new market should work just fine.
Thanks Woot! does this work on Froyo 0.6.7 too?
woot1524 said:
If you're feeling like you can handle cmd-line stuff, try this method out.
First download the attached newmarket.apk
open/connect adb
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
adb pull /system/app/Vending.apk (notice the cap V, also this will get put into your platform-tools folder. Back it up!)
adb push pathtonewmarket.apk /system/app/Vending.apk
adb reboot
Once you've rebooted then go into settings->applications->manage->all
Find the market and clear the cache
Then find google services framework and clear the data then force quit
reboot once more
After that the new market should work just fine.
Click to expand...
Click to collapse
necroscopev said:
Thanks Woot! does this work on Froyo 0.6.7 too?
Click to expand...
Click to collapse
I can confim that it does, I used it my self to get the new market installed.
If you're booting off of an SD card and want to install the new market there. All you need to do is change one line.
FROM: mount -o remount,rw /dev/block/mmcblk0p5 /system (eMMC system partition)
TO: mount -o remount,rw /dev/block/mmcblk1p2 /system (SD-card system partition)

[Q] installing .apk files

trying to install the DSPmanager apk i got here.
i've tried in ADB, and it gives an invalid install location error, tried in OI file manager and it gives me a big, happy green arrow and says "application not installed"
running GinSense 0.9
any help would be appreciated.
(sorry if this is the wrong thread)
(and i did search and will continue to do so until/unless i hear back)
EDIT to say - also tried app installer - same happy arrow and not installed as OI manager.
Most likely on your default install location there is no more space left to install the application. You can try to modify that by
Code:
adb shell pm setInstallLocation 2
from your PC having connected your phone in debugging mode.
The different locations are described in more details in this post.
i managed to get it installed with
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/DSPManager.apk /system/app
i don't understand why neither of my app installers were doing this, but i'm new to this, so maybe i'm missing something. that link looks like some useful info, though. thanks!
Ok, in that way you installed DSPManager on your /system partition. Generally this is read only and there is no space left. Applications normally will be installed on /data, /sdcard or (if supported by to ROM) on /sd-ext.
AndDiSa said:
Ok, in that way you installed DSPManager on your /system partition. Generally this is read only and there is no space left. Applications normally will be installed on /data, /sdcard or (if supported by to ROM) on /sd-ext.
Click to expand...
Click to collapse
i'm running ginsense with S2E, so i assume normally would be on sd-ext.
i tried both using the install feature and just manually placing the .apk in /sd-ext to no avail. i also tried placing it in /data with no luck.
what are the practical differences with putting it in /system? FWIW, it's running fine with it there (both the rom and the app)
i don't know if it makes a difference, but the app is DSP manager
i removed it from /system/app then used ADB shell. i *think* i figured out what i was doing wrong, the command line wanted me to specify an install location, which i wasn't doing. is this a "cleaner" install method?
Code:
adb shell
install /sdcard/DSPManager.apk /sd-ext/app
app shows up in the launcher again.
Typically just doing an
adb install /locationofapkonyourcomputer
Click to expand...
Click to collapse
will do the trick. You don't need to copy the .apk onto your phone just to install it.
As mentioned previously, it may be that your default install location is NOT set to /sd-ext/app and that /data is full.

Categories

Resources