Thanks a lot FuFu for your guidance.I will let you know the result.In the meanwhile I am waiting for the digitizer cable from US for my phone in India for replacement.Only after getting it I will be able perform the installation.So sorry for the delay possible in the feedback.Once again thanking you,vulnerable recovery will be untouched, you just must delete existing OpenRecovery folder and update.zip and copy the extracted files from minimod.zip to your sdcard...
thats all
I didn't create any other EXT on my microSD card. It's just in fat32 fs. Is it necessary to do so?
The first partition must be ext for app2ext. If you need it to be fat - and I don't get why you should - you'll have to use link2sd+, that is another application not already included in CM roms nor miui.
Sent from my Milestone using XDA
First of all - what's the size of your SD card?
I think the size of the partitions is given in sectors, so 0-7000-7900 would mean 7GB FAT and 1GB EXT
You mentioned 15000 - so I suppose you have a 16GB card?
The sectors in the script should mean 15GB FAT and 1GB EXT (0-15000-15900)
You would have to change the 15000 value in both commands - or otherwise the partitions would be overlapping - parted won't allow that.
So try inserting this into the script:
echo "create partition..."
echo "creating fat32-partition on card 0. This may take a while..."
/sbin/parted -s /dev/block/mmcblk0 mkpartfs primary fat32 0 15400
echo "creating ext2-partition on card 0. This may take a while..."
/sbin/parted -s /dev/block/mmcblk0 mkpartfs primary ext2 15400 15900
first, if you use a Windows PC, please use notepad++ to edit the file...
if you want to edit the size of the ext partitio for a 16gb sdcard, you just must insert what "Eiertschik" just post befor...
file is /bin/a2ext.sh
edit line 57 to: /sbin/parted -s /dev/block/mmcblk0 mkpartfs primary fat32 0 15400
and line 59 to: /sbin/parted -s /dev/block/mmcblk0 mkpartfs primary ext2 15400 15900
then save the file and boot to OR
if there still some problem, please formate your sdcard (over the android setting menu) and try again...
what exactly is the problem? dit it not create any partiotion or just in wrong size?
other way, open the OR console and type in:
/sbin/parted -s /dev/block/mmcblk0 print
check the size of your card...
my 16gb card shows:
Disk ... 16,2GB
sector size 512B/512B
1 512B 15.0GB 15.0GB primary fat32 lba
2 15.0GB 15.2GB 1200MB primary ext2
may if the creation fails again, edit line 57 from a2ext.sh to:
/sbin/parted -s /dev/block/mmcblk0 mkpartfs primary fat32 1 15400
@MotoMileCm7
what exact is the problem by perform a nandroid backup? where it stucks?
may check your card if there bad sectors (windows checking tool) or backup your sdcard and format it (use android settings menu)...
some times it also stucks when sdcard have less then 1GB space left
Not true. First partition must be fat32 and is used as storage for camera, some apps use it for data like settings and as download location.
Second partition can be ext3 /ext4.