01-17-2013 12:07 AM
1,060 ... 2930313233 ...
tools
  1. cowsquad's Avatar
    Start off with the OP this thread. It walks you through step-by-step.

    Sent from my LG-VM670 using Tapatalk
    Can I build from source for the original moto droid?

    Sent from my Droid using Tapatalk 2 Beta-4
    03-31-2012 10:38 AM
  2. EarthnFire78's Avatar
    i give up

    For the last 12 hours been getting errors unable to connect to HTTP,
    03-31-2012 11:30 AM
  3. sellers86's Avatar
    Can I build from source for the original moto droid?

    Sent from my Droid using Tapatalk 2 Beta-4
    I think so as long as you use a git that supports it.
    03-31-2012 01:10 PM
  4. something15525's Avatar
    So I've finally had time to start up on the ROM building again, and I keep running into the stupidest problem. I forked the "android" and "android_vendor_cyanogen" repos and kept the rest pointing to IHO in the default.xml.

    I changed PRODUCT_RELEASE_NAME in products/cyanogen_thunderc.mk from "IHO" to "something15525" and went to go make a build....it built fine, but the finished product zip is called:

    update-CM-7.2.0-RC1-thunderc_LS670-KANG-signed.zip

    shouldn't it be:

    update-CM-7.2.0-RC1-something15525-KANG-signed.zip?

    One more thing:

    When I flashed it, I went to check the mod version, and it said:

    CyanogenMod-7.2.0-RC1-thunderc_LS670-KANG

    Shouldn't the "thunderc_LS670" be "something15525"?

    This is getting me really frustrated that I can't get past this simple problem and I was hoping someone could tell me what I'm doing wrong.

    Here's the change: https://github.com/something15525/an...329530a688c7ce
    03-31-2012 02:15 PM
  5. EarthnFire78's Avatar
    Only so got repo to finally sync and now after selecting VM670 I got this.

    Code:
    /bin/bash: prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: No such file or directory
    03-31-2012 05:52 PM
  6. KingPenguin's Avatar
    Is it just me, or is the Wiki link in the OP broken?
    04-02-2012 06:19 PM
  7. JerryScript's Avatar
    Yeah, it's now under thunderc_common/wiki, Blarf had to reorganize the repository to prepare for attempted inclusion into CM.
    04-02-2012 07:09 PM
  8. tvall's Avatar
    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?
    04-02-2012 11:42 PM
  9. EarthnFire78's Avatar
    For anyone that is using 64bit Linux Mint they need to do the following in Terminal.

    Code:
    sudo apt-get install ia32-libs
    It is need for the repo to work right and to even build ROMS, plus adb well not work without those 32bit packages either.
    04-02-2012 11:43 PM
  10. JerryScript's Avatar
    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?
    Check your logcat to see if it's being mounted. How is your partition formatted?
    04-02-2012 11:53 PM
  11. EarthnFire78's Avatar
    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.
    04-03-2012 12:03 AM
  12. tvall's Avatar
    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....
    JerryScript likes this.
    04-03-2012 12:17 AM
  13. JerryScript's Avatar
    I'll ask tdm to weigh in on this one, he knows more about those types of scripts than most.
    04-04-2012 01:14 AM
  14. tvall's Avatar
    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?
    04-04-2012 01:26 AM
  15. tdm's Avatar
    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?
    JerryScript likes this.
    04-04-2012 01:29 AM
  16. tvall's Avatar
    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?
    04-04-2012 02:27 AM
  17. EarthnFire78's Avatar
    Turns out that Linux Mint 12 does not have most of the packages for building that Ubuntu has, and must be download and installed.
    04-04-2012 03:49 PM
  18. anthonycr's Avatar
    What is the minimum amount of hard drive space you can partition and still be able to build with?

    Sent from my submarine
    04-04-2012 04:46 PM
  19. JerryScript's Avatar
    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.
    anthonycr likes this.
    04-04-2012 04:49 PM
  20. LeslieAnn's Avatar
    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.
    JerryScript likes this.
    04-04-2012 09:20 PM
  21. tvall's Avatar
    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
    clodfelterac likes this.
    04-07-2012 07:55 PM
  22. clodfelterac's Avatar
    @tvall-- thanks for the quick reply... ;-)
    04-07-2012 09:02 PM
  23. tvall's Avatar
    @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...
    04-07-2012 09:08 PM
  24. JerryScript's Avatar
    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.
    clodfelterac likes this.
    04-07-2012 09:58 PM
  25. clodfelterac's Avatar
    thanks jerry... ill try this later... :-)
    04-07-2012 10:06 PM
1,060 ... 2930313233 ...
LINK TO POST COPIED TO CLIPBOARD