Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP GTMoraes

3rd March 2014, 02:17 AM   |  #1  
GTMoraes's Avatar
OP Senior Member
Flag Recife
Thanks Meter: 216
 
1,064 posts
Join Date:Joined: Dec 2010
More
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:
Quote:

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$SensorTyp e.getSensorType(SensorID.java:61)
03-02 22:01:59.967 E/AndroidRuntime(3783): at com.android.settings.lge.MotionSensorCalibration$C alThreadRunnable.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$Decor View{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(WindowMan agerGlobal.java:248)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.WindowManagerImpl.addView(WindowManag erImpl.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.jav a: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$MethodAndArgsCa ller.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:

Quote:

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$SensorTyp e.getSensorType(SensorID.java:61)
03-02 22:01:59.967 E/AndroidRuntime(3783): at com.android.settings.lge.MotionSensorCalibration$C alThreadRunnable.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$Decor View{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(WindowMan agerGlobal.java:248)
03-02 22:02:00.457 E/WindowManager(3783): at android.view.WindowManagerImpl.addView(WindowManag erImpl.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.jav a: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$MethodAndArgsCa ller.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!
3rd March 2014, 09:14 PM   |  #2  
GTMoraes's Avatar
OP Senior Member
Flag Recife
Thanks Meter: 216
 
1,064 posts
Join Date:Joined: Dec 2010
More
Anyone?
3rd March 2014, 10:11 PM   |  #3  
Chance Ill's Avatar
Senior Member
Flag Planet Android
Thanks Meter: 112
 
506 posts
Join Date:Joined: Dec 2007
Donate to Me
More
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
The Following User Says Thank You to Chance Ill For This Useful Post: [ View ]
3rd March 2014, 10:15 PM   |  #4  
TheHaso's Avatar
Senior Member
Thanks Meter: 514
 
1,638 posts
Join Date:Joined: Feb 2012
More
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
3rd March 2014, 11:05 PM   |  #5  
GTMoraes's Avatar
OP Senior Member
Flag Recife
Thanks Meter: 216
 
1,064 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by Chance Ill

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


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

Quote:
Originally Posted by TheHaso

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
6th March 2014, 12:17 AM   |  #6  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: May 2010
I have the same problem. You have found a solution?. He tried another version of modem.img? extracted from a different KDZ.
Last edited by ratatronic; 6th March 2014 at 12:22 AM.
15th March 2014, 07:19 AM   |  #7  
Senior Member
Flag Buenos Aires
Thanks Meter: 106
 
155 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by ratatronic

I have the same problem. You have found a solution?. He tried another version of modem.img? extracted from a different KDZ.

Same issue with a D806... I still did not find a solution... Please let me know if you found a way.

Thanks
15th March 2014, 08:21 PM   |  #8  
Senior Member
Thanks Meter: 65
 
202 posts
Join Date:Joined: Oct 2010
Id love to understand how a modem can crash sensors. What one thing has to do with another? ! Any dev can explain that?
15th March 2014, 09:00 PM   |  #9  
felipondrioxcl's Avatar
Member
Flag Santiago
Thanks Meter: 12
 
49 posts
Join Date:Joined: Dec 2013
More
Quote:
Originally Posted by emoibm

Id love to understand how a modem can crash sensors. What one thing has to do with another? ! Any dev can explain that?


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.
16th March 2014, 06:01 AM   |  #10  
Quote:
Originally Posted by felipondrioxcl

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.

Post Reply Subscribe to Thread

Tags
d802, d805, kitkat, lg g2, rotation
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes