FORUMS
Remove All Ads from XDA

[DEV][CLK][2013-12-08]CM-11.0 unofficial - Android 4.4 [2.6.x and 3.0.101 kernel]

3,946 posts
Thanks Meter: 4,409
 
By walter79, Recognized Developer on 10th November 2013, 01:02 PM
Thread Closed Email Thread
CM 11.0 for HD2 (unofficial)

Status: testing

CWM-Recovery 6.0.4.4: Download

Download: 2013-12-08 (2.6.32 tytung kernel) compiled by chautruongthinh: http://d-h.st/yoY

fixed: sdcard and nativeSD, directSD
source updated to Android 4.4.1


2013-12-03 (2.6.35 kernel) http://d-h.st/e9c

For magdlr: cm-11-20131203-UNOFFICIAL-leo-NAND-MAGLDR.zip

Download: 2013-12-04 (3.0.101 kernel) http://d-h.st/xAm


Click image for larger version

Name:	2013-12-03 22.54.43.jpg
Views:	9816
Size:	523.2 KB
ID:	2431327
Click image for larger version

Name:	2013-12-04 21.31.16.jpg
Views:	6625
Size:	519.6 KB
ID:	2433342




2.6.32 kernel source:

2.6.35 kernel source:

3.0.101 kernel source:



THANKS to:

CyanogenMod - Team for CM-11
EVERVOLV TEAM for the legacy codes.
TYTUNG for his contribution Kernel, Aroma Installer, libgps with AGPS
MARC1706 for contribution to developing new kernels.
Sportsstar89, Securecrt, Xylograph, Pixelfreak, ph03n!x, datagr,
chautruongthinh, Rick_1995, Daekin, BSDgeek_Jake
texasice, marco.palumbi, Robbie-P, zeppelinrox, zexmunze, zain0300 for all HD2 kernels, libs, mods, corrections
And all those individual/teams who I might have missed.


What is working 2.6.32 kernel;

- lights
- calling
- mobile data 2g/3g
- camera
- sound
- display + touch

not working

- adb
- wifi
- camcorder

What is working 2.6.35 kernel:

- adb
- lights
- LED
- Display + Touchscreen
- mobile data 2g/3g
- no need for xattr on yaffs2

What is working 3.0.101 kernel:

- Lights
- LED
- Display + Touchscreen
- Sound
- 2g/3g
- calling




OLD !!

Android 4.4 for HTC - LEO


Code:
What work:
- rom boots but display did not work. (black screen only backlight on)
- Sound
- Touchscreen
- adb
For Android 4.4 we need a new recovery and new kernel with some security options enabled.

Leo NAND use yaffs2 file system. --> We need to port xattr support for yaffs2.

Leo NativSD use ext4 file system. --> I compiled a recovery and a kernel with enabled xattr and security for ext4.

Recovery for EXT4 only support: http://d-h.st/wa4
Kernel: http://d-h.st/368

Kernel source: https://github.com/walter79/android_...mark1706-based
(cm-10.2 branch)


UPDATE 2013-11-21:

Recovery for yaffs2 and ext3/4 support (only for 3.x kernel yet)

Download: http://d-h.st/QtF

Kernel source: https://github.com/walter79/android_kernel_htc_leo (cm-11.0 branch)




2.6.35 - Local.xml: https://github.com/walter79/android_htc_leo_local_xml

With the recovery and a custom installer script we can install Android 4.4 on sdcard ext4 partitions.
(files need to install to mmcblk0p2)

Installer:

Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/system");
.
.
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/system");
ui_print("delete old System...");
delete_recursive("/system");
ui_print("Installing System...");
package_extract_dir("system", "/system");
Local.xml: https://github.com/walter79/android_htc_leo_local_xml

init.htcleo.rc

Code:
on fs
    # Mount all partitions
    # mount_all ./fstab.htcleo

# mount mtd partitions
    # Mount /system rw first to give the filesystem a chance to save a checkpoint
    #mount yaffs2 mtd@system /system noatime nodiratime
    #mount yaffs2 mtd@system /system ro remount

    # move cache to data -TYT
    #mount yaffs2 mtd@userdata /data nosuid nodev noatime nodiratime
    #mount yaffs2 mtd@cache /mnt/cache nosuid nodev

    # wait for sdcard
    # wait has a timeot of 5 seconds.
    # calling it 4 times allows 20 seconds for the mmcblk0p2 partition to show up
    wait /dev/block/mmcblk0p2
    wait /dev/block/mmcblk0p2
    wait /dev/block/mmcblk0p2
    wait /dev/block/mmcblk0p2
        wait /dev/block/mmcblk0p3
    wait /dev/block/mmcblk0p3
    wait /dev/block/mmcblk0p3
    wait /dev/block/mmcblk0p3
    # SD Card Speed Fix
    write /sys/devices/virtual/bdi/179:0/read_ahead_kb 2048
    # File system check
    exec /bin/busybox sh -c "/bin/e2fsck -p /dev/block/mmcblk0p2 > /fscksystem.log"
        exec /bin/busybox sh -c "/bin/e2fsck -p /dev/block/mmcblk0p3 > /fsckdata.log"
    # mount the 1st (NativeSD) SD-EXT partition
    mount ext4  /dev/block/mmcblk0p2 /system wait noatime nodiratime barrier=0 
        # mount the 2nd (NativeSD) SD-EXT partition
    mount ext4  /dev/block/mmcblk0p3 /data wait noatime nodiratime barrier=0     
    # cleanup
    # delete /bin to free ram
    rm /bin/busybox
    rm /bin/e2fsck
    rmdir /bin
I will uploading my compiled Android 4.4 rom. Installer works it use 2 ext4 partitions. mmcblk0p2 for /system and mmcblk0p3 for /data.

Boot.img will installed to NAND /boot.


!!! You will need 2 ext4 primary partitions on your sdcard !!!

!!!This rom will delete all data from your ext4 partition !!!!

ROM: http://d-h.st/0at
The Following 85 Users Say Thank You to walter79 For This Useful Post: [ View ]
 
 
10th November 2013, 01:26 PM |#2  
Member
Flag Gaziantep
Thanks Meter: 5
 
More
Thumbs up 1 st reply
1 st reply.
The Following User Says Thank You to tumuz For This Useful Post: [ View ] Gift tumuz Ad-Free
10th November 2013, 01:49 PM |#3  
gujiangjiang's Avatar
Senior Member
Flag Nanjing
Thanks Meter: 27
 
Donate to Me
More
Thumbs up
Good Jobs!
Thank you for your hard work!
10th November 2013, 02:28 PM |#4  
hirencj's Avatar
Senior Member
Flag Diu
Thanks Meter: 32
 
More
This is awesome... thankyou thankyou...
10th November 2013, 02:32 PM |#5  
Senior Member
Thanks Meter: 172
 
More
@walter79
clk or magldr ?
10th November 2013, 02:55 PM |#6  
walter79's Avatar
OP Recognized Developer
Thanks Meter: 4,409
 
Donate to Me
More
Quote:
Originally Posted by BLiZzR

@walter79
clk or magldr ?

CLK.
The Following 10 Users Say Thank You to walter79 For This Useful Post: [ View ]
10th November 2013, 04:33 PM |#7  
philipped346's Avatar
Senior Member
Flag In the mountain
Thanks Meter: 786
 
More
Quote:
Originally Posted by walter79

CLK.

hello walter , thank's for your great work . i have installed clk and after kitkat , the rom boot but stuck on white android screen .what is the size of the partition?
10th November 2013, 04:43 PM |#8  
walter79's Avatar
OP Recognized Developer
Thanks Meter: 4,409
 
Donate to Me
More
Quote:
Originally Posted by philipped346

hello walter , thank's for your great work . i have installed clk and after kitkat , the rom boot but stuck on white android screen .what is the size of the partition?

We need to fix display_legacy. I use 650 mb for first ext4 and 1200 for 2nd ext4 partition.
The Following 7 Users Say Thank You to walter79 For This Useful Post: [ View ]
10th November 2013, 04:48 PM |#9  
gilbert32's Avatar
Senior Member
Flag In the universe
Thanks Meter: 1,397
 
More
Good job @walter79
hope to get yaffs2 with xattr done soon
10th November 2013, 04:49 PM |#10  
mosi hd2's Avatar
Senior Member
Thanks Meter: 94
 
More
nice job

thanks dear...
The Following User Says Thank You to mosi hd2 For This Useful Post: [ View ] Gift mosi hd2 Ad-Free
10th November 2013, 05:04 PM |#11  
H9MZEH's Avatar
Member
Flag - G O R G A N -
Thanks Meter: 18
 
More
Angry
Quote:
Originally Posted by mosi hd2

nice job

thanks dear...

Wo0ow Thanks Bro

Mosi
The Following 2 Users Say Thank You to H9MZEH For This Useful Post: [ View ] Gift H9MZEH Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes