Nougat Android 7.1.1, Emulated SD card, extremely annoying - HTC U11 Questions & Answers

Titanium Backup, ES Explorer, and many other Apps that correctly sees the Internal and External SD card works as expected.
However some "Poorly written Apps" that uses Emulated SD card as Default (expecting to point to Internal SD) they don't seem to work, as it seems to be a BUG or there's some sort of permission issue, because when I try to manually browse into Emulated SD, it's unable to link properly over to Internal SD.
Smarter Apps will let you choose alternate path, but some lazy Apps, will just fail as it doesn't allow you to choose another location.
So, as a workaround I'm looking for a way to Disable to System default "Emulated SD" this way it will force the apps to see the actual Internal SD without going through the Emulation SD link.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
See here if I go into Emulated SD, it's "empty" which is not true, since the actual Internal SD is full of files and folders as seen here.

How does this relate to U11?
Sent from my HTC U11 using Tapatalk

richteralan said:
How does this relate to U11?
Sent from my HTC U11 using Tapatalk
Click to expand...
Click to collapse
Because that's the phone I'm using, and I want to get rid of the Emulated SD from our U11, there are some apps that doesn't play well with it.
I'll rather have those Apps sees the real Internal SD instead.
The problem seems to be that most Apps expects the Samsung directory naming and emulation, so when it comes to other phones, they go kind of crazy when they try to use the emulated drive and lands on a different location.

/storage/emulated/0 means there is a folder named 0 which contains everything for user 0...
/storage/emulated/1 for user 1 and so on...
user 1 cannot see files from user 0, because its mounted with fuse.
but, you can still access everything in /data/media (this is where it is stored "physical")
if you need a single solution just for your phone, you can write a init.d script, which deletes the symlinks, umount the fuse stuff, and recreate symlinks for your needs.
edit: be aware the file system type of /data/media is ext4 and not vfat as expected from lazy apps, which means file names are case sensitive and duplicates upper/lower case are allowed.
so, try to modify the symlinks /sdcard /mnt/sdcard /storage/emulated/legacy or whatever, and if your app works, create a init.d script
edit 2: have a look at /mnt/media_rw/xxxx-xxxx also, if this is what you mean with internal sd, than its a separate vfat partition and not emulated storage. in this case /data/media should be empty. symlink /storage/xxxx-xxxx to /storage/emulated/legacy (or the expected samsung path) should be enough for your needs

My question is, why do you still use ES Explorer? It was great back in the day, but became trash when they introduced ads. Solid Explorer is much better if our ask me.

Related

Fat32 partition now ext2!!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I was running Mz's CM6 RC3 today and I decided to go back to 2.1 for a while so I backed up my current ROM and selected backup all in MZ's openrecovery. Suspiciously, it was backing up SD ext too but I only had a fat32 SD card second partition, not an ext2 so I thought how it was possible? But I didn't bother and just factory reseted after backing up and went to one of my 2.1 backups. After a while, I decided to switch to the backup that I had just made (the cm6 one). I restored all, including SD ext. Now in openrecovery, the filesystem for the second partition shows ext2!!! I am 100% sure I had fat32 last time. Not only that, now the second partition can't be mounted for link2sd to work (the error always comes cannot mount Dev block....blablabla) what happened to my SD card partition? ?
Sent from my Milestone XT720 using XDA App
Whoops sorry the error is mount script cannot be created I mean (for the link2sd error I get) Look at attached photo.
Sent from my Milestone XT720 using XDA App
Nandroid always restores as ext2 and your 2.1 probably doesn't have ext2 modules. Your partition table also incorrectly lists the ext partion as FAT--that's probably not a serious problem.
I would put the card in a computer and reformat the extra as fat. The sd-ext nandroid is just a .tar file so you can extract that on windows manually.
Mioze7Ae said:
Nandroid always restores as ext2 and your 2.1 probably doesn't have ext2 modules. Your partition table also incorrectly lists the ext partion as FAT--that's probably not a serious problem.
I would put the card in a computer and reformat the extra as fat. The sd-ext nandroid is just a .tar file so you can extract that on windows manually.
Click to expand...
Click to collapse
Oh so now all i have to do is repartition my sd card?
You will need to back up your apps and what you save and whipe all your sdcard
from ho!no cm7 2.3.7
androidlover123 said:
Oh so now all i have to do is repartition my sd card?
Click to expand...
Click to collapse
No, I think you just have to reformat the second partition as fat. You don't have to touch the main fat partition.
Sent from my Milestone XT720 using xda premium
I decided to partition my second partition as ext2. But somehow link2sd was not working but then i remembered u r supposed to create a sd-ext/link2sd directory so i created that, rebooted the phone and now i have apps on my ext2 partition! thx for all ur help! btw, is ext2 like better(faster maybe) compared to fat32?

Does anyone have a 64gb micro sdxc card running on this phone?

I formatted it to fat32 and it still doesn't work. I tried it on different roms and no luck.
Sent from my SGH-T999 using xda app-developers app
I've got several 64GB SanDisk Ultra and I get full capacity. I don't format them on Windows though.
Posted from my SGS4G, thanks to Team Acid development
What do you suggest then? I have a windows computer. I tried to format it through the phone but it doesn't recognize it. I'm running DJ's cm10.2 rom.
Sent from my SGH-T999 using xda app-developers app
Personally, I know partitioning with eollie's oneclick works. It's the first one in the second post of my oneclick thread. Also check out lumin30's oneclick guide.
Reboot to recovery, nandroid backup (using an SD card that works) . Put device in download mode and oneclick. Put the SD card in, partition.
At this point I hope you report back
Flash your rom's zip so it's the same version as you backed up with. Same recovery. Nandroid restore your backup.
Worth a shot.
Sent from my Nexus 5 using Tapatalk
You can also download Ubuntu and run it off a USB stick, without modifying your Windows install.
I will try both suggestions when I have time and will report back. Much appreciated.
Sent from my SGH-T959V using xda app-developers app
Ok I'm trying out the method of running ubuntu from USB which I did. I inserted the card and of course it gave me an exfat error. I go to format and there are fat, ntfs, ext4 and luks + ext4. I don't see fat32 so which one do I choose?
Sent from my SGH-T959V using xda app-developers app
Well it doesn't matter what I choose it doesn't seem to format the card at all. Do I have to install the whole ubuntu to get all the capabilities? I chose trying out ubuntu option.
Sent from my SGH-T959V using xda app-developers app
It should work with the "Try Ubuntu" option. Once you launch gnome-disks you should get a window labeled "Disks" with "Devices" in the left column. Select the microSD from there. From the gear in the top right, select "Format"
In the format dialog, you should select "Compatible with all systems and devices (MBR/DOS)" and "quick format" is fine.
Once the new partition table is written from that step, you need to add a FAT / VFAT / FAT32 partition to the disk. As I recall there is either a "+" symbol beneath the "bar graph" under the Volumes label, or there should be one off the gears beneath the bar graph.
If you're still having problems, I'll try to take some screen shots when I get home.
I would surely like screenshots. Take your time cuz i'm in no hurry.
Sent from my SGH-T959V using xda app-developers app
Once you have gnome-disks running, select the proper drive. From the top-right gear, select "Format..."
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unless you know why you would want something different, you should select "MBR/DOS" (partition table type)
If confident you have the right disk, go ahead.
and you should end up with a disk with an MBR partition table and no partitions
Next, add the partitions you need. Select the free space and click the "+" beneath the map of the partitions
I am setting this one up for Hefe Hook and external data, with a partition for sd-ext and a spare, so I only allocate 54 GB to the FAT partition. If you only need a FAT partition, you can just let it use the entire disk.
After created, you should see it in the partition map. If you used the whole disk, you won't see the "Free Space" section.
If you're adding more partitions, for sd-ext, or other reasons, select the "Free Space" section, then click the "+" again.
Here I'm adding an ext4 partition for "app-to-SD" scripts and other legacy purposes.
Here is the four-partition disk that I am using today.
If you have problems like it not allowing you to convert from GUID to MBR partitioning, the following will wipe the beginning of the disk and generally let you start with partitioning. Insert the right drive letter in place of the # below
Make sure that you select the right drive, as you can wipe your system or any other disk you have with this!
Code:
sudo dd if=/dev/zero of=/dev/sd# bs=4k count=1k
Success! Thank you for this extensive walk-through. It surely helped me out. I appreciate the time you took to make this.
Sent from my SGH-T959V using xda app-developers app

