Hey, I want to push a mp3 to /system/media/audio/notifications but when I try to do it, terminal comes back telling me that it's a read only folder. Can anybody tell me either how to push the file, or change the permissions on the folder? Any help would be appreciated. Also, I'm on a mac, so I don't have easy access to the kitchen, but I can get to that if that's the only way. I'm running fresh 1.1 with the mck 1.2
run adb remount first that will mount the system folders as read/write
foolforfood said:
Hey, I want to push a mp3 to /system/media/audio/notifications but when I try to do it, terminal comes back telling me that it's a read only folder. Can anybody tell me either how to push the file, or change the permissions on the folder? Any help would be appreciated. Also, I'm on a mac, so I don't have easy access to the kitchen, but I can get to that if that's the only way. I'm running fresh 1.1 with the mck 1.2
Click to expand...
Click to collapse
Why are you pushing an MP3 there?!?!
You are going to eat up all your space!
Create a media folder on your sdcard
sdcard/media/audio/notifications
Kcarpenter said:
Why are you pushing an MP3 there?!?!
You are going to eat up all your space!
Create a media folder on your sdcard
sdcard/media/audio/notifications
Click to expand...
Click to collapse
it's only a 7KB file, so I'm not too worried about it.
@wtphoto I will try the remount and let you know thanks!
Whoo hoo! It worked! Thanks again wtphoto! I shall click the thanks button!
@kcarpenter I pushed the file there because I was having sound lag on my text notifications using rings extended so I want to try it like this. Thanks all.
foolforfood said:
Whoo hoo! It worked! Thanks again wtphoto! I shall click the thanks button!
@kcarpenter I pushed the file there because I was having sound lag on my text notifications using rings extended so I want to try it like this. Thanks all.
Click to expand...
Click to collapse
glad to help thats what we are here for
Related
Can anyone tell me the Files and ADB commands to push the default IM app to Hero. I tried all the ones on the market and the default one is still my favorite.
It's just IM.apk.
adb push IM.apk /data/app
alritewhadeva said:
It's just IM.apk.
adb push IM.apk /data/app
Click to expand...
Click to collapse
tried that already, didnt work.
i see there is a tmoimplugin.apk also, i tried pushing this to, still didnt work
What error do you get?
alritewhadeva said:
What error do you get?
Click to expand...
Click to collapse
it pushes fine, no errors, after i reboot, i still see no IM in app drawer
i hate to post this in one of the hero threads, but can anyone give me an idea of how i go about doing this
If you are running apps to sd you may need to push to /system/sd/app instead. Or maybe app_s Also I would try and run the filesystem repair after push just to make sure everything on the sd card partition is copestetic.
There are actually 3 files that need pushing:
IM.apk
TmoImPlugin.apk
ImProvider.apk
I've attached a zip file with all three that I keep as a back up on my PC. This is NOT an update.zip.
davidemartindale said:
There are actually 3 files that need pushing:
IM.apk
TmoImPlugin.apk
ImProvider.apk
I've attached a zip file with all three that I keep as a back up on my PC. This is NOT an update.zip.
Click to expand...
Click to collapse
Try pushing those 3 files to /system/app_s . That's usually where hero apps go
davidemartindale said:
There are actually 3 files that need pushing:
IM.apk
TmoImPlugin.apk
ImProvider.apk
I've attached a zip file with all three that I keep as a back up on my PC. This is NOT an update.zip.
Click to expand...
Click to collapse
thanx, will try this when i get home.
Does anyone have any suggestions as to why when I go into GScript and choose to add a script, I don't see any in the program despite loading several onto my sdcard? I am running CM3.9.5 but I have also tried it on my DrizzyTouchflo 3d v2.7 and I am unable to see the .sh files.
I have tried to save .sh files both to the /system/sd folder and to the root folder of my FAT32 partition both without any luck. Am I missing something simple? I also have apps to sd since it is automatic on cyanogen's latest ROMs...does that have something to do with it? Any help would be appreciated.
DirectMatrix said:
Does anyone have any suggestions as to why when I go into GScript and choose to add a script, I don't see any in the program despite loading several onto my sdcard? I am running CM3.9.5 but I have also tried it on my DrizzyTouchflo 3d v2.7 and I am unable to see the .sh files.
I have tried to save .sh files both to the /system/sd folder and to the root folder of my FAT32 partition both without any luck. Am I missing something simple? I also have apps to sd since it is automatic on cyanogen's latest ROMs...does that have something to do with it? Any help would be appreciated.
Click to expand...
Click to collapse
they have to be in the "gscript" folder on your sdcard
xidominicanoix said:
they have to be in the "gscript" folder on your sdcard
Click to expand...
Click to collapse
OMG! Boy do I feel really stupid. Thanks for the quick response, not sure how I missed that. I just noticed the program creates a gscript folder upon installation because I reinstalled it to try and troubleshoot the problem. I guess I would've figured it out eventually but I must have deleted the originally gscript folder when I originally installed it. Thanks again.
DirectMatrix said:
OMG! Boy do I feel really stupid. Thanks for the quick response, not sure how I missed that. I just noticed the program creates a gscript folder upon installation because I reinstalled it to try and troubleshoot the problem. I guess I would've figured it out eventually but I must have deleted the originally gscript folder when I originally installed it. Thanks again.
Click to expand...
Click to collapse
no problem (i had this problem too in the beginning )
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 didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
If you didn't say you mounted the partition I can only assume it was not mounted as r/w and still at r/o.
copy/paste - visual representation of cp
push - pushing files from computer to phone
They are not the same.
SiNJiN76 said:
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
Click to expand...
Click to collapse
Yeah, what didn't work? lol.
djmcnz said:
Yeah, what didn't work? lol.
Click to expand...
Click to collapse
the mms app didn't overwrite. But it could have been user error. I'm using Enom's ROM and didn't have the Community Mms Mod checked...so maybe if I had done that first...it would have worked.
Pushing is taking a file from the computer to copy and paste/overwrite the existing file on the phone. What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
SiNJiN76 said:
Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
k?
I didn't try and explain anything (in this thread at least)?
Either way, yes push literally "pushes" a file to a specified location. However that file needs to be written and if the file system is mounted as read only you will get errors.
If it didn't work you must have received an error message (in root explorer for example), what was that message? If you don't get an error message and the file is still not being written then get a better file manager (ES File Explorer).
The suggestion above by 'evilkorn' was to make sure the file system is in read/write mode before you copy the file over... you can do this in Root Explorer or ES File Explorer.
If your file system is in r/w AND you still don't get an error message AND it still doesn't work then I would try an ADB push as a last resort and if that didn't work, reflash and start from step one I think...
SiNJiN76 said:
What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
evilkorn said:
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
Click to expand...
Click to collapse
LoL. You gotta ask a question first before I can answer it. You made assumptions, didn't ask questions. LoL. Anyway, I wasn't trying to crawl under your skin. But maybe next time you can read the OP in addition to just reading the title of the thread? Usually, details are given to accompany the title of the thread on the first post. Either way, I guess I wasn't detailed enough. Thanks for your feedback, tho, appreciate it.
@djmcnz - Sorry, my error in quoting the wrong person. Thanks for you explanation, also.
So, to summarize...Push and Copy/Paste should produce the same outcome, right? Cool...like I said earlier...it was my error in not knowing that I had to use the Spare Parts option in Enom's ROM to enable Community MMS.
I use root explorer all the time when I can't use a computer to use adb. It works fine. Usually if its the system partition you have to click the icon that says r/o and it changes to r/w. This will allow you to write files to the partition. Then from what I noticed a reboot usually fixes any issues of stuff not working.
i have all the apps i want... but i cant fine how to put theme back thru adb push... im sorry but i cant.... can some one please be so kind and show me... again im sorry and thank you in adv advance.....
Big-O-Devil said:
i have all the apps i want... but i cant fine how to put theme back thru adb push... im sorry but i cant.... can some one please be so kind and show me... again im sorry and thank you in adv advance.....
Click to expand...
Click to collapse
hey when you find out can you let me know also please 7604439324 or [email protected] thank you
Big-O-Devil said:
i have all the apps i want... but i cant fine how to put theme back thru adb push... im sorry but i cant.... can some one please be so kind and show me... again im sorry and thank you in adv advance.....
Click to expand...
Click to collapse
Most themes involve multiple apps and usually is best to be flash rather than be pushed via Adb. With pushing u would just push the themed apps to ur phone
Here's how to push apps via adb:
Code:
adb remount
adb push BlahBlah.apk /system/app
But as PapaSmurf said above, most Themes involve multiple .apks and even some framework files too, and most devs have created flashable .zips for their themes, so flashing the .zip is the easier and better way to add a theme to your setup.
ok so to make it flashable... all i have to do is convert it into a zip file.?.?
Big-O-Devil said:
ok so to make it flashable... all i have to do is convert it into a zip file.?.?
Click to expand...
Click to collapse
Best bet is to dl a theme of some sort and replace the apks with the ones u want to flash and then delete the ones u don't want. Then resign the zip with avabox
Here is how to push multiple apps at once.....
create a folder anywhere and name it anything you want. I'll name mine system
inside there make another folder and name it app
put all your apps you want to push in the app folder.
Now go back to your system folder and while holding shift right click on an empty space and select open command windows here.
type in
Code:
adb remount
adb push app /system/app
This will push all apps in the app folder. You can also do with with framework. Just push to /system/framework
After you push apps you will need to wait while they all get loaded and setup even after the push process is done.