dobo90 / proprietary_vendor_huawei_kiwi

0 stars 0 forks source link

i need help :( #1

Open aymende7 opened 6 years ago

aymende7 commented 6 years ago

hi, i am trying to build oos camera hal instead of stock outdated blobs, i can't the proper fix for hdr (on Camera2/Snap) log: https://hastebin.com/uqimomiroq.rb thanks

dobo90 commented 6 years ago

Ugh, actually I haven't seen mm-qcamera-daemon in my case :(.

I don't know how good are you at reverse engineering. But overally those are steps you need to do in order to make hal work: 1) Figure out which CAF tag original camera blob is based (you can do this by checking strings added in commits), 2) You have to make sure that structures that are exchanges between HAL<>daemon are properly aligned. This is the hardest work, and you need decompiler/disassembler for that stage. But, if you are lucky original structures will work, 3) Apply all other commits which won't break exchanged structures compatibility.

If you are familiar with reverse engineering I can write structures which you have to align to make it work (don't remember all of them right now).

2018-01-03 20:30 GMT+01:00 Aymen notifications@github.com:

hi, i am trying to oos camera hal instead of outdated blobs, i can't find a solution to fix the hdr (crash) :( here is the log: https://hastebin.com/uqimomiroq.rb and the device tree : https://github.com/aymende7/ android_device_bq_piccolo pls help me thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dobo90/proprietary_vendor_huawei_kiwi/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNcqmK4CpUGgGKylhelSL5WZbcc1gHVks5tG9RVgaJpZM4RSJxK .