[Q] Re-sizing Partitions

I have the SGS4G with remICS, i really like this ROM, it is the only custom Rom for this phone that functions as well as the stock GB. the only issue is, like all software, the newer stuff gets bigger and bigger. So the system Partition is nearly full, and thats without me adding to it too much, i removed some system apps and added a couple.
ultimately what i want to do is resize the partitions.
My goal is to take the System partition of about 403MB and combined it with the "internal" that is about 545MB. so that i can possibly throw all the t-mobile/google/samsung apps that i want to the system partition. and use my 32GB sdcard as the "internal," or if the system needs to have both and "internal" and "external" partition the sdcard into two 16GB and do it that way. also if possible i would like to maybe use some extra space and ad it to the RAM but that is probably not as possible.
no internal/external app or technique seems to work since for some reason this phone mounts the external sd as just "sdcard,"as if it is the only storage, which would be perfect if it acted as the internal, yet it still installs apps to the internal memory
what i have:
System 403MB
Internal 545MB
SDCard 33.4GB
my goal
System 948MB
Internal 33.4GB
-or-
System 948MB
Internal 16.7GB
SDCard 16.7GB
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You'll need a custom kernel to change the sizes of the partitions. The MTD "partition table" is built into the kernel, not stored somewhere on the media like it is with a disk drive. You'll need to jump through some hoops as well to get in or out of your new kernel's MTD partition map.
To be very clear, unless you understand what you are doing you can completely pooch your phone by messing with the MTD partition map.
/system isn't your only problem -- the more you add to /system, the more you add to /data/dalvik-cache
You'll also need to rework recovery so that it knows the logical arrangement of the partitions.
I've been looking at this for a bit and am running /data external on my (fast) microSD, with /data/dalvik-cache using the internal flash previously dedicated to /data. See the thread on Hefe Hook Kernel to see how to do this. Running the Dalvik cache externally seems to be sluggish compared to using the internal flash. I don't know if it is a real effect, or just my prejudice after seeing the internal flash performing better on short reads than my Class 10 / UHS-1 microSD running ext4.
I personally think you're in for more problems than just "disk" space if you're running more than a relatively core set of Gapps on the SGS4G.
Once I get the mess of a build tree we have now unwound a bit and have one that I am confident about why things are working as they do, I may take a stab at a KitKat ROM that basically requires a fast microSD for storage.

[Resolved] [Q] Migrate 16gb to 32gb SD locks apps

Hi all!
I got a tough pickle here (I think). I migrated from a 16gb (class 7) to a 32gb (class 10) SD Card. I'm using a paid (yes, I support awesome developers! ) version of Link2SD to keep phone memory clear, which links non-essential apps (data included) to an Ext2 formatted partition on the SD.
I made a backup of all apps with Titanium and copied all files from the Ext2 partition to my PC. I chopped the new SD in two partitions, one FAT32 and one Ext2, just like the old one (but with bigger partitions of course). Then I copied the files back from my PC to the new SD. I booted the phone with the new SD and noticed many apps have disappeared, all the ones that were linked to the Ext2 partition with Link2SD. If I try to install one again, I get a "Insufficient Storage Available" error, like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Trying to restore backups with Titanium in AUTO, Direct or Indirect mode it just keeps loading and does nothing, if I try restoring backups in INTERACTIVE mode, I get an "Out of space" error, like so:
I don't understand why it keeps thinking there is no space, this is my storage info:
I can install other apps but not the ones that were on the Ext2 partition. I tried clearing Dalvik and Cache, still the same. I wanted to follow the steps in this thread but the concerning apps have no folders in app-lib. PLEASE HELP!
Phone: Acer Liquid E3 (E380)
Android: 4.2.2 (Rooted)
Hey hey, not all at once!
I've been messing around to sort it out and managed to unlock a few apps by inserting the old card and uninstalling them from there first (to get them installed on the new card). I think something went wrong with the batch uninstall though, now some of the apps remain locked on both the old and the new SD. I suspect there must be some app-lib folders still hovering around somewhere but where should I look and what tool should I use? What if I just did a factory reset, would that solve it?
So. I did the Factory Reset and it worked :good: Thank you all for your help

[QUESTION] Install apps to external SD (ROOT) app? Galaxy ON5 G550t

I want to install ALL of my apps automatically (from Play Store) on to my EXTERNAL SD card without using any kind of adoptive option. I have root. I have a fast external SD card.
What app can I use. Does such an app exist? Have you tried it? Does it work?
Please note that I am aware that I can do this manually with SOME apps. I do not want this. I want them all to go over, and I want it automatic.
This would be such a great phone for the price if they corrected this small SD card issue.
I have been literally trying this all day today as well with no luck, I am not rooted though mind sharing which method you used?
If I ever get it to work ill let you know!
Budnevicg said:
I have been literally trying this all day today as well with no luck, I am not rooted though mind sharing which method you used?
If I ever get it to work ill let you know!
Click to expand...
Click to collapse
ROOT is pretty basic. Here's a nice step by step guide. (tmob/metro only)
http://forum.xda-developers.com/android/general/root-samsung-galaxy-on5-t3435457
I just tried to do the root essentials "install to sd" technique in conjunction with a Titanium Backup restore, and all the apps still installed on the main sd.
I've gotten it to work, after a bit of trial and error. First, make sure you are using this recovery:
Recovery tar :http://www.mediafire.com/?ysugtwzzusxgvw7
Recovery image:http://www.mediafire.com/?tln7q406dmejeq5
Boot into recovery and partition SD Card to 4GB or 6GB as ext4.
The rest of the sd card will be formatted with fat32.
The ext4 will become your "2nd partition".
Download and install Apps2SD Pro.
Go into Partition Tool within the app and you should see fat32 size and ext4 file system according to the size you allocated in recovery.
Select Format from the drop down and re-check the fat32 and ext4 file systems.
It should then prompt you to reboot.
Go back into and select Link apps to SD card, then select Recreate mount script from the left menu...
There are a few other options possibly, but those are the basics... You should now be able to link you apps to the 2nd Partition. Hope this helps!
I'm using 5.25GB out of 8GB internal storage and have several games installed that easily consume over 3GB alone!
jeraspie28 said:
I've gotten it to work, after a bit of trial and error. First, make sure you are using this recovery:
Recovery tar :http://www.mediafire.com/?ysugtwzzusxgvw7
Recovery image:http://www.mediafire.com/?tln7q406dmejeq5
Boot into recovery and partition SD Card to 4GB or 6GB as ext4.
The rest of the sd card will be formatted with fat32.
The ext4 will become your "2nd partition".
Download and install Apps2SD Pro.
Go into Partition Tool within the app and you should see fat32 size and ext4 file system according to the size you allocated in recovery.
Select Format from the drop down and re-check the fat32 and ext4 file systems.
It should then prompt you to reboot.
Go back into and select Link apps to SD card, then select Recreate mount script from the left menu...
There are a few other options possibly, but those are the basics... You should now be able to link you apps to the 2nd Partition. Hope this helps!
I'm using 5.25GB out of 8GB internal storage and have several games installed that easily consume over 3GB alone!
Click to expand...
Click to collapse
What did you do here?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources