I had this error when I tried to format my sd as internal :
"Attempt to invoke virtual method 'java.lang.String
android.os.storage.VolumeInfo.getId()'
on a null object reference"
Then every time I try I got a "corrupted" message
Any solution please ?
Adoptable storage is an essential feature for me and I really love this rom...
TheBlueShadow3 said:
I had this error when I tried to format my sd as internal :
"Attempt to invoke virtual method 'java.lang.String
android.os.storage.VolumeInfo.getId()'
on a null object reference"
Then every time I try I got a "corrupted" message
Any solution please ?
Adoptable storage is an essential feature for me and I really love this rom...
Click to expand...
Click to collapse
Try doing it trough the command prompt!
Any tutorial for that ?
Thanks anyway
If u want more space, i recommend u to use link2sd app(https://play.google.com/store/apps/details?id=com.buak.Link2SD&hl=es). I tried using sd as internal, and i ran into a lot of problems, including that i could not access it via the phone or even select where apps were installed... Format the sd with minitool partition manager in 2 primary partitions, first one Fat32 and second one ext2(most compatible ext format that worked for me). Then in link2sd select that format and start freeing up space. I have 5 gigs in my sd as ext2 destinated to this purpose. Also this way i can access both partitions with lineage 14, and first partition via pc and choose wich apps are in the sd and wich in the internal memory...
Related
Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
ackz said:
Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
Click to expand...
Click to collapse
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
d4rkkn16ht said:
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
Click to expand...
Click to collapse
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Did you make a backup of your sd before creating the sd ext partition
? Should be written in each tutorial concerning sd ext creation.
Otherwise your data is no more.
As already written, windows is not able to read a sd ext partition. its fully right, that your fat32 partition shows only 7gb, the other 1gb is used from the sd ext and not viewable by windows.
...to create a sd-ext very easy go into cwm-advanced-format sd card and chose 1gb ext 0 swap.
Sent from my HTC HD2 using XDA Premium App
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Try this :
Backup all data in your micro SD.
Open & boot your computer using Gparted Linux / Parted Magic Linux / any other linux that has GParted / Parted inside its LiveCD
Run Gparted.
Delete all partitions.
Options:
Create sd-ext partition using GParted :
Create 1 fat32 Partition (as Primary) & adjust the size to your liking
Create 1 ext3/ext4 (as Primary...check if your android kernel support ext4) & adjust the size to your liking (usually 1 - 2 GB is enough)
Create sd-ext partition using CW Recovery:
Create fat32 Partition (as Primary...use all space)
Boot HD2 into AD Recovery
Go to Advanced menu
Format & choose sd-ext partition options
Flash your fav. ROM
Notes:
I personally like Parted better than GParted as it's a lot quicker & more advanced options (GParted is only a front-end for Parted).
Parted is for advanced user & TUI.
If you want to try Parted,make sure you read the manual & understand everything related to your actions (open console / terminal & type : man parted)
Use Parted using Root access (open console / terminal & type : sudo parted).
Use it with caution as it can wipe all of your hard drive data !
For more info about Parted try this link :
GNU Parted
Hi,I have a problem with my sdcard.
2 days now every rom i try,acts like there is no sdcard inserted on the phone.File manager says "This folder is empty",there is no mount sdcard option when connecting usb cable,and Storage settings say "Insert an sdcard for mounting".
The strange thing is that from recovery i can access all my files and i can mount the card to the pc as well with absolutely no problems.The card is formated with gparted as ext2,and a few megabytes as swap.Any help would be apreciated
Nevermind i somehow magically fixed it
Recreate using gparted. I too had lot unsuccessful trials of partitioning with it.
Use gparted again and delete entire space. Then leave some space for ext partition (in multiples of 64, 128, 256, 512, 1024). Now create remaining space as extended partition first. It need not be formatted now. Then create 0 mb swap . Then create multiple value to ext.
Then format ext. Then format fat.
Dont know whether it solves or not because I was totally confused here. For me the sdcard that came with wildfire got apps2sd enabled only when partitioning with gparted. But when I used another sdcard, it even suceesfully enabled apps2sd when partitioning from recovery.
Sent from my HTC Wildfire using XDA App
I have pationed my sd card into 1 gb ext4 patition now I am using h9....now it shows only 6gb memory card....and my internal memory ia same...and the remaining 1gb is not found...hp to make that 1gb as my internal....
You need to use Link2sd & mount the partition then you can link apps
If link2sd doesn't give you the option to mount the ext partition you created it wrong
You can create your partition in cwm under the partitioning section - note that it will format your sd card so backup first to pc
Also note that your internal storage will not increase - this is a fixed hard drive and unless you magically fit a bigger one it will always be the same
What you are doing is creating virtual storage space on your sd card that acts like internal storage
The advantage is you can install more apps
The disadvantage is the more apps you link the more laggy the phone will get
marcussmith2626 said:
You need to use Link2sd & mount the partition then you can link apps
If link2sd doesn't give you the option to mount the ext partition you created it wrong
You can create your partition in cwm under the partitioning section - note that it will format your sd card so backup first to pc
Also note that your internal storage will not increase - this is a fixed hard drive and unless you magically fit a bigger one it will always be the same
What you are doing is creating virtual storage space on your sd card that acts like internal storage
The advantage is you can install more apps
The disadvantage is the more apps you link the more laggy the phone will get
Click to expand...
Click to collapse
so how can delete this partition....?so that I get my memory back
–NigthFury– said:
so how can delete this partition....?so that I get my memory back
Click to expand...
Click to collapse
By either formatting the sd card with your phone or creating a new partition in cwm (this will delete everything on sd card so backup first to pc)
Or
Use mini tool on pc to format the partition & then merge the partitions or delete all partitions & create a new one
Hello
I have rooted J5 (2015) with stock marshmallow 6.0.1 (rom installed manually via odin) and i want to use link2sd app. I make 2 partitions FAT32 and ext2 both are primary and FAT32 is a first partition. But link 2 sd dont see second partition. When i make script via link2sd i get message No such file or directory. I try format card and use ext 2 ext3 ext4 formats always that same error. I think that maybye sd card is broken (i have old 2gb card) it can be it?
You need to separate partitions on your SD card, you can do this either by PC (if you have microsd slot) or using an app, i don't remember the name. Those are the ways to make sd card second partition for cache and etc.
But doing that you will just slow your phone down
What do you mean separate? I have two partitions fat32 and ext2
I buy new sd card and wipe my phone, still get error no such file or directory. Can anybody help?
ok i sovle my problem by using other app. Apps2SD create aplications link with sd card
Szynsz said:
I buy new sd card and wipe my phone, still get error no such file or directory. Can anybody help?
ok i sovle my problem by using other app. Apps2SD create aplications link with sd card
Click to expand...
Click to collapse
Hi, could you please update this and quote as solved in OP? TY?
Ok but what is OP?
Dear Concern,
Recently I have partitioned my 64gb SD Card in "two formats" by "MiniTool Partition Wizard" taking help of video tutorial to use some features of LINK2SD app. After partition the formats were:
01. FAT32 (type-primary) and 02. Ext2 (type-primary)
However later I decided to restore my SD card as it was earlier. So again I took help from vid tutorial and tried as below using "MiniTool Partition Wizard":
01. Delete EXt2 partition and
02. Merge the unlocated space to the other space
But after giving command when I press APPLY it didnt do anything but show a msg like "configuration not support". I thought that it didnt work caz there were some data in my FAT32 partition. So I decided to format that partition. When I went to the click format option two file system were shown shich are "exFAT & NTFS". I choose the first one and formatted that partition. After formatting the partition the file system of this partition change to "exFAT" which was earlier "FAT32". Still I cant delete and merge the 2nd partition (file system-EXT2) to the other one and restore my SD card in its earlier condition i.e. a partition-less SD card. Can you pls help me to solve this problem??