FORUMS
Remove All Ads from XDA

[Q] SD Card Ext Mount issues - INTERESTING clue but need help.

13 posts
Thanks Meter: 0
 
By gagbel, Junior Member on 12th August 2013, 06:51 PM
Post Reply Email Thread
Dear enthusiastic helpful geeks

I have an interesting challenge for all those who are interested.

I am android fan, amateur and a doctor by profession.

I have 3 years old HTC Desire Bravo GSM
I rooted using Unrevoked 2 years ago and used CyanogenMod.

I have been using S2EXT app all these years to solve the well known internal memory problem.

I found Jelly Bean very interesting and flashed the VJ 4.2.2 CM10.1 V6.3
I just love it.
With terminal emulator, I used the commands as instructed and had this message.

$ su
# a2sd install
Found block device: /dev/block/mmcblk0p2
Removing flag a2sd
Removing flag ad2sd
Removing flag dc2sd
setting flag a2sd
/system/bin/a2sd: line 73: /sd-ext/.a2sd: Read-only file system
chmod: /sd-ext/.a2sd: No such file or directory
Would you also like to move DALVIK-CACHE?
You can later undo this with 'nocachesd' (y|n)


I came to know SD EXT is not mounted
Tried mounting sdext through ROM manager and got the message

E:Can't mount /dev/block/mmcblk0p2
(File exists)

I flashed back CM 7 reluctantly

SD ext did not mount at first.

I downloaded S2EXT and I had to tick the box which said Mount as ext4 (mount sd-ext as ext4 without journaling)
Now, the disabled options got enabled and I could ask for the movement of applications, dalvik cache and rest of the stuff to sd ext.

I have the log generated by S2EXT app about what happened.

Initialization...
Ext partition found: /dev/block/mmcblk0p2

Use built-in tune2fs
Use built-in e2fsck

Setup read_ahead value

Start mounting /dev/block/mmcblk0p2 as ext4
Setup options to /dev/block/mmcblk0p2:
tune2fs 1.41.12 (17-May-2010)
Checking /dev/block/mmcblk0p2:
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/block/mmcblk0p2: 839/262144 files (3.5% non-contiguous), 196501/1048576 blocks
Disabling journaling on /dev/block/mmcblk0p2:
tune2fs 1.41.12 (17-May-2010)
tune2fs 1.41.12 (17-May-2010)
Mounting /dev/block/mmcblk0p2...

/dev/block/mmcblk0p2 successfully mounted!

Config found on /data/data
Status dir not found! Create...

Config now on /data/data
Unmount /cache/download...
/sd-ext/download mount as /cache/download


Phone details

BRAVO PVT3 SHIP S-ON
HBOOT-0.93.0001
MICROP-051d
RADIO-5.11.05.14
Aug 10 2010,17:52:18

Unrevoked to root

Main and returned to CyanogenMod 7.2.0.1
ROM Manager
Clockworkmod revovery
S2EXT

GParted partitioning SD Card
1. Primary ~14GB FAT32
2. Primary ~1GB ext4




I want to use CM10.1 VJ version 6.3 and to be able to mount SD Ext and move apps to it so that my internal memory does not get full.

S2EXT can fix this issue but is not compatible with JellyBean. - How could it do? Can I do it somehow?
Why is that mounting SD Ext and moving apps is not possible on VJ version?


I am not so confident in using adb shell and other advanced stuff as advised in the forum.

Hence, writing all I know to see if someone can spot a solution and help me solve it in a simpler way.

Help me enjoy the Jelly Bean and make my Desire Re-Live !

[/FONT][/SIZE][/SIZE][/FONT][/FONT][/SIZE][/SIZE][/FONT][/FONT]
Attached Thumbnails
Click image for larger version

Name:	screenshot-1376327994076.jpg
Views:	121
Size:	32.2 KB
ID:	2184297   Click image for larger version

Name:	screenshot-1376328003389.jpg
Views:	111
Size:	35.1 KB
ID:	2184298  
 
 
12th August 2013, 09:56 PM |#2  
eddiehk6's Avatar
Senior Member
Flag London
Thanks Meter: 671
 
More
I suspect ROM manager may have caused a problem, it's a known issue that that app is bad for Desire. Mounting the ext-ext may have screwed it up somewhere.

Uninstall it.

I would backup the FAT32 bit of the sd card to PC, delete all partitions and repartition using gparted again, just in case. You can go for 1.5-2GB if you really don't want to run out of space.

Then reflash the rom, follow the instructions to use A2SD, don't bother with S2E anymore.

Up to you, I would also consider going s-off as well, it's a lot more advantageous. You can then do things such as change hboot for smaller ROMs and have even more space for apps. You could also install 4EXT recovery (see my sig), and do the partitioning using that recovery too.
The Following User Says Thank You to eddiehk6 For This Useful Post: [ View ] Gift eddiehk6 Ad-Free
12th August 2013, 11:00 PM |#3  
gagbel's Avatar
OP Junior Member
Thanks Meter: 0
 
More
Thanks a lot
Thanks Eddiehk6 for your wonderful advice.
ROM manager - I can uninstall it.

I tried S-Off using Revolutionary but it somehow did not let me pass with the Beta key (invalid key)
I will try again.

Advice on SD ext size is useful. I shall do it.
S2E does not work with Jelly Bean anyway

I shall try 4ext recovery.

Thanks once again.
I will update this for future reference of someone like me

gagbel
13th August 2013, 11:05 AM |#4  
eddiehk6's Avatar
Senior Member
Flag London
Thanks Meter: 671
 
More
Quote:
Originally Posted by gagbel

