I was wondering something, and couldn't find it through search.
If I run into performance issues with certain apps, can I move just those apps back to the system, or would I have to move all of the apps from the SD back to the system?
johnequickiii said:
I was wondering something, and couldn't find it through search.
If I run into performance issues with certain apps, can I move just those apps back to the system, or would I have to move all of the apps from the SD back to the system?
Click to expand...
Click to collapse
The way a symlink works (apps2sd) you would have to move the whole application folder back.
If you are having performance issues, invest in a class 6 card. Which is supposedly faster than the internal storage.
ok Thanks for the info. ^^
Actually, that depends on what ROM you are running. With DarchDroid 2.6.2, I know for certain (cause I did it this morning) that you can choose where you want an app installed. You go into manage applications, click on the app you want to move, and scroll down a bit. You will come to a box that has info about how much memeory the app is taking up and were it is stored. There is also a button that says "move". Clicking takes the app from were it is (either internal storage, or sd storage) and moves it to the other. I don't know if any other roms have this option.
Is it possible to put an app into the main system app folder? Those apps aren't moved to the SD card.
centran said:
Is it possible to put an app into the main system app folder? Those apps aren't moved to the SD card.
Click to expand...
Click to collapse
Not sure if this answers your question exactly, but you can install apps into your /system/app folder by using adb.
Open a Windows command prompt, navigate to your android-sdk-windows/tools folder, then use the 'adb push' command:
Code:
adb push Filename.apk /system/app
chromiumleaf said:
Not sure if this answers your question exactly, but you can install apps into your /system/app folder by using adb.
Open a Windows command prompt, navigate to your android-sdk-windows/tools folder, then use the 'adb push' command:
Code:
adb push Filename.apk /system/app
Click to expand...
Click to collapse
Keep in mind when you do this, you will have to also uninstall it the same way.
/system/app/ is internal storage
/data/app/ is external storage
you can do a ls in the directory to see where it actually is
the move command would be
Code:
mv /system/app/<name of apk> /system/sd/app/<name of apk>
or
Code:
mv /system/app/<name of apk> /data/app/<name of apk>
as the symlinks should put it to /system/sd/app
nfinitefx45 said:
/system/app/ is internal storage
/data/app/ is external storage
you can do a ls in the directory to see where it actually is
the move command would be
Code:
mv /system/app/<name of apk> /system/sd/app/<name of apk>
or
Code:
mv /system/app/<name of apk> /data/app/<name of apk>
as the symlinks should put it to /system/sd/app
Click to expand...
Click to collapse
If I do that second move command, does that put it on my hard drive in the android-sdk-windows\tools\ folder? Or, does it put it on the sd card? Sorry, I'm a newb.
I want to copy my htclockscreen.apk file to the android-sdk-windows\tools\ folder on my C:\ drive so I can open it up and make changes to the png files that create the slide bar on the lock screen... see my post on creating a custom lock screen under Q & A. Newb restrictions won't let me post the link yet.
Thanks!
mbuchholz said:
If I do that second move command, does that put it on my hard drive in the android-sdk-windows\tools\ folder? Or, does it put it on the sd card? Sorry, I'm a newb.
I want to copy my htclockscreen.apk file to the android-sdk-windows\tools\ folder on my C:\ drive so I can open it up and make changes to the png files that create the slide bar on the lock screen... see my post on creating a custom lock screen under Q & A. Newb restrictions won't let me post the link yet.
Thanks!
Click to expand...
Click to collapse
the command you want is
Code:
adb pull /system/app/HtcLockScreen.apk
that will copy it out of /system/app and put it in your tools folder.
linux is case-sensitive and i don't know the exact capitalization.
thedudejdog said:
the command you want is
Code:
adb pull /system/app/HtcLockScreen.apk
that will copy it out of /system/app and put it in your tools folder.
linux is case-sensitive and i don't know the exact capitalization.
Click to expand...
Click to collapse
Awesome! Thank you for that.
Perhaps you could take a look at my other post and tell me how to replace the .pdf images with new ones and then load it back onto the phone?
mbuchholz said:
Awesome! Thank you for that.
Perhaps you could take a look at my other post and tell me how to replace the .pdf images with new ones and then load it back onto the phone?
Click to expand...
Click to collapse
haha...no sorry i don't know anything about signing apps. but i can pull and push stuff to and from my phone like nobody's business
lol - thanks anyway. Perhaps someone will see and be able to help me out. You at least got me started!
-mb
Related
I have been messing around with ADB and pushing and I was wondering if there is a way to push an entire folder over to the phone. I think I could figure it out, but if someone knows how to do this that would be awesome, I searched but everything came up as ADB for noobs or ADB for dummies and just showed basic ADB commands... anyone know the command for pushing mp3 to sd card... also, i dont have a Music folder on my sd card anymore... if i push directly to SD without the directory, will it be created?
Thanks in advance guys
There might be another way but I just plug a USB cable into the phone, drag down the USB icon in the notification area, press the mount button and then make a new folder called Music and put my mp3's into it.
But like I said, there's a lot of ways to skin a cat and this is only one.
If your looking for some automated way, through a batch file or script, well... that'd be useful too.
i have done that too. but time and time again when i do this, especially after i rooted my phone, it says unable to read sd card and i have to either wipe or re-format my card. i was hoping that ADB would help this from happening...
The command to copy is cp -a so you would navigate to whatever location that folder is in and type
cp -a xxxxxx /sdcard/xxxxxx
That should do it
borodin1 said:
The command to copy is cp -a so you would navigate to whatever location that folder is in and type
cp -a xxxxxx /sdcard/xxxxxx
That should do it
Click to expand...
Click to collapse
Nah, that command is for copying a folder from one location on the phone to another. With adb you need to place the folder of music (we'll call that folder Music in this demo) in the same folder as your adb.exe. Then press start and run cmd, then:
cd location of adb
adb push Music /sdcard/Music/
exit
That will push everything within your Music folder to another folder on the sdcard called Music. Then you can just listen to your music through the Music application. Good luck.
h.nocturna said:
Nah, that command is for copying a folder from one location on the phone to another. With adb you need to place the folder of music (we'll call that folder Music in this demo) in the same folder as your adb.exe. Then press start and run cmd, then:
cd location of adb
adb push Music /sdcard/Music/
exit
That will push everything within your Music folder to another folder on the sdcard called Music. Then you can just listen to your music through the Music application. Good luck.
Click to expand...
Click to collapse
I'm ok with copying it. I am not sure if pushing something leaves a copy in original location, but then again, I just drag and drop files on my sdcard and if I need to do anything else with them I do it from shell.
Your way work though, may be even easier.
borodin1 said:
I'm ok with copying it. I am not sure if pushing something leaves a copy in original location, but then again, I just drag and drop files on my sdcard and if I need to do anything else with them I do it from shell.
Your way work though, may be even easier.
Click to expand...
Click to collapse
I thought that he wanted to know how to transfer files from the computer to the sdcard without mounting since mounting corrupted his sdcard...
h.nocturna said:
I thought that he wanted to know how to transfer files from the computer to the sdcard without mounting since mounting corrupted his sdcard...
Click to expand...
Click to collapse
You're correct.
adb push it is. Thank you for pointing this out.
So, I want to do a flash and have backed up all the APPs into a folder. So, is there anyway to install all the apps onto the phone that is in inside the backed up folder using ADB after I reinstalled? I know this should be possible since there is a way to do a mass pull using ADB.
shaolinx said:
So, I want to do a flash and have backed up all the APPs into a folder. So, is there anyway to install all the apps onto the phone that is in inside the backed up folder using ADB after I reinstalled? I know this should be possible since there is a way to do a mass pull using ADB.
Click to expand...
Click to collapse
Could write a batch file/shell script to iterate through a folder and adb install the contents of it.
shaolinx said:
So, I want to do a flash and have backed up all the APPs into a folder. So, is there anyway to install all the apps onto the phone that is in inside the backed up folder using ADB after I reinstalled? I know this should be possible since there is a way to do a mass pull using ADB.
Click to expand...
Click to collapse
Sure there is:
If you have app2sd:
adb push folder of apps /system/sd/app
If not:
adb push folder of apps /data/app
Assuming adb is in your path, open a command prompt at the folder containing your APKs and issue:
Code:
for %f in (*.apk) do adb install "%f"
Thanks all, both of your way works.
Thanks
Awesome thank you for the help. Have been trying to figure this out for a while.
AdamPI's answer will only work if you use a virus instead of an operating system. The correct answer is this;
for FILE in *; do /path/to/adb install "$FILE"; done
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?
Hey guys, I just used root explorer v 2.2 to delete the annoying apps built into the system (amazon mp3)
I am now trying to move my apps into the system so that they cannot easyly be removed. I want to send over lookout and sim checker. That way a theif would not be able to easily delete the apps.
when I select the "move" option (with sim checker) then go to the system apps dirrectpry and then select "paste", it says paste and shows a progress indicator for like 1 second then when I check to see if it actually did the move, it hasn't can anyone help me out
I know I have full root access as I have clicked to allow it and am remounted as r/w so that's not the problem.
Any help to get those two apps into my read only system directory would be greatly apprecaited.
Oh ya I think ill add that I have also tryed to simply change the permissions of the app to readonly (with root explorer) but that did not stop the basic android app manager from uninstalling it.
Try to use adb to move it.
so i went and installed adb, i know its working as well with a little test, could someone please write out a sample command for me to use for this purpose of moving an app out of the apps to sd location and into the system apps.
asb123 said:
so i went and installed adb, i know its working as well with a little test, could someone please write out a sample command for me to use for this purpose of moving an app out of the apps to sd location and into the system apps.
Click to expand...
Click to collapse
mv /system/sd/app/*lookout* /system/app
mv /system/sd/app/*checker* /system/app
It really depends on the name of the file though, if it has lookout in it, then it will be moved to /system/app. The * tells it to move anything with that in the file name
type adb and it will give you the commands + switches
adb pull
adb push
In response to your first attempt, it sounds like system is not being mounted as rw. If it were, the copying would work (I do this all of the time with SUFBS). Try to mount the system as rw via the terminal then copy.
JAguirre1231 said:
mv /system/sd/app/*lookout* /system/app
mv /system/sd/app/*checker* /system/app
It really depends on the name of the file though, if it has lookout in it, then it will be moved to /system/app. The * tells it to move anything with that in the file name
Click to expand...
Click to collapse
so i have the command prompt cd to andorid adk\tools
when i now type in the above :
mv /system/sd/app/*lookout* /system/app
it doesnt recognize the command
so i have C:\android-sdk-windows\tools> mv /system/sd/app/*lookout* /system/app
and it doesnt recognize mv as a command
cloverdale said:
In response to your first attempt, it sounds like system is not being mounted as rw. If it were, the copying would work (I do this all of the time with SUFBS). Try to mount the system as rw via the terminal then copy.
Click to expand...
Click to collapse
hey, sorry for the noob question but could you tell me the command for this. I know in the app i was using it says remount as rw and i do have access to change the system app folder (delted apps) but how can i remount as RW in terminal whats the command? And after, do i need to manually remount back to what i was so that it is back to being unchangeable?
asb123 said:
so i have the command prompt cd to andorid adk\tools
when i now type in the above :
mv /system/sd/app/*lookout* /system/app
it doesnt recognize the command
so i have C:\android-sdk-windows\tools> mv /system/sd/app/*lookout* /system/app
and it doesnt recognize mv as a command
Click to expand...
Click to collapse
If you have the tools directory in your PATH (as you should) no need to cd to the directory. Anyways, sorry to move it in adb do
adb remount
adb shell
*previous commands*
exit
Bingo!
it says failed on /systen/sd/app/com.lookout.apk - cross-device link
asb123 said:
it says failed on /systen/sd/app/com.lookout.apk - cross-device link
Click to expand...
Click to collapse
Ou have 2 android phones plugged in or an emulator running ath the same time
i dont have two phones plugged in and i dont have an emulator that i know of...
but on the bright side i mannaged to solve my problem using droid explorer. I successfully have gotten lookout entrenhed into the system so that it cannot be uninstalled from the menu.
BUT when i tried the same thing for sim checker it did not work, it would not copy into system\apps
i did manage to get it inot system\app but using the copy rather than move option in root explorer, after reinstalling using the simchecker in system\app
but it is showing up as still uninstallable. I have no idea why simcheck is not working but it worked for lookout...
Ok, I must have posted this question somewhere but I would like to know the answer cause no one has answered it. "how do I get the stock phone app to modify?. How would I get it and put it back into my phone? please I would like to know.
38 views and no response?
the .png files for the phone are actually in the contacts.apk.
Are you asking how to modify the apk, or just specifically where are the phone images?
To copy the app from your phone just do: adb pull /system/app/Phone.apk
That will put a copy of the file in your "tools" directory in the android sdk folder
Then when you want to put it back on you should be able to overwrite it with: adb push /system/app/Phone.apk
What exactly are you planning on doing with this file?
Thank you. I want to create my own images to make it look different then the stock colors.
There are 2 apks that contain dialers, one is the Contacts.apk as stated bfore that brings up the phone when the phone icon is pressed the second is in the Phone.apk appears once a call is placed, and the persons picture appears of the person you are calling.
I don't know how to do a adb pull. can you explain?
johnny quest said:
I don't know how to do a adb pull. can you explain?
Click to expand...
Click to collapse
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
synesthete said:
In terminal or command prompt, navigate to the tools directory in the android SDK and run the following commands:
Code:
adb remount
adb pull /system/app/Phone.apk
That will dump the file in you tools directory.
If you are having trouble with this, let me know what operating system you are using and if you have the android SDK installed.
Click to expand...
Click to collapse
This is confusing. I didn't think it would be so hard. I do UI's for iphone and ipod touch and this is way different. There are so many different things. Its discouraging in some ways. Sorry. I would love to create an app but of course its different. So, I stick to creating themes.
I would love to take a ROM and mod it myself or even modifying Launcher pro but it has that 9.pngs which makes it hard.
Ok, I have the Eris 2.1 rooted with Tenzo Rcmix2.0 installed. I have the SDK installed but don't know what to do with it. I appreciate you taking the time to help me out. I really want to create and mod lots of apps.
this is what I've done to a phone app I downloaded from the market:
-I created my images through Photoshop and saved them to a folder with its correct name used.
-I opened draw9patch and saved the images with the correct name again to a folder.
-I named the folder drawable-hdpi that belongs in the Res folder
-took the files and folder and created a zip out of it.
-opened the AvaboxV2 and signed it.
-loaded to my phone and changed the name to the correct name and installed it
but it keeps saying application not install, I just don't get it. What step did I messed up on?
Anybody? anybody?...............................
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
icbeer said:
This is what you need to do:
1. Open Contacts.apk in 7-zip
2. Copy the images over top of the original images in drawable, drawable-mdpi, and drawable-mdpi-finger (notice I didn't say anything about hdpi)
3. Close the archive.
4. Copy it back onto the device with:
Code:
adb remount
adb push Contacts.apk /system/app
Your phone may not appreciate you pushing Contacts.apk while it is running, so it may become unstable at this point. I would recommend restarting.
Click to expand...
Click to collapse
thank you but I'm trying to understand what you mean by push ADB. is that the one in the sdk folder? if so, I open it and it just flashes for a few seconds then closes.
ADB is a command line program that allows you to debug and move/edit files on your phone. You need to run those commands from a command prompt (should be a link in the Accessories folder on the Start menu if you can't right-click on the sdk folder and open one). Navigate to the tools folder, then run the remount and push commands like icbeer said to get your modified .apk on your phone:
Code:
C:\users\brtnbrdr> cd c:\android-sdk-windows\tools
C:\android-sdk-windows\tools> adb remount
C:\android-sdk-windows\tools> adb push Contacts.apk /system/app