Hi guys,
Can anyone offer me any advise with Apps to SD?
I have rooted my Hero and installed the RA-HERO-v1.2.3 recovery image.
I have then wiped my SD card and selected the option to partition the card in the recovey menu.
However when i boot up the Apps to SD application it says that my card doesnt seem to be partitioned correctly and wants me to set up the EXT2 partition?
After a bit of Googling i found theres some adb commands that can set this up after partitioning (which i assume is set up correct - any way to tell?) The commands are :-
Code:
adb devices
adb remount
adb shell
cp -a /data/app /system/sd
cp -a /data/app-private /system/sd
rm -r /data/app
rm -r /data/app-private
ln -s /system/sd/app /data/app
ln -s /system/sd/app-private /data/app-private
However i get as far as the cp commands and it says it is an unknown command?
Any help would be much appreciated - was up til past 2am this morning trying to figure this out with no luck
Thanks
Paul
Try this guide, worked perfectly for me.
Thanks for that - it at least let me check everythings partitioned up correcty.
Still Apps 2 SD wont work.
One thing i forgot to mention previously is that i'm using an official HTC rom - does this only work with custom roms? I thought the only requirement was Root access?
Ive spotted 2 versions of Apps2sd on the market
Apps2sd - gives error 'Either an incorrect ROM is installed or your SD card is not formatted correctly'
Apps2sd 2 - gives me the option of creating an EXT2 partition (with a slider)
Cheers
Paul
I'm not a 100% sure(maybe someone else can confirm) but yes I think it only works with custom roms. I rooted my Hero the day I got and have never used the stock rom.
Unless there is a specific reason you need to use a stock rom maybe consider using a custom one? Now that the source code is out I would have though more roms will be coming soon.
here are your solution...
http://forum.xda-developers.com/showthread.php?t=552591&highlight=modaco+Rom
and
http://android.modaco.com/content/htc-hero-hero-modaco-com/292018/23-10-2-8-modaco-custom-rom-core-chinese-with-mck-featuring-wavesecure/
I fixed all my problems with this...
root your phone... than copy the zipped custom ROM in your SD...than update it...
u will find everything in the forums...
Hamo
Thanks to J & Z for creating such a wonderful rom (Free X10 Froyo 2.2.1) and the wonderful utility xRecovery for us to play with. xRecovery is a must have if you want to play with different roms. The thing is that Free X10 & xRecovery can't coexist.
On close study, I found that the difference is only the chargemon. Both share the same busybox file. So I write these 2 little scripts to make the switching easier.
I would assume that you have already installed both Free X10 & xRecovery before. Your SD Card should have the folders: FreeX10 and xrecovery.
Preparation:
1. Copy chargemon for Free X10 to FreeX10 folder in the SD Card (it should already be there)
2. Copy chargemon for xRecovery to xrecovery folder in the SD Card
3. Copy freex10.sh and xrec.sh to root folder of the SD Card
To Switch to Free X10:
Start adb shell or use terminal emulator from your phone, then type:
su
sh freex10.sh
the phone will reboot and you can boot into Free X10 by pressing the back key when the Sony Ericsson logo appears
To Switch to xRecovery (boot into 2.1 rom first):
Start adb shell or use terminal emulator phone, then type:
su
sh xrec.sh
the phone will reboot and you can boot into xRecovery by pressing the back key when the Sony Ericsson logo appears
Notes:
1. I am not a coder, so I use cut & paste to write my scripts. There maybe easier way to do this
2. You may take out these 2 lines:
busybox cp -f /sdcard/FreeX10/e2fsck /system/bin/e2fsck
busybox cp -f /sdcard/FreeX10/ramdisk.tar /system/bin/ramdisk.tar
In freex10.sh if you already have the 2 files e2fsck & ramdisk.tar copied to /system/bin folder
Bricked g tab
I am locked into a loop hell with a fc of android.process.acore has stopped. I cannot get past this error or FC. any ides???
djohncline said:
I am locked into a loop hell with a fc of android.process.acore has stopped. I cannot get past this error or FC. any ides???
Click to expand...
Click to collapse
No idea. You may want to check out this thread for solution:
http://forum.xda-developers.com/showthread.php?t=851443
I was running Bricked Kang but installed the new build of cherry but now the old bricked rom's kernal is still a boot option, how can i remove this kernal from my touchpad and delete the entry in moboot?
I had the Bricked installed myself, and decided to go back to the stock CM9 kernel (since I was having FC issues with certain apps).
Here's what I did:
Open up Terminal Emulator
Type the following:
Code:
su <enter>
mount -t remount,rw /boot <enter>
cd /boot <enter>
rm uImage.CM <tab> <enter> (press Tab until the CM-Bricked is filled in)
echo "CyanogenMod" > moboot.default <enter> (this will set you back to defaulting CyanogenMod. If you want another, use the name of the uImage.<whatever> for Cherry (just put everything after the uImage. part)
reboot <enter>
That'll remove the Bricked Kernel from your boot options, and set your default to Cherry (or in my example, CyanogenMod). Make sure you have the proper Wifi modules installed from your Cherry install, and you should be good to go.
Hope that helps, mate.
I'm having the same problem and that proposed solution did not work...I got a Read only file error...thanks, though...
You have to make sure you mount the /boot partition before you try and do the changed. If it isn't mounted, you get that error.
Sent from my cm_tenderloin using xda premium
ve6ay said:
You have to make sure you mount the /boot partition before you try and do the changed. If it isn't mounted, you get that error.
Sent from my cm_tenderloin using xda premium
Click to expand...
Click to collapse
Could you elaborate on how to do that please? The CM_Bricked thing has been bothering me as well.
Thanks in advance!
I had the exact problem and instead of playing around with the instructions I just went to a backup I had before the install.
It worked like a charm for me. If you have a recent backup on CWM don't hesitate to use it .
Hello.
I'm facing the infamous problem of "not enough space" when downloading from the market, while I actually have plenty of space. The ultimate solution seems to be moving download cache to the SD card (symbolic link). The problem is that the download cache with ICS and Google Play isn't located in /cache/download anymore, and I have been unable to find where it is located both searching with Google and browsing the filesystem.
Any help?
Look in the market for opda system tuner lite, it'll clean it right up
Go to /data/app/ and delete the Titanium Backup ODEX. If this doesn't work, read the PM I'm about to send you (moda will complain it's illegal (it isn't for this purpose though)).
Sent from my GT-I9100 using XDA
Hello. Thank you both for replying, but you both answered a different question than the question I asked. I have already tried to clean market cache, to no success, and I believe very strongly that the solution is moving download cache to the SD card. I found lots of people with Google having my very same problem and fixing it this way. The problem is that I am now using MIUI ICS with Google Play, and the download cache location is different. Does anyone know where the download cache is located with ICS / Google Play Store?
Just to be 100% sure I also tried okmijnlp solution, and as I was expecting it didn't fix the problem.
Ok, solved the problem myself. The folder I had to link to SD card is /data/data/com.android.providers.downloads/cache. This worked on a MIUI v4 ROM (after rebooting).
Black Antitoon said:
Ok, solved the problem myself. The folder I had to link to SD card is /data/data/com.android.providers.downloads/cache. This worked on a MIUI v4 ROM (after rebooting).
Click to expand...
Click to collapse
Could you please advice how you have changed this, as i am new Android user hence not much aware how do go about it.
Hello.
I have bad news for you: after writing my last post here I realised that the problem wasn't actually solved (it only worked fine for a few hours), so linking that folder to the SD card is not a solution to the problem I was experiencing. However you are likely to need to link some folder to another one on your phone at some time, so I am explaining you these steps anyway.
First, you need to be on a rooted ROM. If you aren't, then have a look on the forum about your device here on xda and good luck for the rooting process.
Afterwards, you need the "Terminal emulator" application. If you don't have it, please download it from the market. Then run it and enter the following command:
Code:
su
This will give root rights to the terminal emulator app.
Now you can run the following commands.This will create the new folder on your SD card:
Code:
mkdir /sdcard/downloads
This should move all the contents of the "cache" directory into the new directory which you have just created:
Code:
mv /data/data/com.android.providers.downloads/cache/* /sdcard/downloads/
This should delete the now empty cache folder:
Code:
rm /data/data/com.android.providers.downloads/cache
This will finally created a symbolic link which has the same name of the old cache folder but points to the new folder on your SD card:
Code:
ln -fs /sdcard/download /data/data/com.android.providers.downloads/cache
I am not a Linux expert and I haven't tested these commands on my phone right now, so I'm not 100% sure that I haven't done any mistakes.
thanks for your reply
the solution didnt work for me as i dont have same .com folder. i tried searching on google and below steps helped in resolving the cache issue
1. You gonna need Android Terminal Simulator or equivalent terminal app. This will also require your Android rooted.
2. Type ’su’ (root permission request will be showned, you need to approve it).
3. Type ‘cd /’
4. Type ‘umount /cache’
5. Type ‘mount -o rw,remount -t rootfs rootfs /’ (to set the folder access to rw – read write)
6. Type ‘rmdir /cache’ (delete cache folder)
7. I personally using root explorer to do point 5-6
8. Type ‘mkdir /sdcard/cache’
9. Type ‘ln -s /sdcard/cache /cache (to link cache folder to /sdcard/cache – which should have bigger partition size)
Now i am able to download 30MB application on my phone from market.
Black Antitoon said:
Ok, solved the problem myself. The folder I had to link to SD card is /data/data/com.android.providers.downloads/cache. This worked on a MIUI v4 ROM (after rebooting).
Click to expand...
Click to collapse
Yes, it works for me using the root explorer under CM10.0. Thanks.
Hi!
I'm having the same trouble with not enough space, and when i run these command, it says operation not permitted. What to do? :/ It says thatsome sd card doesn't allow links?
Have you typed "su"? What happened then?
In any case, let me repeat that the procedure above eventually did NOT solve the download cache problem, if this is what you are looking for. The only solution for me was switching to a different ROM.
It's not need to use the console (Terminal Emulator). Just do the following:
1. Install Root Browser Lite (grand rood permissions if neccessary)
2. Delete the /data/data/com.android.providers.downloads/cache folder
3. Create the /sdcard/cache folder
4. Go to sdcard, select the new created cache folder by long press and choose 'Create shortcut' from list, you will see 2 buttons, 'Create' and 'Cancel'
5. Go to /data/data/com.android.providers.downloads/ and tap 'Create' button below
6. Enjoy!
You can use any other root file manager, of course.
The download cache was also at /data/data/com.android.providers.downloads/cache/ on the 4.2.1 jellybean ROM I'm running right now as well.
Thanks for posting the info!
wilderwind said:
It's not need to use the console (Terminal Emulator). Just do the following:
1. Install Root Browser Lite (grand rood permissions if neccessary)
2. Delete the /data/data/com.android.providers.downloads/cache folder
3. Create the /sdcard/cache folder
4. Go to sdcard, select the new created cache folder by long press and choose 'Create shortcut' from list, you will see 2 buttons, 'Create' and 'Cancel'
5. Go to /data/data/com.android.providers.downloads/ and tap 'Create' button below
6. Enjoy!
You can use any other root file manager, of course.
Click to expand...
Click to collapse
Thank you for your extremely clear explanation!
Nevertheless, despite having resolved the problem of lack of space for downloading apps from the store, with the help of your expertise, now everytime i reboot the device it shows me the message "android.process.media has stopped..."
I know it is related with the shortcut for the cache downloads.
Do you know how can I fix it?
Thank you.
TX a lot
Black Antitoon said:
Ok, solved the problem myself. The folder I had to link to SD card is /data/data/com.android.providers.downloads/cache. This worked on a MIUI v4 ROM (after rebooting).
Click to expand...
Click to collapse
+1000
Firstly, apologies if this is the wrong forum to post this but to me it looked the most obvious :laugh:
I'm trying to get a CWM install.zip package (writing it myself) to delete user apps (aka bloatware) - I'm using the installer-script way of doing things.
Here's what I've tried.
Method 1:
mount data
remove_recursive("/data/app")
umount data
Result 1:
blank directory is there on rebooting into JB
Method 2:
mount data
remove("/data/app/bloatware.apk")
umount data
Result 2:
Individual apk files are removed
So you ask, I got it nailed so what's the problem? The problem is either method results in ghost apps appearing in Settings/App where the app name appears in the com.developer.name format and is zero bytes. I can then uninstall it via the normal Uninstall button and It goes away but how can I properly remove it from inside CWM ? Are there files/databases where the apps are stored that need to be purged?
Secondly, whilst I have your attention , what is the proper way to mount the internal Sdcard, I've tried /sdcard,/mnt then going into sdcard, /storage then using /sdcard0 but nothing works either deleting directories or add them. Any ideas anyone?
Many thanks
Adrian