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.
Related
I have OI file manager and I go into the system/sd folder and i dont see anything. But when i install a new app, i do notice that my ex3 partition available space changes. So it seems that the apps are installing on the ex3, but why dont i see anything in the system/sd folder?
Also, how can i copy files from my sd onto my system/sd folder? Do I have to adb it?
Thanks guys.
I know this is one of my first posts but I have been lurking these forums for a loooong time.
You will not see anything in system/sd unless you have root access. You can either use SU File Browser if you want a GUI for browsing, or just open the terminal and enter
$ su
# cd /system/sd
# ls
I try not to go into detail on anything that can be used for warez, so let me just state that you can either use SU File Browser, or the terminal (with root access) to copy to system/sd. Remember to mount /system as read-write.
snyper2k2 said:
I have OI file manager and I go into the system/sd folder and i dont see anything. But when i install a new app, i do notice that my ex3 partition available space changes. So it seems that the apps are installing on the ex3, but why dont i see anything in the system/sd folder?
Also, how can i copy files from my sd onto my system/sd folder? Do I have to adb it?
Thanks guys.
I know this is one of my first posts but I have been lurking these forums for a loooong time.
Click to expand...
Click to collapse
Get a file manager with root access.
SU File Browser & Terminal
http://forum.xda-developers.com/showthread.php?p=4126161
I really like this one.
Will get that, thanks guys. Appreciate the help.
I want to use switchrom.sh and are unsure of how to copy the file into the /system/sd folder. Is there a way to view the root files in Windows? How do you go about it?
ryantomo said:
I want to use switchrom.sh and are unsure of how to copy the file into the /system/sd folder. Is there a way to view the root files in Windows? How do you go about it?
Click to expand...
Click to collapse
There are two ways. The best is to push it through ADB (Just search for ADB, I don't have the time to walk through it and it has been already done better)
Or you can move it to the root of your sdcard and type in the terminal:
$su
#cp /sdcard/switchrom.sh /system/sd
As above. Anyone knows?
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
put it in the media>ringtone folder.
bryant_16 said:
As above. Anyone knows?
Click to expand...
Click to collapse
Ok... I'll bite. Ringdroid from the market. Any other answer will take some info.
As in, the ringroid will put the ringtones in the sd card memory not the phone memory, i tried copy paste over but fail.
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
In the terminal, if you place them in the root of your sdcard
Code:
cp /sdcard/filename.mp3 /system/media/audio/ringtones
I am not sure if you need to remount or not to push/copy into the folder or not.
It says read-only file system as the error.
jairomeo said:
To place them into the phone memory you will need to either copy them using the terminal or push them through adb.
using adb, place the file(s) in your tools folder
Code:
adb push filename.mp3 /system/media/audio/ringtones
Click to expand...
Click to collapse
Try:
Code:
adb remount
That should fix the "read only" problem.
i'm not using adb... I'm using the second method which is in the terminal.
Do yourself a favor and go get Root Explorer from the market. It lets you move any file to anywhere.
Move your files to /system/media/audio/ringtones and remember to check to see if the files that are there are .ogg or .mp3. If they are .ogg just rename your files after you move them.
What you mean I have to rename the files after i move them?
What's the exact application name? I tried searching on market but could not find any.
bryant_16 said:
What's the exact application name? I tried searching on market but could not find any.
Click to expand...
Click to collapse
I like SUFBS but ES (or estrong) file explorer is good also. SUFBS cost a buck or 2 but I think it is worth it. Either way your phone needs to be rooted for this. You do have root right?
Yeah, phone is rooted. I tried ES Strong Explorer but cannot work, it says something about permission or something like that..
bryant_16 said:
What you mean I have to rename the files after i move them?
Click to expand...
Click to collapse
I'm not sure if it's a "hero thing" but sometimes the file extensions in the ringtones folder are not .mp3. They are .ogg. If you look into the folder and see .ogg files just change the extension and you'll be all good.
As for the apps. Look for "Root Explorer". I believe there are both free and paid options. The paid one isn't very much $$ so, considering how much easier it makes things, give up the loot and support a dev.
I tried searching under market, but cant find it..
id use terminal with cmds, would be a tad faster and a bit more reliable, in my opinion, but as of searching on your behalf i have found root explorer a paid version and estrongs free version by searching "root" while in the market. estrongs sounds unstable. If your going to pay for a good file explorer get SU file manager&terminal. (and...SAA?ror)
How do I use terminals? I tried but that say permission thingy..
Did you mount the system?
OK dude. If you're rooted I assume you have somebody's recovery. Boot to recovery and go into console (Alt+x). Now do this.
<enter>
mount /system <enter> (maybe mount /system/media if just /system doesn't work)
mount /sdcard <enter>
cp /sdcard/yourfolder/yourringtone.mp3 /system/media/audio/ringtones <enter>
reboot
You should be good to go.
Can I do that in terminal? As in one of the application in my HTC Dream?
What is the proper way to uninstall apps such as facebook, amazon on a rooted n1?
Any help would be appreciated. sorry for the n00b question.
noonerealy said:
What is the proper way to uninstall apps such as facebook, amazon on a rooted n1?
Any help would be appreciated. sorry for the n00b question.
Click to expand...
Click to collapse
System -> Applications -> Manage -> All
Then select the app and click "Uninstall".
For apps like amazon mp3, you'll need to use adb shell and "rm" apps manually, or use a rom with these removed.
Code:
adb remount
adb shell <---(this should give you a prompt with a "#", not "$")
cd /system/apps (or something along those lines)
rm "specific app" (will be something along the lines of "com.something.android.apk")
That should do it. You just need to find out what the app names are that you want to delete. I'm not sure what all the proper names are, shouldn't be too hard to find.
will this remove data from apps also?
thanx for the answer so fast man, I like things simple and clean.
anyone now how to add the reboot option on stock rooted 2.2?
thanx in advance
I just realized that you can also use Root Explorer from the market.
I located com.amazon.mp3.apk inside /system/app/ folder using Root Explorer
and when i try to delete the file it says "com.amazon.mp3.apk" cannot be deleted because the file system is read-only
okay, so how do i delete this app really?
slickromeo said:
I located com.amazon.mp3.apk inside /system/app/ folder using Root Explorer
and when i try to delete the file it says "com.amazon.mp3.apk" cannot be deleted because the file system is read-only
okay, so how do i delete this app really?
Click to expand...
Click to collapse
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
or just use
adb remount
I successfully used Root Manager app to remove the amazon mp3 apk. Very simple actually.
slickromeo said:
I located com.amazon.mp3.apk inside /system/app/ folder using Root Explorer
and when i try to delete the file it says "com.amazon.mp3.apk" cannot be deleted because the file system is read-only
okay, so how do i delete this app really?
Click to expand...
Click to collapse
When using Root Explorer, it automatically loads in a read-only (R/O) mode to protect you from accidentally deleting important files. To modify system files, click the gray button at the top left that says R/W (read-write). This will allow you to delete any file regardless of permissions. Be careful.
Can ASTRO do this or does it have to be Root Explorer?
Remove the relevant entry from /data/data as well.
You should probably also update the package manager:
Code:
pm uninstall <package>
galaxys said:
Can ASTRO do this or does it have to be Root Explorer?
Click to expand...
Click to collapse
Astro can delete, but YOU need to remount.
ES File Explorer can remount at CM/HiAPK roms.
thanks. really helpful
Using Root Browser I am unable to delete or rename the install-recovery.sh file. Does anyone know why? Thank you. I also tried ES file explorer.
You need to have R/W privileges. Do you have root?
Mark Once Again said:
You need to have R/W privileges. Do you have root?
Click to expand...
Click to collapse
Yes root has been verified. Thanks for any help you can give Mark.
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Mark Once Again said:
I use root explorer. Just navigate to the file. Make sure the permissions are R/W. If not, just push the Mount button so that it shows R/W instead of R/O. Should be good to go....
Click to expand...
Click to collapse
Thanks Bro. Good to go now.
I had the same problem, which is how I found this thread, and was not able to resolve it by remounting /system RW. However it turns out the file had the immutable attribute "i". I was able to remove the attribute and delete the file via:
Code:
su
chgattr -i /system/etc/install-recovery.sh
rm /system/etc/install-recovery.sh
recovery upgrade
how to upgrade the recovery. i have a old recovery. i want upgrade it to touch philz recovery plz help