Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] BETA ICS 4.0.X - Team DRH - data partition size

OP toast000

25th March 2012, 12:49 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: May 2010
Donate to Me
More
Is there a way to either a) make the data partition larger than 2GB or b) do some kind of apps2sd even though ICS doesn't support it? I've been reinstalling everything since putting on the latest version of the rom and have plenty of internal (and external) SD space, but only a few megs left of my data partition for installations. Would the partition be possible through CWM up to 4GB or higher through nvflash?
25th March 2012, 05:11 PM   |  #2  
Senior Member
Flag Bangalore
Thanks Meter: 406
 
1,315 posts
Join Date:Joined: Aug 2010
You can increase or decrease the size allocated to /data as you wish. And you'll have to do it using CWM, not nvflash.

Do you want to keep your existing data while you increase the size of the /data partition?
25th March 2012, 05:58 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: May 2010
Donate to Me
More
I would prefer to save it. I had just planned to use Titanium and send it all up to Box.com (hooray for the free 50 gigs).
25th March 2012, 07:10 PM   |  #4  
Senior Member
Flag Bangalore
Thanks Meter: 406
 
1,315 posts
Join Date:Joined: Aug 2010
OK. Then, the easiest method is to use GParted.

0. Go to the Parted Magic website and download and burn the latest version of the Parted Magic CD or USB-stick image.

1. Boot into CWM, select the "mounts and storage" menu item, then unmount all mounted partitions. Do not back out of that screen--stay there until you're done.

2. Boot into PartedMagic, run Firefox and get the ADB binary from here. Save the adb.zip file into /tmp. Run these commands in a Terminal window:

Code:
root@PartedMagic:~# unzip -d /usr/local/bin /tmp/adb.zip
root@PartedMagic:~# chmod 500 /usr/local/bin/adb
3. Run these commands to make the internal SD card visible to GParted (use /dev/block/mmcblk2 for the external SD card):
Code:
root@PartedMagic:~# adb shell
~ # echo /dev/block/mmcblk3 > /sys/devices/platform/usb_mass_storage/lun0/file
4.Now run the Partition Editor (GParted) program and select the SD card device from the drop down list.

5. Resize the data partition by dragging the partition boundary, then select "Apply".

6. After the operation completes, exit GParted and run this ADB command to dismount USB storage:
Code:
root@PartedMagic:~# adb shell
~ # echo '' > /sys/devices/platform/usb_mass_storage/lun0/file
7. Now back out of the "Mounts and Storage Menu" in CWM and reboot the gTablet.
Last edited by rajeevvp; 26th March 2012 at 06:51 PM.
The Following User Says Thank You to rajeevvp For This Useful Post: [ View ]
26th March 2012, 04:56 AM   |  #5  
OP Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: May 2010
Donate to Me
More
I have all partitions unmounted in CWM, but when I try to do "adb shell" it gives me the "error: device not found" message.

EDIT: It was a driver issue. I'm repartitioning now and everything seems to be going well. Thanks!
Last edited by toast000; 26th March 2012 at 04:25 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes