corrupted sd card help please - Galaxy Note 4 Q&A, Help & Troubleshooting

how to fix corrupted sd card ??
Please help me

shafeel said:
how to fix corrupted sd card ??
Please help me
Click to expand...
Click to collapse
Format it. It will wipe everything though

Any solution can I fix without format?

shafeel said:
Any solution can I fix without format?
Click to expand...
Click to collapse
Pull it out stick it in your PC and let it fix it. I had this happen to me all the time. I got a new SD card, but its starting to do it again. Not sure if its my old phone or software.
Sent from my SM-N920P using Tapatalk

shafeel said:
Any solution can I fix without format?
Click to expand...
Click to collapse
If you are rooted or use custom TWRP recovery you can fix it without take it out from your phone.
First if you are rooted but don't have TWRP:
Unmount your microSD
IT IS VERY IMPORTANT TO UNMOUNT YOUR MICROSD BEFORE YOU CONTINUE OR YOU MAY LOSE YOUR DATA FOREVER
Install Terminal Emulator
Open Terminal Emulator
Type : su then press ENTER
It should trigger Super SU permission if you haven't allow it.
for ExtFAT formatted microSD type: fsck.extfat -fp /dev/block/mmcblk1p1 then press ENTER
Wait until it finish.
Mount your microSD
If you have TWRP:
Enter TWRP Recovery
Go to mount section
Unmount MicroSD
IT IS VERY IMPORTANT TO UNMOUNT YOUR MICROSD BEFORE YOU CONTINUE OR YOU MAY LOSE YOUR DATA FOREVER
Mount system partition
Go to Terminal
Type: cd /system/bin then press ENTER
for ExtFAT formatted microSD type: fsck.extfat -fp /dev/block/mmcblk1p1 then press ENTER
Wait until it finish.
Reboot
Important notes:
the command line may differ a little bit for each ROM/kernel/busybox but the main point is you can fix corrupted microSD from within you phone without formatting it.

Related

Hero's Kryptonite?

I tried to flash the Hero rom by partitioning my stock micro sd (the 1 that came with the phone)
...yeah i know it says not recommended but my 16gb card is being mailed and i couldnt wait.
anyway...now it will show the boot image and play the sound and then it will just be a black screen and wont go any further.
would i able to salvage this when my 16 gig card comes somehow?
could i flash back to an older rom? is the app_s folder in the ext partition going to interfere with that at all?
Please help!!!
Unbelievable
CC CEO said:
I tried to flash the Hero rom by partitioning my stock micro sd (the 1 that came with the phone)
...yeah i know it says not recommended but my 16gb card is being mailed and i couldnt wait.
anyway...now it will show the boot image and play the sound and then it will just be a black screen and wont go any further.
would i able to salvage this when my 16 gig card comes somehow?
could i flash back to an older rom? is the app_s folder in the ext partition going to interfere with that at all?
Please help!!!
Click to expand...
Click to collapse
i would recommend to go back to your backup (you did do a backup right?)
just flash the data, system, and boot .img files back
since you're doing Hero im guessing you have the newer SPL
you might run into a roadblock trying to fastboot so if you cant get the fastboot to work then boot into recovery mode and then go into a command prompt and run the following:
adb shell
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
Click to expand...
Click to collapse
this will let you access your memory card
get the HardSPL from here
copy it into your card as "update.zip"
now apply the update with ALT+S
after its done you can reboot back into the bootloader with ALT+X and typing
reboot bootloader
Click to expand...
Click to collapse
now you should be able to flash you backups like usual
nope didnt make a backup...i know..
but...
i was able to format my sdcard back to its original state and i flashed google ion back on the phone. question is are there any lingering affects to the phone itself? in setting up the ext2 or anything on the stock card might i have pushed or pulled something i shouldnt have from the internal storage if i didnt create a backup??
if so. how would i fix this?
if you Alt+W'd the phone there wont be any lingering effects,,,, its wiped and wont bother you no sunder!
I was having the same problem as you, as I too am only using the stock 1gb sdhc that came w/ the g1.
just did searching on here and I got it up n running.
I'm thinking maybe you did like me and pushed the /app_s/ folder while the SD was mounted to your pc, this is what I am guessing was my issue.
I've come to that conclusion since I've done the push w/o mounting the SD
Also I found that I had to be in the app_s folder on my computer to push it right, at first I was pushing it and it was going into /system/sd/app_s/app_s
Here's Haykuro's original instruction's
Installation:
1. Download http://www.droiddeveloper.com/hrbuilds/app_s.zip
2. extract "app_s" into your sdcard's ext2 partition.
3. Download http://www.droiddeveloper.com/hrbuilds/hero-signed.zip
4. Place on regular sd card.
5. Reboot into recovery, wipe and flash.
6. Enjoy.
--
for step 2... make sure you are in the actual app_s folder when you do the following command and make sure the sd card is NOT mounted.
adb push app_s /system/sd/app_s
--
follow the rest of the instruction's as stated and you should be fine.
now, to get it running smoother...
follow the tutorial here...
http://forum.xda-developers.com/showthread.php?t=521251
also within the thread there's tip's on moving the Rosie.apk along w/ widget's to internal memory, I just focused on the larger widget's, the largest being the weather one.
hope this help's.
just one noob tryna help another noob out ;-)
please help
When i am doing the update.. i am getting this error.. .
E: Can't chown/mod /system/xbin (not such file or dir)
E: Failure at line 12: set_perm_recursive 0 2000 0755 06755 SYSTEM:xbin
installation aborted."
please help!!

Can't Wipe SD Ext

Hey everyone,
I just rooted my Hero awhile ago and everything went fine... However, I tried to flash a ROM to it and something seems to have screwed up. It booted once, but it wasn't to the new ROM, it seemed like it was back to factory settings... and now it won't get past the initial HTC logo when I try to boot. I can reach the recovery, but I've tried wiping everything and restoring with Nandroid and still nothing.
I think the problem may be with the wipe. When I wipe data/factory reset, I get "No app2sd partition found. Skipping format of /sd-ext." I'm new at this but I've noticed most ROMs saying that sd-ext needs to be wiped. Is this why I can't boot the phone? Is there a way to fix this?
Thanks.
randomhodge said:
Hey everyone,
I just rooted my Hero awhile ago and everything went fine... However, I tried to flash a ROM to it and something seems to have screwed up. It booted once, but it wasn't to the new ROM, it seemed like it was back to factory settings... and now it won't get past the initial HTC logo when I try to boot. I can reach the recovery, but I've tried wiping everything and restoring with Nandroid and still nothing.
I think the problem may be with the wipe. When I wipe data/factory reset, I get "No app2sd partition found. Skipping format of /sd-ext." I'm new at this but I've noticed most ROMs saying that sd-ext needs to be wiped. Is this why I can't boot the phone? Is there a way to fix this?
Thanks.
Click to expand...
Click to collapse
Yes, that's way.
You need to wipe the ext partition -- most likely the partition that houses Apps2SD.
**This will ERASE everything on the SD Card. Before trying this, you need to back up your sd card (pictures, music, etc) -- meaning, copying all the stuff from the card onto your Desktop or somewhere on the computer before proceeding to the next step.
To do so; go into recovery and choose:
1. Partition sdcard
2. Partition SD
3. Press Home to confirm
4. Set Swap-size to 0 MB (Use trackball)
5. Set Ext2-size to 0 MB (Use trackball)
6. Fat32-size = Leave that to Remainder
7. Press Home to confirm.
This will FORMAT (erase) everything on your SD card, but not the phone. For good measure, I would wipe your phone and Dalvik once more before flashing the ROM again. After its done, you can reboot, mount your SD Card and copy what you saved to the desktop (or wherever) back onto the SD card.
If you want Apps2SD (I'll presume you have a regular 2 gig SD Card), then after wiping both your phone and Dalvik; you'll need to follow the steps above to wipe the Ext partition, but instead of setting your swap to 0, set it to 128. Then set your Ext2/3/4 to 1 Gig (1024 megabtyes) and leave the Fat32-size as Remainder. For larger cards, you can adjust the Ext/2/3/4 partitions to about half the size of your SD Card. (Ex. 4 gig card; set Ext to 2 gigs, leave Fat32 as remainder).
Good luck.
I'm not seeing the partition option, maybe I should've mentioned I'm in Clockwork Mod recovery. Under the partitions menu there is an option to format sdcard, will that have the same effect? I've tried format sd-ext, but of course it didn't work..
Edit: I've reformatted the SD card, but still can't boot, and am still getting the No app2sd partition found error when I select wipe data/factory reset. Is there a way to get to the partition sd option with this Clockwork Mod recovery?
randomhodge said:
I'm not seeing the partition option, maybe I should've mentioned I'm in Clockwork Mod recovery. Under the partitions menu there is an option to format sdcard, will that have the same effect? I've tried format sd-ext, but of course it didn't work..
Click to expand...
Click to collapse
Clockwork Mod? Can you please link where you got this? The only recovery ROM's I'm familiar with are RA 1.3.2, 1.5.2, 1.6.2, and Godspeed. I would highly advise installing the latest RA 1.6.2 or Godspeed recovery images, as the advise myself or anyone else gives you will pertain almost always to those recovery images.
The tutorial I was using to flash the ROM recommended using an app from the app store called ROM manager, which installed the Clockwork mod. I'm attempting now to get RA 1.6.2 on it instead.
What's the best way to install a new recovery ROM? using this one, I can get connect to the pc and get a command window open, but from there what I'm trying doesn't seem to be working.
Problems with sd card
this seems like a good place to ask..after trying to flash a new rom(aloysuis) i hung on the black htc screen. i abondoned that card, inserted my old, reflashed fixxxed on there and its fine. i put my other sd card in that wouldnt work, formatted and copied the working card contents back on it. running fixxxedsense my phone upon loading says "sd card removed, Insert a new one. plug it in and it doesnt give me an option to mount, but when im in recovery mode it lets me mount and see all the contents i put on there. Did i ruin my sd card r is there a problem with the partitions maybe?
thatdudepoops said:
this seems like a good place to ask..after trying to flash a new rom(aloysuis) i hung on the black htc screen. i abondoned that card, inserted my old, reflashed fixxxed on there and its fine. i put my other sd card in that wouldnt work, formatted and copied the working card contents back on it. running fixxxedsense my phone upon loading says "sd card removed, Insert a new one. plug it in and it doesnt give me an option to mount, but when im in recovery mode it lets me mount and see all the contents i put on there. Did i ruin my sd card r is there a problem with the partitions maybe?
Click to expand...
Click to collapse
It seems the partitions might be the problem.
**If you don't mind erasing everything on your "broken" sd card, please follow the steps below.
**This will ERASE everything on the SD Card. Before trying this, you need to back up your sd card (pictures, music, etc) -- meaning, copying all the stuff from the card onto your Desktop or somewhere on the computer before proceeding to the next step.
To do so; go into recovery and choose:
1. Partition sdcard
2. Partition SD
3. Press Home to confirm
4. Set Swap-size to 0 MB (Use trackball)
5. Set Ext2-size to 0 MB (Use trackball)
6. Fat32-size = Leave that to Remainder
7. Press Home to confirm.
Click to expand...
Click to collapse
After you've done this; your card will have nothing on it. You should be able to use the card again, I would try using it again and see if you can mount it; both in recovery and in regular phone mode.
pseudoremora said:
It seems the partitions might be the problem.
**If you don't mind erasing everything on your "broken" sd card, please follow the steps below.
After you've done this; your card will have nothing on it. You should be able to use the card again, I would try using it again and see if you can mount it; both in recovery and in regular phone mode.
Click to expand...
Click to collapse
yea i partitioned it, although it doesnt let me set size tho.its says its partition with no errors. it should be partitioned ive used this method every other time...oh im still using ra-heroc-v1.2.3
randomhodge said:
The tutorial I was using to flash the ROM recommended using an app from the app store called ROM manager, which installed the Clockwork mod. I'm attempting now to get RA 1.6.2 on it instead.
What's the best way to install a new recovery ROM? using this one, I can get connect to the pc and get a command window open, but from there what I'm trying doesn't seem to be working.
Click to expand...
Click to collapse
To install a custom recovery image:
1. Download either RA 1.6.2 or Godspeed recovery
2. Copy Recovery Image to your SD Card
3. Boot your phone into recovery mode
4. Plug your phone into your computer
5. Open command prompt and change directory your androidsdk\tools folder
6. Run the following command(s):
Code:
adb shell
$su (not required if you have root already)
#mount -a (You might get some error messages, [B]keep going[/B])
#flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
reboot recovery
After the reboot, you should the new recovery image installed.
thatdudepoops said:
yea i partitioned it, although it doesnt let me set size tho.its says its partition with no errors. it should be partitioned ive used this method every other time...oh im still using ra-heroc-v1.2.3
Click to expand...
Click to collapse
If you have a SD Card adapter or a card reader that can read mini-sd cards:
1. Plug your sd card into the reader/adapter; then to the computer
2. Right click on the removable drive in My Computer
3. Choose FORMAT
4. Quick Format is fine
5. After it's complete, close the window and test the card again.
If it fails again or gives error messages, you might have a bad card.
Okay, got the new recovery, partitioned and wiped everything, and am trying to flash the ROM again. Wish me luck
Okay, now I get past the HTC logo, and it seems to be loading the ROM, then it freezes. I've let it sit for around 5 minutes now with nothing, is this normal for the first load of a ROM or should I try to restore my backed up nandroid?
ClockworkMod has a problem with wiping ext. Amon_RA or GodSpeed should work fine.
randomhodge said:
Okay, got the new recovery, partitioned and wiped everything, and am trying to flash the ROM again. Wish me luck
Click to expand...
Click to collapse
Good luck, report back.
Edited the last post, but I'll repost for the new page:
Okay, now I get past the HTC logo, and it seems to be loading the ROM, then it freezes. I've let it sit for around 5 minutes now with nothing, is this normal for the first load of a ROM or should I try to restore my backed up nandroid?
randomhodge said:
Edited the last post, but I'll repost for the new page:
Okay, now I get past the HTC logo, and it seems to be loading the ROM, then it freezes. I've let it sit for around 5 minutes now with nothing, is this normal for the first load of a ROM or should I try to restore my backed up nandroid?
Click to expand...
Click to collapse
The first boot can take some time. With that said, 5-20 minutes is usually best to give the intitial boot. If it still isn't booting; redownload the ROM and try reflashing.
pseudoremora said:
To install a custom recovery image:
1. Download either RA 1.6.2 or Godspeed recovery
2. Copy Recovery Image to your SD Card
3. Boot your phone into recovery mode
4. Plug your phone into your computer
5. Open command prompt and change directory your androidsdk\tools folder
6. Run the following command(s):
Code:
adb shell
$su (not required if you have root already)
#mount -a (You might get some error messages, [B]keep going[/B])
#flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
reboot recovery
After the reboot, you should the new recovery image installed.
If you have a SD Card adapter or a card reader that can read mini-sd cards:
1. Plug your sd card into the reader/adapter; then to the computer
2. Right click on the removable drive in My Computer
3. Choose FORMAT
4. Quick Format is fine
5. After it's complete, close the window and test the card again.
If it fails again or gives error messages, you might have a bad card.
Click to expand...
Click to collapse
ok after trying to put the ne recovey on there i tried to go into the adb shell and it says
C:\android-sdk-windows\tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device not found
C:\android-sdk-windows\tools>adb shell
error: device not found
Up and running! Thanks so much for your help
thatdudepoops said:
ok after trying to put the ne recovey on there i tried to go into the adb shell and it says
C:\android-sdk-windows\tools>adb shell
adb server is out of date. killing...
* daemon started successfully *
error: device not found
C:\android-sdk-windows\tools>adb shell
error: device not found
Click to expand...
Click to collapse
Make sure you have Debugging mode on.
To do this (on the phone):
1. Menu
2. Settings
3. Applications
4. Development
5. Make sure USB Debugging has a check in it
Then run the commands again.
randomhodge said:
Up and running! Thanks so much for your help
Click to expand...
Click to collapse
No problem, glad eveything worked out.
pseudoremora said:
Make sure you have Debugging mode on.
To do this (on the phone):
1. Menu
2. Settings
3. Applications
4. Development
5. Make sure USB Debugging has a check in it
Then run the commands again.
No problem, glad eveything worked out.
Click to expand...
Click to collapse
yep its on
thatdudepoops said:
yep its on
Click to expand...
Click to collapse
Are able to run adb commands when your phone is booted into regular phone mode?
pseudoremora said:
Make sure you have Debugging mode on.
To do this (on the phone):
1. Menu
2. Settings
3. Applications
4. Development
5. Make sure USB Debugging has a check in it
Then run the commands again.
No problem, glad eveything worked out.
Click to expand...
Click to collapse
pseudoremora said:
Are able to run adb commands when your phone is booted into regular phone mode?
Click to expand...
Click to collapse
no it still says no devices

SD Card Problem with Kyrillos' ROM v3.3 Extreme Edition

Hello, I have a Problem with my SD Card after I Partitioned the SD Card with
mad_team_app2sd app and restarted my Phone I tried to fix it as said in the thread
2open adb or terminal emulator and type the commands.
adb shell (if you are using terminal emulator type "su" instead of "adb shell")
mkfs.vfat /dev/block/mmcblk0p1 (and wait ~30 secs)
Click to expand...
Click to collapse
but that doesnt worked out for me, I got this error message:
mkfs.vfat: can't open "/dev/block/mmcblk0p1": Permission denied
Click to expand...
Click to collapse
can anybody help me please?
btw: sry for my bad english: i'm from austria
also when i enter recovery mode it says in red letters
E: Can't mount /dev/block/st18 (Invalid Argument)
E: Cant't mount CACHE:log/recovery.log
E: Can't open CACHE: log/recorery.log
E: Can't mount /dev/block/st18 (Invalid Argument)
Click to expand...
Click to collapse
please help i dunno what to do
Hi,
The second error you can ignore. I have it all the time when flashing.
What's the problem with your SD ? Can you view anything on it ?
What does mount tell you in adb shell ?
no i cant see anything on it,
dunno what you mean with Mount in ADB Shell, dont have a linux pc
help please, I'm getting pretty frustrated since i Cant get it to work
are u trying form pc using ADB or from mobile using Terminal Emulator??
if ur using ADB then type -"adb shell"--Without quotes
If ur using terminal emulator(inbuilt to rom) type-"su"
Make sure there is space b/n "mkfs.vfat" and "/dev/....."
wait till # comes to next line then type reboot
I tried this, about several thousand times but i always geht this error:
mkfs.vfat: can't open "/dev/block/mmcblk0p1": Permission denied
have u checked whether u have rooting permissions and did u flash the rom WITH SD CARD INSIDE THE PHONE????
is ur sd card working otherwise??
yes i flashed the Rom with the SD Card inside the ROM, i just removed the sim as i flashed the ROM
other Root Apps work fine, so i would say I have rooting permission.
the SD Card is working fine right now, but its not Partitioned right now, and i want to change that.
should i flash new and remove the SD Card first?
Try reflashing and if you are using mad team app2sd you don't ned to keep the sd card inside while flashing.. It doesn't make any difference though.. Reflashing should work for you.. Good luck
i reflashed, about 10 times now, but the Bug doest go away,
anybody a Idea?
Format ur card from settings>sd card> eject and format
and check if ur card is working
Sent from my GT-I5800 using XDA App
my SD Card is working fine, no problems, also formated it a couple of times now,
the bug still persists
extract the adb folder in the zip file to C drive on your machine
Enable USB debugging on your phone
Connect the phone through USB (Make sure that G3 drivers are installed)
Open command prompt , go to c:\adb by command "cd c:\adb"
type "adb shell"
You will see a $ with blinking cursor after it
type "su" (it should ask for superuser permission access on your phone)
Once granted you will see # and blinking cursor behind it
Then type your command
WoW! Thanks mate, you saved my day, It finally worked!!!!
Thanks! Thanks! Thanks!

[Help] My x10i is boot cycling after messing around

hi.
I already had my x10 with wolfbreak v6 and with rendeiro2005 (crowds) BlackEditionHD v0.2.
but I tried to restore user data and I f**ked up.
actual situation:
cycling boot.
when I try to reinstall wolfbreak or blackeditioHD roms, xrecovery says: ""can't mount /sdcard" and doesn't install.
last thing I did was to re-install the ftf bundle provided by wolfbreak (2.3.3 kernel and baseband .71 only).
need help, please
go to xrec wipe data dalvik, etc and fix premission
try again
if not
partition tools -> mount sd card if it is already mount the unmount card remount card
try then
if it still does not do the means the card is currupted. connect x10 to computer
go to partiton tooll-> mount usb storage copy every thing on hard drive.
not sure but format to fat32 copy your xrec file try to mount to xrec
try to do it again
when the the phone started format card via anroid
marcoplo said:
does not boot ot xrec?
Click to expand...
Click to collapse
yes, but I can't install anything.
I choose "Install custom zip" and then I can navigate on sdcard folders. But when I select somthing to install it always gives the "can't mount /sdcard" error.
i havent readed prop.
marcoplo said:
go to xrec wipe data dalvik, etc and fix premission
try again
if not
partition tools -> mount sd card if it is already mount the unmount card remount card
try then
if it still does not do the means the card is currupted. connect x10 to computer
go to partiton tooll-> mount usb storage copy every thing on hard drive.
not sure but format to fat32 copy your xrec file try to mount to xrec
try to do it again
when the the phone started format card via anroid
Click to expand...
Click to collapse
already tried all those suggestions.
connecting x10 to computer and mounting usb storage didn't work too.
I can see the drive letter but I can't access it.
I can access sdcard files/folders using another phone.
and I can access it via adb shell too.
made a file copy via adb shell and it worked.
so it seems the sdcard is ok.
Problem solved
Solution:
had to install gingerbread ready xRecovery 0.3
used option A: in this post from zdzihu
http://forum.xda-developers.com/showthread.php?t=859571
I made an sdcard backup using another card-reader before.
I thought it would delete all sdcard content... but I was wrong.
thanks anyway
;-)

[Tutorial/HOWTO] Convert Your External SD Card from FAT/exFAT to EXT4! (3 ways!)

Hello guys.
I was looking for a similar guide to link to my friend but didn't find anything, so I decided to write my own.
Personally I didn't find any good guide regarding partitioning from android itself, so I think it's also more unique guide because you can easily make your own partition layout without using PC at all.
Why I should use EXT4 instead of FAT/exFAT?
1. We're running Android, Android is based on Linux. EXT4 is native linux-proposed filesystem, while FAT/exFAT is not.
2. All our internal partitions (/efs /data /system /cache /preload) use ext4, natively.
3. CM has poor exfat support, while fat32 is not recommended for big file systems (over 2 GB) because it doesn't work well with them, thus microsoft implemented exfat.
4. EXT4 has better stability and performance, especially on Android devices, compared to exfat and fat.
When you should not use ext4 over fat/exfat?
- When you for whatever reason use your external sd card in windows environment physically. Android works in MTP mode, you'll use your ext4 external sd card the same way as you use internal one under windows. But if you for whatever reason puts your external sd card f.e. in usb adapter connected with windows then it won't work. So yeah, if you keep your external sd card in your phone then you're fine.
Expert Way (Requires fdisk/mke2fs utilities (busybox), works always):
1. Launch any terminal from Android environment (f.e. Android Terminal Emulator or adb shell through PC)
2. Make sure you have root (su command)
3. Make sure you have all required utilities. Type fdisk --help and mke2fs --help, both commands should print usage. If you get "command not found" then you don't have required utilities. Either install Busybox or CM-Based ROM with native busybox support (tested on ArchiDroid 2.X)
4. Unmount your external sd card (umount /storage/sdcard1)
5. Launch fdisk partitioning program on your external sd card (fdisk /dev/block/mmcblk1)
6. Destroy partition table (o), create new partition , make sure it's primary (p) and first one (1).
7. You can check if you're satisfied with your partition layout (p). When you're done exit and save changes (w)
8. Create ext4 filesystem on your partition (mke2fs -t ext4 /dev/block/mmcblk1p1)
9. Reboot
Android should automatically detect and mount external sd card in ext4 after reboot.
Here you can find a short movie which shows going through expert way recorded by me
Intermediate Way (Requires USB Adapter and some patience, should work like a charm):
1. You'd need USB Adapter or any device which can read micro sd cards on PC
2. Open any linux-supported partitioning program (f.e. partition magic, gparted, parted), it needs to support ext4.
3. Delete all partitions from your external SD Card (typically, one fat/exfat) and create one ext4 partition.
4. In case you'd also want hardswap create 2 partitions, one primary ext4 one and second primary swap one.
Newbie Way (Requires PhilZ Touch Recovery, may not work):
1. Launch PhilZ Touch Recovery
2. Select "Mounts & Storage" => "format /external_sd"
3. Select "ext4" as a filesystem
4. Please note that it can take some time. This way you should get running ext4 filesystem, but personally I didn't test this method, as I prefer more advanced ones .
This guide is more or less universal but I'm using sgs3 external sd card paths so I want to make sure nobody bricks other phones . Personally I suggest using expert way, as it's probably the easiest one.
Hit thanks if it helped, I hope it did .
@JustArchi thanks for the tutorial. Now for the sake of sdcard wearing. I would like to disable Journaling. How do you do that?
EDIT: also i noticed after formatting the externalsd card there is 3 GB occupied by nothing (?) This is normal?
cba1986 said:
@JustArchi thanks for the tutorial. Now for the sake of sdcard wearing. I would like to disable Journaling. How do you do that?
EDIT: also i noticed after formatting the externalsd card there is 3 GB occupied by nothing (?) This is normal?
Click to expand...
Click to collapse
tune2fs -O ^has_journal /dev/block/mmcblk1p1 should do the trick. You can put it in init.d if needed.
Also no, you should get full size of your sdcard. Are you sure that you've firstly destroyed partition table (o) and then created new full-size partition , as showed in the video?
You can use fdisk also to get information about your external sd card and find why is it smaller than it should be.
HI, My 64gb is two partitioned one hardswap and other primary.
Will I lose data on both partitions if I delete partition and format to EXT4?
golti said:
HI, My 64gb is two partitioned one hardswap and other primary.
Will I lose data on both partitions if I delete partition and format to EXT4?
Click to expand...
Click to collapse
You will lose data contained in the partition you are formatting. If you leave the other partitions untouched, you won't lose their data.
golti said:
HI, My 64gb is two partitioned one hardswap and other primary.
Will I lose data on both partitions if I delete partition and format to EXT4?
Click to expand...
Click to collapse
Just don't use (o), as it will destroy everything. Use an option to delete selected partitions (d, if I remember correctly) and create them through n.
System Data
Hi, thanks for te help, but now a have a 1 gb lost by system data or 0.8gb if i disable the journaling, that is right??? Thanks
vazio said:
Hi, thanks for te help, but now a have a 1 gb lost by system data or 0.8gb if i disable the journaling, that is right??? Thanks
Click to expand...
Click to collapse
It depends on your rom and also if you created ext4 properly. I've formatted my 2 GB SD Card to EXT4 and I got 1,80 GB free (yes with journaling). This is because 5%-10% is reserved for "super blocks". Read more -> http://en.wikipedia.org/wiki/Ext4
problem using expert method
Hi Guys,
I am new fairly new to rooting and using terminal emulators.
I have a rooted samsung galaxy note 2 with superSU, busybox and shell terminal emulator. I verified fdisk and mke2fs
(fdisk --help and mke2fs --help) but then when I tried the command
"umount /storage/extSdCard"
I get the error message "Operation not permitted"
Can anyone tell me why this might be?
Thanks
/storage/extSdCard is the path to the external sdcard on my device.
Hottot2 said:
Hi Guys,
I am new fairly new to rooting and using terminal emulators.
I have a rooted samsung galaxy note 2 with superSU, busybox and shell terminal emulator. I verified fdisk and mke2fs
(fdisk --help and mke2fs --help) but then when I tried the command
"umount /storage/extSdCard"
I get the error message "Operation not permitted"
Can anyone tell me why this might be?
Thanks
/storage/extSdCard is the path to the external sdcard on my device.
Click to expand...
Click to collapse
Did you login as root before? (su)
JustArchi said:
Did you login as root before? (su)
Click to expand...
Click to collapse
I did not.
However, I did try again and got the sane result. I used these commands in shell terminal emulator:
su -
mount
umount /storage/extSdCard
result: "Failed: Operation not permitted"
I have verified root with root checker...and after typing the command "su -" I was prompted by supersu to "allow"
I believe this issue will likely be something simple that I am not aware of.
I have tried this on my galaxy note 2 and my tab3 8.0 with the same results.
I really appreciate any help offered.
Hottot2 said:
I did not.
However, I did try again and got the sane result. I used these commands in shell terminal emulator:
su -
mount
umount /storage/extSdCard
result: "Failed: Operation not permitted"
I have verified root with root checker...and after typing the command "su -" I was prompted by supersu to "allow"
I believe this issue will likely be something simple that I am not aware of.
I have tried this on my galaxy note 2 and my tab3 8.0 with the same results.
I really appreciate any help offered.
Click to expand...
Click to collapse
Try to execute su -c "umount /storage/extSdCard"
It worked flawlessly in my case.
Thanks Archi. I was wandering around looking for a solution to the problem with my sd(I'm nooo0b if it goes about Linux/Android ). My Archidroid 2.3.3 did not recognized/mount my external card, so after following your instructions (using the terminal in android) now I can enjoy my 64gb sd card.. Great job!
JustArchi said:
Try to execute su -c "umount /storage/extSdCard"
It worked flawlessly in my case.
Click to expand...
Click to collapse
Ok. That worked. Thanks.
I then tried (su -c "fdisk /dev/block/mmcblk1")
Then...press m for help...or pressing "o" gets me a syntax error.
I have attached a screenshot.
Thanks again
Ryan
Hottot2 said:
Ok. That worked. Thanks.
I then tried (su -c "fdisk /dev/block/mmcblk1")
Then...press m for help...or pressing "o" gets me a syntax error.
I have attached a screenshot.
Thanks again
Ryan
Click to expand...
Click to collapse
Okay, you're user, not root. This is a weird android shell, that's why.
Try to use "su -i" to get root shell, then use fdisk (without su).
JustArchi said:
Okay, you're user, not root. This is a weird android shell, that's why.
Try to use "su -i" to get root shell, then use fdisk (without su).
Click to expand...
Click to collapse
Still didnt work. After typing "su -I" the next line still says "[email protected]:/$"
I was thinking I could try a reinstall of shell terminal emulator...or perhaps you could recommend a different one to use.
I will try again later tonight.
Thanks
Ryan
Hottot2 said:
Still didnt work. After typing "su -I" the next line still says "[email protected]:/$"
I was thinking I could try a reinstall of shell terminal emulator...or perhaps you could recommend a different one to use.
I will try again later tonight.
Thanks
Ryan
Click to expand...
Click to collapse
Try android terminal emulator, you must gain root shell. Typically "su" command does that, "su -l" should as well.
JustArchi said:
Try android terminal emulator, you must gain root shell. Typically "su" command does that, "su -l" should as well.
Click to expand...
Click to collapse
Alright...typed su and gained root....got through ttothe last step.
I typed "mke2fs -t ext4 /dev/block/mmcblk1p1"
and the result was: "mke2fs: invalid option -- t"
I have trying to read about mke2fs and the -t option but no luck so far.
Thanks
Ryan
Hello Archi and thanx for the tutorial
I followed all the steps, done it to the end, but after reboot I couldn't make any folder on SD card.
Card is recognized, formated as EXT4, but for some reason there is no way to put anything to it
Tried again with gparted, ended with same result.
Tried to change ownership, but that also didn't work out...
Now i reverted card to fat32...
Any idea what could be wrong?
btw, using NeatROM 4.4.2 with boeffla kernel and Philz 6.00.8
thanx in advance
Tom-Tom07 said:
Hello Archi and thanx for the tutorial
I followed all the steps, done it to the end, but after reboot I couldn't make any folder on SD card.
Card is recognized, formated as EXT4, but for some reason there is no way to put anything to it
Tried again with gparted, ended with same result.
Tried to change ownership, but that also didn't work out...
Now i reverted card to fat32...
Any idea what could be wrong?
btw, using NeatROM 4.4.2 with boeffla kernel and Philz 6.00.8
thanx in advance
Click to expand...
Click to collapse
Ext4 support is broken in your rom.
Hottot2 said:
Alright...typed su and gained root....got through ttothe last step.
I typed "mke2fs -t ext4 /dev/block/mmcblk1p1"
and the result was: "mke2fs: invalid option -- t"
I have trying to read about mke2fs and the -t option but no luck so far.
Thanks
Ryan
Click to expand...
Click to collapse
Your rom doesn't support mke2fs properly.

Categories

Resources