how to install app into sd card - Android Q&A, Help & Troubleshooting

hello, I'm new here
unknown from where should I start from...
using xiaomi redmi 4x, V 7.1.2 noughet
need help, I'm running out of phone storage
I use taichi & internal sd, few work but most those arm64-v8a
Spoiler
nikke, arknight
don't.
and there's 'do not use taichi' + taichi is no longer developed/updated
how does root work? I read it allowed to read/write in sd card, but do it require another module to work?
lsposed? xposed? magisk? supersu? what they do, and which? other apps?
I tried to auto root before, but always fail
from step by step, what should I do first before able to 'both app & user data in sd card'? can help?
without delete content inside sd card, set as internal, others

You can't not install apps on micro sdcard, stop dreaming.
If you want root.
1. Google how to unlock your phones bootloader and boot your TWRP.img and make backup of boot.img and patch it with magisk app and flash it with fastboot and done.

JonasHS said:
You can't not install apps on micro sdcard
Click to expand...
Click to collapse
then can explain what with them
lsposed, xposed, magisk
I use taichi to put apps into sd card(install game and it data in sd card, unroot)
also isn't the purpose of root to able put/ able to read data in sd card?
and there're some 'app to sd card' out there
preference which better & easier
twrp is not the only root method, no?

This is just mods, nobody use its longer, it's for older phones

(1) of course you can save apps to MicroSD card. android native App2SD requires so called adoptable-storage means MicroSD Card full or partially formatted as internal.
https://jimcofer.com/2016/03/10/marshmallow-lg-and-adoptable-storage
No root required. However there is some disadvantage. Because /storage/emulated/ is redirected to MicroSD Card, the former internal storage /data/media/ becomes unused/inaccessable (/sdcard is now pointing to /mnt/expand/...)
Furthermore only apk and media is moved to MicroSD Card (sufficient in most cases).
(2) On rooted devices it's more common to create ext4 partition (or ext4 partition image file on top of exFAT) and mount to /data/sdext subdirectory. This allows to create symlinks and move whole apps to MicroSD Card (so called 2nd partition). There exist apps for easy creating symlinks like Link2SD, Apps2SD. Disadvantage this will slow down phone dramatically as apps on MicroSD Card are much slower than on phone storage.
(3) Another (root) method is bind mount only single directory from MicroSD Card to Internal Storage (for example WhatsApp) which is sufficient free up lot disk space in most cases.
android 11: replace /data/media with sdcard?
i have a rooted phone with android 11. is there a way to replace /data/media with my external sd?
forum.xda-developers.com
Btw TWRP is no "root method" at all, it just provides raw (root) access to partitions in recovery mode.
for rooting android use Magisk (no TWRP required)
Beware bootloader unlocking will factory reset device. for Xiaomi devices you need to sign up and bond MI account for at least 72 hours, then unlock with MI Unlock Tool.

Related

[Q] How to use /mnt/emmc/ (external sd card) for applications?

As you know in Sgs 2 there are internal storage, sd card (also built in phone) and additionaly external sd card slot. I would like to use this external one as location to move installed apps. There is option in application manager to move some apps to sd card but to the one built in, not the external. I have 32GB external card while built sd card has now only 100 MB free space and I can't download data for installed apps.
How to use external card for apps installation or moving some already installed apps on it?
Your internalSD is part of your phone where as the externalSD is not .You can backup apps to the externalSD but thats all.If you pass working apps to the externalSD you take them out of the system and so out of the phone and they will stop working.That is why there is only the option to move apps to SD (internal).
there is an additional option in the android system, to set a partition for your apps on external SD, you cant do this with Stock Rom anyway, but no idea on SGS2, any custom rom has offered this option so far.... this partition called "sd-ext" see the definition below:
"This is not a standard Android partition, but has become popular in the custom ROM scene. It is basically an additional partition on your SD card that acts as the /data partition when used with certain ROMs that have special features called APP2SD+ or data2ext enabled. It is especially useful on devices with little internal memory allotted to the /data partition. Thus, users who want to install more programs than the internal memory allows can make this partition and use it with a custom ROM that supports this feature, to get additional storage for installing their apps. Wiping this partition is essentially the same as wiping the /data partition – you lose your contacts, SMS, market apps and settings."
Ok, so any idea about such like ROMs or any manual/instruction thread?

Samsung Galaxy A3, A5, A7 (2017) Adoptable strorage (use SD card as internal storage)

By default Samsung disabled the option to allow a user to use a microSD card as internal storage. This is very bad especially on devices that come with only 16 GB of internal storage.
Not happy? You can understand the gravity of the situation and complain to Samsung about this
:crying: HERE
Adoptable storage is a standard feature in Android Marshmallow but gets disabled by most manufacturers in their attempt of forcing users to throw more money on devices with more internal storage.
What are the changes with Adoptable Storage?
the SD card gets encrypted and encryption key is stored in internal device memory
the encryption makes the SD card read/write operation slower than otherwise
disables the normal use of SD card by swapping it in other devices (unless you select a percent of SD card to be kept as a removable partition)
can slow down the loading time of some apps, including installing them
some confusion is created in the device's total available memory reporting and memory usage reporting
In order to enable Adoptable storage you need to have custom recovery installed on your device. This will blow the e-fuse in the device, trip Knox, and you will loose warranty for the device.
Put the ZIP attached below on your SD card and flash it. This is an Add-on will make some changes to Android OS core to enable Adoptable Storage option, the one on which Samsung putted it's will to remove it.
The device will restart (if not you can restart it manually). Now you should remove the SD card, and delete the partitions from it on your PC (using an SD card reader or something) with the help of your favorite partitioning software.
This is to force the phone to ask you next time you insert the SD card, how to use it. Otherwise the option Use as internal storage may not appear.
In the new 2017 A series there is this new universal app for managing battery usage, disk usage, RAM usage and security.
Eventually you can find the option to migrate data to the SD card - this can take a while.
Basically it moves all the non-system applications from original internal storage to the new internal storage on the SD card. All new application that you will install will be placed entirely on this new internal storage.
Use another app like Storage Space from Google Play Store to see the real available memory, the universal Samsung manager is not designed to understand Adoptable storage as Samsung intended not to.
That's it. I tested this on A3 2017 (SM-A320FL) with Exynos CPU and ClockWork Mode custom recovery.
Download CWM Recovery for A3 2017 form this post. It should work on all A 2017 series on devices with Exynos CPU.
You can do this (flash a ZIP) using any working custom recovery compatible with your device (CWM, TWPR).
The applicability of this method may be limited to android 6.0.1 Marshmallow.
From my experience on the Galaxy A3 2017 it seems that the new internal storage is equal in size to that of the SD card, so the new internal storage it is not adding to the ~9 GB of original internal storage left free - as I expect it.
The New Storage manager app is different from the usual access menu of standard Samsung settings. The menu we are looking for is hidden before the Format as portable storage option and there is no back button.
To make menu appear put the SD card into a computer and delete all the partitions on it.
1. Use MiniTool Partition Wizard on Windows or any other tool that let's you delete the partitions on the SD card
2. Place the SD card back in to the device
3. Go to the Storage Manager and select Storage options form top right
Now you should see the "corrupt" message under SD card. This is what we want.
To make the phone see the SD card as corrupt.
4. Now tap on that and hit Configure on the popup where it says ...in order to use it it has to be configured.
5. Done. Now you will see 2 options:
-Use as portable storage
-Use as internal storage
You can trigger the same menu by reformatting the SD card into the phone but before it finishes formatting tap quickly on the back button. This will actually interrupt the format, corrupt the SD card and then a notification will appear (A new SD card was detected):
Swipe down the notifications pane
There will be a cog icon and Configure. Tap on it to proceed
There it will open the menu with both options:
-Use as portable storage
-Use as internal storage
Please feel free to post your feedback and experiences regarding this below.
Special thanks to ashyx who updated this patch to work on these devices and other devices. More details and PayPal donation link here.
Will it cause an error if I remove the SD card? Because the SD card will be seen as internal storage.
TheoDores said:
Will it cause an error if I remove the SD card? Because the SD card will be seen as internal storage.
Click to expand...
Click to collapse
Yes. Some applications may not work normally or at all. However the phone will constantly notify you that the card is missing and to reinsert it.
Optionally you can choose to cancel that prompt but then you'll permanently lose the association with the SD card and you have to re-format it to use it.
not working for me I flashed the zip file, everything seems allright but even after formating the sd card, I don't have the option
patci32 said:
not working for me I flashed the zip file, everything seems allright but even after formating the sd card, I don't have the option
Click to expand...
Click to collapse
This is because the New Storage manager app is different from the usual access menu of standard Samsung settings. The menu we are looking for is hidden before the Format as portable storage option and there is no back button.
To make menu appear put the SD card into a computer and delete all the partitions on it.
1. Use MiniTool Partition Wizard on Windows or any other tool that let's you delete the partitions on the SD card
2. Place the SD card back in to the device
3. Go to the Storage Manager and select Storage options form top right
Now you should see the "corrupt" message under SD card. This is what we want.
To make the phone see the SD card as corrupt.
4. Now tap on that and hit Configure on the popup where it says ...in order to use it it has to be configured.
5. Done. Now you will see 2 options:
-Use as portable storage and
-Use as internal storage
jnflos said:
This is because the New Storage manager app is different from the usual access menu of standard Samsung settings. The menu we are looking for is hidden before the Format as portable storage option and there is no back button.
To make menu appear put the SD card into a computer and delete all the partitions on it.
1. Use MiniTool Partition Wizard on Windows or any other tool that let's you delete the partitions on the SD card
2. Place the SD card back in to the device
3. Go to the Storage Manager and select Storage options form top right
Now you should see the "corrupt" message under SD card. This is what we want.
To make the phone see the SD card as corrupt.
4. Now tap on that and hit Configure on the popup where it says ...in order to use it it has to be configured.
5. Done. Now you will see 2 options:
-Use as portable storage and
-Use as internal storage
Click to expand...
Click to collapse
Finally made it work, thanks. However it is sooooo slow that I want to go back. What is the best procedure for this ?
patci32 said:
Finally made it work, thanks. However it is sooooo slow that I want to go back. What is the best procedure for this ?
Click to expand...
Click to collapse
You need a faster SD card (type UHS-I U3 or UHS-II U3 for faster access speeds).
As for reverting to portable storage just pop out the card then select "cancel association" from the phone.
Next time you insert the SD card it will say it is not recognizable and you can format it again either as portable storage or as internal storage
Root
when I want 2 root my device with A520FXXU1AQCA, but Odin - FAIL!
Download mode - Custom binary (RECOVERY) Blocked to remaining installment balance.
Whocan help me
if i try Adoptable storage do you lose OTA update ?
umbrokhan said:
if i try Adoptable storage do you lose OTA update ?
Click to expand...
Click to collapse
what?
aze_abd said:
what?
Click to expand...
Click to collapse
OTA means Over the air
umbrokhan said:
OTA means Over the air
Click to expand...
Click to collapse
I know. Can you help me?
aze_abd said:
I know. Can you help me?
Click to expand...
Click to collapse
help you in what?
umbrokhan said:
help you in what?
Click to expand...
Click to collapse
help to root my phone
or u dont know how?
aze_abd said:
help to root my phone
or u dont know how?
Click to expand...
Click to collapse
i haven't rooted my Galaxy A3 2017..so i can't help. sorry
umbrokhan said:
if i try Adoptable storage do you lose OTA update ?
Click to expand...
Click to collapse
Possibly, as it modifies both the boot image and system partition, nobody has actually reported AFAIK?
Hello,is it also voids knox? thanks
ashyx said:
Possibly, as it modifies both the boot image and system partition, nobody has actually reported AFAIK?
Click to expand...
Click to collapse
When I try to flash it with cwm. I get:
"E:Footer is wrong"
"E:Signature verification failed".
"
Thank you! It worked perfectly and in the first attempt. I did not even have to use a computer to format the SD card, or interrupt the process on the phone. I formatted it using the phone’s default formatting option and, once it was completed successfully, it asked me whether I wanted to use the SD card as internal storage. Smooth as can be. The only issue I can see is that it’s showing the total available storage as 64 GB, which means that the phone’s 16 GB is not being counted. I don’t really care enough about it to troubleshoot it. I am not using up 64 GB anytime soon.
y2klol said:
When I try to flash it with cwm. I get:
"E:Footer is wrong"
"E:Signature verification failed".
"
Click to expand...
Click to collapse
You need to use TWRP to install not stock recovery.

Apps2SD

Hey all,
Has anyone had success using Apps2SD or similar? I have a rooted Z3TC and have been trying to partition and create mount scripts for the microSD card in the app but keep running into an error.
Error:
Mount: mounting /dev/block/mmcblk1p3 on /data/sdext2 failed: No such device
I have posted on the dev forum but wanted to check if anyone in the device specific forum has speciality knowledge. And devs are often worked off their feets!
Sent from my Nexus 6P using XDA-Developers Legacy app
Solved.
2nd partition needed to be formatted as ext4. Still a whole load of other issues to sort through, but I have a working version. (Will never buy a device with this small internal memory again!!!)
Soulfulgrey said:
Solved.
2nd partition needed to be formatted as ext4. Still a whole load of other issues to sort through, but I have a working version. (Will never buy a device with this small internal memory again!!!)
Click to expand...
Click to collapse
Hello.
I have the App2SDPro app and have not been able to get it to work. Can you explain in more details how you did it? 16GB is always making me delete stuff...but there is no phone that can match this size so I just need to find a way to move apps.
Thanks!
Hi,
I use App2SD since a while due to the ridiculous amount of memory of this device. I have something around 320 applications installed with games, gps/maps... all locally installed.
I don't use the "Link apps to SD card" option but only the "Folder Mount" one.
I barely move everything on the root of the internal SD to a dedicated folder on my external SD card.
The trick is to find the folder on which App2SD has the write permissions. As there is a several location for both internal and external storage location it can require some try/fail tests...
I'm on LineageOS and I use these links to move all the obb folder to the external SD card:
Source=/storage/emulated/0/Android/obb
Destination=/storage/NNNN-NNNN/DCIM/App2SD_folders/obb, with NNNN-NNNN the internal SD name
I have unchecked all the options as I normally prefer to move them manually with a file explorer to make some cleanup in the same time.
For some reasons there was some limitation to move directly the Android folder, so do the same for the /Android/Data folder.
Cheers

Need help with DSext2/link2sd

So I have the newest TWRP set up on a Moto E4 with Magisk root.
I am trying to get 1 game to run off an SD card (a modded game) and the normal to run off my internal.
1) is it possible?
2) Link2SD says it can't find said files for sdext2 even though I used minitool partition to make an ext2 partition.
3) What is next? Reformat for internal storage?

USB debugging FT to reach file system root instead of the emulated SD card?

I need to move files quite often from a Windows PC to an Android phone. When using the File Transfer mode of USB Debugging I only see the emulated SD card (/storage/emulated/0), but the data of those applications which I want to modify are not on the emulated SD card. They are at /data/data/... My device is on Android 9 Pie (MIUI 10) and rooted (and has no external SD card.)
Can I tweak something in the system image so that USB Debugging FT allows me to access /data/data/ ? I read the limitation was implemented to prevent risks for the OS. Anything special I would need to take care of when tweaking?
If that is not an option, can I move apps or just the apps data to the emulated SD card? Since my device has no external SD card nothing is foreseen under Settings > Manage apps. Can I do it using Link2SD or something similar? At Link2SD I would need to choose (pp file, dalvik-cache, lib files, internal data. In my case I assume I would choose internal data only or all of it? I recall that not all apps can moved. Are there risks of corrupting it totally without easy backout?
Thanks for your advice!

Categories

Resources