[DEVS ONLY] ics repo

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
Just FYI - If you sync with CM to begin, then pull in tdm's device and vendor folders, then pull in mikegapinski's webrtc fix and tdm's cm/tools fix, you'll have a working build, remove the terminal and ROM Manager packages. ;)

Code:
mkdir -p ics
cd ics
repo init -u git://github.com/CyanogenMod/android.git -b ics
repo sync

git clone git://github.com/tdm/tdm_device_lge_thunderc.git
mkdir -p device/lge
mv tdm_device_lge_thunderc device/lge/thunderc

git clone git://github.com/tdm/tdm_vendor_lge_thunderc.git
mkdir -p vendor/lge
mv tdm_vendor_lge_thunderc vendor/lge/thunderc

// edit vendor_thunderc.mk to remove the terminal and ROM Managaer packages

// manually add in mikegapinski's webrtc fix

// manually add in tdm's cm/tools fix

. build/envsetup.sh
lunch 5
make bacon
From there, start to bring init.thunderc.rc and init.rc more inline with IHO's, add CdmaSMSDispatcher.java from the triumph as well as tdm's MMS hack, change the apns-conf settings for mcc and mnc and crib in IHO's mms_conf file.

This will give you a working build with offline-charging (still a bit buggy), working MMS, and pretty much everything else except camera/video.

What's really needed atm is a kernel with a working xt_qtaguid module. ;)

The kernel source is on my github and you can pull the binaries out of alpha7.

I'm going to tackle github checkin a soon as i can get a good model for multiple sub-models. Likely tomorrow.
 
  • Like
Reactions: JerryScript

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
I attached the error I got in Detail if needed. In brief, its:
Code:
UNEXPECTED TOP-LEVEL ERROR:
Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Error 1
I'm building from Kraven's ICS branch btw. Is it something to do with my Java version? Like I guess the process checks if I have all the components before initializing build, doesn't it?
This is my Java version
Code:
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)

I tried looking for Sun java but got an error that that Sun Java is not available for amd64 computers :-\
Help me out please

If you are on debian/ubuntu use the java packages that i built for LeslieAnn's server. They are in /usr/local/src i think.
 
  • Like
Reactions: Invincible Madness

sellers86

Well-known member
Jul 21, 2011
1,837
617
0
Visit site
The kernel source is on my github and you can pull the binaries out of alpha7.

I'm going to tackle github checkin a soon as i can get a good model for multiple sub-models. Likely tomorrow.

Jerry's method doesn't work either. Your vendor and device file aren't on git
 

rukin5197

Well-known member
May 26, 2011
1,105
628
0
Visit site
Hmm.. replaced your files with mine tdm and seem to be getting this error:
Code:
gannon@gannon-HP-G56-Notebook-PC:~/android/system$ repo sync 
Fetching projects:   6% (15/234)  error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
From git://github.com/BobZhome/android_device_lge_thunderc
 * [new branch]      gingerbread -> chaos/gingerbread
error: refs/remotes/origin/master does not point to a valid object!
 * [new branch]      ics-old    -> chaos/ics-old
error: refs/remotes/origin/master does not point to a valid object!
Fetching projects:  61% (143/234)  remote: Counting objects: 312, done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 237 (delta 134), reused 183 (delta 80)
Receiving objects: 100% (237/237), 36.71 KiB, done.
Resolving deltas: 100% (134/134), completed with 51 local objects.
From git://github.com/CNA/android_frameworks_base
   ebe4954..2a64494  mod        -> github/mod
Fetching projects:  68% (160/234)  remote: Counting objects: 9, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 5 (delta 2), reused 3 (delta 1)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_hardware_libhardware_legacy
   0662f25..b054def  ics        -> github/ics
Fetching projects:  70% (164/234)  remote: Counting objects: 9, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 1), reused 3 (delta 0)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_hardware_qcom_media
   3e0d2c9..3bb5ce0  ics        -> github/ics
Fetching projects:  75% (176/234)  remote: Counting objects: 285, done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 194 (delta 110), reused 167 (delta 83)
Receiving objects: 100% (194/194), 96.31 KiB | 147 KiB/s, done.
Resolving deltas: 100% (110/110), completed with 15 local objects.
From git://github.com/CNA/android_packages_apps_Camera
   a20b0a8..e93cfa3  mod-4.0.3  -> github/mod-4.0.3
   91716c9..4ffe79d  stock-4.0.3 -> github/stock-4.0.3
Fetching projects:  76% (178/234)  remote: Counting objects: 42, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 30 (delta 23), reused 20 (delta 13)
Unpacking objects: 100% (30/30), done.
From git://github.com/CNA/android_packages_apps_Contacts
   8572a99..f2a2485  mod-4.0.3  -> github/mod-4.0.3
Fetching projects:  79% (185/234)  remote: Counting objects: 29, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 15 (delta 11), reused 15 (delta 11)
Unpacking objects: 100% (15/15), done.
From git://github.com/CNA/android_packages_apps_Launcher2
   d35e421..7eae2f4  4.0.3      -> github/4.0.3
Fetching projects:  82% (192/234)  remote: Counting objects: 59, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 43 (delta 30), reused 26 (delta 13)
Unpacking objects: 100% (43/43), done.
From git://github.com/CNA/android_packages_apps_Phone
   a14e491..e0f587e  mod-4.0.3  -> github/mod-4.0.3
Fetching projects:  84% (197/234)  remote: Counting objects: 312, done.
remote: Compressing objects: 100% (177/177), done.
remote: Total 284 (delta 194), reused 167 (delta 77)
Receiving objects: 100% (284/284), 60.61 KiB, done.
Resolving deltas: 100% (194/194), completed with 23 local objects.
From git://github.com/CNA/android_packages_apps_Settings
   30a59ea..64cb6fa  mod-4.0.3  -> github/mod-4.0.3
remote: Counting objects: 47, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 33 (delta 8), reused 28 (delta 3)
Unpacking objects: 100% (33/33), done.
From git://github.com/CNA/androcom_packages_apps_speakerproximity
   7da1aa9..d88c62b  trunk      -> github/trunk
Fetching projects:  88% (206/234)  remote: Counting objects: 57, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 45 (delta 34), reused 31 (delta 20)
Unpacking objects: 100% (45/45), done.
From git://github.com/CNA/android_packages_inputmethods_LatinIME
   feab1d2..8641faf  stock-4.0.3 -> github/stock-4.0.3
Fetching projects:  91% (213/234)  remote: Counting objects: 16, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 9 (delta 4), reused 8 (delta 3)
Unpacking objects: 100% (9/9), done.
From git://github.com/CyanogenMod/android_packages_providers_MediaProvider
   0b35e09..a80e378  gb-release-7.2 -> github/gb-release-7.2
   0b35e09..3aeba34  gingerbread -> github/gingerbread
Fetching projects:  97% (227/234)  remote: Counting objects: 15, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9 (delta 7), reused 5 (delta 3)
Unpacking objects: 100% (9/9), done.
From git://github.com/CyanogenMod/android_system_core
   2c61f5c..113df48  ics        -> github/ics
Fetching projects: 100% (234/234)  error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
From git://github.com/BobZhome/vendor_lge_thunderc
 * [new branch]      gingerbread -> chaos/gingerbread
error: refs/remotes/origin/master does not point to a valid object!
 * [new branch]      ics        -> chaos/ics
error: refs/remotes/origin/master does not point to a valid object!
 * [new branch]      ics-old    -> chaos/ics-old
error: refs/remotes/origin/master does not point to a valid object!
Fetching projects: 100% (234/234), done.  
Syncing work tree:   6% (14/233)  Traceback (most recent call last):
  File "/home/gannon/android/system/.repo/repo/main.py", line 238, in <module>
    _Main(sys.argv[1:])
  File "/home/gannon/android/system/.repo/repo/main.py", line 220, in _Main
    repo._Run(argv)
  File "/home/gannon/android/system/.repo/repo/main.py", line 125, in _Run
    cmd.Execute(copts, cargs)
  File "/home/gannon/android/system/.repo/repo/subcmds/sync.py", line 417, in Execute
    project.Sync_LocalHalf(syncbuf)
  File "/home/gannon/android/system/.repo/repo/project.py", line 1013, in Sync_LocalHalf
    upstream_gain = self._revlist(not_rev(HEAD), revid)
  File "/home/gannon/android/system/.repo/repo/project.py", line 1594, in _revlist
    return self.work_git.rev_list(*a, **kw)
  File "/home/gannon/android/system/.repo/repo/project.py", line 1739, in rev_list
    p.stderr))
error.GitError: android_device_lge_thunderc rev-list ('^HEAD', '946f90202c42ee4604d30c4a9c9694c9a3b64fff', '--'): fatal: bad revision '^HEAD'
The last part makes me think that it is looking for a md5sum that it is getting the incorrect one (probably due to me switching the files out. The middle part looks like a bad curl for repo, and I can't tell you the begging...
 

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
Hmm.. replaced your files with mine tdm and seem to be getting this error:
Code:
gannon@gannon-HP-G56-Notebook-PC:~/android/system$ repo sync 
Fetching projects:   6% (15/234)  error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
From git://github.com/BobZhome/android_device_lge_thunderc
 * [new branch]      gingerbread -> chaos/gingerbread
error: refs/remotes/origin/master does not point to a valid object!
 * [new branch]      ics-old    -> chaos/ics-old
error: refs/remotes/origin/master does not point to a valid object!
Fetching projects:  61% (143/234)  remote: Counting objects: 312, done.
remote: Compressing objects: 100% (124/124), done.
remote: Total 237 (delta 134), reused 183 (delta 80)
Receiving objects: 100% (237/237), 36.71 KiB, done.
Resolving deltas: 100% (134/134), completed with 51 local objects.
From git://github.com/CNA/android_frameworks_base
   ebe4954..2a64494  mod        -> github/mod
Fetching projects:  68% (160/234)  remote: Counting objects: 9, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 5 (delta 2), reused 3 (delta 1)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_hardware_libhardware_legacy
   0662f25..b054def  ics        -> github/ics
Fetching projects:  70% (164/234)  remote: Counting objects: 9, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 1), reused 3 (delta 0)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_hardware_qcom_media
   3e0d2c9..3bb5ce0  ics        -> github/ics
Fetching projects:  75% (176/234)  remote: Counting objects: 285, done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 194 (delta 110), reused 167 (delta 83)
Receiving objects: 100% (194/194), 96.31 KiB | 147 KiB/s, done.
Resolving deltas: 100% (110/110), completed with 15 local objects.
From git://github.com/CNA/android_packages_apps_Camera
   a20b0a8..e93cfa3  mod-4.0.3  -> github/mod-4.0.3
   91716c9..4ffe79d  stock-4.0.3 -> github/stock-4.0.3
Fetching projects:  76% (178/234)  remote: Counting objects: 42, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 30 (delta 23), reused 20 (delta 13)
Unpacking objects: 100% (30/30), done.
From git://github.com/CNA/android_packages_apps_Contacts
   8572a99..f2a2485  mod-4.0.3  -> github/mod-4.0.3
Fetching projects:  79% (185/234)  remote: Counting objects: 29, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 15 (delta 11), reused 15 (delta 11)
Unpacking objects: 100% (15/15), done.
From git://github.com/CNA/android_packages_apps_Launcher2
   d35e421..7eae2f4  4.0.3      -> github/4.0.3
Fetching projects:  82% (192/234)  remote: Counting objects: 59, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 43 (delta 30), reused 26 (delta 13)
Unpacking objects: 100% (43/43), done.
From git://github.com/CNA/android_packages_apps_Phone
   a14e491..e0f587e  mod-4.0.3  -> github/mod-4.0.3
Fetching projects:  84% (197/234)  remote: Counting objects: 312, done.
remote: Compressing objects: 100% (177/177), done.
remote: Total 284 (delta 194), reused 167 (delta 77)
Receiving objects: 100% (284/284), 60.61 KiB, done.
Resolving deltas: 100% (194/194), completed with 23 local objects.
From git://github.com/CNA/android_packages_apps_Settings
   30a59ea..64cb6fa  mod-4.0.3  -> github/mod-4.0.3
remote: Counting objects: 47, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 33 (delta 8), reused 28 (delta 3)
Unpacking objects: 100% (33/33), done.
From git://github.com/CNA/androcom_packages_apps_speakerproximity
   7da1aa9..d88c62b  trunk      -> github/trunk
Fetching projects:  88% (206/234)  remote: Counting objects: 57, done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 45 (delta 34), reused 31 (delta 20)
Unpacking objects: 100% (45/45), done.
From git://github.com/CNA/android_packages_inputmethods_LatinIME
   feab1d2..8641faf  stock-4.0.3 -> github/stock-4.0.3
Fetching projects:  91% (213/234)  remote: Counting objects: 16, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 9 (delta 4), reused 8 (delta 3)
Unpacking objects: 100% (9/9), done.
From git://github.com/CyanogenMod/android_packages_providers_MediaProvider
   0b35e09..a80e378  gb-release-7.2 -> github/gb-release-7.2
   0b35e09..3aeba34  gingerbread -> github/gingerbread
Fetching projects:  97% (227/234)  remote: Counting objects: 15, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9 (delta 7), reused 5 (delta 3)
Unpacking objects: 100% (9/9), done.
From git://github.com/CyanogenMod/android_system_core
   2c61f5c..113df48  ics        -> github/ics
Fetching projects: 100% (234/234)  error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
error: refs/remotes/origin/master does not point to a valid object!
From git://github.com/BobZhome/vendor_lge_thunderc
 * [new branch]      gingerbread -> chaos/gingerbread
error: refs/remotes/origin/master does not point to a valid object!
 * [new branch]      ics        -> chaos/ics
error: refs/remotes/origin/master does not point to a valid object!
 * [new branch]      ics-old    -> chaos/ics-old
error: refs/remotes/origin/master does not point to a valid object!
Fetching projects: 100% (234/234), done.  
Syncing work tree:   6% (14/233)  Traceback (most recent call last):
  File "/home/gannon/android/system/.repo/repo/main.py", line 238, in <module>
    _Main(sys.argv[1:])
  File "/home/gannon/android/system/.repo/repo/main.py", line 220, in _Main
    repo._Run(argv)
  File "/home/gannon/android/system/.repo/repo/main.py", line 125, in _Run
    cmd.Execute(copts, cargs)
  File "/home/gannon/android/system/.repo/repo/subcmds/sync.py", line 417, in Execute
    project.Sync_LocalHalf(syncbuf)
  File "/home/gannon/android/system/.repo/repo/project.py", line 1013, in Sync_LocalHalf
    upstream_gain = self._revlist(not_rev(HEAD), revid)
  File "/home/gannon/android/system/.repo/repo/project.py", line 1594, in _revlist
    return self.work_git.rev_list(*a, **kw)
  File "/home/gannon/android/system/.repo/repo/project.py", line 1739, in rev_list
    p.stderr))
error.GitError: android_device_lge_thunderc rev-list ('^HEAD', '946f90202c42ee4604d30c4a9c9694c9a3b64fff', '--'): fatal: bad revision '^HEAD'
The last part makes me think that it is looking for a md5sum that it is getting the incorrect one (probably due to me switching the files out. The middle part looks like a bad curl for repo, and I can't tell you the begging...

Dunno. I see multiple repos there. That always complicates things, especially for the ones you don't own.

I'd try using just CM plus my alpha7 tarball.

Oh, and note I left the .git directory from lupohirp's github in both device/lge/thunderc and vendor/lge/thunderc directories. Feel free to nuke them, it has no possibility of helping and might confuse the repo script.
 

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
Also, I started playing with building AOSP 4.0.3. I gotta say that I have a whole new level of appreciation for CM. I'd never get through all the build errors without looking over at the CM9 sources to see how they fixed things.
 
  • Like
Reactions: JerryScript

rukin5197

Well-known member
May 26, 2011
1,105
628
0
Visit site
Dunno. I see multiple repos there. That always complicates things, especially for the ones you don't own.

I'd try using just CM plus my alpha7 tarball.

Oh, and note I left the .git directory from lupohirp's github in both device/lge/thunderc and vendor/lge/thunderc directories. Feel free to nuke them, it has no possibility of helping and might confuse the repo script.

Yeah I havent gotten around to changing it to just be 2 repos, mine and CMs. But this is my CNA rom and I need their framework/base in order for it to work, so I need their repo. Lol
I already placed your .gits there thinking stupidly, lol, but I guess no way to turn back now? Idk. I'm sure I'll find a way past it :)

Sent from my Amazon Kindle Fire using Tapatalk
 

flapjack.fiasco

Well-known member
Sep 13, 2011
776
102
0
Visit site
This thread has been a great read! Lots of heads-ups for me while I learn about git.

Know that the problems you're having are helping someone else learn, for whatever it's worth.

Sent from my LG-VM670 using Tapatalk
 

rukin5197

Well-known member
May 26, 2011
1,105
628
0
Visit site
Also, I started playing with building AOSP 4.0.3. I gotta say that I have a whole new level of appreciation for CM. I'd never get through all the build errors without looking over at the CM9 sources to see how they fixed things.

While you're on that, I'm kinda feeling a little AOKP, ;)
 

tvall

Well-known member
Nov 27, 2011
591
353
0
Visit site
A question, I built cm9 last night and everything is good, except the home button ain't working. Anyone else have this issue? Used the files tdm posted earlier plus the patches Jerryscript mentioned. Its running the prebuilt gingerkernel included in tdm's files

Btw, it takes like 8 hours to build cm9 on a 2.8ghz Pentium D with 2gb of ram running debian sid
 

tdm

Well-known member
Apr 11, 2011
1,409
3,596
0
Visit site
A question, I built cm9 last night and everything is good, except the home button ain't working. Anyone else have this issue? Used the files tdm posted earlier plus the patches Jerryscript mentioned. Its running the prebuilt gingerkernel included in tdm's files

Btw, it takes like 8 hours to build cm9 on a 2.8ghz Pentium D with 2gb of ram running debian sid

I don't think I pushed the VM670 button mapping fix for the kernel yet. Try swapping the buttons in Generic.kl.

I'll get that pushed shortly.
 

Trending Posts

Forum statistics

Threads
942,398
Messages
6,913,872
Members
3,158,395
Latest member
djaa7