How to compile Cyanogenmod for an unsupported device - Android

Hello everyone,
I am a newbie here, I want to compile Cyanogenmod from source and I learned CyanogenMod wiki.
Unfortunately I didn't find my device, ZTE v889d. I have downloaded the Cyanogenmod source, the wiki tells
cd ~/android/system/device/manufacturer/device-name/
./extract-files.sh
Click to expand...
Click to collapse
However I didn't see device/zte/v889d, so I don't know what to do. I searched the github, there's no such file either.
Is there any guide for me to do this? Thanks in advance.

josephok said:
Hello everyone,
I am a newbie here, I want to compile Cyanogenmod from source and I learned CyanogenMod wiki.
Unfortunately I didn't find my device, ZTE v889d. I have downloaded the Cyanogenmod source, the wiki tells
However I didn't see device/zte/v889d, so I don't know what to do. I searched the github, there's no such file either.
Is there any guide for me to do this? Thanks in advance.
Click to expand...
Click to collapse
You have to find a device tree for your device...or make one
I can't help with making one as I've never made a device tree...
But for finding one just Google ZTE v889d github...if someone has made one it should pop up...if you can't find any...then your out of luck and will have to make your own..
Sent from my SGH-I997 using Tapatalk 2

mg2195 said:
You have to find a device tree for your device...or make one
I can't help with making one as I've never made a device tree...
But for finding one just Google ZTE v889d github...if someone has made one it should pop up...if you can't find any...then your out of luck and will have to make your own..
Sent from my SGH-I997 using Tapatalk 2
Click to expand...
Click to collapse
Thanks for reply. I can't find device tree on github, it seems that I have to create one, is there any guide for this?

josephok said:
Thanks for reply. I can't find device tree on github, it seems that I have to create one, is there any guide for this?
Click to expand...
Click to collapse
I'm no pro either, but perhaps you could find a device that is close to your model that is cm supported and then look into its vendor tree on github. Doing this will allow you to see what you need to pull from your firmware to start a tree. Or if the devices are close enough you might even be able to barrow some of the supported devices pre existing tree.
Hope this helps a little
Sent from my HTC Rezound using Tapatalk 2

wildstang83 said:
I'm no pro either, but perhaps you could find a device that is close to your model that is cm supported and then look into its vendor tree on github. Doing this will allow you to see what you need to pull from your firmware to start a tree. Or if the devices are close enough you might even be able to barrow some of the supported devices pre existing tree.
Hope this helps a little
Sent from my HTC Rezound using Tapatalk 2
Click to expand...
Click to collapse
Thanks

I did wonder did you get it to work for you..?
Could try my guide to give it a nother try here: http://forum.xda-developers.com/showthread.php?t=1935162

If its not too late:
http://forum.xda-developers.com/showthread.php?t=2010281
How to create device tree.

Related

[Desire X] CyanogenMod for HTC Desire X, voices of support for this phone

Please CyanogenMod for HTC Desire X, voices of support for this phone
http://forum.cyanogenmod.org/topic/65336-please-cyanogenmod-for-htc-desire-x/ :good::good:
Please do not write here, so as not to clutter up the forum, give only your voice to the CyanogenMod forum ..
Have a nice day
rogio2 said:
Please CyanogenMod for HTC Desire X, voices of support for this phone
http://forum.cyanogenmod.org/topic/65336-please-cyanogenmod-for-htc-desire-x/ :good::good:
Please do not write here, so as not to clutter up the forum, give only your voice to the CyanogenMod forum ..
Have a nice day
Click to expand...
Click to collapse
Dude, this thread is completely pointless. You have already made a thread like this. One is enough...
Sent from my awesome fridge
so I understand but people vote, so it may be worth, however, I am in comparison to the senior member was very small and some things I do not understand well yet so please bear with us.......I did not do it for publicity, but to help
rogio2 said:
so I understand but people vote, so it may be worth, however, I am in comparison to the senior member was very small and some things I do not understand well yet so please bear with us.......I did not do it for publicity, but to help
Click to expand...
Click to collapse
The first thread helped too...
Still no need for this thread.
We have only 12 votes ....:crying::crying:
+1
we hav 13 now !!
Another vote!
+1 here is mine.
Give thanks guys vote by clicking on the link to the CyanogenMod forum that they saw it.
rogio2 said:
Please CyanogenMod for HTC Desire X, voices of support for this phone
http://forum.cyanogenmod.org/topic/65336-please-cyanogenmod-for-htc-desire-x/ :good::good:
Please do not write here, so as not to clutter up the forum, give only your voice to the CyanogenMod forum ..
Have a nice day
Click to expand...
Click to collapse
I am sorry but the thread that is created is in the wrong region the forum is to discuss unofficial ports the correct thread is here that is a mod request forum. please make the necessary changes to first post.
Our weaker cousin (protodug) already has CM9
http://forum.xda-developers.com/showthread.php?t=2067161
What great luck we have.
:/
If only I knew how I could help...
Can anyone start a new port?? Lets debug it.
My repo sync will take lot of time
neXus PRIME said:
Our weaker cousin (protodug) already has CM9
http://forum.xda-developers.com/showthread.php?t=2067161
What great luck we have.
Click to expand...
Click to collapse
That's just the huawei g300 cm9 rom+libs and bins from official sense rom with stock kernel. Not source based.
hell_lock said:
Can anyone start a new port?? Lets debug it.
My repo sync will take lot of time
Click to expand...
Click to collapse
As i said i work on cm9, but not easy with this phone. I tried msm7x27 and msm7x27a configs but they gives error in some things...
atis112 said:
That's just the huawei g300 cm9 rom+libs and bins from official sense rom with stock kernel. Not source based.
As i said i work on cm9, but not easy with this phone. I tried msm7x27 and msm7x27a configs but they gives error in some things...
Click to expand...
Click to collapse
But if you download that desire v cm rom, decompile its kernel, get its ramdisk, rename the init.**.rc to protou and then repack with our device zImage, you get an almost booting cm9 kernel. I deleted my repos by mistake otherwise i would compile a cm9 build and flash this kernel to check boot.
@atis, do me a favour, compile with either 7227 or 7227a, just make a flashable zip, and try it with this kernel attached below,,,, just once,
Regards
or give me a cm9 zip which at least flashes properly, and i'll test the rest myself.
Regards
Is there any news about a CM9 build? Were you hell_lock able to create a working kernel?
I'm not asking for a ETA, just asking if anything changed. Otherwise, my apologies if I bothered any of you.
Thank you very much
Sent from my HTC Desire X using Tapatalk 2
has anyone looked at lge p700??? im attempting a device tree structure from it. Its my final and will be most elaborate attempt to boot cm9. Then i'll officially give up.
@ hell_lock & atis112, can u upload your in progress work(device tree) on git?? just so i can get some ideas.
Regards
neXus PRIME said:
has anyone looked at lge p700??? im attempting a device tree structure from it. Its my final and will be most elaborate attempt to boot cm9. Then i'll officially give up.
@ hell_lock & atis112, can u upload your in progress work(device tree) on git?? just so i can get some ideas.
Regards
Click to expand...
Click to collapse
All the best.. We are all looking forward to your success.
Regards,
navmad
Well yes I was successful in making the kernel boot. It still has stock features so I didn't release it yet. Btw my sources are there on github.
I will release my kernel on 22nd most probably . Right now I am having my exams
Sent from my HTC Desire X using xda app-developers app

Buildbot for Developers

Hello guys,
I develop ReVolt ROM for 5 devices, I9100, I9100G, I9300, N7000, Mako ..... The thing is, I was looking for a build bot so it would make it easier for me to build .... For one build to finish on my computer, it takes 190 MINUTES !!! So to build for 5 DEVICES, it takes almost 39.3 Hours for a full set of builds !!!!!!
I was looking for a build bot, but I can't find anything .. Can anybody tell me where i can find one who offers something like that ???
Thanks in advance,
Johnhany97
http://ci.apache.org/buildbot.html
chasmodo said:
http://ci.apache.org/buildbot.html
Click to expand...
Click to collapse
Thanks you very much
I am now looking for how to join it .....
chasmodo said:
http://ci.apache.org/buildbot.html
Click to expand...
Click to collapse
Can you provide another Buildbot ?? They only accept team admissions but I work alone Can anybody please help ??
johnhany97 said:
Can you provide another Buildbot ?? They only accept team admissions but I work alone Can anybody please help ??
Click to expand...
Click to collapse
I would recommend taking a look at the TRAC build bot, it doesn't require you to have a team. You can find more information about it from here. Also if you want to look at the documentation for it to get an idea of how to use it and what it involves I would suggest taking a look at the official documentation.
shimp208 said:
I would recommend taking a look at the TRAC build bot, it doesn't require you to have a team. You can find more information about it from here. Also if you want to look at the documentation for it to get an idea of how to use it and what it involves I would suggest taking a look at the official documentation.
Click to expand...
Click to collapse
I know it, tried it ... but It never worked properly with me even after following the steps .... Like, I know goo.im provide something like that .... But they don't accept anyone .....
johnhany97 said:
I know it, tried it ... but It never worked properly with me even after following the steps .... Like, I know goo.im provide something like that .... But they don't accept anyone .....
Click to expand...
Click to collapse
Another thing that I found is a shell script that automatically builds Android ROM's from there source directories, you can find more information about it here. Also I think one the reasons you may not have been able to get build bot to work right is because you must add in repo support which Android relies on, as mentioned in this article.
shimp208 said:
Another thing that I found is a shell script that automatically builds Android ROM's from there source directories, you can find more information about it here. Also I think one the reasons you may not have been able to get build bot to work right is because you must add in repo support which Android relies on, as mentioned in this article.
Click to expand...
Click to collapse
l have my own scripts ready and everything, all I need is to find a buildbot for Android devs..... I also think that XDA offers some for Recognized Developers ... Not so sure about that ..
johnhany97 said:
l have my own scripts ready and everything, all I need is to find a buildbot for Android devs..... I also think that XDA offers some for Recognized Developers ... Not so sure about that ..
Click to expand...
Click to collapse
goo.im offers servers for this but, they only give it off of referrel
ayysir said:
goo.im offers servers for this but, they only give it off of referrel
Click to expand...
Click to collapse
Do you know someone who uses it ?

Stuck while building

Ok. I know this is nooby but I don't have anyone else to ask. I am trying to build Android 4.4 Kit Kat for the Flyer. I followed this guide. I installed all the packages, installed the repo downloaded the source code but I can't find my device on github
1) Find the github for your device you wish to add. (For me it is the Asus Nexus 7 (2013) [codename: flo]
2) Now navigate to the location you are going clone the device tree to:
Click to expand...
Click to collapse
I searched and I couldn't find the Flyer's files on Github. I only found a kernel source by doomlord but I don't think that's it. Anyone can help me. Any sorte of help would be appretiated. I am just trying to bring this device back from the dead.
Really? That is not how it works, you need drivers snd a whole lot more. If it were that easy every phone would be on 4.4
Sent from my SPH-L900 using xda premium
rbebber said:
Really? That is not how it works, you need drivers snd a whole lot more. If it were that easy every phone would be on 4.4
Sent from my SPH-L900 using xda premium
Click to expand...
Click to collapse
Look as I said I am noob for building. I read at a guide that you need to get a git clone after repo syncing. But if that's not true point me out to a thread.

[REQ] AOSP Help with Huawei Honor

garwynn said:
AOKP builds straight from repo sync. If you're having trouble with it please let me know which jf device you're trying for and I'll ask the maintainer if not me.
Click to expand...
Click to collapse
hi sir, i am building for huawei honor (u8860).
https://github.com/DESHONOR/android_device_huawei_u8860
and i don't use my own release tool folder but the one from source...
i am building AOKP KK and here is the error i have:
"ERROR: couldn't find <type 'property'> in build.prop"
thank you.
desalesouche said:
hi sir, i am building for huawei honor (u8860).
https://github.com/DESHONOR/android_device_huawei_u8860
and i don't use my own release tool folder but the one from source...
(i don't know what is a jf device)
thank you.
Click to expand...
Click to collapse
Please post your question in the appropriate forum. I will try to find the right home for yours later and point in the right direction if no one else beats me to it. Thank you.
Sent from my LG-LS980 using Tapatalk
garwynn said:
Please post your question in the appropriate forum. I will try to find the right home for yours later and point in the right direction if no one else beats me to it. Thank you.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
i am the only one unofficial maintener for that device... and i couldn't find any working answer yet.
Moved to appropriate forum as a new thread. Hope this helps you get the answers you need.
So that others can help can you please explain what you are trying to build?
(AOSP, CM, AOKP, etc...)
Thanks and good luck!
OK, did some looking from where I moved this from and I see you're looking to build AOKP, correct?
Are you trying to do the initial bringup for this device?
Or do you know if any other AOSP projects support this device?
I'll look at your device tree but you're going to need a kernel (and/or source) and vendor tree as well.
If you don't have these it's not going to build.
Edit: Looks like your device tree is designed for CM at the moment.
Is CM building OK for this device?
Thanks!

[SOLVED] Any FTDI enabled Kernel's for the prime?

Hey Guys,
I've been working on a project that requires me to connect an arduino to my prime. I've been searching around and have had no luck finding a kernel thats been compiled with the FTDI drivers. I'm not quite savvy enough to do it on my own, so I'm reaching out to you guys to find out if you know of any kernel's for our prime with this driver enabled? Or maybe some enterprising dev on here would like to help me make one.
Thanks for reading.
skitzo2000 said:
Hey Guys,
I've been working on a project that requires me to connect an arduino to my prime. I've been searching around and have had no luck finding a kernel thats been compiled with the FTDI drivers. I'm not quite savvy enough to do it on my own, so I'm reaching out to you guys to find out if you know of any kernel's for our prime with this driver enabled? Or maybe some enterprising dev on here would like to help me make one.
Thanks for reading.
Click to expand...
Click to collapse
CONFIG_USB_SERIAL_FTDI_SIO
CONFIG_USB_FTDI_ELAN
Are one or both of these what you need to be enabled on a 201 kernel ?
lj50036 said:
CONFIG_USB_SERIAL_FTDI_SIO
CONFIG_USB_FTDI_ELAN
Are one or both of these what you need to be enabled on a 201 kernel ?
Click to expand...
Click to collapse
Possibly I'm trying to find the doc I found a few days ago. http://www.ftdichip.com/Android.htm has some info.
I did find a pdf that described how to add to an android kernel. Most of the info I've found revolves around just creating an application. I'm looking to have access to the device in a chroot environment, which means I really need kernel support.
skitzo2000 said:
Possibly I'm trying to find the doc I found a few days ago. http://www.ftdichip.com/Android.htm has some info.
I did find a pdf that described how to add to an android kernel. Most of the info I've found revolves around just creating an application. I'm looking to have access to the device in a chroot environment, which means I really need kernel support.
Click to expand...
Click to collapse
What rom are you running ?
lj50036 said:
What rom are you running ?
Click to expand...
Click to collapse
Hairy Bean 2.31
skitzo2000 said:
Hairy Bean 2.31
Click to expand...
Click to collapse
So you are running a bootloader with the version ending with 27.1 ...
So you need a kernel that can boot on that setup with the FTDI drivers enabled ...
Ok, You did say there was a guide for making this work ?
Can you post this guide or a link to the guide ?
Thx Jsoh
lj50036 said:
So you are running a bootloader with the version ending with 27.1 ...
So you need a kernel that can boot on that setup with the FTDI drivers enabled ...
Ok, You did say there was a guide for making this work ?
Can you post this guide or a link to the guide ?
Thx Jsoh
Click to expand...
Click to collapse
Sure thing. This guide is from the FTDI website.http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_132_Adding_FTDI_Devices_VCP_Driver_Support_to_Android.pdf
skitzo2000 said:
Sure thing. This guide is from the FTDI website.http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_132_Adding_FTDI_Devices_VCP_Driver_Support_to_Android.pdf
Click to expand...
Click to collapse
Ok which way would you like to go with this ?
Do you have a way to compile an Android kernel ?
I would like to help but I dont think that doing it for you would be the right thing to do.
Let me know. Thx Josh
lj50036 said:
Ok which way would you like to go with this ?
Do you have a way to compile an Android kernel ?
I would like to help but I dont think that doing it for you would be the right thing to do.
Let me know. Thx Josh
Click to expand...
Click to collapse
I have a dev environment on my laptop(eclipse, adb, github, etc), but I'm not sure its going to be very good for compiling a kernel. late 2011 Macbook air. Last time I tried to compile cm10 I think it tied up a machine for several days (It was for my old nexus S). I really can't afford to do that with this laptop.
I am a dev of sorts, just not an android one. I'm not afraid of command line. Just need some help getting pushed in the right direction. Thnks for the help Josh.
skitzo
skitzo2000 said:
I have a dev environment on my laptop(eclipse, adb, github, etc), but I'm not sure its going to be very good for compiling a kernel. late 2011 Macbook air. Last time I tried to compile cm10 I think it tied up a machine for several days (It was for my old nexus S). I really can't afford to do that with this laptop.
I am a dev of sorts, just not an android one. I'm not afraid of command line. Just need some help getting pushed in the right direction. Thnks for the help Josh.
skitzo
Click to expand...
Click to collapse
Ok, well lets see what we can do ..
Can you get the kernel source and device tree for the ROM that you are currently running ?
Thx Josh
@skitzo2000
Did you get my PM ?
lj50036 said:
Ok, well lets see what we can do ..
Can you get the kernel source and device tree for the ROM that you are currently running ?
Thx Josh
Click to expand...
Click to collapse
Well this is definitely where I get stuck. Maybe I need to switch to a different rom. He mentions the kernel source in his thread here
He says:
It is the same as the TF700 source but with some changes in ramdisk for TF201.
https://github.com/Hundsbuah/tf700t_10_6_1_14_4​
But I have no idea what the changes are and whether they are included within this kernel source that he has linked too.
Am I just looking in the wrong place?
lj50036 said:
Ok, well lets see what we can do ..
Can you get the kernel source and device tree for the ROM that you are currently running ?
Thx Josh
@skitzo2000
Did you get my PM ?
Click to expand...
Click to collapse
Ok Josh, I've upgraded to your latest _that kernel today, and I'm ready to start this thread back up. Let me know where I should go to get the kernel sources.
skitzo2000 said:
Ok Josh, I've upgraded to your latest _that kernel today, and I'm ready to start this thread back up. Let me know where I should go to get the kernel sources.
Click to expand...
Click to collapse
Ahh found the sources on your github. I'm hoping they include your latest changes for wifi!
skitzo2000 said:
Ahh found the sources on your github. I'm hoping they include your latest changes for wifi!
Click to expand...
Click to collapse
There is a new release in the our thead ...
That has wifi and CAM fix ...
I have a kernel for you to try once your up and running ...
Thx Josh
Other than waiting for my way too many apps to install, I'm up and running
Sent from my SPH-L720 using XDA Free mobile app
skitzo2000 said:
Other than waiting for my way too many apps to install, I'm up and running
Sent from my SPH-L720 using XDA Free mobile app
Click to expand...
Click to collapse
Did you grab the newest zip ?
lj50036 said:
Did you grab the newest zip ?
Click to expand...
Click to collapse
Yep, Installed as tf300 and everything is working. I've been keeping an eye on your dev thread for when the updated version came out. First install didn't have wifi, then I saw you were uploading a new one.
skitzo2000 said:
Yep, Installed as tf300 and everything is working. I've been keeping an eye on your dev thread for when the updated version came out. First install didn't have wifi, then I saw you were uploading a new one.
Click to expand...
Click to collapse
Very good, well I need a bit, as I just install a kernel with FTDI enabled and it breaks wifi
Will let you know ...
Thx Josh
lj50036 said:
Very good, well I need a bit, as I just install a kernel with FTDI enabled and it breaks wifi
Will let you know ...
Thx Josh
Click to expand...
Click to collapse
Wow your amazing! But yeah wifi is kinda needed for my project. So let me know what I can do.
FTDI Kernel Installed
Just a quick update to this thread if anyone has been watching. The Crombi-KK Team put together a kernel for me with the FTDI drivers installed. I've since managed to get communication going over serial with and arduino.
I would highly recommend reaching out to Josh and the Crombi-kk team if you have a similar request. As they already have a kernel compiled and ready to go.

Categories

Resources