![]()
Hi guys,
Since xdandroid growth fast and go much stable which we can use it daily, I decided to write this tutorial to help you whom want to have more applications on android box. Because of default init script has create data.img with only 256MB of size, it is not enough for who want to try out things and keep many good things inside the small box. So let's go to increase its size to get more funky things ![]() Requirement
Preparation
Make it bigger ![]() (*) Open "Terminal emulator", you can find it under menu "Accessories" (Ubuntu/Debian family) or "System" (Fefora/RHEL family) (*) First thing first, we need to do a file system check to make it clean and fix any issue if exists: (I have added -c option here to make fsck go to verify and fix any badblocks which can be found if your android box go crash sometime cause your phone back to boot screen) Code:
fsck.ext2 -fyc data.img Code:
dd if=/dev/zero of=data.img oflag=append conv=notrunc bs=1M count=256 Code:
ls -lh data.img Code:
-rw-r--r-- 1 uocnb uocnb 512M 2010-12-20 23:34 data.img Code:
resize2fs data.img Code:
file data.img Code:
data.img: Linux rev 1.0 ext2 filesystem data, UUID=fe9ad380-0a17-11e0-a0d9-af99d7f11bf2 ![]() Good luck and have funny, fully holiday! NOTE: (*) indicated the step you must done without any error, the main steps.
__________________
No money, no honey!
--- Motoroi XT720 - MIUI 1.10.21-t2w - [OC 1Ghz very fast & smooth] - CM-7.1.0-11.10.12-ODEX-XT720-J.Y.Daddy |
This post has been thanked 2 times. |
|
||||
Re: How to: get bigger data.img
Another great way is to use the tool in this thread:
[APP] Windows: Create Your Own Data.img Maker Application, +/- From Existing data.img - xda-developers I used this last week to expand my data.img from the normal 256 to 1024. What I love is that it does not force you to start with an empty data.img file, it takes your existing one and allows you to expand it up to 2gb in just a few clicks! I STRONGLY recommend this for those who are not tech savy, or need a WYSIWYG gui to guide them. Great thread and write-up here btw.
__________________
Creator of iLife ROM Series ![]() Best... Member... Ever... ![]() |
This post has been thanked 2 times. |
|
||||
Re: How to: get bigger data.img
I'm up for checkin that out. point me to a rootfs tut also? what are the benefits to larger dataimg, it's makin more room for putting stuff right?
__________________
Rockin' The Official TouchPro 2 aka "The dopest phone with keyboard still":
F**k windows mobile, NAND flash to droid.... |
|
||||
Re: How to: get bigger data.img
Quote:
![]() |
|
||||
Quote:
Sent from my MSM using Tapatalk |
|
||||
Re: How to: get bigger data.img
Quote:
I think it is great if you make a poll to ask people like "How much space we need for data.img" ![]() Thanks! Last edited by tiger2wander; 12-20-2010 at 09:52 PM. |
|
||||
Re: How to: get bigger data.img
Quote:
Once the panel power down/up is fully fixed, I'll be making some HUGE changes. I'll be making two full packages like reefer has done where we will have a reference build with better power management enabled. The second package will be overclocked, but it's going to have to wait until after bzo gets the sleep stuff committed. I'll also be creating both customized kernels on each commit so people can update those. I just need to talk to maurice and find out if we should use update.zip method to update the kernel/modules, or if we can flash them without messing with rootfs/initrd.gz |
This post has been thanked 1 times. |
|
||||
Re: How to: get bigger data.img
Yeah, I'm hopefully it will done soon also!
Merge all the main stuff then move them to NAND is great, so we will get much speed and stable. I In my case, I having problem to boot up NAND ![]() |
|
||||
Re: How to: get bigger data.img
I wouldn't depend on the move to NAND speeding up or making anything more stable. Just gets rid of WinMo
![]() It'll be really nice when we have full NAND access, then the data.img thing will be moot. |
![]() |
|
|
|