[Q] Using sources from Github to Android Eclipse - Android Q&A, Help & Troubleshooting

I'm helping my friend out.
How exactly do I use sources from Github? For example :
https://github.com/ChristopheVersieux/HoloEverywhere
Or
https://github.com/emilsjolander/StickyListHeaders
Or even https://github.com/astuetz/ViewPagerExtensions
[just giving examples]
After downloading the full sources off the net, what do I do with them? I've imported them into Eclipse and added the library into my Project. But I get lots of errors.
Any help ? Thanks.
Click to expand...
Click to collapse
If anyone could help, that would be good! Thanks in advance!

Related

[DEV]Cyanogenmod CM9/10 device tree for ST27i Xperia Go needed

Hi Guys,
is someone interested helping me build a device tree for the sony xperia go so that we would be able to compile CM9 from source with the latest sony kernel source ?
i was able to build the ICS kernel from this 6.1.B.0.544 Kernel Source for the sony xperia go allready.....
thanks a lot for your help, recommendations, ...
cheers
We'll start working on it for AXP soon. It's going to be a difficult task, adding a new target from scratch, but after that porting to multiple devices will be easy. You can follow AXP on GitHub.
K900 said:
We'll start working on it for AXP soon. It's going to be a difficult task, adding a new target from scratch, but after that porting to multiple devices will be easy. You can follow AXP on GitHub.
Click to expand...
Click to collapse
could you post the link to the git, i already got my source online at git for the kernels i have published.....
would it be possible to contribute ?
cheers
krachlatte said:
could you post the link to the git, i already got my source online at git for the kernels i have published.....
would it be possible to contribute ?
cheers
Click to expand...
Click to collapse
GitHub.com/AOKPXperia. You said you have the P ICS kernel ported, right? Add me on gtalk or join #axp on freenode later today and we'll see where we can go from here. Typing from my phone is a pain
I wish I could help...
Thanks a lot guys, especially krachlatte!
Hi guys i am on vacation, .... just wanted to let you know i will get in touch with you when i am back...
Id realy like to have this fm to my xperia go
Go for CM10 if you can dude, CM9 and CM7 are cool but not the newest, but would love to have an alternative to samsungs firmware tbh.
Androboss said:
Go for CM10 if you can dude, CM9 and CM7 are cool but not the newest, but would love to have an alternative to samsungs firmware tbh.
Click to expand...
Click to collapse
Androboss said:
alternative to samsungs firmware
Click to expand...
Click to collapse
Wait, what?
K900 said:
Wait, what?
Click to expand...
Click to collapse
My bad, i meant sony
guess you are back but not doing the project
hi guys,
how is the porting going for CM10 ??
i am totally stuck with, not enough coder knowledge i guess, with setting up the device trees ....
cheers
krachlatte said:
hi guys,
how is the porting going for CM10 ??
i am totally stuck with, not enough coder knowledge i guess, with setting up the device trees ....
cheers
Click to expand...
Click to collapse
No GSM.
K900 said:
No GSM.
Click to expand...
Click to collapse
Cheer for ur effort for XG:beer:
Sent from Cambodia The Kingdom of Wonder with Xperia Go
is there something i could do to assist you ?
cheers
krachlatte said:
is there something i could do to assist you ?
cheers
Click to expand...
Click to collapse
Not really. If you know your way around that, try writing a RIL class.
so here is something wrong right ? rild.c
do you have the propeiretary libril.so from the phone ?
krachlatte said:
so here is something wrong right ? rild.c
do you have the propeiretary libril.so from the phone ?
Click to expand...
Click to collapse
No, not the native part, the Java part.
Anynew of CM 9/10 for our Go
Sent from my ST27i using xda app-developers app
all u8500 devices are ready for cm9
and will be released after we fix audio
not working
-Audio
-FmRadio
-WIFIHotspot
working
-everything else
bugs
YOU have to discover
br
J
FreeXperia Team

How to compile Cyanogenmod for an unsupported device

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.

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 ?

[Q] Firefox OS aftermarket firmware site - community

I'm thinking about the possibility of create a site - forum - repository (and tools) where aggregate all ROM, infos about FFOS - B2G phones.
And support all developers which want to create a b2g rom for their device.
Something like cyanogenmod (in the future)
Could be a good idea ?
Cheers,
Sergio
feherneoh said:
Sounds like a good idea
You means ROM's like FoXperia?
Click to expand...
Click to collapse
Yep
Goof idea
If you need someone to moderate the forum, i'm up for it mate! Sound like a awesome idea!
kamphoz said:
If you need someone to moderate the forum, i'm up for it mate! Sound like a awesome idea!
Click to expand...
Click to collapse
:good:
Great !
kamphoz we start thinking about the site of "firefoxosmod" ?
Please send me a private mail with your contacts (email, skype, hangout)
Cheers
Jimcodes68 said:
:good:
Great !
kamphoz we start thinking about the site of "firefoxosmod" ?
Please send me a private mail with your contacts (email, skype, hangout)
Cheers
Click to expand...
Click to collapse
Could you please PM me your email? Or is it okay, if i give you my info over private message?
The ZTE Open has this site already if you have not found it https://sites.google.com/site/zteopenfirmware/
Jimcodes68 said:
I'm thinking about the possibility of create a site - forum - repository (and tools) where aggregate all ROM, infos about FFOS - B2G phones.
And support all developers which want to create a b2g rom for their device.
Something like cyanogenmod (in the future)
Could be a good idea ?
Cheers,
Sergio
Click to expand...
Click to collapse
i think the idea sounds fantastic im trying to learn to build im stuck on an error and cant find help for anything so this option is perfect for me !

[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