ROM manager - I can uninstall it.

I tried S-Off using Revolutionary but it somehow did not let me pass with the Beta key (invalid key)
I will try again.

Yes, uninstall ROM manager. It's not all bad, just very bad with this phone, you don't need it.

As for the BETA key, just make sure you type it exactly, or copy / paste (but make sure you don't copy any leading or trailing spaces). Most likely you confused an i or 1 or L or O or 0 somewhere.
The Following User Says Thank You to eddiehk6 For This Useful Post: [ View ] Gift eddiehk6 Ad-Free
14th August 2013, 07:25 AM |#5  
gagbel's Avatar
OP Junior Member
Thanks Meter: 0
 
More
Update
Dear Eddiehk6

Thanks for the response.
I successfully S-OFF
You were right I mistook 1 l and I characters while using Revolutionary beta key. Also, I was wrong in putting IMEI number instead of the Serial number. Funny enough SN comes in the black window of Revolutionary.
I also installed 4EXT recovery as I became S-OFF.
Partitioned as per the tutorial in this forum.
Flashed CM10.1 VJ version as per the instructions.

A2SD Termminal emulator again had problems with mounting of SD EXT !

I used Mount2SD
Init.d script was not installed - when I installed it, moved the apps, they disappeared. I could not find the Play services also !

Memory was still consumed. Apps were there but not seen.

I finally gave up at early hours of the morning and went back to CM7 reluctantly.

The log from S2E has a clue. I just don't know how to use that clue.

Have a look above at the orange log of S2E if you can and see if you understand please.

My search tells me that I should have some adb shell knowledge to solve it and I don't !

I am ok with old ROM. Help me if you can to make my Desire live longer.

gagbel
14th August 2013, 11:28 AM |#6  
eddiehk6's Avatar
Senior Member
Flag London
Thanks Meter: 671
 
More
Quote:
Originally Posted by gagbel

Dear Eddiehk6

Thanks for the response.
I successfully S-OFF
You were right I mistook 1 l and I characters while using Revolutionary beta key. Also, I was wrong in putting IMEI number instead of the Serial number. Funny enough SN comes in the black window of Revolutionary.
I also installed 4EXT recovery as I became S-OFF.
Partitioned as per the tutorial in this forum.
Flashed CM10.1 VJ version as per the instructions.

A2SD Termminal emulator again had problems with mounting of SD EXT !

I used Mount2SD
Init.d script was not installed - when I installed it, moved the apps, they disappeared. I could not find the Play services also !

Memory was still consumed. Apps were there but not seen.

I finally gave up at early hours of the morning and went back to CM7 reluctantly.

The log from S2E has a clue. I just don't know how to use that clue.

Have a look above at the orange log of S2E if you can and see if you understand please.

My search tells me that I should have some adb shell knowledge to solve it and I don't !

At least you're s-off now which is good

So how did you partition your sd card? I know you have 4EXT and it's easy to partition with that, but I would personally stick to gparted in this instance as you need to start from scratch, also you've used it before anyway?

Make sure you backup the sd card, then delete all partitions first (don't resize). Then make one FAT32 partition, and one (~1.5GB) ext4 partition, no swap.

Within 4EXT recovery there should be an option to check the partitions are aligned, do this (they should be if properly done in gparted, but worth a check)

Full wipe again, reflash rom just to be sure.

Try getting the terminal emulator commands working first, follow all instructions exactly. Don't use another app or script for now, start clean and get it working.

If you still get the error, /dev/block/mmcblk0p2 error, I think this may be related to a usb brick, not absolutely sure, there is 'USB unbrick' option within 4EXT as well, try that.

Quote:

I am ok with old ROM. Help me if you can to make my Desire live longer.

gagbel

CM7 is still fine, just because it's 'old' doesn't make it bad, the Desire can still live long. Now that you're s-off you can even change hboot with that ROM and get more internal memory if you like, even more space for apps

I'm still on a GB ROM myself nothing wrong with it. Stable, battery is fine for me. Regardless you should still be able to get A2SD working.
14th August 2013, 04:33 PM |#7  
gagbel's Avatar
OP Junior Member
Thanks Meter: 0
 
More
Update
Thanks Eddiehk6

I would try all that you told me.
I had used 4ext recovery as I was exited with the S-OFF and Change of recovery status of my phone.
I would try and do clean start again and see.

The link I was mentioning which involves adb shell knowledge is the message #4 in this link http://forum.xda-developers.com/showthread.php?t=848967

recurrent theme is e2fsck. I don't know how to use these codes: Terminal emulator / adb shell ? But I would try your method as I can do them.

I would also check alignment through the recovery.

Mildwild download link is broken. I would try for JB first and then if no luck, I would try GB. Its just that in my nexus7, I am used to JB.

CM7 is most stable I have seen ( i have used only one ROM so far I am quite happy with it too.

Thanks for all the support.

gagbel
14th August 2013, 04:42 PM |#8  
gagbel's Avatar
OP Junior Member
Thanks Meter: 0
 
More
Another useful link
Another useful link which I don't know how to use as I don't have adb shell knowledge.
http://forum.cyanogenmod.com/topic/6...ge/#entry56396
26th August 2013, 10:41 PM |#9  
gagbel's Avatar
OP Junior Member
Thanks Meter: 0
 
More
Solved
Problem was with mounting ext 4 of my card
S2e could mount it
But s2e was not compatible with 10.1 of cyanogenmod
Hence I put 10 version
Used s2e to mount
It did not move apps
Used terminal emulator as per instructions by vj
All worked thanks all of you
Sent from my HTC Desire using xda app-developers app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes