[Hero, G2 Touch Android Development] leshii:
Well I have had great success with this mod now have rooted hero with apps2sd.

Was trying to do the apps to sd myself but thought hey why re-invent the wheel and risk bricking my new phone.:(

Fortunately I am quite familiar with linux so I was able to repartition my sd card and format a partiton with ext3 so apps2sd worked great but maybe not to my preference, I have seen another implementation that uses unionfs which I am going to try and implement on the patch (probably wont work but what the hell I got this far:D).

On the subject for re-partitioning the sdcard I'm sure I saw somewhere the cm-hero-recovery.img has partitioning tools on it I will check this out and post back.:cool:

Please read whole post before doing anything!!

OK looks like the tools are there but not accessible via the menu as I had thought.

The process is a follows (please ensure you have backed up all data on your SDcard before attempting this I have not tried this on a live sdcard only an extra one I had laying around, no warranties express or implied with this info) although if you follow the instructions to the letter you should not do any damage to you phone please ensure you have a nandroid backup as well!!:

I will assume that you know how to boot from the cm-hero-recovery.img if not go back to here and perform steps 1 - 5view the existing

1. Perform steps 1 -5 as above, you should now be in the CyanogenMod v1.4 + JF recovery screen.

2. From the same cmd window you used to run "fastboot boot cm-herotye-recovery.img" you should now type "adb shell" and hit enter. this will take you to a # prompt.

c:\android-sdk-windows-1.5_r3\tools>adb shell
/ #

3. now type "parted /dev/block/mmcblk0" and hit enter.

/ # parted /dev/block/mmcblk0
parted /dev/block/mmcblk0
GNU Parted 1.8.8.1.179-aef3
Using /dev/block/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted)

4. type "p" and hit enter to view the existing partitions on the sdcard, there should only be 1 if ther are more please do not continue and seak further advice.

(parted) p
p
p
Model: SD SD4GB (sd/mmc)
Disk /dev/block/mmcblk0: 4115MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 66.0kB 3603MB 3603MB primary fat32 boot, lba

(parted)

5. type "resize" and hit enter

6 you will be asked to enter the partition number you should enter the number given in the previous command.

(parted) resize
resize
resize
Partition number?

7. you will the be asked start? accept the default by pressing enter.

Partition number? 1
1
1
Start? [66.0kB]?

8. you will then be asked for end, the suggested end will be the current size of the partition. you should subtract from this size the size you want the ext2 partition to be and enter this value. (in my case it says 4115MB so I subtracted 512 and entered 3603 (your ext2 partition sould not be greater than 1.5GB)) then hit enter.

End? [4115MB]? 3036

9. there may be some warning messages as I had some (it may just be that the fs on my sdcard is broken) if you do get some dont worry as you backed up you files earlier on if you have followed these instructions correctly

10. now type "p free" this will give you the start and end of the new partition you are about to create. (eg something like this

(parted) p free
p free
p free
Model: SD SD4GB (sd/mmc)
Disk /dev/block/mmcblk0: 4115MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
32.3kB 66.0kB 33.8kB Free Space
1 66.0kB 3603MB 3603MB primary fat32 boot, lba
3603MB 4113MB 510MB Free Space

the start and end points we need to use are the ones the come after number 1, in this case 3603 (start) 4113 (end).

11. now type "mkpartfs" and press enter

12. type "p" and press enter

13. press enter again to accept the default of ext2

14. now enter the start size we recorded in step 10 and press enter

15. enter the end size we recorded in step 10.

16. the partition will then be defined and the filesystem created. this may take a few minutes.

17. once completed type "quit" and hit enter

once this has completed you should have a working fat filesystem in the first partition of you sdcard and a working ext2 filesystem in the second partition of your sdcard. you can then continue with step 6 for the previously mentioned modaco post or just type reboot if you have already done that step.

if this process has lost any data from your sdcard you should be able to copy this back from your backup that you created before you started.

again please do not try this unless you have a backup of your sdcard and a nandroid backup!!!