Please compare stock rom to aosp rom

Discussion in 'Android Hacks and Help' started by thinkmega, Apr 8, 2011.

  1. thinkmega
    Offline

    thinkmega New Member

    Joined:
    Jun 10, 2010
    Messages:
    285
    Likes Received:
    0
    Trophy Points:
    0
    In fact, I care more about what are the "disadvantage" of the aosp rom. Can someone step in to share your opinions?
  2. cpjr
    Offline

    cpjr New Member

    Joined:
    Dec 20, 2009
    Messages:
    1,596
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta
    For us to compare, you going to have to tell us which stock ROM and which AOSP ROM.
  3. thinkmega
    Offline

    thinkmega New Member

    Joined:
    Jun 10, 2010
    Messages:
    285
    Likes Received:
    0
    Trophy Points:
    0
    frg83d vs froyo (aosp). I built aosp froyo on a ubuntu 10.10/64 bit environment. When I compare the components in /system/framework, I find my aosp build are bigger. Don't know why.
  4. sasij
    Offline

    sasij New Member

    Joined:
    Mar 30, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Gonna go out on a limb and say you compiled in Debug Mode. Which would make the end result more bloated because the extra debug information.
  5. cpjr
    Offline

    cpjr New Member

    Joined:
    Dec 20, 2009
    Messages:
    1,596
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Atlanta
    Ima gonna be honest, I dont know enough to hang.....lol. Not on the coding side.
  6. thinkmega
    Offline

    thinkmega New Member

    Joined:
    Jun 10, 2010
    Messages:
    285
    Likes Received:
    0
    Trophy Points:
    0
    Does that mean that I have to modify build/envsetup.sh? Because there is no such "Release" option when running lunch.

    Can you shed light on how to build one without the debug information?
  7. sasij
    Offline

    sasij New Member

    Joined:
    Mar 30, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    I'm sorry I cannot. I have never compiled a rom. I am a programmer though that's why I had assumed your build was larger because of debug mode. I notice in the apps thats I compile if it's set to debug I get lots of extra crap.
  8. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    when you build it their is 3 different build types example "lunch Sholes-eng"
    "lunch sholes-usr"

    for a non debugging rom you'll want -usr

    im not sure of your exact lunch syntax but -usr will work
  9. thinkmega
    Offline

    thinkmega New Member

    Joined:
    Jun 10, 2010
    Messages:
    285
    Likes Received:
    0
    Trophy Points:
    0
    The option I choose is "generic_sholes-userdebug". This option becomes available after getting the sholes related stuff off koush's repo (go to device/motorola/sholes), and getting the binaries off the phone (go to vendor/motorola/sholes). Did I miss anything in between?
  10. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    then use "user"... koush's repo has 3 different builds for the d1. user, user debug and some other one i forget what it was.
  11. thinkmega
    Offline

    thinkmega New Member

    Joined:
    Jun 10, 2010
    Messages:
    285
    Likes Received:
    0
    Trophy Points:
    0
    generic_sholes_userdebug is defined in android_device_motorla_sholes/vendorsetup.sh. I can't find user by grepping the entire tree. I could be using something outdated. ?
  12. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    i cant remember where i saw the exact build types. but their are 3 diffrent types of build.

    i stumbled upon it awhile ago, but i cannot seem to find it either... if i remember correctly it was a txt document.
  13. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
  14. thinkmega
    Offline

    thinkmega New Member

    Joined:
    Jun 10, 2010
    Messages:
    285
    Likes Received:
    0
    Trophy Points:
    0