Port of released Broadcom CPU and GPU drivers to AOSP based ROMs for BCM21553 SoCs

Search This thread

bieltv3

Senior Member
Jun 12, 2012
1,299
9,884
Barcelona
Hi to all Broadcom BCM215XX armv6 devices running android! :D

I'm glad to announce that, our organisation, BroadcomCM will start working on the port of AOSP ICS drivers for our CPU and GPU, BCM21553. First of all, I've asked moderators to close all my threads, why? We know we have [GENERAL] Thread for our projects but most users don't care, so this will be the thread to talk about it, development!.

Samsung stopped the development on this devices long ago, but their drivers where not ever released. Thanks to our petition, we have managed to force Broadcom to release the drivers, and we managed to release them on ICS, android 4.0+, way!

Index:

Post 1 (this) ...................................... Information about drivers
Post 2 .............................................. Frequently asked questions
Post 3 .............................................. Drivers on Github (Opensource)
Post 4 .............................................. Videos showing HW working


A bit of introduction:

Broadcom gave to us test driver builds, which were prebuilt, .so libraries, and we could not edit them, but they gave us the code to patch framework to make those prebuilt libraries work with our AOSP project (by that time, CyanogenMod 7.2). After some re-search and lot of work on our team (thanks Legolas93), I managed to implement AOSP Alcatel drivers to our CyanogenMod 7.2 Based ROM. This was the biggest change ever happened to that device, as we managed to fix 100% HW and as a cosnequence, libstatgefright was fixed too, and HGL. This resulted on camera/vide recordi (media profiles, encoding and decoding) to work, this was RC1. REMEMBER: As we extracted this libs from sotck AOSP alcatel ROM they are prebuilt, so we can not modify them at all.
SInce that moment, project on HW was stopped, and we focused to fix other issues not releted to HW (ext4, backlight, led, tethering, BT...), and we managed (most of them), and everyone enjoys now a CM, AOSP and Cyanmobile port brought to you by broadcomCM.

What else?
Broadcom released, or seemed to, BCM21553 driver source for AOSP ICS source. They released the source, so now we can know how our chip work. What is weird about it, is that this chip is released for ICS source, when it is an armv6 chip, and any device of our family has official ICS. (Maybe BROADCOM are really nice people, or maybe they trolled us). We will add new tag to be defined on Boardconfig.mk to make the drivers work on it.

So.. We did it?
Yes, we forced Broadcom to release the source, you, we, we all did this possible, and we should be prud of ourselves.

Will with this come BroadcomCM to develop?
Well, yes and no, we already have some surpises for BroadcomCM ROMs owner, which were not reletated to drivers at all, and they affect all devices. As this work is nearly finished (first alpha), we will release this next week, and then we will start working on it. Keep calm, good things make people wait for it don't ;) ?

What is now?
Now, nice question. We will implement this source code on our CM9, ICS, branch. (all sources can be found on our github), and implement them on the build, will that be easy? OF COURSE NOT. Broadcom trolled us with first test builds of drivers, so maybe expect the same from that sources, we don't know and we will not know unitl we build it, and we have to compare each file, ONE PER ONE, so it will be a hard work.

Frequently asked questions can be found on the second post, as well as a video to show you what was having a device with drivers, and what was not. (Qualcomm vs Broadcom [armv6]).
 
Last edited:

bieltv3

Senior Member
Jun 12, 2012
1,299
9,884
Barcelona
ANY ETA? (Estimated Time of Arrival)
No. I can not tell any eta, I'll maintain you informed to you on this thread. I'll start my work next week (Exams on this one, need to study :p), and I'll keep calm, I'm as amazed as you, but we have to be very down to earth. Broadcom lied to us, maybe they made it too. It will take some time to study and implement, and then make them work!

WILL THAT FIX ALL THE ISSUES WE HAVE ON ICS?
No, but will fix the most important one, HW. What I mean by hardware is the animations will be smooth, video on second post. So hopefully we will run a good ICS build, but expect camera and Audio not working too. Audio? Well some progress have been made on shadows, camera? That will be hard, really hard. Even Cooper (Galaxy Ace MSM7x27 based chip wasn't able to run camera at the first, since Qualcomm not release their source too).

AND WHAT ABOUT CM7 (2.3.7 based roms)?

We hope 2.3.7 ROMs will benefict from it, but we are not sure, we will have to test them and implement on our CM7 tree, but as they are for ICS, or this seems to, first goal is ICS, as we have 100% HW working, but with prebuilt, for the moment is OK and not our priority,

CAN I IMPLEMENT THE DRIVERS ON MY DEVICE?
No, to implement those dirvers you will need big knowledge of BroadcomCM devices, and I think our team has. We have managed to solve many bugs, and, talk with broadocm to solve first driver errors we had.
 
Last edited:

bieltv3

Senior Member
Jun 12, 2012
1,299
9,884
Barcelona
Ok, we have managed to get drivers working on our CyanogenMod 9.1 Ice Cream Sandwich version 4.0.4. Remember the drivers were given in 4.0.1 which were a bit different from actual 4.0.4 used.

After the release of the ROM with first version of those drivers included, we are glad to announce that, as always, we opensourced this "4.0.4 drivers" as well as Broadcom did. Feel free to take them, and use it at your own, to build diferent ROMs, such as AOKP, Paranoid, AOSP... Or Jelly Bean ;) . This are drivers source, you will need to cherry-pick them to your local repo:

Broadcom was nice, and they created a new HGL lib, which they open-sourced too, and give the name of libv3d, kind of a new HGL lib, which should complish all patches and BCM21553 requiriments, also opensourced on BroadcomCM.

You can also find original patch on Broadcom's page (4.0.1 patch) and the diff files I've made, which they will give you more clues on how to implement them on other sources.
 
Last edited:

CharsiBabu

Senior Member
Mar 25, 2012
403
286
Mumbai
Does this mean we can build other roms as well?
like aokp / paranoid android / pac /miui etc.

Anyhoo, I wish you goodluck. :)
 

JynAlek

Senior Member
Jul 28, 2013
197
376
28
Limeira
Only these lines in legacy_prebuilts.mk already made me start to give up the drivers must be another troll source, maybe I'm wrong...


libEGL_POWERVR_SGX530_121.so \
libEGL_tegra.so \
libGLESv1_CM_POWERVR_SGX530_121.so \
libGLESv1_CM_tegra.so \
libGLESv2_POWERVR_SGX530_121.so \
libGLESv2_tegra.so \
 

Flamestorm

Account currently disabled
Jun 16, 2012
503
102
GB
Maybe they gave us fake one or another test builds. Still will take time months/year. Just buy new phone. This doesnt worth it. :)
 

Mitko

Senior Member
Oct 29, 2009
700
230
I highly doubt a big manufacturer would "troll" its consumers and volunteer developers with "fake" driver sources.

Sent from my GT-I9195 using xda app-developers app
 

mohamedrashad

Senior Member
Nov 15, 2012
1,087
618
26
ismailia
I don't think they trolled us, they wrote a documentation and made an announcement for Fake drivers? A big manufacturer like broadcom will not play hide and seek with us, they know that they will lose their respect.

Sent from my GT-S5360 using Tapatalk 2
 

Nachiket.Namjoshi

Senior Member
Aug 16, 2012
710
2,054
◄♪♫██ ♪♫►
Does this mean we can build other roms as well?
like aokp / paranoid android / pac /miui etc.

Anyhoo, I wish you goodluck. :)

We can leterally "port" those, (copy paste u know, lol)

I highly doubt a big manufacturer would "troll" its consumers and volunteer developers with "fake" driver sources.

Sent from my GT-I9195 using xda app-developers app

Its natural, lol, happens once in a millenium, but these maybe true... but one thing is serioussly doubtful that the readme says

Readme.txt: last line:

make -j8 TARGET_DEVICE=generic_armv5

and armv5 doesn't exist ?? && moreover our bcm21553 devices are more likely to be armv6 variations....

really confuses me :confused:

Code:
I havent done enough research tho (due to less time on pc)

can anybody explain me that ?? :confused: :cowboy:
 

Lemon_Lime`s

Senior Member
Jan 27, 2014
202
35
There a long-long way to go. hopefully the awaited days come with good news.

XDA-Developer App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 80
    Hi to all Broadcom BCM215XX armv6 devices running android! :D

    I'm glad to announce that, our organisation, BroadcomCM will start working on the port of AOSP ICS drivers for our CPU and GPU, BCM21553. First of all, I've asked moderators to close all my threads, why? We know we have [GENERAL] Thread for our projects but most users don't care, so this will be the thread to talk about it, development!.

    Samsung stopped the development on this devices long ago, but their drivers where not ever released. Thanks to our petition, we have managed to force Broadcom to release the drivers, and we managed to release them on ICS, android 4.0+, way!

    Index:

    Post 1 (this) ...................................... Information about drivers
    Post 2 .............................................. Frequently asked questions
    Post 3 .............................................. Drivers on Github (Opensource)
    Post 4 .............................................. Videos showing HW working


    A bit of introduction:

    Broadcom gave to us test driver builds, which were prebuilt, .so libraries, and we could not edit them, but they gave us the code to patch framework to make those prebuilt libraries work with our AOSP project (by that time, CyanogenMod 7.2). After some re-search and lot of work on our team (thanks Legolas93), I managed to implement AOSP Alcatel drivers to our CyanogenMod 7.2 Based ROM. This was the biggest change ever happened to that device, as we managed to fix 100% HW and as a cosnequence, libstatgefright was fixed too, and HGL. This resulted on camera/vide recordi (media profiles, encoding and decoding) to work, this was RC1. REMEMBER: As we extracted this libs from sotck AOSP alcatel ROM they are prebuilt, so we can not modify them at all.
    SInce that moment, project on HW was stopped, and we focused to fix other issues not releted to HW (ext4, backlight, led, tethering, BT...), and we managed (most of them), and everyone enjoys now a CM, AOSP and Cyanmobile port brought to you by broadcomCM.

    What else?
    Broadcom released, or seemed to, BCM21553 driver source for AOSP ICS source. They released the source, so now we can know how our chip work. What is weird about it, is that this chip is released for ICS source, when it is an armv6 chip, and any device of our family has official ICS. (Maybe BROADCOM are really nice people, or maybe they trolled us). We will add new tag to be defined on Boardconfig.mk to make the drivers work on it.

    So.. We did it?
    Yes, we forced Broadcom to release the source, you, we, we all did this possible, and we should be prud of ourselves.

    Will with this come BroadcomCM to develop?
    Well, yes and no, we already have some surpises for BroadcomCM ROMs owner, which were not reletated to drivers at all, and they affect all devices. As this work is nearly finished (first alpha), we will release this next week, and then we will start working on it. Keep calm, good things make people wait for it don't ;) ?

    What is now?
    Now, nice question. We will implement this source code on our CM9, ICS, branch. (all sources can be found on our github), and implement them on the build, will that be easy? OF COURSE NOT. Broadcom trolled us with first test builds of drivers, so maybe expect the same from that sources, we don't know and we will not know unitl we build it, and we have to compare each file, ONE PER ONE, so it will be a hard work.

    Frequently asked questions can be found on the second post, as well as a video to show you what was having a device with drivers, and what was not. (Qualcomm vs Broadcom [armv6]).
    46
    CYanogenMod 9.1 Beta 2 released for all 3 devices!
    Cooperve: http://xdaforums.com/showthread.php?p=37202522
    Tassve: http://xdaforums.com/showthread.php?p=50977228
    Totoro: http://xdaforums.com/showthread.php?p=50977249
    Have fun with it, Harware drivers implemented! Give report, of HW.

    For developers: SOurces will be published as soon as possible, as there are many repo's modded, that we need to push onto github, and our internet connection isn't the best.

    Have a nice flashing, it has been an honor to work on those drivers, and hopefully made peple happy with them! :D
    44
    ANY ETA? (Estimated Time of Arrival)
    No. I can not tell any eta, I'll maintain you informed to you on this thread. I'll start my work next week (Exams on this one, need to study :p), and I'll keep calm, I'm as amazed as you, but we have to be very down to earth. Broadcom lied to us, maybe they made it too. It will take some time to study and implement, and then make them work!

    WILL THAT FIX ALL THE ISSUES WE HAVE ON ICS?
    No, but will fix the most important one, HW. What I mean by hardware is the animations will be smooth, video on second post. So hopefully we will run a good ICS build, but expect camera and Audio not working too. Audio? Well some progress have been made on shadows, camera? That will be hard, really hard. Even Cooper (Galaxy Ace MSM7x27 based chip wasn't able to run camera at the first, since Qualcomm not release their source too).

    AND WHAT ABOUT CM7 (2.3.7 based roms)?

    We hope 2.3.7 ROMs will benefict from it, but we are not sure, we will have to test them and implement on our CM7 tree, but as they are for ICS, or this seems to, first goal is ICS, as we have 100% HW working, but with prebuilt, for the moment is OK and not our priority,

    CAN I IMPLEMENT THE DRIVERS ON MY DEVICE?
    No, to implement those dirvers you will need big knowledge of BroadcomCM devices, and I think our team has. We have managed to solve many bugs, and, talk with broadocm to solve first driver errors we had.
    40
    Some more info, Ill upload two second post with this soon: Ive created diff files. This driver was introduced for android 4.0.1 and was not compatible with 4.0.4. Ive downloaded 4.0.1 AOSP sources, then made a copy and apply broadcom files. I took a diff from original to this new one, and now I know what exactly is changed. As we can not apply those diffs (some incompatiblities) Ive spent 3 hours adding file per file broadcom's patch to 4.0.4 CM9 files. Now its compiling and since now, no errors :p

    u9esajy3.jpg


    Enviado desde mi C5303 mediante Tapatalk
    32
    On those videos, we can see that those drivers are fully working! Thanks for those youtubers, we can show to the world that WE DID IT!


    ME presenting those drivers:


    COOPERVE:




    TOTORO:





    TASSVE:



    CORI: (WIP)