【rom】u8800-cm7-111128-32final[unoffical]

Search This thread

genokolar

Senior Member
Nov 25, 2010
76
258
yibin
I regret to tell you my phone damaged when upgrade the official 2.3..
so i can't do more for u8800,thanks your support!

I will try to after-sales service, so no need to donate
WARNING: if you use multi-boot, must restore offical partition, then upgrade the official 2.3

Features

Modified Kernel - 1GHz, updated touchscreen driver, faster graphics.form dzo
Working Wi-fi & BT - Wi-fi shuts down when the screen is off by default, change this in Wifi Settings..Menu..Advanced..Sleep policy and set this to "never sleep" if you use wifi often.
Working Sensors,have issue
Working Audio Out and In
Wifi hotspot
nearly all worked

not work:USB tether


Thanks

Thanks to Dzo & stockwellVery much,nice work!
All original developers of CM7

Credits: Dzo, stockwell, genokolar, CM

Installation

To install, first make sure you have a recovery image.
On first install you should really wipe your data partition, so backup all your apps using titanium backup.
Put the zip fille on the sdcard of the phone
switch off the phone
Boot into recovery by pressing power and volume up and keeping them pressed until the recovery menu appears
Select "install zip from sdcard" by pressing volume up/down and then pressing power.
Select "choose zip from dcard"
Select the file you downloaded
Confirm
Wait until it finishes
Press back until you get to the main menu, select "reboot system now"

Changelog
0927 changelog:
1, update to newest CM source code, detailed change see CM changelog
2, using dzo's kernel source + some cpu gov + more EMMC partition support
3, synchronous dzo part of the changes (camera, ril)
4, libhardware_legecy update, using the latest source CM7
5,Modify the ramdisk to avoid sometimes staying in the boot animation

0928 changelog:
1.Include some Gapps (gmail.gtalk.market)
2.Profiles can override wifi/bluetooth etc connection
3.Dzo lastest kernel source:
Add 192MHz to cpufreq list
Add 1.7GHz frequency
Increase vdd for 1.8 GHz to 1.425V
Disable gemini to get rid of green line in pictures

1015 changelog:
1.update to android 2.3.7
2.add X5settings to Settings Menu(from stockwell)
3.build libril liblights libaudio from sources(dzo/stockwell)
4.update wifi drivers&firmware(from stockwell)
5.modify ramdisk
6.use stockwell's kernel sources build kernel
7.new vold to increase sdcard transmission speed,add ntfs readonly support
8.add led notification color custom(Six colors)
9.etc..

1018 changelog:
1.fix libauido issue
2.fix phone issue
3.fix libril issue
4.add projectmenu to Settings(about phone--project menu)
now just upload a update zip package, later full zip package will upload

1106 changelog:
1.add Wifi hotspot/USB tether (from stockwell)
2.use u8800pro liblights(blink one times per three second)
3.use new libril-qc-1.so
4.use build gralloc

1107 changelog:
use stock rom's gralloc fix screen lag issue
fix default language is chinnese


1118 changelog:
fix Mute camera shutter not work!
libhardware_legecy update,not need load_libra
Sound modes and Brightness modes update,no need to configure
libsensors update,work fine for me
add cmstats.apk,let CM know the number of u8800's CM7 users

1128 changelog:
use new sensor.default.so,fixed compass
kernel add zram ,let you could use comcache
kernel use xz compress
unlock 30FPS,you could edit /system/etc/enhanced.conf to close it
maybe its final 32 kernel's CM7
warning: can't use franco.Kernel

Download
111015-cm7-u8800:http://www.mediafire.com/?wuc16jry0s19za1
111018-cm7-update-package:http://www.mediafire.com/?la7avdmdk0ygu7k
111107-cm7-u8800:http://www.mediafire.com/?2ljrpvvlm4p0yft
111118-cm7-u8800:http://www.mediafire.com/?i4d7glw1o0z3x5w
111128-cm7-u8800: https://sourceforge.net/projects/u8800cm7/files/
Sources
https://github.com/Victor-android/android_device_huawei_u8800


-------------------------------------
Multi-boot
In fact, users in China use the U8800, multi-system has been used for a long time.
So, now I will use my broken English to tell you how to use multi-system

First, you need The extra two partitions in the 4G space. you could use twosys-partition.zip to get The extra two partitions 15&16

download partition package:http://xdaforums.com/attachment.php?attachmentid=787404&stc=1&d=1321675310

And
The second system-specific recovery system
http://xdaforums.com/attachment.php?attachmentid=787413&stc=1&d=1321675310

put the twosys-partition.zip and you like rom's zip into Sdcard

rename the recovery_4.0.1.5_en_sys2.img to recovery2.img , then place it to /cust

Boot into recovery,flash this package directly, same as flashing a ROM.

After flashing go to advanced options, choose to reboot to recovery.

Go into recovery again, flash this package again directly, same as flashing a ROM.now you will have The extra two partition 15 and 16

OK, let's flash two system into you phone

Go into recovery again, flash you like rom's zip

boot into first system, you could use RootExplorer access /cust, rename the recovery.img to recovery1.img, rename the boot.img to boot1.img,rename the recovery2.img to recovery.img.

reboot you system into recovery, now you recovery is second system recovery,you could flash the 100911-cm7,it will auto flash into second system.

reboot system, you will into second system (CM7)

if you want change you system to first, you could use RootExplorer access /sbin/gk, you will found some .sh files,Execution the 8-ChangeSys will auto rename all
img file then auto reboot to first system.

you could copy the 8-changesys.sh to any place let you change system easy.

restore offical partition : download

Important:only the 100911-CM7 can flash into second system, other ROM only flash into first system
please backup your data, because you will lost all data in phone
 

Attachments

  • IMG_20110507_215751.jpg
    IMG_20110507_215751.jpg
    82.6 KB · Views: 13,675
  • CAP201106210959.jpg
    CAP201106210959.jpg
    23.3 KB · Views: 8,056
  • CAP2011062109581.jpg
    CAP2011062109581.jpg
    29.6 KB · Views: 11,755
  • offical-partition-2sys.zip
    1.3 MB · Views: 1,770
  • twosys-partition.zip
    1.2 MB · Views: 780
  • recovery5.0.2.7_en_sys1.zip
    4.2 MB · Views: 990
  • recovery5.0.2.7_en_sys2.zip
    4.2 MB · Views: 938
Last edited:

Poulsen8r

Senior Member
Mar 19, 2011
148
35
Wow cool. What's working/not working? Did you compile a new kernel or modify the kernel of the Vision (or something else)?
 

Poulsen8r

Senior Member
Mar 19, 2011
148
35
Awesome Work. It reboots every 2 minutes almost exactly. Which is probably a good thing, too much awesome at once may make my head explode. I ran ADB logcat for you if that helps:
http://pastebin.com/kZddgHpN
I'm no dev but it looks like something is wrong with the DHCP setup or rmnet0 (which i believe is related to the mobile data). I'm sure you know more. Once again, it's 2 minutes of pure awesome, then a reboot lol. Stockwell/Neopeek may know more.
 
Last edited:

stockwell

Retired Recognized Developer
Mar 8, 2007
375
596
Brisbane
Okay finally had some time today to look at this rom and I was close with the rmt_storage thing.. the 2 minute rebooting thing is because the huawei rpc service (system/bin/oem_rpc_svc) isn't being started during boot (this calls rmt_storage periodically so that's what threw me off). If you manually call it after booting then it won't reboot.

I'm not sure yet why the rpc service won't start during boot though.. might need to look at the boot logs a bit more.
 
  • Like
Reactions: Opus00

genokolar

Senior Member
Nov 25, 2010
76
258
yibin
Okay finally had some time today to look at this rom and I was close with the rmt_storage thing.. the 2 minute rebooting thing is because the huawei rpc service (system/bin/oem_rpc_svc) isn't being started during boot (this calls rmt_storage periodically so that's what threw me off). If you manually call it after booting then it won't reboot.

I'm not sure yet why the rpc service won't start during boot though.. might need to look at the boot logs a bit more.

thanks i will look it
 

adamnz

Senior Member
Jan 15, 2011
211
92
Dunedin, NZ
Hi. I'm getting an error installing.

attachment.php


any ideas?

I've tried renaming the .zip to update.zip but I get the same problem.


edit: Ok, fixed it by using genokolars recovery
 

Attachments

  • 1234.jpg
    1234.jpg
    65.1 KB · Views: 3,586
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 56
    I regret to tell you my phone damaged when upgrade the official 2.3..
    so i can't do more for u8800,thanks your support!

    I will try to after-sales service, so no need to donate
    WARNING: if you use multi-boot, must restore offical partition, then upgrade the official 2.3

    Features

    Modified Kernel - 1GHz, updated touchscreen driver, faster graphics.form dzo
    Working Wi-fi & BT - Wi-fi shuts down when the screen is off by default, change this in Wifi Settings..Menu..Advanced..Sleep policy and set this to "never sleep" if you use wifi often.
    Working Sensors,have issue
    Working Audio Out and In
    Wifi hotspot
    nearly all worked

    not work:USB tether


    Thanks

    Thanks to Dzo & stockwellVery much,nice work!
    All original developers of CM7

    Credits: Dzo, stockwell, genokolar, CM

    Installation

    To install, first make sure you have a recovery image.
    On first install you should really wipe your data partition, so backup all your apps using titanium backup.
    Put the zip fille on the sdcard of the phone
    switch off the phone
    Boot into recovery by pressing power and volume up and keeping them pressed until the recovery menu appears
    Select "install zip from sdcard" by pressing volume up/down and then pressing power.
    Select "choose zip from dcard"
    Select the file you downloaded
    Confirm
    Wait until it finishes
    Press back until you get to the main menu, select "reboot system now"

    Changelog
    0927 changelog:
    1, update to newest CM source code, detailed change see CM changelog
    2, using dzo's kernel source + some cpu gov + more EMMC partition support
    3, synchronous dzo part of the changes (camera, ril)
    4, libhardware_legecy update, using the latest source CM7
    5,Modify the ramdisk to avoid sometimes staying in the boot animation

    0928 changelog:
    1.Include some Gapps (gmail.gtalk.market)
    2.Profiles can override wifi/bluetooth etc connection
    3.Dzo lastest kernel source:
    Add 192MHz to cpufreq list
    Add 1.7GHz frequency
    Increase vdd for 1.8 GHz to 1.425V
    Disable gemini to get rid of green line in pictures

    1015 changelog:
    1.update to android 2.3.7
    2.add X5settings to Settings Menu(from stockwell)
    3.build libril liblights libaudio from sources(dzo/stockwell)
    4.update wifi drivers&firmware(from stockwell)
    5.modify ramdisk
    6.use stockwell's kernel sources build kernel
    7.new vold to increase sdcard transmission speed,add ntfs readonly support
    8.add led notification color custom(Six colors)
    9.etc..

    1018 changelog:
    1.fix libauido issue
    2.fix phone issue
    3.fix libril issue
    4.add projectmenu to Settings(about phone--project menu)
    now just upload a update zip package, later full zip package will upload

    1106 changelog:
    1.add Wifi hotspot/USB tether (from stockwell)
    2.use u8800pro liblights(blink one times per three second)
    3.use new libril-qc-1.so
    4.use build gralloc

    1107 changelog:
    use stock rom's gralloc fix screen lag issue
    fix default language is chinnese


    1118 changelog:
    fix Mute camera shutter not work!
    libhardware_legecy update,not need load_libra
    Sound modes and Brightness modes update,no need to configure
    libsensors update,work fine for me
    add cmstats.apk,let CM know the number of u8800's CM7 users

    1128 changelog:
    use new sensor.default.so,fixed compass
    kernel add zram ,let you could use comcache
    kernel use xz compress
    unlock 30FPS,you could edit /system/etc/enhanced.conf to close it
    maybe its final 32 kernel's CM7
    warning: can't use franco.Kernel

    Download
    111015-cm7-u8800:http://www.mediafire.com/?wuc16jry0s19za1
    111018-cm7-update-package:http://www.mediafire.com/?la7avdmdk0ygu7k
    111107-cm7-u8800:http://www.mediafire.com/?2ljrpvvlm4p0yft
    111118-cm7-u8800:http://www.mediafire.com/?i4d7glw1o0z3x5w
    111128-cm7-u8800: https://sourceforge.net/projects/u8800cm7/files/
    Sources
    https://github.com/Victor-android/android_device_huawei_u8800


    -------------------------------------
    Multi-boot
    In fact, users in China use the U8800, multi-system has been used for a long time.
    So, now I will use my broken English to tell you how to use multi-system

    First, you need The extra two partitions in the 4G space. you could use twosys-partition.zip to get The extra two partitions 15&16

    download partition package:http://xdaforums.com/attachment.php?attachmentid=787404&stc=1&d=1321675310

    And
    The second system-specific recovery system
    http://xdaforums.com/attachment.php?attachmentid=787413&stc=1&d=1321675310

    put the twosys-partition.zip and you like rom's zip into Sdcard

    rename the recovery_4.0.1.5_en_sys2.img to recovery2.img , then place it to /cust

    Boot into recovery,flash this package directly, same as flashing a ROM.

    After flashing go to advanced options, choose to reboot to recovery.

    Go into recovery again, flash this package again directly, same as flashing a ROM.now you will have The extra two partition 15 and 16

    OK, let's flash two system into you phone

    Go into recovery again, flash you like rom's zip

    boot into first system, you could use RootExplorer access /cust, rename the recovery.img to recovery1.img, rename the boot.img to boot1.img,rename the recovery2.img to recovery.img.

    reboot you system into recovery, now you recovery is second system recovery,you could flash the 100911-cm7,it will auto flash into second system.

    reboot system, you will into second system (CM7)

    if you want change you system to first, you could use RootExplorer access /sbin/gk, you will found some .sh files,Execution the 8-ChangeSys will auto rename all
    img file then auto reboot to first system.

    you could copy the 8-changesys.sh to any place let you change system easy.

    restore offical partition : download

    Important:only the 100911-CM7 can flash into second system, other ROM only flash into first system
    please backup your data, because you will lost all data in phone
    5
    I'm surprised no one has mentioned this but are there any plans to get official CWM/ROM Manager support?

    I've been meaning to get this done. I think everything is in place to make this possible now.
    4
    Okay for 2d I just had to replace the gralloc lib with the one from B160. I guess in future we'll want to be able to build this from source but for now this makes the phone way more useable.

    Here is a zip to apply until geno incorporates it into the next build. Also includes a kernel based on geno's with DZO's modified TS driver.

    Download: http://www.multiupload.com/QILGIXN410
    4
    Now that the fighting is over, lets work together properly by finding what needs doing and delegating tasks to people. Here are a few things that need to be done.

    1. Write libcamera:

    Using the froyo libcamera causes all sorts of grief and can never be merged, we just need to figure out the msm_camera_ctrl commands (they aren't the same as other devices) that are passed to the adsp and modify an existing libcamera.

    This won't be too hard and I don't mind doing it.

    2. Get Venc and Vdec working:

    This is a bit tricky because the Huawei libs won't interface to gingerberead easily so again they need writing. The standard CAF libs will compile but the problem here is that they need a 2.6.35 kernel. Possible solutions are to backport Venc/dec from 2.6.35 to our kernel or change the libs to use the old interface. Changing the kernel is probably better.

    Perhaps franciscofranco would like to look at this one?

    3. Try to figure out why vsync is so crappy on this device:

    With vsync enabled for the panel you only ever get about 20fps, can we fix this?

    Perhaps stockwell would like to look at this?

    4. Put all the libs in the correct place so it builds correctly:

    The audio,lights and gps libs need to go in the device tree and build correctly.

    Perhaps Jacob could do this?

    5. Use a gingerbread RIL:

    Rather than use the froyo ril, try using the GB ril from a U9000. This would mean we won't need the old rild and all the unnecessary hw libs it uses.


    The aim should be to only us the minimum proprietary libs possible:

    These are:

    liboemcamera.so
    libril-qc-1.so
    libril-qcril-hook-oem.so (possibly)
    sensors.default.so (could possibly write this)

    and the opengl libs:

    libgsl.so, libEGL_adreno200.so, libGLESv1_CM_adreno200.so, libGLESv2_adreno200.so, libq3dtools_adreno200.so

    proprietary bin files we need are:

    compassd
    qmuxd
    rmt_storage
    oem_rpc_svc (possibly not necessary)

    Perhaps something somebody could do is to go through all the proprietary libs we are currently using and make a dependency tree using objdump so we can figure out how to use less of them.

    Anyway, just my thoughts, I'm not trying to force anybody to do anything and I really don't care about merging CM but these things would be useful for Oxygen and MIUI too.
    4
    So, how's the official CM merging HCDRJacob was working on? Did he give up after people bought him the phone?