[Q&A] [TUTORIAL] Increase data partition

Search This thread

vishals16

Senior Member
Apr 18, 2013
362
128
this is the 3rd time i tried the procedure again same error comes after (ADB SHELL/fdisk) w
i.e.fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
is it fine to get this error as i searched on net most of the answer is it is fine to have the error
2) when i try to flash rom it shows internal storage as 0mb and flashing fails :crying:
tell me what shd i do ?
It is not able to save the partition table. Yes, it is a standard error. I faced it when I was trying to do the same. But the thing was that the sdcard was not properly unmounted. And it was resolved the way I said. You can also check that the same error has been discussed several times on the thread itself.

Sent from my Xperia S using Tapatalk
 

satyawan0307

Senior Member
Oct 24, 2012
58
2
finally all work perfectly i downloaded latest adk tool and install latest twrp 2.8.0.1 and tried everything as given on first post even unmounting through adb only and everything worked i have 8 gb partition and flashed pure AOSP test 10 and enjoying sweet taste of loolipop :fingers-crossed:
 

Celsim1988

Member
Apr 30, 2011
5
0
São José dos Campos
Hi, I have a problem with the process of the increasing data partition, the same problem of the User Lunatiic, I followed all the steps , checked before starting the process of fdisk if the sdcard was unmounted, but at the end of the process by entering the w command, came this warning attached , so I can not format the SD or data partitions, what can I do?
 

Attachments

  • Erro.png
    Erro.png
    4.4 KB · Views: 56

vishals16

Senior Member
Apr 18, 2013
362
128
Hi, I have a problem with the process of the increasing data partition, the same problem of the User Lunatiic, I followed all the steps , checked before starting the process of fdisk if the sdcard was unmounted, but at the end of the process by entering the w command, came this warning attached , so I can not format the SD or data partitions, what can I do?

In step 3, try unmounting in TWRP by unchecking the sdcard. It will work then
 

Celsim1988

Member
Apr 30, 2011
5
0
São José dos Campos
It should work then. You could try uninstalling and reinstalling the adb drivers. It could help. Well, I am not sure why this is happening. I think someone else also face the same problem. Search the thread. It might help :)

Sent from my Xperia S using Tapatalk

I tried again following a instruction in the original thread, which to unmount the sdcard just uncheck the sdcard and date in the mount options in TWRP, but does not work again ...
 

vishals16

Senior Member
Apr 18, 2013
362
128
I tried again following a instruction in the original thread, which to unmount the sdcard just uncheck the sdcard and date in the mount options in TWRP, but does not work again ...
After unmounting the sdcard in twrp, don't press back. Stay on the page and continue with the process. Try doing it this way.

Sent from my Xperia S using Tapatalk
 

gsmith413

Member
Jul 16, 2012
46
6
pls confirm...........

i am looking forward to do this partition thing..(waiting for nAOSP b16 build by mickbart)
I have read all the 9 pages ....and have come across various issues...but i am still confused whether the solutions given are working or not
so any senior member PLEASE CONFIRM..that the steps given in the first post are correct or not?
if not can anyone re-write the tutorials with necessary additions and pls. separate the commands from the explanations.

thanks everyone for help.
 

yageysh

New member
May 25, 2014
0
0
HElP

My Xperia S is detected in Bootloader but is not detecting in CWM. I disables Driver Signing and Installed Flashtools drives also. Please Help.
 

aqibkhan

New member
Sep 18, 2011
2
0
Google Pixel 3 XL
Unable to mount/sdcard

i follow the step but i gussed ididnt did it properly. when i first flash the room after the boot animation there was a error "encryption unsucessfull" i click on data reset but nothing happen. when i boot in to the recovery try to wipe date there was a error msg "E: unable to mount/data, E: unable to mount/sdcard. after trying many thing and googling for many hour i am able to mount data and my phone booted up perfectly but i cannot see my internal sdcard in storage and i am still not able to mount sd card through recovery.
i follow the step again through ADB to see the data partition table there it is not showing partition no 15. i have attached the screen shot of that
 

Attachments

  • Untitled.png
    Untitled.png
    28.9 KB · Views: 104

vishals16

