G1/MT3G Video Drivers fo Eclair - G1 Android Development

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!

Related

[KITCHEN] Basic ROM kitchen for aspiring Magic cooks [PC/MAC]

Hi guys,
Over at the HTC Hero forum I have been developing a kitchen to help ordinary people learn how to build their own ROM. It allows you to do basic things such as rooting a shipped ROM, adding apps2sd, modifying the task killer memory threshold, etc.
The appropriate settings are now in place to make it work for the Magic.
Here is the link to the kitchen:
http://forum.xda-developers.com/showthread.php?t=633246
Before you flash your new custom ROM made from this kitchen, please make a Nandroid backup first of your existing ROM!
Thank you, and enjoy!
Just a question - is there a Wiki page which lists all the shipped ROMs available for the Magic? I couldn't find any on my own. I only found the ones at the htc.com site.
...
Hi man, i just want to thank you for your kitchen, i dont know a answer to your question
but i want to reserve this post,
my plan is to make a short instruction on how to port a rom from hero, using your kitchen... (hope its ok with you)
not a full how to, but som guidence... cause i am still learning and still making many misstakes...
But i am gonna try to make my best.
I DONT HAVE TIME TO MAKE IT NOW... LATER.
robocik said:
Hi man, i just want to thank you for your kitchen, i dont know a answer to your question
but i want to reserve this post,
my plan is to make a short instruction on how to port a rom from hero, using your kitchen... (hope its ok with you)
not a full how to, but som guidence... cause i am still learning and still making many misstakes...
But i am gonna try to make my best.
I DONT HAVE TIME TO MAKE IT NOW... LATER.
Click to expand...
Click to collapse
That's a good idea, and that also gives me another idea for the kitchen.
Usually when we port a ROM from another device, we just replace the other device's boot.img-kernel with our own device's boot.img-kernel. Although there may be issues with driver incompatibility, this is the general way to get the ROM booting. (Also you have to make sure you use the correct base address when using mkbootimg)
Wow
sorry it's off topic but damn good to see dsixda over here on android. I remember your roms from my diamond and elfin. Now i think a nexus one is my next device if you're cooking for em lol. As for the kitchen i think this is an amazing idea to get some more chefs in the game.
daeshawn said:
sorry it's off topic but damn good to see dsixda over here on android. I remember your roms from my diamond and elfin. Now i think a nexus one is my next device if you're cooking for em lol. As for the kitchen i think this is an amazing idea to get some more chefs in the game.
Click to expand...
Click to collapse
Hey man, I remember you ;-) The kitchen is working for Nexus One. However, I'm not cooking ROMs this time because public ROMs are too much work when you want to satisfy hundreds of people at once The kitchen will take the load off the cooks and also provide an enjoyable learning experience for people who want to customize a ROM the way they like it. We already have someone who has made a public ROM from this kitchen, and hopefully there will be more!
I am still looking for the downloadable shipped rom. hopefully it would be found soon. i looked on the htc site but i guess i am still lost. but thanks again for something great.
Sounds like fun. I'll try it out on myTouch 1.2
holmes901 said:
I am still looking for the downloadable shipped rom. hopefully it would be found soon. i looked on the htc site but i guess i am still lost. but thanks again for something great.
Click to expand...
Click to collapse
Is this the one you are looking for?
http://forum.xda-developers.com/showthread.php?t=533641
Downloading now. Can't wait to give it a try. Hope I don't break nuthin
willing to test-UPDATE 4/16
I would like to reserve this post for compatibility the new MyTouchLE/Fender.
If this can work for this phone there will be alot of happy people out there
thanks
Update 4/16 after several attempts with different shipped and custom roms i have finally gotten one to boot with touch input, which has been one of the biggest hurdles for this phone. Problem is niether of the roms i have will connect to T-Mobile or wifi. Any ideas?
Testing this out now to see what I come up with thanks for the link to the rom.
holmes901 said:
Testing this out now to see what I come up with thanks for the link to the rom.
Click to expand...
Click to collapse
You can try this as well:
http://www.htc.com/www/support/magic.html
so with this one should be able to build roms from any rom to try make it work on your phone?
capychimp said:
so with this one should be able to build roms from any rom to try make it work on your phone?
Click to expand...
Click to collapse
As long as they are Magic ROMs, then yes they should work.
ok so the base has to be magic for it to work, so in total it is to maske it easier to modify roms to your liking? no porting ect?
capychimp said:
ok so the base has to be magic for it to work, so in total it is to maske it easier to modify roms to your liking? no porting ect?
Click to expand...
Click to collapse
Yes you need a Magic ROM as your base. In theory it should work with any Magic ROM, but I'm not 100% familiar with all the variants of the HTC Magic so maybe there are incompatibilities?
I'll be working on porting ROMs later in the day.. I have to try the new porting scripts on my Hero first.
ok, i will give it a go when we can try porting a bit more fun working with android 2.1
i just noticed a problem with the T-Mobile myTouch 3G ROMs, as my script only looks for "HTC Magic" in the build.prop and not T-Mobile myTouch 3G... I'll get to fixing that soon. I'll check for "sapphire" instead, which is more generic.
Ok I have put up an update to the kitchen, version 0.24. This one should recognize all ROMs from all variants of the HTC Magic (e.g. T-Mobile myTouch 3G).
Also another option has been added, which will allow you to port a ROM from another Android device to your Magic (it will boot up but you may have to make some changes to get everything working properly, such as drivers). Has been tested on an HTC Hero.

[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?

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!

How hard is creating a kernel for this device?

So I am fed up with T-Mobile and Samsung not releasing a ics update for this phone. I wan't to try the new features like facelock and android beam ( really helpful). Well can we start from scratch also is there a guide to do that? It would be really awesome if someone posted a link for it.
Well I'm not sure what you are asking but are you saying if we can do a ICS kernel without source? Yes it's possible if we use the s2 source but with heavy modifications to run on our phone. Doubt there is a guide for it anywhere, though if you have an understanding of Linux kernels and a few languages like C, C++ and Java you can help us get there.
Another way we can get cm9 or any ics varient we can modify our current 2.6.35.11+ kernel to make it run cm9.
I suggest or rather think the easiest way is the waiting way because by the time you or I or anyone gets anything close to a working build the source will drop. This would be a good idea if the blaze wasn't getting ICS at all but it is.
So for now lets enjoy GB a little more I got a rom update uploading and dwitherell is also updating his awesome rom
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Okay still love the darknight rom although holo launcher gets somewhat laggy sometimes.. but is there a guide for modifying the kernel to create cm9? any help would be appreciated.
theprogram1 said:
Okay still love the darknight rom although holo launcher gets somewhat laggy sometimes.. but is there a guide for modifying the kernel to create cm9? any help would be appreciated.
Click to expand...
Click to collapse
Well i just release build8 and no more holo launcher
As for a guide, there isn't one. There's guides on how to make your own kernel from the source drop and the initramfs from a stock rom but to modify the 2.6.35.11(gb) kernel to work with cm9/ics takes a lot of work and a lot of backporting and unfortunately every kernel is different as every phone is which is why no guide is ever accurate. Honestly, the best way to contribute is learn a few languages and start learning slowly. Unless, of course, you have knowledge on linux kernels then that'd be awesome
Either way i started a channel on irc #teamfah-q. That is where team fah-q(merwin, flyers00, thomas.raines, and myself) hangs out and shares ideas with each other and talk about changes and we do drop leaks to our builds and mods and the such. Join us on the channel.
theprogram1 said:
So I am fed up with T-Mobile and Samsung not releasing a ics update for this phone. I wan't to try the new features like facelock and android beam ( really helpful). Well can we start from scratch also is there a guide to do that? It would be really awesome if someone posted a link for it.
Click to expand...
Click to collapse
I tried exactly this once... and let me tell you, it's REALLY difficult. I started with a T989 kernel and after months of work, still had a non-booting kernel.
I'm starting again, but moving much slower since I have an S3 now. I'm also trying to get a "console" on the device so I can see if the thing is actually booting at all.
Joy.
Good luck if you want to start in on this, I wish you the best

Categories

Resources