Related
Upgraded to CM 13 recently and want to use my SD card for TWRP backups and store apps on it.
Is this even possible or when I format it to use for apps do I lose the ability for making backups to it in recovery.
If TWRP can't back up to it are there any recoveries that do?
I am unable to assist but I think when it becomes adaptive storage it encrypts the internal and external storage and TWRP is unable to read it. I am trying to install one of the sound mod zips but I cannot find it in TWRP.
Hi XDA colleagues,
I am writing this post because I have installed Marshmallow GPE ROM on my M8 and I would like to install the Sense 7 HTC A9 Camera and gallery.
As I have selected my sdcard as Internal Memory, I can't find anymore it under TWRP (2.8.7.0).
And I have see that the /system partition is only 22MB free.
Previously I had a Sense ROM and I don't have used the GPE RUU so my /system partition should not have been resized?
Someone is knowing how is the behavior of TWRP with MM? or maybe a new version is needed?
Many thanks in advance!
Seriously? No reply? Well I'm in the same boat as you, except I have a Moto X pure 2015
Hello,
I have found more details here:
https://www.reddit.com/r/Android/comments/3oz7eu/guidelines_for_marshmallow_users_formatting/
So, formatting SDCard as Internal Memory will crypt it and TWRP will not be able to read it anymore.
You have to rollback to External Memory to gain access again (do a backup of the content before).
Starting with version 3.0.0-0, TWRP has gained the ability to decrypt and mount SD cards that have been migrated to Internal storage under Marshmallow. Of course, the SD card has to be inserted in the device where it was originally encrypted, and I strongly suspect that you would lose the decryption keys if you ever wipe the device.
Your mileage may vary, because there may be some individual devices for which the feature doesn't work perfectly yet. But I can confirm that it appears to work as expected with TWRP 3.0.2-0 on my Galaxy S4.
I've just installed lineageOS to my Huawei Y6 (https://forum.xda-developers.com/huawei-y6/development/rom-huawei-y6-t3668939/page50) and have a problem. I've got 32GB SD card with four partitions:
EXT4: HUAWEI-SD (pictures, music, etc.)
EXT4: HUAWEI-APP (for applications moved using Apps2SD Pro)
EXT4: HUAWEI-LINUX (Ubuntu installed via Linux deploy)
SWAP: HUAWEI-SWAP (2GB swap)
So problem is that all ext4 partitions is automounted. Well, HUAWEI-APP is mounted by Apps2SD, before system tries to touch it, so it is just shown as `corrupted`. But HUAWEI-LINUX is always mounted during boot and Android folder is created, so before starting linux deploy I always have to eject (unmount) it via settings.
Is there a way to disable mounting this partition by OS?
vyo1993 said:
I've just installed lineageOS to my Huawei Y6 (https://forum.xda-developers.com/huawei-y6/development/rom-huawei-y6-t3668939/page50) and have a problem. I've got 32GB SD card with four partitions:
EXT4: HUAWEI-SD (pictures, music, etc.)
EXT4: HUAWEI-APP (for applications moved using Apps2SD Pro)
EXT4: HUAWEI-LINUX (Ubuntu installed via Linux deploy)
SWAP: HUAWEI-SWAP (2GB swap)
So problem is that all ext4 partitions is automounted. Well, HUAWEI-APP is mounted by Apps2SD, before system tries to touch it, so it is just shown as `corrupted`. But HUAWEI-LINUX is always mounted during boot and Android folder is created, so before starting linux deploy I always have to eject (unmount) it via settings.
Is there a way to disable mounting this partition by OS?
Click to expand...
Click to collapse
Have you found any solution to this? I have app2sd and need the second partition for apps and data. But the partition is automatically mounted by system on boot. Hence apps2sd can't use it. So i have to manually eject that partition everytime just so apps2sd can use it. I'm using lineageos 16. This was not a problem on lineage os 15.1
greatbal said:
Have you found any solution to this? I have app2sd and need the second partition for apps and data. But the partition is automatically mounted by system on boot. Hence apps2sd can't use it. So i have to manually eject that partition everytime just so apps2sd can use it. I'm using lineageos 16. This was not a problem on lineage os 15.1
Click to expand...
Click to collapse
Sadly, no . After updating my system I can't use Apps2SD as well.
However, here's what you can do:
Back up all data from sdcard to PC. Otherwise, it will be lost!
Erase sdcard (recreate partition table with GParted or something like that)
Insert it into android, format as adoptable
Format it there using `adb shell` (terminal application should work as well) with
Code:
> sm list-disks adoptable # Will print ID of your sdcard as disk:XXX,XX
> adb shell sm partition disk:XXX,XX mixed XX # Use sdcard ID from previous step and percent of storage you want to be for free-use (unencrypted)
Shutdown your phone
Optional: change first partition type to something else (I use f2fs because it's good for sdcards and I have no trouble reading it on my linux PC). Do not touch two other partitions!
Restore data onto sdcard (you did followed step 1, right?)
Go to storage settings and check result. You will probably see "not connected" internal storage (but another one still should be connected), which can be safely "forgotten"
Optional: Install something like AppMgr III which will allow to move apps to sdcard and back
Optional (potentially dangerous!): enable "force allow apps on external" in developer settings. This will make it possible to move any app onto sdcard, but some may became buggy because of that (if you meet such bugs, just move them back)
Hope this helps!
P.S.: it's also possible to mount encrypted storage on linux. If you want to know how, I can post instructions on that as well (I had troubles searching for them and now have simple bash script to mount them).
I get adoptable storage to write apps to the SD card with LOS 16 on a moto X4 XT1900-1, but all the apps that are stored in the sdcard lose their settings on reboot. e.g. VLC looses it's settings, the email app looses the account settings etc.
To make it clear:
1. all apps on adoptable storage work normally until a reboot is done
2. when the phone is rebooted, all apps run normally, but they loose all the settings and permissions,
they act as when they were first installed.
Anyone know a fix for this?
motophone said:
I get adoptable storage to write apps to the SD card with LOS 16 on a moto X4 XT1900-1, but all the apps that are stored in the sdcard lose their settings on reboot. e.g. VLC looses it's settings, the email app looses the account settings etc.
To make it clear:
1. all apps on adoptable storage work normally until a reboot is done
2. when the phone is rebooted, all apps run normally, but they loose all the settings and permissions,
they act as when they were first installed.
Anyone know a fix for this?
Click to expand...
Click to collapse
Just another reason to use SD as removable storage.
After flashing TWRP when i reboot into recovery the twrp doesn't see my internal storage content. how to solve it?
You don't, you can't access your internal storage from TWRP.
If remember correctly OnePlus implemented the encryption incorrectly or something along these lines.
Needs otg USBC flash drive if you don't want to sideload via pc
Hello,
I have a phone: Xiaomi Redmi Note 8T 3/32GB (Android 10 ver. QKQ1.200114.002 ; MIUI ver. GLOBAL 12.0.3.0 Stable QCXMIXM) with Magisk App Installed ver. 23.0 (23000) (21).
I made a partition on my microSD card - EXT4 partition has 35GB, the rest microSD card has exFat partition with 87GB for moving files (check partitions.jpg photo from attachments).
When I open Link2SD and when I choose EXT4 partition, I am always getting error like that:
Partition load error
The partition load script could not be created
can't create '/system/bin/debuggerd.bin' : Read-only file system
(check link2sd_error.jpg photo from attachments).
When I open Apps2SD PRO app, I am getting a warning like that:
Please read carefully!
Systemless root has been detected, do you want Apps2SD to modify system partition?
Note: You can disable this message by selecting "Ignore systemless root" option in Apps2SD settings
(check Apps2SD_warning.jpg photo from attachments).
and when I want to move apps from internal memory to microSD card memory, I am getting second warning in Apps2SD PRO app like that:
Warning!
If after restarting applications disappear from the device, it means that mounting the second partition at boot is not supported on your device, so you should only use a "soft" restart.
If SuperSU has "Mount namespace separation" turned on, turn it off.
Enable "Enable su during bont" in your SuperSU setting
On some devices linking Google apps creates issue. So avoid linking them.
(check Apps2SD_second_warning.jpg photo from attachments).
Does it mean that I made not-working-properly root on my phone?
I have unlocked bootloader, I have installed TWRP Recovery for my Redmi Note 8T and I installed Magisk firstly using patched boot.img, but when I saw a warning in Apps2SD app, I flashed the magisk.zip using TWRP Recovery but it doesn't help.
Link2SD can't see / can't load EXT4 partition on my microSD card but Apps2SD PRO app can see and can mount EXT4 partition to move them the files and make links. Why? Can somebody explain it to me? (check Apps2SD_info.jpg photo from attachments).
How to fix Link2SD app to can see the EXT4 partition on my microSD card?
I am waiting for your help,
Best Regards,
Matt.
I see that I don't have init.d support. Is it important?
MattZet1988 said:
Hello
Click to expand...
Click to collapse
I don't know much about those apps, i think you should report to the app creator/page
flashig magisk.zip in recovery is enough, no need to patch boot.img
about :
"Systemless root has been detected, do you want Apps2SD to modify system partition?"
make a full backup of boot/dtbo/system/vendor/data and allow modification
so if anything goes wrong you can restore
initd is not important but some apps still need it
(you can find it in orangefox addons)
How to allow modification?
MattZet1988 said:
How to allow modification?
Click to expand...
Click to collapse
allow root access and answer the question :
do you want Apps2SD to modify system partition?
with yes