Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with 7.x #2

Open
harrynowl opened this issue Feb 27, 2017 · 7 comments
Open

Issue with 7.x #2

harrynowl opened this issue Feb 27, 2017 · 7 comments

Comments

@harrynowl
Copy link
Member

Currently freezes @ MIUI logo

dmesg: https://hastebin.com/luxiwebami.scala
logcat: https://hastebin.com/ruyayiweji.vbs

@tank0412
Copy link
Member

Well, it looks bad.
Try this commits:
latte-dev/android_vendor_xiaomi_latte@863e4fd
d91521b

@harrynowl
Copy link
Member Author

I'll try later, you'll be pleased to hear I have sound working in source built kernel.

@harrynowl
Copy link
Member Author

Presumably the issue is related to the fact framebuffernativewindow is gone in android_frameworks_native so it's missing the methods. Will probably have to do a hex edit to insert the library like on Z00D

@tank0412
Copy link
Member

Man, i just discovered what flex did with Z00D hwcomposer.
It looks like he just added libgbf.so to lib dependencies so this lib is trying to load libgbf.so by itself
And libgbf.so has missing symbols.
Nothing else.
Yeah maybe framebuffernativewindow is missing.
But we do not know which exactly symbols is missing

@harrynowl
Copy link
Member Author

libgbf.so is created from the shim libs in Z00D device tree rather than compiled as part of android natively

@tank0412
Copy link
Member

tank0412 commented Mar 2, 2017

I built RR Noughat.
Unfortunatly, keymaster issue was not fixed by my possible fix. Sad.
OMG, i forgot to edit ramdisk for it.
Working on it now.
Logcat:
https://gist.github.com/tank0412/7062c678a9ff63d82647d77197c18c9f
Dmesg:
https://gist.github.com/tank0412/be6c07be937cf61ec86331f45aff90e7

So what we have now:
E HAL : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/hw/hwcomposer.gmin.so"...
E ufoGralloc: fbdev.post() is not implemented
E FramebufferSurface: error posting framebuffer: -38
E ufoGralloc: fbdev.compositionComplete() is not implemented

@harrynowl
Copy link
Member Author

Nice work, thanks :)

Currently syncing my repos to build as I am using a new computer at the moment

List of symbols that are common between M libui and our hwcomposer, and are missing in N libui: https://hastebin.com/guciquvana.bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants