[Q] [Req] Resize partitions system data osh

joeavery2

Senior Member
Nov 9, 2007
346
54
0
http://forum.xda-developers.com/showthread.php?t=717874 original G1
http://forum.xda-developers.com/showthread.php?t=855424 Reused on EVO

I'm wondering if someone smarter then I can Figure out how to mod the script for the Atrix since we have a unlocked bootloader now.

I notice it is for S-OFF phones, but I'm thinking that this doesn't matter on our phone since we are able to flash radio's ect.

The way I see it we have two main groups of Atrix users, those that want to take space from /sdcard and use it in /osh and those that don't care about /osh and would use the increase space in /sdcard

Mods, sorry if this is the wrong section but It is a development question, I though would be best here.
 
Last edited:

joeavery2

Senior Member
Nov 9, 2007
346
54
0
So reading into these it seems that there are two zips/scripts. The first setups the recovery, you then reboot into recovery flash your android back on then run the second script which tells the kernel what to use for partition sizes.
If you want to go back to stock you reflash the recovery image.

The ATRIX has a very different partition table then evo, hero or g1. So well need someone who understands it better then I to look at the scripts.
 

joeavery2

Senior Member
Nov 9, 2007
346
54
0
http://forum.xda-developers.com/showpost.php?p=13971291&postcount=110

Here is more info, this is for the nook color, but it looks as though we could re-partition the internal memory as we desire. The risk is huge. Also I believe that CWM will re-write the partition table when doing wipes. I don't know the way all of this functions well enough to make the jump and make the /osh 2 or 4gb but that is what I'm looking into.
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
that might be rather dangerous doings resulting in unworkable touchscreen etc, since for seom reason repartitioning the internal nand fucks up /pds . several people had great problems by doing so.
 

joeavery2

Senior Member
Nov 9, 2007
346
54
0
that might be rather dangerous doings resulting in unworkable touchscreen etc, since for seom reason repartitioning the internal nand fucks up /pds . several people had great problems by doing so.
I did read that, but it seemed that it was before it was known that we need to back up the pds partition. But of course we should have images of all the partitions before doing something like this. It sounded relativity safe according to those threads. The partition table has to be written every time you flash and ClockWorkMod apparently will correct the partitions to factory settings if things get messed up.
But then this is why I posted the question, I don't know enough about how clockwork mod works nor how moving the pds partition would effect things.
Again if we can figure this out we can get enough room on /osh so that sogarths hack is not needed (it is redundant and sort of a waste of space (not bashing, it is the best option currently avaiable) to copy the /osh part to a new spot on the sdcard then link everything back in). For those not interested in webtop we can get them more system or sdcard space.
 

xuefer

Senior Member
Feb 22, 2013
165
244
0
Shenzhen
github.com
/system 315M 301.9M 13.1M 4096
/data 2G 895.9M 1.1G 4096
/cache 619.8M 87.8M 532M 2048
/osh 755.8M 643.1M 112.6M 2048

315M is too small for cm10 to install extra mods like sony walkman. i wonder if someone can resize it
 

AeroMiku

Member
Feb 1, 2013
30
16
0
Kuala Lumpur
/system 315M 301.9M 13.1M 4096
/data 2G 895.9M 1.1G 4096
/cache 619.8M 87.8M 532M 2048
/osh 755.8M 643.1M 112.6M 2048

315M is too small for cm10 to install extra mods like sony walkman. i wonder if someone can resize it
I agree with you. For those don't using lapdock, /osh partition really waste of memory but resize partition could brick the device.
here another tool to resize partition.
http://forum.xda-developers.com/showthread.php?t=1171531
http://forum.xda-developers.com/showthread.php?t=1370963