CM-11 Android 4.4.4 KitKat for ODROID-XU (20140922)

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

CM-11 Android 4.4.4 KitKat for ODROID-XU (20140922)

Unread post by voodik » Thu Apr 10, 2014 6:20 am

Screenshot_2014-07-04-02-02-25.png
Screenshot_2014-07-04-02-02-25.png (105.63 KiB) Viewed 52137 times
Features
- Android 4.4.4 KitKat Cyanogenmod 11.0
- Kernel 3.4.5
- OpenGL ES 1.1/2.0 (GPU acceleration)
- OpenCL 1.1 EP (GPU acceleration)
- Android RenderScript API support (high-performance computation across heterogeneous processors)
- 2D acceleration bug is fixed. Google Maps is working now.
- Mouse "right-click to ESC" and "wheel to zoom" mapping
- Multi-user feature is enabled (Up to 8 users)
- On board Ethernet and external USB 3.0 Gigabit Ethernet support
- RTL8188CUS and RTL8191SU Wireless USB dongle support
- exFAT, NTFS(r/w), EXT4 file system support.
- USB Bluetooth support.
- USB 3G dongle support.
- USB GPS dongle support.
- USB tethering.
- Portable Wi-Fi hotspot.

Changes:

Code: Select all

20141210
Kernel: eMMC device driver is updated for the eMMC 5.0 backward compatibility.
Android: updated CM-11 source
20140922
Android: removed all telephony stuff
Android: removed battery from statusbar by default
Android: updated CM-11 source
20140809
Updated CM Source (New great feature translucent navigation bar in landscape mode)
Added: USB Audio DAC support (not tested)
20140723
Kernel and Android compiled with Google GCC 4.8 toolchain and cortex-a15 flags.
Some bugfixes
20140718
Fixed:UI glitches
Added: Write access to external storage
Added: cp210x kernel module (but not auto loading)
20140712
Updated CM Source (Android 4.4.4 M8)
Huge performance improvements
20140708
Fixed: USB Bluetooth uhid suppord
Added: fstab for sdcard boot
20140705
Fixed: USB3 External storage support
20140704
Updated CM Source (Android 4.4.4) 
Navbar: add left and right virtual buttons while typing
Lot of fixes
20140626
Fixed: Portable Wi-Fi hotspot
Fixed: USB tethering
Fixed: SD card exFAT support
Added: Multi-user feature
20140614
Added: USB GPS dongle support
Kernel: Restored GPU Default clock
20140609
Updated CM Source (Android 4.4.3)
Added: USB 3g dongle support (tested with Huawei E180)
Added: Logitech webcam support (not tested)
20140504
Added: Volume controls to navbar
20140502
Updated CM Source
Added: SD card as secondary storage support
Added: USB flash drive as secondary storage support
Fixed: WiFi support
Odroid updater fixed (thanks codewalker)
Fixed: Odroid Touch screen support.
20140411
Add new wifi kernel drivers(please test)
20140409
Added realtek wifi driver (not tested).
Added Android Bluedroid USB HCI support.
"After every update reinstall Google Apps"

Thanks to mdrjr for providing web hosting!
Now We can update Android with Odroid Updater app !


URL for updater:

Code: Select all

http://oph.mdrjr.net/voodik/ODROID-XU/Firmware/12-10-2014/update.zip
Google Apps 1-click installer
https://www.dropbox.com/s/f2ljl13kdpum2 ... taller.apk

Git:
https://github.com/voodik

Build from source

Code: Select all

$ repo init -u git://github.com/voodik/android.git
$ repo sync
$ ./build.sh odroidxu
Output images location /tmp/odroidxu/
Last edited by voodik on Wed Dec 10, 2014 6:37 am, edited 32 times in total.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
memeka
Posts: 4081
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by memeka » Thu Apr 10, 2014 8:39 am

Awesome job!

It would be great if you write-up a small HOWTO compile and build it with your patches.
Something like http://wiki.cyanogenmod.org/w/Build_for_odroidu2

DooM
Posts: 14
Joined: Tue Apr 08, 2014 3:17 pm
languages_spoken: german, english
ODROIDs: Odroid U3
Odroid XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by DooM » Thu Apr 10, 2014 5:20 pm

Hey, good job!

Mali-Drivers also work with you build?
Can I get a short crash-curse how to flash?

Thanks for your work and greetings!
DooM

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by voodik » Thu Apr 10, 2014 8:50 pm

DooM wrote:Hey, good job!

Mali-Drivers also work with you build?
Can I get a short crash-curse how to flash?

Thanks for your work and greetings!
DooM
ODROID-XU does not have a mali gpu. Our SOC gpu is PowerVR SGX544MP3 GPU.
On our 4.2 BSP UI Hardware acceleration doesn't work, but in this build everything is work ;)
For flashing you need USB-UART Module Kit.
You need reboot to fastboot, after that in serial console type
fastboot flash kernel zImage
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img

then reboot.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by voodik » Thu Apr 10, 2014 9:19 pm

Dear odroid, mdrjr
I have a some questions.
Can i include your Updater app in this build ?
Can i include gapps in this build ?
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
odroid
Site Admin
Posts: 29398
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by odroid » Fri Apr 11, 2014 12:15 am

Yes, you can include Updater and Odroid utility in your image.

But the Gapps are not our product. ;)

hotochan123
Posts: 5
Joined: Wed Mar 06, 2013 4:25 am
languages_spoken: english
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by hotochan123 » Fri Apr 11, 2014 2:44 am

awesome work. but i noticed that my wifi dongles did not work () neither the one with RTL8188CUS chipset, nor the one with the RTL8191SU chipset)

DooM
Posts: 14
Joined: Tue Apr 08, 2014 3:17 pm
languages_spoken: german, english
ODROIDs: Odroid U3
Odroid XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by DooM » Fri Apr 11, 2014 3:20 pm

voodik wrote:
DooM wrote:ODROID-XU does not have a mali gpu. Our SOC gpu is PowerVR SGX544MP3 GPU.
Of course, sorry! I thought about my U3 as I wrote it :oops:

Sadly I have no UART-Extension... Is there any other way to get this on my XU?

hotochan123
Posts: 5
Joined: Wed Mar 06, 2013 4:25 am
languages_spoken: english
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by hotochan123 » Fri Apr 11, 2014 4:26 pm

DooM wrote:
voodik wrote:
DooM wrote:ODROID-XU does not have a mali gpu. Our SOC gpu is PowerVR SGX544MP3 GPU.
Of course, sorry! I thought about my U3 as I wrote it :oops:

Sadly I have no UART-Extension... Is there any other way to get this on my XU?
connect a micro usb cable and "adb reboot fastboot" from a cmdline window

valexi
Posts: 91
Joined: Thu Apr 04, 2013 10:55 pm
languages_spoken: english
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by valexi » Fri Apr 11, 2014 5:02 pm

How is the performance compared to 4.2.2?

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by jacakk » Fri Apr 11, 2014 10:15 pm

voodik wrote:
DooM wrote:Hey, good job!

Mali-Drivers also work with you build?
Can I get a short crash-curse how to flash?

Thanks for your work and greetings!
DooM
ODROID-XU does not have a mali gpu. Our SOC gpu is PowerVR SGX544MP3 GPU.
On our 4.2 BSP UI Hardware acceleration doesn't work, but in this build everything is work ;)
For flashing you need USB-UART Module Kit.
You need reboot to fastboot, after that in serial console type
fastboot flash kernel zImage
fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img

then reboot.
You should make .img file for installation :)
btw. GREAT WORK!

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by voodik » Fri Apr 11, 2014 10:49 pm

valexi wrote:How is the performance compared to 4.2.2?
1080p.png
This is 1080p results with performance governor.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by voodik » Fri Apr 11, 2014 11:00 pm

For instalation:
Soon i add Odroid Updater app and make update images.
But for now i don't have a any mirror where i can upload update images.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by jacakk » Sat Apr 12, 2014 12:26 am

Talk to XU devs, I think they will help you and give some space ;)

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by mdrjr » Sat Apr 12, 2014 2:15 am

Check my signature :)

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140409)

Unread post by voodik » Sat Apr 12, 2014 3:50 am

Updates in first post.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
odroid
Site Admin
Posts: 29398
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by odroid » Sat Apr 12, 2014 10:41 am

We need the 1-click gapps installer which supports Android 4.4! ;)

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Sat Apr 12, 2014 10:54 pm

odroid wrote:We need the 1-click gapps installer which supports Android 4.4! ;)
Or sources, for keeping gapps up to date :-D
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by jacakk » Sat Apr 12, 2014 11:23 pm


User avatar
main.spec
Posts: 14
Joined: Thu Nov 07, 2013 7:52 pm
languages_spoken: english, russian
ODROIDs: XU
Location: spb.ru
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by main.spec » Mon Apr 14, 2014 6:26 pm

Something like that: http://goo.im/devs/BaNkS/GApps/4.4.2 (4-11_GApps_Minimal_4.4.2_signed.zip)

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Mon Apr 14, 2014 7:33 pm

All this files for flashing from recovery, we don't have a recovery.
For now you can install gapps by copying files manually(or via adb push) and setting right permisions. All flashable zips have a update-script file, in this file you can see copy file locations and permissions.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by sert00 » Tue Apr 15, 2014 1:56 am

You can follow this to install gapps.
http://forum.odroid.com/viewtopic.php?f=51&t=40

And i prefer this,rather than bank's one.I didn't tried yet on odroids the kitkat,but on my nexus 5 i use these.
http://d-h.st/SRS
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

DooM
Posts: 14
Joined: Tue Apr 08, 2014 3:17 pm
languages_spoken: german, english
ODROIDs: Odroid U3
Odroid XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by DooM » Tue Apr 15, 2014 5:43 pm

An img-file would be nice ;-)
I've some DropBox-space I don't use, if you want I'll put it there... :mrgreen:

Greets
DooM

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by sert00 » Tue Apr 15, 2014 10:33 pm

...or a folder with a .sh script and gapps files.We execute the .sh and it do the work of copy-paste,give permissions etc.
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

abn
Posts: 8
Joined: Thu Nov 14, 2013 9:25 am
languages_spoken: Italian English
ODROIDs: U2 XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by abn » Wed Apr 16, 2014 7:33 pm

Hello,

I've made a 1-Click installer for this too.. Should work on all Android 4.4.2 with Busybox Installed.

https://drive.google.com/file/d/0B5aZmg ... sp=sharing
or
https://www.dropbox.com/s/4wcs5ftvaasgu ... t.apk?dl=0

obsoleted
dropbox.com/s/f2ljl13kdpum2m0/GAppsInstaller.apk

Regards,
Abner

kevintyk
Posts: 19
Joined: Tue Jun 04, 2013 11:36 am
languages_spoken: english
ODROIDs: ODROID-X2, ODROID-XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by kevintyk » Wed Apr 16, 2014 11:50 pm

Thanks for this awesome image. I've managed to update my official 4.2.2 image to your port via the official updater.
However, the WIFI is not working.. It stuck at turning WIFI on, no matter the wifi dongle is plugged in or not. I tried both wifi module 2 and 3, but no luck.. :(
Please let me know if I can do anything to help you figure out this issue.

The is the error screen:

Image

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Wed Apr 16, 2014 11:58 pm

I am waiting for wifi dongle, when i get it i can do more job :)
For now you can only send me logcat, lsmod, dmesg outputs.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Thu Apr 17, 2014 1:42 am

abn wrote:Hello,

I've made a 1-Click installer for this too.. Should work on all Android 4.4.2 with Busybox Installed.
https://drive.google.com/file/d/0B5aZmg ... sp=sharing
or
https://www.dropbox.com/s/4wcs5ftvaasgu ... t.apk?dl=0

obsoleted
dropbox.com/s/f2ljl13kdpum2m0/GAppsInstaller.apk

Regards,
Abner
Great job, thank you !
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by jacakk » Thu Apr 17, 2014 1:46 am

abn wrote:Hello,

I've made a 1-Click installer for this too.. Should work on all Android 4.4.2 with Busybox Installed.
https://drive.google.com/file/d/0B5aZmg ... sp=sharing
or
https://www.dropbox.com/s/4wcs5ftvaasgu ... t.apk?dl=0

obsoleted
dropbox.com/s/f2ljl13kdpum2m0/GAppsInstaller.apk

Regards,
Abner
What did you put in thi package? Please give apps names and versions.

abn
Posts: 8
Joined: Thu Nov 14, 2013 9:25 am
languages_spoken: Italian English
ODROIDs: U2 XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by abn » Thu Apr 17, 2014 3:58 am

jacakk wrote:
abn wrote:Hello,

I've made a 1-Click installer for this too.. Should work on all Android 4.4.2 with Busybox Installed.

https://drive.google.com/file/d/0B5aZmg ... sp=sharing
or
https://www.dropbox.com/s/4wcs5ftvaasgu ... t.apk?dl=0

obsoleted
dropbox.com/s/f2ljl13kdpum2m0/GAppsInstaller.apk


Regards,
Abner
What did you put in thi package? Please give apps names and versions.
I used the only known version to work on CM 11.

gapps-20140105

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by jacakk » Thu Apr 17, 2014 4:03 am

What about single-img file for install this on eMMC or SD?
Like this one:
http://com.odroid.com/sigong/nf_file_bo ... XU&bid=200

abn
Posts: 8
Joined: Thu Nov 14, 2013 9:25 am
languages_spoken: Italian English
ODROIDs: U2 XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by abn » Thu Apr 17, 2014 4:12 am

Already did... its somewhere in the forums.

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by jacakk » Thu Apr 17, 2014 4:18 am

I was asking voodik for img file to install his fresh CM11 ;)

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Thu Apr 17, 2014 5:21 am

jacakk wrote:I was asking voodik for img file to install his fresh CM11 ;)
but voodik don't know how to make this image :oops:

Dear Odroid, du you have a script to make self_install images ? ))
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

mdrjr
Site Admin
Posts: 11698
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by mdrjr » Thu Apr 17, 2014 8:27 am

voodik wrote:
jacakk wrote:I was asking voodik for img file to install his fresh CM11 ;)
but voodik don't know how to make this image :oops:

Dear Odroid, du you have a script to make self_install images ? ))
We made those manually..

You can just dump a good image with dd..

dd if=/dev/sdX of=./yourimage.img bs=1M
xz -e -9 yourimage.img

Good to go :)

jacakk
Posts: 132
Joined: Fri Sep 20, 2013 6:13 pm
languages_spoken: english, polish
ODROIDs: XU Rev 0.3 20130717
Location: Poland
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by jacakk » Thu Apr 17, 2014 4:51 pm

mdrjr wrote:
voodik wrote:
jacakk wrote:I was asking voodik for img file to install his fresh CM11 ;)
but voodik don't know how to make this image :oops:

Dear Odroid, du you have a script to make self_install images ? ))
We made those manually..

You can just dump a good image with dd..

dd if=/dev/sdX of=./yourimage.img bs=1M
xz -e -9 yourimage.img

Good to go :)
What about auto-resizing partitions at first boot? Will it work if voodik make image the way you have said?

k2doc
Posts: 7
Joined: Tue Apr 15, 2014 8:41 am
languages_spoken: english
ODROIDs: XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by k2doc » Fri Apr 18, 2014 7:34 am

How can I enable the touchscreen? My touchscreen works as a touchpad :(

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Fri Apr 18, 2014 8:03 am

k2doc wrote:How can I enable the touchscreen? My touchscreen works as a touchpad :(
In next build i fix it. If you want just now, you need create odroidxu-ts.idc file in /system/usr/idc folder
and fill with this

Code: Select all

# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Input Device Calibration File for the touch screen.
#

# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1

# Size
touch.size.calibration = diameter
touch.size.scale = 10
touch.size.bias = 0
touch.size.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 200 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.scale = 1.0

# Size
# Based on empirical measurements, we estimate the size of the contact
# using size = sqrt(area) * 43 + 0.
# touch.size.calibration = area
# touch.size.scale = 43
# touch.size.bias = 0
# touch.size.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 80 signal strength
# units although we don't expect these values to be accurate.
# touch.pressure.calibration = amplitude
# touch.pressure.scale = 0.0125

# Orientation
touch.orientation.calibration = none
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

User avatar
odroid
Site Admin
Posts: 29398
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by odroid » Fri Apr 18, 2014 4:46 pm

20140409
Added Android Bluedroid USB HCI support.
We've been porting the AOSP 4.4.2 and most major features are working.
But we couldn't enable the Bluetooth at all.

Could you please tell me which Bluetooth devices are actually working?
A2DP stereo headset? or HID mouse/keyboard?

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Fri Apr 18, 2014 8:53 pm

odroid wrote:
20140409
Added Android Bluedroid USB HCI support.
We've been porting the AOSP 4.4.2 and most major features are working.
But we couldn't enable the Bluetooth at all.

Could you please tell me which Bluetooth devices are actually working?
A2DP stereo headset? or HID mouse/keyboard?
I am only paired with my smartphone, send files etc. I don't have a stereo headset or other bluetooth hid for test :(

p.s.
Do you removed all bluetooth support from kernel ?
https://github.com/voodik/android_kerne ... 71eac150d3
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

k2doc
Posts: 7
Joined: Tue Apr 15, 2014 8:41 am
languages_spoken: english
ODROIDs: XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by k2doc » Sat Apr 19, 2014 5:36 am

I have the file in that directory, already. It's same name and same content. I checked with diff. Am I missing anything other than the file?
voodik wrote:
k2doc wrote:How can I enable the touchscreen? My touchscreen works as a touchpad :(
In next build i fix it. If you want just now, you need create odroidxu-ts.idc file in /system/usr/idc folder
and fill with this

Code: Select all

# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#
# Input Device Calibration File for the touch screen.
#

# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1

# Size
touch.size.calibration = diameter
touch.size.scale = 10
touch.size.bias = 0
touch.size.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 200 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.scale = 1.0

# Size
# Based on empirical measurements, we estimate the size of the contact
# using size = sqrt(area) * 43 + 0.
# touch.size.calibration = area
# touch.size.scale = 43
# touch.size.bias = 0
# touch.size.isSummed = 0

# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 80 signal strength
# units although we don't expect these values to be accurate.
# touch.pressure.calibration = amplitude
# touch.pressure.scale = 0.0125

# Orientation
touch.orientation.calibration = none

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Sat Apr 19, 2014 5:44 am

k2doc wrote:I have the file in that directory, already. It's same name and same content. I checked with diff. Am I missing anything other than the file?
Not the same name, your file name is odroid-ts.idc rename it to odroidxu-ts.idc .
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

k2doc
Posts: 7
Joined: Tue Apr 15, 2014 8:41 am
languages_spoken: english
ODROIDs: XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by k2doc » Sat Apr 19, 2014 6:09 am

Wow, nice eye. Thanks!!
voodik wrote:
k2doc wrote:I have the file in that directory, already. It's same name and same content. I checked with diff. Am I missing anything other than the file?
Not the same name, your file name is odroid-ts.idc rename it to odroidxu-ts.idc .

k2doc
Posts: 7
Joined: Tue Apr 15, 2014 8:41 am
languages_spoken: english
ODROIDs: XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by k2doc » Sat Apr 19, 2014 6:28 am

I first flashed the device with the images you provided, and then replaced them with mine.

1. with all your images ==> works fine
2. flash zImage ==> works fine
3. flash system.img ==> does not work.
it showed me:

Code: Select all

[    7.380486] write to read-only section trapped, success
[    7.386264] Failed to execute /init.  Attempting defaults...
[    7.394380] Kernel panic - not syncing: No init found.  Try passing init= option to kernel. See Linux Docume.
[    7.405441] Backtrace: 
I tried flashing cache and userdata, too. But it wan't helpful. Can you help me figure out what the problem is?

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Sat Apr 19, 2014 6:37 am

The problemm is ODROID not using ramdisk.
After build complete you need to make system.img with rootdir inside system partition.
You can make a script with this commands:

Code: Select all

cp -arp /your_cm_source/out/target/product/odroidxu/system /tmp/
cp -arp /your_cm_source/out/target/product/odroidxu/root/* /tmp/system/

mv /tmp/system/init /tmp/system/bin/
mv /tmp/system/sbin/adbd /tmp/system/bin/
cd /tmp/system
ln -s bin/init init
cd /tmp/system/sbin
ln -s ../bin/adbd adbd

/your_cm_source/out/host/linux-x86/bin/make_ext4fs -s -l 1073741824 -a system /tmp/system.img /tmp/system
and flash /tmp/system.img

Or you can use build.sh from bsp, but i not using it.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

k2doc
Posts: 7
Joined: Tue Apr 15, 2014 8:41 am
languages_spoken: english
ODROIDs: XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by k2doc » Sat Apr 19, 2014 7:32 am

Thanks again. Now I can see the shell via adb.

Another problem is that the device keeps showing this message:

Code: Select all

[   16.364901] PVR_K:(Error): BridgedDispatchKM: Initialisation failed.  Driver unusable. [4650, /home/myhome]
Why does this message include my home directory??

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Sat Apr 19, 2014 7:45 am

What kernel you flashed ?
The right kernel here
/your_cm_source/out/target/product/odroidxu/obj/KERNEL_OBJ/arch/arm/boot/zImage
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

k2doc
Posts: 7
Joined: Tue Apr 15, 2014 8:41 am
languages_spoken: english
ODROIDs: XU
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by k2doc » Sat Apr 19, 2014 8:22 am

I used wrong binaries, now it works perfectly. :lol:
voodik wrote:What kernel you flashed ?
The right kernel here
/your_cm_source/out/target/product/odroidxu/obj/KERNEL_OBJ/arch/arm/boot/zImage

User avatar
codewalker
Posts: 512
Joined: Mon Feb 25, 2013 11:03 am
languages_spoken: english
ODROIDs: all
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by codewalker » Sun Apr 20, 2014 2:00 pm

Hi, I'm codewalker.

I am very interested in your works.

I'm going to work porting kitkat for ODROID-XU.

I have some problems that's to use mass_storage service instead of MTP service and Bluetooth to support USB dongle type.

How can I build for odroid-xu?

Where I download device/hardkernel/odroidxu project?

User avatar
voodik
Posts: 1426
Joined: Sat Dec 07, 2013 2:36 am
languages_spoken: english,russian
Contact:

Re: CM-11 Android 4.4.2 KitKat for ODROID-XU (20140411)

Unread post by voodik » Sun Apr 20, 2014 8:39 pm

codewalker wrote:Hi, I'm codewalker.

I am very interested in your works.

I'm going to work porting kitkat for ODROID-XU.

I have some problems that's to use mass_storage service instead of MTP service and Bluetooth to support USB dongle type.

How can I build for odroid-xu?

Where I download device/hardkernel/odroidxu project?
Hi codewalker,
You can see everything on my github:
https://github.com/voodik/
Bluetooth changes:
https://github.com/voodik/android_devic ... cdd663670b
https://github.com/voodik/android_kerne ... 71eac150d3
I tested bluetooth with my old dlink dbt-122 dongle.
Buy me a beer Here ;)
BTC: 3Lx83Vh9HL7UbsD9oDBcMR9pQMRSPEfRmg
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest