[Sony Xperia XA2 Questions & Answers] Spooman:
Now with Logcat!

Hi Again XDA,

So I have tried 7 different firmwares from Xperifirm with Newflasher and still have an issue.

I have flashed all 7 both with and without the TA files (as suggested in another post on here) and also tried Y & N for the persist flash (3rd Y/N question in Newflasher process).

My only progress has been with the Belgian firmware (thanks Seppppx) which has allowed me to get past the android setup wizard, however the phone crashes and reboots after approx 20-30 seconds of running. It runs long enough for me to set a PIN, if I don't unlock the phone after boot it runs quite happily until I do. This has allowed me to run some adb commands and I have a Logcat from the crash.

Most of the Logcat is gibberish to me but the below snippet occurs less than a second before the phone crashes and looks fairly terminal:

04-07 18:47:59.105 1809-1809/? E/Zygote: System zygote died with exception
java.lang.RuntimeException: Unable to start receiver com.sonymobile.coresettings.BootCompletedReceiver: java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3400)
at android.app.ActivityThread.access$1200(ActivityThread.java:205)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1667)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:280)
at com.android.server.SystemServer.run(SystemServer.java:471)
at com.android.server.SystemServer.main(SystemServer.java:311)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
Caused by: java.lang.RuntimeException:
at com.sonymobile.coresettings.CoreSettingsJNI.unprotectData(Native Method)
at com.sonymobile.coresettings.UtilityImpl.DecryptData(UtilityImpl.java:89)
at com.sonymobile.coresettings.AdbNonSecureSwitchImpl.IsEnabled(AdbNonSecureSwitchImpl.java:62)
at com.sonymobile.coresettings.BootCompletedReceiver.onReceive(BootCompletedReceiver.java:33)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3386)
at android.app.ActivityThread.access$1200(ActivityThread.java:205)*
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1667)*
at android.os.Handler.dispatchMessage(Handler.java:106)*
at android.os.Looper.loop(Looper.java:280)*
at com.android.server.SystemServer.run(SystemServer.java:471)*
at com.android.server.SystemServer.main(SystemServer.java:311)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)*
04-07 18:47:59.105 1809-1809/? D/AndroidRuntime: Shutting down VM
04-07 18:47:59.105 1809-1809/? E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.RuntimeException: Unable to start receiver com.sonymobile.coresettings.BootCompletedReceiver: java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3400)
at android.app.ActivityThread.access$1200(ActivityThread.java:205)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1667)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:280)
at com.android.server.SystemServer.run(SystemServer.java:471)
at com.android.server.SystemServer.main(SystemServer.java:311)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
Caused by: java.lang.RuntimeException:
at com.sonymobile.coresettings.CoreSettingsJNI.unprotectData(Native Method)
at com.sonymobile.coresettings.UtilityImpl.DecryptData(UtilityImpl.java:89)
at com.sonymobile.coresettings.AdbNonSecureSwitchImpl.IsEnabled(AdbNonSecureSwitchImpl.java:62)
at com.sonymobile.coresettings.BootCompletedReceiver.onReceive(BootCompletedReceiver.java:33)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3386)
at android.app.ActivityThread.access$1200(ActivityThread.java:205)*
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1667)*
at android.os.Handler.dispatchMessage(Handler.java:106)*
at android.os.Looper.loop(Looper.java:280)*
at com.android.server.SystemServer.run(SystemServer.java:471)*
at com.android.server.SystemServer.main(SystemServer.java:311)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)*

I'm not very familiar with this but FATAL EXCEPTION in SYSTEM PROCESS:main sounds pretty bad to me. Any seriously techy types out there who can interpret the above and tell me if I'm barking up the right tree or not? I can post the full Logcat if it helps.

Thanks in advance.