thank you. tried to search.
in recovery console, have apk on root of sdcard.
Code:
mount /sdcard
mount /system
cp /sdcard/xxxx.apk /system/sd/ (for regular apps)
cp /sdcard/xxxx.apk /system/app/xxxx.apk (for core apps)
if the cp command does not work try mv
hiroots said:
thank you. tried to search.
Click to expand...
Click to collapse
talofa man
copy the app that you want to the root of your sd card
then run either:
Code:
cp -r /sdcard/NAME_OF_APP.apk /system/app
if you want it as a system app or
Code:
cp -r /sdcard/NAME_OF_APP.apk /data/app
if you want it as a regular app
from what i know, a system app cannot be removed with a regular uninstaller and can only be removed through adb/terminal .. but dont quote me on that
i bu lela
-JD
(i have a roommate who's hawaiian, but dont know correct spellings )
EDIT: damn david, you beat me to the punch
xidominicanoix said:
EDIT: damn david, you beat me to the punch
Click to expand...
Click to collapse
but you get +1 for knowing another language lol.
thanks guys,
Related
I can't use adb, please don't call me a noob.
I want to install rogro82 modified launcher.
http://forum.xda-developers.com/showthread.php?t=538871&page=10
there's a code in the thread to install using terminal, but it doesn't work.
Can anyone please provide the code to install through terminal.
Thanks!
put it on your sdcard
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp Launcher.apk /system/app
reboot
try that?
You dont even need the code. Just put the .apk into your sd,download Linda File manager or OI file manager, and install with that. It works like a charm. I myself used Linda.
Thanks, but just found out. (also thanks futango )
You can install it using AppManager... since it's .apk.
So far I have ZERO problems too!
Ah ok, didn't think it would work though ...because it installs to /data/app. Eh whatever. good job getting it to work. Switch thread title please.
i've read up on this but im still a little confused. lets say i have the ttf fonts downloaded onto my sd card. from there, what commands do i have to put into terminal emulator to replace the default system font? & do i have to rename to droidsans first?
jonesyruless said:
i've read up on this but im still a little confused. lets say i have the ttf fonts downloaded onto my sd card. from there, what commands do i have to put into terminal emulator to replace the default system font? & do i have to rename to droidsans first?
Click to expand...
Click to collapse
Code:
cp /sdcard/yourfont.ttf /system/fonts/DroidSans.ttf
cp /sdcard/yourfont.ttf /system/fonts/DroidSans-Bold.ttf
why dont you just get metamorph and do it that way?
ArniPL said:
Code:
cp /sdcard/yourfont.ttf /system/fonts/DroidSans.ttf
cp /sdcard/yourfont.ttf /system/fonts/DroidSans-Bold.ttf
Click to expand...
Click to collapse
it says "cp: cannot create '/system/fonts/droidsans.ttf': file exists.
jonesyruless said:
it says "cp: cannot create '/system/fonts/droidsans.ttf': file exists.
Click to expand...
Click to collapse
Try this:
Code:
adb remount
adb push yourfont.ttf /system/fonts/DroidSans.ttf
adb push yourfont.ttf /system/fonts/DroidSans-Bold.ttf
wheww after several different attempts i finally did it. i ended up renaming the fonts in my sdcard to the default system font names, then putting this into better terminal emulator.
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/DroidSans.ttf /system/fonts
cp /sdcard/DroidSans-Bold.ttf /system/fonts
reboot
Click to expand...
Click to collapse
thanks for your help guys helvetica looks amazing on this!
just did this, worked very well except for some dodgy characters and some icons with names spreading onto 2 lines - helvetica is a little bit too tall so it cuts off the bottom in places. possibly can be solved with some theming? idk, will get around to it, but thanks
march83 said:
just did this, worked very well except for some dodgy characters and some icons with names spreading onto 2 lines - helvetica is a little bit too tall so it cuts off the bottom in places. possibly can be solved with some theming? idk, will get around to it, but thanks
Click to expand...
Click to collapse
yeah, i believe it's missing characters in the ttf file. i think chacheinjection did some fiddling to get it working a bit better. maybe pm him.
Yeah i got it working, you need to add a load of extra space characters, i can start a tutorial thread for fixing this font issue if yall want.
cacheinjection said:
Yeah i got it working, you need to add a load of extra space characters, i can start a tutorial thread for fixing this font issue if yall want.
Click to expand...
Click to collapse
would appreciate that actually, thanks. it's beginning to bug the hell out of me...
hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
thanks for answering, thats all i wanted to know
make a bat
open note pad and paste this:
Code:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
adb shell rm system/app/com.htc.FriendStreamWidget.apk
adb shell rm system/app/com.damaged.DConfig.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/FriendStream.apk
the add or remove lines accordingly, substitute one apk for another if you want then save as a .bat file (mine is named removeapks.bat) place in the tools folder if you wish, flash a rom once booted run the .bat file and poof theyre gone
alexnaoumi said:
thanks for answering, thats all i wanted to know
Click to expand...
Click to collapse
There's a tool written in Java that makes signing zip's really easy. It's included in a suite of apps called AndroidMod.zip
Once you have it, the syntax to sign the new zip is simple. Just:
java -jar signapk.jar testkey.x509.pem testkey.pk8 Inputfile.zip outputfile.zip
Or you can get "root manager" from market which does a lot including removal of unwanted system apps.
Sent from my HERO200 using XDA App
I think Fresh Pre kitchen does it also.
Titanium backup is what I use. Haven't had any trouble using it.
Moved to Q&A.
alexnaoumi said:
hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
Click to expand...
Click to collapse
I like Root Manager also because there is a "multi-select" option so you can select all of the files you'd like to delete. For the "/system/app" folder you can mount as "read/write", then delete the files. I then reboot into recovery, wipe the cache and Dalvick cache, and reboot. I've had no issues doing this. It's not so much how you delete, rather than what you delete. The forums here at XDA (as well as others that you can Google) that tell you what apps are safe to delete and which should remain untouched. As long as you don't delete an apk that is critical to ROM, you should be okay.
bombaatomica said:
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
Click to expand...
Click to collapse
Since this is my first post, and I cannot post links, do a search on "modaco zipsigner". This is the utility I found for re-signing zip files, and it has worked flawlessly for me.
hey guys ive been trying to get a apk into system/data/app on my N1 but i cant get it right. so i did some research and saw that i needed to push the files into system/data. I dont have a pc to do it on so how can i do it on my phone with the terminal app? My phone is rooted so it should be a quick and easy deal....Right?
If you have busybox you can:
busybox cp nameoffile.apk /system/app/
Rusty! said:
If you have busybox you can:
busybox cp nameoffile.apk /system/app/
Click to expand...
Click to collapse
Okay but where do i put said file so i can push it? Do i copy it into system/data/app and then push it or what?
Just download it to the SD card.
Use Root Explorer, and just copy the file there. Of course, toggle the /system to be in R/W before you copy (an option in Root Explorer).
Stuart.upton666 said:
Okay but where do i put said file so i can push it? Do i copy it into system/data/app and then push it or what?
Click to expand...
Click to collapse
if busybox is installed you dont need the "busybox cp"
you can do this
put whatever.apk in sdcard(or download it) then do
go to terminal
cd /sdcard
or
cd /sdcard/download (this only if you downloaded the apk from phone)
then do
ls(to check if file is there)
then do
cp /sdcard/download /system/data
most likely your gonna get a error bout read-only so you might want to do this before doing cp
mount -o remount,rw /dev/block/mtdblock3 /system
then try again
Root Explorer
Jack_R1 said:
Use Root Explorer, and just copy the file there. Of course, toggle the /system to be in R/W before you copy (an option in Root Explorer).
Click to expand...
Click to collapse
+1
I agree, this is probably the easiest way.
Hey Guys,
I got a simply question, I got root but I don't know if I got FULL ROOT, How to check that?
Yes, on Play Store there are 1000 of apps but I don't trust them.
Any commands from Terminal to Determine if I have Full Root?
eclyptos said:
Hey Guys,
I got a simply question, I got root but I don't know if I got FULL ROOT, How to check that?
Yes, on Play Store there are 1000 of apps but I don't trust them.
Any commands from Terminal to Determine is I have Full Root?
Click to expand...
Click to collapse
Uhm open a terminal and make a file in "/system" I guess. You can do that using the following command: "touch /system/roottest.txt".
Better answer provided here.
B1nny said:
Uhm open a terminal and make a file in "/system" I guess. You can do that using the following command: "touch /system/roottest.txt".
Click to expand...
Click to collapse
I executed that command but I don't get anything, not even the file in Device>System..
See the Pic..
eclyptos said:
I executed that command but I don't get anything, not even the file in Device>System..
See the Pic..
Click to expand...
Click to collapse
Get root in terminal first by typing
Code:
su
Then mount system as RW and make a directory by typing
Code:
mount -o remount,rw system
mkdir /system/test
or, mount system using root explorer and then do this
Code:
su
mkdir /system/test
Trust me, you have full root....
Ok.
I just Check in.
gregbradley said:
Get root in terminal first by typing
Code:
su
Then mount system as RW and make a directory by typing
adb shell mount -o remount,rw system
mkdir /system/test[/code]
Trust me, you have full root....
Click to expand...
Click to collapse
A bit confused here with that code....
adb shell mount -o remount,rw system
mkdir /system/test[/code]
It have to be like that in Terminal?
eclyptos said:
I just Check in.
A bit confused here with that code....
adb shell mount -o remount,rw system
mkdir /system/test[/code]
It have to be like that in Terminal?
Click to expand...
Click to collapse
Check his post again, he corrected himself.
I edited my post
@gregbradley
I think I have a problem, what you think? It tells me that system/test is Read-Only..
use root explorer to mount system then try the mkdir again
or just root explorer to mount system..as soon as you can do that you have root.....
Full root just means you keep root after a reboot and the security of the RIC has been disabled
gregbradley said:
use root explorer to mount system then try the mkdir again
or just root explorer to mount system..as soon as you can do that you have root.....
Full root just means you keep root after a reboot and the security of the RIC has been disabled
Click to expand...
Click to collapse
I am not familiar with that, which Root Explorer are you referring too?
eclyptos said:
I am not familiar with that, which Root Explorer are you referring too?
Click to expand...
Click to collapse
root explorer
look on the play store
or use any explorer that can gain root...and just modify something in system...change permission, delete or make a file...
if you just reboot your phone and run an app that requires root and it works then you have full root.
gregbradley said:
if you just reboot your phone and run an app that requires root and it works then you have full root.
Click to expand...
Click to collapse
ok...I will try...at the moment I was using ES File Explorer and it not allow me to make or paste any file in system folder...
..I will keep you updated...
eclyptos said:
ok...I will try...at the moment I was using ES File Explorer and it not allow me to make or paste any file in system folder...
Click to expand...
Click to collapse
then you have root, and if you reboot and can still do this you have "full" root
..I will keep you updated...
Click to expand...
Click to collapse
There is no need... I am really unsure on why you are asking this. Seeing as you have posted loads of help posts about this I would expect you to know the difference and know that you have full root.
Trust me, you have it.
eclyptos said:
ok...I will try...at the moment I was using ES File Explorer and it not allow me to make or paste any file in system folder...
..I will keep you updated...
Click to expand...
Click to collapse
If you are not allowed to modify system that's because is not mounted as Rw. Go to ES, make sure you have turned on root explorer and then click on root explorer. A pop up will appear, then select where says mount system as Rw.
gregbradley said:
then you have root, and if you reboot and can still do this you have "full" root
Click to expand...
Click to collapse
This I don't get it...
gregbradley said:
There is no need... I am really unsure on why you are asking this. Seeing as you have posted loads of help posts about this I would expect you to know the difference and know that you have full root.
Trust me, you have it.
Click to expand...
Click to collapse
I know, sometime I cooking my brain instead of my phone and I missing stupid things...and learn small thing.
luis4ever said:
If you are not allowed to modify system that's because is not mounted as Rw. Go to ES, make sure you have turned on root explorer and then click on root explorer. A pop up will appear, then select where says mount system as Rw.
Click to expand...
Click to collapse
You see! OMG! That was the stupid thing...sooo stupid! You are the man. Now everything is working.
ES was granted by Su and it now allow me to modified System files and folders.
After executing the commands in Terminal I find a new folder named "test" in System. Thanx to @gregbradley
Thank you all!
You see! OMG! That was the stupid thing...sooo stupid! You are the man. Now everything is working.
ES was granted by Su and it now allow me to modified System files and folders.
After executing the commands in Terminal I find a new folder named "test" in System.
Thank you all!
Click to expand...
Click to collapse
Glad you solved the problem
wow....
gregbradley said:
wow....
Click to expand...
Click to collapse
lol...