How solve sd card not recognized after adb-partitioning? - Samsung Galaxy Tab S5e Questions & Answers

Using ADB, I successfully added a 32GB sc-card to the internal storage of my Galaxy Tab S5e tablet.
Then I realized that it is not big enough.
Unfortunately, I removed the sd-card without converting it back to an external memory card.
Then I put in a 64GB sd-card and did the procedure again with ADB.
But now neither the old nor the new card is recognized.
"No existing sd-card"
On the net I have already found posts that only a hardreset is possible to fix this.
I still hope that it also works with certain ADB commands.
With the command `mount` I unfortunately can't find the inserted sc-card either.
Does anyone know advice?
Translated with www.DeepL.com/Translator (free version)

Yes, a Factory Reset is recommended.

I did the reset. And after I made the basic settings I found out that the sd-card still isn't recognized.
Even a new formatting using the Win10 tool didn't help at all.
Then I switched to my Linux that I prefer for daily work and with using gParted I saw that there was a small partition in it in exfat plus an allocated one. I deleted the first one and then
I could use the sd-card with formatting it inside the tablet.
Although I can't find it out I asked myself if the formatting with a linux tool would have helped solving my issue before, without having to do a hardreset.
Anyway, it is working now, and I avoid using adb again for trying to make the card part of internal storage.

Related

[HOWTO] Partition SD card

Introduction
Transcend and several other manufacturers make 4GB SD cards these days. They're great if you use your HTC device as MP3 player or Camera, as they offer enough space for thousands of songs and pictures.
My device, the HTC Universal, handles them just fine. However some applications, most notably the Camera application, don't like it.
Why some apps don't like it
The main problem here is the way in which they calculate the free space.
the processor is 32-bit, which means it can handle numbers ranging from 0 to 2^32. 4GB is exactly 2^32 bytes, so that shouldn't be the problem.
The problem is that applications sometimes handle the number as signed, which means that it differentiates between negative and positive numbers.
With signed numbers, the last bit is actually used as the sign (positive or negative), and the new range stretches from -2^31 (-2GB) to 2^31 (2GB).
Up to 2^31, the unsigned numbers and signed numbers are the same, but after that the last bit is set in unsigned numbers, which means that if treated as signed it will be seen as a negative number.
So if you have more than 2GB free, and the application mistreats the number of bytes free as being signed, the application actually thinks you have less than 0 bytes free
How to fix this?
There are several ways to fix this. The most simple one would be to have a simple dummy file so you always have less than 2GB free. This works for the camera application, but any miscoded application taking a look at the actual size of the disk will still screw up
The other solution is partitioning your SD-card. This means that you actually split the SD-card up into several virtual SD-cards of smaller sizes. So one SD-card of 4GB could be seen as four of 1GB (my set up).
This way you still have 4GB of storage, but applications will not get confused as it's split up into several chunks.
WARNING
Before you start remember to back up the current data on your SD-Card. the procedure will completely erase your SD-card. You might be able to retain the data by using partitionmagic's resize partition features, but you'd have to test yourself.
Also I'd like to mention that although I tested this procedure myself, I can't garantuee it will work for you. If it renders your SD-card useless, I can not be held responsible.
My set-up
This tutorial was written using:
- T-Mobile MDA Pro (HTC Universal)
- Windows XP SP2 MCE (equivilant to Pro)
- Transcend 150x 4GB SD-Card
It might work with a different set-up, but I can't garantuee anything
Requirements
- Windows Mobile 5
- WM5Storage (do not use CardExport2, you need the ability to turn off "Removable Class"!)
- Big SD-Card
Let's get started
Just follow the following steps
First, make a backup of your SD-card! the following procedure will erase it!
Next, install WM5Storage. I will attach a copy of version 1.53 with this post, but you can get the latest version here.
Just copy the .cab file to your device, and execute it from the file explorer. Just make sure you install on the main memory, as the SD-card becomes inaccessible during the procedure
Start WM5Storage. On my device, WM5Storage did not put anything in the start menu or the today screen, so I had to launch it through the file-explorer. You can find it at My Device\Program Files\WM5Storage\.
Be sure to untick both "Read-Only" and "Removable Class". Optionally you can set it to light a LED on read/write, but that's not neccesarry for this procedure.
Disconnect your device from your computer.
Insert the SD-Card if you haven't done so already
Hit "Activate" (bottom, right)
Re-connect your device to your computer.
From now on all steps are done from the PC
Wait until windows has recognized all "new hardware", and you have new a new hard-drive listed in "My Computer".
Open the control panel (Start -> Control Panel)
Go to either Performance and Maintenance -> Administrative Tools (category view) or directly to Administrative Tools (Classic View)
Double-Click Computer Management
Go to Computer Management (Local) -> Storage -> Disk Management (might take a little while to find all drives)
In the bottom view, find the disk that has your SD-card in it (You can find out by looking at the contents through "My Computer", or by seeing which disk is added once you plug in your WM device)
Right click the partition (white block ), and choose for Delete Partition
In the just created "Unallocated" space, right click, and choose for New Partition
In the wizard:
choose for a Primary Partition
For size, enter 1024MB (or if there is no more remaining, just the remainder). Ofcourse you can also choose your own size
Assign any drive-letter you want (or none if you only want it to be accessible on the WM Device).
Format the partition as Filesystem FAT32, Allocation unit size Default, and pick any volume label you want (You will only see the volume label on the PC, on the WM Device it will just be "Storage Card X". Also tick "Perform a quick format"
Wait until the bottom line in the new partition reads "Healthy" (wait for it to format basically )
Create as much partitions as you'd like (just resume from right-clicking and picking New partition)
You're done partitioning! If you want, you can fill the contents of the SD-Card now before you deactivate WM5Storage
Disconnect the device from the computer
Next few steps on the Device
Click "Deactivate" (same place as "Activate" was before )
Close WM5Storage
You're all done! have fun with the multiple storage cards you have now
Afterword
I've put quite a bit of time in this tutorial, I'd appreciate if you at least told me if it worked
If you can spare a few coins, I'd also appreciate a donation. You can donate with PayPal to "[email protected]".
nice post, i'm bloging it right away 8)
I have a 2GB SD card. My o2 mini prompt me to format it when inserted. After formatted. o2 mini shows 0.01 MB only.
"My computer using card reader shows 14KB and from Disk Management, it shows 1.86 GB Free. I believe this "1.86GB Free" means unallocated space.
I right click on the unallocated space, but there is no option for me to choose a Primary Partition. It only has 3 options.
"New Logical Drive...",
"Delete Partition...", which is grayed out and
"Help".
Help! How to allocate this 1.86GB and format it to fat32?
Any kind soul please help me get this 2GB SD card to work with my o2 mini. 1.86GB and not 0.01MB.
Thanks
is there anyway to rename the partition with a different name? i've tried a lot of ways but in vain... the 2nd partition always follow the name of the 1st partition... any help please?
thanks in advance...
non
After having lots of problems with my SD card, I already thought that partitioning possibly could solve the problem and, using your howto, I can use my 2 GB SD-card without any problems.
Thanks!
ive done this on a 512 sd and using wm03, used a card reader to do the partition.
actualy worked well for a while if you have alot of files to store in one of the partitions, but ended up being a real pain when you wanted to re-do it
Really nice post and easy too.
thanks
hi i tried it.....realyy wonderful....thanks a lot for posting this one...keep posting things lik tis.....
cheers,
Siva....
thx for this tips!
I used it for my 2GB MiniSD card, but now I would like to keep my TomTom maps on the second partition, but TomTom can't recognize the map. (Storage Card2\)
I tried by editing the 'CurrentMap.dat' file and set the path to the Storage Card2 but still TomTom doesn't want to read this second partition. Anyone a solution for that?
thx!!
Nice tutorial. I have problem with reading of my 4GB SD card. Now I'm using two partitions (1GB for cameras and 3GB for my PocketPC). Thank you
I have been trying this but all I seem to be able to do is partition the card but only able to format the first partition s the rest of the card is rendered useless
Any help appreciated
Great tutorial, will link it up from my related articles!
partitioning 4GB help
Hi,
I've followed you instructions (great job, btw) HOWTO partition SD card....using the file download WM5torage.cab For some reason, I cannot get past the part after clicking on ACTIVATE immediately after inserting the SD Card. My MDA (TMobile Wiz) keeps locking up and I have to do a soft reset. I've tried reformatting the 4GB Mini SD card a few times and I've actually gotten different results. My last format (FAT32) shows (on PC) 1930MB free and 1931MB used which befuddles me. I formatted it again and it showed 3.78 GB free. Perhaps you or someone could assist me if possible. I bought the Mini SD card off eBay from a reputable seller. It was suppossed to be a Samsung 4GB Mini SD card and I was a bit surprised when it arrived as a SanDisk. Any idea as to why the phone keeps locking up? I also wonder if there might be an issue with the card...I examined the back of the card where the contacts are with magnification and the sides of the black composite show traces of perhaps an epoxy or bonding agent...I think SanDisks QC is better than that. To make things easier, you can also email me at [email protected]
I have cingular 8125 and vista. I tried to use the program wm5storage but when I go to computer management there is not recognition of the 4 gig sd, nor is there any recognition of an sd when using my pda. Anyone know how to get the phone to recognize it (I tried reformatting) so that I can partition. Thanks
I have had some success with 4 GB cards from IntegrityElectronics and TopRam on my T-Mobile MDA running latest TMO ROM.
The problem I am running into a when using apps that are installed on the card and write dat to the card, other files get corrupted and render those applications unsuable. If I limit use to playing MP3 and videos, thing tend to stay stable.
Has anyone else observed this behavior?
Ok, I used the storage program to access the card. Then with the disk
management on XP I formatted the card as FAT for the entire 4gb card.
It looks like it worked. I copied all my files to it. Everything is running.
I have done several restarts with no problems...
Hope it stays so.
Good luck folks. I will report back if anything weird happens.
Ok. So it all got completely screwed.
I guess it got corrupted. My guess is when
I started using the camera. All of a sudden
there are only blank folders on the storage
card with a period as the names. Tons of them.
Nothing else. Any ideas?
And now I cannot get wm5storage to work.
It keeps telling me that something is accessing
the card. Any help would be greatly appreciated.
Thanks.
It seems the problem was that there was a hidden Recycler folder on the storage card that would not let me use wm5storage. Probably from
Resco File Explorer... Deleted that with my PC...
Somehow magically my pc read the card. I don't know how to explain
that seeing as it was formatted in FAT not FAT32...
Then wm5storage worked and I paritioned it into 2 halves.
Lets see how that goes.
I hope, well.
This may be a silly question but...
Can't you plug the micro SD into a card reader and use Windows XP Disk Management tool (or any other partintioning tool) to create the partition on the storage card? What's WM5Storage actually doing?
SG
Anyone? Can't one just soley use the Disk Management tool in Windows to partition a SD card?

[Q] help with Win32 Disk Imager

I am at a loss, so I am hoping someone can help me. I am trying to burn a CWM image on my 2gb SD card using Win32 Disk Imager, so I can use MN on my Nook Color. I have searched everywhere for help, but haven't seen this question answered.
I have the correct image file on my computer desktop. I open disk imager, select the correct image file, then select write to my SD. It goes through it's thing, then when I open the SD card it's empty. Every time.
I have no idea what's up with this. I have tried different cards, different readers/writers, don't know what I am doing wrong.
Any help?
Could be one of two things in my opinion..
1) Be sure you are "Running as Administrator" when going into Win32.
2) When I had trouble with this, it was because I was using an INTERNAL card reader. As soon as I switched to an external reader, everything worked perfectly.
3) If neither of these things work, try to re-format to wipe any existing info/partitions that might be messing up.
4) Google for it
5) Pray to Chuck Norris
I've had better luck with the version 0.1, maybe try that?
I found formatting the SD card in windows first, then using Win32helped with this for me
... hmmmmmm

Fryo I800 installation help!

Ok So I am here because I've posted in other places in these forums with no replies yet, So it would be better to create a thread specific to my problem.
I have an Omnia 2, thinking of acquiring the Fryo 2.2 OS, not specific about wether I want what version but here are the problems I come across before being able to install it.
1- plugging in my phone under Settings -> My storage will not show my storage on my computer, having the external SD option will show my 16GB SD card.
2- Backing up. How do I back up my storage if I can't see it on my computer? When I turn on active sync a blank storage appears other than my SD card (assuming its the internal storage) but the size seems rather small (167MB). I've been reading peoples' posts and I'm supposed to have around 2GB I believe, and either way the files I'm trying to put inside for the android OS don't seem to fit there.
3- Partitions? How can I set those up for both the internal and external storage? Is there a program or feature to do so? My SD card under properties says FAT-32 so I'm not sure on how to do it IF I need to.
4- Using a W7 computer, so that knocks off any ubuntu installations, and also link is broken for Almars Beta 1 file that I was thinking of using for an SD installation.
Any help would be appreciated, I've had this phone since 2009 and I'm really hoping I can come across some help to make it work since I do want to keep this phone for a bit longer before I spend more money on a different cellphone!
Thank you!
Try out the new CyanogenMod from the link below.
http://windows.modaco.com/topic/346446-cyanogenmod-beta1-omnia-2-updated-02122011/
It has the SD Card auto installer, try it..
Back up data on your SD card first and then format your SD card within the phone and then use auto installer to install it.
As you said your computer wont detect the My Storage, try the steps below..
Transfer your data from My Storage to external SD Card, then connect your phone to computer using My Storage mode in settings.
Download Mini Tool partition wizard and format your My Storage (Mini tool partition will be able to see your My Storage even though your computer doesn't).
After format, your computer should be able to detect My Storage.
Now copy the downloaded android files to My Storage and run the auto installer as instructed in the ReadMe file inside the download package.
PS: Don't forget to backup the data on SD Card to your computer
Hope this helps
Ok so what you meant by taking things from my storage is going to file explorer and basically copying everything from the "my device" to the SD card?
Just want to make sure because if it doesent work then I haven't gotten anything backed up right.
Went to file explorer -> copied everything in the top folder which is application date, connMgr, doc and setttings, program files etc. is this all thats needed basically?
Thanks
P.S some of the things I tried taking like global.txt or exe couldn't be copied because of violations or some weird error, is it alright not to have those?
Update: My storage is still not revealed by the mini tool partition program, went under usb settings -> my storage and refreshed disk information, nothing shows up ugh it might be impossible for me to do this after all....
nobody can help me in regards to this? well then I guess a new cellphone is in order
grrrrr I should've gone with a iphone 3G or BB 9700 at the time instead...
ClaudioPerez said:
Ok so what you meant by taking things from my storage is going to file explorer and basically copying everything from the "my device" to the SD card?
Just want to make sure because if it doesent work then I haven't gotten anything backed up right.
Went to file explorer -> copied everything in the top folder which is application date, connMgr, doc and setttings, program files etc. is this all thats needed basically?
Thanks
P.S some of the things I tried taking like global.txt or exe couldn't be copied because of violations or some weird error, is it alright not to have those?
Update: My storage is still not revealed by the mini tool partition program, went under usb settings -> my storage and refreshed disk information, nothing shows up ugh it might be impossible for me to do this after all....
Click to expand...
Click to collapse
I guess you will have to reflash the ROM again since your problem seems to be unsolvable. My suggestions is to flash a stock 6.5.3 ROM before you transfer the auto SD installer.

[Q] External SD card problems

I have spent over 8 hours yesterday researching, reading posts, trying to partition my SD card for an A500 with:
1. 2 Partitions
2. FAT32
3. Primary
I don't have an andriod phone so it is not an option to format it by connecting the phone to the computer. I have rooted my tablet and installed Titanium backup, android assistant, superuser and link2sd. The problem that I am having is the tablet is not recognizing either the first or second partition because it does not have a drive letter. When I assisgn it a drive letter and set up all the specs listed above and click apply, the program tells me it has successfully completed but then immediately replaces the second primary partition drive letter with an *. From my hours of reading yesterday I understand that my computer does not recognize a second primary partition so therefore replaces the drive letter with an *. I have tried mini tool partition wizard and easeus and both produce the same results. PLEASE HELP. Thanks in advance
i'm fairly sure your card MUST be formatted using android....
u could try SDformatter but it didnt work for me,
not sure if it can be done thru linux, maybe someone who knows more about these things can advise you
what is it you are trying to achieve with the 2 partitions - there maybe other options available to you

Set external SD card to default install location [HELP]

Hi, my problem is with the phone of my girlfriend. Now have external 64GB SD, because internal storage is full. I used Android SDK and all the instructions for set default storage for install APP the new SD Card, you know, with the command adb shell pm set-install-location 2. And no error, i try get-install-location and report 2. But googe play only try to install in the internal storage.
I think the problem is with the system of the emulated storaged or something, but i tried many APP, many solutions, and i cant fix this, i search in google and others locations, have 30 tabs in firefox open with information, but i cant found the solution for this
Samsung Galaxy NOTE 4 (910F)
Android 5.1.1 (Of samsung of course)
Rooted
The vold.stab is:
dev_mount sdcard /storage/sdcard1 auto /devices/msm_sdcc.2/mmc_host
PLEASE, help me! thanks
I tried dismounting and mounting the SD, touching the vold.stab file, but do not get any results.
Can anybody help me?
Go back to stock, upgrade to 6.0.1. Then see if this helps-
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
The article is for S7, but see if you can have that working in the N4 - just have a backup of everything (int SD, ext SD, full backup in recovery).
ph03n!x said:
Go back to stock, upgrade to 6.0.1. Then see if this helps-
The article is for S7, but see if you can have that working in the N4 - just have a backup of everything (int SD, ext SD, full backup in recovery).
Click to expand...
Click to collapse
Thanks, for the moment 6.0.1 is not released in Orange (confirmation date has passed and still not have it, I assume that is in the offing). When have 6.0.1 i try you solution, thanks.
ph03n!x said:
Go back to stock, upgrade to 6.0.1. Then see if this helps-
http://www.modaco.com/news/android/...e-adoptable-storage-on-your-s7-s7-edge-r1632/
The article is for S7, but see if you can have that working in the N4 - just have a backup of everything (int SD, ext SD, full backup in recovery).
Click to expand...
Click to collapse
I tried this in my phone. While the command itself worked after a bit of a tweak, the storage situation was pathetic - the phone showed the External SD as a part of the overall storage, but did not save files to it. Instead, it started saving files to the actual internal SD Card, resulting in space running out pretty soon. The External SD card was just there, and there was no way to migrate the files from the internal storage to the adoptable storage.
I just got a new Note 4 (this is the 3rd one I'm using since the first release in 2014) and I also want to adopt external memory card as my internal space bcos the 16Gg duos version is just too small and app to SD comes with a lot of hassles. After a lot of search for different solutions (which I tried out by the way but didn't work) I came across this thread for another phone entirely but it resolved my issue: https://forum.xda-developers.com/galaxy-tab-s/general/patch-adoptable-storage-enabler-t3460478.
The only downside is that I can't pop out my card (128Gg Samsung) and plug into my PC but I can still explore it directly from the phone itself.
I've been using the phone for 3 days and it runs smoothly, I hope that solves your problem too.
So there are two parts to the adoptable storage. The first part is the partitioned SD card and mounting the partition. Simple to be done via root essentials or the command line.
The other part is the actual menu entry on an app in application manager for moving it to the second partition. IIRC samsung does not have this support built in. So you need to flash something to replace that manager bit. In my experience with an on5 (like less than 1GB free on internal storage out of the box), adoptable wasn't really worth it, too much stuff still on internal storage. As not every app will allow you to move it to that second partition. It requires both system support and app support.
What I did there was to use the app apps2sd. Same idea, second partition on SD card. But it doesn't show up in settings -> storage. You manage where the apps go via that app. I use the link feature which places a symbolic link in the internal storage and moves all the actual files to that sd card partition.
Will Rickards said:
So there are two parts to the adoptable storage. The first part is the partitioned SD card and mounting the partition. Simple to be done via root essentials or the command line.
The other part is the actual menu entry on an app in application manager for moving it to the second partition. IIRC samsung does not have this support built in. So you need to flash something to replace that manager bit. In my experience with an on5 (like less than 1GB free on internal storage out of the box), adoptable wasn't really worth it, too much stuff still on internal storage. As not every app will allow you to move it to that second partition. It requires both system support and app support.
What I did there was to use the app apps2sd. Same idea, second partition on SD card. But it doesn't show up in settings -> storage. You manage where the apps go via that app. I use the link feature which places a symbolic link in the internal storage and moves all the actual files to that sd card partition.
Click to expand...
Click to collapse
I've been using apps2sd fot about a year and it comes with it headache too, sometimes the apps wouldn't find the external data (usually games with a lot of data) and it'll start downloading it again into the internal memory, so I usually find myself having to force stop the app, delink and relink the data on the memory card to fix the bind. I also didn't bother to partition my SD card since I can explore it on the PC with my phone connected. What this solution ( https://forum.xda-developers.com/galaxy-tab-s/general/patch-adoptable-storage-enabler-t3460478 ) does is to flash back the option to use the SD card as internal memory that Samsung removed from the phones and it works seamlessly on all Samsung phones with rooted stock OS.

Categories

Resources