[Honor 5X ROMs, Kernels, Recoveries, & Other Develo] _dobo:
debugging hackers needed

Hi there,

I got my device just yesterday. I've upgraded to Marshmallow and I wanted to compile CM13 using MM blobs. Unfortunately there are few changes in proprietary files between LP and MM. But, after few hours of working, I managed to cherry pick some tomato commits and adjust blobs to newer ones. Surprisingly some of them were missing in B330 firmware (some 32-bits blobs were presents but 64-bits not, etc..). So I took some blobs from Huawei Rio. (Thanks [MENTION=2335078]surdu_petru[/MENTION] for his work!)

But unfortunately device gets bootlooped (after "Starting apps" it gets restarted). I'm unable to access adb during boot time (adb devices is empty all the time). Does anyone know some magic way to access logcat?

(Btw console-ramoops is empty as it isn't fault of the kernel).

Any help really appreciated, thanks!

If someone wants to take a look, changes are available at:

As I'm a new user I'm unable to post link :(. So, changes are available at github, account: dobo90, repo: repo: android_device_huawei_kiwi, branch: mm_blobs

Maybe I did something really wrong. [MENTION=5662620]BadDaemon[/MENTION], [MENTION=3857343]crpalmer[/MENTION], [MENTION=2335078]surdu_petru[/MENTION] any tips or suggestions?

// Edit: Ok, after dirtyflashing from crpalmers build I found that GPS is SIGSEGVing :)

07-10 12:38:52.575 323 323 F DEBUG : CM Version: '13.0-20160709-UNOFFICIAL-kiwi'

07-10 12:38:52.575 323 323 F DEBUG : Build fingerprint: 'HONOR/KIW-L21/HNKIW-Q:5.1.1/HONORKIW-L21/C432B130:user/release-keys'

07-10 12:38:52.575 323 323 F DEBUG : Revision: '0'

07-10 12:38:52.575 323 323 F DEBUG : ABI: 'arm64'

07-10 12:38:52.575 323 323 F DEBUG : pid: 1428, tid: 1490, name: ActivityManager >>> system_server <<<

07-10 12:38:52.575 323 323 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x6e

07-10 12:38:52.580 3149 3149 E dex2oat : Failed to create oat file: /data/dalvik-cache/arm64/system@priv-app@WeatherProvider@WeatherProvider.apk@classes.dex: Permission denied

07-10 12:38:52.580 3149 3149 I dex2oat : dex2oat took 1.042ms (threads: 8)

07-10 12:38:52.577 323 323 I debuggerd64: type=1400 audit(0.0:68): avc: denied { open } for path="/cache/com.cyanogenmod.keyhandler.dex" dev="mmcblk0p22" ino=13 scontext=u:r:debuggerd:s0

tcontext=u:object_r:cache_file:s0 tclass=file permissive=1

07-10 12:38:52.584 3126 3126 W art : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -

Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=generic --instruction-set-features=default --dex-file=/system/priv-ap

p/WeatherProvider/WeatherProvider.apk --oat-file=/data/dalvik-cache/arm64/system@priv-app@WeatherProvider@WeatherProvider.apk@classes.dex) because non-0 exit status

07-10 12:38:52.590 3126 3126 W System : ClassLoader referenced unknown path: /system/priv-app/WeatherProvider/lib/arm64

07-10 12:38:52.608 323 323 F DEBUG : x0 0000007f9493e888 x1 6d20a86fa315f199 x2 0000000000000068 x3 0000000000000000

07-10 12:38:52.608 323 323 F DEBUG : x4 0000000000000000 x5 0000007f743529c0 x6 000000000000006e x7 0000007f948d5000

07-10 12:38:52.608 323 323 F DEBUG : x8 0000007f948d50cc x9 0000007f948d5000 x10 0000007f948d515c x11 0000000000000000

07-10 12:38:52.608 323 323 F DEBUG : x12 0000007f94906cc0 x13 0000007f949454d0 x14 00000000ffffffff x15 0000007f949454d0

07-10 12:38:52.608 323 323 F DEBUG : x16 0000007f75875e58 x17 0000007f7585e6d4 x18 0000007f949454d0 x19 0000000000000001

07-10 12:38:52.608 323 323 F DEBUG : x20 0000000000000004 x21 0000000000000004 x22 0000007f743529c0 x23 0000007f7cc43c98

07-10 12:38:52.608 323 323 F DEBUG : x24 0000007f94945bb8 x25 0000007f75875000 x26 0000007f7cc44320 x27 0000007f9153a000

07-10 12:38:52.608 323 323 F DEBUG : x28 0000000000000000 x29 0000007f7cc438e0 x30 0000007f7585eb10

07-10 12:38:52.608 323 323 F DEBUG : sp 0000007f7cc438e0 pc 0000007f7585e734 pstate 0000000020000000

07-10 12:38:52.612 323 323 F DEBUG :

07-10 12:38:52.612 323 323 F DEBUG : backtrace:

07-10 12:38:52.612 323 323 F DEBUG : #00 pc 0000000000004734 /system/lib64/libgps.utils.so (loc_read_conf_r+96)

07-10 12:38:52.612 323 323 F DEBUG : #01 pc 0000000000004b0c /system/lib64/libgps.utils.so (loc_read_conf+168)

07-10 12:38:52.612 323 323 F DEBUG : #02 pc 000000000000cbf8 /system/vendor/lib64/libflp.so (_ZN17FlpLocationClientC2Ev+104)

07-10 12:38:52.612 323 323 F DEBUG : #03 pc 000000000000cc74 /system/vendor/lib64/libflp.so (_ZN17FlpLocationClient14createInstanceEv+24)

07-10 12:38:52.612 323 323 F DEBUG : #04 pc 00000000000037d8 /system/vendor/lib64/hw/flp.default.so (get_flp_interface+452)

07-10 12:38:52.612 323 323 F DEBUG : #05 pc 000000000001d298 /system/lib64/libandroid_servers.so

07-10 12:38:52.612 323 323 F DEBUG : #06 pc 00000000009b60a8 /data/dalvik-cache/arm64/system@framework@services.jar@classes.dex (offset 0x843000)