Hi Guys, bought a sandisk 16 GB Card, i am trying to format the various partitions so far:
1. Using Clockwork it creates an unrecognised partition after FAT Partition
2. Tried Ubuntu - will format whole card in either FAT or EXT 2/3/4 but will not create an ext after the FAT Partition (again unknown partition format after FAT)
3. Tried minitool partition manager - Can fortmat whole card in either fat or EXT. Cannot create an EXT after FAT - Unknown partition format
4. Tried ADB, will create primary partition 1 but not an ext partition after
Card id new and i believe genuine
any help greatly appreciated
Well I use gparted boot cd and works fine
Sent from my HTC Desire using Tapatalk
ironjon said:
Well I use gparted boot cd and works fine
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
+1
Otherwise flash amonra-recovery, create an ext2-partiton and upgrade this to an ext3-partition with this recovery.
Sent from my HTC Desire using XDA App
Have you tried Rom Manager? I used that to partition my 16GB sandisk
I used Ubuntu and it worked fine. Did you unmount the partitions in Ubuntu ?
Did you format the partition after you've created it ?
paul.c said:
I used Ubuntu and it worked fine. Did you unmount the partitions in Ubuntu ?
Did you format the partition after you've created it ?
Click to expand...
Click to collapse
Hi, thanks for the replies, yes i unmounted in ubuntu but i seem to only be able to create one (working) ext partition but it has to be the full card, or multiple Fat partitions. When i create an ext after the FAT32 partition all partition managers & ubuntu see the second partition as 'other' and it is full.
When creating an ext with ubuntu it indicates 'cannot mount invalid argument'.
I have not tried using AMON as i was unsure if it was dependent upon GSM or CDMA type phones and also any issues with Amoled or SLED (my desire is SLED).
Tried Rom Manager an it does not even attempt to create a partition, indicates complete but nothing when i view partitions with either partition managers or ubuntu.
Lastly, tried via ADB but again it threw an error when creating the second EXT Partition, it creates a partition of sorts but again unknown and full.
In all cases, i cannot format the ext partition with any tools i know - ubuntu, partition manager, Esaus, ADB
Never had this issue with my 8gb Nokia card
Many thanks for your help though guys & girls
hi,
i read you try to do this with adb.. did you try the folowing cmd?
Code:
Step 1: Connect your phone to your computer via USB. Reboot into recovery mode.
Command: adb shell reboot recovery (this will reboot your phone into Cyanogen’s recovery image. Or power on phone when holding home button)
Command: adb shell (type this after your phone has booted and on the recovery screen. it should take you to a # prompt)
Code:
Step 2: Open parted to partition your SD card.
Command: parted /dev/block/mmcblk0 (opens parted and mounts your SD card)
Code:
Step 3: Check the size and partitions of your SD card. The print command will display this info. You can see the size of my SD card is 7969 MB (8 GB). I have 1 partition which is fat32. If your SD card is blank and no partitions are listed, you can skip to Step 5.
Command: print (displays SD card information)
Code:
Step 4: Remove all existing partitions. If you have multiple partitions, remove each one at a time.
Command: rm 1 (deletes partition number 1)
Command: rm 2 (if needed. keep going till all partitions are removed)
Command: print (check when you are done to make sure all partitions are removed)
more info howTO parted there
hope this help
jamadant said:
Hi, thanks for the replies, yes i unmounted in ubuntu but i seem to only be able to create one (working) ext partition but it has to be the full card, or multiple Fat partitions. When i create an ext after the FAT32 partition all partition managers & ubuntu see the second partition as 'other' and it is full.
When creating an ext with ubuntu it indicates 'cannot mount invalid argument'.
I have not tried using AMON as i was unsure if it was dependent upon GSM or CDMA type phones and also any issues with Amoled or SLED (my desire is SLED).
Tried Rom Manager an it does not even attempt to create a partition, indicates complete but nothing when i view partitions with either partition managers or ubuntu.
Lastly, tried via ADB but again it threw an error when creating the second EXT Partition, it creates a partition of sorts but again unknown and full.
In all cases, i cannot format the ext partition with any tools i know - ubuntu, partition manager, Esaus, ADB
Never had this issue with my 8gb Nokia card
Many thanks for your help though guys & girls
Click to expand...
Click to collapse
The procedure should be this:
Insert SD, unmount. Create FAT, leave 1024, format FAT, format remaining as ext3/4.
fragargon said:
hi,
i read you try to do this with adb.. did you try the folowing cmd?
Code:
Step 1: Connect your phone to your computer via USB. Reboot into recovery mode.
Command: adb shell reboot recovery (this will reboot your phone into Cyanogen’s recovery image. Or power on phone when holding home button)
Command: adb shell (type this after your phone has booted and on the recovery screen. it should take you to a # prompt)
Code:
Step 2: Open parted to partition your SD card.
Command: parted /dev/block/mmcblk0 (opens parted and mounts your SD card)
Code:
Step 3: Check the size and partitions of your SD card. The print command will display this info. You can see the size of my SD card is 7969 MB (8 GB). I have 1 partition which is fat32. If your SD card is blank and no partitions are listed, you can skip to Step 5.
Command: print (displays SD card information)
Code:
Step 4: Remove all existing partitions. If you have multiple partitions, remove each one at a time.
Command: rm 1 (deletes partition number 1)
Command: rm 2 (if needed. keep going till all partitions are removed)
Command: print (check when you are done to make sure all partitions are removed)
more info howTO parted there
hope this help
Click to expand...
Click to collapse
Many thanks, tried this procedure again with the error message SEGV_MAPPER (Address not mapped to object) Aborted when i try to create EXT 2
Lost now
hi,
i look up the reason of that error, seems to be a bug from some lib.c inherited by parted but those are mention around 2006 amazing...
i know that the tut mentin ext2 as ext partition but why didn't try ext3 before doing this u can check out what does your actually partition says with
# fdisk -lu /dev/block/mmcblk0
give back the report plz
I suggest Amon-RA recovery.
It's very simple and fast
p.s: i don't suggest using Rom Manager, too much trouble
fragargon said:
hi,
i look up the reason of that error, seems to be a bug from some lib.c inherited by parted but those are mention around 2006 amazing...
i know that the tut mentin ext2 as ext partition but why didn't try ext3 before doing this u can check out what does your actually partition says with
# fdisk -lu /dev/block/mmcblk0
give back the report plz
Click to expand...
Click to collapse
Hi Thanks for your help, i tried to partition ext 2, 3 & 4 but get the same issue regardless of partition type. I believe that the card may be a fake as all the transferring from phone to usb card reader has started to make the branding 'rub off'.
Therefore, i have sent it back and will hopefully get a refund or replacement.
many thanks for your time & efforts
regards
jamadant
okay, so soon with new one anyway you know where to go if need it
Related
Anyone know how to repair/un-partition the SDCARD?
easiest way is to format it
Jake-11 said:
Anyone know how to repair/un-partition the SDCARD?
Click to expand...
Click to collapse
Easy..
1. Have phone plugged in
2. do: adb shell
3. do: umount /sdcard
4. do: parted /dev/block/mmcblk0
5. do: print
6. do: rm X (where X is the number of partitions you see from #5)
7. If you have 3 partitions previously, repeat #6 3 times, but replace X with 1,2,3 respectively.
8. do: print (to make sure that nothing else is there, should be empty)
9. do: mkpartfs primary fat32 0 nnnn (where nnn is the number of MB can be found on second or third line of print command in #5. Example, if you have an 8GB card, it'll be like 7958MB when you print it. So put 7958 in place of nnnn)
10. mount /sdcard
Done or just use a card reader and Windows to delete all partition and reformat.
im no evo user, but if i choose wipe ext in the recovery menu would that get rid of the partition?
moved to the correct forum.
kashb91 said:
im no evo user, but if i choose wipe ext in the recovery menu would that get rid of the partition?
Click to expand...
Click to collapse
The easiest way that I've found to do it (if you're rooted of course and have a custom recovery) is that you boot into recovery mode, then go to the option to partition the SD card, then just set everything to ZERO (swap, Ext2) and voila! you now have a SD card that is back to normal..
at least it did for me...
Hey thanks alot everyone
just to note I have tried the wipe ext partition method before without success...
-------------------------------------
Sent via the XDA Tapatalk App
where would i text that in at ?
How to partition your SD Card for us Newbies.
how can i do that? Ext2 , Ext3
i have a 8 gb sd card class 6. someone guide me please with a link
Thnx
acronis disk manager can do that but the card wouldnt boot in my phone, so i used the phones internal boot up manager to do it, unlocker.com has a video guide. i only been doing this my self passed 3 days and its been really confusing so good luck
Page 2 of the Q&A Forum
oMaRcO said:
How to partition your SD Card for us Newbies.
Thnx
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- "Install apps to sd" (ext) must sometimes be configured in your ROM, check the thread for your rom for infos...
- Backup your SD card before you start ! The following steps will wipe the contents !
- Ext partitions are only visible in Linux = Windows can't see it.
- Swap Partitions are no longer useful.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
- If the device is plugged into a PC when you try to boot with the partitioned SDCard it never gets past the white HTC sceen & logo.
Now the tutorials:
A. Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
- I believe Rom Manager (as of end of July) creates an ext2 partition, therefore if you want ext3 or 4, easiest is to go through Gparted, or if you have amonRa Recovery, I believe this function is present.
B. Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-t...eature=related)
+ You can do this using your phone to mount the SD card or a Card adapter directly connected to your computer.
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext3 or 4 (recommend ext4)
Free Space Following = 0
Click add
13) [CHECK AGAIN you are working on your SD card and not your Hard Drive!!!!] Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone and wait (see introductory remarks)
C. Recovery Images
Some Recovery Images also have a option to format your SD card from the recovery screen. (see http://forum.xda-developers.com/showthread.php?t=721792).
I have not tried that.
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more.
D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)
E. Further Infos
See: http://geeks.pirillo.com/profiles/blogs/how-to-partition-an-sd-card or :
http://androidcommunity.com/forums/f...rtition-14232/ or:
http://theunlockr.com/2009/10/15/ho...-android-when-using-swap-hero-and-or-apps2sd/ (With Rav Recovery...) or:
http://forum.xda-developers.com/showthread.php?t=534714 (most complicated way.... )
related thread: http://forum.xda-developers.com/showthread.php?t=731432&page=2
F. Open Questions:
What I don't know:
- If the size of the ext partition matters (if you have to choose 256/512 or 1024, and can't have 600mb for example?
- What ROMs require ext partitions? (all with app2sd+, basic froyo app2sd doesn't require ext partition).
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards... (do you need any management of your ext partition?) or you have to reinstall those apps????) See here.
- How to check if you bricked your sd card...
- etc...
Good Luck
Use Rom Manager
Completely painless, took less that 2 mins to do mine
PS - It may appear to stuck at the HTC white screen after completion, I just left it and
it booted up normally after about 3 mins
50 apps installed and 132MB spare!!
The first time round the Rom manager worked for me. But I again formatted the card thinking i had not followed the right partitioning so i tried again but i get stuck on a black screen with SU request written forever which needs to be force closed.
Please advise. thanks
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:
I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.
If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.
I could format it from the computer to fat32 but I'll wait and see what you guys say.
Chan_B said:
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:
I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.
If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.
I could format it from the computer to fat32 but I'll wait and see what you guys say.
Click to expand...
Click to collapse
Try to format the card back to fat32 using:
http://panasonic.jp/support/global/cs/sd/download/index.html
Then check out the Windows way of using parted to partition
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
After partitioning I use clockworkmod to upgrade ext2 to 3.
And you can't always set a linux swap of 0 so calculate 1MB for that part.
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
Chan_B said:
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
Click to expand...
Click to collapse
gparted has a live cd to partition your sd card
http://gparted.sourceforge.net/download.php
Hi, i see you all set swap as 0 does that mean its using phone internal storage as swap how fast is read/write of phone ram ? i have class2 32gb card i used the phone boot with the r5 windows.bat to get into it and i set 256 swap/512 ext2/ rest 32bit all seems to work fine.
i note that writing to the sd card is about 2MBps and read is 10MBps.
i have a class4 8gb that writes at 10MBps reads about 17MBps i have had both in the phone and i cant say that i notice lag on the 32GB but i havent had it more than a few days and coming from xda orbit its a big difference.
if i use the card as storage the phone becomes very lag but maybe thats cause in that mode it would have no swap file? might change that when i finally flash to froyo.
gparted kept saying it was unformatted when windows said it was formatted so i gave up with it.
gianton said:
gparted has a live cd to partition your sd card
Click to expand...
Click to collapse
Thanks, but I think I sorted it. Fingers crossed.
Just rooted my htc desire and used rom manager to partition my sd card (the one I got when I bought the phone). Everything fine.
then I bought a new Transcend micro sdhc 8GB... this memory card is not recognize by windows if using card reader. So..:
- I inserted into blackberry and connected using usb cable. My windows (Windows xp) can see and access it.
- formatted the new memory card to Fat32
- copy Open Desire and and Official Sense Froyo ROMs, both by Adam
- flashed to Sense Froyo ROM, and when it rebooted, it freezed.. cant get into the system
- flashed to OpenDesire, it worked.
- Download ROM Manager
- choose "Partition SD Card"
- Swap 0, Ext 512mb
- ERROR...
what should I do?
Did you download Clockworkmod recovery through ROM Manager before that?
If you create a partition using rom manager do you lose all your apps and settings that you already have in use.
thanks
jankos said:
Did you download Clockworkmod recovery through ROM Manager before that?
Click to expand...
Click to collapse
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
aoisora said:
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
Click to expand...
Click to collapse
Its showing around 400mb for me aswell, but how exactly can I tell if it is working. If I go to manage applications and click on sd card I have a couple that I moved over i.e rom manager but some apps are unmovable to sd card. Are these apps unmovable by design. I hope I haven't done it wrong.
BTW neophyte is the best rom I've used yet.
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
I think rom manager does that as ext3.
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
ROM Manager makes directly ext3 format. Do not worry about that
jankos said:
ROM Manager makes directly ext3 format. Do not worry about that
Click to expand...
Click to collapse
No it doesn't it makes a ext2 partition, you have to format to ext3... I have used gparted live cd to do this.
Sent from my HTC Desire using XDA App
Hi there,
A couple days ago, I had a usb brick. I quickly fixed it, everything got back to normal except for my sd card : I think it's corrupted. Why do I say this ? Because I've got another sd card, and it's working perfectly. I can't get to format it via Gparted. It says the procedure failed, there was an issue and i couldn't format it. In addition, even though it's a 4GB card, it's recognized as a 3gb card.
When I try to use it in recovery mode, it says :
Code:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
But when I use the other card, nothing weird happens.
I'd like you guys to help me repair my SD card.
kev94 said:
Hi there,
A couple days ago, I had a usb brick. I quickly fixed it, everything got back to normal except for my sd card : I think it's corrupted. Why do I say this ? Because I've got another sd card, and it's working perfectly. I can't get to format it via Gparted. It says the procedure failed, there was an issue and i couldn't format it. In addition, even though it's a 4GB card, it's recognized as a 3gb card.
When I try to use it in recovery mode, it says :
Code:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
But when I use the other card, nothing weird happens.
I'd like you guys to help me repair my SD card.
Click to expand...
Click to collapse
Googled and found this: http://www.ehow.com/how_4850280_repair-corrupt-sd-card.html
1. link your desire with pc
2. enter "FASTBOOT Mode", it will display "HBOOT USB PLUG"
3. open dos windows and type adb shell
4. type fastboot oem rebootRUU
5. type fastboot oem enableqxdm 0
and retry
I already tried this, but it didn't work out ! I'm out of ideas...
So it says it's a 3GB card? You had an 1GB Ext partiton before?
If yes, that's where your 1GB's gone.
Recommended is to repartition your card again from scratch - Using Either GParted, EASEUS or MiniTool partiton.
Backup everything from it, then delete all partitions - and re-create them.
davebugyi said:
So it says it's a 3GB card? You had an 1GB Ext partiton before?
If yes, that's where your 1GB's gone.
Recommended is to repartition your card again from scratch - Using Either GParted, EASEUS or MiniTool partiton.
Backup everything from it, then delete all partitions - and re-create them.
Click to expand...
Click to collapse
Actually, it's 3.7 GB and not 4GB (I guess it's normal though). And yes, the missing space was from the ext partition. Thanks god, the first thing I did was a backup of my SD card. Yet, I tried to format the card with Gparted (I'm currently running Ubuntu 10.10) but as I said above the procedure fails.
Then, I formatted in Windows, and I managed to create a 3Gb fat32 partition recognized in Gparted.
But how am I supposed to get my missing space back if this space isn't recognized in Gparted ?
I'm using Ubuntu 11.04 (natty) - and i'm able to mount my EXT partiton of the SD Card.
As I said, don't just format the card, but delete all partitions and re-create them, then format them.
Also, if your card is messed up badly, maybe you have to use the termina with commands to recover the ext partition.
Always format SD cards with the "SD Formatter 3.0" from the SD Association: http://www.sdcard.org/consumers/formatter_3/
This little programs formats the whole card (full capacity, erasing all other partitions) in FAT32 meeting all SD specifications.
Furthermore it alligns the LBA parameters (virtual heads, cylinders etc) and the fat32 parameters with the internal structures of the flash memory (eraseblocks), so that fat32 clusters never overlap eraseblocks. This speeds up write performance (in my case about 50%! ).
There is no better tool to format SD cards.
After that you can resize (But don't move it, just trim the end. The free space in front of the FAT32 partition is part of the alignment) the FAT 32 partition with gparted and generate an ext partition in the free space.
Finally one should run the ext alignment script (it's a zip for recovery mode) from baadnwz homepage (http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html) to align also the ext4 partition to the flash cells.
boot up into android (with any ROM) and go to settings > storage > format SD card
this should restore whole SD as FAT32
funny enough Android could do it, while Gparted could not (gparted didnt see my whole sd, it didnt see the ext partition)
davebugyi said:
I'm using Ubuntu 11.04 (natty) - and i'm able to mount my EXT partiton of the SD Card.
As I said, don't just format the card, but delete all partitions and re-create them, then format them.
Also, if your card is messed up badly, maybe you have to use the termina with commands to recover the ext partition.
Click to expand...
Click to collapse
---> As I said too , Gparted fails to create partitions. It displays a "warning" icon by the sd icon. Unless I'm a fool, I can't get any further there.
hypophysis said:
Always format SD cards with the "SD Formatter 3.0" from the SD Association: http://www.sdcard.org/consumers/formatter_3/
This little programs formats the whole card (full capacity, erasing all other partitions) in FAT32 meeting all SD specifications.
Furthermore it alligns the LBA parameters (virtual heads, cylinders etc) and the fat32 parameters with the internal structures of the flash memory (eraseblocks), so that fat32 clusters never overlap eraseblocks. This speeds up write performance (in my case about 50%! ).
There is no better tool to format SD cards.
After that you can resize (But don't move it, just trim the end. The free space in front of the FAT32 partition is part of the alignment) the FAT 32 partition with gparted and generate an ext partition in the free space.
Finally one should run the ext alignment script (it's a zip for recovery mode) from baadnwz homepage (http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html) to align also the ext4 partition to the flash cells.
Click to expand...
Click to collapse
---> Sounds great and geeky, gonna give it a try tomorrow afternoon (CET +2 here)
dzumagos said:
boot up into android (with any ROM) and go to settings > storage > format SD card
this should restore whole SD as FAT32
funny enough Android could do it, while Gparted could not (gparted didnt see my whole sd, it didnt see the ext partition)
Click to expand...
Click to collapse
---> Yeah, Gparted is a bit lazy here.... Gonna try it if hypophysis's method doesn't work out. I gotta admit this kinda problem is pretty disturbing and pisses me off so much.... Waiting forward to get it over with.
Anyway, thanks a lot for helping me, you're good people here !
Well, I tried hypophysis's method. It formatted successfuly. But as you said, I had to run Gparted again in order to create an Ext partition next to the fat 32 one. But I couldn't --> It says it couldn't find the "first sector" I guess, and it couldn't determine the device specifications, it wasn't able to perform everything he wanted. Actually it recognized the whole sd card, but wasn't able to do anything with it. I couldn't unmount it or mount it....
I'm stuck at square 1 Gonna try to perform dzumagos's method later.
Hello guys,
I have installed the above rom by Sandvold, rom is running well. I have intermediate technical skills but have been out of it for a bit. The rom is working well, no issues, but the rom thread mentions a lot about apps2sd, etc, and running scripts. My appps allocation is as follows, 99mb used and 49mb free. Should I be doing something to dalvik cache, running a script to allocate more space or ensuring everything is installed on the SD card. I am posting here becuase they dont like posts such as this in that thread. I would appreciate a small tutorial about this situation please i.e. what I shlould be doing after installing the rom so that i can get maximum space free on my phone.
many thanks in advance.
moghm said:
Hello guys,
I have installed the above rom by Sandvold, rom is running well. I have intermediate technical skills but have been out of it for a bit. The rom is working well, no issues, but the rom thread mentions a lot about apps2sd, etc, and running scripts. My appps allocation is as follows, 99mb used and 49mb free. Should I be doing something to dalvik cache, running a script to allocate more space or ensuring everything is installed on the SD card. I am posting here becuase they dont like posts such as this in that thread. I would appreciate a small tutorial about this situation please i.e. what I shlould be doing after installing the rom so that i can get maximum space free on my phone.
many thanks in advance.
Click to expand...
Click to collapse
After flashing the ROM reboot into RECOVERY and flash amarullz script.
Goodwin_TJ said:
After flashing the ROM reboot into RECOVERY and flash amarullz script.
Click to expand...
Click to collapse
And make sure your SD card has a FAT32-partiton with rest available space and an EXT4-partition with at least 512 MB, better 1 - 2 GB. If you configure(d) your SD card with GParted, check that both partitions are primary.
moghm said:
I would appreciate a small tutorial about this situation please i.e. what I shlould be doing after installing the rom so that i can get maximum space free on my phone.
Click to expand...
Click to collapse
I had the same problem as you do, and I found a script that made it work for me at least.
First off I wiped the whole phone clean, including the SD Card.
After that I formated the SD card like this (3965 MB card)
0 - 2909 fat32
2909 - 3933 ext4
3933 - 3965 linux-swap
How you do this is by going into the phone with ADB and do the following (Im using Windows7 so I used commandpromt):
Open commandprompt and type in "adb shell" (Assuming you have the requirments for this).
Once in you should se somethine like this "~ #" or "/ #". After this you type "parted /dev/block/mmcblk0"
This will give a prompt like this "<parted>", here you can type "print" and and see the exact size of your SDcard in MB and your current partitioning.
Decide how you want to partion your card (I used 1024 MB ext4 partion for my apps)
Remove your current partitions with "rm 1" where the 1 stand for the partition number. You should see thoose numbers when you type in "print"
When you removed all you can begin to create the new partitions by doing this:
mkpartfs primary fat32 0 2909
mkpartfs primary ext2 2909 3933 (You have to creat a ext2 partion first and then "upgrade it" to an ext4)
mkpartfs primary linux-swap 3933 3965
Type "print" again to make sure you have the correct sizes and all partitions you want, if you have then type "quit"
Now you have to "upgrade" the ext2 partition to an ext4. This you have to do in 2 steps.
First from ext2 to ext3. In the "/ #" promt type the following: "tune2fs -j /dev/block/mmcblk0p2" where the 2 is for partition number 2. After this you should have a ext3 partition instead of a ext2.
From ext3 to ext4 you do this:
"tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2"
"e2fsck -fpDC0 /dev/block/mmcblk0p2"
Now when you have the partitions right you can move on to installing the ROM on the phone.
First you should download the old files that is in the bottom of this thread http://forum.xda-developers.com/showpost.php?p=10692249&postcount=1299
Extract the zip folder and send over the "A2SDKillerV5.zip" and "Data2SDInstallerV5_aosp.zip" to your SDcard.
From recovery install the ROM. When it is done, move back to the menu and do not reboot. Instead install the "A2SDKillerV5.zip" and when that is done reboot the phone and make sure it boots correctly. Take the "on first start" guide but do not login to your google-account. And do now download any apps or even go into market. After this reboot into recovery mode again.
When back in recovery mode, install the "Data2SDInstallerV5_aosp.zip". When its done you can reboot and you should have ~1GB to install apps on (Or whatever size you choosed)
Hope this will help you as much as it did to me
Kind regards Cykelstyre
CykelStyre said:
I had the same problem as you do, and I found a script that made it work for me at least.
First off I wiped the whole phone clean, including the SD Card.
After that I formated the SD card like this (3965 MB card)
0 - 2909 fat32
2909 - 3933 ext4
3933 - 3965 linux-swap
How you do this is by going into the phone with ADB and do the following (Im using Windows7 so I used commandpromt):
Open commandprompt and type in "adb shell" (Assuming you have the requirments for this).
Once in you should se somethine like this "~ #" or "/ #". After this you type "parted /dev/block/mmcblk0"
This will give a prompt like this "<parted>", here you can type "print" and and see the exact size of your SDcard in MB and your current partitioning.
Decide how you want to partion your card (I used 1024 MB ext4 partion for my apps)
Remove your current partitions with "rm 1" where the 1 stand for the partition number. You should see thoose numbers when you type in "print"
When you removed all you can begin to create the new partitions by doing this:
mkpartfs primary fat32 0 2909
mkpartfs primary ext2 2909 3933 (You have to creat a ext2 partion first and then "upgrade it" to an ext4)
mkpartfs primary linux-swap 3933 3965
Type "print" again to make sure you have the correct sizes and all partitions you want, if you have then type "quit"
Now you have to "upgrade" the ext2 partition to an ext4. This you have to do in 2 steps.
First from ext2 to ext3. In the "/ #" promt type the following: "tune2fs -j /dev/block/mmcblk0p2" where the 2 is for partition number 2. After this you should have a ext3 partition instead of a ext2.
From ext3 to ext4 you do this:
"tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2"
"e2fsck -fpDC0 /dev/block/mmcblk0p2"
Now when you have the partitions right you can move on to installing the ROM on the phone.
First you should download the old files that is in the bottom of this thread http://forum.xda-developers.com/showpost.php?p=10692249&postcount=1299
Extract the zip folder and send over the "A2SDKillerV5.zip" and "Data2SDInstallerV5_aosp.zip" to your SDcard.
From recovery install the ROM. When it is done, move back to the menu and do not reboot. Instead install the "A2SDKillerV5.zip" and when that is done reboot the phone and make sure it boots correctly. Take the "on first start" guide but do not login to your google-account. And do now download any apps or even go into market. After this reboot into recovery mode again.
When back in recovery mode, install the "Data2SDInstallerV5_aosp.zip". When its done you can reboot and you should have ~1GB to install apps on (Or whatever size you choosed)
Hope this will help you as much as it did to me
Kind regards Cykelstyre
Click to expand...
Click to collapse
Much easier to install 4ext recovery.
I know I probably shouldn't be doing this but: When I was running a Gingerbread Rom the stock player found my music on my SD card. When moving to this rom, it refuses to find ANY music in the card. Downloaded some third party players like Poweramp etc and still it refuses to find my music. Don't know what to do now (Trivial I know but I really want to play around with the ICS rom but I do listen to music a lot so it's a hinderence that it doesn't work)
Zenamez said:
I know I probably shouldn't be doing this but: When I was running a Gingerbread Rom the stock player found my music on my SD card. When moving to this rom, it refuses to find ANY music in the card. Downloaded some third party players like Poweramp etc and still it refuses to find my music. Don't know what to do now (Trivial I know but I really want to play around with the ICS rom but I do listen to music a lot so it's a hinderence that it doesn't work)
Click to expand...
Click to collapse
Is that with the latest one, 3.4?
I had the same problem with 3.3, but its ok with 3.4. I have my music back.
When going from 3.3 to 3.4 I cleaned the folders on my sdcard. I dont know if that helped, maybe worth a try though. Heres what I did
Mount usb in recovery, deleting all folders except the ones I wanted to keep, ie music, pictures, titanium backup etc
Full wipe
Install rom
My music came back
I thought that ROM had A2SD built in and you just needed to run an adb command to enable it?
I've flashed this ROM & followed the instruction in running the script in the command prompt rebooted all's well here!
I've been trying to partition my External SD card so I can use it for Link2SD. I don't have an SD card reader so I tried using the adb + parted command. I was following this tutorial but then I realised that /dev/block/mmcblk0 was my Internal Storage and not my external SD. I deleted the first 5 partitions on there and my phone isn't charging nor turning on even though it's fully charged. Have I completely broken my phone?
Edit: phone shows up as QHSUSB_BULK in device manager.
Could someone please upload the first 5 partitions as imgs? I'm trying to use Ubuntu to try and replace the partitions I deleted. I'm running 4.16.1540.8 as my firmware and CM12 nightlies.
Use this command to save partitions as imgs on SD.
dd if=/dev/block/mmcblk0p5 of=/sdcard/dump/mfg.img
Just replace the mmc number with 1,2,3,4,5 and the image name to something that lets me know which partition it's on.
Thanks
bump
did you have any joy getting the mmcblk0 and if so can you upload it please