Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
4 votes

[GUIDE] Build Your Own CM9 for Touchpad!

cm9 touchpad tenderloin build ics
  • Please log in to reply

DarkMoS

DarkMoS

Average Android

Posted 16 April 2012 - 10:36 AM #641

Yep there has been 2 pages of merges since yesterday, time to cleanup my setup ^^
I guess we now have to run roomservice before each build in order to keep the kernel up to date?

repo sync
build/tools/roomservice.py cm_tenderloin
. build/envsetup.sh
brunch tenderloin

  • 0 Likes

OP eyeballer

eyeballer

TeamWin

Posted 16 April 2012 - 11:44 AM #642

Yep there has been 2 pages of merges since yesterday, time to cleanup my setup ^^
I guess we now have to run roomservice before each build in order to keep the kernel up to date?

repo sync
build/tools/roomservice.py cm_tenderloin
. build/envsetup.sh
brunch tenderloin


No, just the first time. After that it's added to local_manifest and will be sync'd with repo sync.
  • 1 Likes
Posted Image Posted Image

Redflea

Redflea

Supporting Member

  • 4,550 posts

Posted 16 April 2012 - 11:54 AM #643

No, just the first time. After that it's added to local_manifest and will be sync'd with repo sync.


Cool...thanks for all the info. I'll update the guide shortly.
  • 0 Likes
Noob Guide to set up a build environment & build Touchpad (CM9/CM10) or Galaxy Nexus (Fruits-n-Veggies/Liquid/AOKP) ROMs: http://goo.gl/Zpht8

Samsung Galaxy Nexus (Toro): ROM: AOKP (personal builds): Kernel: Franco's Nightly (usually)
HP Touchpad: CM9 Homemade Kang based on Dalingrin and Co.

Redflea

Redflea

Supporting Member

  • 4,550 posts

Posted 16 April 2012 - 01:24 PM #644

Built, used the new command to add the kernel build from source, flashed, starting boot now...stuck on Cyanogenmod logo (no boot animation) for a long time (minutes)...gonna wait a bit longer and if it doesn't complete boot I'll use power/home to restart and try again.

Wiped cache and dalvik cache and looks like it's still not booting. :(

Awwww...

Next trying a wipe data/factory reset. Yup - goin' nuclear! :)

That didn't work...restored my kernel from my last backup and it's booting...so something obviously either w/the compiled kernel, or a screw-up on my part. What should be the contents of the local_manifest file at this point? Mine just has stock content (http://pastebin.com/b3bdaQdr).

Anyone else getting it to boot w/the changes to build the kernel integrated?

Edited by Redflea, 16 April 2012 - 02:29 PM.

  • 0 Likes
Noob Guide to set up a build environment & build Touchpad (CM9/CM10) or Galaxy Nexus (Fruits-n-Veggies/Liquid/AOKP) ROMs: http://goo.gl/Zpht8

Samsung Galaxy Nexus (Toro): ROM: AOKP (personal builds): Kernel: Franco's Nightly (usually)
HP Touchpad: CM9 Homemade Kang based on Dalingrin and Co.

lonewulf

lonewulf

Android Beginner

  • 29 posts

Posted 16 April 2012 - 04:02 PM #645

my build just stopped about 2hrs in (takes me about 3hrs total to complete a build after a make clean ect)

http://pastie.org/3800998

Im thinking my problem is something to do with my local_manifest.xml (didnt think I had anything kernel related in there, but appears I do)

http://pastie.org/3801262

any help would be greatly appreciated, thanks everyone.
  • 0 Likes

OP eyeballer

eyeballer

TeamWin

Posted 16 April 2012 - 04:23 PM #646

Built, used the new command to add the kernel build from source, flashed, starting boot now...stuck on Cyanogenmod logo (no boot animation) for a long time (minutes)...gonna wait a bit longer and if it doesn't complete boot I'll use power/home to restart and try again.

Wiped cache and dalvik cache and looks like it's still not booting. :(

Awwww...

Next trying a wipe data/factory reset. Yup - goin' nuclear! :)

That didn't work...restored my kernel from my last backup and it's booting...so something obviously either w/the compiled kernel, or a screw-up on my part. What should be the contents of the local_manifest file at this point? Mine just has stock content (http://pastebin.com/b3bdaQdr).

Anyone else getting it to boot w/the changes to build the kernel integrated?


Seems like the kernel source didn't get pulled down. Re-sync and run room service again. You should see it say "looking for dependencies... not found.. " then it should dl the kernel source and add a line to your manifest. If that doesn't clear it then clean out the local_manifest completely, rm -rf device/hp then "lunch tenderloin" should pull back in the device and kernel repos.

my build just stopped about 2hrs in (takes me about 3hrs total to complete a build after a make clean ect)

http://pastie.org/3800998

Im thinking my problem is something to do with my local_manifest.xml (didnt think I had anything kernel related in there, but appears I do)

http://pastie.org/3801262

any help would be greatly appreciated, thanks everyone.


Hm.. kernel build failed? Didn't it work for you last night in the IRC chan?? Join us again :)
  • 0 Likes
Posted Image Posted Image

lafester

lafester

Android Apprentice

  • 104 posts

Posted 16 April 2012 - 04:45 PM #647

damn I had put off building for awhile since we had some nightlies rolling in.
ugh. now I want to check out all these changes.

maybe later tonight i'll have to dive in and see what i can do.

Edited by lafester, 16 April 2012 - 04:45 PM.

  • 0 Likes

OP eyeballer

eyeballer

TeamWin

Posted 16 April 2012 - 05:22 PM #648

Actually looks like the build may have been broken for a short time.. So if you sync'd between 2.45pm and 5.10pm EST that might be why. Re-sync and try again :)

Posted Image
  • 0 Likes
Posted Image Posted Image

drmarble

drmarble

Android Lover

Posted 16 April 2012 - 06:51 PM #649

I did a build at Mon Apr 16 16:23:55 CDT 2012, (I keep track of build start and stop times). This was with a full, belt and suspenders:
repo forall -c git reset --hard && make clean && repo sync && make clobber && reposync
It worked fine for me. I have a new kernel now (time is just a bit later than build start).
I did have to remove kernel syncing from local_manifests.xml and apply roomservice.py. Lots or repo syncing. Now it all seems golden.

I still think Trebuchet looks terrible unless you hard code in cellCountX=8, and cellCountY=7. I'm trying to figure out how to get them from the settings.
Thanks for the recommendations on alternate launchers. I just want to make Trebuchet work right.
  • 0 Likes

Redflea

Redflea

Supporting Member

  • 4,550 posts

Posted 16 April 2012 - 07:23 PM #650

Repo sync'd again just now and rebuilding. I mis-spoke above, I didn't mean my manifest was still stock, but that i had started w/it stock. The manifest file was updated w/the kernel info successfully.

Sounds like a re-repo and build will fix things.
  • 0 Likes
Noob Guide to set up a build environment & build Touchpad (CM9/CM10) or Galaxy Nexus (Fruits-n-Veggies/Liquid/AOKP) ROMs: http://goo.gl/Zpht8

Samsung Galaxy Nexus (Toro): ROM: AOKP (personal builds): Kernel: Franco's Nightly (usually)
HP Touchpad: CM9 Homemade Kang based on Dalingrin and Co.