Advantages of compiling code? - Android Software/Hacking General [Developers Only]

So recently i have gotten seriously interested in the behind the scenes work that our great devs do here. I want to become a dev. I searched Google for how to compile cm7 for my phone and i got to the wiki. But why? They have a cm7 build for my phone already. What's the point of compiling vs flashing atinm's? What can i do to make it better? Or more personal. I couldn't find any threads on xda about this. Also any guides you would recommend for a wanna be dev ?
Thanks guys
Braiden Haas
<3
Sent from my SAMSUNG-SGH-I777 using xda premium

source.android.com
Here you can find everything you want know...

The point is to sync the source and snoop around and see how things work.
From there try and bring improvements and submit upstream.
Syncing/building is the first step.

For something like this, unless you want to hack CM or AOSP, you should just use the official CM builds that are published.
Sent from my Transformer TF101 using Tapatalk

Related

Dev starting point?

Hey guys, just wanted to get some advice from the devs around here on where to start with Rom and kernel development. I love flashing new roms and tweaking my play and transformer but I'd also love to know how it works and do some work myself. My question is where do I start?
Sent from my R800i using Tapatalk
First you may set up your working environement : http://source.android.com/source/initializing.html
Then, on the same site you can dowload the android open source project, or you can dowload team EOS source or any other team sources.
And I can't help you anymore, cause I'm stuck at the same point.
Thanks dude, I've got android SDK and eclipse on my pc and just downloaded some android dev books from kindle app so fingers crossed
Sent from my R800i using Tapatalk

[ROM]CM9 Unofficial KANG [SEMI-NIGHTLY]

I will build these as time permits, Hence "Semi Nightly".
Disclaimer:
I am not responsible for bricked devices or anything like that
I am NOT part of the CM team
Download Here:
cm-9-20120619-UNOFFICIAL-doubleshot.zip
cm-9-20120621-UNOFFICIAL-doubleshot.zip
cm-9-20120622-UNOFFICIAL-doubleshot.zip)
Gaaps are here: http://wiki.cyanogenmod.com/wiki/Latest_Version
I may try and do some modified builds, those will be marked as such and will be clearly labeled.
Credits to:
-Google
-CyanogenMod Community
-xmc wildchild22 (for the help setting up, thank you!)
Changelog: http://changelog.bbqdroid.org/
Donate
here is an OC version, 1.7:
nightly 6/21 OC 1.7
Thanks.
Sent from my myTouch_4G_Slide using Tapatalk 2
Nice! BTW you'll probably want to link gapps somewhere
What doesn't function properly in this ROM?
silverton said:
What doesn't function properly in this ROM?
Click to expand...
Click to collapse
Everything in Official CM9, might have new features. The last Sync was the 21st.
Sent from my myTouch_4G_Slide using Tapatalk 2
im guessing audio will be partially borked in this as there are changes in gerrit that are not merged yet, and without proper workaround (found in earlier states of doubleshot repos, and teamds repos) gtalk chat and g+ hangout will be having audio issues.
I am still testing what works and what doesn't I am new to this device. I'll add the link to gaaps in a bit. Tbalden is 100% about the audio
Issues. Thank you for that answer. I know tp wake works which is nice.
Sent from my myTouch_4G_Slide using xda premium
Thanks
Been running this since you posted it in the CM9 thread. Didn't full wipe when coming from Alpha 4 and I can say it's running just fine. Same bugs as Alpha 4, which I expected. Haven't noticed much of a difference at all actually but my battery life has sucked since rooting (damn you stock, I guess you are good for SOMETHING) so I keep flashing away hoping that it will improve. It may just be my imagination (or the fact that the battery is just getting more calibrated) but I have been noticing improvements from update to update. Thanks for putting these "nightlies" out there. There is definitely a place and purpose for teams testing their releases first but one of the reasons I root my phones is so I can get the first fruits and be a tester
I don't have plans to kang this, but I'm intrigued to see what people can come up with. Coming from the Glacier, I am still getting used to the comparatively low development for this device. (That's not necessarily a bad thing, 3 different devs releasing the same compiled AOKP is pretty redundant anyways.)
Thanks again.
my phone or rom?
Thanks for kang builds... a good head start for creating an alternative of mytouch4g slide custom rom
I have experience camera issue...
I have tried to capture few photos with camera... it seemed to be working but when i go to gallery, it kept infinity loading a photo... is it corrupted?
Anyone experience this with S-On Unlocked?
Wat r kang builds
Sent from my myTouch_4G_Slide using Tapatalk 2
edwardng said:
Thanks for kang builds... a good head start for creating an alternative of mytouch4g slide custom rom
I have experience camera issue...
I have tried to capture few photos with camera... it seemed to be working but when i go to gallery, it kept infinity loading a photo... is it corrupted?
Anyone experience this with S-On Unlocked?
Click to expand...
Click to collapse
I have not seen that issue. Maybe a logcat? And which nightly?
Sent from my myTouch_4G_Slide using xda premium
wiswis said:
Wat r kang builds
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
cm-9-20120621-UNOFFICIAL-doubleshot
I alrd S-off it, the issue was still there >.<
I think cm9 also got this problem, however, for some reasons, the virtuous rom run well if not mistaken
I attached logcat too. For anyone who passionate/ eager/ helpful Here we go...
Are you compiling these off the cm server farm or using your own home PC?
gtmaster303 said:
Are you compiling these off the cm server farm or using your own home PC?
Click to expand...
Click to collapse
My own
Sent from my myTouch_4G_Slide using xda premium
Any way you'll be able to get these builds into rom manager? That should help spread downloads
Ill take a look into that
There are new wallpapers by cm!
wiswis said:
Wat r kang builds
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
It's Pig Latin for Gank. You know, when you take something with out asking. It's just a term given to builds based of source with out any changes. If it had mods, and other goodies it wouldn't be a kang. Then you can kang other peoples work by just changing something a simple as the buld.prop. Kang is used for a lot of things. When I see Kang next to CM9/AOSP/AOKP/MIUI. It's normally good, but a Kang of a stock Rom. Those tend to be stolen work.
Also Kanging is the act of having sex with cankles.
Sent from my myTouch_4G_Slide using Tapatalk 2
AgentCherryColla said:
It's Pig Latin for Gank. You know, when you take something with out asking. It's just a term given to builds based of source with out any changes. If it had mods, and other goodies it wouldn't be a kang. Then you can kang other peoples work by just changing something a simple as the buld.prop. Kang is used for a lot of things. When I see Kang next to CM9/AOSP/AOKP/MIUI. It's normally good, but a Kang of a stock Rom. Those tend to be stolen work.
Also Kanging is the act of having sex with cankles.
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
lol there also used to be a developer (g1/ mytouch 3g days) by the nameof kang somethign he had a lifted truck and was well known for "kanging others work" i thought this was how the use of kang started off haha
---------- Post added at 06:00 PM ---------- Previous post was at 05:48 PM ----------
TCDroid said:
lol there also used to be a developer (g1/ mytouch 3g days) by the nameof kang somethign he had a lifted truck and was well known for "kanging others work" i thought this was how the use of kang started off haha
Click to expand...
Click to collapse
correction the original Kanger was kingklick he had the monster lifted truck and stole everything infact i think i remember him jipping someone out of a device... Ahh the good old days of the kanging..

[Q] ParanoidAndroid?

http://betadan.com/paranoid/paranoidandroid-project-sources/
if ParanoidAndroid is opensource, does that make it easier to build for our hardware?
lfwake08 said:
http://betadan.com/paranoid/paranoidandroid-project-sources/
if ParanoidAndroid is opensource, does that make it easier to build for our hardware?
Click to expand...
Click to collapse
once we get kernel source, yes
We don't need kernel source to have that. Idk why people think we need source to do everything. The only good thing about kernel source is oc and uv
Sent from my HTC One X using xda premium
smartguy044 said:
We don't need kernel source to have that. Idk why people think we need source to do everything. The only good thing about kernel source is oc and uv
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
umm and libs and drivers aren't different between the tegra 3 and Snapdragon S4?
Yes they are but you don't need source. I come from the att note which doesn't have official ics or source and we had pa. Pa is a aosp rom like cm9 and aokp and we have both of those. Which shows kernel source is not needed
Sent from my HTC One X using xda premium
We don't need kernel source for the initial port, though we probably will to get the port bug free (for example, the CM9 build and multitouch).
I tried downloading the PA source a few days back but it kept erroring out (something about signatures not being trusted or something)
It might just be an SSL error on my PC, I'll have another go at it sometime soon. Seems like an intriguing ROM.
Yea its a cool rom. A team mate ported it to the note and its pretty bug free. I haven't looked at their sources lately but have they released source for pad?
Sent from my HTC One X using xda premium
if i can do anything to help please let me know, im more than happy to be a tester and provide bug reports/logcats or whatever. also thanks for the responses!
Sent from my HTC One X using xda premium
I'm sorry I've looked at paranoid android before and for some reason I was confusing it with Coredroid.
I haz a stupid.
However, kernel source will make building an AOSP kernel much easier. Right now we're using the One S kernel source and while it works for the most part, there are still some niggling issues as can be seen in the AOKP and CM9 threads.
But hell yeah build that thang!
Yea in that aspect source will be great but since the kernel for cm9 seems good it'll work for now. But if any one does do this good luck they put their code everywhere and if you miss one strand it won't work
Sent from my HTC One X using xda premium
tips?
if i was possibly considering the idea of maybe taking a stab at this port, anyone have any tips or good reference information? i have a little java experience but am comfortable with the SDK & adb and such.
lfwake08 said:
if i was possibly considering the idea of maybe taking a stab at this port, anyone have any tips or good reference information? i have a little java experience but am comfortable with the SDK & adb and such.
Click to expand...
Click to collapse
learn how to build from source first
then learn how to merge cm9 commits into a local clone of paranoidandroid repo
then build it, and upload your device tree to git for others to work on
Learn smali coding it is the work of the devil but that's where most of the code is
Sent from my HTC One X using xda premium
right on, thank you gentlemen! ill start digging a bit and see what happens..
the guys over on the one S forums already have a stable build-
http://forum.xda-developers.com/showthread.php?t=1729811
since we share the same chipset could i use their rom as a starting point or i would still have to build from PA source? i really appreciate it guys sorry for my rookieness
also to those of you stateside- happy independence day! go have a beer and a burger
lfwake08 said:
the guys over on the one S forums already have a stable build-
http://forum.xda-developers.com/showthread.php?t=1729811
since we share the same chipset could i use their rom as a starting point or i would still have to build from PA source? i really appreciate it guys sorry for my rookieness
also to those of you stateside- happy independence day! go have a beer and a burger
Click to expand...
Click to collapse
It has been a starting point for our cm9, and miui, and I think aokp also.
Sent from my HTC One X using xda premium
smartguy044 said:
Learn smali coding it is the work of the devil but that's where most of the code is
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
god, i was hoping nobody would ever mention smali again!
i got the one s PA dev to help me work it out, hackfest will begin late tonight. thanks again fellas
Sent from my HTC One X using xda premium
hey just to update everyone i have a working pa now ill be testing the next couple hours before release
wow u guys are awesome. i was looking at the s3 forums and im a bit jealous because of the amount of development they seem to have so soon but i love this phone and im glad u guys are doing this for us. wish i could help, if u need any testers lmk.
definitely keeping an eye on this thread, that rom looked sick

new kernel dev needed

Since we lose intX and his kernel, anyone can take over his kernel and continue to update? Lets take a look the dev forum, except mohans rom and kernels , almost all thread is cm ,aokp roms.
Don't think you're gonna find help this way. Since the only incentive is interest, you'll just have to wait.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I've been thinking about building a custom kernel.. there are some extra modules I'd like to include anyway.
I've built the Linux kernel thousands of times, including cross compile for arm and custom patch sets etc.
But for some reason when i tried building an Android kernel a few months ago it just wouldn't boot no matter what. So don't get your hopes up.
I'll give it a shot though when i get a chance. You mainly want some extra governors? Under volt?
I'd rather start with a fresh cm base and merge in specific things as i go.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
everyone need custom kernel for different purpose. for me , i need only badass and the newest interactiveX governor, i think that is all i need. you can PM InstigatorX, he is move to a new phone , so may you can take over his thread. thanks anyway , it is a good thing to have hopes , and wait patiently ......
christianxin said:
Since we lose intX and his kernel, anyone can take over his kernel and continue to update? Lets take a look the dev forum, except mohans rom and kernels , almost all thread is cm ,aokp roms.
Click to expand...
Click to collapse
Ill be doing kernel builds and theming soon. I can do rom builds but we have enough devs for that at the moment with the rookie thread bringing in quite a few new devs. I have done things going on with my 4 daughters but as soon as I get that worked out ill be moving to kernels. Will be about a month before I have my first custom kernel released.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Request fulfilled, check out the development section.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
bps119 said:
Request fulfilled, check out the development section.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
If you are lazy http://forum.xda-developers.com/showthread.php?t=1949828

[REQ] Pure AOSP rom compiled with latest linaro toolchain

I'm in disbelief that I can't find one already, but is there any rom like this? Or is anyone homebuilding a rom like this?
please keep any anti-linaro speak to oneself.
Sent from my Nexus 5
notbrodie said:
I'm in disbelief that I can't find one already, but is there any rom like this? Or is anyone homebuilding a rom like this?
please keep any anti-linaro speak to oneself.
Sent from my Nexus 5
Click to expand...
Click to collapse
what you are asking is someone to compile aosp with a buzzword, and thats all. using the linaro toolchain will not increase your performance. the google toolchain has in it everything that the linaro toolchain includes, plus more. and im not talking anti linaro, im talking reality. all you are asking for is a buzzword. for that no one will waste their time.
notbrodie said:
I'm in disbelief that I can't find one already, but is there any rom like this? Or is anyone homebuilding a rom like this?
please keep any anti-linaro speak to oneself.
Sent from my Nexus 5
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2593028
Close as you're going to get without building your own.
I will also go on the assumption that you didn't check either of the development sub-forums before posting your request...
heres a pure aosp build, not compiled with linaro though http://fitsnugly.euroskank.com/?rom=rastakat&device=hammerhead-vanilla
Hi,
Maybe this one "LinaroDroid": http://forum.xda-developers.com/showthread.php?p=47702472, based on AOSP, there is no features/mods...
Sent from my LG-D802 using xda premium
viking37 said:
Hi,
Maybe this one "LinaroDroid": http://forum.xda-developers.com/showthread.php?p=47702472, based on AOSP, there is no features/mods...
Sent from my LG-D802 using xda premium
Click to expand...
Click to collapse
thanks. i had looked at that one and noticed that he had said something about implementing navbar customization. i might just try to use rascarlo's vanilla AOSP source that @simms22 linked and compile it myself.
Ah, ok... it's up to you :thumbup:
I had tested a build (not the last but the previous one if I remember right) and there were no navigation bar settings nor other features, it looks like stock. But right it seems planned in the OP...
Sent from my LG-D802 using xda premium

Categories

Resources