CM9 build environment - T-Mobile Samsung Galaxy S II SGH-T989

Any DEVs give me some advice? I'm trying to set up my build environment for compiling CM9.. I'm following the Wiki Guide on CM's site and I'm stuck at a roadblock for pulling the proprietary files thru adb off the hercules.. problem is I can't find them or the extract-files.sh. Supposedly they are in the /android/system/device/hercules right? I'm not finding it anywhere.. Any suggestions?

Try following this guide
http://www.teamchopsticks.org/p/contributing.html?m=0
Sent from my SAMSUNG-SGH-T989 using xda app-developers app

Related

[Q] Compiling kernel for Desire Z ROMs (w/ Sense)

Herro all!
If my research serves me right, HTC has yet to release the source code for the kernel used in the Desire Z. I've tried compiling a kernel from Cyanogen's repo https://github.com/CyanogenMod/htc-kernel-vision but it doesn't boot. I pulled the config from the stock ROM and disabled some (supposedly) unnecessary drivers so that it would compile.
Does anyone have working kernel sources for Sense ROMs? I hope to make this thread a unified effort to fix the available sources.
That's odd. It should work on both. My kernel boots fine on the stock sense rom. And if you look at developer.htc.com the only kernel source released is the desire Z, the G2 has the source of all system files
Sent from my T-Mobile G2 using XDA App
You're probably running into the same issue I did when i started building Vision kernels. The base offset is different for these boot images, it needs to be 0x04000000.
rmk40 said:
You're probably running into the same issue I did when i started building Vision kernels. The base offset is different for these boot images, it needs to be 0x04000000.
Click to expand...
Click to collapse
Thanks. I'll test and post my repo up when I get something going.
Can someone who knows? Post a TUT to build the vision kernel? That's the only thing i am missing on my mac
Thanks if anyone does it.
i think that link is broken plz test it
rhcp0112345 said:
Can someone who knows? Post a TUT to build the vision kernel? That's the only thing i am missing on my mac
Thanks if anyone does it.
Click to expand...
Click to collapse
I second this request.. I was able to compile for my G1 and ever since I got my G2 I have been unable to get it to work... It has to be something that I am doing wrong but I can't figure it out.
a TUT and thread for support would be great!
Sent from my HTC Vision using XDA Premium App
can someone confirm for me that to compile Gingerbread I need a 64 bit system?... I have compiled froyo from cm github and have had trouble ever since I tried gingerbread... and I read today that 2.3 requires a 64 bit system... Is this true or is it outdated info?
Thanks for your time.
Sent from my HTC Vision using XDA Premium App
TheNewGuy said:
can someone confirm for me that to compile Gingerbread I need a 64 bit system?... I have compiled froyo from cm github and have had trouble ever since I tried gingerbread... and I read today that 2.3 requires a 64 bit system... Is this true or is it outdated info?
Thanks for your time.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
theres a guide on how to compile gingerbread on a 32bit system. i dont have a bookmark bu search it on google, its a Chinese site if not mistaken.
Ok I think I may have found a similar site... I just wasn't sure who to believe... Thanks for your time.
Sent from my HTC Vision using XDA Premium App

[Q] Aosp build setting vendor overlay

Could someone point me to the repository containg the vendor overlay for the desire on a gb 2.3.7 build
e.g. here is the code i would use if building for the incredible
code:
cd ~/mydroid/system/device
cd htc
mkdir inc
cd inc
git clone http://github.com/koush/android_device_htc_inc.git inc
What i want to know is what url should i put in place of the red text for the desire?
Thanks I'm new to this
You could just use an extract from a working Rom or phone using the extract or unzip sh in the cm repository
Sent from my HTC Desire using xda premium
Are you suggesting i build it for a generic device and add drivers afterwards?
Pull the ones from cm7? Seems like a decent plan.
No you build everything specific for the bravo. You use the extracted proprietory files to complete the source
Sent from my HTC Desire using xda premium
rootSU said:
No you build everything specific for the bravo. You use the extracted proprietory files to complete the source
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Ye but apart from the proprietary files he'll also need the vendor folder containing all device specific non proprietary files and make-files for desire as well as a script to pull the proprietary files, and this seems to be the one he's looking for.
Non of the above is included for the desire in AOSP, so he'll need to get it somewhere else like from the cm7 project.
And device. Possibly hardware too
Sent from my HTC Desire using xda premium
Thank you for all the replies i'm still rather confused but i'm going to try using the vendor overlay for cyanogen with the make files and script and just see what happens
Sent from my HTC Desire using XDA App
Yep it should work ok, even though the make-files could need some adjusting. As a second option, Oxygen is also open source with desire support, so you could borrow those as well, but they should be pretty similar to the cm ones.
Rootsu when could you give me a short explanation of how you went about building etc. I have set up the builds environment and can build a rom for the emulator or nexus s. All i'm trying to do is build a basic stock GB ROM for the desire as part of teaching myself how to develop Android roms I understand dgb was a similar room for you which you have since worked on and published to these forums
Sent from my HTC Desire using XDA App
I used the redux 1.2 github repository to start with. I started there as for me it was the best Rom.
All I had to do to compile was get the proprietory files using the extract.sh
What I then did was learn my way around the source and work out how to change what needed changing. Swapping out the majority of the source with the Google repository.
There's still stuff I need to learn though, like changing the kernel but time is an issue for me.
I would recommend using redux or oxygen source as a starting point if I were you as cm is very different to pure aosp. I didn't know oxygen sources were available....
Sent from my HTC Desire using xda premium
A simple guide containing the oxygen and dev-null git links:
http://forum.oxygen.im/viewtopic.php?id=688
Thanks everyone really helpful
Sent from my HTC Desire using XDA App

[Q] Compiling CM10.1

Hey Guys i no i might seem like a noob but i want to compile cm10.1 for the play ive got a pc with pretty decent specs
i7 2600 3.4GHz And 4GB Of Ram and ubuntu 12.04 LTS 64BIT the questions is can it be done since fxp hasnt done this yet would i have to compile my own kernel and such
extremetempz said:
Hey Guys i no i might seem like a noob but i want to compile cm10.1 for the play ive got a pc with pretty decent specs
i7 2600 3.4GHz And 4GB Of Ram and ubuntu 12.04 LTS 64BIT the questions is can it be done since fxp hasnt done this yet would i have to compile my own kernel and such
Click to expand...
Click to collapse
Firstly, This should go in the questions sub forum, that's what its there for. Secondly, FXP has a working build for the Xperia Play. So you could use there ROM as a base. Compile everything normally and CM10 should and when you build your ROM should work with CM10 ROMs. If not, you either heavily modified the ROM and you most likely will need a custom ROM(Unlikley) or you made a mistake. Reply if you need links to the got source. Happy building! :beer:
Sent from my Xperia Play using xda app-developers app
JunDavis said:
Firstly, This should go in the questions sub forum, that's what its there for. Secondly, FXP has a working build for the Xperia Play. So you could use there ROM as a base. Compile everything normally and CM10 should and when you build your ROM should work with CM10 ROMs. If not, you either heavily modified the ROM and you most likely will need a custom ROM(Unlikley) or you made a mistake. Reply if you need links to the got source. Happy building! :beer:
Sent from my Xperia Play using xda app-developers app
Click to expand...
Click to collapse
What i Dont Think They Have CM10.1 Built Yet?? Link If They Do
Official FXP development thread.
http://forum.xda-developers.com/showthread.php?t=1780322
Sent from my Xperia Play using xda app-developers app
JunDavis said:
Official FXP development thread.
http://forum.xda-developers.com/showthread.php?t=1780322
Sent from my Xperia Play using xda app-developers app
Click to expand...
Click to collapse
Thats CM10 i Need 10.1 I Want To Make Android 4.2
extremetempz said:
Thats CM10 i Need 10.1 I Want To Make Android 4.2
Click to expand...
Click to collapse
Oh OK! Didn't see the .1. Yes get it from source and try to port? You might have to make some kernel adjustments. I recommend trying to port a similar device or ROM using 4.2. Sorry for the misunderstanding.
Glad to see someone actually noticed 4.2
••••••••••••••••••••••
If I helped you. Please click the thanks button!
Seems that with the actual sources they put on github you can't achieve that,we need either fxp to push their source or to debug it ourselves, I just made a build this morning but it doesn't go past the kernel logo, and can't seem to be able to logcat, the strange thing is that adb doesn't recognize the phone but I was able to use flashtool to reboot it in flashmode via adb, any suggestions?
Sent from my R800i using xda app-developers app
sasukekun67 said:
Seems that with the actual sources they put on github you can't achieve that,we need either fxp to push their source or to debug it ourselves, I just made a build this morning but it doesn't go past the kernel logo, and can't seem to be able to logcat, the strange thing is that adb doesn't recognize the phone but I was able to use flashtool to reboot it in flashmode via adb, any suggestions?
Sent from my R800i using xda app-developers app
Click to expand...
Click to collapse
Log cat should work. Pm me the ROM and I'll log cat it for you.
••••••••••••••••••••••
If I helped you. Please click the thanks button!
You may be able to port the Arc release while using a 4.1.2 kernel.
Sent from my Xperia Play using xda premium
I got a logcat thanks, will see what is wrong later, I'm very noob at this so don't expect anything from that try, it's just a way for me to start learning
Sent from my R800i using xda app-developers app
Leraeniesh said:
You may be able to port the Arc release while using a 4.1.2 kernel.
Sent from my Xperia Play using xda premium
Click to expand...
Click to collapse
He will need to make modifications to Ramdisk for the kernel to work fxp cm10 zImage is fine
Sent from my GT-I9300 On Official JB

[q] Basic source stuff

Hello every one. I wanted to ask where a beginer with no understanding about making rom's from source cloud find information to understand the hole sourece thingy and start making rom's.
Sent from my GT-5660 using sparta kick.
Just go read nearly all the general stuff toppic is what i do when i have a new phone. Today i got a second gio that needs fixing and a update.. For fun i start with the general toppic. Than i progress the other thopic's. Put some time in it to understand stuff.
See if you can backup the phone system and root the phone. Next a new recovery and a new rom. The info is all in this part of the gio forum.
thanks but I wanted to ask about making rom's from source I already have root,cwm recovery and a custom rom. I just want to know what shoud I do to understad how to make rom's from sorce.But still thanks.
Sent from my GT-5660 using xda premium
arniks8 said:
thanks but I wanted to ask about making rom's from source I already have root,cwm recovery and a custom rom. I just want to know what shoud I do to understad how to make rom's from sorce.But still thanks.
Sent from my GT-5660 using xda premium
Click to expand...
Click to collapse
building a rom from source is simple
you only need to setup the source directorys and sync some stuff the let the automated compile progress hapen and done
everyone can do this
but modifying java and xml
c++ c etc
is mostly on source
if you take like stock rom and smali modify its gonna be bit harder because of no source
but alsomore fun
Sent from my S500 using xda app-developers app
thanks.
Sent from my GT-5660 using xda premium

[Q] Help with building cm11

I have been attempting to build cm11. I have followed the guide on the cyanogenmod site to build for d2spr. the build completed but will not boot past the splash screen. If anyone could tell me what Im missing I would greatly appreciate it. I have attached a copy of the terminal output after the build. I'm very new to linux so I really don't know what to look for. I'm using Ubuntu 12.04.
I can give more info if needed. Anyone?
Sent from my SPH-L710 using XDA Premium 4 mobile app

Categories

Resources