[Q] Question regarding 2708+ and hboot 1.33.0013d

Mar 28, 2011
34
1
0
Noob here, I was not allowed to post on the development forum so I had to put this here:

I recently managed to flash the ported CM6.1 with 2708+ kernel following this thread http://forum.xda-developers.com/showthread.php?p=9055790#post9055790 and this http://forum.cyanogenmod.com/topic/11548-cm61-2708port-for-new-radiospl/

Everything works atm and no FC's etc.

However, i really want to modify my MTDPartitions so i can make the CACHE really small and get more space for storing apps on the phone. I have read http://forum.xda-developers.com/showthread.php?t=893706 guide and have used firerat's mtdpartitioner before i moved to hboot-1.33.0013d.

my problem is, hboot-1.33.0013d has s-on and does that mean I cant repartition my G1 for extra space?
Is it possible to keep the 2708+ kernel with a different SPL so i get the extra ram(from the kernel) AND the extra space(from repartitioning)?? Can you point me in the right direction?

I know basic adb and fastboot commands if they are required.

Thanks for reading :)
 

AndDiSa

Senior Member
Dec 2, 2009
3,409
4,447
263
Heidelberg
Noob here, I was not allowed to post on the development forum so I had to put this here:

I recently managed to flash the ported CM6.1 with 2708+ kernel following this thread http://forum.xda-developers.com/showthread.php?p=9055790#post9055790 and this http://forum.cyanogenmod.com/topic/11548-cm61-2708port-for-new-radiospl/

Everything works atm and no FC's etc.

However, i really want to modify my MTDPartitions so i can make the CACHE really small and get more space for storing apps on the phone. I have read http://forum.xda-developers.com/showthread.php?t=893706 guide and have used firerat's mtdpartitioner before i moved to hboot-1.33.0013d.

my problem is, hboot-1.33.0013d has s-on and does that mean I cant repartition my G1 for extra space?
Is it possible to keep the 2708+ kernel with a different SPL so i get the extra ram(from the kernel) AND the extra space(from repartitioning)?? Can you point me in the right direction?

I know basic adb and fastboot commands if they are required.

Thanks for reading :)
There is no problem in using CustomMTD and 1.33.0013d in parallel. (As you can see in my signature, I am running the same configuration)
With CustomMTD you have to pass the partition layout to the kernel (that's the reason why you have to patch recovery- and boot- kernel separately), but it's completely independent of the hboot you have installed. Follow the instructions of Firerat's CustomMTD thread (the link you can find in my signature, too) and you are fine, s-on /s-off has no influence on it.
 
  • Like
Reactions: FlyingShrapnel
Mar 28, 2011
34
1
0
Thanks, just one more thing from me.

Is there a way of either using adb or terminal on the phone to view how much space is used on each partition. Like how Firerat has done here http://forum.xda-developers.com/showthread.php?t=717874

That would be very helpful because I am trying to slim down the SYSTEM partition while I am at it, to get maximum space out of the phone :D

EDIT: What size would you recommend that i allocate each partition and how much free space on the SYSTEM partition should I leave? does it matter?
 
Last edited:

AndDiSa

Senior Member
Dec 2, 2009
3,409
4,447
263
Heidelberg
Thanks, just one more thing from me.

Is there a way of either using adb or terminal on the phone to view how much space is used on each partition. Like how Firerat has done here http://forum.xda-developers.com/showthread.php?t=717874

That would be very helpful because I am trying to slim down the SYSTEM partition while I am at it, to get maximum space out of the phone :D
try
Code:
adb shell df -h
or go into terminal on your phone and use
Code:
df -h
so for each mounted partition you can see, how big it is, how much space is allocated and how much space is still free
EDIT: What size would you recommend that i allocate each partition and how much free space on the SYSTEM partition should I leave? does it matter?
Depends much on the ROM you would like to install. I am running 90/2, i.e. 90MB for /system, 2MB for /cache and about 117 MB for /data. CM 6.0/6.1 need less space on /system, others (especially sense-ROMs) probably more.
 
Mar 28, 2011
34
1
0
Just tried removing necessary native apps, failed cos it broke facebook... couldnt be bothered with it because it only saved like ~4MB

followed the instructions and using 90/2.

somehow, i broke gapps, none of the google stock apps are working, should i reflash gapps or is it more complicated than that? will i need to start all over again? :(
 
Mar 28, 2011
34
1
0
I did take a nandroid back up, i removed:

Email.apk
HtcCopyright.apk
LatinIME.apk
LiveWallpaperPicker.apk
PicoTts.apk
Protips.apk
UserDictionaryProvider.apk
VoiceDialer.apk
VpnServices.apk

I have already tried restoring through nandroid, then wiping data/cache through factory reset then restoring. No luck :(

reflashing all over again :mad:

EDIT: reflashed worked until I rebooted, then it is stuck on the G1 splash screen. I can still get into recovery... any ideas? I guess I will just stay off mtd for now *sigh*
 
Last edited:

AndDiSa

Senior Member
Dec 2, 2009
3,409
4,447
263
Heidelberg
Did you do the nandroid before or after patching the kernel? If you took it before, you have to repatch, otherwise the partition layout doesn't match.
Another hint: do a

fastboot erase system -w

First, then go to recovery and restore your backup. After restoring you probably need to reflash the FR_boot_xxx.zip, depends when you took the backup, i.e. whether the kernel was already adapted to cMTD or not.

Sent from my Gingerbread on Dream using XDA App
 
Mar 28, 2011
34
1
0
I did the nandroid before i did the mtd. I am trying the flashboot now :(

EDIT: tried it, used 2 different nandroid back ups. both times i ended up with gapps FC-ing all the time and no phone app.

EDIT2: nvm, I just reflashed from scratch, it all works fine now. I just wont touch mtd and stuff for now.

case closed. Thanks for the help :)
 
Last edited: