Can't install App & game into SD Card - HD Mini General

I user rom adroid new release from Google Dev is july some app & game can install on ram but some app & game require install on SD card. when i install on sdcard or move from ram to sd card have error
"Installation error
Couldn't install on USB storage or SD card"
How to can install app & Game on SD card ? Please advise me....

momaymint said:
How to can install app & Game on SD card ? Please advise me....
Click to expand...
Click to collapse
Unmount sdcard in memory serttings and install these apps/games in "internal" memory.
"Internal" because it is data.ext2 file that placed on sdcard.

....
DmK75 said:
Unmount sdcard in memory serttings and install these apps/games in "internal" memory.
"Internal" because it is data.ext2 file that placed on sdcard.
Click to expand...
Click to collapse
If want to install .apk , How to install ?
My step
1.Copy .apk to my SD Card
2.Open Astro Filemanager
3.click the file .apk
4.click "open App Manager"
5. "Install"
Have Error "Application not installed

momaymint said:
If want to install .apk , How to install ?
My step
1.Copy .apk to my SD Card
2.Open Astro Filemanager
3.click the file .apk
4.click "open App Manager"
5. "Install"
Have Error "Application not installed
Click to expand...
Click to collapse
Maybe try from this way, see how its looks in initrd:
Code:
if [ -d $card/AndroidApps ]; then
echo "Install apps"
# create app directory if not found
[ ! -d /data/app ] && mkdir /data/app && chown 1000:1000 /data/app && chmod 0771 /data/app
# copy to temporary directory so we can set owner and permisions ( can't do it on sdcard's fat )
[ ! -d /data/app/tmp_copy_dir/ ] && mkdir /data/app/tmp_copy_dir
cp $card/AndroidApps/* /data/app/tmp_copy_dir
chown -R 1000:1000 /data/app/tmp_copy_dir
# set permisions, 0644 for file, 0755 for directory
find /data/app/tmp_copy_dir/ -type f -exec chmod 0644 {} \;
find /data/app/tmp_copy_dir/ -type d -exec chmod 0755 {} \;
# move apps to app directory
mv -f /data/app/tmp_copy_dir/* /data/app
# cleanup
rm -rf /data/app/tmp_copy_dir
rm -rf $card/AndroidApps
fi
Try:
- make folder "AndroidApps" on your sd card
- coppy all .apk to its folder
- run haret

....
Why i can't edit file intrd.gz

Most say unmount SD card and install it there. Phone Memory in Android is iconic since all files (including .data) are in SD Card (in Windows)!
However even though its iconic, it runs low. Therefore can not install more apps there.
So what I do is:
1. Unmount SD Card and install app.
2. Moun SD Card again!
3. Downloaded App 2 SD (application from market). This app will help you organize your apps and move them to SD Card.
BUT: This only happens in latest realease. 10.7.11
Previous releases say failed to move to SD Card (similar)!
If you have any problems PM me freely.
Be Happy mate!

Related

Cant push update to SD

So last night I installed the newest JAC Hero build and it was forcing close on google maps and a few others. In the thread it said to format your ext2 partition so I used paragon and I thought I formated it but now It wont get past the HTC screen. I can go to recovery and fastboot but when i try to push any new update it just updates to the hero rom again. Also if I use ls to list the files it shows nothing in /sdcard but obviously it has stuff since it still will flash the hero rom fine. How can I make a new update override this one when I push it to the phone? I dont have a card reader so I have to use my phone.
You must have your FAT32 partition first, the big one,where you put your update.zip and then a ext2 or ext3 partition of ≈500mb.
have you respect this order ?
Yes, I have a 1gb card and my 600mb fat32 is first then a 400mb ext2.
When you are in adb your ext2 partition is /system/sd
More than likely you need to do this part from my post here: http://forum.xda-developers.com/showthread.php?t=517874
Delete existing apps on SD
Code:
adb shell rm -r /system/sd/app
adb shell rm -r /system/sd/app-private
imfloflo said:
≈500mb.
Click to expand...
Click to collapse
You have 500mb of bacon?!?!
When I try those commands it says no such directory or file for both.
EDIT: I just got it fixed with these commands from brandenk's thread:
adb shell mount /sdcard
adb shell rm /sdcard/update.zip
adb push *filename* /sdcard/update.zip
Charbo said:
When I try those commands it says no such directory or file for both.
Click to expand...
Click to collapse
if you are in recovery you first need to mount the ext partition:
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
phantasm714 said:
if you are in recovery you first need to mount the ext partition:
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
Click to expand...
Click to collapse
Ok, so I thought it was fixed but it was stuck at the android screen. Im guessing because of my apps still on the card? When I tried your command it said no such file or directory also so I did mkdir /system/sd and tried again and it said invalid argument.
I got it into android now with the sd card out when i turned it on. So now is there any way i can completly wipe the sd card of all partitions from in windows so I can start over?
EDIT: Got it formatted from the sd card settings on the phone lol... now I can start over thanks for all your help.
I'm hoping someone could help me with loading JAC's 2.2 Hero rom
I've never had any problems updating, but I had never tried a hero rom before
When trying to update i get this error
"Copying files...
E:Can't chown/mod /system/xbin
(No such file or directory)
E:Failure at line 12:
set_perm_recursive 0 2000 0755 0
6755 SYSTEM:xbin
Installation aborted"
Anyone know whats causing this?
There's a handful of people also experiencing this issue

Problem with copying folders Root access

I'm trying to copy some files from my nexus one to my sdcard.
I am doing ./adb-mac remount
then going in there and cp -r folder to /sdcard/folder
It shows that it's copied and i can see the contents of that folder in the terminal.
When i mount the sdcard on my computer and open it up with finder, the folder is empty.
Any ideas? Thanks.

[scripts] (untested) app2sd scripts, sd card speed fix script

hi all! im new TF user but i tough i could post here some fixes and scripts that i use on my Samsung galaxy 3 but beaware that i have not tested these but they should work on every device im not responsible for any damage that may occur when you apply these scripts!!
1st there are 3 app2sd scripts
What is App2sd? App2sd is a utility which automatically moves some/all your data partition to your ext sd partition. So, your internal space is partially/not used
Which app2sd version should i choose? As you can see, there are 3 versions: App2sd-v1, App2sd-v2 & App2sd-v3.
Differences in versions App2sd-v1: It is the normal app2sd script. This script moves your /data/app/ & /data/log/ to your sdcard's ext partition. It is very fast but your real internal space will be full if you install many apps. This version is not recommended. App2sd-v2: It is an enchanced version of app2sd, which moves /data/app/, /data/log/ & /data/dalvik-cache/ to your sdcard's ext partition. It is fast and you can install many apps until your internal memory reaches 0mb.. Is is recommended for sdcards class2 - class4. App2sd-v3: It is an ultra enchanced version of app2sd, which is like data2sd, but you won't have so many lag like data2sd. App2sd-v3 moves /data/app/, /data/log/, /data/dalvik-cache/ & /data/data/ to your sdcard's ext partition. Your internal memory won't be used unless you do install so many apps and your sdcard's partition get full! SDcard class6+ is highly recommended! Conlusion: If you have class2 or class4 sdcard use App2sd-v2. If you have class6 sdcard use App2sd-v3.
Requirements You must have a kernel which supports init.d & ext4. And you must have an ext partition in your sdcard. Ext4 is recommended. And last thing... You need android 2.2.
How do i check my sdcard's class? Remove your sdcard from your phone and check if you see a circle with a number. If your dont see anything, you may have a class2 sdcard.
How to partition my sdcard? Download MiniTool Partition Wizard Home Edition 6.0. But make a backup before
How to install the script? Take a nandroid backup. Download it from links below and decompress it to your sd. You can either adb push this script in /system/etc/init.d/ or copy it with root eplorer to /system/etc/init.d/. Type the commands: adb shell (adb only) su mount -o rw,remount /dev/block/stl6 /system chmod 777 /system/etc/init.d/* chown 0.0 /system/etc/init.d/* Then reboot in recovery and do a wipe data/factory reset. All your data will be wiped. From now on some/all of your data (depends on the script version) will be moved to your sd automatically. Before you restore your apps with titanium, go in titanium preferences and select to force restore apps to internal memory. Don't move apps to external!!
Why i see only 200mb as internal? App2sd is invisible You can check your sdcard's ext partition in Titanium Backup.
=> app2sd script v.1
http://forum.xda-developers.com/attachment.php?attachmentid=592379&d=1305062488
=>app2sd script v.2
http://forum.xda-developers.com/attachment.php?attachmentid=592380&d=1305062488
=> app2sd script v.3
http://forum.xda-developers.com/attachment.php?attachmentid=592381&d=1305062488
credits go to KYRILLOS13 who introduced these on SG3!
then there is sd card reading speed fix
How to make it work!
At first it needs root & busybox...
Download the script, choose the cache size you want between 1024, 2048, 3072, 4096 kb! (Recommended size: 2048kb)
Extract the .zip file you downloaded and put the 77sdcardspeedfix in your sdcard.
Run root explorer and move the file in /system/etc/init.d/ (If there is no init.d folder, create one!).
You can also adb push 77sdcardspeedfix /system/etc/init.d/
Run a Terminal Emulator/Adb and type the commands:
Code:
adb shell (if you are using Terminal Emulator, skip this command)
su
chmod 777 /system/etc/init.d/77sdcardspeedfix
chown 0.0 /system/etc/init.d/77sdcardspeedfix
reboot
After that the phone will reboot. You will see that your sdcard reading speed has increased!
thanks for BRAINMASTER who made the script!

[HOWTO]Format and Use your int. sdcard as ext4

Tested on BOCA RC1. (not sure if works in other roms)
This is a mini tutorial, for partition and mount correctly your internal sdcard as EXT4.
Do it at your own risk.
First make a backup of all your sdcard data.
PROS:
-No more fragmentation.
-Read/Write speed faster.
-Random read speed faster.
-Mount almost instantly.
-Better security (if you care about that lol)
CONS:
-Permissions problems (can be fixed using a script)
-If you use windows, you need to use a ext4 mounting program (Ext2Fsd) works fine.
-Recovery mode, doesn´t mount internal sdcard.
To partition int. sdcard you need to mount USB Storage.
And use Minitool Partition Wizard in Windows. to format to ext4.
if you use a linux based system:
Open terminal.
Code:
cfdisk /dev/sdx
Code:
mkfs.ext4 /dev/sdx
x: the letter of partition, you can find it using "mount" command.
After the format is done. (Windows or Linux)
Use adb to run the following command.
Code:
adb shell chmod -R 777 /mnt/sdcard
This command will make all the file system readable/writeable.
Then go to recovery and mount internal storage in usb, and restore the backup.
If the sdcard doesn´t mount automatically, go to setting > Storage and select activate sdcard.
or run the following command using adb. or terminal emulator.
Code:
adb shell mount -t ext4 /dev/block/vold/179:1 /mnt/sdcard
I recommend to make a fresh install of BOCA RC1 after format sdcard.
Because recovery doesn´t mount the sdcard, if you want to flash a new rom or a .zip file you need to use a external sdcard.
If you already have BOCA RC1 go to recovery and wipe cache and dalvik cache.
There´s a problem with the permissions, sometimes files or folder created with some aplication or copying files from pc to tab doesn´t appear or aren´t writables.
This can be fixed. runinng the following script in terminal emulator, script manager and ROM Toolbox (recommended)
Code:
chmod -R 777 /mnt/sdcard
chmod -R 777 /mnt/Android/data
This is quite anoying some times .
Credits to art_sn00p
PD: If some dev can help me with the permissions problems it will be apreciated
I can confirm that is working in lastest CM9
rafaeker19 said:
I can confirm that is working in lastest CM9
Click to expand...
Click to collapse
ayudame por favor tengo un problema con mi p1000n
help me please, i have a problem whit my p1000n, i'm san salvador

External SD card write support for T530N? - solved

Is there any fix for external SD card write support for the T530N? I'm on a rooted stock Samsung build BOI2 ROM and TitaniumBackup is not happy .
UPDATE: I followed the information in the thread [FIX] SD Card Write Restriction ALL Firmwares and Models and it works.
I attached an edited platform.xml file in case anyone wants it. The upload is named platform.xml.txt so it has to be renamed to platform.xml before being copied to /system/etc/permissions
Obviously keep a backup copy of the original in case anything goes wrong. Also be careful, because if there are any problems or errors with that file and it can't be read by the system, there will be MAJOR issues. I recommend using the "more" command in the terminal emulator to validate that the file looks good, prior to copying it to /system/etc/permissions as outlined in the steps below.
Before being copied the /system directory must first be re-mounted as read-write with the following command:
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system
Since I did not have a root file manager I just installed terminal emulator, switched to superuser with "su -", copied /system/etc/permissions/platform.xml to the sdcard, copied it to my computer, edited it, copied it back to sdcard, then copied it via the root shell to /system/etc/permissions.
I can verify it works and TitaniumBackup is now happy.
Aethera said:
Is there any fix for external SD card write support for the T530N? I'm on a rooted stock Samsung build BOI2 ROM and TitaniumBackup is not happy
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2716881

Categories

Resources