resize /webtop partition? - Motorola Droid RAZR

I love flashing roms with bootmenu, but I quickly run out of room on the 2nd system 1.3 GB just isn't enough
So now I'm switching between bootstrap and safestrap, but it is time consuming to change between the unsafe/safe system
so i wonder
Is it possible to resize the webtop partition (increase size of /webtop and reduce size of /sdcard) or does the locked bootloader or anything else **** this up?
Didn't want to experiment with the partitions without knowing, i have no time for bricks.

Related

[Q] [Req] Resize partitions system data osh

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.
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.
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.
that might be rather dangerous doings resulting in unworkable touchscreen etc, since for seom reason repartitioning the internal nand ****s up /pds . several people had great problems by doing so.
Moved to proper forum.
crnkoj said:
that might be rather dangerous doings resulting in unworkable touchscreen etc, since for seom reason repartitioning the internal nand ****s up /pds . several people had great problems by doing so.
Click to expand...
Click to collapse
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.
/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
xuefer said:
/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
Click to expand...
Click to collapse
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

Resizing Nand Partitions

Well, for those who were wondering (since fastboot resizing is not implemented yet), the procedures to resize your internal partitions are the exact same as HTC Dream with customMTD..
Just follow directions from the original idea/poster (Firerat and lbcoder): http://forum.xda-developers.com/showthread.php?t=717874
I have tested it on my rhod400 and it works, just be sure that you have the correct sizes.. if it is too large, you will be wasting valuable internal space that could be used for /data, and too small, your phone won't boot..
There is practically no chance of bricking your phone as you can always do a task29 and re-flash LK and recovery and as a final note, remember keep /cache greater than 30 mb so corruption will be last likely..

[Q] Is it possible to resize the webtop partiton?

Is it possible to resize the webtop partition? (increase the size of /webtop and reduce the size of /sdcard)
I love flashing roms with bootmenu.
I usually keep my main rom on the webtop partition and run test roms in the 1st (normal) system, mostly to avoid the 2nd system file editing but also to keep my main system safe if I have to sbf flash.
But I quickly run out of space on the 2nd system. 1.3 GB sadly isn't enough for all my android goodies.

No system & vendor partitions in custom recoveries.

TWRP, Pitchblack, OrangeFox, whatever recovery I try, I always end up with this Super partition. And I can't see how much size it is. It's just sitting 8192MB by default.
Aren't there any recoveries that show partitions normally like system, vendor separately, with actual sizes filled ?
MPK99 said:
TWRP, Pitchblack, OrangeFox, whatever recovery I try, I always end up with this Super partition. And I can't see how much size it is. It's just sitting 8192MB by default.
Aren't there any recoveries that show partitions normally like system, vendor separately, with actual sizes filled ?
Click to expand...
Click to collapse
That's because there are no dedicated partitions for system, vendor, and product. They are all located inside one partition called "super". Think of it as one big partition that houses other smaller partitions. The size of the individual partitions is variable hence you'll only be able to see the size of the super partition.
The size of the super partition is fixed and cannot be resized after a rom is installed. The super partition was created to eliminate the need for vendors to allocate specific sizes for sub partitions. Before the super partition, each partition had to be allocated a specific size and any free memory left after writing data to it could not be used when other partitions required more space. This free space was therefore wasted.
In the super partition, the sub partitions can be the exact size of the files contained within them. Any free space is left inside the super partition and can therefore be used by other sub partitions if they need it.
Unfortunately, the biggest setback for developers is that they cannot modify the contents of sub partitions once they're made read only (usually on the first boot after installing a new rom). People who try to modify these partitions often get into boot loops forcing them to reinstall the stock rom.
twistyplain said:
That's because there are no dedicated partitions for system, vendor, and product. They are all located inside one partition called "super". Think of it as one big partition that houses other smaller partitions. The size of the individual partitions is variable hence you'll only be able to see the size of the super partition.
The size of the super partition is fixed and cannot be resized after a rom is installed. The super partition was created to eliminate the need for vendors to allocate specific sizes for sub partitions. Before the super partition, each partition had to be allocated a specific size and any free memory left after writing data to it could not be used when other partitions required more space. This free space was therefore wasted.
In the super partition, the sub partitions can be the exact size of the files contained within them. Any free space is left inside the super partition and can therefore be used by other sub partitions if they need it.
Unfortunately, the biggest setback for developers is that they cannot modify the contents of sub partitions once they're made read only (usually on the first boot after installing a new rom). People who try to modify these partitions often get into boot loops forcing them to reinstall the stock rom.
Click to expand...
Click to collapse
Understood. But can we access /system & /vendor folders & modify files in it through root explorer.
So you're saying there's no way to remove system bloatware & unwanted apps ?
twistyplain said:
That's because there are no dedicated partitions for system, vendor, and product. They are all located inside one partition called "super". Think of it as one big partition that houses other smaller partitions. The size of the individual partitions is variable hence you'll only be able to see the size of the super partition.
The size of the super partition is fixed and cannot be resized after a rom is installed. The super partition was created to eliminate the need for vendors to allocate specific sizes for sub partitions. Before the super partition, each partition had to be allocated a specific size and any free memory left after writing data to it could not be used when other partitions required more space. This free space was therefore wasted.
In the super partition, the sub partitions can be the exact size of the files contained within them. Any free space is left inside the super partition and can therefore be used by other sub partitions if they need it.
Unfortunately, the biggest setback for developers is that they cannot modify the contents of sub partitions once they're made read only (usually on the first boot after installing a new rom). People who try to modify these partitions often get into boot loops forcing them to reinstall the stock rom.
Click to expand...
Click to collapse
Thx for explanation bro. Currently I have this issue. Can you take a look into this thread below & answer there ?
Unable to decrypt FBE device
Plz anybody help this out... I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery. Initially console shows decrypted FBE device with default password. But Encryption status : Encryped So I went into wipe...
forum.xda-developers.com
MPK99 said:
Understood. But can we access /system & /vendor folders & modify files in it through root explorer.
So you're saying there's no way to remove system bloatware & unwanted apps ?
Click to expand...
Click to collapse
In some custom miui roms like miui eu it is possible without causing a bootloop. Sometimes a bootloop will occur because of the root explorer you use. However, of you're still on stock rom you'll very likely end up in a bootloop. AOSP roms don't have this weaknesses but they're not as stable as miui.
I recommend installing a debloated rom like MiuiMix or miui eu. Then get help from the support forums to find out how to get into system without killing the rom.
Everytime I tried to flash a ROM without wiping system (bc I can't) I got error 7. So I had to do a format data and I lost all of my stuff. Is there any way of wiping system so I don't have to do a format data?
Piusak said:
Everytime I tried to flash a ROM without wiping system (bc I can't) I got error 7. So I had to do a format data and I lost all of my stuff. Is there any way of wiping system so I don't have to do a format data?
Click to expand...
Click to collapse
Once after booting up any rom, check whether the device is encrypted or not. (Security > Encryption)
If it is, then offcourse, in recovery you had to wipe everything if you wanna flash a new rom. This device has dynamic partition update, that merges all OS partitions (system, vendor, product) & encrypts data partition if it's decrypted.
Ofcourse you also can't able to modify partitions while encrypted, caz you'll end up into errors.

Twerp Creates partition too small leaving only 27mb of space for Gapps. How to add space to system partition?

I've been trying to follow the tutorials on resizing the partition but it seems like even after I do advance wipe and resize, the amount of free space on the system partition does not change. I take it that there is no free space to give and some other portion of the partition (like the data partition) should be shrunk before system partition can get the extra space.
I have no idea how Samsung managed to fit their OS AND all the google apps in the 560mb. Deleting any apps from the stock installed android only removes it from the data partition. System stays the same.
How can I resize the system partition properly to add more space?

Categories

Resources