android - How would you take an ADB logcat without RSA fingerprint present and during first boot of rom? -


i trying port miui v6 phone (and no thread not porting rom, please read ahead).

first, on android 4.4.4

now problem->

it gets stuck on bootloop , know cause. know how take logcats using adb, reason adb logcat doesnt detect phone during bootanimation (and doesnt go beyond bootanimation being bootloop). guessing must have rsa fingerprint since there no such key present being in/during first boot.

i have tried adding build.prop->

ro.debuggable=1 persist.sys.usb.config=mtp,adb ro.adb.secure=0 

but doesnt work. base rom cm 11 default cm kernel. since both rom , kernel rooted, eligible take logcat during first boot.

at first thought miui rom-port problem. tested cm simple rom installed. ofcourse booted fine , fine, unable take logcat first boot (it doesn't "recognize" device until rsa fingerprint authentication accepted. tested after adding authentication , logged boot fine).

in addition this, have attempted pull last kernel message or kmsg, unable pull that.

finally, tried using init script. added script system/etc/init.d/ , script had following content:

#!/system/bin/sh mount -o rw,remount "/system" logcat > /sdcard/log.txt 

now script create file, file blank. no text @ all.

so sum all, how can take logcat first boot without rsa fingerprint added? method goes. if can make store log in partition anywhere, can attempt pull log using adb pull. now, not working.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -