Jump to content


Photo

[DEV] [JB] [CM10] [4.1.1] CyanogenMod 10 for the Huawei Ascend G300 [ROM] [Last updated: 26/08]


  • This topic is locked This topic is locked
1633 replies to this topic

#1561
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300

I don't know why people are saying it's kernel source - it's actually source to the Wi-Fi module.


Ah OK, I thought they'd supplied it as part of full kernel source drop, sans the funked up netfilter module. Of course I culd've answered my own question anyway, by just checking your last github commit ^^ Derp.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#1562
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,304 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo

Ah OK, I thought they'd supplied it as part of full kernel source drop, sans the funked up netfilter module. Of course I culd've answered my own question anyway, by just checking your last github commit ^^ Derp.


They don't build it within the kernel build process as a typical module, the Makefile they use actually lives in hardware/broadcom/wlan/something/dhd/linux in their platform. It uses KERNEL_OBJ to link with the kernel, so it's not a case of them intentionally removing it from kernel drops - technically it's part of the platform, but is still GPL and they are still releasing a binary. The various versions of DHD available in the kernel are the upstream ones that aren't actually used and won't work.

Because it's built in the platform and provided by Broadcom originally it's wrapped in a ton of Makefiles that are all incredibly different, so the current problem is getting it to a. build, and b. work, before even integrating it in to the kernel preferably.

Hey Daz, think this may take more than twitter to ask/answer. What does the source for the wifi module allow us to do?I thought the kernel source had a module for the wifi already? Does this compile the bcm wifi module for the /etc/modules directory? Sorry for the questions, kernel source development is one thing, still a long way off learning about rom development.


It compiles Dongle Host Driver, the low level Wi-Fi driver which is tied quite closely to the kernel. It's quite susceptible to breakage with a few kernel edits, and eventually hex editing the module isn't enough. The source release (providing we get it building all good) allows us to be more adventurous with the kernel (as we can just build it as part of the kernel so it never breaks) and potentially fix the Wi-Fi hang with custom kernels, as we'll have full control over all source.

^ above regarding kernel containing source

  • 2
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

You're likely to get a quicker response from me on Twitter.

#1563
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Now I see, cheers for the explanation :)

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#1564
NeMeZz

NeMeZz

    Newbie

  • Members
  • Pip
  • 6 posts
  • Devices:Huawei ascend g 300
Good work but can you upload the rom version fixed please?

  • 0

#1565
Lidds123

Lidds123

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:North Yorkshire
  • Devices:G300

Good work but can you upload the rom version fixed please?


Oh what a amazing suggestion! I bet dazzozo never thought of that. It's a good job you are here, I really really don't know what he would hav done without you....

Or in other words, when it I ready it will be uploaded just wait :)

  • 1

#1566
ChrisPNE

ChrisPNE

    Enthusiast

  • Members
  • PipPipPip
  • 179 posts
  • Gender:Male
  • Devices:Vowney V5, Huawei G300
  • Twitter:@ChrisPNE
Wouldn't it be better if this thread was locked since no development is taking place in it?

Then we wouldn't have to put up with this perpetual cycle of inane questions and condescending replies.

  • 0

#1567
Lidds123

Lidds123

    Newbie

  • Members
  • Pip
  • 12 posts
  • Gender:Male
  • Location:North Yorkshire
  • Devices:G300

Wouldn't it be better if this thread was locked since no development is taking place in it?

Then we wouldn't have to put up with this perpetual cycle of inane questions and condescending replies.


Or open up a separate discussion thread ?

  • 0

#1568
Ludak021

Ludak021

    Regular

  • Banned
  • PipPip
  • 139 posts
  • Devices:Huawei Ascend G300
or just ask Dazzozo to upload the rom.... :P

  • 0

#1569
krishang3

krishang3

    Addict

  • Members
  • PipPipPipPipPip
  • 581 posts
  • Gender:Male
  • Location:Auckland
  • Interests:lots
  • Devices:Huawei Ascend G300
or we could just have the time to visit the IRC channel...

  • 0
Thanks, If I helped in anyway don't forget to rep me :)

#1570
SterLu

SterLu

    Newbie

  • Members
  • Pip
  • 37 posts
  • Gender:Male
  • Location:Serbia
  • Devices:Huawei Ascend G300
Or just keep asking stupid questions like why is the camera not working

  • 0

#1571
Davidoff59

Davidoff59

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 2,317 posts
  • Gender:Male
  • Devices:Orange San Francisco, G300
Or just wait until its fixed and working as you all know you will be bombarding this thread with help requests and fix requests if its released with bugs or missing features.

  • 0

#1572
Curlie

Curlie

    Enthusiast

  • Members
  • PipPipPip
  • 226 posts

Or just wait until its fixed and working as you all know you will be bombarding this thread with help requests and fix requests if its released with bugs or missing features.

yeah just wait

  • 0

#1573
krishang3

krishang3

    Addict

  • Members
  • PipPipPipPipPip
  • 581 posts
  • Gender:Male
  • Location:Auckland
  • Interests:lots
  • Devices:Huawei Ascend G300
Or just don't continue from here about nonsense ?

  • 0
Thanks, If I helped in anyway don't forget to rep me :)

#1574
Dazzozo

Dazzozo

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 3,304 posts
  • Gender:Male
  • Location:Shropshire, UK
  • Devices:Crescent, G300, Y300, Nexus 5
  • Twitter:@Dazzozo
Right, I guess it's time I started maintaining this thread again.

Some of you may have noticed this: http://www.huaweidev...softid=NDY5MjU=

It's important, and it's something that me and some other people were asking Huawei to release for a couple of weeks. It's the source code for the dhd_4330.ko module that I have spoke of many times. It was released in a form that is pretty awkward for us, and we fixed it. We can now build the Wi-Fi driver as part of the kernel as of about a hour or so ago.

Why is this important? Because it gives us a lot more portability. Problems with using a dhd_4330.ko ripped out of the stock ROM began to arise. Now, we simply don't need to care about Wi-Fi as it's rebuilt every time to match the kernel for that build. This means we can happily update the kernel to any version and not have problems with DHD. This might also happen to fix the Wi-Fi causing a system lock. If not, who cares, we now have full control over all the code and can fix it ourselves.

Going forwards, there's a CM9 re-release imminent. Why CM9? Because there's a few specific issues with CM10 that need to be worked out -- it's all minor stuff, nothing is broken, but it makes more sense (at least to me) to fix the things that are in both CM9 and CM10, plus, people probably want something in their hands after such a wait. I know of 2 issues in CM9 and after that I'm pretty stuck on what to fix. :P

  • 17
Like my work? Give me rep!

Like my work a lot? Donate! Remember to leave your forum name if you want to be credited!

You're likely to get a quicker response from me on Twitter.

#1575
bladebuddy

bladebuddy

    Addict

  • Members
  • PipPipPipPipPip
  • 955 posts
  • Gender:Male
  • Interests:All things outdoors , family and phone
  • Devices:zte blade + Huawei Ascend G300
Well done Daz , looking forward to CM9 on my phone as I expect plenty off others are to.:D

  • 0
Biohazard

#1576
timfimjim

timfimjim

    Addict

  • Members
  • PipPipPipPipPip
  • 632 posts
  • Gender:Male
  • Location:Leeds, UK
  • Devices:Huawei Ascend g300, Nexus 7
Exciting times. Thanks for the update!

  • 0

#1577
Hans Gruber

Hans Gruber

    Diehard

  • MoDaCo Silver
  • PipPipPipPip
  • 302 posts
  • Gender:Male
  • Location:Norwich
  • Devices:Huawei Ascend G300
Awesome news. I'm pretty excited for both cm9 & 10 :D

  • 0

#1578
Cyda

Cyda

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,448 posts
  • Gender:Male
  • Location:Wales
  • Devices:Nexus 4 & 7 running PAC
Thanks for the update, Daz. Looking forward to CM9 and onwards to CM10. Exciting times.

  • 0

#1579
billyboy2468

billyboy2468

    Newbie

  • Members
  • Pip
  • 39 posts
is the cm9 rom for gb or ics,looking for a good rom for gb as ics never works right for me daz,thanks

  • 0

#1580
grmn

grmn

    Regular

  • MoDaCo Silver
  • PipPip
  • 55 posts
CM9 is ICS, but it cannot be compared to the stock huawei crap or repacks/modifications of that.

Edited by grmn, 05 November 2012 - 08:14 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users