• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Repartition Internal memory

Tried this and it bootlooped my phone :(
Did you use the correct steps, which I posted earlier(adb fastboot, philz recovery steps). If it still does not work, you either missed some step or it would be something to do with the new Android 5.1. Full selinux support is only available in twrp and not in philz. So maybe try downgrading to a Android 5.0 ROM, philz recovery and then flash this script and upgrade back to 5.1 ROM. Remember when upgrading back to 5.1 flash the new twrp from fastboot (fastboot erase recovery then fastboot flash recovery recovery.img)for full selinux support Cheers hope this helps.
 
I have tried to make it work, with no succes.... maybe it is my fault, and I did something wrong....
It is possible to do it from inside the linux, I mean, if I connect the phone to pc, I can see all the partitions, I can format them any way I want, delete them....
Just a noob talking :), do not be angry at me
 
Hi Guys,
i've a d320n with twrp 2.8.6.0 and Nameless 5.1. Have i to change recovery (with philz) and rom (with CM12) necessarily to make a repartition?
 
Hi,
You can use twrp, I did not change it to Philz, but be careful that when your phone reboot for the first time you will not be able to mount data and cache. For that go to wipe, choose format data, check data and choose ext4 to format, then repeat procedure for cache. That way you can mount data and cache; after that I did a recovery reboot, and then proceed with normal install.
 
Thank you ltmpx, i tried but surely did some mistakes...

i wasn't able to follow step 2 because i found something different in device manager... something like "samsung android phone" "android ADB interface" "Android ADB Interface version 11.0.0.0" i choose this...and i don't know if is correct...
So i rebooted in twrp and i've tried to launch the script made by @Kamil Mazik but the prompt said that i have to confirm on the phone...but i don't know how O.o
So i rebooted my phone and all seems to run, but obviously i didn't make a repartition...
 
Am I the only one who can't install gapps larger than nano after repartitioning with the full gapps option, even mini refuses to flash?
 
Am I the only one who can't install gapps larger than nano after repartitioning with the full gapps option, even mini refuses to flash?
Yup, that normal. You have other repartition option somewhere in this thread which resizes /system to be 1GB instead of 500 and something.
 
Am I the only one who can't install gapps larger than nano after repartitioning with the full gapps option, even mini refuses to flash?
I execute all the commands from script manually, and I change the size of partitions, to fit to my desire, and it works, I also ran the script and it was all ok. Try to change the size of partitions to your needs.
Just a noob opinion :)
 
Yup, that normal. You have other repartition option somewhere in this thread which resizes /system to be 1GB instead of 500 and something.
I did use the 1GB option, and funny enough I can't flash full Gapps even on stock partition options.
 
I execute all the commands from script manually, and I change the size of partitions, to fit to my desire, and it works, I also ran the script and it was all ok. Try to change the size of partitions to your needs.
Just a noob opinion :)
And how would a noob like me go about doing that?
EDIT:This is my system partition after I flash cm12.1 and gapps 5.1 nano, repartitioned with full gapps option on the LG repartition script v0.0.3.
CUvbxkb.png
 
Last edited:
And how would a noob like me go about doing that?
You can open for example the file d320lolipopreparted.cmd with notepad, or a text editor of your choice, and modify the line with "/dev/block/mmcblk0 mkpart primary ext4 394 1004" into "/dev/block/mmcblk0 mkpart primary ext4 394 1418", without the quotes, you will have a partition of 1 GB ( 1024 bit); just keep within the range of 394 and 3873
Hope I helped :)

edit if you want, give me the size of the partitions and I will give you the data to modify
 
Last edited:
You can open for example the file d320lolipopreparted.cmd with notepad, or a text editor of your choice, and modify the line with "/dev/block/mmcblk0 mkpart primary ext4 394 1004" into "/dev/block/mmcblk0 mkpart primary ext4 394 1 1418", without the quotes, you will have a partition of 1 GB ( 1024 bit); just keep within the range of 394 and 3873
Hope I helped :)

edit if you want, give me the size of the partitions and I will give you the data to modify
Thanks, I will try on my own once I make a backup.
 
You can open for example the file d320lolipopreparted.cmd with notepad, or a text editor of your choice, and modify the line with "/dev/block/mmcblk0 mkpart primary ext4 394 1004" into "/dev/block/mmcblk0 mkpart primary ext4 394 1418", without the quotes, you will have a partition of 1 GB ( 1024 bit); just keep within the range of 394 and 3873
Hope I helped :)

edit if you want, give me the size of the partitions and I will give you the data to modify
OK so I tried multiple partition options but I never have enough space to flash full gapps (only left with 150-200MB after flashing ROM). I came to the conclusion that either I am not wiping system partition correctly or that the system partition gets filled after I flash the custom ROM.
EDIT:As a sidenote is it possible to check for partition space in recovery?
 
OK so I tried multiple partition options but I never have enough space to flash full gapps (only left with 150-200MB after flashing ROM). I came to the conclusion that either I am not wiping system partition correctly or that the system partition gets filled after I flash the custom ROM.
EDIT:As a sidenote is it possible to check for partition space in recovery?
Even if (lets say that) you did not wipe the partitions correctly, it does not matter, because the partitions are removed and after that re-created, so it is strange...
Maybe someone with a more knowledge can help you...
I just notice this:
- I have used for /system the size that was in script, I only change the value for the /cache and /data
- after your post from yesterday, I did change also the /system size ( increased to 610 M), and I notice that I have the same free space in /system, as per the original script
So, after increasing the /system, the free space remains the same. So, I think there must be some some tmpfs files ? or swap?
 
Last edited:
I just wiped and flashed nameless 5.1. I have this space, is the stock partition or i made a successful repartition?
 

Attachments

  • photo_2015-06-10_15-31-27.jpg
    photo_2015-06-10_15-31-27.jpg
    31.8 KB · Views: 108
  • photo_2015-06-10_15-52-29.jpg
    photo_2015-06-10_15-52-29.jpg
    54.4 KB · Views: 91
Damn! Are u sure? Because i just installed the old app and seems that i've more space :/
Based on the sizes of partitions I had before re-sizing ... Maybe someone else can confirm or not.
But, how did you resize the partitions, because just a simple flash, will not change the size of a partition... And ad far as I know, nameless have a smaller "footprint" than the stock rom, and it is easy to feel that you have more space for your applications.
Just a noob opinion :)
 
Last edited:
Okay after some trouble, ( i thought that i bricked the phone), i succeed in repartitioning. I had to install twrp 2.8.0. and not 2.8.6 and i launched the Kamir script. After i had to reflash twrp 2.8.6 to install namelessrom, so now i've 2.6 gb of total space instead of 1.5 gb.
Thank you for your suggestions =)

P.s. I think that in this forum there must be a complete guide to flash recovery etc...and also the different mode to open recovery and download mode. For example for my phone i have a little different mode to launch recovery and download mode.
for download mode: i've to shut down phone. so i press vol+ and keep pressing during the plugging of the usb.
for recovery mode: i've to shut down phone. so vol- and power, so when i see lg logo i release power and press again. (always keep press vol-). so i've to confirm 2 times that i want to do a factory reset and the recovery appears...
I hope that it can be useful to someone. Maybe if someone in the forum want to use this information and paste them in another thread...
Bye
 
Okay after some trouble, ( i thought that i bricked the phone), i succeed in repartitioning. I had to install twrp 2.8.0. and not 2.8.6 and i launched the Kamir script. After i had to reflash twrp 2.8.6 to install namelessrom, so now i've 2.6 gb of total space instead of 1.5 gb.
Thank you for your suggestions =)

P.s. I think that in this forum there must be a complete guide to flash recovery etc...and also the different mode to open recovery and download mode. For example for my phone i have a little different mode to launch recovery and download mode.
for download mode: i've to shut down phone. so i press vol+ and keep pressing during the plugging of the usb.
for recovery mode: i've to shut down phone. so vol- and power, so when i see lg logo i release power and press again. (always keep press vol-). so i've to confirm 2 times that i want to do a factory reset and the recovery appears...
I hope that it can be useful to someone. Maybe if someone in the forum want to use this information and paste them in another thread...
Bye
The easiest way to flash recovery it is by using flashify from google play, but you can use also dd command from a Linux os, but you must identify the correct partition otherwise you can brick your phone, so use flashify .
Just a noob opinion :)
 
Back
Top Bottom