Force apps to sd card - Android Software/Hacking General [Developers Only]

Hi guys ,
Got a question ..
I've got an htc desire so I only got around 100mb main storage , so I want to get my apps on my sd card (8gb)
The problem is, which ofcourse is known , that not all apps can do that , so I tried to get some commands in , like ;
adb shell
set pmInstallLocation 2
which should make my sd card the main storage to install apps on , but it's not working.. any ideas or solutions?!
thnx in advance

Flash a rom that has aps2sd data2sd

Related

Vodafone Smart tab 2 (Lenovo A2107A) - Swap SD

I couldnt find a dedicate thread for Vodafone Smart tab 2. So I guess I ll post this here maybe will help some people.
This tablet is basicaly a Lenovo A2107 (A2107A_A404_010_002_120913_VODA)
- with single sim slot ( call feature restricted - only data enabled) and 4gb storage (1.8 gb user available)
For root - you can use http://forum.xda-developers.com/showthread.php?t=2044496
User isyrider managed to install recovery and pemergency rom unlocking the calling feature also.
I was looking for a way to swap the internal storage with the sd card so I could get more space if posible without installing a custom rom to avoid incompatibility issues that could appear. Directory bind can help with big game files like gameloft but those 2 gb are still not too much . I was unable to install N.O.V.A 3 because it requires 1.81 gb free on sd.
Anyway long story short . To swap internal memory with SD card you need to have root and replace your VOLD.FSTAB file from system/etc with the one I attached.
You need to have root .
Use any root explorer.
Unzip attachment
Rename your VOLD.FSTAB to VOLD.FSTAB.BAK
Copy my VOLD.FSTAB to system/etc
Reboot.
Check in settings, You will see your sd card listed as internal memory.
This combined with link2sd app will give you plenty of space to install anything .
Hope this helps .
Hi icrazy, I've tried this procedure but unfortunately, I wasn't able to copy your 'vold.fstab' to the directory 'system/etc'. I've rooted my unit before I did this. Now the unit cannot detect SD card. I cannot rename/copy/move any file on this directory. please help... How to restore it, Thank you in advance
Hello, I don't understand what happen. If you were not able to copy my vold.fstab what did you change ? I ask this because you must have done something if now is not working.
Anyway it looks like is a problem with your file explorer , make sure it has read /write rights for system files.
Can you please share some light on isyrider? what is that? where can we find it? Google search didn't seem to help me with this
Is there any way in unlocking the phone feature without installing a different ROM? The last time i did that, with another lenovo tablet, i lost my 3g capabilities , and honestly i don't want to repeat that thing allover again.
Thank you icrazy, working perfectly
I have now 2x Vodafone Smart Tab II 7" with 4 GB and 8 GB storage on internal memory
Hi i managed to use the vold.fstab and replace the internal memory with the sdcard but my problem wasnt solved because the tablet also has another partition 503mb of internal storage and when i install any app will install the apps data on that internal storage even if i have sdcard or internal memory as default write disk so after a couple of apps i have the out of space issue because the internal storage is full is there any way to swap the internal storage 503mb ( not the internal memory 1.85gb) with the internal memory or even with the sdcard this is really stupid why have only 503mb of internal storage if the apps save keep saving data on that partition
Regards
Cristian.Ene said:
Can you please share some light on isyrider? what is that? where can we find it? Google search didn't seem to help me with this
Is there any way in unlocking the phone feature without installing a different ROM? The last time i did that, with another lenovo tablet, i lost my 3g capabilities , and honestly i don't want to repeat that thing allover again.
Click to expand...
Click to collapse
Sorry to bump an old thread but i'm also wondering how it's possible to install a custom rom on this tablet. Any help aprecciated

[Q] Micromax Unite 2 - Rooted and Internal SD card

Hi ,
I really need a help !! I bought the new Micromax Unite 2 A106 and some how with the help of XDA forum i successfully rooted (installed supersu from recovery - i flashed recovery with scatter some method found from the forum). Now i have few questions which really i am dying to know., please help me
I am using 8 GB SD card (Class 4)., partitioned as 1st partion FAT32 ~4GB and 2nd partion as EXT4 ~4GB
Questions:
1. From settings -> storage, my mobile is showing.
1.1 Internal Memory ( Total: 1.89 GB out which i almost used every thing)
1.2 External SD card (Total: ~4 GB)
1.3 Internal SD card (Total 1.97 GB out of which nothing is used)
My EXT4 memory is not show., But in Link2SD Storage-info it is show (also mounted some were on /data/sdxta2)
With out help of Link2SD, Before installing apps... In settings -> storage i selected "Internal SD" as default installation location. Tried to install many apps nothing goes into Internal SD memory (Total 1.97 still seems to be free) which is accessible from file explorer.
With help of Link2SD, created a mount script in EXT4 partion... After reboot Link2SD didn't give any error for mount script., In Link2SD created "link" for apps and it asks for a reboot.. after reboot., the app is not show in android., but i can see they have been linked /data/sdxta2.
I don't understand why linking apps disapper and why can't i use that Internal SD memory of ~ 1.97 GB for apps installation.
Thanks a ton guys !!! your help will save my Unite 2 & Me
suggestion
rsenthilkumar said:
Hi ,
I really need a help !! I bought the new Micromax Unite 2 A106 and some how with the help of XDA forum i successfully rooted (installed supersu from recovery - i flashed recovery with scatter some method found from the forum). Now i have few questions which really i am dying to know., please help me
I am using 8 GB SD card (Class 4)., partitioned as 1st partion FAT32 ~4GB and 2nd partion as EXT4 ~4GB
Questions:
1. From settings -> storage, my mobile is showing.
1.1 Internal Memory ( Total: 1.89 GB out which i almost used every thing)
1.2 External SD card (Total: ~4 GB)
1.3 Internal SD card (Total 1.97 GB out of which nothing is used)
My EXT4 memory is not show., But in Link2SD Storage-info it is show (also mounted some were on /data/sdxta2)
With out help of Link2SD, Before installing apps... In settings -> storage i selected "Internal SD" as default installation location. Tried to install many apps nothing goes into Internal SD memory (Total 1.97 still seems to be free) which is accessible from file explorer.
With help of Link2SD, created a mount script in EXT4 partion... After reboot Link2SD didn't give any error for mount script., In Link2SD created "link" for apps and it asks for a reboot.. after reboot., the app is not show in android., but i can see they have been linked /data/sdxta2.
I don't understand why linking apps disapper and why can't i use that Internal SD memory of ~ 1.97 GB for apps installation.
Thanks a ton guys !!! your help will save my Unite 2 & Me
Click to expand...
Click to collapse
dear frd,
i have got the same problm successfully rooted with ctr recovery but whn i tried for link2sd i had lots of problms many times i reformated my 32gb card its little bit risky too who knws what will happen after any step after making and trying all typs of ext 2 3 and 4 also fat32 partition the second one i found the same thing after asking permission for second partition n reboot it disappears all installed/linked apps so if u r unable to get them plz go for the remount option of the link2sd settings that is the 1st one which will manually ask to link again second partition just select fat32/fat optn it will again suggest to reboot after that u will get all ur apps back that u have installed and u can make them systm app / even uninstalling the many unwanted apps. strictly i m saying u that plz dont make any risky action like trying apps from chinese link even if it is available in english it i.e mtk partition typ app dont remembr the name was ok it will make ur android in boot u cant do anythg after that u will only go for service center they will make just update ur fon and it will be fine but plz dont try risks wipe/factory reset can make cache/recovery unvailable to mount fon will not start and error to mount ex sd too....huh final words to say i hve read that kitkat doesnt support link2 extrnl sd service so w8 for other developers to make change and untill that try above 1st 3 lines only i will help many other hope its helpful for u developers thanks for initiating and working on micromax unite 2
note=after linking to fat32/fat secound partition by the remount link option in link2sd app u will be able to make/move system app to internal sd too or u can make it for external microsd card,along it uninstall unwanted apps n make some visual affects by making launcher n docks converted to system app and can remove the default launcher too i m using galaxy s5 launcher/docks and remember dont try if what u dont meant so for uninstalling
again thanks you,developer
Be sure what u doing it may brick ur fon coz warrenty voids after root u already knw this.
Solved
Hello,developer
i m very happy to say that my struggle made apps to link sd-ext 4 , was nervous performing again recovery flash n root too after updating my mmx unite 2 From service center Thn i installed link2sd app having 2;partition on mh 32gb m sd card. I made 2gb sd-ext by formatting same method of using tool mini partition on pc with card reader and rest is Fat32 Partition whixh is the 1st part both r made primary type so started with link2sd 1st i allowed ext4 Permission by superuser than rebooted the fon as it suggested thn uncheckd settings making installation to automatic storage mode thn i installed apps simply n moved towards settings changed it to external storage location from automatic and just started to click on app n clicked for link i have pro version it made all dalvic cache along with data n apps library to sd-ext n rebooted. Thn i found the apps were..disappear and thn from the remount option tht i suggested before,checkd for fat32/fat optn before rebooting checkd all library settings too n rebooted n apps were visible this tym, storage info was showing sd-ext is not mounted again from remount links library optn from link 2 sd checked this tym for ext 4 Type partition n rebooted. Aftr tht mounted 2nd partition was
showing used storage i.e apps got linked to ext-sd n now i have More thn 2gb intrnl memory hope it will help u
thank u

[Completed] external storage + sd card not working

hello
i just got today clone s5 and the internal storage has only 1.30gb free and 32 sd card and i wanted to install big apps like injustice any way
1 sorry for my bad english
i rooted the phone using impactor
then i used "swap sd.apk" to make the sd card as the premary extrenal storage now i cant find external storage + sd card not working the camera wont takes pics and i can't send files from my computer to the phone
i've tested the sd card on my s3 and it works fine pls help
XDA Visitor said:
hello
i just got today clone s5 and the internal storage has only 1.30gb free and 32 sd card and i wanted to install big apps like injustice any way
1 sorry for my bad english
i rooted the phone using impactor
then i used "swap sd.apk" to make the sd card as the premary extrenal storage now i cant find external storage + sd card not working the camera wont takes pics and i can't send files from my computer to the phone
i've tested the sd card on my s3 and it works fine pls help
Click to expand...
Click to collapse
The app that you tried might not be supporting the s5 clone.
So i would recommend you to uninstall that app and then reboot your phone.
There is a change that your problem might be fixed.
did factory reset and didn't help
thank you so much for replay any way that didnt help
i flash new rom or the phone it turn up the same old rom and problem fixed
now i lost the imie how do i restore the imie please

My P8 Get Decrease Speed ( Total Phone Speed ), After SD Card Installed !

hi guys.
i have new problem with my huawei p8
after days i bout my huawei p8 , and installed many aps , my phone storage get low
so i buy a SD card and put my data on sd card !
and i try to install all my data and aps to my SD CARD , but my phone get very very low speed !
after this , i reset my phone and installed all aps on phone storage BUT my data and media is my on SD CARD
now my phone is better ! , but i feel my phone total speed is decreased and some times get hanged after install SD CARD !
==> SD CARD Is : Viking U10 84 MB/S U & D Speed
So , whats going on ? what i must to do ?
Tnx guys.
Buy a decent class 10 sd card.
Sent from my HUAWEI P8max using Tapatalk
Leechoonhwee said:
Buy a decent class 10 sd card.
Sent from my HUAWEI P8max using Tapatalk
Click to expand...
Click to collapse
I tryed class 10 , UHS-1
Already buy that , but still have problem !
any one ?!!
I need to understand how you push the app data to SD card? Via titanium backup? Native lollipop do not support writing to ext sd card anymore and that's why apps like whatsapp cannot save to ext sd now.
Don't put your data on ext sd. Only media.
Sent from my HUAWEI P8max using Tapatalk
Dear Leecho
my apps are on my phone storage , games like NFS or WOT or some games what have obb data is on my SDCARD
how ? i set my defualt storage location on SD CARD on lollypop setting
so , we cant install APK on sd card ? or data games [OBB FILES] ?? ONLY MEDIA ON SD CARD ?
cant install data like SYGIC MAPS or GAMES OBB DATA FILE on microsd card ?
reason of my hanging and low speed phone is this ? installed GAME DATA [NOT APK] or some application data on microsd card ? ... SORRY SO MEANY QUESTIONS ...
THANKS
pooya2ir said:
Dear Leecho
my apps are on my phone storage , games like NFS or WOT or some games what have obb data is on my SDCARD
how ? i set my defualt storage location on SD CARD on lollypop setting
so , we cant install APK on sd card ? or data games [OBB FILES] ?? ONLY MEDIA ON SD CARD ?
cant install data like SYGIC MAPS or GAMES OBB DATA FILE on microsd card ?
reason of my hanging and low speed phone is this ? installed GAME DATA [NOT APK] or some application data on microsd card ? ... SORRY SO MEANY QUESTIONS ...
THANKS
Click to expand...
Click to collapse
Any help ? guys ?
pooya2ir said:
Any help ? guys ?
Click to expand...
Click to collapse
On Lollipop firmware the default is always install on phone sd card. Note that this is not referring to external sd card. I'm not understanding how you can install on ext sd card. You can move some data over to the ext sd but that should not affect performance assuming you already had a decent ext sd card.
If you suspect some apps is causing your phone to be slow, try restoring the firmware again and install one app at a time and see which is the culprit. You might also wanna make use of the clear ram widget provided by Huawei to keep your memory free by closing unneeded app like Facebook, messenger, etc in the background.
Sent from my HUAWEI P8max using Tapatalk

Can't edit/move Folder on my sd card

Hi ,
Yesterday i flashed a mashmallow rom on my Samsung Galaxy note 2 . Every thing was fine until i got a message which told me to erase my sd card so as to be able to move my apps on it. I accepted but the setting crashed when i pressed ok . I entered in the setting again and i saw that my sd card was corrupted .Since then i flashed my previous rom and i'm now on android lollipop. But the problem is that i can't create/move any forlder on my sd card . I'm able to move my photos or rar file in the sd card. I am also able to create new File in it .
I want to know xhat is the problem and how to fix it. I know i wrote a long essay but i am worried about my Sd card because its a 32 GB one . please help me .... and thanks in advance .
Hi , try format your sd card first, or wipe internal storage from revovery , may it help you
Sent from my Nexus 5 using XDA-Developers mobile app

Categories

Resources