Learning to compile my own ROM

This is a discussion on Learning to compile my own ROM within the Droid Development forums, part of the Droid Hacking category; Ok since apparently no Devs visit the Hacks section I'll post this here.. When I run make, it is telling me that Platform version is ...

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27

Thread: Learning to compile my own ROM

  1. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #1

    Learning to compile my own ROM

    Ok since apparently no Devs visit the Hacks section I'll post this here..

    When I run make, it is telling me that Platform version is 2.2.1 even though I have the latest source. I thought this would be 2.2.2? Perhaps there is a file I need to edit?

    ** edit **
    When I run make I get
    Code:
    build/core/base_rules.mk:108: user tag on app Superuser at packages/apps/Superuser - add your app to core.mk instead
    Any ideas on these?
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Developer
    eagle1967's Avatar
    Member #
    17650
    Join Date
    Dec 2009
    Location
    colorado
    Posts
    1,286
    Liked
    117 times
    Twitter
    droid1967
    Phone
    Droid 1/ G2x/Nexus
    DroidForums.net Developer
    #2

    hey ya good luck

    Quote Originally Posted by bhughesiii View Post
    Ok since apparently no Devs visit the Hacks section I'll post this here..

    When I run make, it is telling me that Platform version is 2.2.1 even though I have the latest source. I thought this would be 2.2.2? Perhaps there is a file I need to edit?

    ** edit **
    When I run make I get
    Code:
    build/core/base_rules.mk:108: user tag on app Superuser at packages/apps/Superuser - add your app to core.mk instead
    Any ideas on these?
    the 2.2.2 change is somewhere in vendor im pretty sure i forget and cant find it now. but you can also just change it in the build.prop if you wnat thats waht is the file making it show on your phone.

    as for the other goto rules_make line 108 and see what it says. but if this is not stopping your build dont worry about it its just saying its listed twice . but in the android/system/extras su thre are some changes you ned to make

    you can look at githubs commits to see what needs to be changed.

    hope this helps some sorry i have been out of the game a few motnhs and have forgotten a lot
  4. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #3
    Thanks eagle1967, I'll look for that. I was able to compile and make otapackage, but I got stuck figuring out how to get it on my phone. The set of instructions I am using do not include how to make it an update.zip file. I guess I have a lot of researching to do before I recompile again. I also wish there was a error log or something for when you run make and it has errors that it that it posts those errors in a file for review. I don't have time to watch the compile and notice any errors. Also, I have been running ubuntu in a virtualbox virtual pc. I may just do a dual boot and maybe things will go faster.
  5. Developer
    eagle1967's Avatar
    Member #
    17650
    Join Date
    Dec 2009
    Location
    colorado
    Posts
    1,286
    Liked
    117 times
    Twitter
    droid1967
    Phone
    Droid 1/ G2x/Nexus
    DroidForums.net Developer
    #4

    compile is slow

    Quote Originally Posted by bhughesiii View Post
    Thanks eagle1967, I'll look for that. I was able to compile and make otapackage, but I got stuck figuring out how to get it on my phone. The set of instructions I am using do not include how to make it an update.zip file. I guess I have a lot of researching to do before I recompile again. I also wish there was a error log or something for when you run make and it has errors that it that it posts those errors in a file for review. I don't have time to watch the compile and notice any errors. Also, I have been running ubuntu in a virtualbox virtual pc. I may just do a dual boot and maybe things will go faster.
    compiling is slow on dual cores it sems to take about an hour for most for for your info. but the virtual setup limits you in space. are you looking in your out folder for the zip file to install to your phone. you might not be runing make -j4 otapackage thats what you need to run make as to make the package to install to phone.
  6. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #5
    I am running make otapackage, and I have found where it is going. I do not know how to create and update.zip file. And I hope that running dual boot will help. Compiling has been taking close to 8 - 10 hours in a virtual setup. even with make -j4
    Last edited by bhughesiii; 04-18-2011 at 09:39 AM.
  7. Master Droid
    thinkmega's Avatar
    Member #
    76357
    Join Date
    Jun 2010
    Posts
    284
    Liked
    1 times
    Phone
    Motorola Droid
    #6
    You can use this as a guide if you were building a froyo based rom:

    http://android.snkbitten.com/docs/Ho...P-09-21-10.pdf

    Somewhere toward the end it describes how to handle the update.zip.

    Hope it helps.
  8. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #7
    Quote Originally Posted by thinkmega View Post
    You can use this as a guide if you were building a froyo based rom:

    http://android.snkbitten.com/docs/Ho...P-09-21-10.pdf

    Somewhere toward the end it describes how to handle the update.zip.

    Hope it helps.

    Thanks! I am in the process of rebuilding my dev environment as a dual boot instead of a vitrual machine. I will check it out when I get to that point.
  9. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #8
    I am using the PDF from above, does it matter whether you use the proprietaries from FRG22D or FRG83G?
  10. Master Droid
    thinkmega's Avatar
    Member #
    76357
    Join Date
    Jun 2010
    Posts
    284
    Liked
    1 times
    Phone
    Motorola Droid
    #9
    Quote Originally Posted by bhughesiii View Post
    I am using the PDF from above, does it matter whether you use the proprietaries from FRG22D or FRG83G?
    I don't think it matters. Either belongs to froyo branch. However, I haven't tested against frg83g so I wouldn't know for sure.

    Sent from my Droid using DroidForums
  11. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #10
    Thanks, thinkmega! I didn't think it would make too much difference.

    Sent from my Droid using DroidForums

Sponsors

Posting Permissions

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

Similar Threads

  1. How to compile your own kernel.
    By adrynalyne in forum Rescue Squad Guides
    Replies: 47
    Last Post: 03-02-2012, 02:41 PM
  2. decompile/compile Mms.apk
    By sneaky_zekey in forum Team D1-MIUI
    Replies: 1
    Last Post: 11-18-2010, 10:06 PM
  3. How to Compile an android based ROM
    By woodyman in forum Droid Concepts
    Replies: 31
    Last Post: 11-10-2010, 05:35 PM

Search tags for this page

add to core.mk instead
,

add your app to core.mk instead

,
add+your+app+to+core.mk instead
,
android compiling rom
,
android rom compile
,
android ????
,
compile android rom
,
compile rom android
,
compiling android rom
,
core.mk superuser
,
how to compile a rom from source
,
how to compile an android rom
,
how to compile rom android
,
how to expand my rom on my android
,

make otapackage

Click on a term to search our site for related topics.