[Android General] HUELK:
Hi all,

i am opening this thread to push the development on the mtk65xx phones. The taget is to boot CM10 on those devices and maybe we could achive this goal with bundled effort, here is how far i get on this:

1. the source code for this devices is now accessible through different sources. as i own an alcatel one touch 998 the code is accessible ( and for many other phones ) on http://sourceforge.net/projects/alcatel/files/.

2 Building the source:

2.1 Pass the Target device through the environment variable during build e.g. TARGET_PRODUCT=jrdsh77_cu_ics2 for my phone

2.1 Add the needed Header to the Product through mkimage -> ./mkimage zImage KERNEL > kernel (mkimage is inside mediatek/build/tools/)

this will add the needed header to boot the image to the compiled zImage.

3. Repack the Image with repack-MT65xx.pl ( my honor and rewards to Bruno Martins )

4. Boot Phone to Recovery and flash the kernel through dd if=<PathToBoot.img>/boot.img of=/dev/bootimg && sync

5. Reboot Phone.

Ok this is about it how i do it, i don not mention to flash the System-Partiton here as this is a obvious task and can easily done by the cm-<...>.zip generated by the normal build procedure, by commenting out the kernel flash lines inside the updater-script.

Problem for me is now that i get into a bootloop: My phone only shows the vendor Logo stays there for some seconds an reboots again, on my x86_64 Machine inside dmesg i get:

[ 6717.986372] usb 2-4: new high-speed USB device number 17 using ehci_hcd
[ 6718.120618] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6718.120629] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6718.120637] usb 2-4: Product: MT65xx Preloader
[ 6718.120642] usb 2-4: Manufacturer: MediaTek
[ 6718.182193] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6719.142274] usb 2-4: USB disconnect, device number 17
[ 6734.134696] usb 2-4: new high-speed USB device number 18 using ehci_hcd
[ 6734.268987] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6734.268998] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6734.269005] usb 2-4: Product: MT65xx Preloader
[ 6734.269011] usb 2-4: Manufacturer: MediaTek
[ 6734.331210] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6735.294111] usb 2-4: USB disconnect, device number 18
[ 6750.067450] usb 2-4: new high-speed USB device number 19 using ehci_hcd
[ 6750.201879] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6750.201890] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6750.201897] usb 2-4: Product: MT65xx Preloader
[ 6750.201903] usb 2-4: Manufacturer: MediaTek
[ 6750.263563] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6751.230653] usb 2-4: USB disconnect, device number 19
[ 6766.000293] usb 2-4: new high-speed USB device number 20 using ehci_hcd
[ 6766.134432] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6766.134443] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6766.134451] usb 2-4: Product: MT65xx Preloader
[ 6766.134456] usb 2-4: Manufacturer: MediaTek
[ 6766.196292] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6767.150220] usb 2-4: USB disconnect, device number 20
[ 6781.933093] usb 2-4: new high-speed USB device number 21 using ehci_hcd
[ 6782.067271] usb 2-4: New USB device found, idVendor=0e8d, idProduct=2000
[ 6782.067282] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6782.067289] usb 2-4: Product: MT65xx Preloader
[ 6782.067295] usb 2-4: Manufacturer: MediaTek
[ 6782.129241] cdc_acm 2-4:1.1: ttyACM0: USB ACM device
[ 6783.096138] usb 2-4: USB disconnect, device number 21

So it starts -> boots to preloader -> tries to boot the kernel and fails miserably here, as i dont have any chance to get any debug message to find out what is wrong here im stuck, i have no suggestion, i booted a kernel once succesfully but flashing it now does lead to the same beavior. Maybe reseting it to complete stock and starting again would help but i dont know how to do this, maybe someone can provide me here with some Information, or maybe someone can start with the information here, if any Information is needed or some point needs clearification im free to help. i have several Serial debug cables/chips here but i dont see where i could attach a serial console to the phone to read some debug messages, does anyone know if this is possible?

Sorry for my lousy english :/ i try to get better.

Greetz HUELK