Hi,
I own a HTC One A9s (e36_ml_uhl) and I am running stock firmware, rooted and bootloader unlocked.
I downloaded Titanium Backup (Pro) from Play Store to backup some of my Apps, so far, everything was fine!
I tried Link2SD Apk to "move-link" some of my Apps to an Ext-SD Card (used "Link" method) but it didn't seem to work properly, because when I opened a Linked App to the Ext-SD card this App crashes and close inmediately so I "un-linked" the Apps!
I tried to "restore" my Apps using TiBu but for some reason It was taking tool long (now I know how to avoid this; too late now I guess!) so I "forced" to stop TiBu and "delete" the Backup Folder (bad move my fault!) to install them "fresh" from Play Store or Third Party Source (downloading to the Internal Storage).
SURPRISE!!! FOR SOME REASON I CANNOT INSTALL THE APPS LINKED NEITHER FROM PLAY STORE OR THIRD PARTY SOURCE!!!
I tried to delete all of the remaining Data from those APKs in my Phone (I not sure If I still missing something else to do) but the Play Store still sending the Pop Up Message: "CAN'T INSTALL (Name of the App) - TRY AGAIN, AND IF IT STILL DOESN'T WORK - SEE COMMON WAYS TO FIX THE PROBLEM - SEND FEED BACK - GOT IT", and Apps out of Play Store can not be installed either!
Everything else is working fine just I can't reinstall those specific Apps!!!:crying:
Hope you can help me to figure out how to reinstall the Apps back.
Thank You!
Do a Factory Reset
BTW:
You should have two partitions on your external SD-card and both should be primary:
The first FAT partition is your standard external SD-card storage. The second partition is used by Link2SD for application files and can be ext2, ext3, ext4 or f2fs.
You need to use a non-FAT file system (ext2, ext3, ext4 or f2fs) on your second partition in order to link app's private data files this because the FAT file system (FAT16, FAT32 or exFAT) does not support UNIX file ownership or permissions and will cause a security breakdown of app's private files.
Link2SD does not create the second partition, you need to create it yourself.
[SOLVED] (((Cannot Install APPs))
jwoegerbauer said:
Do a Factory Reset
BTW:
You should have two partitions on your external SD-card and both should be primary:
The first FAT partition is your standard external SD-card storage. The second partition is used by Link2SD for application files and can be ext2, ext3, ext4 or f2fs.
You need to use a non-FAT file system (ext2, ext3, ext4 or f2fs) on your second partition in order to link app's private data files this because the FAT file system (FAT16, FAT32 or exFAT) does not support UNIX file ownership or permissions and will cause a security breakdown of app's private files.
Link2SD does not create the second partition, you need to create it yourself.
Click to expand...
Click to collapse
***Great!! Thanks a lot @jwoegerbauer***
>BTW: I solved the "ïnstall issue" following the instructions of this thread: https://forum.xda-developers.com/showthread.php?t=1219029&nocache=1 :good:
Related
Hi I am using Modaco Rom 3.1 with A2SD with Ext3.
I am wondering how do I go about extracting application data, such as chat logs from MSN Droid or notes from Ultramate, from the SD card? Where is application data saved on A2SD on android devices and how could I copy them to my computer? I don't want to back up the data, I just want to be able to view them on my computer.
Any help would be greatly appreciated, thanks.
application data is usually stored in /data/data, but could also go to the fat partition of the card (the part you see on your windows pc when you mount the usb storage) if it is larger data (for example trailmaps saves the downloaded ski area maps on the fat partition), because space in /data is limited.
you can pull it via adb pull and then examine the file, afaik these are usually sqlite databases, but that is only afaik and could vary from app to app.
Thanks kendong2 I managed to pull the data.
But out of curiosity, is this /data/data partition part of the phone's memory, or of the SD card's? I can't seem to browse it using a file manager.
And do applications store any data in the Ext3 partition of the SD card?
/data is part of the phone memory, it is readable only by root. get root explorer or any file manager that uses root and you can read it.
only apps themselves are stored on ext, no data. unless you specify it, which would require modifying the apps2sd script (kinda like "data2sd").
Ok people, I don't understand any of this. Does anyone care to explain to me how this ext4 thing works and how should my phone be set up?
first of all running cwm5 and ICSunday2
At first I partitioned my phone with cwm5, make a 800mb partition on my sd card. Then I used Titanium backup to move my apps to SD card. I set up from CM settings to install apps to external... now all my memory keeps getting full with time. With that partition I don't think I gained anything just lost almost half my SD card capatity.
my current memory according to Titanium:
system rom: 81/216 free
internal: 65/187 free
sd card 684mb/1.1gb free
Also CM settings sais that the device deosn't have expanded internal storage...
Can anyone help me get back to square one and guide me from a clean slate??
Cheers
P.s. while updateing apps i get storage full warning....
Download s2e this will help
Sent from my GT-S5830 using xda premium
will this detect all my apps and put them in the correct place? including them ones already on the sd card moved by titanium?
EDIT: great it just put me in a boot loop, fkin awesome
Edit2: restoring -_-
I used this on all my phones on my galaxy s i had 724 apps installed and on ace ive got353 apps it will put everything like cache apps etc in your ext
Sent from my GT-S5830 using xda premium
yeah i got that, except that the app got my phone into a boot loop... had to restore from cwm
I'll try to explain (CMIIW):
Firstly, the option in Titanium Backup and CyanogenMod settings refer to native Apps2SD, i.e. the one used by FroYo up. It will move data files to your partition under /sdcard/.android_secure/ and/or /sdcard/Android/
a2sd, however (such as DTA2SD, Link2SD and S2E) takes ALL the files of an application and puts them in the ext4 partition, then creates a link (a shortcut in Windows terms) in /data/app/ (and other concerning directories).
My personal favorite is Link2SD, because you chioose which apps to link, what files of the app to link and supports FAT, ext2, ext3 and ext4 partitions.
I have yet to try S2E.
Sent from my GT-S5830
OK, I get it. Thanks. But will it move the apps from the sd card that the titanium moved?
I tried the apps, both move the apps to regular sd aprtition not to /sd-ext
someone tell me what to do step by step, not "download **"
Jokerman170 said:
I tried the apps, both move the apps to regular sd aprtition not to /sd-ext
Click to expand...
Click to collapse
"Both apps" as in Titanium Backup and CM7 Settings?
Okay, I'll try to give you directions to use Link2SD (if you want to use another app, that's fine, but I'll only post instructions for Link2SD for the moment):
1. Download and flash CWM 5.
You've done that, right? Okey-dokey, next step
2. Partition your SD card with CWM.
It's recommended to backup then format your SD card in order for it work optimally. After that, boot into CMW and partition from there. I don't remember where, but it should be under the "advanced" option.
You'll get a prompt on how large the partition will be (I recommend 512MB; it's more than enough). After that, there'll be a prompt on the swap size; you should choose 0MB if you don't plan on using swap, otherwise pick ~200MB.
The created partition will use the ext3 partition; DTA2SD and S2E (AFAIK) don't support ext3, but Link2SD does.
3. Download/install Link2SD from the Market.
Pretty straightforward there.
4. Open and set up Link2SD mount scripts.
The first time you open Link2SD, there will be a dialog on what your 2nd partition filesystem is. As stated above, it's ext3, so pick ext3. After Link2SD creates the mount scripts, reboot in order to be able to start using it.
5. Pick apps to move to sd-ext and set up Link2SD settings.
Sidenote: you can't move system apps to sd-ext, for safety reasons.
You can batch-link your apps to sd-ext by: Filter icon (the kitchen funnel thing; don't know what it's called) > User > Menu button > Multi-select > Menu button > Select all > Menu button > Actions > Create link > OK. By doing that, all your apps will be moved to the ext partition.
If you want to automatically link to sd-ext every time you install an app: Menu-button > Settings > Auto-link.
Hope that'll work. Link2SD never fails for me (except for that one time when the mount script didn't work, but that was because I selected the wrong filesystem type; user error).
thanks for the guide. earlyer today I got a little problem I used the link2sd but i selected ext4, i moved the apps, but they went to the normal partition. i deleted link2sd and used s2e, s2e worket but only transfered the apps from my phone not the ones from my SD card that link2sd moved.. now any app i try to install or move the phone reboots... or sais that i have not enough space on my phone to copy back
any helps with that?
edit: ill just restore my backup and start over
Yup worked fine now, thank you so much again. You should post it somewhere as tutorial for noobs
Hello,
I would like to be able to use the sd-ext partition as a way to store my apps and if possible the config file of them (like config of an app, game saves, ...).
So, I will be able to install a new rom and use directly all my apps which are still on the sd-ext.
And yes, I known that a backup program can do that but it's far to be as good as what I'm looking for.
Apps can be installed on sd-ext using A2SD Script.
If you want to install a new rom without deleting the installed app,then don't wipe (or factory reset).
But most of rom required wipe during installation.
Link2sd is very good app and I find it better than app2sd because it allows widgets to still be used, (Which i beleive cannot be done with app2sd?)
Free download from play store.
You need to partition your sd card though.
Follow this guide to do it, its very easy and gives all the instructions to work.
I have been following this since my x10 days and now onto my neo phone. I cant live without it.
@svprm: Make a wipe is not a problem as I can save my apps by connecting directly my sd-card to my computer. So if a wipe is really necessary: backup data from sd-ext, make a wipe threw CWM, restore sd-ext, install rom
@gregbradley: I already install Link2SD but it creates symbolic links into the /data folder so if you make a wipe of this folder, you lost those symbolic links. So Link2SD could be perfect if it was possible to save/restore those symbolic links!
I think it will work as you said
1.Install the rom as per insutruction.
2.Install the A2SD script.
3.Restore the sd-ext from pc if you wiped.
4.Boot it.
Try it.
Yes sorry, my fault, I thought that you spoke about Link2SD.
So yes, with A2SD it seems to be possible (which require A2SDGui), in this case all the /data/app is moved to the SD as I understand. This will also save the "config files" (like config of an app, game saves, ...) ?
Yes,Apps and Config can be saved on sd-ext by A2SD++
See this thread for more info:http://forum.xda-developers.com/showthread.php?t=1716124
Wow, that's a very interesting thread, I was looking after this for a while. Thanks!
But I'v one more question if I can, where are store the "config files"? Into the /data/data folder?
Because there is so many possibilities with those scripts, it's not so easy to choose. Saving "config files" + apps seems to be the better way as dalvik cache could be regenerated quickly.
Config files are saved on /data/data folder.
Ok, so I've the choice between A2SD++ and INT2EXT.
A2SD++ seems to moves some sub-folders from /data while INT2EXT mount the sd-card on /data. So with A2SD++ there is still some sub-folders on the internal memory.
Have you test both of these solutions, which one is the best for you and why? Sorry to ask so many questions, it's the last one promise.
I think it depends on your sdcard speed(class).
INT2EXT working well for me.
Yokav said:
@gregbradley: I already install Link2SD but it creates symbolic links into the /data folder so if you make a wipe of this folder, you lost those symbolic links. So Link2SD could be perfect if it was possible to save/restore those symbolic links!
Click to expand...
Click to collapse
Isnt that why we use titanium backup?
So when we do a wipe we can restore all apps+data from the backup (Stored on the SD card) and have link2sd automatically relink them.
That always works for me.....I think you are finding problems where thay dont exist.
Yes, it will works like this. But for me using a backup tool is not interesting. The goal of storing data to the sd-card is to don't have to make any backup.
So my choice gone for the CronMod script presented by svprm but thanks for your comment, it's always good to have different point of view.
I found another great application to use with the CronMod script: Apps2ROM (https://play.google.com/store/apps/details?id=com.lrenault.tools.apps2rom).
Because external sd-card could never be as fast as internal memory, it's interesting to keep the possibility to move easily an application to the internal memory. And at the same time, to avoid duplicate application after an update.
Yokav said:
Yes, it will works like this. But for me using a backup tool is not interesting. The goal of storing data to the sd-card is to don't have to make any backup.
So my choice gone for the CronMod script presented by svprm but thanks for your comment, it's always good to have different point of view.
Click to expand...
Click to collapse
True,
But if you change roms you should not use the data froma previous rom, so changing from stock to CM to MIUI etc needs you to use a backup and restore tha apps without data
svprm said:
I think it depends on your sdcard speed(class).
INT2EXT working well for me.
Click to expand...
Click to collapse
I just tried with INT2EXT and it's slow...too slow.
Maybe that you've OC your Neo and have a very fast sd-card. I've a class 10 sd-card of 32Go, which should not be so bad.
Hello i have bought and phone and all apps are installed in external card.
But the folders of dalvik-cache and data/data have at least 100mb, and it results in some 10mb free in this partition, i need to instal more apps, and i receive a result that i didnt have space...
I was Atrix 4G owner, and didnt have this issue...
Please anybody a suggestion? I already installed all ...2SD apps and all apps are in SDCard...
Thanks guys!!
Velcis Ribeiro said:
Hello i have bought and phone and all apps are installed in external card.
But the folders of dalvik-cache and data/data have at least 100mb, and it results in some 10mb free in this partition, i need to instal more apps, and i receive a result that i didnt have space...
I was Atrix 4G owner, and didnt have this issue...
Please anybody a suggestion? I already installed all ...2SD apps and all apps are in SDCard...
Thanks guys!!
Click to expand...
Click to collapse
What is your new phone?Have you tried making a SD-EXT partition & move dalvik-cache to it?
How can i do that? I tried moving and link dalvik-cache to /sdcard but no result, it cant be linked in sdcard...
!!!
I cant install CWM or another recovery :/
Velcis Ribeiro said:
How can i do that? I tried moving and link dalvik-cache to /sdcard but no result, it cant be linked in sdcard...
!!!
I cant install CWM or another recovery :/
Click to expand...
Click to collapse
Try these steps
1. Make an ext3 partition of your desired size on your sd card using a pc partitioning tool called minitool and put it back in your phone.
2. Install an app called link2sd and launch it.
3. Select ext3 when the app asks for which type of partition the mount scripts need to be created.
4. Reboot the phone.
5. Again launch the app and this time if it shows the change log, the mount scripts are installed correctly.
6. Select the apps you want and create links. You can link the app as well as its dalvik cache.
7. You can even set the app to create links automatically when you install a new app.
8. All the linked apps will be in the sd ext3 partition and best thing is that widget apps too will work.
Hope this helps you.
texasranger770 said:
Try these steps
1. Make an ext3 partition of your desired size on your sd card using a pc partitioning tool called minitool and put it back in your phone.
2. Install an app called link2sd and launch it.
3. Select ext3 when the app asks for which type of partition the mount scripts need to be created.
4. Reboot the phone.
5. Again launch the app and this time if it shows the change log, the mount scripts are installed correctly.
6. Select the apps you want and create links. You can link the app as well as its dalvik cache.
7. You can even set the app to create links automatically when you install a new app.
8. All the linked apps will be in the sd ext3 partition and best thing is that widget apps too will work.
Hope this helps you.
Click to expand...
Click to collapse
I can do it but only with Fat32 partition, because i didnt have CWM my phone is XingLing, and doing by Fat32 its ok, but the cellphone stills to slow and i cant fix launcher in memory, i think it have 160mb ram because it shows 138mb used, 9.1 free
How can i drop almost processes? Or delete things that i cant use, i have root, but i dont know what to delete!
And another issue, my phone is MTK6573 based, and i cant found a scatter file for it, because i dumped all the phone and want to recover system.img
Thankz!!
Greetings.
I have formatted /mnt/sdcard as EXT2.
How do I setup default permissions (-rwxrwxrwx) for all market apps to use when they create files there?
_______________________________________________
Details:
My device is LG e405 (rooted stock Android 2.3-based firmware, no stable custom ROMs exist for the device)
I cannot use an external SD-card for now and the device has a very small /data partition (150 MB, half of which is used up by stock software)
I would like to have data (photos, etc) AND programs (APKs) on the same partition. I really hate running out of space on one partition when the other one is half-free.
I know that some programs can be "moved to SD", but not only not all of them can be moved - even if they can they still leave some files on /data, and those tend to quickly pile up.
So I formatted /sdcard as EXT2 and symlinked /data/app to /sdcard/dataapp. I now do have everything on one partition.
It works fine, except that normal android programs create files with permissions of "600" ("-rw-------"), which prevents other programs from reading them. So Gallery cannot access photos that Camera just took.
Is it possible to set default permissions for new files?
Thank you very much for your answers!