[DEV] [Huawei U8160/U8180] CyanogenMod 7.2.0-RC1 U8160 Port (14th August 2012)

Search This thread

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
CyanogenMod 7.2.0-RC1 "u8160" Port
Latest release: v1.5 [20120814]
Latest Google Apps package: 20110828


Hey folks,

This is a port of Cyanogen 7.2.0-RC1 (based on Android Gingerbread 2.3.7) for the Vodafone Smart VF858 (Huawei U8160) and Huawei X1 (U8180). The current port status is stable - all hardware is working correctly, but see post #2 for any known issues.

Pre-requisites:
  • ClockworkMod Recovery. The easiest method to flash ClockworkMod Recovery is via the ROM Manager application. See post #2 for more details.
  • Install the GooManager application from the Play store.

Installation (updating from older CM7 build):
  • Open the GooManager application.
  • Select the Check for rom updates option.
  • Click on the notification for the available update and then click the Download button.
  • When the download finishes, enter recovery and install the update package followed by the Google Apps package.

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.
  • If needed, click the Download Gapps button to download the Google Apps package. The most recent (and most suitable) version will always be selected for you automatically.
  • 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 or custom ROM, choose the data wipe option before rebooting.

Releases / Changelog:
  • 1.5 (20120814):
    • Updated CyanogenMod source
    • Undo modification to camera's maximum megapixel resolution for U8180 users (due to crashes)
    • Switch to using newer U8180 proprietaries by default
    • Add-on packages for USB host mode kernel, wpa_supplicant 5 and 6 (for users to test for any differences with wifi stability; base ROM uses v6 by default), U8160 and U8180 proprietaries (to test for any changes in functionality with wifi, camera and RIL).

  • 1.4 (final) (20120802):
    • Hotfix 2: kernel: revert aps-12d change due to problems with proximity sensor; update 02setuphardware script to modify camera's maximum megapixel resolution on per-device basis (2mp for U8160, 3mp for U8180).
    • Hotfix 1: kernel: add early suspend/resume hooks to aps-12d light sensor driver, disable unused adp5587 keypad driver; remove 1600x1200 resolution filter from Camera app; add ro.config.PicMaxSize=2mp property to build.prop, which should limit libcamera's support to 1600x1200 resolution and therefore prevent camera crashes for certain users.
    • Updated CyanogenMod source
    • Consolidate all fixes from 1.4RC release + hotfixes.
    • Remove RomManager from default installation. Why? I no longer distribute ROMs/updates using it, and debug logging from the app suggests that it may have potential memory leaks issues. My phone now reports 45-60MB (60-75MB without Google Sync activated) free on average after removal of this package. If RomManager is still installed after upgrading to this release, it means that you have a local update installed, which you can uninstall just like a regular user app.
    • Re-introduce Adriano Carrata's patches: fix PIN entry in airplane mode; add workaround for apps which specify an invalid pixel format (i.e. Sygic).
    • Enable speex encoder support.
    • Implement additional patch for security issue CVE-2011-3874. Note: this vulnerability is supposed to be patched in the framework already, but the exploit test case still reports the exploit as being available. This patch may only fix the false-positive result of the exploit test. Either way, it's useful.

  • 1.4 RC1 (20120729):
    • *Note: I'm provisionally marking this as a release candidate, as I've made a lot of changes to the kernel that may have unforeseen effects for certain users. If there aren't major problems, this will be renamed to the final 1.4 release.
    • Hotfix 5: removed akm8973 driver (not used after all), added mma8452 driver, more kernel optimizations.
    • Hotfix 4: added akm8973 driver (for real this time), fixed init.rc script to set U8180 model automatically, small kernel configuration optimizations.
    • Hotfix 3: added fixed wifi driver to solve issues with power saving mode and resume from idle (I had forgot to include this since hotfix 1 - whoops); added akm8973 and s5ksca drivers back into kernel to fix accelerometer and camera sensors for U8180 (and some U8160) users; fixed video camera mode; removed automatic reodexing option from U8160Parts (too hacky); removed U8180 branding option from U8160Parts (ro.product.model is now adjusted for U8180 users automatically on every boot).
    • Hotfix 2: fix U8160 (synaptics_i2c_rmi_1564) driver
    • Hotfix 1: re-added missing drivers and kernel config for U8180; fixed issue in which wifi would get held in maximum power saving mode under certain circumstances.
    • md5: 936cc309fe0a87c01091cbd0ee5edd9c
    • Updated CyanogenMod source
    • Kernel: reworked from scratch for stability (there were some errors in my previous CodeAurora merge); fixed some issues with Huawei-specific USB code; disabled Huawei virtual CD-ROM USB driver; fixed compass driver; removed Huawei wakelock/suspend code that was causing "unknown_wakeups" wakelocks to be generated, possibly draining battery; removed many unnecessary drivers & some debug options from default kernel configuration.
    • Wifi: Updated bcm4329 driver - adapted from clean android-msm.2.6.39 sources, including patches from Nvidia and Huawei to support our device properly; using wpa_supplicant_6 with combo scan enabled, including a fix for resume from idle. Summary: wireless should now work on all channels (>11 had issues before), hidden SSIDs work properly, and resume from idle works properly.
    • Removed USB host support from default kernel (will package separately)
    • Disable compcache (ramzswap) by default
    • Changed ramzswap, CIFS and TUN (vpn) drivers to modules, moved dhd.ko from boot image to /system to reduce memory footprint of kernel.

  • 1.3 (20120625):
    • md5: aabb0add99abcec1ceebb5588242358f
    • Updated CyanogenMod source.
    • Add U8160Parts settings application. New options available via Settings -> Device settings: ROM re-odexing [not recommended for people already using some form of app2sd], attenuation of speaker, headset, FM radio, Kernel Samepage Merging, Swap, Generate bug report. Removed madconfig script.
    • Testing some patches by ac1953: automatic resume of music after interruption by incoming call; fix FM radio pop, ensure that last used frequency is properly tuned on cold start of FM app (including my change); enable workaround for invalid PixelFormat 8 (fixes Sygic).
    • libaudio: add FM audio attenuation support, fix minimum in-call volume causing sound to mute completely.
    • Resolve battery drain cause by kernel configuration in previous release (CONFIG_FB_EARLYSUSPEND has issues with suspend in Gingebread).
    • Revert to original bcm4329 driver (from Huawei U8180 source drop) with increased dhd_watchdog_ms period; disable combo scanning in supplicant to fix hidden networks; ensure that dhcpcd server is always stopped when wpa_supplicant is stopped. Testing to see if this improves battery usage, and/or resolves the problem with connecting to networks beyond channel 11.

  • [release candidate] (20120616):
    • Updated CyanogenMod source.
    • Kernel: disable framebuffer console (ANDROID text), instead transitioning directly from egg-timer (or bootsplash image, if installed) to CyanogenMod bootanimation - may improve battery
    • Kernel: enable USB Host mode (support modules are installed to /system/lib/modules/) - needs testing from users with OTG adaptors
    • Kernel: enable Kernel Samepage Merging, switch from console-based earlysuspend to framebuffer-based earlysuspend - may improve battery
    • New libaudio from Adriano Carrata with audio attenuation support, improved AudioFilter.csv - completely solves audio distortion
    • Switch to open source gralloc module (fixed - video decoders now work properly)
    • Fix issue in which framebuffer earlysuspend could sometimes cause the screen not to wake properly.

  • v1.2 (20120403):
    • Updated CyanogenMod source.
    • New kernel (based on latest CodeAurora froyo_almond branch).
    • Enable workaround to reduce audio distortion at higher volume levels.
    • Completely fixed instability/freezes related to USB tethering.
    • Various patches for memory leaks and minor bugs from gerrit.

  • v1.1 (20120317):
    • Hotfix 1: disable CGROUPS, fix wireless suspend stability issue
    • Updated CyanogenMod source - version 7.2.0-RC1
    • Cherry-picked various patches from gerrit to fix issues with core binaries/libraries (dalvik, bionic, zlib, etc.)
    • Kernel: reverted to stable 2.6.32.9 kernel due to issues with battery consumption. Note: CGROUPS is still enabled, but the Application Not Responding issue on first boot seems to be fixed
    • Kernel: disabled OTG support due to battery consumption issues (will package a separate kernel for interested testers)
    • Kernel: updated pmem driver, fixed issues with smartassV2 & interactiveX CPU governors
    • Wifi: stability patch for bcm4329 driver
    • wpa_supplicant_6: wait for control interface monitor to be brought up before starting. Improves reliability of wireless when reconnecting from idle.
    • libaudio: fix for minimum in-call volume being incorrectly muted in certain cases (such as on speakerphone)
    • GPS: use worldwide SUPL server by default
    • Compcache: back to 18%
    • ADWLauncher: lock action buttons by default (helps avoid cases in which users accidentally detach the icons for these buttons)
    • Change scrolling cache setting to further improve scrolling speed

  • v1.0 (20120227):
    • Known issue: you may see the message "process system is not responding" after unlock on first boot. This is due to CGROUPS being enabled in the kernel (and also happens with the stock kernel - it's not a problem with my updates). You can safely disregard the message as no harm will be done.
    • Hotfix 1test1 [8th March]: Changes to kernel to fix battery drain - please test.
    • Updated CyanogenMod source.
    • Kernel: now using version 2.6.32.57 (Code Aurora's froyo_almond updates + upstream's longterm 2.6.32.y updates merged)
    • Kernel: new bcm4329 wifi driver, which should fix reconnect from idle for hidden networks
    • Kernel config: enabled CGROUPS, tweaks to improve battery usage
    • Scrolling cache tweak.

  • v0.9 (20120203):
    • Hotfix 4test5 [21 Feb]: Revert longterm patches due to random reboot issue.
    • Hotfix 4test4 [21 Feb]: Kernel: fix screen not turning back on from suspend, other small fixes.
    • Hotfix 4test3 [20 Feb]: Kernel: rebased to CodeAurora froyo_almond branch & merged longterm 2.6.32.57 changes, updated wifi source driver.
    • Hotfix 3 [12 Feb]: Kernel: more stable config (enabled ARMv6 K extensions which stops USB errors; fix for U8180 key issues).
    • Hotfix 2 [10 Feb]: Fix call audio via Bluetooth headset; disabled AHB overclocking due to instability during USB tethering (and possibly also during other activities); wifi module now built from source to improve reliability; updated wpa_supplicant_6 to use combo scanning; re-enabled SCHED_HRTICK in config (it wasn't the cause of instability).
    • Hotfix 1: Fix audio routing issues that were causing problems with the mic and headset detection during calls. This may or may not affect the Bluetooth headset bug - please let me know.
    • Updated CyanogenMod source (almost 7.2.0-RC1).
    • Performance: disable scrolling cache (prevents lag)
    • Performance/battery: disable ICS rotation animation (it's slow and causes instability; ICS transition animations are still working smoothly)
    • Performance/battery: updated android staging kernel drivers from 2.6.35 kernel (notably bringing improvements to the lowmemorykiller driver)
    • Performance/stability: moved to stable copybit version
    • Stability: rebuilt kernel using 4.4.3 toolchain from CM7 source.
    • Stability: kernel audio driver patches to prevent rare blackscreen during incoming calls/low memory conditions
    • Stability: further updates to latest CAF libaudio version with FM routing code added. Bluetooth calling should work again, but needs testing.
    • Battery: added 2g/3g mobiledata switch option (allows you to use the mobiledata statusbar button to switch between 2g/3g network modes).
    • Fancy: enable electron beam animation for screen off by default (performance is satisfactory)
    • Reverted SIM lock change that was causing people to have problems with certain SIM cards.
    • FM: fixed audio routing (headphones will not longer malfunction if you use the speaker and then exit the FM app); prevent frequencies out of bounds being used; allow looping between the top/bottom of the frequency bands.
    • Improved mac address generator script to prevent errors for certain devices.
    • Increased default compcache memory allocation to 26%.
    • Miscellaneous code cleanups.
    • Now distributed via ROM Manager with a greatly simplified installation procedure.

  • v0.8 - 26 January 2012:
    • Updated CyanogenMod source (still 7.2.0-RC0).
    • Fix for rare issue where notification area items can get "stuck", causing notifications to malfunction.
    • Now includes ICS rotation and transition animations (merged officially into CM7.2)
    • Wifi: disable wpa_supplicant_6's combo scan to fix reconnect/hidden SSID issues
    • Bluetooth: disable master mode to increase reliability with some peripherals
    • libaudio: code cleanup (based on rmcc's geeksphone zero); removed dependency on proprietary liba2dp.so
    • ADWLauncher: allow rotation of home screen by default
    • Kernel: re-enable multitouch support (oops)
    • Init: reduce default mmcblk0 readahead from 2MB -> 258KB to avoid potential lag.
    • The phone is no longer restricted when network locked and using a different SIM card.
    • Small cleanups.

  • v0.7 - 22 January 2012:
    • Updated CyanogenMod source (still 7.2.0-RC0).
    • Kernel stability fix (disabled SCHED_HRTICK due to instability/random reboot issue).
    • MAC addresses for Bluetooth and wifi are now accurate.
    • Improved Bluetooth audio.conf based on this bug report. This should improve Bluetooth stability with audio peripherals.
    • Reduced default compcache memory usage from 18% -> 10% to reduce potential lag.
    • Reduce LatinIME landscape keyboard key height (.25in -> .23in)
    • Use automatic brightness setting by default.

  • v0.6 - 29 December 2011:
    • Hotfix 2 [31 December 2011]: Updated "madconfig" script. You can now run adb shell madconfig u8180 to activate U8180 ROM branding that will survive future ROM upgrades (of my own release).
    • Hotfix 1 [31 December 2011]: Updated kernel (further stability fixes, added interactiveX cpu scheduler, unlocked overclock frequencies up to 768Mhz); updated libaudio to increase buffer size (this improves smoothness of apps using audio - e.g., Gensoid can now play games at full 50/60fps in landscape with no visual stuttering @633Mhz, whereas before it would stutter constantly); renamed tethering device from usb -> rndis (cosmetic fix); tweaked LatinIME keyboard to use .23in key height (down from .26in).
    • Updated CyanogenMod source (7.2.0-RC0).
    • Kernel: rebuilt using latest stable linaro gcc release: 4.5-2011.11
    • Kernel: fixed phone freeze issue when USB tethering is interrupted. This change also seems to reduce general system lag that was being caused by a conflict in the USB drivers.
    • Kernel: fixed "back" softkey alignment.
    • Kernel: fixed touchscreen right edge sensitivity issue (portrait).
    • Renamed wifi device from eth0 -> wlan0 for better consistency.
    • Re-enabled surface dithering by default; it has been reported that font rendering is improved with this option enabled, and I don't see much performance impact when enabled.
    • Experimental build.prop tweak to enable 3mp camera support (untested).

  • v0.5 - 10 November 2011:
    • Updated CyanogenMod source.
    • Partial fix for third-party camera apps (e.g. barcode scanners).

  • v0.4 - 21 October 2011:
    • Hotfix 2 [23 October 2011]: Updated device permissions. This fixes the sound recorder and camcorder.
    • Hotfix 1 [21 October 2011]: Reverted to v5 wpa_supplicant. This solves the issue in which wifi refuses to connect to hidden SSIDs.
    • Updated CyanogenMod source.
    • Included some patches to bring further improvements to 2D graphics & general system performance.
    • Patched framework to swap volume controls when the phone is rotated 90 degrees.
    • Improve USB transfer speed while in UMS (USB Mass Storage) mode.
    • Fix some graphical corruption on widgets in stock Camera app.
    • Other small fixes.

  • v0.3 - 10 October 2011:
    • Updated CyanogenMod source - final 7.1 release.
    • Improved 2D rendering speed.
    • Switched to EU GPS servers.
    • Fixed headset/media control keys.
    • Re-enabled automatic brightness.

  • v0.2 - 3 October 2011:
    • Hotfix 3 [6 October 2011]: Kernel: reverted to stable compcache (ramzswap) driver. Framework: disabled JNI debugging -this fixes force-close errors in some applications such as TapFish, and increases overall system performance.
    • Hotfix 2 [4 October 2011]: Kernel: improved multitouch driver to fix touchscreen accuracy (especially soft keys), improved haptic feedback, fix to zram module. Small fixes to libaudio (the distortion is not yet resolved, however).
    • Hotfix 1 [3 October 2011]: Kernel: added compcache (zram.ko) module, reduced boot delay, unlocked 729Mhz frequency, small bugfixes. Framework: enable compcache by default (18% RAM usage, customizable in CyanogenMod Settings - Performance -> Compcache RAM Usage.)
    • Updated CyanogenMod source: now based on Gingerbread version 2.3.7.
    • Kernel now supports under/overclock from 30Mhz - 710Mhz (min/max frequency is set to 30Mhz - 600Mhz by default, so you must manually activate the higher frequencies via Settings -> CyanogenMod Settings -> Performance -> CPU settings). Thanks to estebanSannin. NOTE: My phone is very unstable at 691Mhz, and freezes immediately at 710Mhz. I am providing these higher frequencies just in case your phone has better tolerance for overclocking. I accept no responsibility for any damage caused as a result of overclocking.
    • FM Radio app: fixed seeking (left/right arrows).
    • Disabled automatic brightness (it potentially avoids battery drain, and never worked anyway). Thanks to tas0s for the tip.
    • Enable workaround to prevent corruption issues if you use the Simple2EXT app2sd app.
    • Reverted Gallery app to 2D version, due to lack of hardware 3D acceleration on our phone.
    • Added compatibility with sebastian404's ClockworkMod port. You can now install this ROM using his CWM recovery (as well as my own).
    • Improved FM volume calculation, reduced overall volume & small fixes to audio code.
    • Various small bugfixes.

  • v0.1 - 12 September 2011:
    • Hotfix 1 [18 September 2011]: Boot: removed custom lowmemorykiller tweaks; kernel: various updates (smartassV2, TinyRCU, Simple and V(R) IO schedulers), bugfixes and optimizations, changed default scheduler to Simple IO; libaudio: code cleanup; Framework: enabled hardware-accelerated 2D rendering.
    • First release. All hardware appears to be working correctly.

Source Code:
 
Last edited:

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
Getting started with ROM Manager & ClockworkMod
Skip to Part B if you have already rooted your phone.
  • a) Rooting your phone
    • Go to Settings -> Applications -> Development. Enable the option USB debugging, and wait for the debugging drivers to be automatically installed onto your PC.
    • On your PC, download the latest release of super1click.
    • Run super1click and click the Root button. Follow all of the prompts given by the application, but make sure that you choose yes to the prompt on whether to install busybox.
    • Continue to the next part when your phone is successfully rooted.
  • b) Installing ROM Manager & ClockworkMod
    • Install ROM Manager from the Google Play store.
    • Open the ROM Manager application. Choose the option Flash ClockworkMod Recovery, and confirm the phone model as Huawei U8160.
    • After downloading the recovery image, a Superuser prompt will ask you for permission for the application to have root access. You should Allow this action.
    • ClockworkMod should now be flashed to your phone.

Known issues
  • Excessive bass/distortion at >70% volume - workaround in v1.2.

Technical details:
  • Kernel 2.6.32:
    • CPU & AHB overclock supported up to 768Mhz, but default frequencies (122-600Mhz) are used by default for safety/stability reasons
    • Built-in support for CIFS, TUN, compcache (ramzswap)
    • Multitouch Synaptics touchscreen driver
    • Added extra CPU schedulers: interactiveX, smartassV2 (default)
    • Added extra IO schedulers: BFQ, VIO, SIO (default)
    • Updated Android staging drivers from 2.6.35 kernel
    • Patches to improve CyanogenMod compatibility (e.g. USB tethering)
    • Various other stability & performance patches.

Before you ask...
I have no interest or intention to further "mod" the ROM with any kind of hacks or customizations (like custom apps, themes, Swype, etc.). My only aim is to have a 100% stable port of Cyanogen code. Any such requests will be ignored.

Reporting bugs
You must follow these instructions exactly, or I will ignore your requests. Provide the following information:
  • The version of the ROM you are using (to confirm that you have the latest release)
  • Report any customizations you have made to the ROM (themes, system apps, etc.)
  • Describe the problem clearly, including steps on how I can reproduce the issue.
  • Provide a logcat from your system taken just after the issue has occurred. To take a logcat, you enter this command from your PC: adb shell logcat -d >c:\logcat.txt. Copy and paste this log to pastebin.com, and provide the link.
  • If I ask you to re-test the issue after a data-wipe, do the following: reboot into ClockworkMod, perform a full backup, then data-wipe, reboot and retest the issue, giving a new log if necessary. You can then reboot into ClockworkMod and restore your data backup.

Alternate download location: I would prefer if everybody used the ROM Manager application to download & install my ROMs. If you need to download from the PC, however, you can use this link.
 
Last edited:

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
Troubleshooting Battery:

In order to help me to troubleshoot issues with battery usage, please follow these instructions:

  • Charge your phone to 100% battery.
  • Use your phone normally for as long as possible (ideally, 12 hours) without plugging the phone into your PC or main charger for the entire test period.
  • When the test period has ended, plug in the phone and immediately take a "dumpstate" log:
    Code:
    adb shell dumpstate >dumpstate-u81x0-yournickname.log
  • Upload the log file to pastebin.com or multiupload.com
  • Provide a brief summary of your general usage during the test period, such as: wifi usage and sleep policy, 3g/data usage, approx time spent on calls/games/idle, any information you may think is helpful to troubleshoot battery drains.
 
Last edited:

adfad666

Inactive Recognized Developer
Jul 29, 2011
763
4,301
For real? My girlfriend has this phone, and she has been jealous of the CyanogenMod on my Optimus One ever since I installed it. This should make her happy!

She currently uses the SmartLucky 2.2 Rom developed at androidworld.it, did you work on that too / reuse some of their mods or is this an independent job?

I'll get it flashed for her tomorrow probably and let you know if there are any problems.

Request for info: since this is a low end phone, how much free memory is there after flashing, and (roughly) how does it perform vs stock? I noticed a big jump from stock froyo to CyamogenMod 7 on my O1, but not as much of an improvement from stock froyo to SmartLucky, but then that is also based on a stock froyo rom...

Thanks a lot for this!!
 

wassgha

Senior Member
Sep 13, 2011
100
85
Hi! I just bought a Huawei U8180 (called Gaga here) and am new to the android world. I have a lot of questions... First I want to thank you for this "ROM".
My first question is: "How to root the Huwaei U8180?" I tried AndRoot, ZRoot, ... none of them worked... And, after rooting, how can I install a ROM on it? And finally, will this ROM be compatible with my U8180? Thanks very much.
 

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
can i test this mod on a U8180? the hardware seems almost identical :p

The framework part should work, but you'll most likely need to change the kernel and wifi modules in boot.img to match your device.

---------- Post added at 02:51 AM ---------- Previous post was at 02:50 AM ----------

Hi! I just bought a Huawei U8180 (called Gaga here) and am new to the android world. I have a lot of questions... First I want to thank you for this "ROM".
My first question is: "How to root the Huwaei U8180?" I tried AndRoot, ZRoot, ... none of them worked... And, after rooting, how can I install a ROM on it? And finally, will this ROM be compatible with my U8180? Thanks very much.

I'm not sure about rooting - on my other phone I used Super1Click (but I almost never touch stock ROMs). I already replied to someone else - you'll most likely need to change the kernel for this ROM to work...

---------- Post added at 02:59 AM ---------- Previous post was at 02:51 AM ----------

For real? My girlfriend has this phone, and she has been jealous of the CyanogenMod on my Optimus One ever since I installed it. This should make her happy!

She currently uses the SmartLucky 2.2 Rom developed at androidworld.it, did you work on that too / reuse some of their mods or is this an independent job?

This is built entirely from source; SmartLucky's ROM is based on the stock ROM with "hacks" (I don't mean that in a bad way - I just mean that no source compilation / recompilation is involved). I used the Ideos Dev Team's CyanogenMod device overlay to begin my port, as the hardware is very similar.

I'll get it flashed for her tomorrow probably and let you know if there are any problems.

Request for info: since this is a low end phone, how much free memory is there after flashing, and (roughly) how does it perform vs stock? I noticed a big jump from stock froyo to CyamogenMod 7 on my O1, but not as much of an improvement from stock froyo to SmartLucky, but then that is also based on a stock froyo rom...

Thanks a lot for this!!

Memory usage will always be higher on a Gingerbread ROM (which CM7.1 is based on) compared to Froyo. First boot is a bit slower than Froyo due to comparatively more services being executed, but once it's loaded, in my opinion, performance is as good or better than Froyo. Just keep in mind that SmartLucky's kernel is overclocked - mine is not (yet).

I completed the port in two days, and released just under 2 days ago, so I haven't exhaustively tested everything yet. I've switched back to stock to try to reverse-engineer the stock FM radio's code. There may be some problems, but I will be maintaining the port and releasing fixes to any issues encountered.
 

bradstewart

Senior Member
Feb 13, 2007
113
65
I installed this on my U8180 and it works amazingly well. Didn't have to change a single thing.

Wifi, GPS, camera, hardware and touch buttons all work.

It does take a little longer to boot but once it is running it is much more responsive.

Only found one issue so far and that is with LauncherPro having to be force closed occasionally, also it has to reload after quitting out of an app.
 
  • Like
Reactions: blackhenry

psyke83

Inactive Recognized Developer
Mar 29, 2011
1,267
3,959
I installed this on my U8180 and it works amazingly well. Didn't have to change a single thing.

Wifi, GPS, camera, hardware and touch buttons all work.

It does take a little longer to boot but once it is running it is much more responsive.

Only found one issue so far and that is with LauncherPro having to be force closed occasionally, also it has to reload after quitting out of an app.

Well, that's interesting... ;)

The slow boot seems to be a kernel bug (it's continually trying to mount a virtual .iso file at /data/cdrom/autorun.iso, which doesn't exist). I'll try to remove this code from the kernel in the next release.
 
Last edited:
  • Like
Reactions: Nonverbose

wassgha

Senior Member
Sep 13, 2011
100
85
So if it works with u8180 can you please explain how to install it step by step? I am a total noob please i really need your help i know nothing about rooting and custom roms, please give me a minute of your time and help me install this custom rom... your help will be a lot appreciated because there are absolutely no guides about u8180 on the whole net.
 
  • Like
Reactions: Kannibalism

bradstewart

Senior Member
Feb 13, 2007
113
65
I rooted my 8180 using SuperOneClick. Google it. Very easy to use. Put your phine in USB debug mode. Settings > Apps > Development.

I then loaded the Amon RA recovery using the ADB method. I can't post linkks here yet but just search for "[RECOVERY] : ClockworkMod Recovery for Vodafone Smart/Huawei U8160" and its on Modaco. That page has links to all the download files you'll need. Pick recovery-RA-u8160-v2.3.img and copy it to your SD card. Also have a copy of the new ROM on your SD card.

When using the ADB method make sure to change the file name in the last couple of steps to match the one you downloaded.

Once that it done make a nand backup of your phone from recovery. Vol Up and Down to change option and Power to select.

Once that is done you use the option to flash from zip on SD card. Select the right file from your SD and let it do its thing and then reboot.

The first boot can take quite a while, but once you see the Cyanogen bootscreen you should be good.

Hopefully that makes sense.
 

wassgha

Senior Member
Sep 13, 2011
100
85
YAY!! I rooted it! thanks very very much! Had an issue with drivers but found this : theunlockr.com/2010/10/11/how-to-root-your-android-phone-superoneclick-method/
Reported Issues:

Issue: It gets stuck on waiting for device…

Solutions: Try these solutions, starting with the first then retry, then the second and retry, and so on until it works.

1. Check to make sure USB debugging is checked on in Settings > Applications > Development.

2. Close the rooting program. Turn off your phone (keeping it still plugged in). Open the rooting program and click root. Then turn on your phone and see if it continues.

3. Close the program and unplug the phone. Download and install PDANet and follow it’s on screen directions to get it to install the drivers manually for your phone. Once it is done installing, plug the phone in and reopen the rooting program.

4. If that still doesn’t work, then go to our How To Setup ADB Procedure, finish it and return here to start over.
Now its rooted, I'll continue and tell you what happens
 

adfad666

Inactive Recognized Developer
Jul 29, 2011
763
4,301
This is built entirely from source; SmartLucky's ROM is based on the stock ROM with "hacks" (I don't mean that in a bad way - I just mean that no source compilation / recompilation is involved)

The SmartLucky ROM does feel a bit hacky and comes with too many unnecessary apps preinstalled in my opintion.

Memory usage will always be higher on a Gingerbread ROM (which CM7.1 is based on) compared to Froyo.

Do you have any recommendations for App management with this ROM? I use Link2SD, can I assume this won't be a problem on the compiled kernel?

I completed the port in two days, and released just under 2 days ago, so I haven't exhaustively tested everything yet.

That's pretty darn fast! I had been thinking of trying something like this myself, I just hadn't got round to it yet, work is very busy this week, but we've only had the phone a couple of weeks anyway.

Thanks!
 

wassgha

Senior Member
Sep 13, 2011
100
85
WOAHO!!! Installed cyanogen on the huawei gaga u8180!
THANKS VERY MUCH subpsyke AND bradstewart!!! You're the best guys!!!
So, here is what I exactly did:
1 . Disconnected the phone, installed PdaNet for the drivers
2 . Downloaded SuperOneClick, connected the phone, Setting > Apps > Developpers > Enabled usb debugging and rooted it.
3 . Got fastboot.exe AND AdbWinApi.dll from the Android SDK zip, got recover.img from megaupload.com/?d=IK2UYQF9 , put them all in a directory called fastboot and placed it in C:/ (wich makes C:/fastboot) runned CMD and typed:
Code:
cd C:/fastboot
fastboot flash recovery recovery.img
fastboot reboot
4 . Once recovery installed, picked adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll from SuperOneClick zip file and put them in a folder called adb and put it on C:/ (wich makes C:/adb/). Opened CMD and typed:
Code:
cd C:/adb
adb shell reboot recovery
5 . Now, in recovery mode, I backed up the system then rebooted the phone, took the backup directory from the SD card and put it in a safe place.
6 . Placed the "update-cm-7.1.0-RC1-u8160-v0.1-signed" zip file (downloaded from the first post on this thread) on the SD card
7 . Another time, runned CMD and typed
Code:
cd C:/adb
adb shell reboot recovery
then installed the ROM
8 . Cyanogen screen is here!
I don't know if I'll have other issues because I think it took 5 minutes until now and still booting... I'll give you updates.
EDIT: I had to wipe my data (something that I forgot) and also installed google apps for the android market
NOW MY PHONE IS BLAZING FAST AND RESPONSIVE, EVERYTHING RUNS SMOOTHLY AND I ALSO GOT THE ARABIC SUPPORT YOU GUYS ARE AMAZING I LOOOOOVVVVVEEEEE YOUUUUUU!!!!!!
 
Last edited:
  • Like
Reactions: Liam_K

jajajim

Member
Sep 5, 2011
14
1
U8180

UPDATE: thanks bradstewart !! U8180 booting cyanogen mod 7 :D :D use recover.img from megaupload.com/?d=IK2UYQF9

@ wassgha and subpsyke
sorry for my bad english
rooting and clockwork recovery (android.modaco.com/topic/341329-recovery-clockworkmod-recovery-for-vodafone-smarthuawei-u8160/) works fine.
but i get errors at "update-cm-7.1.0-RC1-u8160-v0.1-signed" zip file

screen output:
Finding update package...
opening update package...
Installing update...
assert failed: getprop/"ro.products.device" == "u8160"
...... etc. etc. ........
Installation aborted.


toggle signature verification and scripts make no difference for me. my noob "hacking" :) build.prop not working
 
Last edited:

Kannibalism

Senior Member
Sep 14, 2011
670
296
31
.: Underworld :.
had to try this on the vodafone smart tested all the functions so far and had no problems at all very good work mate the rom runs smooth and all.

The only thing that is bugging me is that the google apps package does not install gmail, youtube, maps etc maybe i am doing it wrong it just only install the market

the steps i did was
a) create recovery (worked fine)
b) wipe data / cache and install rom (worked fine)
c) same as rom select zip from sd card chose the package for google apps that is compatible with cm7 and installed

i then booted the phone and connected my phone had to choose the packages but it will not install gmail, maps etc it says there not in market any ideas how to fix this problem mate
 

bradstewart

Senior Member
Feb 13, 2007
113
65
@ wassgha and subpsyke
sorry for my bad english
rooting and clockwork recovery (android.modaco.com/topic/341329-recovery-clockworkmod-recovery-for-vodafone-smarthuawei-u8160/) works fine.
but i get errors at "update-cm-7.1.0-RC1-u8160-v0.1-signed" zip file

screen output:
Finding update package...
opening update package...
Installing update...
assert failed: getprop/"ro.products.device" == "u8160"
...... etc. etc. ........
Installation aborted.


toggle signature verification and scripts make no difference for me. my noob "hacking" :) build.prop not working

Try flashing the RA recovery instead of the Clockwork one.
 
  • Like
Reactions: jajajim

wassgha

Senior Member
Sep 13, 2011
100
85
had to try this on the vodafone smart tested all the functions so far and had no problems at all very good work mate the rom runs smooth and all.

The only thing that is bugging me is that the google apps package does not install gmail, youtube, maps etc maybe i am doing it wrong it just only install the market

the steps i did was
a) create recovery (worked fine)
b) wipe data / cache and install rom (worked fine)
c) same as rom select zip from sd card chose the package for google apps that is compatible with cm7 and installed

i then booted the phone and connected my phone had to choose the packages but it will not install gmail, maps etc it says there not in market any ideas how to fix this problem mate

I resolved this by installing Market Enabler from then market and then fakin a USA market. That will show the google maps, gmail and youtube apps on the market when you search for them
 

Top Liked Posts

  • There are no posts matching your filters.
  • 123
    CyanogenMod 7.2.0-RC1 "u8160" Port
    Latest release: v1.5 [20120814]
    Latest Google Apps package: 20110828


    Hey folks,

    This is a port of Cyanogen 7.2.0-RC1 (based on Android Gingerbread 2.3.7) for the Vodafone Smart VF858 (Huawei U8160) and Huawei X1 (U8180). The current port status is stable - all hardware is working correctly, but see post #2 for any known issues.

    Pre-requisites:
    • ClockworkMod Recovery. The easiest method to flash ClockworkMod Recovery is via the ROM Manager application. See post #2 for more details.
    • Install the GooManager application from the Play store.

    Installation (updating from older CM7 build):
    • Open the GooManager application.
    • Select the Check for rom updates option.
    • Click on the notification for the available update and then click the Download button.
    • When the download finishes, enter recovery and install the update package followed by the Google Apps package.

    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.
    • If needed, click the Download Gapps button to download the Google Apps package. The most recent (and most suitable) version will always be selected for you automatically.
    • 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 or custom ROM, choose the data wipe option before rebooting.

    Releases / Changelog:
    • 1.5 (20120814):
      • Updated CyanogenMod source
      • Undo modification to camera's maximum megapixel resolution for U8180 users (due to crashes)
      • Switch to using newer U8180 proprietaries by default
      • Add-on packages for USB host mode kernel, wpa_supplicant 5 and 6 (for users to test for any differences with wifi stability; base ROM uses v6 by default), U8160 and U8180 proprietaries (to test for any changes in functionality with wifi, camera and RIL).

    • 1.4 (final) (20120802):
      • Hotfix 2: kernel: revert aps-12d change due to problems with proximity sensor; update 02setuphardware script to modify camera's maximum megapixel resolution on per-device basis (2mp for U8160, 3mp for U8180).
      • Hotfix 1: kernel: add early suspend/resume hooks to aps-12d light sensor driver, disable unused adp5587 keypad driver; remove 1600x1200 resolution filter from Camera app; add ro.config.PicMaxSize=2mp property to build.prop, which should limit libcamera's support to 1600x1200 resolution and therefore prevent camera crashes for certain users.
      • Updated CyanogenMod source
      • Consolidate all fixes from 1.4RC release + hotfixes.
      • Remove RomManager from default installation. Why? I no longer distribute ROMs/updates using it, and debug logging from the app suggests that it may have potential memory leaks issues. My phone now reports 45-60MB (60-75MB without Google Sync activated) free on average after removal of this package. If RomManager is still installed after upgrading to this release, it means that you have a local update installed, which you can uninstall just like a regular user app.
      • Re-introduce Adriano Carrata's patches: fix PIN entry in airplane mode; add workaround for apps which specify an invalid pixel format (i.e. Sygic).
      • Enable speex encoder support.
      • Implement additional patch for security issue CVE-2011-3874. Note: this vulnerability is supposed to be patched in the framework already, but the exploit test case still reports the exploit as being available. This patch may only fix the false-positive result of the exploit test. Either way, it's useful.

    • 1.4 RC1 (20120729):
      • *Note: I'm provisionally marking this as a release candidate, as I've made a lot of changes to the kernel that may have unforeseen effects for certain users. If there aren't major problems, this will be renamed to the final 1.4 release.
      • Hotfix 5: removed akm8973 driver (not used after all), added mma8452 driver, more kernel optimizations.
      • Hotfix 4: added akm8973 driver (for real this time), fixed init.rc script to set U8180 model automatically, small kernel configuration optimizations.
      • Hotfix 3: added fixed wifi driver to solve issues with power saving mode and resume from idle (I had forgot to include this since hotfix 1 - whoops); added akm8973 and s5ksca drivers back into kernel to fix accelerometer and camera sensors for U8180 (and some U8160) users; fixed video camera mode; removed automatic reodexing option from U8160Parts (too hacky); removed U8180 branding option from U8160Parts (ro.product.model is now adjusted for U8180 users automatically on every boot).
      • Hotfix 2: fix U8160 (synaptics_i2c_rmi_1564) driver
      • Hotfix 1: re-added missing drivers and kernel config for U8180; fixed issue in which wifi would get held in maximum power saving mode under certain circumstances.
      • md5: 936cc309fe0a87c01091cbd0ee5edd9c
      • Updated CyanogenMod source
      • Kernel: reworked from scratch for stability (there were some errors in my previous CodeAurora merge); fixed some issues with Huawei-specific USB code; disabled Huawei virtual CD-ROM USB driver; fixed compass driver; removed Huawei wakelock/suspend code that was causing "unknown_wakeups" wakelocks to be generated, possibly draining battery; removed many unnecessary drivers & some debug options from default kernel configuration.
      • Wifi: Updated bcm4329 driver - adapted from clean android-msm.2.6.39 sources, including patches from Nvidia and Huawei to support our device properly; using wpa_supplicant_6 with combo scan enabled, including a fix for resume from idle. Summary: wireless should now work on all channels (>11 had issues before), hidden SSIDs work properly, and resume from idle works properly.
      • Removed USB host support from default kernel (will package separately)
      • Disable compcache (ramzswap) by default
      • Changed ramzswap, CIFS and TUN (vpn) drivers to modules, moved dhd.ko from boot image to /system to reduce memory footprint of kernel.

    • 1.3 (20120625):
      • md5: aabb0add99abcec1ceebb5588242358f
      • Updated CyanogenMod source.
      • Add U8160Parts settings application. New options available via Settings -> Device settings: ROM re-odexing [not recommended for people already using some form of app2sd], attenuation of speaker, headset, FM radio, Kernel Samepage Merging, Swap, Generate bug report. Removed madconfig script.
      • Testing some patches by ac1953: automatic resume of music after interruption by incoming call; fix FM radio pop, ensure that last used frequency is properly tuned on cold start of FM app (including my change); enable workaround for invalid PixelFormat 8 (fixes Sygic).
      • libaudio: add FM audio attenuation support, fix minimum in-call volume causing sound to mute completely.
      • Resolve battery drain cause by kernel configuration in previous release (CONFIG_FB_EARLYSUSPEND has issues with suspend in Gingebread).
      • Revert to original bcm4329 driver (from Huawei U8180 source drop) with increased dhd_watchdog_ms period; disable combo scanning in supplicant to fix hidden networks; ensure that dhcpcd server is always stopped when wpa_supplicant is stopped. Testing to see if this improves battery usage, and/or resolves the problem with connecting to networks beyond channel 11.

    • [release candidate] (20120616):
      • Updated CyanogenMod source.
      • Kernel: disable framebuffer console (ANDROID text), instead transitioning directly from egg-timer (or bootsplash image, if installed) to CyanogenMod bootanimation - may improve battery
      • Kernel: enable USB Host mode (support modules are installed to /system/lib/modules/) - needs testing from users with OTG adaptors
      • Kernel: enable Kernel Samepage Merging, switch from console-based earlysuspend to framebuffer-based earlysuspend - may improve battery
      • New libaudio from Adriano Carrata with audio attenuation support, improved AudioFilter.csv - completely solves audio distortion
      • Switch to open source gralloc module (fixed - video decoders now work properly)
      • Fix issue in which framebuffer earlysuspend could sometimes cause the screen not to wake properly.

    • v1.2 (20120403):
      • Updated CyanogenMod source.
      • New kernel (based on latest CodeAurora froyo_almond branch).
      • Enable workaround to reduce audio distortion at higher volume levels.
      • Completely fixed instability/freezes related to USB tethering.
      • Various patches for memory leaks and minor bugs from gerrit.

    • v1.1 (20120317):
      • Hotfix 1: disable CGROUPS, fix wireless suspend stability issue
      • Updated CyanogenMod source - version 7.2.0-RC1
      • Cherry-picked various patches from gerrit to fix issues with core binaries/libraries (dalvik, bionic, zlib, etc.)
      • Kernel: reverted to stable 2.6.32.9 kernel due to issues with battery consumption. Note: CGROUPS is still enabled, but the Application Not Responding issue on first boot seems to be fixed
      • Kernel: disabled OTG support due to battery consumption issues (will package a separate kernel for interested testers)
      • Kernel: updated pmem driver, fixed issues with smartassV2 & interactiveX CPU governors
      • Wifi: stability patch for bcm4329 driver
      • wpa_supplicant_6: wait for control interface monitor to be brought up before starting. Improves reliability of wireless when reconnecting from idle.
      • libaudio: fix for minimum in-call volume being incorrectly muted in certain cases (such as on speakerphone)
      • GPS: use worldwide SUPL server by default
      • Compcache: back to 18%
      • ADWLauncher: lock action buttons by default (helps avoid cases in which users accidentally detach the icons for these buttons)
      • Change scrolling cache setting to further improve scrolling speed

    • v1.0 (20120227):
      • Known issue: you may see the message "process system is not responding" after unlock on first boot. This is due to CGROUPS being enabled in the kernel (and also happens with the stock kernel - it's not a problem with my updates). You can safely disregard the message as no harm will be done.
      • Hotfix 1test1 [8th March]: Changes to kernel to fix battery drain - please test.
      • Updated CyanogenMod source.
      • Kernel: now using version 2.6.32.57 (Code Aurora's froyo_almond updates + upstream's longterm 2.6.32.y updates merged)
      • Kernel: new bcm4329 wifi driver, which should fix reconnect from idle for hidden networks
      • Kernel config: enabled CGROUPS, tweaks to improve battery usage
      • Scrolling cache tweak.

    • v0.9 (20120203):
      • Hotfix 4test5 [21 Feb]: Revert longterm patches due to random reboot issue.
      • Hotfix 4test4 [21 Feb]: Kernel: fix screen not turning back on from suspend, other small fixes.
      • Hotfix 4test3 [20 Feb]: Kernel: rebased to CodeAurora froyo_almond branch & merged longterm 2.6.32.57 changes, updated wifi source driver.
      • Hotfix 3 [12 Feb]: Kernel: more stable config (enabled ARMv6 K extensions which stops USB errors; fix for U8180 key issues).
      • Hotfix 2 [10 Feb]: Fix call audio via Bluetooth headset; disabled AHB overclocking due to instability during USB tethering (and possibly also during other activities); wifi module now built from source to improve reliability; updated wpa_supplicant_6 to use combo scanning; re-enabled SCHED_HRTICK in config (it wasn't the cause of instability).
      • Hotfix 1: Fix audio routing issues that were causing problems with the mic and headset detection during calls. This may or may not affect the Bluetooth headset bug - please let me know.
      • Updated CyanogenMod source (almost 7.2.0-RC1).
      • Performance: disable scrolling cache (prevents lag)
      • Performance/battery: disable ICS rotation animation (it's slow and causes instability; ICS transition animations are still working smoothly)
      • Performance/battery: updated android staging kernel drivers from 2.6.35 kernel (notably bringing improvements to the lowmemorykiller driver)
      • Performance/stability: moved to stable copybit version
      • Stability: rebuilt kernel using 4.4.3 toolchain from CM7 source.
      • Stability: kernel audio driver patches to prevent rare blackscreen during incoming calls/low memory conditions
      • Stability: further updates to latest CAF libaudio version with FM routing code added. Bluetooth calling should work again, but needs testing.
      • Battery: added 2g/3g mobiledata switch option (allows you to use the mobiledata statusbar button to switch between 2g/3g network modes).
      • Fancy: enable electron beam animation for screen off by default (performance is satisfactory)
      • Reverted SIM lock change that was causing people to have problems with certain SIM cards.
      • FM: fixed audio routing (headphones will not longer malfunction if you use the speaker and then exit the FM app); prevent frequencies out of bounds being used; allow looping between the top/bottom of the frequency bands.
      • Improved mac address generator script to prevent errors for certain devices.
      • Increased default compcache memory allocation to 26%.
      • Miscellaneous code cleanups.
      • Now distributed via ROM Manager with a greatly simplified installation procedure.

    • v0.8 - 26 January 2012:
      • Updated CyanogenMod source (still 7.2.0-RC0).
      • Fix for rare issue where notification area items can get "stuck", causing notifications to malfunction.
      • Now includes ICS rotation and transition animations (merged officially into CM7.2)
      • Wifi: disable wpa_supplicant_6's combo scan to fix reconnect/hidden SSID issues
      • Bluetooth: disable master mode to increase reliability with some peripherals
      • libaudio: code cleanup (based on rmcc's geeksphone zero); removed dependency on proprietary liba2dp.so
      • ADWLauncher: allow rotation of home screen by default
      • Kernel: re-enable multitouch support (oops)
      • Init: reduce default mmcblk0 readahead from 2MB -> 258KB to avoid potential lag.
      • The phone is no longer restricted when network locked and using a different SIM card.
      • Small cleanups.

    • v0.7 - 22 January 2012:
      • Updated CyanogenMod source (still 7.2.0-RC0).
      • Kernel stability fix (disabled SCHED_HRTICK due to instability/random reboot issue).
      • MAC addresses for Bluetooth and wifi are now accurate.
      • Improved Bluetooth audio.conf based on this bug report. This should improve Bluetooth stability with audio peripherals.
      • Reduced default compcache memory usage from 18% -> 10% to reduce potential lag.
      • Reduce LatinIME landscape keyboard key height (.25in -> .23in)
      • Use automatic brightness setting by default.

    • v0.6 - 29 December 2011:
      • Hotfix 2 [31 December 2011]: Updated "madconfig" script. You can now run adb shell madconfig u8180 to activate U8180 ROM branding that will survive future ROM upgrades (of my own release).
      • Hotfix 1 [31 December 2011]: Updated kernel (further stability fixes, added interactiveX cpu scheduler, unlocked overclock frequencies up to 768Mhz); updated libaudio to increase buffer size (this improves smoothness of apps using audio - e.g., Gensoid can now play games at full 50/60fps in landscape with no visual stuttering @633Mhz, whereas before it would stutter constantly); renamed tethering device from usb -> rndis (cosmetic fix); tweaked LatinIME keyboard to use .23in key height (down from .26in).
      • Updated CyanogenMod source (7.2.0-RC0).
      • Kernel: rebuilt using latest stable linaro gcc release: 4.5-2011.11
      • Kernel: fixed phone freeze issue when USB tethering is interrupted. This change also seems to reduce general system lag that was being caused by a conflict in the USB drivers.
      • Kernel: fixed "back" softkey alignment.
      • Kernel: fixed touchscreen right edge sensitivity issue (portrait).
      • Renamed wifi device from eth0 -> wlan0 for better consistency.
      • Re-enabled surface dithering by default; it has been reported that font rendering is improved with this option enabled, and I don't see much performance impact when enabled.
      • Experimental build.prop tweak to enable 3mp camera support (untested).

    • v0.5 - 10 November 2011:
      • Updated CyanogenMod source.
      • Partial fix for third-party camera apps (e.g. barcode scanners).

    • v0.4 - 21 October 2011:
      • Hotfix 2 [23 October 2011]: Updated device permissions. This fixes the sound recorder and camcorder.
      • Hotfix 1 [21 October 2011]: Reverted to v5 wpa_supplicant. This solves the issue in which wifi refuses to connect to hidden SSIDs.
      • Updated CyanogenMod source.
      • Included some patches to bring further improvements to 2D graphics & general system performance.
      • Patched framework to swap volume controls when the phone is rotated 90 degrees.
      • Improve USB transfer speed while in UMS (USB Mass Storage) mode.
      • Fix some graphical corruption on widgets in stock Camera app.
      • Other small fixes.

    • v0.3 - 10 October 2011:
      • Updated CyanogenMod source - final 7.1 release.
      • Improved 2D rendering speed.
      • Switched to EU GPS servers.
      • Fixed headset/media control keys.
      • Re-enabled automatic brightness.

    • v0.2 - 3 October 2011:
      • Hotfix 3 [6 October 2011]: Kernel: reverted to stable compcache (ramzswap) driver. Framework: disabled JNI debugging -this fixes force-close errors in some applications such as TapFish, and increases overall system performance.
      • Hotfix 2 [4 October 2011]: Kernel: improved multitouch driver to fix touchscreen accuracy (especially soft keys), improved haptic feedback, fix to zram module. Small fixes to libaudio (the distortion is not yet resolved, however).
      • Hotfix 1 [3 October 2011]: Kernel: added compcache (zram.ko) module, reduced boot delay, unlocked 729Mhz frequency, small bugfixes. Framework: enable compcache by default (18% RAM usage, customizable in CyanogenMod Settings - Performance -> Compcache RAM Usage.)
      • Updated CyanogenMod source: now based on Gingerbread version 2.3.7.
      • Kernel now supports under/overclock from 30Mhz - 710Mhz (min/max frequency is set to 30Mhz - 600Mhz by default, so you must manually activate the higher frequencies via Settings -> CyanogenMod Settings -> Performance -> CPU settings). Thanks to estebanSannin. NOTE: My phone is very unstable at 691Mhz, and freezes immediately at 710Mhz. I am providing these higher frequencies just in case your phone has better tolerance for overclocking. I accept no responsibility for any damage caused as a result of overclocking.
      • FM Radio app: fixed seeking (left/right arrows).
      • Disabled automatic brightness (it potentially avoids battery drain, and never worked anyway). Thanks to tas0s for the tip.
      • Enable workaround to prevent corruption issues if you use the Simple2EXT app2sd app.
      • Reverted Gallery app to 2D version, due to lack of hardware 3D acceleration on our phone.
      • Added compatibility with sebastian404's ClockworkMod port. You can now install this ROM using his CWM recovery (as well as my own).
      • Improved FM volume calculation, reduced overall volume & small fixes to audio code.
      • Various small bugfixes.

    • v0.1 - 12 September 2011:
      • Hotfix 1 [18 September 2011]: Boot: removed custom lowmemorykiller tweaks; kernel: various updates (smartassV2, TinyRCU, Simple and V(R) IO schedulers), bugfixes and optimizations, changed default scheduler to Simple IO; libaudio: code cleanup; Framework: enabled hardware-accelerated 2D rendering.
      • First release. All hardware appears to be working correctly.

    Source Code:
    33
    Getting started with ROM Manager & ClockworkMod
    Skip to Part B if you have already rooted your phone.
    • a) Rooting your phone
      • Go to Settings -> Applications -> Development. Enable the option USB debugging, and wait for the debugging drivers to be automatically installed onto your PC.
      • On your PC, download the latest release of super1click.
      • Run super1click and click the Root button. Follow all of the prompts given by the application, but make sure that you choose yes to the prompt on whether to install busybox.
      • Continue to the next part when your phone is successfully rooted.
    • b) Installing ROM Manager & ClockworkMod
      • Install ROM Manager from the Google Play store.
      • Open the ROM Manager application. Choose the option Flash ClockworkMod Recovery, and confirm the phone model as Huawei U8160.
      • After downloading the recovery image, a Superuser prompt will ask you for permission for the application to have root access. You should Allow this action.
      • ClockworkMod should now be flashed to your phone.

    Known issues
    • Excessive bass/distortion at >70% volume - workaround in v1.2.

    Technical details:
    • Kernel 2.6.32:
      • CPU & AHB overclock supported up to 768Mhz, but default frequencies (122-600Mhz) are used by default for safety/stability reasons
      • Built-in support for CIFS, TUN, compcache (ramzswap)
      • Multitouch Synaptics touchscreen driver
      • Added extra CPU schedulers: interactiveX, smartassV2 (default)
      • Added extra IO schedulers: BFQ, VIO, SIO (default)
      • Updated Android staging drivers from 2.6.35 kernel
      • Patches to improve CyanogenMod compatibility (e.g. USB tethering)
      • Various other stability & performance patches.

    Before you ask...
    I have no interest or intention to further "mod" the ROM with any kind of hacks or customizations (like custom apps, themes, Swype, etc.). My only aim is to have a 100% stable port of Cyanogen code. Any such requests will be ignored.

    Reporting bugs
    You must follow these instructions exactly, or I will ignore your requests. Provide the following information:
    • The version of the ROM you are using (to confirm that you have the latest release)
    • Report any customizations you have made to the ROM (themes, system apps, etc.)
    • Describe the problem clearly, including steps on how I can reproduce the issue.
    • Provide a logcat from your system taken just after the issue has occurred. To take a logcat, you enter this command from your PC: adb shell logcat -d >c:\logcat.txt. Copy and paste this log to pastebin.com, and provide the link.
    • If I ask you to re-test the issue after a data-wipe, do the following: reboot into ClockworkMod, perform a full backup, then data-wipe, reboot and retest the issue, giving a new log if necessary. You can then reboot into ClockworkMod and restore your data backup.

    Alternate download location: I would prefer if everybody used the ROM Manager application to download & install my ROMs. If you need to download from the PC, however, you can use this link.
    12
    Troubleshooting Battery:

    In order to help me to troubleshoot issues with battery usage, please follow these instructions:

    • Charge your phone to 100% battery.
    • Use your phone normally for as long as possible (ideally, 12 hours) without plugging the phone into your PC or main charger for the entire test period.
    • When the test period has ended, plug in the phone and immediately take a "dumpstate" log:
      Code:
      adb shell dumpstate >dumpstate-u81x0-yournickname.log
    • Upload the log file to pastebin.com or multiupload.com
    • Provide a brief summary of your general usage during the test period, such as: wifi usage and sleep policy, 3g/data usage, approx time spent on calls/games/idle, any information you may think is helpful to troubleshoot battery drains.
    12
    U8160 audio fix

    Hi,
    in the attachment you will find an AudioFilter.csv modified to enable the IIR and the ADRC on the main speaker. The overall audio quality has been tested instrumentally vs the stock ROM and appears to be improved a lot.
    The original file is in /system/etc and must be substituted with this one after to have renamed it from AudioFilter.txt to AudioFilter.csv.
    I suggest to use Root Explorer or adb to execute the sustitution. You will find detailed instructions in the forum, because the topic has already been covered. Every comment will be welcome.
    11
    The psyke's ROM sister is born!

    Well..... after a long time (job) I am happy to return on this forum with a little gift for all the friends. Starting from yesterday is available at the following address:

    http://forum.xda-developers.com/showthread.php?t=1729925&highlight=ac1953

    my personal build of CM7. Often I think to my ROM as the psyke's one sister :D .... similar but not equal. Psyke's one is the BIG SISTER.... without its wonderful job (thanks Conn) I wouldn't never focus my interest on Android. My ROM, on the other hand, has many improvements over the standard CM7 framework not available in any other CM7 ROM (don't worry psyke... I plan to publish soon ALL the patches I did on github.... if only I will have the time to do it :laugh:.... I changed A LOT of modules, hi) but, by choice, uses an old but very stable psyke's kernel, dated 2012/04/26. But, it is better, I think, to describe the ROM characteristics.

    GENERAL DATA
    Cyano sources updated to 2012/09/09

    KERNEL
    Psyke83 kernel dated 2012/04/26


    USER INTERFACE
    • Signal level bars color changing depending from signal level (7.2 source code fix)
    • Device parameters configuration exported in a dedicated application under settings (as psyke's ROM, but different application and parameters)
    • ICS/Jelly Beans extra wallpapers available in the wallpapers choice menu
    • ICS theme (developed by me) integrated in the Theme Chooser

    FRAMEWORK
    • Fix PIN entry in airplane mode;
    • WiFi signal level visualization synchronized with the true signal even when the phone starts with WiFi ON and a network is available
    • Data connection disabled after a full wipe to avoid unwanted charges
    • Call ring synchronized with the screen switch ON
    • Removed bug causing ringer sound distortion (skip of audio filtering)
    • Audio reference levels programmable for speaker, headphone and bluetooth channels (u8160 device settings)
    • Audio redirection to bluetooth headphone (u8160 device settings)
    • Workaround for apps which specify an invalid pixel format (i.e. Sygic)
    • Lists visualization bug removed (initial dots overlapped to text)


    CYANO APPS
    • MUSIC - Sound Start/Stop synchronized with incoming/outgoing calls
    • FM RADIO - Tuning/frequency visualization synchronization and switch on scratch removed (approach a little bit optimized)
    • SMS/MMS - Added button (and logic) to search and select multiple recipients
    • CONTACTS - Removed a 'no image scaling' bug I discovered when an icon is added to a contact
    • PHONE - Added the capability to assign an icon to its own contact. This icon will then be visualized from the system during conversations

    As you can see, my choice has been to optimize and extend the framework layer, leaving to psyke the kernel. As result you will have now the opportunity to choose between the two BEST ROMs today available for u8160, each with its peculiar characteristics, both to highest possible level for this device. Enjoy!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone