Ok, a little background. As we all know, the Evo Shift is sorely lacking on internal data space. I have been using Link2SD with my CWM created 4GB ext3 partition for several weeks. However, Link2SD doesn't allow for linking other folders in /data to save even more internal space. So I installed FolderMount to see if I could use it to link /data/data to my ext partition. Before I started, I made a backup in CWM, as is necessary when messing with stuff you don't know. I rebooted the phone after the backup and linked /data/data with FolderMount and rebooted again. BAM! Bootloop. Ehh, oh well, right? I gotta backup, so no worries. Yeah, I wish. Slam into recovery, start the restore, and get "Error formatting sd-ext!" I'm not too worried, just wipe the SD and recreate the ext partition. Still the same. Try again, making every effort to pay close attention to every detail. Still no dice. I tried doing a fresh format with my PC, going into CWM and formatting SD again, recreate ext partition, try to format it and same error. I even tried throwing the SD card in completely unformatted, just to make sure, and of course CWM didn't even see the SD card at all (duh, but you gotta be sure). I am kinda stuck... I don't have the $$ to buy another 32GB Class10 SD card, and I don't have another SD card to use at all. Can anyone give me any guidance as to maybe something that I have missed or haven't thought of? I'm really scratching my head trying to get around this formatting error. Any and all help is greatly appreciated.
Ok, nevermind, I figured it out. Main thing was, don't be up for 48 hrs and try messing with your phone. LOL! Second, while CWM will create a 4gb ext3 partition, it doesn't like to format or recognize them correctly. So I opted for a 2gb ext3 partition and I am good to go. This thread can be deleted. Thank you.
Sent from my PG06100 using xda app-developers app
Sorry we couldn't be more help. Lol. Glad you got it worked out.
scrumbleyj said:
Ok, a little background. As we all know, the Evo Shift is sorely lacking on internal data space. I have been using Link2SD with my CWM created 4GB ext3 partition for several weeks. However, Link2SD doesn't allow for linking other folders in /data to save even more internal space. So I installed FolderMount to see if I could use it to link /data/data to my ext partition. Before I started, I made a backup in CWM, as is necessary when messing with stuff you don't know. I rebooted the phone after the backup and linked /data/data with FolderMount and rebooted again. BAM! Bootloop. Ehh, oh well, right? I gotta backup, so no worries. Yeah, I wish. Slam into recovery, start the restore, and get "Error formatting sd-ext!" I'm not too worried, just wipe the SD and recreate the ext partition. Still the same. Try again, making every effort to pay close attention to every detail. Still no dice. I tried doing a fresh format with my PC, going into CWM and formatting SD again, recreate ext partition, try to format it and same error. I even tried throwing the SD card in completely unformatted, just to make sure, and of course CWM didn't even see the SD card at all (duh, but you gotta be sure). I am kinda stuck... I don't have the $$ to buy another 32GB Class10 SD card, and I don't have another SD card to use at all. Can anyone give me any guidance as to maybe something that I have missed or haven't thought of? I'm really scratching my head trying to get around this formatting error. Any and all help is greatly appreciated.
Click to expand...
Click to collapse
Cool you figured it out. I just saw this post, but if it happens in the future, you can try a program Partition Master. I've used it to take an SD card with didn't partitions (ext3 and ext4) to reformat it to a single volume. Plus, you can partition it this way too. I haven't used it in a year or so, but I remember it working when I was just messing around. You have to stick the micro SD card into an adapter and then connect it to your computer as a regular SD card. Then run the program and mess around with it.
Bro, I had tried everything. I used EaseUS Partition Master to reformat, repartition, and all. I checked the CWM log, which I had completely missed, because I had been up working for 48 hours straight. Log showed this error, which I basically commited to memory.
Mke2fs: lseek: Value too large for defined data type
A little more research on that error told me that CWM doesnt like 4gb ext3 partitions. It's weird though, because I've had this 4gb ext3 partition for a while and have flashed many roms and restores without issues. It started after I tried using 2 different symlinking apps. So I just tried a 1gb ext3 partition and everything works. I'll work out the error to get my 4gb partition back when I get some time.
Sent from my PG06100 using xda app-developers app
I've never needed more than 1gb myself. 4gb seems like a lot.
I have a 2GB ext.4 for the tester.
Related
I installed this and have all apps set. I thought this would save more internal space than just installing to sd? I have not gained any space with this??? I do however notice they load faster at boot though. am I incorrect in thinking it would gain me internal storage?
thanks
Sent from my VM670 using Bumblebee rom and Tapatalk
You need to manually move whatever your want to SD. (In settings you can choose apps, dalvik cache and libs; do not bother with libs, they will be back to /system after reboot). Anything already on SD (the native way, in android_secure on FAT) needs to be moved back to phone first.
N.B. You need a second partition for this on your SD card, in case you have not done it, it will not work at all
I moved everything back to phone then did the link2sd with libs and see no difference in space left
Sent from my VM670 using Tapatalk
is there a way to delete the lib file I did link? very confused why internal storage stayed the same?
Sent from my VM670 using Tapatalk
What lib file? Yeah, you are very confused really.
because you said not to bother with linking the libs..
my real question is this...
should link2sd save more internal space than just moving all apps to sd? if so.. mine did not..
thanks for the help
Sent from my VM670 using Tapatalk
Dunno how are you checking the saved/free space, if it is some widget then I would suggest to reboot the phone.
Hi! I'm on LG Optimus One and Gingerbread-2.3.4-rc4.1 /CM7 rom. My SD has one 512 MB ext3 partition and one 3,5 GB fat32 partition, class 4. When I run link2sd and choose ext3 (or other) type file system I receive this error:
Mount script error
Mount script cannot be created.
mount: mounting/dev/block/void/179:2 on /data/sdext2 failed: Device or resource busy.
I have reformatted the SD and reinstalled the rom more times but the error persists...
Please, Doktornotor, can you help me to found the culprit?
try to partition your sd card via adb. idk why, but when i tried to partition via clockwork, i had sd-ext as read-only. u can check if link2sd is mounting ok in shell (comand: mount) and look for /dev/block/void/179:2 on /data/sdext2 line . also check if ext partition is ro or wr.
Thanks for the hints! After many tries formatting the sd by linux or windows I have reached a conclusion: my SD is faulty and I will retry tomorrow (I hope) with a new one. See you!
Hi! After many tries I've changed my choices, uninstalled link2sd, uninstalled the ROM, keeping my good old SD.
Installed CM 7.1-RC0 6.5.5 by Mik_os, installed DT a2sd, et voila all runs flawlessly... seems like a miracle!
My SD card may be nearing EOL. Yesterday my Shift all of a sudden stopped recognizing it, would tell me my SD was safe to unmount and wouldn't mount it. When put into the PC it gave me an error saying something about "being unable to mount dev super block" and wouldn't read or format it. Luckily CWM still worked to partition it.
Now again this morning I'm having the same problem. (Yay, Mondays right?) Anyone have any thoughts other than buy a new SD? Or course I'd like to but money's tight so I'd like to delay that. Plus, this one's only 6 months old.
Also, anyone know how to create an sd-ext partition bigger than 4gb without a PC? (I'll be away from mine while at work and am very impatient) If nothing else I may just partition the whole 16gb as sd-ext and deal with figuring out how to make apps save data to the internal partition (I think there're mods for that somewhere).
Any help or insight is greatly appreciated, thanks in advance!
jesusice said:
My SD card may be nearing EOL. Yesterday my Shift all of a sudden stopped recognizing it, would tell me my SD was safe to unmount and wouldn't mount it. When put into the PC it gave me an error saying something about "being unable to mount dev super block" and wouldn't read or format it. Luckily CWM still worked to partition it.
Now again this morning I'm having the same problem. (Yay, Mondays right?) Anyone have any thoughts other than buy a new SD? Or course I'd like to but money's tight so I'd like to delay that. Plus, this one's only 6 months old.
Also, anyone know how to create an sd-ext partition bigger than 4gb without a PC? (I'll be away from mine while at work and am very impatient) If nothing else I may just partition the whole 16gb as sd-ext and deal with figuring out how to make apps save data to the internal partition (I think there're mods for that somewhere).
Any help or insight is greatly appreciated, thanks in advance!
Click to expand...
Click to collapse
Sounds like your card might be done . But you can try SD Formatter , it's worked a couple of times for me on cards that were supposedly done. As for the sd-ext Partition, I think you might be able to do one that big with TWRP. I know when I was messing around trying to decide on mine I took the optional setting why past 2GB. I settled on just over a 1GB of partition .
prboy1969 said:
Sounds like your card might be done . But you can try SD Formatter , it's worked a couple of times for me on cards that were supposedly done. As for the sd-ext Partition, I think you might be able to do one that big with TWRP. I know when I was messing around trying to decide on mine I took the optional setting why past 2GB. I settled on just over a 1GB of partition .
Click to expand...
Click to collapse
Thanks for the tip! And I can now confirm that TWRP does allow the sd-ext partition to be as large as one wants. I'll probably try that program you linked.
Glad I could help
hello, i was about to flash a new rom on my hd 2 and i forgot that i put a wrong sd, and i partioned my sd and now i lost everything, is there a way to recover all my files? i havent done anything to the sd since i partioned it!
edit: i did this in CWM recovery
Try google this testdisk-6.12-WIP. It can restore partition along with files in it. Or try some data recovery software,mostly they works
Sent from my blek krupuk
do you know any program that can recover all kind of files, because i need all my files
anyone? please?
Not gunna happen what do u think happens when you delete things from your trashcan
Sent from my LG-P999 using XDA App
i did the partion on the phone, i heared thats it possible to recover them if i havent written any new files
Try a program like Recurva I'm not sure if it works on flash memory though.
Malbadawi said:
i did the partion on the phone, i heared thats it possible to recover them if i havent written any new files
Click to expand...
Click to collapse
That is only applicable for magnetic disks. And also not if you deleted the whole damned partition, created it, and reformatted it again.
That alone is worse than writing a lot of files.
Consider your files lost. Next time back them up to somewhere.
i partioned it by cwm, and thought i had the wrong sd in.
Hi Malbadawi,
I would like to suggest you that go for Stellar Data Recovery Services & Software.
For my personal experience, when I had to recover files from hard disks or flash memory (usb key/SD), my best choice is GetDataBack (you will need FAT edition, not NTFS).
Just insert your sd in a card reader and follow the step by step tutorial. Do not attempt to reformat your card if your PC doesn't see that, the app will look into it at a lower level...
btw, a 100% recovery isn't always guaranteed, as you know, [email protected]!# happens
Yes, GetDataBack is a great program, try it instead of Stellar Data Recovery. But reformat card as said. Works fine for me.
Thanks all for replies i will try them when i get back home
I accidentally hit the FACTORY RESET option in HBOOT, and it seems the phone just rebooted into TWRP without doing anything. However it seems my SDcard is now empty and unformatted. Earlier I had two "Internal SDcard" options in TWRP\Mount but now I just have one, and if I try to click on Mount USB storage, the removable disk appears as an unformatted disk on my PC. Is there any to fix this? Is the SD gone for good or can I recover the data?
Run a Ruu and your phone should be fine again (dont forget to relock your bootloader)
I think your data you wiped is hopelessy gone..
Sent from my HTC One S using xda premium
I made a nandroid luckily, but I just realised that the problem is due to the sdcard not actually being able to mount. It says
E:unable to mount '/sdcard'
I'm using TWRP 2.5, maybe I will try with 2.3.1.0.
EDIT: Okay that didn't help. If I run a RUU won't it erase my SD card? I don't want to lose what's on there, is there any way to fix it and be able to mount it again?
Bottom line: I need the data on my SD... is there any way to recover it?
djsubtronic said:
Bottom line: I need the data on my SD... is there any way to recover it?
Click to expand...
Click to collapse
No its gone sorry and no need for ruu just flash stock recovery and factory reset again.
Ten years of data just destroyed within the blink of an eye.
FML.
reformat the sd card and use recovery tools (google for them). most of your stuff will be easily brought back from the dead.
speedfreak007 said:
reformat the sd card and use recovery tools (google for them). most of your stuff will be easily brought back from the dead.
Click to expand...
Click to collapse
I did. It seems everything on the card was nuked. I tried about ten different recommended apps, none of them could find a single file even with deep searches.
djsubtronic said:
Ten years of data just destroyed within the blink of an eye.
FML.
Click to expand...
Click to collapse
I'm sorry for your loss. Now, not to be a douche, but 10 years? Have you traveled through time with your One S?
Fruktsallad said:
I'm sorry for your loss. Now, not to be a douche, but 10 years? Have you traveled through time with your One S?
Click to expand...
Click to collapse
It easily could have been downloaded data. I'm really sorry to hear about your loss, but always keep a copy of your SD card on your PC, no matter what.
djsubtronic said:
I accidentally hit the FACTORY RESET option in HBOOT, and it seems the phone just rebooted into TWRP without doing anything. However it seems my SDcard is now empty and unformatted. Earlier I had two "Internal SDcard" options in TWRP\Mount but now I just have one, and if I try to click on Mount USB storage, the removable disk appears as an unformatted disk on my PC. Is there any to fix this? Is the SD gone for good or can I recover the data?
Click to expand...
Click to collapse
before going through the trouble of an RUU, if you can see the unformatted disk from your computer just try formatting it there into a FAT32 partition like you would any other drive. This has worked for folks successfully. But as for data recovery....
Dang that sucks... was there some sort of confirmation before starting the wipe? I've always been paranoid that I might fat finger it randomly and it just wipes without some kind of second check
Reflash the recovery img from fastboot then boot into recovery, you should be able to mount sd
Zero help to anyone, but I did exactly the same thing myself and had to mount the SD card in recovery and format.
It hurts!!
Well it's official. All my data is forever gone. And no there was no notification, I hit "FACTORY RESET", and it just paused for a second then rebooted into TWRP with my SD instantly destroyed. I tried every possible trick in the book. The problem for me wasn't just getting it to mount and work again, I could have done that in 20 seconds. The problem was to try and get it back WITH all my data, which I failed.
In the end, I made a RAW disk image backup of the sd card partition which for some bizarre reason ended up with a file that was 6 MB in size instead of 10 GB... I knew my data had somehow got nuked. I decided to just reformat it (Quick Format) as FAT32 on the PC, then I ran a host of data recovery programs, even those that were specialised in finding stuff from formatted drives. None of them could even find ONE file. But after format I was able to use it as normal.
I have really no clue how the entire drive was nuked within a fraction of a second, even all the data on it, but it is what it is.
On the bright side, for some reason my phone seems MUCH faster now, especially when installing apps, and the battery seems to last noticeably longer too.
djsubtronic said:
Well it's official. All my data is forever gone. And no there was no notification, I hit "FACTORY RESET", and it just paused for a second then rebooted into TWRP with my SD instantly destroyed. I tried every possible trick in the book. The problem for me wasn't just getting it to mount and work again, I could have done that in 20 seconds. The problem was to try and get it back WITH all my data, which I failed.
In the end, I made a RAW disk image backup of the sd card partition which for some bizarre reason ended up with a file that was 6 MB in size instead of 10 GB... I knew my data had somehow got nuked. I decided to just reformat it (Quick Format) as FAT32 on the PC, then I ran a host of data recovery programs, even those that were specialised in finding stuff from formatted drives. None of them could even find ONE file. But after format I was able to use it as normal.
I have really no clue how the entire drive was nuked within a fraction of a second, even all the data on it, but it is what it is.
On the bright side, for some reason my phone seems MUCH faster now, especially when installing apps, and the battery seems to last noticeably longer too.
Click to expand...
Click to collapse
Hmm. Maybe I should do it too lol.
You should automatically upload your photos or files somewhere. Mine upload to Dropbox so if anything bad happens, nothing too bad can go wrong.
djsubtronic said:
In the end, I made a RAW disk image backup of the sd card partition which for some bizarre reason ended up with a file that was 6 MB in size instead of 10 GB... I knew my data had somehow got nuked. I decided to just reformat it (Quick Format) as FAT32 on the PC, then I ran a host of data recovery programs, even those that were specialised in finding stuff from formatted drives. None of them could even find ONE file. But after format I was able to use it as normal.
Click to expand...
Click to collapse
It's hard to do recover because normal format recovery might not work but you can try the old ver of Easy Recovery Pro 6.x(I don't know why but the lastest ver seems removed RAW recovery) and use the RAW recovery, it usually could find some stuffs. You can also try out Diskgenius.
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
cpkelley94 said:
I'm currently running bhundven's herring CM9 with no kernel modifications and CWM 6. I find that the internal storage for this phone is very low and only holds a small amount of applications, especially since many apps seem to not want to install at all (about 3/4 of the time I try to install things, I get either "Package invalid" or "Insufficient space available", which is extremely annoying and might be a separate problem).
Is there any way that I can get sd-ext to work on this phone with this setup? I'd rather not switch kernels (I'd love to get TWRP recovery but the flashable doesn't work for me and I don't want to switch kernels).
Click to expand...
Click to collapse
I haven't used it but this app should do the trick.
https://play.google.com/store/apps/details?id=eu.codlab.int2ext
Let me know if it works.
I prefer Mounts2SD, which lets you completely configure things. I was running PACman with cache and dalvik offloaded which worked quite well. And free is a good price.
https://play.google.com/store/apps/details?id=com.spazedog.mounts2sd
That seems like it just switches the internal and external storage, not making an ext partition on the SD card. But can things like this really be done through an app? I thought these things had to be done through init.d or build.prop scripts.
Sent from my SGH-T959V using xda app-developers app
The app creates an init file. Or so it appears. Like I said I don't use it. It seems that raze does and I'd defer to him here. Either his app or the one I linked should work fine.
Thanks (given) to both of you. And any ideas on what else might be causing the invalid packages when downloading from the play store? It happens even though I have much more free app space than I would need (eg. I had 119 MB of free space and a 30 MB app download failed).
EDIT: Just tried using Mounts2SD, but it couldn't find the sd-ext partition. Do I need to create that manually, and how?
Sent from my SGH-T959V using xda app-developers app
Titanium backup had a feature to integrate app updates into the Rom.
Sent from my SAMSUNG-SGH-I547 using xda app-developers app
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
My method was boot to recovery, mount sdcard, copy everything to computer HD, unmount sdcard, partition sdcard with 2 GB sd-ext (because I wanted lots of space, but I'd probably cut it down to 1 GB next time), mount sdcard, copy everything back from computer HD, unmount sdcard, reboot to system. Then launch Mounts2SD, pick what format you want the sd-ext in (FAT or ext2 are the fastest, but you can take ext3 or ext4 if you're not going to just disable the safety features) and what stuff you want moved over.
Edit: Just found this link, which I haven't used but which explains how to do the sd-ext with MiniTool... apparently MiniTool DOES still wipe the partitions though, so you may as well just use CWM/TWRP and make your life easier.
http://forum.xda-developers.com/wik...#using_MiniTool_Partition_Wizard_Home_Edition
Theraze said:
I used CWM or TWRP to create the sd-ext partition. You need to create that first somehow... if MiniTool Partition Wizard will do it without wiping the sdcard, that's better than recovery though.
Click to expand...
Click to collapse
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Madein Cyberspace said:
MiniTool will wipe the sd card to create the new partition as well. I wish there was a way to do it without wiping the card but there is not. So back that stuff up first.
Click to expand...
Click to collapse
I used GParted to partition my SD card. NO WIPING. Move, resize, add partitions.
nevkuril said:
Another way is to create ext4 partition (about 1G is usually enough) on you SD card with free MiniTool Partition Wizard and then use Link2SD to link apps/dalvik to this partition. I've been using it like this for a long time and it works fine. There are plenty of guides on the Web how to do that.
Click to expand...
Click to collapse
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Eh, my results varied. Worked fine for me with ext4. And worked fine for my wife as well.
Rebel_X said:
Yes, but our herring kernel does not support EXT4 partition, I tried it myself
and it didn't work. I had to create EXT3 which is supported by almost all kernels.
Click to expand...
Click to collapse
The OP says he's running CM9. That's what I'm running but I use Proton kernel as CM9 kernel has a video bug, and ext4 partition works just fine for me. Strange if Bryan really removed ext4 support, it's just a line in the config file.
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
EDIT: Fixed the problem, changed my partition to ext2 and set both partitions to "Primary" (not sure which one did the trick).
cpkelley94 said:
Successfully made the partitions last night but my phone won't mount the SD card anymore. Was trying ext3, I'll try ext2 and ext4.
Click to expand...
Click to collapse
Make sure that you make the first partition Primary/FAT32. This will be your normal SD card. Just take about 1GB of space from it at the end. Then make second partition Primary/ext4 with size to the end of the card. You can try ext2/3 but I don't think it is really necessary.
MiniTool will NOT wipe your partition if you do it right.
dsexton had a guide posted on how to do it.
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
cpkelley94 said:
Is it worth making a swap partition? If I remember correctly it significantly degrades the life of the SD card (and microSD's are delicate as it is), and I don't know if it would significantly increase performance.
Click to expand...
Click to collapse
I also created 128MB swap partition, not supported too and not mounted.
I tried to used swapper2 app from the market, but it says not supported by
kernel. Now I lost that space till I feel motivated to format or repartition the SD
card again.
I am using hefe kernel btw on AOKP milestone 6-5.
No swap.
Sent from my SGH-T959V using xda app-developers app