I have never been accused of being the sharpest tool in the shed, but boy, have I been missing the biggest, most obvious way of figuring out my 6.0 problems. In fact, I am embarrassed. However, I hope that by posting it here, I will accomplish two things:

  1. Prove to myself that I can publicaly own up to my own mistakes, and hopefully learn from them.
  2. Help others who may also be experiencing this issue.

So, to re-iterate the problem in question. I have made several successful builds of various 6.0+ roms, such as SlimRoms, AOKP, and CM. However, only CM13 worked when I put the rom on the device. All of the others simply hang at the “Samsung Galaxy S4” logo.

The problem was that there was no further error in the build process to give me a clue as to what needs fixing. How can I fix something that is not broken? If only I could get some sort of status or log to see what was happening under the hood!

“DUH” The moment I said it out loud was the moment that the proverbial lights came on.

So, I sat down at the terminal, phone plugged into the USB port and in TWRP. After installing the new SlimRoms 6.0 rom, I then rebooted the phone, leaving it plugged into the USB port of my computer. From the terminal:

alaskalinuxuser@alaskalinuxuser-HP-Compaq-6715b-FY288UC-ABA:~$ sudo adb devices
List of devices attached
d363c746 device

alaskalinuxuser@alaskalinuxuser-HP-Compaq-6715b-FY288UC-ABA:~$ sudo adb logcat >logcat.txt


Which of course put all of my phones logs into a handy text file. Note that I eventually had to stop it with CTRL-c, as the log was continuously scrolling. Now I could just open the file and find all of my phones new problems. Like this one:

05-24 20:40:15.036 228 228 E libEGL : load_driver(/vendor/lib/egl/libEGL_adreno.so): dlopen failed: cannot locate symbol “RSA_verify_PKCS1_PSS” referenced by “/system/vendor/lib/egl/libEGL_adreno.so”…

How quaint. A log that tells you exactly what is wrong so you can try to figure out how to fix it… imagine that! Praise God that he brought it to mind so I didn’t have to wander around in the dark forever!

Linux – Keep it simple.

One Reply to “Pulling a logcat”

Leave a Reply

Your email address will not be published. Required fields are marked *