[Q] Is there an easier way to move files? - HTC Rezound

Currently, if I want to add a new custom wallpaper. I make it on my PC using GIMP, save it, plug in my reZound, switch to disk drive, copy the file to my sd card, unplug my reZound, go to ES File explorer, navigate to ex_sd, copy the file, navigate to /system/customize/resources, paste the file, go to home, change wallpaper. Now, I can do all that faster than I can type out the steps, but is there someway to move the file straight from my PC to the /system/customize/resources folder?
Thanks

pmterp said:
Currently, if I want to add a new custom wallpaper. I make it on my PC using GIMP, save it, plug in my reZound, switch to disk drive, copy the file to my sd card, unplug my reZound, go to ES File explorer, navigate to ex_sd, copy the file, navigate to /system/customize/resources, paste the file, go to home, change wallpaper. Now, I can do all that faster than I can type out the steps, but is there someway to move the file straight from my PC to the /system/customize/resources folder?
Thanks
Click to expand...
Click to collapse
Just put them on your sd card in a folder called /media/images/ and you can apply them with the gallery

NilsP said:
Just put them on your sd card in a folder called /media/images/ and you can apply them with the gallery
Click to expand...
Click to collapse
Or I think he can push with adb. I don't know the exact commands so if anyone can help with the commands...
Sent from my ADR6425LVW using Tapatalk

xxxxxx.png is the name of the image:
adb push xxxxxx.png /system/customize/resource

NilsP said:
xxxxxx.png is the name of the image:
adb push xxxxxx.png /system/customize/resource
Click to expand...
Click to collapse
Probably need to adb remount first. Here's my suggestion, make a batch file/script something like this:
echo off
adb wait-for-device
adb remount
adb push somdirectory/newwallpaper.png /system/customize/resource/

MrSmith317 said:
echo off
adb wait-for-device
adb remount
adb push somdirectory/newwallpaper.png /system/customize/resource/
Click to expand...
Click to collapse
That works great. Thanks everyone. Now, what about the reverse? Is there a way to get the files (default wallpapers, apks, etc.) pushed to my computer? I tried running the same script and reversing the file and destination but that did not work.
Edit: Never mind, found it. adb pull
I haven't used adb commands since I was rooting my eris, thanks guys.

Related

Root: Replacing system sound files

Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
have you tried with and without file extention?
Yes. Root explorer just won't let me move any files around in the phone memory. Do I have to do it using adb?
I have a feeling its Root Explorer not working properly in Hero.
I could do this easily on my magic, but I get the same thing - looks like its copied the file, but when I paste, nothing happens at all.
I did manage to delete the Stocks app. from the device (don't use it or need it) using root explorer but other attempts to copy and pasdte have failed.
I have however managed to successfully use Astro File Manager to copy a wallpaper file from the device memory and paste to the SDcard. Will explore Astro a little further and see if it can do more on the device.
Dayz
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
I think anything in app-private is a no go anyway as it contains copy protected apps. With regard to astro - it can copy from device in certain locations, and paste to sd to back up, but it can't delete from the device, and it can't copy or move files to the device.
Daisy xx
Dayzee said:
I think anything in app-private is a no go anyway as it contains copy protected apps.
Click to expand...
Click to collapse
Hmm, thanks Daisy. Will get on to the app's developer, as it was his advice to gain the ability to change location settings that I tried to follow.
Al
Shluggity said:
Phew, not just me being thick then....
I spent most of today trying to backup an .apk from /data/app-private to /sdcard. No luck with Root Explorer, adb pull or a 'cp' from the shell. "Remote file does not exist" was the result of the last two, but it's displayed by ls.
Click to expand...
Click to collapse
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Switchbitch said:
Ok so I have rooted my Hero and all is well. I've been trying to replace the sound files in system/media/audio/ui where the keyboard sounds are. I find that I cannot move a file into that folder, or apparently any of those folders. When I try to paste a copied or cut file using root explorer into the ui folder, the file just doesn't appear.
Why is this?
Click to expand...
Click to collapse
Unless you made other changes than rooting, the /system partition is mounted read-only by default. As far as I know, you'll have to follow one of the root guides to mount it read-write (like you probably did to get /system/bin/su in place) and then do whatever changes you'd like.
Personally, I got tired of the boot audio real fast, so I changed useAudio in /system/media/boot_animation.xml from "1" to "0". Ahh, blessed boot silence...
nrkabul said:
Try
Code:
adb shell
su
cat /data/app-private/some.app.apk > /sdcard/some.app.apk
exit
exit
adb pull /sdcard/some.app.apk some.app.apk
...it worked for me on a stock, rooted HTC Hero.
Click to expand...
Click to collapse
And work it did for me also! Many thanks for your help - I really appreciate it.

Adb help please

Trying to pull all of my system/app directory to my pc what's the proper command to.get all at once.
Sent from my PG86100 using Tapatalk
Code:
adb pull /system/app/
That will pull all of the apk files from /system/app and place them in your current directory. If you want to direct them somewhere else, here's an example:
Code:
#Windows
adb pull /system/app/ c:\android\apps\
#Linux & Mac
adb pull /system/app ~/Downloads/apps/
Thank u I'm on tapatalk or I would hit the button.
Sent from my PG86100 using Tapatalk
MongooseHelix said:
Code:
adb pull /system/app/
That will pull all of the apk files from /system/app and place them in your current directory. If you want to direct them somewhere else, here's an example:
Code:
#Windows
adb pull /system/app/ c:\android\apps\
#Linux & Mac
adb pull /system/app ~/Downloads/apps/
Click to expand...
Click to collapse
Does moving installed apps require root???
ri123 said:
Does moving installed apps require root???
Click to expand...
Click to collapse
Ofcourse you need rooted phone..
Only rooted phone can mount system and data partition as READ-WRITE
#Windows
This is for full system folder
adb pull /system c:\android\system (blue colour to create folder on desktop)
This is for full data folder (which include all installed apps and your personal data too)
adb pull /data c:\android\data (blue colour to create folder on desktop)
Etc....

[Q] how to access phone memory via pc?

Dear all,
Good day.
I would like to ask,can I access phone memory (HTC aria A6380)
on pc?
It was because I accidentally move a script file "sh"
from my /system/bin folder to my sd card.
Now I would like to cut back the file and paste it back to the original folder which in system file...
But,without the "sh" file in /system/bin/ folder,the root explore .apk can't work
So,I would need some expert advise...
You could just re-flash you rom.
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
drumist said:
Yes you can. You need to use the 'adb' tool. Download here: http://forum.xda-developers.com/attachment.php?attachmentid=630611&stc=1&d=1308537076 and extract it to a folder, then open a command line to that folder.
Connect your phone, and make sure USB debugging is enabled. Copy the file from your SD card to your computer. If you do not have S-OFF, you need to go to Clockworkmod recovery on your device before this will work.
From the command line, do adb devices to see if the phone is connected properly. Then do adb remount to mount the system partition as writable. Then do adb push C:\path\to\filename /system/bin/filename to copy the file. Then just disconnect and reboot the phone.
Click to expand...
Click to collapse
how to add a command line?
peter tham said:
how to add a command line?
Click to expand...
Click to collapse
Open command prompt if you are on windows
Sent from my Liberty using XDA App
can this be done to remove system app?
Mysteryagr said:
can this be done to remove system app?
Click to expand...
Click to collapse
Yes. BUT... make sure you aren't removing a vital app, aka settings.apk.
Sent from my HTC Intruder

[Q] Remove annoying CDROM mounts?

I tried to search but didn't see anything here. I remember having this issue on another phone but forgot how to fix (not an issue with my Nexus or S3). So anyone figured out how to stop the annoying images from mounting everytime I plug in USB?
I believe you need to remove the CD.iso file.
Once I get my DNA I'll make a bloat free ROM with that and vol wake fixed.
Sent from my ADR6425LVW using xda app-developers app
they are in the \etc folder labled cdrom.iso and PCTool.iso
crackeyes said:
they are in the \etc folder labled cdrom.iso and PCTool.iso
Click to expand...
Click to collapse
Yup, delete those and no more annoying pop-ups.
Sorry to hijack a topic, but I didn't want to create another forum for the same question.
But, how can this be made possible? Do we have to wait for S-Off? (Still kind of new to this whole thing)
I have tried deleting the .ISO files through Root Explorer, no avail.
I tried to use Rexdog's De-Bloating Mod modified slightly to indicate a deletion of the two .ISO files. (I left everything the same except for the "/META-INF/com/google/android/updater-script" File.)
I modified that single file to say this,
Code:
ui_print("Removing Bloatware");
run_program("/sbin/mount", "/dev/block/mmcblk0p32", "/etc");
package_extract_dir("etc", "/etc");
show_progress(1, 15);
delete("/etc/CDROM.ISO", "/etc/PCTOOL.ISO");
ui_print("Unmounting Filesystems . . .");
unmount("/etc");
ui_print("Finished");
I was going off on a whim by editing the single file and hoping that it would work, but it doesn't appear to have worked. Is there something I was missing, or something else?
BigRed35m said:
Sorry to hijack a topic, but I didn't want to create another forum for the same question.
But, how can this be made possible? Do we have to wait for S-Off? (Still kind of new to this whole thing)
I have tried deleting the .ISO files through Root Explorer, no avail.
I tried to use Rexdog's De-Bloating Mod modified slightly to indicate a deletion of the two .ISO files. (I left everything the same except for the "/META-INF/com/google/android/updater-script" File.)
I modified that single file to say this,
Code:
ui_print("Removing Bloatware");
run_program("/sbin/mount", "/dev/block/mmcblk0p32", "/etc");
package_extract_dir("etc", "/etc");
show_progress(1, 15);
delete("/etc/CDROM.ISO", "/etc/PCTOOL.ISO");
ui_print("Unmounting Filesystems . . .");
unmount("/etc");
ui_print("Finished");
I was going off on a whim by editing the single file and hoping that it would work, but it doesn't appear to have worked. Is there something I was missing, or something else?
Click to expand...
Click to collapse
try to make the .iso in lowercase. That is the way it showed up on mine,
BigRed35m said:
I have tried deleting the .ISO files through Root Explorer, no avail.
Click to expand...
Click to collapse
I just deleted those 2 files through root explorer, and plugged in usb to pc. no more pop-ups.
jasonpascoe said:
I just deleted those 2 files through root explorer, and plugged in usb to pc. no more pop-ups.
Click to expand...
Click to collapse
That's only going to work until you reboot. /system is write protected. You have to go onto recovery mount /sys as writeable and use adb to delete the 2 files.
str8upx said:
That's only going to work until you reboot. /system is write protected. You have to go onto recovery mount /sys as writeable and use adb to delete the 2 files.
Click to expand...
Click to collapse
You are indeed knowledgable. You don't happen to know a place where i can fnd instruction on how to do that, would you? (for a noob?)
BigRed35m said:
You are indeed knowledgable. You don't happen to know a place where i can fnd instruction on how to do that, would you? (for a noob?)
Click to expand...
Click to collapse
Make sure you install the htc drivers (htc sync is not required) which is the first option when you plug in your phone to the pc.
Assuming you have usb debugging enabled and downloaded the android sdk http://developer.android.com/sdk/index.html#win-bundle and extracted the zip.
Navigate to the platform-tools folder inside /adt-bundle-windows-x86_64/sdk/platform-tools/
In an empty space inside that folder hold down shift and right click, then select open command window here.
Now in the command window type:
adb devices (your devices serial # should be displayed)
adb reboot recovery
On the phone select: mounts and storage, then: mount /system
Now in the command window type each of the following:
adb pull /system/etc/CDROM.ISO
adb pull /system/etc/PCTOOL.ISO
adb remount
adb shell
rm /system/etc/CDROM.ISO
rm /system/etc/PCTOOL.ISO
exit
adb reboot
You have now made copies of both of these files on to your pc and removed them from your phone.
To restore these files open a command window and mount /sys in recovery as shown above then:
adb push CDROM.ISO /system/etc
adb push PCTOOL.ISO /system/etc

Root folder

Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Swannyman17 said:
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Click to expand...
Click to collapse
You need to ADB pull it and do what you need to change and then ADB push it. However I would do only the folder like /data/Game-O-Pornstar or /data/com.your_game_name
So an example if I wanted to pull the /data/data folder I would run the command (go to android-sdk on your computer where you unlocked your phone and find platform tools or the folder that adb.exe is inside of. Hold shift, right click, choose "open command window here")
Assume first I made a new folder in platform tools and named it calculator.
"adb pull /data/data/com.android.calculator2 > C:\Android SDK\platform-tools\calculator"
It would put the contents of the com.android.calculator2 directory (folder) into my new folder that I created and called calculator. Then when I'm finished I would do the opposite to push it back
I was just trying to put the directions into more common language but here's the link to actually get the commands
http://developer.android.com/tools/help/adb.html
There's an app called Droid Explorer for the PC that will do this with an interface but the program will often wreak havoc on your adb and fastboot drivers and services.
Swannyman17 said:
Hey guys,
I am trying to get the the "up-most" folder of my HTC Droid DNA. On the phone itself I can get to a folder titled "/" which I'm assuming is the root folder of the phone. I want to get into the "/data" partition on my PC to try to fix a game file that is loading incorrectly. But when I plug the phone into my PC all I can see is the internal storage folder. I tried to enable hidden folders as well but no such luck. Any ideas?
Thanks in advanced!
Click to expand...
Click to collapse
Androidcommander
Thanks man. Ill give it a try.
Sent from my HTC6435LVW using xda app-developers app

Categories

Resources