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
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 have a folder of all my backed up apps on my computer...so to install all of them(about 160+ apps) i adb push them to system/sd/app...now heres the problem: they all get pushed but when i check my phone they aren't all installed ...when i check the system/sd/app directory with root explorer it shows that they are all there, but they wont show up in the app drawer
what should i do????
g1junky said:
I have a folder of all my backed up apps on my computer...so to install all of them(about 160+ apps) i adb push them to system/sd/app...now heres the problem: they all get pushed but when i check my phone they aren't all installed ...when i check the system/sd/app directory with root explorer it shows that they are all there, but they wont show up in the app drawer
what should i do????
Click to expand...
Click to collapse
Same here. I was to use adb pull to pull my apps. Then I used:
adb push app-private /system/sd/app-private
reboot
to push my private apps back to phone. It was sucessful but all were broken files I had to re-install 1 by 1 w/ appinstaller. as well...
Why don't you adb install them all, not push.
for %%f in ("[folder with apps]\*.apk") do adb install -f "%%f"
You don't need the -f, that only forces the install/upgrade if app is present.
Did you push them to /system/sd/app or /system/sd/ ?
And did you reboot? lol sorry sometimes its the simplest answers. when you push that many files, it may take a while to dexopt them
Apaca1ypse said:
Same here. I was to use adb pull to pull my apps. Then I used:
adb push app-private /system/sd/app-private
reboot
to push my private apps back to phone. It was sucessful but all were broken files I had to re-install 1 by 1 w/ appinstaller. as well...
Click to expand...
Click to collapse
How did you adb push app-private with no %pathto% in front of it? And don't push to any specific folder just push to
/system/sd/
adb shell reboot
Naimand said:
How did you adb push app-private with no %pathto% in front of it? And don't push to any specific folder just push to
/system/sd/
adb shell reboot
Click to expand...
Click to collapse
if he is running the prompt from the same folder that contains the app-private folder, its not necessary to have a path
i.e
C:\appbackup\> adb push app-private /system/sd/app-private
assuming there is a folder, app-private, within the folder appbackup
B-man007 said:
if he is running the prompt from the same folder that contains the app-private folder, its not necessary to have a path
i.e
C:\appbackup\> adb push app-private /system/sd/app-private
assuming there is a folder, app-private, within the folder appbackup
Click to expand...
Click to collapse
Ahh true I didn't think about that. Alright well I learned something new tonight and figured out that I am too tired to think clearly so helping people should be called quits tonight.
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?
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
d0g said:
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
Click to expand...
Click to collapse
Is there a way to post in the correct section?
Anyways, have them on the root of your sdcard and
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/*.ttf /system/fonts
reboot
That should change the fonts.
Gscript
d0g said:
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
Click to expand...
Click to collapse
ever heard of "gscript" .. it's pretty simple to create a script to do whatever you want it to do .. ie. "cp /sdcard/*.ttf /system/fonts" .. no USB needed .. come to think of it i don't use a USB connection for any of my G1 needs
Thanks! That worked!
I found this handy app -- GScripts (on the market) -- that let me set up the script to run with one click.
PS: I'm sorry -- which section should this go in? Regular Q&A?
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.