01-16-2013 11:07 PM
1,060 ... 45678 ...
tools
  1. LeslieAnn's Avatar
    I had been waiting for the slightest excuse to use that image since I saw it the other day.

    Have you tried syncing with bob's repository?
    JerryScript likes this.
    09-20-2011 11:52 PM
  2. BobZhome's Avatar
    Tip of the week:
    You hate doing lunch, then try brunch:
    Code:
    . build/envsetup.sh && brunch thunderc_VM670
    You may find that it builds a tiny bit faster
    Bob
    09-21-2011 07:03 PM
  3. mrg666's Avatar
    Tip of the week:
    You hate doing lunch, then try brunch:
    Code:
    . build/envsetup.sh && brunch thunderc_VM670
    You may find that it builds a tiny bit faster
    Bob
    Thanks, Bob. I just did a benchmark on my Linux system (Ubuntu 11.04 x64, Phenom II X4 @3.5GHz, 4GB RAM). Before each test, I started a new terminal, sourced build/envsetup.sh, and did a make clobber. The build commands and times are given below.

    lunch 2 && make -j4 bacon

    real 24m13.467s
    user 71m29.880s
    sys 3m48.490s
    ________________________

    brunch thunderc_VM670

    real 24m43.931s
    user 72m0.540s
    sys 3m42.920s
    09-22-2011 08:11 AM
  4. BobZhome's Avatar
    Lol, you saved some time in typing, selecting, and waiting

    Sent from my LG-VM670 using Tapatalk
    09-22-2011 09:16 AM
  5. mrg666's Avatar
    I have seen that you have added smartass2 in the kernel. Will you release them soon or need more testing? I can help if you need testing, just tell me what files to grab from the repo. You have v2, v2.1, V3, V3a, and another without any version.
    09-22-2011 09:23 AM
  6. BobZhome's Avatar
    I have seen that you have added smartass2 in the kernel. Will you release them soon or need more testing? I can help if you need testing, just tell me what files to grab from the repo. You have v2, v2.1, V3, V3a, and another without any version.
    The kernel with no version number is the newest, which is 3.1
    You can grab it from my repo, if you want. I'm about to test it....if everything is ok, I'll post it to my LG Public folder in a little bit.
    I wanted to test it first...I didn't like the fact that smartass wasn't working in v3a.
    Bob
    mrg666 likes this.
    09-22-2011 04:17 PM
  7. mrg666's Avatar
    The kernel with no version number is the newest, which is 3.1
    You can grab it from my repo, if you want. I'm about to test it....if everything is ok, I'll post it to my LG Public folder in a little bit.
    I wanted to test it first...I didn't like the fact that smartass wasn't working in v3a.
    Bob
    Thanks, Bob. I am on it. Smartass in V3a was not a big deal. Nobody complained; that includes me.

    Edit: Your v3.1 kernel works fine. I have tested the two new governors (SmartassV2 and InteractiveX). They work as expected. I have uploaded the ROM to Wiki. Thanks again.
    09-22-2011 05:20 PM
  8. BobZhome's Avatar
    Tip of the week:
    Bookmark this site: $ cheat git
    The best...most complete list of git cheats.
    Bob
    09-30-2011 01:55 PM
  9. bigsupersquid's Avatar
    Tip of the week:
    Bookmark this site: $ cheat git
    The best...most complete list of git cheats.
    Bob
    that's really nice.
    now if I can just find a way to make repo pick up where it left off in the middle of a huge project like platform/prebuilt when it times out and won't reconnect, or my connection drops... I hate redownloading 900MB of data just because repo has a selective memory after it crashes.

    there's a small repo/git cheatsheet near the bottom of this link.
    09-30-2011 02:28 PM
  10. BobZhome's Avatar
    that's really nice.
    now if I can just find a way to make repo pick up where it left off in the middle of a huge project like platform/prebuilt when it times out and won't reconnect, or my connection drops... I hate redownloading 900MB of data just because repo has a selective memory after it crashes.

    there's a small repo/git cheatsheet near the bottom of this link.
    900MB? Maybe the first set up, but repo sync is very fast...especially if you edit out all the phone you don't need.
    Forking and mantaining 101:
    Take my android folder located here: https://github.com/BobZhome/android/...ad/default.xml and fork it.
    It will show up on your github here: https://github.com/bigsupersquid
    With terminal on your system type: git clone git@github.com:bigsupersquid/android.git
    It will download a android folder.
    Edit the default.xml to your liking.
    With terminal in that android folder type: git add .
    then: git commit -m "what ever you want to say goes here"
    then: git push
    Your edited default.xml will be on your github

    Now setting up your system to use that default.xml file of yours:
    With terminal in your ~/android/system folder type: init -u git://github.com/bigsupersquid/android.git -b gingerbread --repo-url=git://github.com/android/tools_repo.git
    Then type: repo sync -f

    Now your repo sync's should be a lot faster
    You probably knew this anyway...it was for the newbies...

    Oh and by the way, this post assume you have some basic knowledge...example is changing directories

    Bob
    bigsupersquid likes this.
    09-30-2011 03:21 PM
  11. bigsupersquid's Avatar
    Yeah, the initial sync is what I was talking about.
    I've piddled with the aosp, caf, and now iho repos. I've tried several variants of grabbing iho, so the time and bandwidth have been adding up.
    Seems like I keep syncing in the middle of commits or something, I keep getting build errors in different CM projects.
    Appreciate the pointers. I'll definitely give your method a shot.
    I did find one blog which said
    If you have already downloaded old source code (for example, android-2.2_r1.1), you can reduce amount of newly download size to use old repository. so you download only the difference.
    and then gives instructions to copy over the old stuff.
    It definitely cuts the initial sync time, but I'm just not sure if it's carrying some kind of glitches into the new folder or not... so I'm trying full, clean sync again.
    I also noticed that
    Code:
    repo sync -j32
    running repo with some obscene number of threads seems to speed up the resume on a broken initial sync.
    I hadn't tried the -f option, I'll definitely test this out.
    09-30-2011 03:37 PM
  12. LeslieAnn's Avatar
    F.Y.I. Kernel.org is BACK up.

    I haven't checked to see if the repo we need is back yet or not though, but this is a positive sign.
    compjake, bigsupersquid and mrg666 like this.
    10-04-2011 03:37 PM
  13. compjake's Avatar
    F.Y.I. Kernel.org is BACK up.

    I haven't checked to see if the repo we need is back yet or not though, but this is a positive sign.
    Sweet! I'll try to build a system later tonight and post the results. Thanks
    10-04-2011 03:58 PM
  14. JerryScript's Avatar
    Yes, Blarf pulled in all the commits from CM7.1 the other day, and merged a pull request I added to get the repo working again. You should have no problems now doing a clean repo sync with IHO.
    mrg666 likes this.
    10-04-2011 05:21 PM
  15. LeslieAnn's Avatar
    Unfortunately android.git.kernel.org/repo is still down.
    10-04-2011 07:05 PM
  16. mrg666's Avatar
    Unfortunately android.git.kernel.org/repo is still down.
    With the latest changes, syncing works without any complication/modification. I did not have any problem with syncing with the following sequence.
    - create another android directory
    - go into that directory and issue the following command
    repo init -u http://github.com/inferiorhumanorgans/android/ -b gingerbread
    - then, do
    repo sync

    Building is the same, i.e.

    source build/envsetup.sh
    lunch 4 (VM670 is now item 4 in the lunch menu)
    make bacon

    I have attached the latest repo here. I hope these work for you as well.
    JerryScript likes this.
    10-04-2011 08:08 PM
  17. JerryScript's Avatar
    That's how I've been doing it the past few days, no problems at all.

    One note- If you're using a Wubi install of Ubuntu, I highly recommend you reboot before building. The number one cause of build failures for me seems to be with running out of memory, and this usually occurs when I try to build after doing a previous build or a fresh repo sync. Rebooting solves the issues for me.
    10-05-2011 12:44 AM
  18. JerryScript's Avatar
    Any kernel builders care to share a quick rundown of how to build for the OV? I've been itching to get into the kernel, and I'm finally comfortable enough with building a ROM to try it out. Any insights into issues I might face building for the OV would be appreciated!
    10-05-2011 01:40 AM
  19. LeslieAnn's Avatar
    - go into that directory and issue the following command
    repo init -u http://github.com/inferiorhumanorgans/android/ -b gingerbread
    That is a different command than we need. That is the same as the old one, and probably works fine. The issue is step 9.

    You can't get past the curl command if you are building fresh. Step 9 fails because of it, and without it, you can't get further.

    As a replacement I believe Jerry was using:
    curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo

    Is that still the case?
    When I used that, my install went from a 20gb drive being plenty to needing a 30gig and still lacked the VM files.
    10-05-2011 05:08 AM
  20. mrg666's Avatar
    That is a different command than we need. That is the same as the old one, and probably works fine. The issue is step 9.
    That simple command was all I needed. It worked just like in the old days
    10-05-2011 05:41 AM
  21. asadullah's Avatar
    I'll haven't built one in a while but I wrote a guide here

    It's for the optimus m but it works for the v. One thing to note is to use the config.gz from a stock rom


    Any kernel builders care to share a quick rundown of how to build for the OV? I've been itching to get into the kernel, and I'm finally comfortable enough with building a ROM to try it out. Any insights into issues I might face building for the OV would be appreciated!
    JerryScript likes this.
    10-05-2011 05:58 AM
  22. LeslieAnn's Avatar
    That simple command was all I needed. It worked just like in the old days
    You started from a working system from before though correct?
    There is a config file that you have to get while using that command.
    10-05-2011 03:54 PM
  23. mrg666's Avatar
    You started from a working system from before though correct?
    There is a config file that you have to get while using that command.
    No, for the last build I have completely deleted the build directory,initialized and synced from scratch as I have posted earlier. I had to add my settings/changes again in the downloaded files. I started fresh since I had diverged from the IHO repo while I was adding the CM changes myself with a modified manifest to bypass kernel.org when IHO repo was not in sync with CM for several weeks.
    10-05-2011 04:45 PM
  24. LeslieAnn's Avatar
    No, for the last build I have completely deleted the build directory,initialized and synced from scratch as I have posted earlier. I had to add my settings/changes again in the downloaded files. I started fresh since I had diverged from the IHO repo while I was adding the CM changes myself with a modified manifest to bypass kernel.org when IHO repo was not in sync with CM for several weeks.
    Did you skip that step or use a different one? Sorry, I don't quite understand.
    10-05-2011 06:33 PM
  25. mrg666's Avatar
    Did you skip that step or use a different one? Sorry, I don't quite understand.
    If you mean bypassing the kernel.org, there is no need to do anything special about it anymore. Just three steps to build pure IHO starting from scratch.

    - initialize repo in an empty directory
    repo init -u http://github.com/inferiorhumanorgans/android/ -b gingerbread
    - sync repo
    repo sync
    - build
    source build/envsetup.sh
    lunch 4
    make bacon

    That is all you need if you have all of the required build tools/libraries installed in your Linux system. Since you were building before, those should already be there. The repo script is in my previous post.
    10-05-2011 07:34 PM
1,060 ... 45678 ...
LINK TO POST COPIED TO CLIPBOARD