MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

[ICS] [CM9] [4.0.4] CyanogenMod 9 for the Huawei Ascend G300 [ROM]

814 posts in this topic

Posted · Report post

Hey Dazzozo I've been using this great value Huawei G300 for about a month now and enjoying it daily ;)

My main and current background is on the HTC HD2, which recently failed, which I thought would be replaced with something else through my insurance, but ended being repaired... lame. Anywho, the G300 I'm also using will be my sexy other half's main phone, but only as soon as I'm happy with it's stability and functionality. I've currently got a random build of iCS 4.0.4 on it, but damn it's made this phone almost unusable <_<

I've tried all sorts with trying to make it smoother, responsive and with the best experience, but like us all, time isn't always that spare :unsure:

I do believe iCS can work far better on the G300 and I simply want to help... if I can... and if you need any help? I'm a huge fan and supporter of CyanogenMod and still have CM7 on my HD2 (which I have a feeling I'll be using for the next few months until I can save some pennies for something else).

I've tried setting up the ability to create ROM's on my Windows OS, but just not sure I'm doing it right as it never finishes to install... long download of about 6 hours, which never finishes?!

Anywho, as I have my HD2 back (need rooting again), I'll mainly using that again and meanwhile can do some serious G300 testing for you, if you need, as it'll just be sitting here now, until I get it fully working. Everything currently works on it using (a slightly custom ROM of) Infusion, but no offence to the hard work the builder put into, but it's not a good ROM. Memory usage is terrible, apps close that are in usage without asking, on daily use it can take up to 10 seconds just to open the dialling pad, trying to answer an incoming call isn't always possible because by the time it actually shows you the option to take the call, it's already gone to voicemail. Anyway, I'm not here to moan, but just state some obvious faults... and there are A LOT more :(

I will admit that haven't actually tried your ROM yet, but hopefully after the weekend (busy with Olympic partying and Closing Ceremony) I will. I'm only cautious because of the lack of WiFi, Bluetooth and the camera. All features I use daily :)

The main reason I'm saying ALL this is your developing for CyanogenMod9 on the G300. This is outstanding to me and will support soon after I'm happy with the test. I've been randomly monitoring your Tweet's which all sound good, just wished you used Google+, but each to there own I guess :P

Meanwhile... enjoy the games (if you're watching... not that any of us in the UK can actually avoid it anyway) and see you again on here after the weekend. Christian O'Connell has to currently play Spandau Ballet's Gold, 26 times on Monday... LMAO!!! :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm not developing CM9 anymore as there's no point when Jelly Bean is what ICS should've been and CM10 is just CM9 but better.

This has become more of a CM10 dev discussion thread.

Edit: from the guy who's "busy" himself: https://github.com/i...m9_device_c8650

3

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for letting me know Dazzozo ;)

I will keep my eyes out for CM10 builds, but have a feeling it's going to be a long wait until it's really working :huh:

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post


<4>[1088, Thread-104] [ 160.072068] dhd_module_init: Enter
<4>[1088, Thread-104] [ 160.072369] ## wifi_probe
<4>[1088, Thread-104] [ 160.072381] wifi_set_power = 1
<3>[1088, Thread-104] [ 160.254721] bcm_wifi_set_power: wifi power successed to pull up
<4>[1088, Thread-104] [ 160.254751] dhd_enable_mmchost_polling: /sys/devices/platform/msm_sdcc.2/polling
<4>[1088, Thread-104] [ 160.254884] set_polling : no need to enable polling for slot 2 (as host->pdev_id)
<4>[1088, Thread-104] [ 160.266506]
<4>[1088, Thread-104] [ 160.266516] Dongle Host Driver, version 5.90.125.120.2
<6>[1067, kworker/u:4] [ 160.540696] mmc2: new high speed SDIO card at address0001
<4>[1067, kworker/u:4] [ 160.542958] dhd_customer_oob_irq_map oob gpio is : 48;wifi slot is :2
<4>[1067, kworker/u:4] [ 160.543071] alloc static buf at dc540000!
<4>[1067, kworker/u:4] [ 160.543846] dhd_common_init:fw_path = /data/misc/wifi/load/firmware.bin
<4>[1067, kworker/u:4] [ 160.548743] DHD: dongle ram size is set to 294912(orig 294912)
<4>[1067, kworker/u:4] [ 160.565029] Broadcom Dongle Host Driver: register interface [eth0] MAC: 00:90:4c:11:22:33
<4>[1088, Thread-104] [ 160.566781] wifi_set_power = 0
<3>[1088, Thread-104] [ 160.567801] bcm_wifi_set_power: wifi power successed to pull down
<4>[1088, Thread-104] [ 160.567813] =========== WLAN placed in RESET ========
<4>[1096, wpa_supplicant] [ 160.650649]
<4>[1096, wpa_supplicant] [ 160.650664] Dongle Host Driver, version 5.90.125.120.2
<4>[1096, wpa_supplicant] [ 160.650681] wl_android_wifi_on in
<4>[1096, wpa_supplicant] [ 160.650693] wifi_set_power = 1
<3>[1096, wpa_supplicant] [ 160.953276] bcm_wifi_set_power: wifi power successed to pull up
<4>[1096, wpa_supplicant] [ 160.953304] =========== WLAN going back to live ========
<4>[1096, wpa_supplicant] [ 160.953318] sdio_reset_comm():
<4>[1096, wpa_supplicant] [ 161.134833] dhd_preinit_ioctls: use MAC address innvram 00:90:4c:ce:43:30
<4>[1096, wpa_supplicant] [ 161.134863] Firmware up: op_mode=1, Broadcom Dongle Host Driver mac=00:90:4c:ce:43:30
<4>[1096, wpa_supplicant] [ 161.828021] wl_android_wifi_off in
<3>[1096, wpa_supplicant] [ 161.830189] bcm_wifi_set_power: wifi power successed to pull down
<4>[1096, wpa_supplicant] [ 161.830208] =========== WLAN placed in RESET ========
<4>[1096, wpa_supplicant] [ 161.832369] do_exit: exit code=65280
<4>[1096, wpa_supplicant] [ 161.834036] wpa_supplicant used greatest stack depth: 4768 bytes left
[/CODE]

Boom.

Should be trivial now to get Android to like it... he says. :P

Also, this means we don't need to hack Android anymore! The new kernel and new Wi-Fi system introduced with the 3.0 kernel means no hacks to vold or libhardware_legacy.

Edit: gj huawei "/home/l81003604/U8818/build/Version_U8818_B926/androidcode/"

Oops :P

Edited by Dazzozo
5

Share this post


Link to post
Share on other sites

Posted · Report post

Great work Daz. :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

They very thought of Broadcom wifi drivers for Linux makes me cringe, but alas thse days are gone... thank f*ck.

0

Share this post


Link to post
Share on other sites

Posted · Report post

- snip - CloudFlare managed to cause me to double post

0

Share this post


Link to post
Share on other sites

Posted · Report post

The kernel is totally fine with the Wi-Fi now. Inserts and removes cleanly. There is a bit of weirdness to figure out with cfg80211.ko and dhd_4330.ko.

The former is required and must be loaded before you load the second one, and the second one actually enables the Wi-Fi, otherwise you get missing symbols.

It seems Huawei's attitude is "we don't understand the standards, lets make a binary wrapper so we can use the same ROM on about 10 devices". wlan_detect in this case, in the stock ROMs.

cfg80211 is built with the kernel and I might just see if there's a way of building it in to the kernel instead of as a module. Two modules is pretty pointless. dhd_4330 is totally closed, as expected.

At the moment the rest of the Wi-Fi stuff is entirely in Android. Softap fails with:


E/SoftapController( 114): SIOCGIPRIV failed: -1
E/SoftapController( 114): Softap fwReload - failed: -1
'5 softap fwreload eth0 STA' failed with '400 5 Softap operation failed (Operation not supported on transport endpoint)'
[/CODE]

...and then wpa_supplicant ultimately dies like every Wi-Fi issue ever.

2

Share this post


Link to post
Share on other sites

Posted · Report post

https://github.com/D...6d99bd2b8d93398

:)

Working on the overclock implementation now, I'll make it so the defaults are the stock speeds.

Edit: by the way, that commit above damages the stock ROMs a little bit, the stock ROMs will still expect cfg80211 to be a module, and will try to load it. Theoretically it shouldn't prevent Wi-Fi from working, as wlan_detect in the stock ROMs will try to load the module, realise the contents of the module are already there, and fail to do so.

Ultimately no harm should be caused and everything should still work but I thought I should explain that.

3

Share this post


Link to post
Share on other sites

Posted · Report post

Is there a chance you can release a cm10 build that your testing your OC kernel on?

0

Share this post


Link to post
Share on other sites

Posted · Report post

There`s a name for people like you dazz and it ends in tease! lol

0

Share this post


Link to post
Share on other sites

Posted · Report post

if you make CM10 to work,there still will be same isues like in CM9 (BT and camera),isnt it??

0

Share this post


Link to post
Share on other sites

Posted · Report post

Oh wow that was not a mistake! That was the best thing I've ever done, this thing runs so smooth now. No hacks either, I just chucked out a ton of hacks in the device repo.

if you make CM10 to work,there still will be same isues like in CM9 (BT and camera),isnt it??

Well surely the ultimate goal of CM9 was to fix those?

The problem was Jelly Bean released at a bad time for this device, in the middle of ICS upgrades.

CM10 will initially have those broken too, yes, as we never had them working. The devs want everything working too, believe it or not.

5

Share this post


Link to post
Share on other sites

Posted · Report post

Oh wow that was not a mistake! That was the best thing I've ever done, this thing runs so smooth now. No hacks either, I just chucked out a ton of hacks in the device repo.

Blimey, you beauty! Definitely the most positive news I've read n the G300 front. Sounds like Huawei would do well to skip ICS :lol:

0

Share this post


Link to post
Share on other sites

Posted · Report post

To think that dev appeared all but dead for the G300,what a turn around

0

Share this post


Link to post
Share on other sites

Posted · Report post

Oh wow that was not a mistake! That was the best thing I've ever done, this thing runs so smooth now. No hacks either, I just chucked out a ton of hacks in the device repo.

So... If I get it right, you implemented the GPU driver for Jelly Bean which means GPU acceleration?

0

Share this post


Link to post
Share on other sites

Posted · Report post

So... If I get it right, you implemented the GPU driver for Jelly Bean which means GPU acceleration?

Correct.


I/Adreno200-EGL( 452): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_JB.04.01.01.00.036_msm8960_JB_CL2644550_release_AU (CL2644550)
I/Adreno200-EGL( 452): Build Date: 07/31/12 Tue
I/Adreno200-EGL( 452): Local Branch:
I/Adreno200-EGL( 452): Remote Branch: quic/master
I/Adreno200-EGL( 452): Local Patches: NONE
I/Adreno200-EGL( 452): Reconstruct Branch: AU_LINUX_ANDROID_JB.04.01.01.00.036 + NOTHING
D/OpenGLRenderer( 452): Enabling debug mode 0
[/CODE]

6

Share this post


Link to post
Share on other sites

Posted · Report post

Correct.

Awesome. Great work. I definitely need to donate

Wasn't the aosp camera.app not working because the lack of hw acceleration?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Not sure, I didn't try the AOSP Camera app but it's believable. Huawei would've made their own anyway. :P

Trying to get vsync and triple buffering in the kernel now so we can be totally ~Project Butter~.

Edit: Triple buffering is there already! Just vsync then...

2

Share this post


Link to post
Share on other sites

Posted · Report post

Is that 1.5ghz still stable after all your testing

0

Share this post


Link to post
Share on other sites

Posted · Report post

Daz, you beauty :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

I haven't had 1.5 GHz crash once yet. While that sounds surprising, remember this did come from another device.

I sniped someone talking about the 7x27A in #cyanogenmod-dev and that's where it started.

1

Share this post


Link to post
Share on other sites

Posted · Report post

@ Daz

small mutivation ;)

0

Share this post


Link to post
Share on other sites

Posted · Report post

I foresee the G300 becoming a new currency,lol

Awesome work,i`m sure you`ll have many a guinea pig ready to help test (me included!). :D

0

Share this post


Link to post
Share on other sites
This topic is now closed to further replies.

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.