CM7 Progress (Android 2.3.4)

Search This thread

razor950

Senior Member
Aug 2, 2010
74
29
Hialeah
I built kernel 2.6.32 with vmsplit 3g, which is required for cm7, yesterday and rictec compiled a cm7 build with that kernel and it booted fine, at least once battery was removed.

Basically, its not in a usable state at all but the fact we got it booting is nice progress and we're working on fixing each issue at a time.

Issues:
No Radio, No Wifi, No Camera
No USB (Mounting / ADB broken)
Battery has to be removed if not blue screen occurs (doesn't happen to all testers, might be specific to some S7's Revisions)

rictec deserves most of the credit since he is the one who did the vendor config.
I am currently cleaning that vendor config up and progress is going fine.

Currently: Discussion is mostly done on irc but discussing on here is fine.

irc channel #androidtablets on freenode irc server.

Current Developers/Tester:
Razor950
Rictec
Joenilan
WillEY_

I will post a link to a extremely alpha release once we get usb working but if you would like to test, just drop by the irc :)
 

00mred00

Senior Member
Aug 11, 2010
2,980
408
Princeton Tx
major props for working on this. I returned my s7 until I have time to do this sort of thing or until someone else does it
 

rictec

Senior Member
Jan 22, 2005
416
40
nop
in my case is i lost the spare time i had so this is going to take longer thats it
 

txpxsx

Senior Member
Oct 9, 2008
700
83
Jakarta

goodoane

Senior Member
Jul 22, 2007
369
183
Can you port original kernel 2.3.2 to 2.3.7?... If yes we can try a ICS port.
I have the original 2.3.2 kernel.
Sent from my GT-I9000 using Tapatalk
 

threader

Senior Member
May 31, 2010
252
156
GitHub.com
i have 2.3.7 compiled, i just need to figure out how to make a boot image the device will accept, compiled 2.3.7 tonight, seems the 3g split doesnt boot here, probably runs out of address apace?.

Okay, im at the gfx corruption bit now, thing is , it also happens with 2.2.2, so the problem is probably in the ramdisk, i've used this kernel with 2.2.2 before, but then with the old ramdisk
 
Last edited:

threader

Senior Member
May 31, 2010
252
156
GitHub.com
Ok, merged the init's and stuff, but noticed in the end the problems were down to one permission in ueventd.rc ....
/dev/kgsl-3d0 0666 root root
/dev/kgsl-2d0 0666 root root

gaah!
That error occurs from system/core/rootdir/ueventd.rc . The huawei s7's kernel uses the "old" way of kgsl-3d0 and 2d0 instead of just kgsl 0/1

anyway, andreno is now back to usable in 2.2.2 , no corruption etc. http://threader.zapto.org/experimental/boot-new-1.img Testing it now with dragon fly.
Now i just need to back everything the hell up and try 2.3.7 =) (bootloop currently)

Well, i've been making steady but slow progress, im currently using these to boot android 2.2.2:
http://threader.zapto.org/experimental/boot.img.orig

.orig btw because i was sidetracked with trying to increase the /data partition with a 2gig ext4 partition and use userdata as swap

I also just discovered some malconfiguration for my 10x atleast, in BoardConfig.mk
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0fa00000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0a000000
BOARD_FLASH_BLOCK_SIZE := 131072

BOARD_DATA_DEVICE := /dev/block/mtdblock4
BOARD_DATA_FILESYSTEM := yaffs2
BOARD_SYSTEM_DEVICE := /dev/block/mtdblock2
BOARD_SYSTEM_FILESYSTEM := yaffs2
 
Last edited:

threader

Senior Member
May 31, 2010
252
156
GitHub.com
Isnt this still an option?
http://gitorious.org/cm4l/vendor/bl...1a8af28f1/cyanogen/products/cyanogen_salsa.mk
#Build with 2G map (Acer used for their ROMs), or remove this line to build with 3G/1G (standard build that works with phhusson's Froyo kernel)
#PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=$(TOP)/vendor/cyanogen/prelink-linux-arm-liquid.map

Anyway, i fixed up the kernel some more, discovered a problem with the previous 3g split one using some flags that didnt work. Tested this one properly for a good few in linux before releasing.

2g/2g split. - Usable with 2.2
http://threader.zapto.org/s7/kernel/2.6.32.9-ideos-fs-snd-drm-sane-12.tar.bz2
http://threader.zapto.org/s7/experimental/boot.img-2g
http://threader.zapto.org/s7/experimental/recovery.img-2g
3g/1g split - Usable with 2.3
http://threader.zapto.org/s7/kernel/2.6.32.9-ideos-fs-snd-drm-sane-12-hard-3gsplit.tar.bz2
http://threader.zapto.org/s7/experimental/boot.img
http://threader.zapto.org/s7/experimental/recovery.img


Edit 27/2/12 - Compiled android with 4.5.x :
NOT FOR END USER! ONLY FOR PEOPLE THAT CAN HELP DEBUG USING EITHER FASTBOOT AND/OR CHROOT AND LOGCAT ETC!
This is my result so far
3g/1g vmsplit 2.3.7
http://threader.zapto.org/experimental/system.img.bz2
http://threader.zapto.org/experimental/system-1.tar.bz2 # Tar achive of img content
2g/2g vmsplit 2.3.7 - That only almost boots with a 3g/1g kernel even though i've used a 2g prelink map and all, why?
http://threader.zapto.org/experimental/system-2g.img.bz2

To get some useful information.
fastboot -c 'androidboot.hardware=qsd8k_s7' boot boot.img

I dont know exactly what im doing wrong here, but no matter how much i fiddle with executable binaries, libraries, frameworks or whatever else, i still cannot get this to boot properly. If anyone's a rom wiz please give me a shout, experience on the qsd8k would help! There has to be something obvous im missing. It gets to the point where its launching zygote, then two processes crash, and this it can do all year long if i leave it.
 
Last edited:

threader

Senior Member
May 31, 2010
252
156
GitHub.com
Sweet, thanks, got it, found that file a few moons ago, but i couldnt download it then :S

Apparently there were problems with my kernel config and init.rc for 2.3, libcutils, and andrino_200.so, and perhaps one more, it also could not create /dev/dun, but atleast im able to debug these problems now and spit out something that will work. ;>

The new kernel is called blaah*-13 in the kernel directory, but i will spend some more time on all this once i have the system running properly. Thanks, i was pretty much searching everywhere else for the problem! That cm7 boot image kernel has 1ghz chosen but have forgot to bump the voltage to 1300 tho btw.
 
Last edited:

D000XXX

Member
Jan 31, 2010
32
2
Hey guys, keep up the good work on 2.3, tablet is currently for sale in Germany (80 €), so there will be some new users soon :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    I built kernel 2.6.32 with vmsplit 3g, which is required for cm7, yesterday and rictec compiled a cm7 build with that kernel and it booted fine, at least once battery was removed.

    Basically, its not in a usable state at all but the fact we got it booting is nice progress and we're working on fixing each issue at a time.

    Issues:
    No Radio, No Wifi, No Camera
    No USB (Mounting / ADB broken)
    Battery has to be removed if not blue screen occurs (doesn't happen to all testers, might be specific to some S7's Revisions)

    rictec deserves most of the credit since he is the one who did the vendor config.
    I am currently cleaning that vendor config up and progress is going fine.

    Currently: Discussion is mostly done on irc but discussing on here is fine.

    irc channel #androidtablets on freenode irc server.

    Current Developers/Tester:
    Razor950
    Rictec
    Joenilan
    WillEY_

    I will post a link to a extremely alpha release once we get usb working but if you would like to test, just drop by the irc :)
    5
    Ok, merged the init's and stuff, but noticed in the end the problems were down to one permission in ueventd.rc ....
    /dev/kgsl-3d0 0666 root root
    /dev/kgsl-2d0 0666 root root

    gaah!
    That error occurs from system/core/rootdir/ueventd.rc . The huawei s7's kernel uses the "old" way of kgsl-3d0 and 2d0 instead of just kgsl 0/1

    anyway, andreno is now back to usable in 2.2.2 , no corruption etc. http://threader.zapto.org/experimental/boot-new-1.img Testing it now with dragon fly.
    Now i just need to back everything the hell up and try 2.3.7 =) (bootloop currently)

    Well, i've been making steady but slow progress, im currently using these to boot android 2.2.2:
    http://threader.zapto.org/experimental/boot.img.orig

    .orig btw because i was sidetracked with trying to increase the /data partition with a 2gig ext4 partition and use userdata as swap

    I also just discovered some malconfiguration for my 10x atleast, in BoardConfig.mk
    BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00500000
    BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00500000
    BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x0fa00000
    BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x0a000000
    BOARD_FLASH_BLOCK_SIZE := 131072

    BOARD_DATA_DEVICE := /dev/block/mtdblock4
    BOARD_DATA_FILESYSTEM := yaffs2
    BOARD_SYSTEM_DEVICE := /dev/block/mtdblock2
    BOARD_SYSTEM_FILESYSTEM := yaffs2
    3
    Isnt this still an option?
    http://gitorious.org/cm4l/vendor/bl...1a8af28f1/cyanogen/products/cyanogen_salsa.mk
    #Build with 2G map (Acer used for their ROMs), or remove this line to build with 3G/1G (standard build that works with phhusson's Froyo kernel)
    #PRODUCT_SPECIFIC_DEFINES += TARGET_PRELINKER_MAP=$(TOP)/vendor/cyanogen/prelink-linux-arm-liquid.map

    Anyway, i fixed up the kernel some more, discovered a problem with the previous 3g split one using some flags that didnt work. Tested this one properly for a good few in linux before releasing.

    2g/2g split. - Usable with 2.2
    http://threader.zapto.org/s7/kernel/2.6.32.9-ideos-fs-snd-drm-sane-12.tar.bz2
    http://threader.zapto.org/s7/experimental/boot.img-2g
    http://threader.zapto.org/s7/experimental/recovery.img-2g
    3g/1g split - Usable with 2.3
    http://threader.zapto.org/s7/kernel/2.6.32.9-ideos-fs-snd-drm-sane-12-hard-3gsplit.tar.bz2
    http://threader.zapto.org/s7/experimental/boot.img
    http://threader.zapto.org/s7/experimental/recovery.img


    Edit 27/2/12 - Compiled android with 4.5.x :
    NOT FOR END USER! ONLY FOR PEOPLE THAT CAN HELP DEBUG USING EITHER FASTBOOT AND/OR CHROOT AND LOGCAT ETC!
    This is my result so far
    3g/1g vmsplit 2.3.7
    http://threader.zapto.org/experimental/system.img.bz2
    http://threader.zapto.org/experimental/system-1.tar.bz2 # Tar achive of img content
    2g/2g vmsplit 2.3.7 - That only almost boots with a 3g/1g kernel even though i've used a 2g prelink map and all, why?
    http://threader.zapto.org/experimental/system-2g.img.bz2

    To get some useful information.
    fastboot -c 'androidboot.hardware=qsd8k_s7' boot boot.img

    I dont know exactly what im doing wrong here, but no matter how much i fiddle with executable binaries, libraries, frameworks or whatever else, i still cannot get this to boot properly. If anyone's a rom wiz please give me a shout, experience on the qsd8k would help! There has to be something obvous im missing. It gets to the point where its launching zygote, then two processes crash, and this it can do all year long if i leave it.
    2
    txpxsx
    I compiled that kernel some weeks ago for my Gnu/Linux project ( http://xdaforums.com/showthread.php?p=14417403#post14417403 ), making the sources compile required hours for fixing errors and ponds of coffee, who did the kernel work for you guys? I believe the andreno is used using a propriety library on android, isnt it? I will certainly try compiling 2.3.7 tho.
    2
    i have 2.3.7 compiled, i just need to figure out how to make a boot image the device will accept, compiled 2.3.7 tonight, seems the 3g split doesnt boot here, probably runs out of address apace?.

    Okay, im at the gfx corruption bit now, thing is , it also happens with 2.2.2, so the problem is probably in the ramdisk, i've used this kernel with 2.2.2 before, but then with the old ramdisk