[Q] EXT2/3/4 Internal SD Card ? - LG Optimus 2x

Hi, im using Modaco's gr5 rom and HP RC9 Kernel, and i want to be able to format my internal SD card in Ext2, Ext3 or Ext4 because i need to be able to handle symlinks, can this be done? what would be the procedure?
Thanks in advance.

It should be done but you will no longer able to use your sdcard on windows
Sent from my LG-P990 using Tapatalk

Should be easy to make a .zip that converts it in recovery, but you'd need to do some mount point tweeking before you could use it.

Just used either a Linux computer and its Gparted software, or if you have a windows computer, search for Gparted Live CD.

Yes, i know how to convert it, i have Debian, Ubuntu and Mint installed along with Win7 on my laptop so the convert process is no problem, but, what should i do to make the phone recognise it? where do i make the mount point? /etc/fstab is not present, i don't know how to do it the Android way =/

You'll have to modify /etc/vold.fstab.
You can inspire yourself of the different mods that change sdcard mounting, see in dev or app section.

Striatum_bdr said:
You'll have to modify /etc/vold.fstab.
Click to expand...
Click to collapse
Thanks! i'll try that

Related

[Q] Please help on Ext2 Partition on HTC diamond

Hi all
I am using HTC diamond P3700 currently with windows mobile 6.5 installed, but now i would like to experience Android on my phone, and I am going to install the following version
http://forum.xda-developers.com/showthread.php?t=780130
I noticed that I have to create an Ext2 partition on my HTC internal memory first, and it requires gParted which is under Linux platform. Since I am using Windows 7, so I used VirtualBox to create a virtual environment to install Ubuntu.
Now, i am facing the problem that my gParted doesnt detect the connected HTC diamond.
Could anyone please kindly instruct me to solve this problem?
Besides, the ext2 partition tutorial is in some language which is not english, so could anyone please write a quick english tutorial?
Many many thanks in advance!!
I changed from FAT32 to ext2 partition in Windows 7 using: Acronis Disk Director Home. and I was able to install android without any problem.
thanks, I will give it a try first. is it straight forward?
btw, so are you using Android on HTC diamond please?
May I know what ROM and android you are using please?
can you guyz tell me that where should I put my downloaded android file into:
I mean should I put it in ext2 or fat32................
did you mean there will be no fat32 anymore...............is it???
fadil_94 said:
did you mean there will be no fat32 anymore...............is it???
Click to expand...
Click to collapse
Hi there
I saw you successfully installed Android on your phone, could u mind to tell me which WM Rom you are using please?
http://forum.xda-developers.com/showthread.php?t=780130&page=3
I also wonder may I auto boot Android when I start the phone, using something like Gen.Y DualBOOT, if so, how to do it please?
By the way, did you create your ext2 under Linux gParted? do you know how to do it on windows?
luckyvictor said:
Hi there
I saw you successfully installed Android on your phone, could u mind to tell me which WM Rom you are using please?
http://forum.xda-developers.com/showthread.php?t=780130&page=3
I also wonder may I auto boot Android when I start the phone, using something like Gen.Y DualBOOT, if so, how to do it please?
By the way, did you create your ext2 under Linux gParted? do you know how to do it on windows?
Click to expand...
Click to collapse
im using the original WM 6.1 rom on my diamond................
you can't use the auto boot android directly because you have to do the partition and then you have to install the android boot first.......... after this things step are complete then you can boot android from Haret...........
I used MiniTool Partition Wizard Home Edition v 5.2 for the partition step on windows 7................... but to see the ext2 partition you have to install Linux on your pc.
for the partition watch this.........http://www.youtube.com/watch?v=oyO6DOS1leQ................
and for the instillation part and things just follow this steps............
1)Create an EXT2-Partition with a minimum size of 300MB (see video-tutorial in this article)
2)Download Neopeek Android Installer
3)Extract npkinstall.zip to the root of your internal memory / sdcard
4)Download Haret-Paket
5)Extract contents of Haret-Paket to the root of your internal memory / sdcard
6)Now Download latest CyanogenMod6-Port or any other Android (please have a look into our community. There are lot of builds available). Now rename this download to androidinstall.tar.gz and put it into the npkinstall-folder. There are several Text-Files in this folder like diamond.txt, raphael.txt etc. Just rename the one that matches your device to startup.txt.
7)Now run install.exe within the npkinstall-folder. Your device will reboot when it has finished installation.
8)Move to the root of your memory where you have extracted Haret-Paket
9)Locate Startups-Folder and copy the startup.txt which matches your device to the root of your memory
10)Now run Haret.exe from the root of your memory and Android should boot up! That's it.
this step are originaly taken from http://www.neopeek.com/en/stories/android
i hope I helped you a little
so let say I have successfully boot Android on my phone via HaRet, may I use Gen.Y DualBOOT later to boot into Android automatically?
or the only way to start Android is still manually start HaRet under WM please?
luckyvictor said:
so let say I have successfully boot Android on my phone via HaRet, may I use Gen.Y DualBOOT later to boot into Android automatically?
or the only way to start Android is still manually start HaRet under WM please?
Click to expand...
Click to collapse
yup you can use the autoboot android after the first manual boot..........
here see this video my htc diamond booting android 2.2 with the Gen.Y DualBOOT......http://www.youtube.com/watch?v=92BXQbIzd2s&hd=1
I seem to be missing something here... i used minitool partition and got ext2 however now in the File explorer i dont see my internal Storage ...what did i do wrong or what did i miss out?
salim1001 said:
I seem to be missing something here... i used minitool partition and got ext2 however now in the File explorer i dont see my internal Storage ...what did i do wrong or what did i miss out?
Click to expand...
Click to collapse
My experience told me that,
First you have to create the FAT32, and the size doesn't really matter, but it is your Android internal storage, which can be shown in Windows.
Second, you create the ext2, size between 300mb to 512mb, this can NOT be shown in Windows.
Third, the linuxswap, 64mb (I think is definite, cant be randomly selected)
After all this, u should be ready to do the rest
fadil_94 said:
yup you can use the autoboot android after the first manual boot..........
here see this video my htc diamond booting android 2.2 with the Gen.Y DualBOOT......http://www.youtube.com/watch?v=92BXQbIzd2s&hd=1
Click to expand...
Click to collapse
btw, do you know whether it is possible to change the theme n icons? I found sth like this, is so damn beautiful
http://forum.xda-developers.com/showthread.php?t=772842
the install instruction says flash it over, does it apply to our WM based Android? if so, how to do this flash please?
salim1001 said:
I seem to be missing something here... i used minitool partition and got ext2 however now in the File explorer i dont see my internal Storage ...what did i do wrong or what did i miss out?
Click to expand...
Click to collapse
did you leave the fat32?
if you do, then try to format your internal storage or try to connect in linux/ubuntu
fadil_94 said:
did you leave the fat32?
if you do, then try to format your internal storage or try to connect in linux/ubuntu
Click to expand...
Click to collapse
I have windows XP SP3 and i am using Minitool Partition. Below were the steps taken,
1 - Formatted the Inetrnal Storage.
2 - Resized it to 3.20GB Fat32
3 - other unallocated 500MB changed it to EXT2
4 - and some 64MB under Linux Swab
Once this is done and when i try checking on the phone in file Explorer..i dont see the Internal Storage to run the files..its completely missing.
I reformmated the whole thing to Fat32 and now i am able to see it under File Explorer...Just wondering what did i miss out...as i know some of us were able to pass through this.
HI I am My htc touch diamond is not detected on windows 7 via usb cable. it seems to be some hardware issue.
can I still partition the internal memory? I am able to connect to Windows via Bluetooth(Windows Mobile Device Center)
Please help.

[Q] Format SD card to ext2

I bought new SD card i want to wipe my phone completely and install Darkys Rom. I formated my new SD card to ext2 in Ubuntu but my phone didn't recognize the file system. Then i used Clockwork to format my (external) SD card and what i did i formated my internal SD card. I'm completely failed. Can somebody give me step by step tutorial how to format external SD Card to ext2 or ext4. Also i would like to know if i will be able to copy data under windows when the phone is connected through USB.
Thank you
Sorry for my English
Hi! Please tell me why do you want to format your SD card to ext2 or ext4? There is no need for that. Just format it tu FAT and that's it. If you want to apply lagfix then do it under recovery with the lagfix option under advanced features.
Greets from Croatia.
DanXo said:
Hi! Please tell me why do you want to format your SD card to ext2 or ext4? There is no need for that. Just format it tu FAT and that's it. If you want to apply lagfix then do it under recovery with the lagfix option under advanced features.
Greets from Croatia.
Click to expand...
Click to collapse
I would like to have option to transfer bigger files than 4GB.
+1
how do I format my external SD card to ext2? I have Samsung Captivate. I got Cygwin, since I use Windows. Does anyone know what commands to type in cygwin?
I want to put files larger than 4GB on my card as well.
I think this will be useful for a lot of people.
I found a thread http://android.modaco.com/content/h...an-i-bind-mount-e-g-system-sd-xxx-sdcard-xxx/
But I am a noob in Linux, and it would be GREAT to have step by step commands I would have to type in to format my external SD card, while its in the phone, etc
Possible problem I see is that the phone might not recognize external card if its ext2/3/4 . We might have to have small FAT32 partition on there as well? Or may be Froyo has that ability...
I'm looking into doing this myself, in my case so I can use symlinks to copy apps "data" folders (not the "data" partition, but the folders in /mnt/sdcard where apps put different things) onto the larger, external sdcard. It seems like it could be possible, just need to make sure the /etc/fstab file is updated properly, and of course make sure your kernel has the ext2 and/or ext4 modules loaded and running (which you probably will if you have a lagfix installed). I will play with this and post back my results here...
I have been looking for this myself for a while aswell, but on 4 different kernels and CWM v2.5 and CWM v3.0, I couldn't find any option on how to change the ext. SD to Ext4. If anyone knows how to then please post it here!
Sent from my GT-I9000 using XDA Premium App
So, progress report...
Still no success in this matter, although I have learnt a bit today about Android's internal workings. After backing up my system with CWR, I first tried formatting my ext sd card with gparted on my computer. Bad choice... Even though no config files were stored in it as far as I could tell, Android "panicked" and decided to restore all my configs to default, severely crippling my system and making a lot of apps force close when I restarted the phone.
At that point I thought, since it is now broken, might as well play with it So the next thing I tried was formatting my internal sd card (only the vfat partition that gets mounted in /mnt/sdcard) to ext2, but this time using the "busybox mke2fs" command, on the terminal emulator on the phone. This seemed to be successful, and I could read and write to the new ext2 partition, although for some reason, I got the feeling that apps kept resetting their settings (not sure what caused this, didn't really looked into it much). So once that was up and running, I decided to modify the /etc/fstab file, like I would do in a normal linux environment, to automount this partition on boot, as ext2.
At this point I rebooted the phone, but hmm... Android converted the partition back to vfat. Not good. This leads me to believe there must be some kind of "recovery" commands run on startup, in case the system detects the partition is not the default file system, or something along the lines of that. At this point it got kinda late, so I decided to document my progress, restore (which thankfully left my phone the way it was at the beginning of the day) and call it a day.
So, things that I still need to find out:
1) How does the system convert the partition back to vfat on startup and how could I avoid it from doing it? Maybe by having a small vfat partition to fool it into thinking all is good and normal?
2) When I had my partition as ext2, I couldn't see it on my computer when connected via USB (I'm on a linux system so the fs being ext2 is not a problem). Wonder why...
3) If I had a small vfat partition, how would I go about mounting the ext2 partition on the same mount point after the system checks the vfat one? Maybe by binding it? Gotta look into that as well.
4) Finally, have to check why the apps couldn't maintain their settings after a certain amount of time (for example, if I opened terminal emulator and changed the colors, these would stay if I closed and opened the app again right away, but if I closed it for a while, say half an hour, and opened again, it would be back to default...)
I'm on a Galaxy S btw. If anyone has any insight on any of these matters, would be much appreciated!
Any progress? Would really like to use +4 GB files.
morow said:
I would like to have option to transfer bigger files than 4GB.
Click to expand...
Click to collapse
It is immpossible because of hardware limitations of the SD card And often if the file is big it just fail!
Hristov1 said:
It is immpossible because of hardware limitations of the SD card And often if the file is big it just fail!
Click to expand...
Click to collapse
Not true, read the rest of the thread before u post! Its not a hardware limitation, its because Android uses fat32 as filesystem.
hello everyone,
I just wanted to check to make sure that there is no solution for this 4gb limitation with Android yet? I too have been looking for something besides resizing files.
thanks
uki
I have ext2 on my external 32GB SDCard, just formatted it on my PC and put it in the phone, working without any problems. I just watched a full length 720p movie with DTS sound on my phone without having to re-encode the mkv
I'm using CM7.1 on my phone which auto-mounts the SDCard even with ext2. It won't work on stock ROM, but any kernel that has ext2 support should be able to read ext2-formatted cards but they might not auto-mount the sdcard.
On my PC I had to install a ext2 file system driver (google ext2fsd) for Win7 to be able to read the card when attaching the phone to the PC.

EXT4 Partitioning on SD Card [Mac/PC?]

I'm planning to upgrade to a 16GB from my current 8GB microSD which I EXT4'd a WHILE back using gParted.. I think.
I've lost all sense of knowledge on this topic since I've only done it once.
Has there been an easier way to do this nowadays now that even rooting methods have been simplified to a click of a button?
Or need I go through the whole gParted boot disk again? (Need to find a tutorial for that too again...)
Also, is there a way I can do it on my OSX?
My Windows is always available on my other laptop but I was just wondering if there were any methods to do this procedure on OSX.
Thanks bunch
Appreciate it.
If you are rooted, you can partition from 4ext recovery. It's the easiest & best method. Dunno about Mac OS, but since it is also Unix based with a journalled file system, it must have support for ext fs. Better make a backup of card on pc before resizing your FAT32 partition, though.
Sent from my HTC Incredible S
Ah yeah, I'm def rooted and S-Off'd so I guess that would be fine.

[Re-OPEN] SanDisk 64BG EXT4/exFAT N.E.A.K. Kernel

Hello,
I re-open this thread because I have new information about the compatibility of N.E.A.K. kernel with my card formatted in exFAT.
N.E.A.K. Kernel don't support this file system!!! That's the reason why my card doesn't work with...
I restart to "0" because I think the alone solution is to use EXT4 with auto-mount at boot.
@ scote (or other):
Can I use your manual mount cmd on init.d or other way?
Hello,
With n7100 international + Omega v10 (Android 4.1.2 based) + N.E.A.K. kernel v1.4x
With various µSD card (but especially with my new Sandisk UHS 64Go) I would know how to use ext4 filesystem.
After computer formatting in ext4 the card can't be really usable by phone:
- Storage menu don't see him.
- Recovery can't do anything with (mount / format)
- Some apps can see him. (like empty 64GB / or 0Gb card capacity !)
- ES Files explorer work with but by the /mnt/extsd/card directory and if no SD card in slot work to !!!
thus I expect doesn't work really
If you have any information about what work, can or can't work, or anything about filesystems, software...
Thank you
Click to expand...
Click to collapse
I had the same thing happen. I plugged it not my computers sd card reader and the computer acted as if nothing was there. I tried to force a format through DOS but it failed. Ultimately I had to buy a new MicroSD card.... Now it works.
Update: Card doesn't work with my reader/computer
What file system are you using?
Why not just use exFat? It useable on Note 2 and readable by Windows. Just make sure to use the latest TWRP for system bqckup
Re: SD Card file system usable by OS apps
You can mount ext4 file system manually if you are rooted, from a terminal or adb shell
mount -t ext4 /dev/block/mmcblk1p1 <some directory>
substitute <some directory> with the path without the <> I used /sdcard/mnt
of course if you wont be able to read the card with windows pcs
I think there might be an app to do this for you, usb mounter
Android won't mount ext4 by default.
Also, windows can't mount ext4 drives but you can use something like minitool partition wizard to reformat it to ExFAT or NTFS if you're on samsung ROMs, or Fat32 if you're using CM/AOSP ROMs.
Pongster said he'd be making a test kernel to see if he can get ext4 to auto-mount in the HyperDroid JBX thread, but that's not released yet.
You aren't using TWRP 2.4.0.0 or 2.4.0.1 by chance?
!!! Sorry, XDA doesn't mail me for new answer.
Thanks your help men
Why not just use exFat? It useable on Note 2 and readable by Windows. Just make sure to use the latest TWRP for system bqckup
Click to expand...
Click to collapse
I don't like Microsoft. If I have a Linux device like Android N7100 I want to use it the more possible with Linux environment.
I useCWM Touch v6.0.1.4-jb moded by Xiaolu. Good?
You can mount ext4 file system manually if you are rooted, from a terminal or adb shell
mount -t ext4 /dev/block/mmcblk1p1 <some directory>
substitute <some directory> with the path without the <> I used /sdcard/mnt
Click to expand...
Click to collapse
Thus can't be used like a FAT SD Card? By Samy explorer and others softs? Can't be see by system like an external card, not possible to manage it very good (capacities disponnible by exemple) ?
You aren't using TWRP 2.4.0.0 or 2.4.0.1 by chance?
Click to expand...
Click to collapse
No; why?
Re: SD Card file system usable by OS apps
Once its mounted any explorer or app dont care or know what the filesystem is
Yes, but can I will see the SD like a "normal" FAT formatted card?
I want to say, in menu/storage like a external SD?
If the card like this, have all the same functionality of FAT card, can you help to auto-mount at boot?
My card is actually broken: phone or PC won't see anything when connected
'll try with a new 64GB in few hours.
Re: SD Card file system usable by OS apps
StreamingMT said:
!!! Sorry, XDA doesn't mail me for new answer.
I don't like Microsoft. If I have a Linux device like Android N7100 I want to use it the more possible with Linux environment.
I useCWM Touch v6.0.1.4-jb moded
Click to expand...
Click to collapse
I don't see how it related. Both fat and exfat are MS. And exFat is the only option works across Note 2 Android, TWRP,Windows, and can be mounted as thumb drive (with the benefit working with > 4gb files). It's up to you if you want to get yourself into troubles by using other format.
Sent from my GT-N7100 using XDA Premium App
jackleung
I like more ext4, but apparently this is a little bit difficult to do what I want (And I think it's what broke my firts SD). Thus I'll use extFAT for my new one.
That's work perferctly! Just funny to see my new card in packging pre-formatted in extFAT...
All is good for me now, thanks you every body for your help ;p
Hello,
I re-open this thread because I have new information about the compatibility of N.E.A.K. kernel with my card formatted in exFAT.
N.E.A.K. Kernel don't support this file system!!! That's the reason why my card doesn't work with...
I restart to "0" because I think the alone solution is to use EXT4 with auto-mount at boot.
@ scote (or other):
Can I use your manual mount cmd on init.d or other way?

Internal/external cards won't mount + No rom to boot

Hello, Finally made an account after lurking and flashing for a few months. This one is really stumping me...
SO.....
I was going to do a new install and wiped everything. I was trying to get the full size of my external 32gig card back after partitioning it for a app2sd setup and formatted it with disk utility(OSX). I ended up formatting the internal(I Know) by accident being a fast-click McGraw. I caught my mistake and formatted the external like originally planned. I think I formatted them to vfat.
After all this formatting, CWM and ADB won't mount my disks. CWM will not format them either because they won't mount. I have no rom loaded to boot into and I can't flash a new one because neither drive will mount.
I have been trying what seems like so many different things to include trying to make an EFI bootable Linux Live usb(didn't boot). This issue would probably be fixed by now if I wasn't using OSX but hey, it's what I have to work with. If anyone can help end my multi-day madness with a solution, great appreciation would be had.
sand_dog said:
Hello, Finally made an account after lurking and flashing for a few months. This one is really stumping me...
SO.....
I was going to do a new install and wiped everything. I was trying to get the full size of my external 32gig card back after partitioning it for a app2sd setup and formatted it with disk utility(OSX). I ended up formatting the internal(I Know) by accident being a fast-click McGraw. I caught my mistake and formatted the external like originally planned. I think I formatted them to vfat.
After all this formatting, CWM and ADB won't mount my disks. CWM will not format them either because they won't mount. I have no rom loaded to boot into and I can't flash a new one because neither drive will mount.
I have been trying what seems like so many different things to include trying to make an EFI bootable Linux Live usb(didn't boot). This issue would probably be fixed by now if I wasn't using OSX but hey, it's what I have to work with. If anyone can help end my multi-day madness with a solution, great appreciation would be had.
Click to expand...
Click to collapse
Use Odin and flash back to stock Google xda wiki exhibit. You will have to be on windows so just install windows 8 trial on a virtual machine. You all ready tried all the other ideas i have for getting it to mount so...
Sent from my Nexus 7 using xda app-developers app
theAPANT said:
Use Odin and flash back to stock Google xda wiki exhibit. You will have to be on windows so just install windows 8 trial on a virtual machine. You all ready tried all the other ideas i have for getting it to mount so...
Click to expand...
Click to collapse
Is there a linux or OSX solution? I have no problem running a Linux VM. I really don't want to have to sign up with M$ if I can avoid it.
sand_dog said:
Is there a linux or OSX solution? I have no problem running a Linux VM. I really don't want to have to sign up with M$ if I can avoid it.
Click to expand...
Click to collapse
Yea i understand im not a big of ms. Running Linux isn't really beneficial since you can do everything in osx. You can even compile but getting some packages is a pain. Anyways can you not push anything to / or does that partition not even exist? You could try mounting USB storage from recovery but i doubt that would work. We don't have hiemdal for this phone or you could use linux. Windows might be your only option find an iso somewhere if you don't want to register or download enterprise 7 by providing whatever the info it asks for, make it up.
Sent from my Nexus 7 using xda app-developers app
theAPANT said:
Yea i understand im not a big of ms. Running Linux isn't really beneficial since you can do everything in osx. You can even compile but getting some packages is a pain. Anyways can you not push anything to / or does that partition not even exist? You could try mounting USB storage from recovery but i doubt that would work. We don't have hiemdal for this phone or you could use linux. Windows might be your only option find an iso somewhere if you don't want to register or download enterprise 7 by providing whatever the info it asks for, make it up.
Click to expand...
Click to collapse
I can connect USB storage in CWM recovery and can shell into the system. What, where, and how would I to push to the device?
sand_dog said:
I can connect USB storage in CWM recovery and can shell into the system. What, where, and how would I to push to the device?
Click to expand...
Click to collapse
Use this command or something similar.
./adb push /file path of ROM /
But if USB works then when its mounted just put a ROM on drag and drop and flash it.
Sent from my Nexus 7 using xda app-developers app
Got it fixed!
While my Exhibit was down, I started using this Blackberry Curve I have as a backup. Decided to put my microSD in it and formatted it. I saw that it put the card back to its original storage space and got rid of the non-accessible partition. Loaded my backup onto it, CWM finally mounted it, and I flashed it.
Please mark solved or closed

Categories

Resources