[Q] sd-ext not mounting properly - Desire Q&A, Help & Troubleshooting

Hi
I installed (12/15/2012) [SS] Jelly Bean CM10 v2.9.1 (4.1.2) version 3.0 on my desire and followed all the settings for CPU governor and A2SD scripts. Configured my email, and installed all apps from scratch.
Everything seemed fine, worked smooth. Last night the phone crashed and rebooted and somehow lost most of the apps., including Google play which makes things harder ... Looking at memory usage, it look like there is a problem with /sd-ext.
if i open terminal, and try to run A2SD again, it also shows a problem:
/sd-ext not mounted properly, it might have errors
Found block device: /dev/block/mmcblk0ps
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
Setting flag a2sd
/system/bin/a2sd: line 74: /sd-ext/.a2sd: read-only file system
chmod: /sd-ext.a2sd: no such file or directory
would you also like to move DALVIK-CACHE
I put the SDcard in my computer and it showed no errors
When I go into recovery, I can mount all partiotions without problems??
For now I will go to reflash the phone and start all over.
How can I find out what happened here and how to prevent that?
And is there an easier way to repair this problem
hoping it will not occur again...
Happy new year, best whishes for everyone, and hoping for help
D.
UPDATE: cleared all data from within recovery, cleared cache from recovery and reflashed the zip
when I try to run the a2sd script error is still there!!!
put the sdcard in mu computer, deleted and recreated the partition
and then the error is gone ... ??

How did you create the partition? Use gparted or 4ext recovery only, not minitool or clockworkmod recovery

I used minitool
What is the difference?
So it will crash again?
Anything i can do as a repair or do i have to start all over again?
Thanx for your help!
Sent from my Transformer TF101 using Tapatalk 2

Minitool doesn't create the partitions properly.
Backup your sd card to pc. Then I recommend to delete all partitions and repartition using gparted. Search for guide in development section.
Copy everything back to sd card afterwards, then rerun the a2sd commands

Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2

duiksmurf said:
Sorry for not understanding ...
Can I copy the ext4 partition as well then? If I delete that, I am in the same situation as yesterday after the crash (?)
Just running the a2sd again did not work then
Thx
D.
Sent from my Transformer TF101 using Tapatalk 2
Click to expand...
Click to collapse
1. try to backup user apps only using titanium backup, don't know how many have been lost, but can try and save the others.
2. copy whole sd card to pc. this just copies the whole FAT32 partition of the sd card. you will not see the ext4 partition when connected to PC, don't worry about it.
3. delete all partitions and repartition using gparted (step 5 here)
4. copy the backup back onto sd card.
5. full wipe everything from recovery, flash rom, run A2SD commands and reboot etc.
6. restore any apps using titanium, should go to partition automatically if everything is working. install another app like diskusage to browse all your partitions.

How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.

alochet said:
How to fix the dreaded sd-ext not mounting properly, or fix A2SDGUI not rebooting/crashing
The reason this happens is because you have flashed a rom that doesnt support ext4. You will have to change the ext4 partitiion to ext3 in order to get a2sd to install properly.
If you have backed up your data and just need to get a2sd running follow this guide, I am not responsible for lost data or a corrupt sd card
1) Download aparted app. WARNING: If used incorrectly you can destroy the data in your sdcard
Click tools. There should be a partition called FS: ext4, Select it, then press delete(WARNING DATA FOR APPS WILL BE LOST)
2. Click create, then select EXT 3 this time, and the default size 999, dont touch any other settings or you'll corrupt your sdcard, dont touch the init and end parameters!
3. REBOOT the phone
4. Then try a2sd install in terminal or if your using the A2SDGUI, click Dalvik, select Dalvik on SD-EXT, then hit Move and Rebuild, wait for it to reboot, if it does not reboot hit Move! and wait for it to reboot. It should reboot, if it doesnt reboot or crashes you didnt read step 3 when I said to reboot your phone after adjusting the partition, or you mistakenly chose ext4 partition!
If your were silly enough not to backup your data, you can download gparted iso and boot it using your PC. Then connect the phone and goto the ext4 partition and COPY all the files and paste it in a temporary folder. Then delete the partition, then create an EXT3 partition and PASTE back all the data files in the ext3 partition.
Click to expand...
Click to collapse
Eh?
- The ROM supports ext4 just fine, most ROMs here do. ext4 is also faster than ext3...
- The problem was that the partition was poorly created in minitool partition wizard, likely that it was not properly aligned.
- The issue has already been solved...9 months ago...

Related

problem

Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
memphisuklf said:
Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
Click to expand...
Click to collapse
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
LeeDroid said:
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
Click to expand...
Click to collapse
How do i check the partitions? Cant boot so can`t see them that way and haven't got card reader or anything. Im sure its got something to do with partition. Does this seem like it is causing the problem?
Any help appreciated.
bump, need help
have you wiped everything before flash?
I wiped with rom manager after downloading rom. Not sure of all the custom recovery options as rom manager usually does it all for you. Not sure if i should wipe date, cache etc, will this wipe my backups? Tried removing sd card but wont boot, not even sure how I would get another custom rom on sd card so i could flash that. I have both defrost 2.4a and opendesire aswell as a nandroid backup on my sd card but can't get these to boot either
Must be something to do with the sd card partition. Everything I try I get the message
E:Can`t mount/dev/block/mmcblk0p2(file exists)
error mounting sd/ext/!
Don't know what this means but think its causing the problem.
perhaps a bad sector on the SD?
try backing up everything on the SD, format it again & try the roms one by one to see which possible causes the issue
U need to try an alternative recovery.
Try using unrevoked, and flash and different recovery.
Sounds like the fake flash recovery u got with rom manager Isn't clearing ur partitions.
Sent from my HTC Desire using XDA App
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
memphisuklf said:
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
Click to expand...
Click to collapse
usually does some programs allow you to keep it tho but 90% of the cases its just gone
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
memphisuklf said:
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
Click to expand...
Click to collapse
in Windows XP Disk Management, right-click the existing partition,
and click delete, that will leave the whole card as unallocated space. Then
right-click on the unallocated space, and click new partition.
edit : or install http://www.sdcard.org/consumers/formatter/sdfv2000.zip
free SD partitioner
in disk management it only shows the size as 3.18gb, I made the partition through rom manager which I think formats it in linux which windows doesn't recognise.
Taking the Sd card out gets in onto the animation screen, so a little further, but still doesn't boot. Very frustrating. \\\\\any more help appreciated.
Flash a ROM that doesn't use Apps2SD.
can you link one for me pal, ripping my hair out here, lol. By the way how do you do full wipe in custom recovery ie data, cache, is that it?
edit. Don't matter. Sorted. Copied an earlier backup of sd card onto spare sd card and did a recovery. Still need to know how to remove the partition from other sd card using windows.
This was definitely the problem and won't be using rom manager to do another partition.
If someone does know how to remove partitions using rom manager from sd card via windows then would appreciate it if you would let me know...
Stock rooted ROM: http://forum.xda-developers.com/showthread.php?t=694564
Full wipe can be done using the "wipe data/factory reset" option in ClockworkMod Recovery.
To get rid of the ext Partition get gparted or something like that. Normal Windows cant see ext partitions because its a Linux filesystem. You can also take a Linux live cd.
Can't you just take ROM Manager and partition your SD card again? Swap 0/Ext 0/FAT 32 All
It looks like something isnt ok with the partitions so i would recommend to delete all partitions and make them new i also had a problem once with my sd card but after deleting all partitions and repartition it everything was ok again.

[Q] Few questions about flashing custom ROM.

Hi all,
Successfully rooted my Desire today using Unrevoked method.
Since I quite like the Sense UI, I've decided on flashing the "[FroYo Sense] LeeDrOiD V2.3b (17/12 l Official l OC&UV l FAST l STABLE l WWE)" ROM.
My phone software details are as mentioned in the signature.
a. Can I flash Leedroid without upgrading radio, etc?
b. How exactly do I format my SD card in ext3 partition? [Can't find a tutorial/thread to do the same.] --
Also, regarding using gparted in linux, do I directly, say use card reader/connect the phone and format? Since I have a 16GB SD card, I intend to have a 1 GB ext3 partition.
What exactly does "Flash Rom (you may need to toggle signature verifacation)" mean? :-o
and
"# Flash Radio (unless you already have it)"??
I am following the steps/instructions from this link - http://forum.xda-developers.com/showthread.php?t=768703
Thanks in advance.
Radio is fine (don't flash any radio until you really know what you are doing), to toggle signature verification go, in recovery, to 'install zip form sd' there is the option to toggle verification.
How to partition your sd cared with gparted is mentioned enough, do some more searching. There are also some videos on youtube on how to do it. If you have the ability to use a cared reader use it.
TheGhost1233 said:
Radio is fine (don't flash any radio until you really know what you are doing), to toggle signature verification go, in recovery, to 'install zip form sd' there is the option to toggle verification.
How to partition your sd cared with gparted is mentioned enough, do some more searching. There are also some videos on youtube on how to do it. If you have the ability to use a cared reader use it.
Click to expand...
Click to collapse
Thanks!
So, with the radio version I have, I can still flash LeeDroid ROM, right?
cthdesire said:
Thanks!
So, with the radio version I have, I can still flash LeeDroid ROM, right?
Click to expand...
Click to collapse
yes
10char
Although, it is said that flashing the radios recommended by the dev would be better for battery life, but I guess it is quite open to interpretation.
You could also try using Rom Manager (by ClockworkMod) to partition your SD card through your phone. That's what I did. Less hassle (probably?) than using gparted or installing additional software on your PC.
ROM Manager (from the market) is your friend.....
Will allow you to partition an EXT3 (up to 512mb - Im still trying to figure out how to create a 1GB partition) and then will allow you to flash LeeDroid ROM.
ROM Manager is very simple to use. Just copy the ROM (zip) to a folder on your SD card, use ROM Manager to create your EXT3, do a NANDROID backup (!!!), and then flash the ROM.
Best bet is to backup your apps and data first (use Titanium ?).
LeeDroid ROM is great
wilbur-force said:
ROM Manager (from the market) is your friend.....
Will allow you to partition an EXT3 (up to 512mb - Im still trying to figure out how to create a 1GB partition) and then will allow you to flash LeeDroid ROM.
ROM Manager is very simple to use. Just copy the ROM (zip) to a folder on your SD card, use ROM Manager to create your EXT3, do a NANDROID backup (!!!), and then flash the ROM.
Best bet is to backup your apps and data first (use Titanium ?).
LeeDroid ROM is great
Click to expand...
Click to collapse
To easily create your partition up to 1024 MB, you can use an Ubuntu live cd of GParted by either burning it to a cd or boot it from a usb stick: http://www.ubuntu.com/desktop/get-ubuntu/download.
Or, you use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
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 = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
You could also use Amon-Ra custom recovery to do this by flashing it with unrEVOked.
MasDroid said:
To easily create your partition up to 1024 MB, you can use an Ubuntu live cd of GParted by either burning it to a cd or boot it from a usb stick: http://www.ubuntu.com/desktop/get-ubuntu/download.
Or, you use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
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 = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
You could also use Amon-Ra custom recovery to do this by flashing it with unrEVOked.
Click to expand...
Click to collapse
cheers
its the Linux bit that scares me I work in IT but have never touched a LINUX OS so im a bit daunted
Hi, if you have win7 use arcronis disc director home, its the easyest way, i did so, and i'm a non it
I have now 1.5gb of ext3, and it works very fine.
-------------------------------------
Sent via the XDA Tapatalk App
malaivica said:
Hi, if you have win7 use arcronis disc director home, its the easyest way, i did so, and i'm a non it
I have now 1.5gb of ext3, and it works very fine.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
does the demo version allow this ? otherwise it seems to be £35
wilbur-force said:
does the demo version allow this ? otherwise it seems to be £35
Click to expand...
Click to collapse
It is very easy to follow the instructions posted above, I even linked a YouTube video for you and gave you a link on how to create the live cd. You should be fine, give it a go
You won't believe how easy it is... its just because you are unfamiliar with the OS platform.
If you are really struggling, then try this method but be careful as you will be connecting via USB to the PC and executing an automated script (batch file). While the batch file i running, do not disconnect the USB cable while in recovery mode:
1. Turn on your phone while holding the volume down button.
2. You will see HBOOT on the screen.
3. Use the volume buttons to move up and down and power button to select the RECOVERY option.
4. You will now see a red triangle on the screen, at this point plug your phone into your PC via your microUSB cable.
5. Wait for 10-15 seconds and then double click on recovery-windows.bat inside the pushfiles_windows.zip folder you unzipped as part of the root process. pushfiles_windows.zip
6. Using the optical trackpad select Partition sdcard > Partition SD
7. Select SWAP=0, EXT2=1024 and allow the rest to be FAT32.
8. Select the SD:ext2 to ext3 option in this menu.
9. Go back to the Recovery Console main menu and select Reboot system now. While rebooting, unplug the Desire from the USB port.
Windows Pushfiles attached below for you.
Thank you all! And MasDroid, thanks for the detailed instructions. I do have Ubuntu on my desktop. Tried formatting on a spare SD card using GParted and seems to be just the perfect thing. I'll do some more reading before flashing the phone. I do have some more doubts. Wanna make sure that I know what am doing.
@ wilbur-force
Dont know, a friend of mine gave my arcronis, think it was the full version. G-parted did not find my cardreader. And the 512mb whit rom manager was not enough space for me. Sorry for my bad english...
Its my 3rd language
-------------------------------------
Sent via the XDA Tapatalk App
Are the following steps in order and correct (to flash LeeDroid ROM)?
a. Create Nandroid and Titanium backup of the phone.
b. Copy the contents of SD card to a folder onto the PC.
c. Format the SD card with FAT32 and ext3 partition (A2SD+)
d. Copy the LeeDrOiD_V2.3b_A2SD ZIP folder to the SD card (root)
e. Insert the SD card to the phone and boot into recovery
Doubt here: Do I need to 'Wipe Data / Factory Reset' again??
f. Install zip from SD Card.
g. Choose zip from SD Card.
h. Reboot System Now.
Are these steps correct?
Also, after flashing how do I restore the Nandroid/Titanium backup? Do I have to copy the contents (step b) back to the phone and boot into recover and "restore" using Clockwork MOD??
Thanks!
Yes correct order.
Wipe again? In your list I can't find the first factory reset, but yes you should wipe data/factory reset, cache and dalvik cache (under advanced) at that point.
After flashing you can restore your apps with titanium, restoring the nandroid (in recovery) will revert your phone back to the state it was of the nandroid so leedroid will be gone. Personally i don't use titanium so can't tell you how to do that, but i sync my apps with appbrain and reinstall them again after flashing.
I do know that is you want to use titanium the backup needs to be copied back to the sd card.
TheGhost1233 said:
Yes correct order.
Wipe again? In your list I can't find the first factory reset, but yes you should wipe data/factory reset, cache and dalvik cache (under advanced) at that point.
After flashing you can restore your apps with titanium, restoring the nandroid (in recovery) will revert your phone back to the state it was of the nandroid so leedroid will be gone. Personally i don't use titanium so can't tell you how to do that, but i sync my apps with appbrain and reinstall them again after flashing.
I do know that is you want to use titanium the backup needs to be copied back to the sd card.
Click to expand...
Click to collapse
Do I have to do a factory reset from recovery at first?
Also after formatting the SD card with the FAT32 and ext3 partitions, do I copy back the previous contents of the SD card back to the phone along with the LeeDroid ROM?
Not before the nandroid if you meant that, wipe before flashing leedroid. So once you're in recovery to flash the rom, first wipe data/factory reset, cache and dalvik cache and then flash leedroid in the same session (without rebooting).
Best is to copy back the contend of the sd card, however if you want to start with a clean cart you can also just copy back the clockworkmod folder and the titanium folder.
TheGhost1233 said:
Not before the nandroid if you meant that, wipe before flashing leedroid. So once you're in recovery to flash the rom, first wipe data/factory reset, cache and dalvik cache and then flash leedroid in the same session (without rebooting).
Best is to copy back the contend of the sd card, however if you want to start with a clean cart you can also just copy back the clockworkmod folder and the titanium folder.
Click to expand...
Click to collapse
Thanks again mate.
So here's another of my doubt -- say, I copy the LeeDroid ROM to the SD and boot into recovery to flash the ROM and do a factory reset, would this not delete the ROM also from the SD card? My first ROM flashing and hence these doubts :-o
Thanks for your patience.
Can I just copy back the Titanium backup folder after booting into LeeDroid ROM? :-o
Sd card won't be affected by a factory reset nor by flashing.
You can copy the titanium folder whenever you want.
TheGhost1233 said:
Sd card won't be affected by a factory reset nor by flashing.
You can copy the titanium folder whenever you want.
Click to expand...
Click to collapse
Thanks again! Can't hit the "Thanks" more than 5 times!
Shall get down to flashing the ROM..
Shall drop by here for any further doubts. You've been a great help!
Cheers!

Partitioning for CM7 and App2SD

I am using Cyanogenmod 7 and App2SD (as explained here). I want to move EVERYTHING to the SD card (including data) and use ext4. How should I partition the card (using Gparted) to have it working properly?
I tried doing it with Clockworkmod but it is very limited (only 1 partition+swap?) and does not ask me if it should be ext4.
yah its better if u use gparted live cd..cwm create by default an ext3
but be aware that any cwm recovery below 5.x will format ur ext partition in ext3 as soon u do a wipe or a restore on it! to use an ext4 u should use cwm 5.x and up (or alternative amon_ra 2.0.1)
My question was: How should partitions look on the card. What types, sizes and for what purpose. For 4gb and 8gb card. I checked the default partitioning done by CWM and it was 1.8gb fat + 1.8gb ext3 + swap. Why the division? Why fat? Can I do it differently, like 10mb fat + 3.8gb ext4?
Dont make your EXT partition over 2GB
All the data moved from the phone to SD card though app2SD - would they be kept on ext or fat partition? Is the FAT partition the one visible on the computer if the phone is connected as a USB storage?
impactor said:
All the data moved from the phone to SD card though app2SD - would they be kept on ext or fat partition? Is the FAT partition the one visible on the computer if the phone is connected as a USB storage?
Click to expand...
Click to collapse
You need to be clear on your definitions before we can answer that.
Do you mean:
1)apps2sd = /manage applications/<application name>/Move to sd?
2)apps2sd = App on teh market that uses the mechanism in 1) to move in bulk?
3)apps2sd = a2sd/+ script that moves apps to ext partiton?
Yes, FAT is the main data storage partition
I have installed app2sd and then done
Cache2SD
adb shell
/sd-ext/userinit.d/10cache2sdext-binds enable
Data2SD
adb shell
/sd-ext/userinit.d/11data2sdext-binds enable
Now, after reset there is not a single installed application, not even gmail. Even those installed on system partition before (not moved to SD card) are gone and I can't even access Market to reinstall them.
Is this normal? What can I do now?
gmail is not installed with cm, and if u not find it on the market mean is not available in ur country
this is not related to app2sd things..ur orignal problem was the space..with the app2sd u should have solved it now..reinstall all ur apps (leave ur apps on the internal memory, they will automatically moved on the ext) and u shouln't get anymore low space messages
How can I reinstall them if I don't even have Market anymore?
impactor said:
How can I reinstall them if I don't even have Market anymore?
Click to expand...
Click to collapse
maybe u didn't read cm instructions ya?
after flash cm, u have to flash in recovery the gapps package here
this contains the market
I didn't reflash CM. I only installed App2SD
impactor said:
I didn't reflash CM. I only installed App2SD
Click to expand...
Click to collapse
before u said "after reset"..what means?
I mean "after reboot".
I just tried installing gapps for CM but evne though the installation looked successful, after reboot I still cannot see any new apps, including the market.
I also cannot install any nightly build over current RM 7.1 as I am getting an ERROR during installation attempt.
After few tries, I managed to install newest nightly build (7.1 RC won't install at all as it says the zip is BAD even though md5 is correct).
Anyway, I installed google apps afterwards, but I only got google talk in the app menu. Still no Market...

[Q] 4EXT recovery format SD-EXT help

When I format my SD-EXT on 4EXT it erases all my information on my SD-card. When I try to install Runny Rom v5.5 it gets stuck on the SD partition part. I do a battery pull and check my SD card and all my files are gone
You don't say if you have two partitions on your SD card or not. You've got to have two partitions otherwise you won't have it working properly. The first one should be normal FAT32 and the second one EXT3 or EXT4 depending on the requirements of the ROM you want to flash. The best way to achieve this is to use gParted on a normal PC. Then you can use 4EXT on your phone to manipulate the SD-EXT part of your SD card, eg formatting it or converting between different types of EXT partition. This is the part where your apps data, cache, actual apps, dalvick cache etc. will be kept depending on your settings. Leave FAT32 partition alone.
If you are installing your ROM from the phone then the necessary file should be placed in FAT32 partition. Just remember the path where you copied it. You will need this when you use 4EXT to install the zip file.
Sent from my HTC Desire using Tapatalk 2
Make sure you have two partitions: FAT32 + EXT4 (size at least 1 GB). Also make sure that they are correctly aligned.
Sent from my HTC Desire using Tapatalk

Using SDCARD as /data

I have a problem with my phone.
I believe that the internal partitions are messed up.
I have tried a couple of guides to fix this but no luck. I get "error formatting /data!" on recovery. I also tried using the formatting tools from adb shell (e2fsck, gparted).
The main problem is that when i restart my phone the /data partition gets wiped, and the phone reboots in blank, no apps no setting (some of them remain).
I wonder if i can solve this by setting my sd-card to be the new /data. I doesn't matter if i have to leave the sd-card on all the time. i mainly use this phone for developing apps.
Thanks.:good:
Felivel said:
I have a problem with my phone.
I believe that the internal partitions are messed up.
I have tried a couple of guides to fix this but no luck. I get "error formatting /data!" on recovery. I also tried using the formatting tools from adb shell (e2fsck, gparted).
The main problem is that when i restart my phone the /data partition gets wiped, and the phone reboots in blank, no apps no setting (some of them remain).
I wonder if i can solve this by setting my sd-card to be the new /data. I doesn't matter if i have to leave the sd-card on all the time. i mainly use this phone for developing apps.
Thanks.:good:
Click to expand...
Click to collapse
It could probably be done if you could get the sdcard to mount at boot, not sure if thats possible. You would need to create a flashable much like the ext4 mod, that edits the init.inc.rc file to mount the sdcard and /data to it. You would want to partition your sdcard with an ext3 or ext4 partition and use that for data.
Yes it can be done. That's how boot manager works, by modifying the ramdisk to load images from sdcard or emmc instead of the partition. I think I have an idea on how to make your request work.
Edit: If you feel like trying a project, what needs to be done is create a file data.img and mount it as loopback using busybox (ROM needs a working busybox).
Then the boot.img needs to be updated replacing the mount /data entry in init.inc.rc with the location of the loopback device and a loopback setup prior to this. The data.img created needs to be formatted ext3 or ext4. I know it's not too detailed but rather just a summary.

Categories

Resources