[DEV] [Huawei U8160/U8180] CyanogenMod 9.1 [30/11/2012]

Search This thread

gmdb

Member
Dec 20, 2011
13
1
Guys,can someone else (again with a 8160) confirm whether the GPS is operable or not, because I'm seeing a 10+ minute time to first fix (it's been stuck to 5/5 satellites for the past 8 minutes)? And yes,the phone is set up with the correct date and time,so TTFF shouldn't really be this long,even with a cold start ;)

Update: Time to first fix - 1762 seconds ..Hopefully this is a one-time thing,but only time will tell

Mine 8160 works fine, about 6-7 satellite in a few seconds
 

Ripper003

Senior Member
Oct 21, 2011
76
9
Logs?

Update: wifi hotspot is now working fully, but I still haven't fixed the OMX codecs. Performance is surprisingly good. I usually complain how slow the U8160 can be, so that's really saying something... :p

Hi Psyke,
Do you still need logs/bug reports for M4A playback and YouTube HQ? If so I'll be quite happy to supply them as soon as all my music rerips and uploads/downloads :/
 

SamUnknown

Senior Member
Apr 8, 2009
57
0
Lisbon
I used GPS Status from the Play market to measure the time till it connects. Either way,it's been slightly sluggish establishing a signal,but once it did - it had no problems maintaining it ;)

Sent from my beloved Galaxy Note II using the xda app

Used the same one, couldn't seem to get it to work though, I'll try again in a bit.
 

hotkolbas

Senior Member
Oct 2, 2011
60
7
Realme C3
Hi.
Just installed cm9 on my u8180 and the transition was flawless, just cwm and update via zip.

I never would have seen cm9 on this device but I was wrong and its been interesting experience.

There are a few or a lot of times it lags but I understand that it will never bee fantastic or butter smooth.

So far with just wifi on it good to do simple browsing and other things but yet to try it out with sim card.

Well done. Again its fun playing with my u8180 every now and then.

sent from my u8180 using xda dev app|running CM 9 | OC'ed @ 672 mhz | w/ 3500mAh .
 

Sim@o

Senior Member
Mar 31, 2012
62
3
Every time i wake up my Phone (put the screen on) wifi is on. But when i turn the screen off the wifi is off too. So i think this cause me a baterry drain. Can someone help me?

Sent from my IDEOS S7 using Tapatalk 2
 

hotkolbas

Senior Member
Oct 2, 2011
60
7
Realme C3
It means that we have a stable-ish CM9 for daily usage right now ;) It just needs a couple of more tweaks and it'll probably surpass the CM7.2 in terms of usability

That's a big call but I can say yes cm9 did look good on the x1 but I do belive some tweaking to get the os running smoothly is ehat counts.
I find cm7 to be the best by far for straight usability and realiability. I'm sure cm9 will come to the same level as cm7 in du time but its not there yet.

Sorry but I had to revert back to cm7 as it was way too laggy for me but was fun to play with, I did give it a go and found that some settings had to be set for it to run smoothly but it was still at times laggy and a bad delay.
It could be my x1 I know not all devices have the same charecteristics even though they have the ssame hardware, I can only go as far as 672mhz before it locks up.

And on that note I am tring to find out if I can modify the voltage to see if I can drop it a bit more to not cause these lockups which I think is due to heating.

sent from my u8180 using xda dev app|running CM 7 (25.6)| OC'ed @ 672 mhz | w/ 3500mAh batt.
 

bk109

Senior Member
Aug 28, 2011
654
192
Dublin,Ireland
That's a big call but I can say yes cm9 did look good on the x1 but I do belive some tweaking to get the os running smoothly is ehat counts.
I find cm7 to be the best by far for straight usability and realiability. I'm sure cm9 will come to the same level as cm7 in du time but its not there yet.

Sorry but I had to revert back to cm7 as it was way too laggy for me but was fun to play with, I did give it a go and found that some settings had to be set for it to run smoothly but it was still at times laggy and a bad delay.
It could be my x1 I know not all devices have the same charecteristics even though they have the ssame hardware, I can only go as far as 672mhz before it locks up.

And on that note I am tring to find out if I can modify the voltage to see if I can drop it a bit more to not cause these lockups which I think is due to heating.

sent from my u8180 using xda dev app|running CM 7 (25.6)| OC'ed @ 672 mhz | w/ 3500mAh batt.
I did say stable-ish :p Then again,my observations are a tad unreliable as I've long since relegated this device to a secondary role - I pretty much only use it nowadays to either play my (google) music collection while I'm out with my car,or for when I'm going to be in an environment where I might do something to total my phone (ie fishing,on paintball trips or when doing repairs 'round my home) and also since I've been using .5 since its release,so even a small improvement will feel huge for me :D
 

sogol

Member
Oct 6, 2011
47
9
Xiaomi Mi A1
wpa2, wpa and open authentication all work fine for me here when I connect from my laptop (dell studio 1558, broadcom 4319 based chip).

This ROM is awsome, psyke83! I want thank you ;)
Just one thing: there is no way to connect via wifi tethering with my tab Samsung Galaxy Tab 10.1 GT-P7500, CM10 nightly ROM. No WPA2, nor WPA, neither OPEN. Tab still getting IP address from U8160 and no connection. Tried with static IP and connected, finally, but no data that way... I don't know the right IP address; tried 192.168.1.1 gataway and DNS: no luck! :( The same using third part apps for wifi tethering... No app has the ability to transmit data, even though connected. Any suggestion or solution? Maybe different IP addresses? Thank you so much ;)
 
Last edited:

polac

Senior Member
Nov 23, 2007
813
49
47
What the besta settings to overclock?

Sent from my U8160 using xda premium
 

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
This ROM is awsome, psyke83! I want thank you ;)
Just one thing: there is no way to connect via wifi tethering with my tab Samsung Galaxy Tab 10.1 GT-P7500, CM10 nightly ROM. No WPA2, nor WPA, neither OPEN. Tab still getting IP address from U8160 and no connection. Tried with static IP and connected, finally, but no data that way... I don't know the right IP address; tried 192.168.1.1 gataway and DNS: no luck! :( The same using third part apps for wifi tethering... No app has the ability to transmit data, even though connected. Any suggestion or solution? Maybe different IP addresses? Thank you so much ;)

Does tethering work ok from another device or PC? Maybe some logcats from both the Samsung and Huawei phones after the failed connection attempt will help.
 

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
Every time i wake up my Phone (put the screen on) wifi is on. But when i turn the screen off the wifi is off too. So i think this cause me a baterry drain. Can someone help me?

Sent from my IDEOS S7 using Tapatalk 2

I don't understand what you mean. If wifi is off when the screen is off, surely that would reduce battery usage.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 82
    CyanogenMod 9.1 Huawei U8160/U8180 Port
    Latest release: 20121130 [v0.6] <--- this link is not broken - learn what "RTFM" means
    Latest Google Apps package: mini-gapps-ics-20120429b-signed.zip
    <--- you must only use the mini-gapps-ics package, as the standard gapps-ics packages are too large for our device

    Hey folks,

    This is a port of CyanogenMod 9.1, a community-developed Android ROM based on Ice Cream Sandwich 4.0.4, for the Huawei U8160 & U8160 phones. The current port status is beta - may be suitable for daily use, but you must read the ROM Status before deciding whether to use this ROM.

    Pre-requisites:

    Installation (first time/new users):
    • Open the GooManager application.
    • Navigate to psyke83 -> roms -> u8160.
    • Click on the build you wish to install from the list.
    • Click on the Download button to download the rom.
    • Once the download(s) are complete, reboot into recovery and install the update package, followed by the Google Apps package.
    • Important: if you are updating from a stock ROM, CM7 or any other ROM that is not my personal CM9 build, choose the data wipe option before rebooting!

    Latest changelog:
    • 20121130 [v0.6]
    • md5: a2972a18cfbafbce64088433b941a35e
      • updated CyanogenMod source (9.1)
      • enabled compile-time optimizations (-Os, -fstrict-aliasing, switched to gcc4.6)
      • optimized package size/memory usage (mdpi-sw600dp resources removed)
      • full CM9 application list is now included in build (possible thanks to space optimizations)
      • switched from Gallery2 to older Gallery (new app doesn't display static images properly).
      • switched from CM7's FileManager to new CMFileManager (backported from Jelly Bean)
      • switched from Apollo music player to ICS Music (interface is similar to Gingerbread version). Will switch to Apollo when the memory usage is reduced/layout is better optimized for LDPI.
      • added U8160Parts application available at Settings -> Device -> Advanced. This allows configuration of audio attenuation, swap, background process limiting and SD card readahead cache settings.
      • optimization: set default background process limit to 2. This improves memory efficiency for most usage scenarios, but you can reconfigure the setting via U8160Parts if you need to have more applications stay resident in memory.
      • kernel: fully updated, based on latest android_kernel_msm7x25 Gingerbread source with ICS-related drivers/patches added
      • kernel: USB host mode available by default (no separate kernel/package needed)
      • fixed: automatic brightness & lcd button levels
      • fixed: basic camera function (taking pictures, barcode scanner mode working; camcorder not working)
      • fixed: USB tethering
      • fixed: wifi hotspot
      • fixed: compass
      • fixed: U8180 detection (automatic)
      • improved: Trebuchet performance (widgets are not joined to apps by default, reducing memory usage & rendering complexity)
      • many small fixes and improvements.

    • 20120528 [v0.5]
    • md5: 3bacb6a08c447b2389d16b65dc18f8fe
      • updated CyanogenMod source
      • big update based on tilal6991's latest changes - codename "FrozenFissionY" :p
      • kernel: using my latest codeaurora-kernel_huawei_u8160 kernel source with configuration changes to better suit ICS
      • kernel: backported xt_quota2, xt_qtaguid, iface_stat drivers to allow proper networking stats and prevent recurring framework crashes
      • libaudio: adapt Adriano Carrata's rewritten libaudio to ICS with new AudioFilter and audio attenuation enabled
      • framework: fixed cpu deep sleep issue that was caused by wakelock in highspeed serial device (Bluetooth quick switch) - should drastically improve battery life (may now be similar to CM7)
      • framework: optimizations to 2D rendering speed
      • framework: disable UI touch sounds (was slowing down presses + increasing battery drain)
      • include old Music app alongside new Apollo music player (as the latter may have problems detecting media for some people)
      • add VoiceDialer, SoundRecorder, and FileManager from CM7 (as there is no CM9 version yet).
      • Trebuchet: change drawer animation back to default (looks nicer, no change in performance)
      • fix simple2ext compatibility issue. Note: you will need to enable the "mount as ext4" option in the app settings, as CM9 does not auto-mount /sd-ext on boot.
      • increase VM heap to 32MB - should reduce ANR errors.
      • camera partially working (preview works, taking picture not supported by default app)

    • 20120418 [alpha 4]
    • md5: unknown
      • updated to latest CyanogenMod source (now Android 4.0.4)
      • included new kernel (based on CM7's v1.2-batterytest3);

    • 20120212 [alpha 3]
    • md5: unknown
      • fixed/confirmed working - multitouch, telephony, mobiledata, audio (all routing appears to be working fine), bluetooth, mac addresses, accelerated 2D rendering.

    • 20111130 [alpha 2]
    • md5: unknown
      • fixed/confirmed working - gps, sensors, wifi signal indicator, graphics flickering, touchscreen for u8180 users(?)

    • 20111129 [alpha 1]
    • md5: unknown
      • initial port. Touchscreen, wifi, sd card mount works. Graphics working with some flickering/without acceleration.

    Thanks to:
    • ac1953 (libaudio, general help on CM7)
    • DSM (assistance with device settings app)
    • tilal6991
    • aorth
    • loyal testers... ;)

    Source code:

    Downloads:
    17
    CyanogenMod 9 U8160 ROM Status (20121130) [v0.6]:

    Working:
    • 2D acceleration (using copybit)
    • Audio
    • Bluetooth
    • Bluetooth tethering (?)
    • Camera - preview, picture taking, barcode scanner mode
    • GPS
    • Lights
    • Sensors
    • Telephony - calling, messaging, mobiledata
    • Touchscreen (multitouch)
    • USB Mass Storage
    • USB tethering
    • Wi-Fi
    • Wi-Fi Hotspot
    • Swap
    • zRam (i.e. compcache)

    Not working:
    • Camcorder mode
    • OMX encoders/decoders (e.g. Youtube HQ video playback)

    Issues:
    • Bluetooth - when enabled, Bluetooth will cause the phone to constantly hold a wake lock, preventing the phone from sleeping. Turn off Bluetooth when you don't need it.
    • FM Radio - no CM9 radio app yet exists, but libaudio has support included. This means that some third-party apps (e.g. Spirit FM) can work.
    • Gallery - after installing Google Apps, you will have two different Gallery apps installed. We need to use the legacy Gallery app, because the newer Gallery2 (and Google's version, GoogleGallery) requires OpenGL extensions that our phone cannot support. You are free to delete one of the duplicate applications from /system/app using CMFileManager (in root mode).
    • Trebuchet - after first installation, the default background wallpaper may be misaligned, leaving some black banding at the sides. This only occurs on first start, and the problem will correct itself on the next reboot / relaunch of Trebuchet.
    • USB tethering - the phone will freeze if you remove the cable during tethering. Make sure to disable tethering via the menu option manually when you want to remove the phone from the computer.

    U8160Parts:
    This is my special settings app for our specific device, which you can reach from Settings -> Device -> Advanced. The options available are:
    • Audio attenutation for speaker, headset and FM audio
    • Background process limit: this will limit the amount of background processes, which is very useful for low memory phones. Note: This is also a development option in Settings -> System -> Developer options, but if you configure it there, your choice will not be remembered over reboots. Configure from my application instead, and your choice will always be saved/applied over reboots.
    • SD card read ahead buffer: this is useful if you don't use a dedicated app/script (Link2SD, S2E, etc.) that increases the read-ahead cache for the SD card's sd-ext partition.
    • Swap: this will enable the swap partition (if it exists on your SD card). Using a swap partition larger than 64MB is not recommended, as it may cause lag. Don't mix regular swap and zRam (compcache)
    8
    Update on the kernel work: I've been doing a lot of testing, and I think that I finally managed to solve the battery drain that happens when the phone is idle. My phone has been 19.5 hours idle off-charge and the battery is showing 96% capacity.

    There's still a small bug with the USB drivers (it's enumerating some invalid endpoints). Once I've fixed that, I'll put out a CM7 test build with the new kernel. After some testing by the community, I'll then use it for a refreshed CM9 or CM10.1 build.
    7
    Just to let you guys know, I haven't abandoned you all ;). I've been busy porting the 3.0 kernel for my Samsung phone, but I am also looking at the Huawei kernel too. I currently have a 2.6.35 kernel revision booting on the U8160 (only enough for CWM so far). I'm currently doing some regression testing, as the latest head of codeaurora's android-msm-2.6.35 is not working and I'd like to use the latest version (or perhaps a later kernel if feasible).

    As for CM10.1, unfortunately there is a lot of code missing for legacy support. After the kernel work I may focus on the CM10 branch again and try to get copybit acceleration working. Failing that, I can simply release a new ICS build with new fixes (and maybe the new kernel eventually). If the kernel works well, I may release in a CM7 build too.

    Even if it's only CM9, I discovered important code that was missing in the CM9 source (as well as CM10.x). The ability to force "purgeable assets" was not implemented in the framework, despite the option being present in the Settings app in all CyanogenMod versions. This is a very important feature for memory-limited phones, and improves responsiveness quite a bit.
    4
    Anyone know if this thing is suitable for everyday use on t mobile rapport (u 8180)

    Sent from my U8180 using XDA App
    Ah,you again... As it's plainly written - it's a TEST BUILD and moreover the list of known issues is again pointed out prominently enough.. So unless you don't mind not being able to make calls, use the keys under the screen or an assortment of other problems,glitches and other issues... Yes,it's suitable for everyday use