Senior Member
Apr 18, 2013
362
128
i follow the step but i gussed ididnt did it properly. when i first flash the room after the boot animation there was a error "encryption unsucessfull" i click on data reset but nothing happen. when i boot in to the recovery try to wipe date there was a error msg "E: unable to mount/data, E: unable to mount/sdcard. after trying many thing and googling for many hour i am able to mount data and my phone booted up perfectly but i cannot see my internal sdcard in storage and i am still not able to mount sd card through recovery.
i follow the step again through ADB to see the data partition table there it is not showing partition no 15. i have attached the screen shot of that
Start and stop cylinder of partition 14 are messed up. Start the process again. Delete the partition 14 and recreate both partitions 14 and 15 as given in the tutorial.
(Remember to unmount the sdcard from the twrp which is step 3 in tutorial.)
If you are able to save the partitions successfully after resizing, you can format the sdcard and data partitions. You can then transfer the rom and flash it.
:)
 
  • Like
Reactions: aqibkhan

aqibkhan

New member
Sep 18, 2011
2
0
Google Pixel 3 XL
Start and stop cylinder of partition 14 are messed up. Start the process again. Delete the partition 14 and recreate both partitions 14 and 15 as given in the tutorial.
(Remember to unmount the sdcard from the twrp which is step 3 in tutorial.)
If you are able to save the partitions successfully after resizing, you can format the sdcard and data partitions. You can then transfer the rom and flash it.
:)
Thanks man it work. sucessfullt partioned table and flash the room
 

Salvien

Member
Feb 21, 2015
30
0
I have problem when I'm installing CWM :
"remote object "data/local/tmp/cwm-install.log" does not exist
What i doing wrong ?

Okey, i repaired this :3
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    i have installed android sdk along with sony drivers
    what is boot into twrp? should i go into twrp recovery?
    get a shell means?
    or you could give me your email address?
    Reboot the phone and press the Volume+ button when the led flashes to enter into recovery. Now stay there...connect the phone to your computer. Open command prompt in Platform Tools. Start typing those commands. :)
    Btw my id is vishal.punk16@gmail.com
    1
    hi, i do what i read but when i flash rom to phone and starting phone after set up rom i had Encryption Unsuccessful - Reset Android
    error.
    Here are my shell codes. Sorry about my bad english :)
    Code:
    ~ # ←[6numount /sdcard
    umount /sdcard
    ~ # ←[6nfdisk /dev/block/mmcblk0
    fdisk /dev/block/mmcblk0
    
    The number of cylinders for this disk is set to 973824.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
       (e.g., DOS FDISK, OS/2 FDISK)
    
    Command (m for help): ←[6np
    p
    
    Disk /dev/block/mmcblk0: 31.9 GB, 31910264832 bytes
    4 heads, 16 sectors/track, 973824 cylinders
    Units = cylinders of 64 * 512 = 32768 bytes
    
                  Device Boot      Start         End      Blocks  Id System
    /dev/block/mmcblk0p1               1          65        2048  f0 Linux/PA-RISC b
    oot
    Partition 1 does not end on cylinder boundary
    /dev/block/mmcblk0p2   *          65          81         512  4d Unknown
    Partition 2 does not end on cylinder boundary
    /dev/block/mmcblk0p3             129         768       20480  48 Unknown
    Partition 3 does not end on cylinder boundary
    /dev/block/mmcblk0p4             769      954240    30511104   5 Extended
    Partition 4 does not end on cylinder boundary
    /dev/block/mmcblk0p5             785         800         512  46 Unknown
    /dev/block/mmcblk0p6             833         928        3072  4a Unknown
    /dev/block/mmcblk0p7             961        1056        3072  4b Unknown
    /dev/block/mmcblk0p8            1089        1184        3072  58 Unknown
    /dev/block/mmcblk0p9            1217        1376        5120  70 Unknown
    /dev/block/mmcblk0p10           1409        1664        8192  83 Linux
    /dev/block/mmcblk0p11           1665        2176       16384  f0 Linux/PA-RISC b
    oot
    /dev/block/mmcblk0p12           2177       34944     1048576  83 Linux
    /dev/block/mmcblk0p13          34945       42944      256000  83 Linux
    /dev/block/mmcblk0p14          42945      108480     2097152  83 Linux
    /dev/block/mmcblk0p15         108481      954240    27064320   c Win95 FAT32 (LB
    A)
    
    Command (m for help): ←[6nd
    d
    Partition number (1-15): ←[6n15
    15
    
    Command (m for help): ←[6nd
    d
    Partition number (1-14): ←[6n14
    14
    
    Command (m for help): ←[6nn
    n
    First cylinder (769-954240, default 769): ←[6n42945
    42945
    Last cylinder or +size or +sizeM or +sizeK (42945-954240, default 954240): ←[6n+
    8192M
    +8192M
    
    Command (m for help): ←[6np
    p
    
    Disk /dev/block/mmcblk0: 31.9 GB, 31910264832 bytes
    4 heads, 16 sectors/track, 973824 cylinders
    Units = cylinders of 64 * 512 = 32768 bytes
    
                  Device Boot      Start         End      Blocks  Id System
    /dev/block/mmcblk0p1               1          65        2048  f0 Linux/PA-RISC b
    oot
    Partition 1 does not end on cylinder boundary
    /dev/block/mmcblk0p2   *          65          81         512  4d Unknown
    Partition 2 does not end on cylinder boundary
    /dev/block/mmcblk0p3             129         768       20480  48 Unknown
    Partition 3 does not end on cylinder boundary
    /dev/block/mmcblk0p4             769      954240    30511104   5 Extended
    Partition 4 does not end on cylinder boundary
    /dev/block/mmcblk0p5             785         800         512  46 Unknown
    /dev/block/mmcblk0p6             833         928        3072  4a Unknown
    /dev/block/mmcblk0p7             961        1056        3072  4b Unknown
    /dev/block/mmcblk0p8            1089        1184        3072  58 Unknown
    /dev/block/mmcblk0p9            1217        1376        5120  70 Unknown
    /dev/block/mmcblk0p10           1409        1664        8192  83 Linux
    /dev/block/mmcblk0p11           1665        2176       16384  f0 Linux/PA-RISC b
    oot
    /dev/block/mmcblk0p12           2177       34944     1048576  83 Linux
    /dev/block/mmcblk0p13          34945       42944      256000  83 Linux
    /dev/block/mmcblk0p14          42945      292945     8000024  83 Linux
    
    Command (m for help): ←[6nn
    n
    First cylinder (769-954240, default 769): ←[6n292946
    292946
    Last cylinder or +size or +sizeM or +sizeK (292946-954240, default 954240): ←[6n
    
    Using default value 954240
    
    Command (m for help): ←[6nt
    t
    Partition number (1-15): ←[6n15
    15
    Hex code (type L to list codes): ←[6nc
    c
    Changed system type of partition 15 to c (Win95 FAT32 (LBA))
    
    Command (m for help): ←[6nw
    w
    The partition table has been altered.
    [B]Calling ioctl() to re-read partition table
    fdisk: WARNING: rereading partition table failed, kernel still uses old table: D
    evice or resource busy[/B]

    I faced the same problem. Instead of umount/sdcard in step 3, try unmounting everything except sdcard in twrp. Then give it a try again. It will work I think :)
    1
    Can anyone elaborate 'Step 7 - Create new data partition' , what should i write in cmd?

    (ADB SHELL/fdisk) n
    (First cylinder) -> you have to indicate the same start cylinder of partition 14 read in step 6 (What should I write here?)
    (Last cylinder) -> +8192M (this will create a 8gB partition)

    Thank you.
    After deleting the partitions 14 and 15. Creating a new partition. Write the start cylinder+1 of partition 13 as the start cylinder of the new partition. Then follow the process.

    Sent from my Xperia S using Tapatalk
    1
    step 11 ("wipe" data and sdcard to format your new partitions)is to do from twrp?
    during step 12((PC) adb push myrom.zip /sdcard/
    (PC) adb push gapps.zip /sdcard/) is there any need to assign the directory of rom in pc or just write the commands given in tutorial or i need to save the rom in c drive?
    If you want to use the commands to push as given in the tutorial, save the rom in the platform tools folder and assign them the same names. And yes wipe both in twrp. Hope this helps :)

    Sent from my Xperia S using Tapatalk
    1
    i follow the step but i gussed ididnt did it properly. when i first flash the room after the boot animation there was a error "encryption unsucessfull" i click on data reset but nothing happen. when i boot in to the recovery try to wipe date there was a error msg "E: unable to mount/data, E: unable to mount/sdcard. after trying many thing and googling for many hour i am able to mount data and my phone booted up perfectly but i cannot see my internal sdcard in storage and i am still not able to mount sd card through recovery.
    i follow the step again through ADB to see the data partition table there it is not showing partition no 15. i have attached the screen shot of that
    Start and stop cylinder of partition 14 are messed up. Start the process again. Delete the partition 14 and recreate both partitions 14 and 15 as given in the tutorial.
    (Remember to unmount the sdcard from the twrp which is step 3 in tutorial.)
    If you are able to save the partitions successfully after resizing, you can format the sdcard and data partitions. You can then transfer the rom and flash it.
    :)