tdm
Well-known member
I would but I'm using leslieanns build server so I'm not sure if I can without messing something up
You won't mess it up. That's the beauty of permissions on UNIX.
I would but I'm using leslieanns build server so I'm not sure if I can without messing something up
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.
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.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
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.
I attached the error I got in Detail if needed. In brief, its:
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?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
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
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
Jerry's method doesn't work either. Your vendor and device file aren't on git
Yeah I know, I'm still working out how to arrange them to build multiple devices like IHO.
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'
Hmm.. replaced your files with mine tdm and seem to be getting this error:
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...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'
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.
Got an AOSP ICS build. Dare I install it?!?
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.
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