[Q] [DEV Q]Android source compile question - Xoom Q&A, Help & Troubleshooting

So Im really just getting into Android development. Learning all I can made a couple basic apps. I am a bit more interested in ROM and Kernel development. My general question is. Making a ICS ROM for Xoom is difficult not because compiling the source itself is difficult but because there isnt a publicly available ICS kernel for Xoom yet right? Or am I completely off base here?

Yup thats more or less correct. Only device files for the nexus line have been released with ICS so far. And since android needs to be built for a specific device you need the device specific files including things like drivers.
It's the stage where i get stuck as well, currently going trough the motodev website to find things like drivers and or any other Xoom specific files. I'm guessing team Tiamat is hacking it together themselves currently because they have the knowlegde of how to build kernels and stuff and can start with their HC base to see what works.

wmh said:
Yup thats more or less correct. Only device files for the nexus line have been released with ICS so far. And since android needs to be built for a specific device you need the device specific files including things like drivers.
It's the stage where i get stuck as well, currently going trough the motodev website to find things like drivers and or any other Xoom specific files. I'm guessing team Tiamat is hacking it together themselves currently because they have the knowlegde of how to build kernels and stuff and can start with their HC base to see what works.
Click to expand...
Click to collapse
Exactly the answer I was looking for thanks!

Related

G1/MT3G Video Drivers fo Eclair

If this is in the wrong thread I apologize. I didn't know if I should post this in Q & A because its a question relevant to something developed, I also didn't wanna invade anyones ROM thread.
I am creating a ROM which is a fusion of the Droid and Nexus one for the G1/MT3G. I am learning how to create ROMS and have been able to search and solve alot of problems on my own. This one however has me stumped and I've searched through a hundred threads but it seems no one is interested in this information but me.
Would someone explain to me how to implement the graphics driver that was designed for the G1/MT3G for Eclair 2.1. I can't seem to find any documentation/posts about how to implement this so that the camcorder works and the 3d gallery, those are my last 2 obstacles. I know ROMS such as CaNNoN202 Complete Eclair 2.2.1 or CyanogenMod-5 have it implemented. I have even looked through the ROMS but haven't found the drivers and have no idea where they would be.
If an experienced modder could help me get on my way to becoming a allround dev, please explain a few thing to me like in a pm or something. Like if they are kernel specific/dependent, what scripts are needed for the drivers to install, etc..
Please any help is very much appreciated.
EDIT:
I found a thread where CE developed a patch for his ROM which adds the support for 3D to the G1.
Gonna see if I can implement it that way. I will post results if I find anything.
Any info is still very welcome
Are you trying to build your own kernel or just a rom? The only reason you would need the drivers is if you are making your own kernel, which by the way you ask, I doubt you could do. Nothing against you, its just not easy.
Any kernel (mostly Cyanogens) has the drivers implemented after version 5.0.4 i think. You can just strip the boot.img out of any of those roms and slap it into your rom till you get it all to work.
Once you do that, then you may have the problems of no BT or wifi.
crypysmoker said:
Are you trying to build your own kernel or just a rom? The only reason you would need the drivers is if you are making your own kernel, which by the way you ask, I doubt you could do. Nothing against you, its just not easy.
Any kernel (mostly Cyanogens) has the drivers implemented after version 5.0.4 i think. You can just strip the boot.img out of any of those roms and slap it into your rom till you get it all to work.
Once you do that, then you may have the problems of no BT or wifi.
Click to expand...
Click to collapse
Yea I have been exploring these ROMS and seen the extra libraries and patches that have been implemented, but I haven't been able to get someone elses kernel to boot my ROM.
I have used the tutorial on theunlockr to set up a kitchen and been able to modify alot, but I am missing the true functionality of these ROMS if I don't understand the kernel and libraries that allow for these patches.
I think I am going to set up Eclipse in my linux and slowly learn the process of actually building these ROMS from scratch, I know its difficult but I'll search through old examples until I get on my feet.
Thanks for the info. If any ther experienced ROM maker has any tips to share I thank you in advanced.
The drivers you are looking for are in /system/lib
Note that in some cases, preload memory offsets need to be manipulated.
lbcoder said:
The drivers you are looking for are in /system/lib
Note that in some cases, preload memory offsets need to be manipulated.
Click to expand...
Click to collapse
Hey thanks for your info/help
I figured the libraries and modules needed to be ported over as well, didn't know anything about the memory offsets
I am trying to port Cyanogens kernel+system/libe+modules offer, hopefully it will fix all issues.
Will post update. Thanks you guys for helping a noob I'm really trying to learn and its very tough
Edit:
porting kernel either ends in bootloop or it ends in the settings and fc's like crazy
If I apply my modifications to cyanogens rom, the live wallpapers break, this is so wierd!

