01-17-2013 12:07 AM
1,060 ... 1213141516 ...
tools
  1. jdcnosse's Avatar
    Mine took about 6 hours to sync the first time. But I'm on 1mbps DSL because the 'rents are cheap and don't think we need anything more
    11-26-2011 04:29 AM
  2. sellers86's Avatar
    im not getting a bin folder in my home directory. can i just create on in the directory.
    11-26-2011 09:33 AM
  3. sellers86's Avatar
    When I put ~/ it goes to root and it says i dont have permission to view files. so i tried to do everything using my home directory and that didnt work either.
    11-26-2011 09:47 AM
  4. BobZhome's Avatar
    The repo binary file, which you download with the curl command when setting up your build environment, needs to be in your path, and needs to have permissions set to a+x. Open your terminal and type the following (if you have a ~/bin directory, skip the first step):
    Code:
    mkdir -p ~/bin
    curl http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo > ~/bin/repo
    chmod a+x ~/bin/repo
    It's important to reboot your system after setting this permission.
    After reboot, you can continue with the rest of the set up.
    11-26-2011 10:17 AM
  5. jdcnosse's Avatar
    im not getting a bin folder in my home directory. can i just create on in the directory.
    Unless you already have a bin folder in your home directory, you'll have to create one first. You can do that through the GUI or by typing mkdir -p ~/bin in terminal.
    11-26-2011 10:45 AM
  6. sellers86's Avatar
    when i use ~/ it points to the folder root under the file system and i dont have access to it.
    11-26-2011 11:18 AM
  7. jdcnosse's Avatar
    are you running the terminal as root? Your terminal prompt should have a $ when you launch it. If it's a # then you're running the terminal as root (which is pretty dangerous if you aren't careful).

    I've attached a screenshot showing the differences. Don't mind the colors or anything, it's because I'm running Linux Mint (based off Ubuntu/Debian) but yours will probably look similar.

    (btw the su command is to become root while in terminal, so that's why it's in the screenshot)

    If your terminal is like the first one, then you should just automatically be in your home directory, so you should be able to make the bin directory if it's not already created.

    mine says james@james-linux ~ $ The james@james-linux is the username@computer_name and then ~ is the location and $ means regular user
    11-26-2011 11:38 AM
  8. sellers86's Avatar
    I have to use sudo su - and pit my password to access root. I always log out though. The thing is is when I put mkdir -p ~/bin it creates the bin folder at the root directory and not my home directory
    11-26-2011 12:32 PM
  9. sellers86's Avatar
    @konspiracy thanks figured it out

    Okay so here's another of my stock roms
    I decided to change a few things that way I'm not compiling twice

    changed lockscreen rings (You know how I feel about bubbles)
    changed browser bookmarks to only have Google
    change keylayout :
    side buttons one is camera (not focus) one is power
    search and back key do no wake up device anymore.

    that's it make sure to wipe first and foremoset
    I used an older gapps that way I could use the checklist setup use wifi
    md5sum is
    Code:
    45390cd5916b60e5750778c0858d8776  update-cm-7.1.0-IHO-KANG-signed.zip
    download here cm7rings.zip

    P.S. Just tested out mms, camera, gps they all work.
    I'm using this rom right now. I like it.
    11-26-2011 12:35 PM
  10. jdcnosse's Avatar
    I have to use sudo su - and pit my password to access root. I always log out though. The thing is is when I put mkdir -p ~/bin it creates the bin folder at the root directory and not my home directory
    That's because when you're making the directory, you're still root. That's why it's going in root's home and not you're own. I would try making the directory before accessing root, or running mkdir -p /home/username/bin (obviosuly username is your own username. lol)
    11-26-2011 01:40 PM
  11. sellers86's Avatar
    That's because when you're making the directory, you're still root. That's why it's going in root's home and not you're own. I would try making the directory before accessing root, or running mkdir -p /home/username/bin (obviosuly username is your own username. lol)
    I've done that. I have the bin folder but when I put in the rest of the commands nothing happens. No repo command not a thing
    11-26-2011 02:07 PM
  12. jdcnosse's Avatar
    Well if you're root when running terminal then you have to modify the statements so that instead of ~ you have /home/username. However I again don't recommend this.

    Also the repo file in the first couple of posts by JerryScript is an error. Try googling repo and then downloading it and manually putting it in ~/bin.
    11-26-2011 04:01 PM
  13. asadullah's Avatar
    try to get repo from here
    I had an issue getting it from the tutor place and couldn't get an init

    Code:
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    chmod a+x ~/bin/repo
    11-26-2011 04:01 PM
  14. LeslieAnn's Avatar
    Mine took about 6 hours to sync the first time. But I'm on 1mbps DSL because the 'rents are cheap and don't think we need anything more
    A faster connection won't really make you download any faster. I think the fastest I have managed was about half that, and I have a 16+meg connection.

    Honestly, once you hit 1meg or so, you get diminishing returns as you go up.
    11-26-2011 04:30 PM
  15. jdcnosse's Avatar
    A faster connection won't really make you download any faster. I think the fastest I have managed was about half that, and I have a 16+meg connection.

    Honestly, once you hit 1meg or so, you get diminishing returns as you go up.
    True...but it would help with other reasons

    Such as netflix and hulu! Either way I don't pay the internet bill, so sadly I can't really complain.

    We also have a shoddy connection that goes out a lot more than our cable did, but I have a feeling it's because we're a DSL connection with DHCP instead of PPPoE. idk. We had Verizon but this area got sold off to a smaller company.

    Anyways! back on topic. I successfully synced with the IHO repo and built successfully (after the omapmlib error). I also have a question though, how easy/hard is it to add/remove an app before compiling the zip? (like removing the FMradio apk and whatnot)

    EDIT: I can't seem to get it to compile now I got it to compile a second time after adding BobZhome's kernel and the bootanimation from JerryScript's ROM (the initlogo.rle and bootanimation.zip file) but then I pulled in BobZhome's CMParts repo so I could have the custom carrier label, but now I get this error: (pastebin file for the entire make bacon: http://pastebin.com/fmYKUUyF )

    Code:
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:146: cannot find symbol
    symbol  : variable CARRIER_LABEL_TYPE
    location: class android.provider.Settings.System
                    Settings.System.CARRIER_LABEL_TYPE, 0);
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:148: cannot find symbol
    symbol  : variable CARRIER_LABEL_CUSTOM_STRING
    location: class android.provider.Settings.System
                    Settings.System.CARRIER_LABEL_CUSTOM_STRING);
                                   ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:153: cannot find symbol
    symbol  : variable CARRIER_LABEL_CUSTOM_STRING
    location: class android.provider.Settings.System
                        Settings.System.CARRIER_LABEL_CUSTOM_STRING,
                                       ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:185: cannot find symbol
    symbol  : variable CARRIER_LABEL_TYPE
    location: class android.provider.Settings.System
                Settings.System.putInt(getContentResolver(), Settings.System.CARRIER_LABEL_TYPE,
                                                                            ^
    packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/UIStatusBarActivity.java:191: cannot find symbol
    symbol  : variable CARRIER_LABEL_CUSTOM_STRING
    location: class android.provider.Settings.System
                        Settings.System.CARRIER_LABEL_CUSTOM_STRING,
    I had synced with IHO and CM (android_frameworks_base and android_vendor_cyanogen) before running this, and each git pull said everything was up to date...so now I can't figure out why it's not finding the symbol...

    EDIT 2: Trying something out, so my problem might be fixed. lol
    11-26-2011 05:24 PM
  16. JerryScript's Avatar
    The problem is that the custom carrier label is a two part commit. You need to pull in the other part that goes in /packages/apps/CMParts/whatever
    jdcnosse likes this.
    11-26-2011 08:52 PM
  17. sellers86's Avatar
    try to get repo from here
    I had an issue getting it from the tutor place and couldn't get an init

    Code:
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    chmod a+x ~/bin/repo
    It worked . thanks so much.
    11-26-2011 09:28 PM
  18. jdcnosse's Avatar
    The problem is that the custom carrier label is a two part commit. You need to pull in the other part that goes in /packages/apps/CMParts/whatever
    Actually I pulled in the CMParts part, I didn't pull in the frameworks/base part. lol
    11-26-2011 10:01 PM
  19. sellers86's Avatar
    alright it finished compiling. but no .zip. do i have to zip it all up?

    EDIT: I zipped it up and get a huge .zip file. Its like 565 mb. What happened haha?
    11-27-2011 12:02 AM
  20. JerryScript's Avatar
    alright it finished compiling. but no .zip. do i have to zip it all up?

    EDIT: I zipped it up and get a huge .zip file. Its like 565 mb. What happened haha?
    What command did you use to compile? If you use make bacon, it will give you a couple of zips.
    11-27-2011 02:22 AM
  21. pbailey212's Avatar
    alright it finished compiling. but no .zip. do i have to zip it all up?

    EDIT: I zipped it up and get a huge .zip file. Its like 565 mb. What happened haha?
    On the build/envsetup.sh did you select optimus v?
    11-27-2011 02:51 AM
  22. sellers86's Avatar
    What command did you use to compile? If you use make bacon, it will give you a couple of zips.
    I ran make bacon. The screen shot is what I got after. I'm not sure what happened. I'll run it again tonight and see what happens
    11-27-2011 07:47 AM
  23. sellers86's Avatar
    On the build/envsetup.sh did you select optimus v?
    Of course i did lol
    11-27-2011 07:48 AM
  24. pbailey212's Avatar
    Of course i did lol
    I haven't done a build for ever, but isn't there an option to build all devices? I was wondering if you accidentally selected that instead of the ov
    11-27-2011 10:00 AM
  25. asadullah's Avatar
    I haven't done a build for ever, but isn't there an option to build all devices? I was wondering if you accidentally selected that instead of the ov
    It would still make a system.img it looks like mkyaffs didn't work correctly make sure you run
    Code:
    make clobber && make clean
    11-27-2011 11:55 AM
1,060 ... 1213141516 ...
LINK TO POST COPIED TO CLIPBOARD