Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2009
    Posts
    319
    Thanks
    53
    Thanked 892 Times in 160 Posts
    Downloads
    24
    Uploads
    0

    [TUTORIAL] How-to Compile the AOSP Eclair Source for the Motorola CLIQ

    Hello, hello. You are here for one reason and one reason only; to learn how to compile the AOSP(Android Open-Source Project) Eclair branch for the Motorola CLIQ.

    So, without further ado, here it is:

    Prerequsites:
    -Read "Setting up your machine" and "Installing Repo" here: Get Android Source Code | Android Open Source

    Steps:

    1 : Open a Terminal Window

    2: Create and change directory to "mydroid":
    Code:
    $ mkdir mydroid
    $ cd mydroid
    3: Initalize the Repo client:
    Code:
    $ repo init -u git://android.git.kernel.org/platform/manifest.git -b eclair
    While doing this, it will ask you for your name and e-mail address. Make sure to enter the correct information.

    4: Download the source(whoo!):
    Code:
    $ repo sync
    Now, downloading the source will take a WHILE depending on your internet speed! So, grab some coffee, a beer, or your beverage of choice and relax.

    5: After the source finishes downloading, you will want to download this file: buildspec.mk
    This file defines different variables used to compile the build.
    Put this file inside the "mydroid" directory where the AOSP Eclair source is located.

    6: Now, delete the vendor folder in your "mydroid" directory and download this file: MustyMod-RIL-Hack.zip
    It is MustyMod's RIL hack.

    7: Replace the folders in "mydroid/hardware/ril" with MustyMod's RIL hack.

    8: After you have completed the preceding steps, you are now ready to compile your build.
    Make sure you are in the root of your "mydroid" folder and type this:
    Code:
    $ make -j4
    The way I see it is the number after "-j" depends on the number of cores in your processor; take the number of cores your processor has and double it. So, if you have an Intel Core2Duo(dual-core), you could use "make -j4", and if you have an Intel Core2Quad(quad-core), you could use "make -j8."

    Now, after the build compiles, open "mydroid/out/target/product/generic/system" and you will now see the build you have compiled!

    You can now add the 2.6.29 boot.img and dhd.ko from the leaked 2.1 BLUR build and this will make a build that will run on the CLIQ! It will, however, not make the radio, vibration, amongst other features work.

    Hope you enjoy it and have fun!

    TIPS:

    Fixing Vibration:
    Open "mydroid/hardware/libhardware_legacy/vibrator" and open "vibrator.c"

    Change the following line from:
    Code:
    #define THE_DEVICE "/sys/class/timed_output/vibrator/enable"
    to:
    Code:
    #define THE_DEVICE "/sys/class/vibrator/vibrator/enable"
    Now, a couple of people have asked me to include a list of the proprietary files that made certain features, like radio, and wi-fi work, but to tell you the honest truth; I don't remember. The way I did this was by pushing different files from the 1.5 BLUR build and seeing what worked and what didn't. Sorry I couldn't help more, but I hope this helps someone make a better ROM than Eclair2CLIQ.

    ALSO, this technique WILL work on compiling Froyo with a few differences, of course, but Froyo will not run correctly like Eclair does! It soft-reboots quite often.
    Phones: Motorola CLIQ Titanium(Eclair2CLIQ, 1.4.8), Motorola CLIQ Winter White(Froyo2CLIQ, 1.4.8), T-Mobile G1(Cyanogen v5.0.7)
    Operator: T-Mobile USA | Recovery: kb7sqi's M3-Mod Recovery

    For more information on my Android/Graphic Design work: My Blog

    My Online Portfolio as a Freelance Graphic Designer

    Follow Me on Twitter


    After getting multiple messages about people wanting to donate, I have posted a donation button on my blog which is linked above.

  2. 18 Users Say Thank You to travisjames For This Useful Post

    adlx (09-04-2010), Citizen86 (09-06-2010), Danation (09-04-2010), denkai (09-03-2010), Imaz77ar (09-03-2010), j_r0dd (09-04-2010), keshav0001 (09-24-2010), kiel123 (09-06-2010), Pzyduck (09-04-2010), revlothar (09-05-2010), rtist69 (09-04-2010), sublime1184 (09-04-2010), SuperJoker (09-04-2010), tonymy01 (09-04-2010), turl (01-06-2011), VontaelP (09-04-2010), wickid_d (06-21-2011), yibble (09-08-2010)

  3. #2
    offline Of Mice and Modders
    Join Date
    May 2007
    Posts
    98
    Thanks
    34
    Thanked 14 Times in 7 Posts
    Downloads
    80
    Uploads
    0
    Well done TJ, nice tut.

  4. #3
    Imaz77ar's Avatar
    offline Geek Dentist
    Join Date
    Nov 2006
    Location
    Cuidad de México / Mexico city
    Posts
    4,786
    Thanks
    2,062
    Thanked 1,722 Times in 1,101 Posts
    Downloads
    74
    Uploads
    15
    great job travis...
    im gonna read it tomorrow at the baptism of my cousin

  5. #4
    sublime1184's Avatar
    offline Retired Moderator
    Join Date
    Apr 2008
    Location
    Chicago, IL
    Posts
    3,739
    Thanks
    3,314
    Thanked 2,122 Times in 1,342 Posts
    Downloads
    49
    Uploads
    1
    Sweet guide travis, thanks for sharing. ++ Added to the bible.

  6. The Following User Says Thank You to sublime1184 For This Useful Post:

    travisjames (09-04-2010)

  7. #5
    Danation's Avatar
    offline public static final boolean isEvil() { return true; }
    Join Date
    Oct 2008
    Posts
    6,880
    Thanks
    4,383
    Thanked 3,384 Times in 2,117 Posts
    Downloads
    3
    Uploads
    0
    Nice Thanks Travis! I've always wondered how it was done.

    _.__.__._I have retired. If you PM me, I may not reply.

  8. #6
    Pzyduck's Avatar
    offline Super Moderator X
    Join Date
    Apr 2009
    Location
    La Rioja - Argentina
    Posts
    5,173
    Thanks
    1,883
    Thanked 4,227 Times in 1,845 Posts
    Blog Entries
    6
    Downloads
    181
    Uploads
    360
    Turotial Awesome, thanks travisjames



    Regards

  9. #7
    offline Maybe Modder
    Join Date
    Jul 2010
    Posts
    36
    Thanks
    2
    Thanked 8 Times in 5 Posts
    Downloads
    0
    Uploads
    0
    Okay why did my post disappear????

    Well I said thanx to trav, this wont be written in-vain.

    And I was also asking if people thought the new Moto. Milestone2 might have some useful "repositories" to help complete Eclair/Froyo for the CLIQ/DEXT. By the way, it runs with the original MotoBLUR like the CLIQ/DEXT.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •