Hybris 4.4.4

Post Reply
MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Hybris 4.4.4

Unread post by MastaG » Tue Aug 26, 2014 6:59 pm

I've compiled voodik's cm-11 sources with the bionic libc patch for libhybris applied.
However all dynamically linked binaries will fail with __system_property_find () in /system/lib/libc.so :(
It could be related to the way my /dev directory is setup, or maybe something with my distro (Fedora 21).

Anyways I've packed everything up so others can give it a spin.
It contains:
- Patched /system folder
- Original bionic libc source
- Patch I applied to libc
- Android headers generated from the build-tree for building libhybris and the qt5-qpa-hwcomposer plugin

I didn't remove anything from the system folder, so it probably contains lots of unused stuff (like apk's :P).
Anyways I hope somebody gets it working :)

https://mega.co.nz/#!TplwgRiZ!RWxFOaQch ... SWP0Db7CjM

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Tue Aug 26, 2014 7:44 pm

As I already said in another thread the issue is with /dev/__properties__ file, segfault always happens right after trying to open and use it:

Code: Select all

open("/dev/__properties__", O_RDONLY|O_LARGEFILE|O_NOFOLLOW|O_CLOEXEC) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x90} ---
sadly enough even creating this file doesn't help much:

Code: Select all

open("/dev/__properties__", O_RDONLY|O_LARGEFILE|O_NOFOLLOW|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2485, ...}) = 0
mmap2(NULL, 2485, PROT_READ, MAP_SHARED, 3, 0) = 0xb6f79000
munmap(0xb6f79000, 2485)                = 0
close(3)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x90} ---
I'm going to look at what this file is in android at the evening, it looks for me that this is some new daemon socket that propagates some properties and segafult happens when trying to work with something that was never read from it

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Tue Aug 26, 2014 8:22 pm

Thanks OverSun, if you would like to make changes to the libc code, then please attach a patch.
I'll be happy to recompile for you.

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Tue Aug 26, 2014 8:59 pm

I had a chat in gnome irc with some of the ppl working on wayland.
gnome-shell can only run nested in x11, not in wayland.

so i think the only desktop we can get for now is hawaii.

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Tue Aug 26, 2014 9:55 pm

Yes, as I thought.
Gnome-shell uses is own Wayland compositor which heavily relies on Xwayland as well.
It cannot run as a client to QtWayland.
However Hawaii looks promising, lets build that instead + Chromium.
We already have XBMC so in the end we have a basic desktop which runs accelerated :)

Btw the /init file in Android 4.4.x creates the /dev/__properties__ node.
It also messes up the rest of the /dev filesystem so it's best not to run it :)

However it seems it doesn't need to be created dynamically, so just unpack the file to /dev from the attachment and you can run the above Android 4.4.4 system dir instead :)
Also create the /dev/socket directory just in case.

Have fun :)
Attachments
dev.tar.bz2
(289 Bytes) Downloaded 156 times

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Tue Aug 26, 2014 9:57 pm

are there any advantages of 4.4.4 system/headers?

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Tue Aug 26, 2014 10:56 pm

Can you tell me in few words how do you compile the libc presented in your archive?

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Tue Aug 26, 2014 11:19 pm

@memeka, I was having problems with cairo's gles shader compiler, so I was hoping the Android 4.4.4 libs would fix it.
If not then it was just a good learning exercise I guess :P

@OverSun, nevermind the above dev fix.
It's the stupidest thing I ever did hehe.

Here's the real fix.
In Android 4.4.x the /init binary is used to setup the property_service, but it also tries to do android specific things, like mounting /dev and running /init.X scripts.
However this is not part of the bionic libc at all.
I commented out those lines (ugly workaround), and recompiled the /init binary.
It's the system/core/init/init.c file (I've attached it to the archive).
Now it will just do: property_init(); and take care of the selinux permissions on the /dev nodes (if you enable it in /system/build.prop).

Furthermore I adjusted the libc a little bit:
- The libc_malloc_debug_leak.so and libc_malloc_qemu_.so will now link to libdsyscalls as well so they can utilize the __errno functions.
- I reverted the logging paths to /dev/log/main and /dev/log/events (instead of /dev/alog) since all other user-space binaries will write to /dev/log/X anyways

Just get the above system directory and replace the libs from the attached archive.
In order to get it working you need to run the static "init" binary once, so the properties get setup, then you can run the pvrsrvctl/ servicemanager / mediaserver.
So your startup script should look something like:

Code: Select all

# Android Hybris stuff
rm -Rf /dev/log
rm -Rf /dev/graphics
mkdir /dev/log
mkdir /dev/graphics
ln -s /dev/log_events /dev/log/events
ln -s /dev/log_main /dev/log/main
ln -s /dev/log_system /dev/log/system
ln -s /dev/log_radio /dev/log/radio
ln -s /dev/fb0 /dev/graphics/fb0
/system/init
/vendor/bin/pvrsrvctl --start --no-module || true
/system/bin/servicemanager &
/system/bin/mediaserver &
I followed voodik's instructions to build the complete image from the first post.. (takes a while)
Then when I would to make changes I just go into the source dir:

Code: Select all

. build/envsetup.sh
lunch 11
cd bionic/libc
# Apply libc patch
mm
cd system/core/init
# Edit init.c
mm
Maybe you can skip building the complete image instead just repo sync and build libc.
If it works then it will certainly save you a lot of time :)
Attachments
system_fix.tar.bz2
(999.48 KiB) Downloaded 155 times

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Wed Aug 27, 2014 12:08 am

so cairo works now with gles in weston?

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Wed Aug 27, 2014 12:12 am

That's exactly that I was going to do, except that I thought about inserting property_init() from init.c into libc function before opening /dev/__properties__, you know, open(fd,) if (fd<0) property_init().
That could be less messier, but if it work that way why to bother?
Everything is working with Android 4.4.4 libraries and headers now, libhybris compiled (even with that vibrator thing that wasn't there for 4.2.2).
The only sad thing now is that pvrctl cannot initialize GPU. Looks like drivers in the kernel are too old or something... What kernel is used for that CM-11 you took libraries from and is there a place where I can look for the sources of it?

PS. Oh yeah, I see the commit in the drivers directory of odroidxu-3.4.y-android "kit-kat pvr driver modify", there is hope...

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Wed Aug 27, 2014 12:38 am

@memeka, I still have to try it.
Here the pvr service fail to initialize as well.

Code: Select all

[  139.168232] PVR_K:(Error): BridgedDispatchKM: Driver initialisation not completed yet. [4649, drivers/gpu/pvr/services4/srvkm/bridged/bridged_pvr_bridge.c]
[  143.482448] PVR_K:(Error): GetHandleStructure: Handle index out of range (16683 >= 256) [715, drivers/gpu/pvr/services4/srvkm/common/handle.c]
[  143.493895] PVR_K:(Error): PVRSRVLookupHandle: Error looking up handle (149) [1872, drivers/gpu/pvr/services4/srvkm/common/handle.c]
[  143.505729] PVR_K:(Error): SGXDevInitPart2BW: Failed to look up HWPerf meminfo (possibly due to SUPPORT_SGX_HWPERF option mismatch) [1096, drivers/gpu/pvr/services4/srvkm/bridged/sgx/bridged_sgx_bridge.c]
Some modifications to the kernel are required I guess, but OverSun beat me to it :)

EDIT: I think this should fix it: https://github.com/hardkernel/linux/com ... 73bd3b6450

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Wed Aug 27, 2014 12:50 am

I'm not so sure, doesn't look that easy... There is a lot changed in kernel itself for kitkat...
Maybe this is the time to ask mdrjr for help on this.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Wed Aug 27, 2014 1:25 am

Well, drivers did compile, strange thing that they didn't produce _any_ ouput in dmesg for "pvr" at all, and EGL programs segfaults. test_hwcomposer shows "OpenGL ES 2.0 build 1.10@2359475" and segfaults in some unkown functions. So it is even we are missing something in Android 4.4.4 libc again, most probably, or something is wrong with kernel PVR drivers, but I don't see a connection.

Maybe it is because socket for properties was not implemented, there is no /dev/socket/properties_something. But I see that all the programs that try to connect to it are opening /system/build.prop after that, so shouldn't be that fatal.
So basically everything that is text for EGL works - obtaining EGL Configs, ioctl's, etc. But when things are trying to actually draw...

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Thu Aug 28, 2014 5:25 am

OverSun, I didn't have time to play around these days but have you tried building voodik's kernel https://github.com/voodik/android_kerne ... l_odroidxu with your linux .config file?
He uses it for is cm-11 build.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Thu Aug 28, 2014 5:35 am

The kernel itself is ok. It boots, it got initializes, drivers loads and pvrctl works. It's not that.
I'm trying to build android libs with debugging symbols right now, to actually be able to debug it and see where it brakes. I must say building android is a pain in the back. I already gave up trying to do that on my mac after fixing tons of issues with uncompatible compilers and failing SDKs, and now trying to do that on Linux. We'll see how it goes.

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Thu Aug 28, 2014 3:39 pm

Yes, It's a pain in the ass, it took my laptop almost 5 hours to build it.So what did you do to get "pvrctl" working?

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Thu Aug 28, 2014 5:50 pm

Just copy the directory drivers/gpu/pvr from odroid-3.4.y-android kernel to your kernel (delete old directory first) and change one line there after compile fails (insert -1 as the second parameter and make two existing there the first and the third) and you're good.

PS. Log messages can be turned on by editing Makefile and removing "-DPVR_DISABLE_LOGGING"

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Fri Aug 29, 2014 5:46 pm

It seems for me that not being able to build android properly is my karma.
Can you do one thing for me, can you build the android with debug symbols? It can be done if you edit build/envsetup.sh end change lines that are exporting " export TARGET_BUILD_TYPE=release" to " export TARGET_BUILD_TYPE=debug"
Then at the time of building you would have:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
CM_VERSION=11-20140829-UNOFFICIAL-odroidxu
TARGET_PRODUCT=cm_odroidxu
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=debug

and after build you would have additional directory symbols along with system directory. In this directory are the same files as in system directory, but with debugging symbols.
Could you then:
copy /system/lib filder into some folder
copy
/symbols/system/lib over into that same folder, so all libraries from this folder will replace libraries already there
copy
/symbols/system/bin/linker
/symbols/system/bin/logcat
/symbols/system/bin/logwrapper
/symbols/system/bin/mediaserver
/symbols/system/bin/servicemanager
into the same target folder "bin" folder
and finally do the same for /system/vendor folder, I mean copy it first from /system/vendor and then copy over /symbols/system/vendor
add build.prop there and pack this folder for me, if you don't mind.

PS. There will be one huge library for 1.4 gigs with debugging symbols, you can actually skip it to preserve space, it's for chrome browser anyway, I doubt I need it.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Fri Aug 29, 2014 8:39 pm

Ah never mind, I build it finally.
It didn't do much good, the egl crash is still going from some unknown places in the code, not in libc, not in executing binary... I don't have any further ways to debug this.

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Sat Aug 30, 2014 12:28 am

We are missing one tiny thing I cannot catch. It is almost drawing on the screen, almost giving a picture.
And the android libraries are fine, I'm almost sure. Hybris is fine... There is something missing or not right in the vendor blobs or android libs.
Here is the log that it pasts into /dev/log_main:

Code: Select all

D/libexynosv4l2-subdev(14340): try node: /dev/v4l-subdev0, minor: 0
D/libexynosv4l2-subdev(14340): try node: /dev/v4l-subdev1, minor: 1
D/libexynosv4l2-subdev(14340): try node: /dev/v4l-subdev2, minor: 2
D/libexynosv4l2-subdev(14340): try node: /dev/v4l-subdev3, minor: 3
D/libexynosv4l2-subdev(14340): try node: /dev/v4l-subdev4, minor: 4
I/libexynosv4l2-subdev(14340): node found for device s5p-mixer0: /dev/v4l-subdev4
I/libexynosv4l2-subdev(14340): open subdev device /dev/v4l-subdev4
I/hwcomposer(14340): unblank ioctl failed (display already unblanked)
D/libEGL  (14340): loaded /vendor/lib/egl/libEGL_POWERVR_SGX544_115.so
D/libEGL  (14340): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX544_115.so
D/libEGL  (14340): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX544_115.so
I/        (14340): !@IMGSRV: DATE: 2014.01.07(16:38:59) | BUILDER: DEV-008 | REVISION: 0d482f373cfc6e2ead91
And the coredump in some functions that are not named anyhow...

On our current working libraries the output is:

Code: Select all

I/hwcomposer(30721): blank ioctl failed (display already FB_BLANK_POWERDOWN)
D/libexynosv4l2-subdev(30721): try node: /dev/v4l-subdev0, minor: 0
D/libexynosv4l2-subdev(30721): try node: /dev/v4l-subdev1, minor: 1
D/libexynosv4l2-subdev(30721): try node: /dev/v4l-subdev2, minor: 2
D/libexynosv4l2-subdev(30721): try node: /dev/v4l-subdev3, minor: 3
D/libexynosv4l2-subdev(30721): try node: /dev/v4l-subdev4, minor: 4
I/libexynosv4l2-subdev(30721): node found for device s5p-mixer0: /dev/v4l-subdev4
I/libexynosv4l2-subdev(30721): open subdev device /dev/v4l-subdev4
D/libEGL  (30721): loaded /vendor/lib/egl/libEGL_POWERVR_SGX544_115.so
D/libEGL  (30721): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX544_115.so
D/libEGL  (30721): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX544_115.so
I/        (30721): !@IMGSRV: DATE: 2013.05.22(18:30:23) | BUILDER: harpoon | REVISION: 0db5d3529e1242f
E/IMGSRV  (30721): :0: gralloc_device_alloc: Framebuffer/bypass usage bits are incompatible with non-GPU-renderable pixel format (1)
As you see after the string where new libraries crash there should be already messages from IMGSRV which is inside proprietary blob

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Sat Aug 30, 2014 12:58 am

It's quite possible that the problem lies in hwcomposer.exynos5.so wrapper that lies in /vendor/lib/hw.
I remember hgblob were rebuilding it fixing a lot of problem, we even has hwcomposer.exynos5.so.old in the same directory right now. Sad thing is that we don't has sources of that and slight idea of what has been done...

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Sat Aug 30, 2014 1:27 am

He posted some patches on the XBMC for XU thread id I remember correctly...

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Sat Aug 30, 2014 2:19 am

Only binaries are there. =(
Sources are for libhybris, which we don't use anymore (we use generic one now).

MastaG
Posts: 307
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 18 times
Been thanked: 4 times
Contact:

Re: Hybris 4.4.4

Unread post by MastaG » Sat Aug 30, 2014 4:51 am

And the generic libhybris works with the old 4.2.2 system directory from hgblob.
So we must see if he can tell us the changes he did to the Android part :)

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Mon Jul 20, 2015 5:47 pm

If anyone is still interested in such a great board as -XU (I find it by the way the most solid board, if not to count driverless GPU everything else works much more stable than on other boards - CEC, MFC, X11-less output), I compiled the latest CM-12.1 Android based on 5.1.1 and it doesn't coredump on EGL access, at least Kodi detects EGL correct, but is strangely killed with the "Aborted" output in the console. I highly suspect that this is due to new "log" devices placement that is looked for in /dev directory and should be changed accordingly in the init scripts. I don't have time to dig it up further unfortunately.

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Mon Jul 20, 2015 7:49 pm

what patches have you applied?
im trying to get libhybris on xu3 ...

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Mon Jul 20, 2015 7:51 pm

I've applied the patch that is available for libhybris everywhere in the internet, the very old one for __set_errno functions. I'm not sure it is still needed anyway.
And also copied the directory drivers/gpu/pvr completely from the android kernel from voodik repository. That was all I did.
Nothing was done related to /dev/log_ links, I just wanted to look does it core dump still.

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Mon Jul 20, 2015 8:59 pm

not sure it works with android 5 :D

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Mon Jul 20, 2015 9:55 pm

Until I deleted the android compilation tree on my local computer, do you by any chance know the place where patches for hybris android 5 could be found? Strange that hybris is out there and is widely used, even included in some distros, and patches to prepare android libraries to work with are nowhere to be found...

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Tue Jul 21, 2015 8:28 am

I'm trying to get xu3 with android 4.4.4 ... curious why are you set on using android 5 for the XU? are you hoping the corner flicker is fixed?

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Tue Jul 21, 2015 3:11 pm

exactly. ;)

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 57 times
Contact:

Re: Hybris 4.4.4

Unread post by memeka » Tue Jul 21, 2015 4:12 pm

i saw android 5.1 support added in libhybris, but not the bionic patches in android for libhybris ... not sure they are the same as in 4.x ...

User avatar
OverSun
Posts: 1493
Joined: Mon Apr 29, 2013 5:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 19 times
Contact:

Re: Hybris 4.4.4

Unread post by OverSun » Tue Jul 21, 2015 4:53 pm

That's the thing. So far this is my only tip. At least logcat for example tries to access absolutely different files in dev right now, so at least /dev links should be changed, I bet there is something more. But all this is cosmetic, and shouldn't be a blocker, compared to the thing that EGL configs, info and everything can be read by egl-using programs successfully. And it was just core-dumping on 4.4.4.
Unfortunately I don't have time to play with this a lot, hard times working.
If somebody would find at least changes that need to be done to run 5.1.1 libraries using hybris so I could try it out - that would be much more useful.
Or patches for Android sources, until I deleted the compilation bunch on my local hd.
If you are interested in test stuff yourself you can find the libraries here: https://shiva.orion-express.ru/5.1.1.tbz2
You would need to take the whole drivers/gpu/pvr directory from here https://github.com/voodik/android_kerne ... l_odroidxu into your kernel for pvrctl to work (regardless that it complains like hell, but /dev/pvrcontrol appears).

miskol
Posts: 237
Joined: Wed Jan 15, 2014 2:58 am
languages_spoken: english,slovak
Has thanked: 0
Been thanked: 12 times
Contact:

Re: Hybris 4.4.4

Unread post by miskol » Sat Jul 25, 2015 5:55 am

memeka wrote:i saw android 5.1 support added in libhybris, but not the bionic patches in android for libhybris ... not sure they are the same as in 4.x ...
Look here
https://github.com/mer-hybris/android_b ... p-5.1.0_r5
Most of the work is done by team from sailfish os, mer os

Post Reply

Return to “Android”

Who is online

Users browsing this forum: No registered users and 0 guests