[Q] Whats the difference between SDK and Source? - Droid Incredible Q&A, Help & Troubleshooting

Yup, this may be a simple question for somebody to answer. I may know some of the answer my self but for the sake of learning can somebody explain the difference between compiling source from... lets say HTC source to get a rom and compiling and extracting a rom from the Android SDK?

wildstang83 said:
Yup, this may be a simple question for somebody to answer. I may know some of the answer my self but for the sake of learning can somebody explain the difference between compiling source from... lets say HTC source to get a rom and compiling and extracting a rom from the Android SDK?
Click to expand...
Click to collapse
Android sdk is basically for app developers to build and test their app on all platforms.
The only source HTC will release is the kernel source for the phone. They don't and will never release the source for a rom.
Sent from my HTC Incredible using XDA App

Related

[DEV] Hero 2.6.29 kernel source [UPDATED WITH INFO BEN#23]

Hi guys,
After some work on the kernel I've managed to solve the issues with the device becoming barely usable because it drops in speed.
UPDATE 2: OC fully working up to 710Mhz. Check my last commit for more info. DO NOT MAX OUT THE CPU SPEED, WILL FREEZE UR PHONE
zImage and wlan.ko for those who want to repack their own boot.img and try it out:
zImage #23
wlan.ko #23
Update.zip's:
For BeHero+ 1.2
For Legendary 1.3.5
What I've done so far to the kernel:
OC up to 710Mhz Use OverclockWidget NOT SetCPU
Swap notify support for Compcache with Ramzswap
Ext4 support
Ext4 in ext3/ext2 support
Cramfs support
Squashfs support
Cifs
..... more to come, Toastcfh will provide me with a working OC patch hopefully whenever he has time same goes with BFS backport
Keep this thread only for developing and testing!
Github for my work on the kernel: http://github.com/behnaam/HeRo-2.6.29-GoDmOdE
Github for the untouched original kernel source: http://github.com/toastcfh/CdMa-HeRoC-2.6.29
Good start points for kernel compiling: http://wiki.github.com/behnaam/HeRo-2.6.29-GoDmOdE/, http://wiki.github.com/loxK/android-msm-2.6.27-hero/ and http://wiki.cyanogenmod.com/index.php/How_to_build_a_kernel_port
Huge props to Toastcfh for being polite and providing us with this source and also helping us starving Hero users out If you want to donate to someone, donate to him!
This is CDMA kernel with settings for GSM hero ?
behnaam said:
http://htcpedia.com/forum/showthread.php?p=59996#post59996
READ MORE THERE.
THIS IS CrOnOs KERNEL WAS BUILT UPON, USE THE HERO CONFIG TO COMPILE
SORRY FOR THE CAPS LOCK BUT IM HAPPY TO SHARE THIS
Madprops to toastcfh and sorry cronos for spoiling ur hype i guess :/
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
wow, how did you guys manage that? based on the github name I'm guessing this is based on the cdma source, how did you guys make them compatible with the gsm hero?
Re: [DEV] Kernel .29 source
These are real, you know your our hero.
Nobody can argue with you.
Thank you
Hopefully this will stop the arguments and push development forward.
Love you all
Re: [DEV] Kernel .29 source
I hope you don't mind a non-developer jumping in.
Just wanted to give big props for making this available to other devs,... no messing,... no piss arsing about.
Definitely an excellent example of community spirit.
-------------------------------------
Sent from my HTC Hero
thanks alot! I cant wait to get working on this!
looking forward to the onslaught of ROMs coming this weekend!!!
anybody care to compile this kernel with the Overcklock patch and upload a signed update.zip, that would be great
Updated kernel git thats fully working:
http://github.com/toastcfh/CdMa-HeRoC-2.6.29
behnaam said:
http://htcpedia.com/forum/showthread.php?p=59996#post59996
READ MORE THERE.
THIS IS CrOnOs KERNEL WAS BUILT UPON, USE THE HERO CONFIG TO COMPILE
SORRY FOR THE CAPS LOCK BUT IM HAPPY TO SHARE THIS
Madprops to toastcfh and sorry cronos for spoiling ur hype i guess :/
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Sorry to spoil guys. But this is not the cronos kernel
Feeyo said:
Sorry to spoil guys. But this is not the cronos kernel
Click to expand...
Click to collapse
Don't start further arguments, don't post if you have nothing of value to say. Until you release your so-called kernel sources, you'll have no way to prove that.
jaymac407 said:
don't post if you have nothing of value to say.
Click to expand...
Click to collapse
lol, irony
jaymac407 said:
Don't start further arguments, don't post if you have nothing of value to say. Until you release your so-called kernel sources, you'll have no way to prove that.
Click to expand...
Click to collapse
Jezus man. I am really unwanted in this forum. I am stating this is not the kernel sources where I build my rom on. The one I am using is goldfish sources with a few patches from me.
Feeyo said:
Jezus man. I am really unwanted in this forum. I am stating this is not the kernel sources where I build my rom on. The one I am using is goldfish sources with a few patches from me.
Click to expand...
Click to collapse
Feeyo, stick around, please! dont let the minority put you off!
It has happened before on XDA, lets not put off a talented dev so early into his rom dev career!
Ever wonder why some devs now live on other forums....
Lets all grow up a bit!
Just my 2p (no cents please, i'm british )
Feeyo said:
The one I am using is goldfish sources with a few patches from me.
Click to expand...
Click to collapse
so you broke into htc's server to steal the sdk emulator kernel source?
i agree...
Feeyo created a good stable and fast 2.1 rom and for that he is being treated as some kind of criminal (?!?!)
I hope you will stick around and create even more rockin' roms for us!!
minty1978 said:
Feeyo, stick around, please! dont let the minority put you off!
Click to expand...
Click to collapse
agreed, or find & new site & let everyone know where so we can follow.
this place is a hoot.
Could anyone apply the OC patch to this kernel please?
Feeyo said:
The one I am using is goldfish sources with a few patches from me.
Click to expand...
Click to collapse
For people who dont understand, he's saying that he hacked into HTC and stole the source code. So basically he claims to have hacked into an offline network and then multiple encrypted servers and downloaded the source code.
Look, just stfo from now on and stop bullshitting.
HTC screwed up, they accidentally uploaded a tarball with ALL devices kernel sources, when they uploaded the legend kernel source the first time and
some guys managed to download before it was removed.
shenshang said:
Look, just stfo from now on and stop bullshitting.
HTC screwed up, they accidentally uploaded a tarball with ALL devices kernel sources, when they uploaded the legend kernel source the first time and
some guys managed to download before it was removed.
Click to expand...
Click to collapse
OHHHHHHH I get it now!

[Q] Desire Z Bootloader Questions

Hi, I'd like to ask two questions about our Desire Zs.
Firstly, I'd like to know if its possible to boot any kind of Linux from our Desire Zs. From what I know, our bootloader is designed to booting any kind of Linux right?
Secondly, I would also like to know if its possible to compile a pure AOSP build, and run it on our DZ. Again, from what I know, the DZ can run Android, through startup scripts, so it should be able to run a pure AOSP build right?
Anybody able to correct my poor understanding of the DZ, and Android?
Thank You!
Grab one of the aosp roms and find out. Android is the only operating system that comes on dz/g2 so I'm not sure what you mean
Sent from my HTC Vision using xda premium
There should be guides if you search for running debian on the g2/dz. And yes you can run AOSP, so long as it's built for the dz/g2. Cyanogenmod is AOSP based, so is the stock g2 rom I think.
-Nipqer
Sent from my HTC Vision using xda premium
Spastic909 said:
Grab one of the aosp roms and find out. Android is the only operating system that comes on dz/g2 so I'm not sure what you mean
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
Actually what I meant, was whether I could load in any generic android source through CWM, and have it working. But thanks though for your answer.
Nipqer said:
There should be guides if you search for running debian on the g2/dz. And yes you can run AOSP, so long as it's built for the dz/g2. Cyanogenmod is AOSP based, so is the stock g2 rom I think.
-Nipqer
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
I see. Thanks for your answer. Though I had the impression that AOSP was a generic android source, suitable for any phone just by downloading a copy, and loading it in through CWM.
xudsa II USERT said:
I see. Thanks for your answer. Though I had the impression that AOSP was a generic android source, suitable for any phone just by downloading a copy, and loading it in through CWM.
Click to expand...
Click to collapse
Not really suitable for any phone. If that was the case, we would have 100% working ICS roms by now, or even in the week of release.
From the little i understand, Android needs drivers for each component just like windows does, and those drivers are not in the AOSP
AOSP typically only contains drivers for the Nexus dev phone for each particular release, I think. Though ICS is an exception because soon after initial release they put in drivers for the Nexus S as well as Galaxy Nexus, and the Motorola Xoom tablet too.
As has been said, you need to take AOSP then add hardware-specific drivers.
Sent from my Desire Z running CM7.
fredfb said:
Not really suitable for any phone. If that was the case, we would have 100% working ICS roms by now, or even in the week of release.
From the little i understand, Android needs drivers for each component just like windows does, and those drivers are not in the AOSP
Click to expand...
Click to collapse
steviewevie said:
AOSP typically only contains drivers for the Nexus dev phone for each particular release, I think. Though ICS is an exception because soon after initial release they put in drivers for the Nexus S as well as Galaxy Nexus, and the Motorola Xoom tablet too.
As has been said, you need to take AOSP then add hardware-specific drivers.
Sent from my Desire Z running CM7.
Click to expand...
Click to collapse
I see.. I always had the impression that the drivers were in the Kernel, so, the phone has to interface through drivers in the /system then through the kernel?
So, if this applies to other distros, say Angstrom Linux, i need to port each driver, then it should work when i install it with CWM right? Correct me if i'm wrong, but our bootloaders are designed to boot any linux right?
if you want to install linux on your phone have a look at this app:
https://market.android.com/details?...sMSwxLDEsImNvbS5nYWxvdWxhLkxpbnV4SW5zdGFsbCJd
it´s not native, so you do not have to mess up your android system
hoffmas said:
if you want to install linux on your phone have a look at this app:
https://market.android.com/details?...sMSwxLDEsImNvbS5nYWxvdWxhLkxpbnV4SW5zdGFsbCJd
it´s not native, so you do not have to mess up your android system
Click to expand...
Click to collapse
Interesting concept, i'll give it a go when i'm free. Thanks for recommending!

Making a Kernel?

Can someone teach me how to make a Kernel for GSM Just with Recovery and Root I know there's Doom's and Keirans But They Dont boot Correctly for me when I press Power only Stock and ICS does.
I know its hard once its done then I have Knowledge for the Future.
Making a kernel isn't a walk in the park. Just because you can compile something, doesn't make you a developer. I can compile CM7/9 fine but I haven't dared look at some of the source code yet.
Its something you need to learn slowly, try rom and app development first.
Sent from my R800i using Tapatalk 2
KeiranFTW said:
Making a kernel isn't a walk in the park. Just because you can compile something, doesn't make you a developer. I can compile CM7/9 fine but I haven't dared look at some of the source code yet.
Its something you need to learn slowly, try rom and app development first.
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
And where would you learn to do that?
Sent from my R800i using XDA
I'd say learn by doing. Grab some kernel sources from Github and try compiling them. If they don't compile, Google around and ask until you get it compiling successfully.
The first big challenge in kernel compiling is getting the right environment setup; getting the right OS/dependencies/toolchain is the first hurdle. Then look into the kernel sources and see what's going on.
Github is a great place to learn, as you can see people's changes and comments, to understand why they made changes.
Atarii said:
I'd say learn by doing. Grab some kernel sources from Github and try compiling them. If they don't compile, Google around and ask until you get it compiling successfully.
The first big challenge in kernel compiling is getting the right environment setup; getting the right OS/dependencies/toolchain is the first hurdle. Then look into the kernel sources and see what's going on.
Github is a great place to learn, as you can see people's changes and comments, to understand why they made changes.
Click to expand...
Click to collapse
Thanks Im not too Keen on Making a ROM all time or etc.
I just wanted to know how just for the future. Also My Xperia Bricked I have to go to O2 today lol.

android 4.4 for nts?

I came across this guide, but I'm not able to understand it.
http://www.yumapk.com/How-to-update-B-N-NOOK-Simple-Touch-to-Android-4-4-Kitkat.html
Someone is able to verify and possibly explain it better?
Its a spam auto generated webpage. No volume key on our devices.
zonyl said:
Its a spam auto generated webpage. No volume key on our devices.
Click to expand...
Click to collapse
Too bad.
But after reading the webpage, it did look too good to be true.
Yeah when I used to moderate at AF we used to see this a lot, reading it shows it talking about HTC specifics such as RUU which stands for rom update utility and s-off which toggles signature verification off so you can write unsigned code to the system. Really people, the ONLY way that the os can ever be updated is if B&N released source, that's not going to happen and even if it did it still might not be enough because of e-ink specific code that might be under a NDA. :banghead:
OB
Sent from my SPH-D710VMUB using Tapatalk 2
Thanks for reply, we could not organize a petition to convince B&N to release the source?
helmen said:
Thanks for reply, we could not organize a petition to convince B&N to release the source?
Click to expand...
Click to collapse
I'm gonna say definitely no, because Barnes and Noble is breaking away from Nook. They don't seem to want to have anything to do with Nook anymore.
helmen said:
Thanks for reply, we could not organize a petition to convince B&N to release the source?
Click to expand...
Click to collapse
No need for a petition. Here is the source for v1.2.
Nook2 1.2
David0226 said:
No need for a petition. Here is the source for v1.2.
Nook2 1.2
Click to expand...
Click to collapse
Cool, but uh...
What do we do with this file?
thenookieforlife3 said:
Cool, but uh...
What do we do with this file?
Click to expand...
Click to collapse
A tgz file is a gzipped tar file (UNIX/Linux). I know Winzip will be able to extract it, though it takes two steps. Once you extract it you will have to source code for Nook firmware v1.2. What you do with that is up to you because it is way beyond me.
~David
PS The file would be much easier to work with in Linux or you could extract it to your Window machine using cygwin.
David0226 said:
A tgz file is a gzipped tar file (UNIX/Linux). I know Winzip will be able to extract it, though it takes two steps. Once you extract it you will have to source code for Nook firmware v1.2. What you do with that is up to you because it is way beyond me.
~David
PS The file would be much easier to work with in Linux or you could extract it to your Window machine using cygwin.
Click to expand...
Click to collapse
Yeah, I know about the whole .tgz file thing. Been working in this department for a couple years.
But I also don't know what anyone's going to do with that source code!
thenookieforlife3 said:
Yeah, I know about the whole .tgz file thing. Been working in this department for a couple years.
But I also don't know what anyone's going to do with that source code!
Click to expand...
Click to collapse
I don't know either. helmen asked about the source code, I knew where to find it, so I posed it. Perhaps helmen or others might be able to do something with it.
David0226 said:
I don't know either. helmen asked about the source code, I knew where to find it, so I posed it. Perhaps helmen or others might be able to do something with it.
Click to expand...
Click to collapse
I think he wanted Barnes and Noble to post a source code for the Nook Touch to use Android 4.4.
Am I right, or did I misunderstand?
thenookieforlife3 said:
I think he wanted Barnes and Noble to post a source code for the Nook Touch to use Android 4.4.
Am I right, or did I misunderstand?
Click to expand...
Click to collapse
Well, perhaps I misunderstood. There certainly isn't source code to use Andriod 4.4 on the Nook as B&N never intended that. However some android developers might be able to take the most recent source code, which I posted, and figure out a way to make a new version of Android run on it. (I personally think 4.4 would be a real stretch, but if somebody could figure out the eInk driver situation, 2.3 might be a possibility.) I don't know if the source for the eInk drivers would be in the source code (I doubt it) but if they are, someone might be able to use this.
~David
David0226 said:
Well, perhaps I misunderstood. There certainly isn't source code to use Andriod 4.4 on the Nook as B&N never intended that. However some android developers might be able to take the most recent source code, which I posted, and figure out a way to make a new version of Android run on it. (I personally think 4.4 would be a real stretch, but if somebody could figure out the eInk driver situation, 2.3 might be a possibility.) I don't know if the source for the eInk drivers would be in the source code (I doubt it) but if they are, someone might be able to use this.
~David
Click to expand...
Click to collapse
Ah, I see. Well, thanks for the conversation and the source code (not that I can do much with it, though - ADB and modifying the framework-res.apk are more fun for me! )

[Q] can anyone make me rom from source code

if i provide you source code for a rom will some one make it,,,
i cant because i have no command over ubuntu,linux etc just windows
If you mean build or compile a rom I'm sure you could ask some of the devs here, someone should be able to compile it for you.
iDefalt said:
If you mean build or compile a rom I'm sure you could ask some of the devs here, someone should be able to compile it for you.
Click to expand...
Click to collapse
how can i contact them

Categories

Resources