Terminal Emulator Update - G1 Android Development

There is an update for Terminal Emulator in the market I am wondering how you can uninstall it from JF 1.41 RC33 in order to get the update

you can use in terminal
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
rm /system/app/com.android.term.apk
or navigate to system/app
rm com.android.term.apk
It will close the terminal right away for obvious reasons and then you can load the one from the market.
Just tested it and it works and doesn't seem to have any adverse affects. Mine is still working
I dont see any difference in the app to me looks the same no changes that I can tell.

savethechicken said:
you can use in terminal
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock03 /system
and the navigate to system/app or you can you use
rm system/app/com.android.term.apk
It will close the terminal right away for obvious reasons and then you can load the one from the market.
Just tested it and it works and doesn't seem to have any adverse affects. Mine is still working
I dont see any difference in the app to me looks the same no changes that I can tell.
Click to expand...
Click to collapse
I keep getting permission denied

are you type su first before mounting the image to get full superuser access.
The only difference we have if your signature is right is that im running the 1.41 RC33 but i was able to remove any apks i wanted this same way when i was on RC30

Yeah I typed su and got the superuser going... Maybe I am just oo much of a noob at this I am running the new JF RC33 update too

make sure that you are not typing anything in quotes "quotes just to show spaces" this is where i had the most problems when i started using this code
su
mount "space" -o "space" rw,remount "space" -t "space" yaffs2 "space" /dev/block/mtdblock03 "space" /system
then the long way
cd system
cd app
rm com.android.term.apk
that might help

Sweet I got it working thanks a million

Is there any reason why the new version is better than the one we have already?

not a problem.
I personally dont see any difference in it but everything still seems to be working

Related

programming ON my android phone (etc)

Greetings gentlefolks.
This forum has been an absolute godsend. I managed to get the latest JF os installed and as such am thoroughly enjoying my G1.
In the past, I had a Windows Mobile phone from HTC. One of my favorite applications on it was Pocket Scheme because it enabled me to write code ON my phone. I'd love to eventually spend time working on software FOR my G1, but right now I'm interested primarily in writing code while on the train, in line, etc.
As far as I know, Pocket Scheme is not available on the Android. I also came across Ruby for Android [2], but so far it force closes as soon as I open it.
So:
1. Are there any languages that are available for writing code on the android? Something with either an included editor AND repl (like Pocket Scheme) or even just an editor (?) or a repl (like Ruby for Android) would be fine.
2. What editor for making "plain text" files with any extension do you use?
3. In desperation I tried using echo to create a new shell script file the other day, and Android OS complained that the file system was read only. Can I make it r/w from within the android, or do I need to use ADB?
Thanks in advance. I tried googling for answers, but to no avail.
[1] http://www.mazama.net/scheme/pscheme.htm
[2] http://code.google.com/p/android-ruby/
Well you could flash Debian to a JF build and go from there.
You can remount it as r/w from the device. I can't remember exactly what the command is but it is something along the lines of "mount -oremount,rw /dev/block/mtdblock0 /system" anyone care to correct me if that is wrong? You can also use DroidSans Tweak Tools available free in the market, just don't use the lite version
Geniusdog254 said:
You can remount it as r/w from the device. I can't remember exactly what the command is but it is something along the lines of "mount -oremount,rw /dev/block/mtdblock0 /system" anyone care to correct me if that is wrong? You can also use DroidSans Tweak Tools available free in the market, just don't use the lite version
Click to expand...
Click to collapse
almosst correct on the command there, there is actually a space between the "-o" and "remount" so it should read
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
that would make your system partition read write, but if you wanna run shell scripts i would go grab gscript and just write them in there.
oops i typed it wrong i switched the rw and remount, it's fixed now sorry
tubaking182 said:
almosst correct on the command there, there is actually a space between the "-o" and "remount" so it should read
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
that would make your system partition read write, but if you wanna run shell scripts i would go grab gscript and just write them in there.
Click to expand...
Click to collapse
Haha that's funny. Ive been typing: "mount -o rw, remount -t yaffs2 /dev/block/mtdblock3 /system"
But. That's just what works for me. Found it when I first rooted my phone.

[Q] Command to install apps from terminal.

Sorry if this has already been asked. I tried searching and couldn't seem to find clear terminal commands. All of them either didn't seem to work, or were actually adb commands.
What are the exact commands for installing an app through terminal?
I'm trying to find the easiest commands to help a friend that needs to install an app on his phone. He doesn't have a data plan so he can't go into the market to install it, and isn't near the computer for adb.
I've used this command set before to install an app to system before:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/'name-of-app'.apk > /system/app/'name-of-app'.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
But that is a little to complicated for him, and would be especially hard to explain over the phone, because like I said, he has no data plan.
Now I've seen this command around here:
su
cd /sdcard
install 'name-of-app'.apk /system/app/'name-of-app'.apk
But I tried that on my phone before giving it to him and it didn't seem to work.
So what are the commands for installing an app through the terminal to either system or data?
Install the sdk...
adb install application.apk
Sent from my HTC Liberty using XDA App
You just have to copy the application to /system/app (cp command), /system/ has to be mounted first of course.
SliestDragon said:
Sorry if this has already been asked. I tried searching and couldn't seem to find clear terminal commands. All of them either didn't seem to work, or were actually adb commands.
What are the exact commands for installing an app through terminal?
I'm trying to find the easiest commands to help a friend that needs to install an app on his phone. He doesn't have a data plan so he can't go into the market to install it, and isn't near the computer for adb.
I've used this command set before to install an app to system before:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/'name-of-app'.apk > /system/app/'name-of-app'.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
But that is a little to complicated for him, and would be especially hard to explain over the phone, because like I said, he has no data plan.
Now I've seen this command around here:
su
cd /sdcard
install 'name-of-app'.apk /system/app/'name-of-app'.apk
But I tried that on my phone before giving it to him and it didn't seem to work.
So what are the commands for installing an app through the terminal to either system or data?
Click to expand...
Click to collapse
Sent from my HTC Magic using XDA App

TypeFresh good to go on 2.1?

As the title states, is TypeFresh good to go on rooted 2.1 on an X10i? The huge fonts are killing me
It wouldn't reboot for me so I've just used RootExplorer instead.
It worked fine for me, both apps (Typefresh and Andexplorer) where installed from the market.
javagreen said:
As the title states, is TypeFresh good to go on rooted 2.1 on an X10i? The huge fonts are killing me
Click to expand...
Click to collapse
yer typefresh works lol
Root Explorer copipast fonts an /system
Thanks for the replies guys, I went ahead anyway and got on it -- and it worked
i m still unable to figure please help, type fresh now displays clockopia on first order, was not there on 1.6. how did u change the font then
sahil4u said:
i m still unable to figure please help, type fresh now displays clockopia on first order, was not there on 1.6. how did u change the font then
Click to expand...
Click to collapse
See the link in my sig.
XperiaX10iUser said:
See the link in my sig.
Click to expand...
Click to collapse
Thanks for all the links my friend.
I always use this method to change my fonts:
1. I pick the font I want and I copy the regular and bold version on my SD.
2. I rename the regular to DroidSans.ttf and the bold to DroidSans-Bold.ttf.
3. Then, on my phone, using a Terminal application, I type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
4. Reboot!
5. Enjoy!!
My_Immortal said:
I always use this method to change my fonts:
1. I pick the font I want and I copy the regular and bold version on my SD.
2. I rename the regular to DroidSans.ttf and the bold to DroidSans-Bold.ttf.
3. Then, on my phone, using a Terminal application, I type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
adb shell dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
adb shell dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
4. Reboot!
5. Enjoy!!
Click to expand...
Click to collapse
I tried to change it by the Terminal but it says adb not found.Please help how can I overcome this problem.
If you can't get Typefresh to reboot please try the following: Install the latest Busybox from the market. This fixed the problem for a friend of mine.
good for i think there is some problem with my root, type fresh says cannot remount system. which root method did you use. i recently updated my x10i to 2.1 global generic and rooted with one click 1.5. titanium says ok and su too working. but still i cannot wrewrite or copy paste files. help will be appreciated.
sahil4u said:
good for i think there is some problem with my root, type fresh says cannot remount system. which root method did you use. i recently updated my x10i to 2.1 global generic and rooted with one click 1.5. titanium says ok and su too working. but still i cannot wrewrite or copy paste files. help will be appreciated.
Click to expand...
Click to collapse
I used the same method. The first time you run Typefresh you have to give permission, this will cause Typefresh to 'cannot remount sytem' , when you retry it works
dvildriver said:
I tried to change it by the Terminal but it says adb not found.Please help how can I overcome this problem.
Click to expand...
Click to collapse
Ooops...! Sorry! My bad! The correct commands are:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
My_Immortal said:
Ooops...! Sorry! My bad! The correct commands are:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 4755 /system/fonts/DroidSans.ttf
dd if=/sdcard/DroidSans.ttf of=/system/fonts/DroidSans.ttf
chmod 4755 /system/fonts/DroidSans-Bold.ttf
dd if=/sdcard/DroidSans-Bold.ttf of=/system/fonts/DroidSans-Bold.ttf
Click to expand...
Click to collapse
Hi.It works like a charm.Thanks for sharing!
Or just copy and paste using RootExplorer or similar. TF can be a bit temperamental at times, was in 1.6 and is in 2.1.
works perfectly for me... running sony sketch..... no more large letters in 2.1

i5500 Rooted, BusyBox, But Where Can We Go From Here?

OK, so got a nice shiny new Europa/i5500 today...
Yea, as you can imagine the first thing on the list was rooting. Done.
Not much you can do with just a root so thought to hell with it time to start poking around.
ADB has issues, cant remount from command line so it needs doing by adb shell > su.
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Code:
dd if=/sdcard/busybox of=/system/bin/busybox
chmod 4755 /system/bin/busybox
mkdir /data/busybox
/system/bin/busybox --install -s /system/bin/
Busybox sorted!
But now what is there?
Had a poke around and there seems to only be one thread regarding the phone (which tbh is quite nippy considering its size and has some potential).
Doe's anybody have any sort of information on building custom roms from AOSP for this? What kind of drivers need to be sorted?
I hate to think that the most we will ever do to this little gem is custom themes since for it's size it is a damn impressive bit of kit as far as my experience has been so far...
:Update:
I wasn't keen on the apps drawer not being alphabetised so tried pushing TouchWizz30Launcher.apk from Vibrant which was suggested for for the Fascinate and it works perfect, heads up for anyone else who has this niggle.
Apps2SD also works fine but had to partition SD using PC since no parted available on phone...
Strike that, Market Icon is now missing from AppDrawer... reverting back to stock lol

Can't remount /system in read-write mode.

Yes, my phone is a chinese Hero H2000+.
I have managed to stick su and busybox into /system/bin using debugfs, but there's absolutely no way I could find to make /system get into read-write mode.
If I type "mount -o rw,remount /system" it seems to work for about 1 second, but then it's remounted read-only. All the changes will be reverted (files I add/remove via script). If I try to run the same command again, it will show me a message saying filesystem is read only.
Does anyone know what might be causing this?
Thanks in advance.

Categories

Resources