Matthias Mobil Tech Weblog

Android – G1 – Moto Q – Polar

G1: Rebuild – New SD Card and Cyanogen 4.1.999

with 2 comments

After all that playing around and knowing that I have a slow SD card in my G1, I decided for a “dramatically” rebuild of my device. Goal:

  1. New SD card, 16GB Class 6
  2. Configure with EXT4 and Linux Swap
  3. Fresh and clean install of ROM

1)  New SD card, 16GB Class 6 Partitioning

I did backup all partitions from my current card, including EXT3. Now insert new Card into G1 and boot into Recovery Mode. Now you can partition your SD, im my case a Class 6 16GB Card:

parted /dev/block/mmcblk0
print >> you should see only 1 partition, a FAT32 partition.  Now

rm 1 >> delete partition

mkpartfs primary fat32 0 15000 >> create 15 GB FAT32
mkpartfs primary ext2 15000 15500 >> create 500MB ext 2
mkpartfs primary linux-swap 15500 15564 >> create 64MB linux swap

quit

upgrade_fs >> ext2 -> ext 3

tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -fpDC0 /dev/block/mmcblk0p2
>> upgrate ext3 -> ext 4

reboot

2) Fresh and clean install of ROM

Take the new SD out of the G1 and copy backup-ed stuff from old SD onto FAT32 partition, also put into SR root the Cyanogen 4.1.999. Reboot with the new SD card your G1 into recovery, WIPE (for clean install) and install ROM zip. Reboot and you have a smooth running clean G1.

3) Restore application

I used the ADB INSTALL to install all apps from backup-ed EXT onto the radio. Done, cool, smooth.

BTW: The process took about 1 hour from start to finish.

Matthias

Written by Matthias

9. October 2009 at 10:48

2 Responses

Subscribe to comments with RSS.

  1. Thanks for sharing these nice tips here. I have a SD card and this information will be useful to me. It is nice to post here. I enjoyed this blog.

    carte sd

    12. October 2009 at 07:29

  2. [...] 3) SD Card Partition [...]


Leave a Reply