Building your own ROM

question.. i added magpie apps2sd-ext into iho, everything seems fine, except i can't get the ext partition to mount... isnt that what 05mountsd does? or am i missing something?

Try using seeing if a permission needs to be set for it to mount sd-ext.
 
Check your logcat to see if it's being mounted. How is your partition formatted?

im getting this:

Code:
I/mountsd (   95): Checking filesystems.. 
I/run-parts(   64): e2fsck 1.41.12 (17-May-2010)
I/run-parts(   64): /dev/block/mmcblk0p2: clean, 11/65280 files, 14399/261120 blocks
I/busybox (  101): mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument
I/logwrapper(  101): busybox terminated by exit(255)
I/busybox (  104): chown: /sd-ext: Read-only file system
I/logwrapper(  104): busybox terminated by exit(1)
I/busybox (  106): chmod: /sd-ext: Read-only file system
I/logwrapper(  106): busybox terminated by exit(1)
I/mountsd (  108): /sd-ext successfully mounted

sdcard has a ~3.4gb fat32 partition and a 247mb ext4 partition (works when manually mounted)

edit: removed the -t ext3 from 05mountsd and it works! now i wanna know why....
 
Last edited:
  • Like
Reactions: JerryScript
I am pretty sure ext2 and 3 file systems can be mounted as ext4. Not sure if 4 can be mounted as 3. Maybe that's why it fails. So I'm assuming that by removing the -t option, the mount command detects what it is and mounts it right? Or there's something else going on that I don't understand.
tdm? Opinions?
 
im getting this:

Code:
I/mountsd (   95): Checking filesystems.. 
I/run-parts(   64): e2fsck 1.41.12 (17-May-2010)
I/run-parts(   64): /dev/block/mmcblk0p2: clean, 11/65280 files, 14399/261120 blocks
I/busybox (  101): mount: mounting /dev/block/mmcblk0p2 on /sd-ext failed: Invalid argument
I/logwrapper(  101): busybox terminated by exit(255)
I/busybox (  104): chown: /sd-ext: Read-only file system
I/logwrapper(  104): busybox terminated by exit(1)
I/busybox (  106): chmod: /sd-ext: Read-only file system
I/logwrapper(  106): busybox terminated by exit(1)
I/mountsd (  108): /sd-ext successfully mounted

sdcard has a ~3.4gb fat32 partition and a 247mb ext4 partition (works when manually mounted)

edit: removed the -t ext3 from 05mountsd and it works! now i wanna know why....

Without the argument it detects the filesystem type. Maybe your kernel supports ext4 but not ext3?
 
  • Like
Reactions: JerryScript
Without the argument it detects the filesystem type. Maybe your kernel supports ext4 but not ext3?

Using bobzhome v3.7. So since most iho roms use that, anyone want to test if it works on others? Should we change this in iho?
 
Turns out that Linux Mint 12 does not have most of the packages for building that Ubuntu has, and must be download and installed.
 
What is the minimum amount of hard drive space you can partition and still be able to build with?

Sent from my submarine
 
I would say 30gigs, that will leave you enough space to sync all repositories, download all necessary tools, and build without running out of space.

If you are building more than one version, ie Gingerbread and ICS, you will need to almost double that.
 
  • Like
Reactions: anthonycr
You actually can do it on 20gigs and it will be fine for just GB, but like Jerry said, if you mess around much, you will want 30 or more. It can go quick, and if you don't have enough, it's not easy to add more later.
 
  • Like
Reactions: JerryScript
wiki link in op is broke... anyone care to help me set up to build?... ive tried to figure things out for myself but keep running into errors... like installing jdk... keep getting a@a-PCG-GRX500K-UC:~$ apt-get install sun-java6-jdk sun-java6-jre
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
a@a-PCG-GRX500K-UC:~$ sudo apt-get install sun-java6-jdk sun-java6-jre
[sudo] password for a:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

i have the sdk .tar dl'd and extracted to home folder... ran into problems there too... updated and dl'd 4.0.4 and 2.3.3 platforms but thats as far as ive gotten...

ubuntu 11.10 by the way...

any help would be greatly appreciated!... ill keep digging in the meantime... thanks everyone!... :-)

At least in debian the sun-java packages were removed. Openjdk works fine for me. Try aptitude search openjdk then install that
 
  • Like
Reactions: clodfelterac
@tvall-- thanks for the quick reply... i installed aptiitude through software center... after complete, i tried to open the app but get no response... shutdown and reboot did not help... app is installed but when clicked it will not open... thoughts?...

can anyone recommend a good up-to-date explicit tut for peeps wanting to build... why waste time googling when the pros are right here?... ;-)

aptitude is a command line program and comes with debian by default. I prefer it over apt-get and I thought Ubuntu had it too...
 
I posted this back on page 73, when using apt-get, you need to add a different source for sun-jdk:
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
// or
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
Then you can use apt-get install for the sun packages. ;)
 
  • Like
Reactions: clodfelterac
I posted this back on page 73, when using apt-get, you need to add a different source for sun-jdk:
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
// or
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
Then you can use apt-get install for the sun packages. ;)

You should probably add this to your op

Sent from my Amazon Kindle Fire using Tapatalk
 
I posted this back on page 73, when using apt-get, you need to add a different source for sun-jdk:
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
// or
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
Then you can use apt-get install for the sun packages. ;)

I could be wrong, but I don't think that the lucid repo has it anymore.

Sent from my LG-VM670 using Tapatalk
 

Trending Posts

Forum statistics

Threads
956,603
Messages
6,969,127
Members
3,163,585
Latest member
zolepso1