FORUMS
Remove All Ads from XDA

[Repartitions] Expand Your Data Partition ! [U8800PRO]

53 posts
Thanks Meter: 15
 
By mayank88288, Member on 22nd September 2014, 07:24 PM
Post Reply Email Thread
Expand Your Data partition


Hello dear friends! Welcome


I am happy to share with you a new trick for our lovely U8800PRO.

I am presenting to you a flashable zip tool that can be useful for who wants to customize their "/data" partition for more space without use of sdExt

So now the waiting is over now finally you can customize - expand your /data partition by shrinking your 1.5GB internal storage

so far you all know this trick is already available for U8800 but not work on U8800PRO.

thanks for genokolar who made expanding partition possible for U8800 and inspired me to make this available for U8800PRO. I modified that to work for U8800Pro

Nowadays we have Kitkat Available for our device. But for the great feel of that, Of course for ART run time, ~ 800 MB as /data partition not good

with this you can expand your /data partition at max ~2300 MB

so here you go --



1] Important ! make nandroid backup of your device. [ use latest Teamwin recovery ]

2] use 5irom App to make a backup of your imei [optional]

3] make sure you have backed up your internal storage as this method wipe your internal storage

4] Download one of attached Zip file to External SDcard and flash it from Teamwin recovery [make sure you have unmounted /data , /system , /emmc] !

5] reboot to RECOVERY

6] after booting in recovery go to "wipe" ==>> "Advanced Wipe" and make following from recovery [very important]
wipe /data
wipe /internal_sd
wipe /cache


7] restore your /data partition from nandroid [optional]

8] reboot device and Voila!!!!




this is permanent solution for /data partition, this will not change by changing roms.

tested working on Cm11 CrysisLtu Rom
probably work for any rom test it your self
if you facing problems,
post your partition table
Code:
su
fdisk /dev/block/mmcblk0
now when u see "Command (m for help)"
enter "p" for partition table

Code:
fdisk /dev/block/mmcblk0
Command (m for help): p
this is the safest method however i take no responsibility if you have done incorrectly to your device.


Enjoy!!
Don't Forget to hit Thanks !
Attached Thumbnails
Click image for larger version

Name:	Screenshot_1980-01-06-05-31-40.png
Views:	312
Size:	65.6 KB
ID:	2946626   Click image for larger version

Name:	Screenshot_1980-01-06-05-31-49.png
Views:	306
Size:	34.1 KB
ID:	2946629   Click image for larger version

Name:	Screenshot_1980-01-06-05-31-32.png
Views:	308
Size:	81.0 KB
ID:	2946630  
Attached Files
File Type: zip Data1500Mb-internal-1GB.zip - [Click for QR Code] (1.31 MB, 117 views)
File Type: zip Data2000Mb-internal-500Mb.zip - [Click for QR Code] (1.31 MB, 73 views)
File Type: zip Data2200Mb-internal-300Mb.zip - [Click for QR Code] (1.31 MB, 58 views)
File Type: zip Data2300Mb-internal~200Mb.zip - [Click for QR Code] (1.31 MB, 86 views)
File Type: zip original-partitions.zip - [Click for QR Code] (1.31 MB, 128 views)
The Following 2 Users Say Thank You to mayank88288 For This Useful Post: [ View ] Gift mayank88288 Ad-Free
 
 
28th September 2014, 05:19 PM |#2  
Senior Member
Thanks Meter: 172
 
Donate to Me
More
Excellent work! I tried with "Data2300Mb-internal_200Mb" but it messed up my partitions.. I do not longer have mmcblk0p13 and it looks like internal storage is now in mmcblk1p2 with ext4 file system.. Restored a whole phone backup so everything ok now but you're sure the script works?
30th September 2014, 09:56 AM |#3  
Junior Member
Thanks Meter: 0
 
More
Smile Thank you!
Hello! I also tested this, and as the previous poster, it broke my partition scheme. However, I used the commands found in your scripts to be able to make the system work again, and I now have space available on my data partition!

I am not sure what messed up my partitions, my block numbers matched yours perfectly. Upon running the script for the first time, it seems the script was somehow unable to create partitions 13 and 14. When running it again the next time, the script didn't even start correctly, since its first commands are to mount /data and /emmc. -So at this point, I copied your "partition" script, and put it on my SD-card to run manually. That worked well, and running the make_ext4fs and mkfs.vfat commands afterwards worked to recreate filesystems

Thanks again!
10th October 2014, 04:18 AM |#4  
Info 2
Quote:
Originally Posted by Lihis

Excellent work! I tried with "Data2300Mb-internal_200Mb" but it messed up my partitions.. I do not longer have mmcblk0p13 and it looks like internal storage is now in mmcblk1p2 with ext4 file system.. Restored a whole phone backup so everything ok now but you're sure the script works?

of course it works
tested with my own device [u8800pro]
please follow steps carefully

other wise if you still facing problems send me your partition table
Code:
su
fdisk /dev/block/mmcblk0
now when u see "Command (m for help)"
enter "p" for partition table
Code:
fdisk /dev/block/mmcblk0
Command (m for help): p
10th October 2014, 08:51 AM |#5  
Senior Member
Thanks Meter: 172
 
Donate to Me
More
Quote:
Originally Posted by mayank88288

of course it works
tested with my own device [u8800pro]
please follow steps carefully

other wise if you still facing problems send me your partition table

Code:
su
fdisk /dev/block/mmcblk0
now when u see "Command (m for help)"
enter "p" for partition table
Code:
fdisk /dev/block/mmcblk0
Command (m for help): p

Code:
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2   *       32769       32831         500  4d Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3           32831       33206        3000  46 Unknown
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4           33206      483328     3600980   5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5           40961       42496       12288  59 Unknown
/dev/block/mmcblk0p6           49153       65792      133120  4c Unknown
/dev/block/mmcblk0p7           73729       73984        2048  5a Unknown
/dev/block/mmcblk0p8           81921       82304        3072  58 Unknown
/dev/block/mmcblk0p9           90113       90987        7000  50 Unknown
/dev/block/mmcblk0p10          98305       98688        3072  4a Unknown
/dev/block/mmcblk0p11         106497      106880        3072  4b Unknown
/dev/block/mmcblk0p12         114689      163840      393216  83 Linux
/dev/block/mmcblk0p13         163841      278528      917504  83 Linux
/dev/block/mmcblk0p14         278529      483328     1638400  69 Unknown
There you go.. I will make some test when I have time.
24th October 2014, 10:17 PM |#6  
afaneh92's Avatar
Senior Member
Flag Some where
Thanks Meter: 3,028
 
Donate to Me
More
Deleted
9th August 2015, 09:38 AM |#7  
Junior Member
Thanks Meter: 1
 
More
Hi, I tried to flash the zip and my partitions disappeared. At least, I could recover the phone with the official ICS rom. Can anyone tell me how to expand the memory?? It would be very usefull, thanks.
10th August 2015, 11:39 AM |#8  
Junior Member
Thanks Meter: 1
 
More
How I got this working
This is a first draft of this guide!

Requirements:
- Recovery TWRP (or something similar), I have "twrp-v2860-260415-u8800pro.zip" (http://forum.xda-developers.com/ideo...-12-1-t3099390)
- ADB in Linux or Windows etc (http://developer.android.com/tools/help/adb.html)
- SD card
- One of the partition zip files above (depending on if you want to shrink or restore partitions)
- A rom to flash (restoring from nandroid backup didn't work for me, but by all means, do try )

Steps (READ ALL of this before you start):
1. Download and unzip a partition ZIP file from OP, "Data2300Mb-internal_200Mb.zip" for instrance.
2. Reboot mobile into recovery, TWRP (POWER + Vol up)
3. Do a backup, and manually copy the files from "Internal Storage" to somewhere. Remember to NOT backup TO internal storage!!
4. Unmount all partitions except SD Card!
5. Connect mobile to pc via USB cable
6. Start "adb shell" in the command line on your PC (Linux, Windows whatever)
7. In a text editor, open the "partition" file from your unzipped partition zip, "Data2300Mb-internal_200Mb.zip" in my case.
8. Begin with the command "cd /sbin" and run the commands in the file.
- BUT, skip the "<<EOF" text.
- Also skip the "t" part, line 14, 15 and 16 (not important, but not necessary either )
- Finish with the "w" at line 17 (Important! ).
- The ADB shell commands I ran:
Code:
cd /sbin 
./fdisk /dev/block/mmcblk0
d
14
d
13
n
163842
278528
n
278530
483328
w
9. Run "exit" in the adb shell
10. Reboot the recovery
11. Open Wipe -> Advance Wipe -> Check "Data" -> Repair or Change File System -> Change File System -> ext4
12. Open Wipe -> Advance Wipe -> Check "Internal Storage" -> Repair or Change File System -> Change File System -> FAT
13. Reboot Recovery
14. Wipe all partitions except SD Card for good measure
15. Reinstall ROM or try and restore nandroid backup

My recovery is complaining about the "Android Secure" partition not being mounted, but installing a fresh ROM and booting works fine.
Restoring a nandroid backup not so much
10th August 2015, 11:11 PM |#9  
Junior Member
Thanks Meter: 1
 
More
Thumbs up
Thank you very much!!! I have done it!! Now I have 2GB for apps!!

I am going to explain the easiest way. We can flash the zips by mayank, but at the end of the process is very important to do the steps 7 and 8 to recover our partitions with the new sizes working.

REMEMBER: I didn't backup because I wanted a new installation of a new rom. So, in my process I lost all my information. Save your photos and other important files before do that.

So, I am going to tell you exactly what I did and it works perfect:
1. Download the zip you prefer, I used "Data2200Mb-internal_300Mb.zip" and copy it to your SD Card.
2. Reboot mobile into recovery, TWRP (POWER + Vol up)
3. Unmount all partitions except SD Card
4. Connect mobile to pc via USB cable
5. Flash the zip Data2200Mb-internal_300Mb.zip or the one you prefer.
6. Reboot the recovery
7. Open Wipe -> Advance Wipe -> Check "Data" -> Repair or Change File System -> Change File System -> ext4
8. Open Wipe -> Advance Wipe -> Check "Internal Storage" -> Repair or Change File System -> Change File System -> FAT
9. Reboot Recovery
10. Wipe all partitions except SD Card for good measure
11. Install the new rom, in my case cyanogenmod 4.4

If you have any problem, you can recover your phone with the official rom ICS 4.0 ( U8800pro,Android 4.0,V100R001C00B928 ) . Just install it by the typical method of the folder "dload" in the SD card(POWER + VOL UP + VOL DOWN).

I am very happy with the result, my old u8800pro has a new life with 2gb for apps + kitkat 4.4 + nova launcher
The Following User Says Thank You to rezzzo For This Useful Post: [ View ] Gift rezzzo Ad-Free
11th October 2015, 11:37 PM |#10  
Junior Member
Thanks Meter: 1
 
More
Update (from memory):
I deleted partition 14 (its empty space atm), so now Spotify correctly saves the offline files to the SD card
Post Reply Subscribe to Thread

Tags
data ext, repartitioning, u8800 pro, x5 pro

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes