Hi,
I want to swap files between my Mac and my HTC Magic without using a microSD card. Standard it doesn't do that and only the card shows up on my desktop. Is there a way to do this? My microSD card broke and part of my data was lost.I'm running a custom rom (Cyanogen). It's kinda urgent. Thanks!
You have to use adb:
adb pull /data data
and with apps2sd:
adb pull /system/sd sd
Do I use the terminal for this? I'm a bit of a noob
You have to install the androidSDK
Aah that's a pity because I'm in no way a programmer nor have I touched a single line of code, ever. Aren't there any GUI applications (either on my mac or for my phone) that makes this possible?
I have downloaded the android SDK and I started up 'adb' which opened the Terminal (on Mac OSX) and showed me a list of commands, and at the end [Process completed]. I can't type anything. Please again forgive my noobness.
Related
I have the MyTouch 3G with the Cyanogen Recover 1.4.
I had the latest CyanogenMod 4.2.7 with no problems. I tried applying the Enoch theme 1.4.7 and it put my phone in a boot loop. I tried factory wiping. I don't have access to any of the cyanogenmod zip files on my SD card because the Cyanogen Updater doesn't put it on the root directory of the SD.
So is there a way to fix this? Get back to any build of the phone to work? Can I access the SD card if I connect it via USB to my PC? PLEASE HELP!!!!
dannyfal!
i don t know if I undersoot you fully.BUT>>>> sometimes the SD card plays crazy,or get dammaged easy.In case you see the files on a computer but your phone is unable to read them is no big problem.If your phone is in bootloader mode and stucked there,it is a bit bigger problem.Have you ever applyed the hard reset ???It helps a lot.After that the SD card recognized by the phone as memory card2.So the phone is looking for the simple name SD MMEMORY.Or sd card.This is just matter of time.You give a name ending sd crad.bat and you can erase this bad sector data.In this case you might loose the program and your important data with it.BUT>>> you save sd card,and other files on it.
If you can t make it work coz your phone is in boot loader modus,than you need professional help.And a new rom update.
helos * hopr helped somehow*
dannyfal said:
I have the MyTouch 3G with the Cyanogen Recover 1.4.
I had the latest CyanogenMod 4.2.7 with no problems. I tried applying the Enoch theme 1.4.7 and it put my phone in a boot loop. I tried factory wiping. I don't have access to any of the cyanogenmod zip files on my SD card because the Cyanogen Updater doesn't put it on the root directory of the SD.
So is there a way to fix this? Get back to any build of the phone to work? Can I access the SD card if I connect it via USB to my PC? PLEASE HELP!!!!
Click to expand...
Click to collapse
You can enable usb mode in Cyanogen's recovery image by connecting the usb cable, dropping in to the console and typing (without quotes) "ums_enable" move your ROM and when you're done "ums_disable"
then "reboot recovery" and reflash.
If you don't have a computer you can use the console to my the files.
mount /sdcard <- Mounts the fat32 partition
ls <- See what files/folders are in the current directory
cd nameoffolder < change directory
then once you're in the folder where the ROMs are stored (cm-update, I believe) you can either move or copy them to the root.
use 'ls' again to find the filenanme of the ROM you want to copy/move..
cp name-of-rom.zip /sdcard <- to copy the ROM to the root, or use 'mv' to move the file.
EDIT: I am an idiot. You're on a MyTouch so you can't use the console in recovery. In that case connect your phone to your computer (which has the sdk setup with drivers) and type the commands I stated about after 'adb shell'
Now that we have to option to install apps to our sd card I have a couple questions.
1) Where are the apps stored? I tried finding them in root explorer on my sd card after i moved them but i could not.
2) When i get my 32gb card is there any special process i have to undergo now that I have moved apps to my sd card? As in should i move them all back to my phone before switching cards or if copy my entire card over to my new one will they be included?
I believe the apps are encrypted on the sd card.
install terminal, run terminal,
in terminal run "mount" (assuming this works even if not rooted)
see things like
/dev/block/dm-6 /mnt/asec/com.adobe.reader-1 ....
this implies the device mapper subsystem is in use. don't have any more info at this time.
within the /mnt/asec/*/ directory there is a file pkg.apk, though it doesn't seem like a traditional apk as not unzippable (or at least unzip -l pkg.apk seems to fail within terminal)
For all those who wanted to transfer all their applications into the SD cards by default on their Android 2.2 Froyo operating system, we will check out the same on how you can do it. Many users recently reported that they were unable to transfer the applications to the SD card despite making use of the tool called Apps2SD which is one of the popular applications to transfer all the applications to the SD Card but it has failed to deliver for some of those who have HTC Desire and many handsets it doesn’t support. Though there are many ways for increasing the memory space marginally if you want which can be done by clearing the cache memory from the “Managing Applications” option from any Android phone.
But the real memory increaser is the only one if you manage to store all the apps in your SD Card, so let’s check out the same on how you can push your all applications which are stored in the phone to the SD card of your phone effortlessly. Considering the fact that most of the Android handsets now run on a minimum of Froyo 2.2 version, many apps don’t provide functionality to directly store the same on the device’s SD card until and unless Application requests you to select the same. So, we will check out on by default how you can transfer all the apps directly to your SD Card.
Procedure to store applications in SD Card:
First and foremost, from your phone you will have to ensure that the USB Debugging is ticked which can be done by going to the Settings > Applications >Development > then tick both Allow mock locations as well as the USB Debugging options over there.
After this you will have to download and install the Android Software Developer Kit (SDK) on your computer and after that once you download it, you will have to extract the package to the folder and then from that folder just run the application which is named as “SDK Setup.exe” and then simply click on the install selected option which is just located on the right bottom of the screen and follow the on screen instructions.
Now, connect the phone with the computer with the help of USB cable after which the OS will prompt you to install the set of required drivers which are missing which you can install from the path android-sdk/usb_driver folder, please note that you should not mount your device as you will have to plug in the cable.
Next up, you will have to run the Command Prompt and then you will have to go to the path Android-SDK/tools folder. Please note that, in Windows operating system , the Command prompt can be started by either pressing Win + R from your keyboard or alternatively you can click on “Start” tab from the main home screen and then can choose “Run” option and enter in the string as “cmd” followed by enter to enter into the command prompt. After entering in the command prompt, you will have to type in as “CD android-sdk” to get into the file via command prompt.
Now, in the android-SDK/tools folder, just type in the command as “adb devices” after which you will be getting the serial number which will be starting with the “H”. After this you will have to enter the command as adb shell pm setInstallLocation 2.
That’s it there you go, you have now successfully configured your Android phone successfully to store all the applications into the SD card. But please note that all the applications installed on the memory card will also be unavailable to the system each time you mount your phone as a disk drive and also the application performance is always better when stored in the phone as it can render quickly and also can run better in the background. So, unless and until the memory of internal SD card is not full, it’s not recommended to go for this method as this may partially slightly slow down your phone.
So, all the core applications which you use more often should be stored in the internal memory and the ones which are less used should be placed in the memory card. Do let us know if you face any issues while configuring all the above commands. Just in case if at any point of time you are unable to configure or encounters with some sorts of issue then you will have to again follow the procedure from the start.
Or..other way is..use titanium backup to move apps from internal to SD..easy..
Sent from my GT-S5830 using XDA App
Thanks for the write up.. I was able to move a bunch of my apps to the SD card freeing up some much needed space.
After having formatted my internal sdcard, I'm unable to flash any rom. I've installed cwm revorery and would like to push a rom to the sdcard in order to be able to flash it, because right now theres nothing on my card (its totally formatted without any system on it).
When i try to push a file via toolkit to the internal sdcard there appears the following error message:
- exec ' /system/bin/sh' failed: No such file or directory (2) -
Can anybody help me out with this issue?
It looks like the error is saying it is missing a file in /system/bin/, which makes sense since internal storage is completely wiped.
Just start a command prompt in Windows and change directory to where adb.exe is in the android sdk. Then copy the ROM you want to install into the same directory as adb. Use the command "adb push blahblahblah.zip" to push the ROM from your PC to the internal storage. Obviously replacing blahblahblah.zip with whatever the ROM filename is.
Toolkit's can be handy, but before you use one you need to know how to unlock your phone and copy files to/from your device without a toolkit. So that way when problems arise you know what probably went wrong and how to fix it.
Probably not really helpful, but I was able to push files to /sdcard when I wiped all options and formatted Data with TWRP.
Same problem here
Please help us. I accidentally did the same. Now I can't copy file to the device. CWM is still functioning but there is nothing left to flash.
kimezra said:
Please help us. I accidentally did the same. Now I can't copy file to the device. CWM is still functioning but there is nothing left to flash.
Click to expand...
Click to collapse
Just flash TWRP recovery via Fastboot then mount the SD card as USB storage. Once you have done this you can copy a new Rom over and flash it.
Thanks for your quick reply!
EniGmA1987 said:
It looks like the error is saying it is missing a file in /system/bin/, which makes sense since internal storage is completely wiped.
Just start a command prompt and change directory to where adb.exe is in the android sdk. Then copy the ROM you want to install into the same directory as adb. Use the command "adb push blahblachblah.zip" to push the ROM from your PC to the internal storage. Obviously replacing blahblahblah.zip with whatever the ROM filename is.
Toolkit's can be handy, but before you use one you need tokn ow how to unlock your phone and copy files to/from your device without a toolkit. So that way when problems arise you know what probably went wrong and how to fix it.
Click to expand...
Click to collapse
You're right! I've learned that by wasting hours..
How do I change directory to where adb.exe is? what is android sdk? I'd be very happy if you could explain me some of the steps to achieve that or lead me to a tutorial where I can learn it.
Thanks again!
dr9722 said:
Just flash TWRP recovery via Fastboot then mount the SD card as USB storage. Once you have done this you can copy a new Rom over and flash it.
Click to expand...
Click to collapse
Thanks a lot for your reply!!
Would you mind telling me how to flash twrp recovery via fastboot?
Thx in advance!
http://forum.xda-developers.com/showpost.php?p=37019359&postcount=10
Also:
Once you are in a ROM again, download GooManager and look on Google for the easy steps to flashing TeamWinRecoveryProject.
Thank you so much EniGmA1987!! This is awesome!
It finally worked out for me! BIG THANKS!
Your welcome
Was it easy enough even without the use of a toolkit?
Your tutorial is very clear and easy to understand. I followed all the steps, but still couldn't find the pushed ROM on my SD card (after having waited for about 5 minutes). So I mounted all you can with cwm and used the toolkit - and it worked! Probably it was the directory that was set right after having followed your tutorial. Thanks again!!
Easiest way to try Linux on a RK3288 if you only have a Windows PC.
First check your bootloader version and if necessary flash the RK3288Loader_uboot_V2.17.02.bin (downloadable from 'https://drive.google.com/file/d/0B99O3A0dDe67Tm1nVjdncVBuaG8') to your device to allow SD card booting.
Next download and uncompress one of these images ('https://drive.google.com/file/d/0B99O3A0dDe67cU1ZSkoybEdPeTA' or 'https://drive.google.com/file/d/0B99O3A0dDe67XzBhYTRKS1BqTnc') and write the image to an SD card using 'Win32 Disk Imager' on Windows (or 'dd' on Linux).
Then just put the SD card into your device and turn on the power to boot up Linux.
Booting will give you a full Linux desktop. It will not affect your installed software as everything needed to boot is taken from the SD card so it will work even if the device is 'bricked'. As it provides effectively a generic RK3288 kernel and resource image, both wifi and/or sound may or may not work depending on your specific device. However you can then use the system to build a bootable SD card by following 'Running Android or Linux from an SD card on a RK3288 device' (see 'https://plus.google.com/+IanMORRISON/posts/22Vxc6Sr5Ei') or similar.
The default username is 'linuxium' and the default password is 'p'.
A root password can be set by entering 'sudo su -' and then 'passwd root' in a terminal window. You can expand the file system to utilise the whole SD card by entering 'echo -e "d\nn\np\n1\n139265\n\nw" | sudo fdisk /dev/mmcblk1' then rebooting and entering 'sudo resize2fs /dev/mmcblk1p1' to complete the resizing.
One other advantage is that this image also supports a Linux root file system (RFS) on USB. So if you want to try a different RFS all you need to do is download one and write it to USB and then make sure both the SD card and USB are inserted before connecting the power.