Quantcast
Channel: xda-developers - Galaxy S II Android Development
Viewing all articles
Browse latest Browse all 397

[MOD][GUIDE][CUSTOM]Increase system partition size

$
0
0
Increasing system partition size

Since there is no official thread for increasing the system partition size (not data partition size as there is one already), I've decided to make a thread. :)

Disclaimer:

Quote:

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
This process will wipe all of your data off your phone. This includes all of your apps, system storage and internal sd card. It doesn't wipe your external sd card. Make sure to backup all of your apps and data to the cloud or onto a computer

Make a backup!! Why am I saying this again? Because there is always a few careless people who do this process and complain how they lost all of their data.

If you try to use the modified system partition with stock rom, your rom will not boot! You must revert to stock system partition sizes first than install stock rom!

What you need:
- A kernel in .tar format. I recommend apolo kernel or gustavo kernel as they don't suffer the formatting problem that dorimanx kernel does.
- System pit files (Provided in the attachments)
- A PC (preferably Windows, don't know if this works on linux and OS X)
- A archiving/compression utility such as 7-zip or winrar. I recommend 7-zip because it is for free and it is open source.
- ODIN (to flash the kernel of course)

Instuctions
  1. Make a nandroid backup onto your external sd card or PC (VERY IMPORTANT!!! All backups in internal sd card will be deleted so move them!)
  2. Download the system pit files (attached in OP)
  3. Extract the zip file
  4. Open ODIN
  5. Connect your phone to your PC via USB while in download mode (make sure your phone is detected on ODIN)
  6. Click on the PIT button and locate your desired pit file
  7. Click on PDA or AP and select you kernel .tar file (look at this thread if you don't have one: http://forum.xda-developers.com/gala...o-tar-t2994381)
  8. Make sure that re-partition has been ticked then click start
  9. While your phone reboots, you need to perform the button combination to get into recovery (home button + power button + volume up)
  10. While still in recovery, connect your phone to your PC and your PC should detect your phone. It should prompt you that the storage isn't ready yet and you need to format.
  11. Click format
  12. You can leave all of the settings to default, I personally like to change the allocation size to 4KB (4KB is good if you want to make the most out of your phone's storage while having enough speed)
  13. Click format.
  14. Go back to your phone. You can choose to restore your backup or install a new rom. (Note: DorimanX kernel recoveries can not format /data partition more than 2gb, use an alternative first when restoring a backup then flash back if needed)
  15. In mounts and storage, choose format /data, /cache, /datadata and /system (Note: DorimanX kernel recoveries can not format /data partition more than 2gb, use an alternative first then flash back if needed)
  16. Now you can flash a ROM as you normally would

Huge thanks to ElGamal for providing the modified pit files and metalgearhathaway for providing the stock pit file.

Quote:

There are two with 515MB system partition, one with 6GB and the other with 8GB data partition.
And there are three with 1GB system partition, one with 3GB, other with 4GB and the last with 6GB data partition.
I've included the stock pit file in the attachments too.
The rest of the memory is for internal SD.

I've also included ODIN and Samsung drivers in the attachments


Viewing all articles
Browse latest Browse all 397

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>