[Error] LG G2 D805 with D802 Kitkat, Screen doesn't rotate, cannot calibrate

Search This thread

GTMoraes

Senior Member
Dec 3, 2010
1,555
337
Recife
Hi.

I've flashed this Kitkat ROM, this one called "D805_Stock_KK_fix.zip". It seems to be the Vodafone Germany version, but I'm not sure (it got vodafone logo and apps).
A direct flash would render my phone unable to call, as the modem is different, but everything else works (rotation, touchscreen). If I flash the right modem, rotation doesn't work anymore. I don't know if it's related, because I only flashed once with the wrong modem, and the following 5~7 times with the right modem, and only on the first time (with wrong modem), the rotation was working.

It doesn't matter if I fully wipe the phone before the install and hard reset after, or something. Rotation simply doesn't work, and I can't calibrate the sensors as it crashes "Settings" and returns to the main menu.

Here's what I do:
> Enable rotation.
> Phone doesn't rotate.

> Menu > Settings > Switch to list view > Gestures > Motion sensor calibration > Calibrate sensor
> Crashes

logcat of the crash:
03-02 22:01:58.177 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:01:58.177 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:01:58.177 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:01:59.107 E/SensorManager(3783): sensor or listener is null
03-02 22:01:59.967 E/AndroidRuntime(3783): FATAL EXCEPTION: Thread-342
03-02 22:01:59.967 E/AndroidRuntime(3783): Process: com.android.settings, PID: 3783
03-02 22:01:59.967 E/AndroidRuntime(3783): java.lang.NullPointerException
03-02 22:01:59.967 E/AndroidRuntime(3783): at com.qualcomm.sensors.sensortest.SensorID$SensorType.getSensorType(SensorID.java:61)
03-02 22:01:59.967 E/AndroidRuntime(3783): at com.android.settings.lge.MotionSensorCalibration$CalThreadRunnable.run(MotionSensorCalibration.java:229)
03-02 22:01:59.967 E/AndroidRuntime(3783): at java.lang.Thread.run(Thread.java:841)
03-02 22:02:00.097 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.097 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.097 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.097 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.457 E/WindowManager(3783):
03-02 22:02:00.457 E/WindowManager(3783): android.view.WindowLeaked: Activity com.android.settings.SubSettings has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{428f64d8 V.E..... R......D 0,0-1026,284} that was originally added here
03-02 22:02:00.457 E/WindowManager(3783): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:377)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
03-02 22:02:00.457 E/WindowManager(3783): at android.app.Dialog.show(Dialog.java:296)
03-02 22:02:00.457 E/WindowManager(3783): at com.android.settings.lge.MotionSensorCalibration$2.onClick(MotionSensorCalibration.java:128)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.View.performClick(View.java:4442)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.View$PerformClick.run(View.java:18473)
03-02 22:02:00.457 E/WindowManager(3783): at android.os.Handler.handleCallback(Handler.java:733)
03-02 22:02:00.457 E/WindowManager(3783): at android.os.Handler.dispatchMessage(Handler.java:95)
03-02 22:02:00.457 E/WindowManager(3783): at android.os.Looper.loop(Looper.java:136)
03-02 22:02:00.457 E/WindowManager(3783): at android.app.ActivityThread.main(ActivityThread.java:5105)
03-02 22:02:00.457 E/WindowManager(3783): at java.lang.reflect.Method.invokeNative(Native Method)
03-02 22:02:00.457 E/WindowManager(3783): at java.lang.reflect.Method.invoke(Method.java:515)
03-02 22:02:00.457 E/WindowManager(3783): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
03-02 22:02:00.457 E/WindowManager(3783): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
03-02 22:02:00.457 E/WindowManager(3783): at dalvik.system.NativeStart.main(Native Method)
03-02 22:02:00.737 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.737 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.737 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:00.737 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:01.407 E/InputDispatcher(954): channel '42d8ef90 com.android.settings/com.android.settings.SubSettings (server)' ~ Channel is unrecoverably broken and will be disposed!
03-02 22:02:03.297 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:03.297 E/Parcel (336): Reading a NULL string not supported here.
03-02 22:02:03.297 E/Parcel (336): Reading a NULL string not supported here.

I think you can safely ignore the " E/Parcel (336): Reading a NULL string not supported here.". I don't have any idea what is it, but it used to happen on the 4.2.2 Stock too, and didn't affect performance nor battery life.

So here's the same log, filtered:

03-02 22:01:59.107 E/SensorManager(3783): sensor or listener is null
03-02 22:01:59.967 E/AndroidRuntime(3783): FATAL EXCEPTION: Thread-342
03-02 22:01:59.967 E/AndroidRuntime(3783): Process: com.android.settings, PID: 3783
03-02 22:01:59.967 E/AndroidRuntime(3783): java.lang.NullPointerException
03-02 22:01:59.967 E/AndroidRuntime(3783): at com.qualcomm.sensors.sensortest.SensorID$SensorType.getSensorType(SensorID.java:61)
03-02 22:01:59.967 E/AndroidRuntime(3783): at com.android.settings.lge.MotionSensorCalibration$CalThreadRunnable.run(MotionSensorCalibration.java:229)
03-02 22:01:59.967 E/AndroidRuntime(3783): at java.lang.Thread.run(Thread.java:841)
03-02 22:02:00.457 E/WindowManager(3783):
03-02 22:02:00.457 E/WindowManager(3783): android.view.WindowLeaked: Activity com.android.settings.SubSettings has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{428f64d8 V.E..... R......D 0,0-1026,284} that was originally added here
03-02 22:02:00.457 E/WindowManager(3783): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:377)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
03-02 22:02:00.457 E/WindowManager(3783): at android.app.Dialog.show(Dialog.java:296)
03-02 22:02:00.457 E/WindowManager(3783): at com.android.settings.lge.MotionSensorCalibration$2.onClick(MotionSensorCalibration.java:128)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.View.performClick(View.java:4442)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.View$PerformClick.run(View.java:18473)
03-02 22:02:00.457 E/WindowManager(3783): at android.os.Handler.handleCallback(Handler.java:733)
03-02 22:02:00.457 E/WindowManager(3783): at android.os.Handler.dispatchMessage(Handler.java:95)
03-02 22:02:00.457 E/WindowManager(3783): at android.os.Looper.loop(Looper.java:136)
03-02 22:02:00.457 E/WindowManager(3783): at android.app.ActivityThread.main(ActivityThread.java:5105)
03-02 22:02:00.457 E/WindowManager(3783): at java.lang.reflect.Method.invokeNative(Native Method)
03-02 22:02:00.457 E/WindowManager(3783): at java.lang.reflect.Method.invoke(Method.java:515)
03-02 22:02:00.457 E/WindowManager(3783): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
03-02 22:02:00.457 E/WindowManager(3783): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
03-02 22:02:00.457 E/WindowManager(3783): at dalvik.system.NativeStart.main(Native Method)
03-02 22:02:01.407 E/InputDispatcher(954): channel '42d8ef90 com.android.settings/com.android.settings.SubSettings (server)' ~ Channel is unrecoverably broken and will be disposed!


Any hints? Thanks!
 

TheHaso

Senior Member
Feb 18, 2012
1,845
589
Simple, don't flash a d805 stock on d802.

Anyways if you do, don't except it to work 100%

Sent from my LG-D802 using XDA Premium 4 mobile app
 

GTMoraes

Senior Member
Dec 3, 2010
1,555
337
Recife
You need the modem/radio for your specific device. For reason or another, it breaks those sensors.

Sent from my LG-D802 using XDA Premium 4 mobile app

:eek:
a modem... break sensors. I don't understand LG.

Simple, don't flash a d805 stock on d802.

Anyways if you do, don't except it to work 100%

Sent from my LG-D802 using XDA Premium 4 mobile app

To the contrary. Flash a d802 on d805. It used to work flawlessly on 4.2, and it does work everything (but rotation) on 4.4.
It's too soon anyway, I'm using 4.2 Modem on 4.4. Someday it'll be released for the D805 and it'll all work, i hope
 

ratatronic

New member
May 3, 2010
1
0
I have the same problem. You have found a solution?. He tried another version of modem.img? extracted from a different KDZ.
 
Last edited:

emoibm

Senior Member
Oct 6, 2010
217
69
Id love to understand how a modem can crash sensors. What one thing has to do with another? ! Any dev can explain that?
 

gypsy214

Senior Member
Jan 24, 2011
2,197
528
Dallas, Tx
Modem contains all information of connectivity and other like internal sensor, solution? wait for a D805 kitkat oficial rom to extract the modem and flash it.

Kinda new to LG development but I know that rotation had something to do with kernels on Samsung phones. There is an app on play store to fix the rotation the way you want it. We used to use it when we used to flash a rom from another model sometimes.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    You need the modem/radio for your specific device. For reason or another, it breaks those sensors.

    Sent from my LG-D802 using XDA Premium 4 mobile app