[REQUEST] Any kernel builders want to build a kernel for 2.3.4?

I've never compiled a kernel and was hoping one of you experienced kernel compilers would build a kernel for LG's "stock" 2.3.4 with overclocking ability. Also, I understand in the kernel there is a way to fix the FFC inversion issue (other devices have had same problem and people fixed with a kernel updae); but I have no idea how to do it. If you just want to steer me in the right direction I could attempt to build the kernel myself also. I have JDK and Eclipse installed on my computer.
hey man i just wanted to share this with you
http://forum.xda-developers.com/showthread.php?t=1227241
im pretty sure you can find a way to get a kernel this way and compile it.
i just downloaded a bunch of neat stuff from nvidia (android dev kit) and the sdk from google to adb and crap.
i didnt think it would have to come to this because this because of the phones unlocked bootloaders and such, but it doesnt look like the devs are really into this phone because of nvidia's lack of action. Im just gonna have to learn how to tweak this thing on my own.
hope this helps
Ninosmaxima said:
hey man i just wanted to share this with you
http://forum.xda-developers.com/showthread.php?t=1227241
im pretty sure you can find a way to get a kernel this way and compile it.
i just downloaded a bunch of neat stuff from nvidia (android dev kit) and the sdk from google to adb and crap.
i didnt think it would have to come to this because this because of the phones unlocked bootloaders and such, but it doesnt look like the devs are really into this phone because of nvidia's lack of action. Im just gonna have to learn how to tweak this thing on my own.
hope this helps
Click to expand...
Click to collapse
I will take a look. Thanks.

no roms galaxy tab 7.0 plus

where are there no roms for the gt 6210??
http://forum.xda-developers.com/showthread.php?t=1547152
p6210 has this one only
we have no rom as we have no codes Samsung will not let them go
renegade37918 said:
where are there no roms for the gt 6210??
Click to expand...
Click to collapse
There are quite a few reasons we don't. Number one is that there is not a lot of interest in this device by developers. Gary right now is pretty much our only one and he has already said he eventually will get around to making ROMs but not right away. A few of us have the basic knowledge to maybe hack something together but without good kernels a lot of the hardware may or may not work, wifi for one. There are ways to get these things to work like porting over other devices kernels, but that is beyond most of us here. The 7.7's could be ported over as it has similar hardware and you could probably port over ICS from it too. You would need a good kernel developer who has the time to do it. On top of it Honeycomb isn't the easiest thing to make ROMs for, MIUI and CyanogenMod don't have Honeycomb versions. Once ICS drops we can use that kernel to at least try and port over MIUI 4 and CM9 but its still a lot of work and again having only one dev doesn't help. We will need a team effort to get a lot of it done.
kzoodroid said:
There are quite a few reasons we don't. Number one is that there is not a lot of interest in this device by developers. Gary right now is pretty much our only one and he has already said he eventually will get around to making ROMs but not right away. A few of us have the basic knowledge to maybe hack something together but without good kernels a lot of the hardware may or may not work, wifi for one. There are ways to get these things to work like porting over other devices kernels, but that is beyond most of us here. The 7.7's could be ported over as it has similar hardware and you could probably port over ICS from it too. You would need a good kernel developer who has the time to do it. On top of it Honeycomb isn't the easiest thing to make ROMs for, MIUI and CyanogenMod don't have Honeycomb versions. Once ICS drops we can use that kernel to at least try and port over MIUI 4 and CM9 but its still a lot of work and again having only one dev doesn't help. We will need a team effort to get a lot of it done.
Click to expand...
Click to collapse
It's not much, but I've started a device tree with some initial work on a CM9 port. If you've got a copy of CM9's repository, clone this repo into the device/samsung directory, then you'll be able to start working on building CM9: https://github.com/alanorth/device_samsung_galaxytab7p
Also, I have a kernel repo here: https://github.com/alanorth/samsung-kernel-p6200
And a collection of initramfs (including touch and non-touch ClockworkMod Recovery): https://github.com/alanorth/GT-P6200-initramfs
If you're at ALL interested in helping with development on this device (especially CM9), fork those repos and start experimenting with building/tweaking STOCK stuff first.
I'm more interested in trying to port over MIUI 4 (ICS version). Been reading up on how to do it but really need the ICS kernel for our device first before I will even attempt it. I pretty much feel confident I could at least get a bootable version up and running but as far as fixing things that are broken that would take a lot more than I might be able to handle on my own. Say if wifi is broken I'm not sure where to go to even start fixing it. I could hang out on the IRC channels to get answers but then this is just a part time interest of mine and not a career.
When will ICS come out? Come on Samsung.
aorth said:
It's not much, but I've started a device tree with some initial work on a CM9 port. If you've got a copy of CM9's repository, clone this repo into the device/samsung directory, then you'll be able to start working on building CM9: https://github.com/alanorth/device_samsung_galaxytab7p
Also, I have a kernel repo here: https://github.com/alanorth/samsung-kernel-p6200
And a collection of initramfs (including touch and non-touch ClockworkMod Recovery): https://github.com/alanorth/GT-P6200-initramfs
If you're at ALL interested in helping with development on this device (especially CM9), fork those repos and start experimenting with building/tweaking STOCK stuff first.
Click to expand...
Click to collapse
Can I use this any of this for the GT-p210? Or is it GT-p200 specific only?
Edit: Nevermind I see that it's mostly device, android and vendor.mk stuff
To build ROMs we are going to need kernels, MIUI amd CM require an AOSP kernel which you can make following the instructions on the cyanogenmod wiki, it is way beyond me as I struggle with Linux in general. There are devs out there who only make kernels and maybe we could enlist their help in doing this.
http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source
Now according to cyanogenmod the wifi kernel is seperate and you need the drivers in order to fix it. And from what I understand the drivers for our device will not be released any time soon so this is going to be a real issue.
For porting over another touchwiz ROM we could use the stock kernel but you need the specific kernel for each version of android. Honeycomb kernels don't work with ICS or GB. But since there isn't much of a difference in the touchwiz ROMs between all the Galaxy Tabs why bother even doing this. Right now the only reason I see to try would be to get the 7.7 ICS ROM on our device but since we will be getting the upgrade soon anyways why bother. The upgrade will drop before you could ever get all the bugs worked out of it anyways in my opinion.
Here is the link for AOSP, explains all you need to set up a Linux PC to become a developer. An AOSP kernel will be critical to further development, right now all we could build would be an AOSP Honeycomb kernel as that is the only source code out. Samsung will eventually release the ICS kernel source sometime soon after ICS drops. I have a Linux box at home but I'm not very familar with it, also I think its the latest version which won't work. I really don't like working with Linux its a pain. I do everything in Windows using a virutal machine but should swtich over just because it what most devs use and its easier for them to help you if your on the same page so to speak.
http://s.android.com/index.html
Gladly take cm9 with no wifi
chrisrotolo said:
Gladly take cm9 with no wifi
Click to expand...
Click to collapse
snap!!! i would also love to see it on our tab. i would even consider forgetting WiFi till its fixed i want it that bad i don't see how some one has not made it with out WiFi just a basic platform to work with
Nice news! Every android device I had, I always found ROMs for. When I bought the P6200 I came here smiling and..... OOOPS no ROMS I was crying 'cuz I always had ONLY TO CHOOSE which one to flash with all my devices (such as Motorola Xoom or Galaxy Note)
I know this one doesn't pretty interest to devs or it has not much business (such as GS2 for example) but I hope we could see nice things soon (just 'cuz the worse thing is that for the old Tab 7...There're lots of ROMs :banghead: )
Let's wait so. And having MIUI here would be the best thing I ever had
Sent from my Galaxy Note with DarkyROM 3.3
1. they have the source release for their device
2. samsung is being a b***h about releasing the source code for our lovely device...
3. we cant do a lot of thing without a source...
4. go head to development section to see some work...
edan1979 said:
1. they have the source release for their device
2. samsung is being a b***h about releasing the source code for our lovely device...
3. we cant do a lot of thing without a source...
4. go head to development section to see some work...
Click to expand...
Click to collapse
I know it all dude, and I've already seen the dev section Why are you all so touchy in Tab 7 Plus section?
Thanks
Sent from my Galaxy Note with DarkyROM 3.3
Sorry if you feel were a little touchy here, its just that sometimes there complete noobs that come here to the forums and don't even think about checking the android development section or even bother to read other threads that hold the answer to their questions.
bdds13 said:
Sorry if you feel were a little touchy here, its just that sometimes there complete noobs that come here to the forums and don't even think about checking the android development section or even bother to read other threads that hold the answer to their questions.
Click to expand...
Click to collapse
Don't worry, I understand I even read about people asking always the same things bothering to read threads before posting
Thank you, it was really kind from you to explain Sorry for off-topic
Sent from my Galaxy Note with DarkyROM 3.3
edan1979 said:
1. they have the source release for their device
2. samsung is being a b***h about releasing the source code for our lovely device...
3. we cant do a lot of thing without a source...
4. go head to development section to see some work...
Click to expand...
Click to collapse
But we do have source aren't we?

How to compile Android AOSP for the One S?

Question, I am getting the One S eventually and I want to just have Android AOSP on it for now. But I reckon there's more to the process than simply compiling it from source. What device specific challenges must I figure out first? Ive got plenty of experience with Android development but I havent really messed around with device specific stuff.. Any help much appreciated
Thread moved with a clean start
Or find answer here

I'd like to make you guys a ROM

Hello, I am new to XDA-Developers and so this isn't in the Development forum and I'm sorry for that. What I need to ask is about making a ROM. I want to make a ROM out of the AOSP Jelly Bean ROM, and port it to the Triumph:laugh:, but I don't know about compatibility issues. My question is: Do any of you guys know if the Triumph is compatible with dsixda's ROM Kitchen? It isn't on the supported devices list, but dsixda himself said that more devices might work with it, so if any of you have tried using the Kitchen I'd like your help. Thanks.
Good to see that you're motivated, but there's already a major roadblock to widespread ICS adoption on the Triumph because the camera won't work and the files needed to get it working aren't publicly available. You'll probably run into the same issues, making this project kinda dead in the water.
Good luck but the kitchen can only do so much. If you do use it, you will have to make manual edits to get things to work. But I don't think you can just port JB to our phones, especially with the kitchen. You will need to build from source, I am pretty sure. But don't let me stop you, just trying to give you a heads up. Try some things out and then ask some questions in the forums and somebody should be able to help you get on the right path.
BSydz said:
Good luck but the kitchen can only do so much. If you do use it, you will have to make manual edits to get things to work. But I don't think you can just port JB to our phones, especially with the kitchen. You will need to build from source, I am pretty sure. But don't let me stop you, just trying to give you a heads up. Try some things out and then ask some questions in the forums and somebody should be able to help you get on the right path.
Click to expand...
Click to collapse
I am going to try an experimental build on my friend's Triumph (I don't have one) and I'll post in this thread the results, and then I'll go from there.
I don't think that dsixda's kitchen works with the Motorola Triumph. I currently use it for the Galaxy S2 SGH-t989! But in the near future updates he may have add support for that device! And if you wanted to do Jelly Bean then you would have to get the android source code and build it from source! Building from source is much harder than building from port.
I really hope this helped and I wish you the best of luck with your development!

Categories

Resources