Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,603 Members 40,943 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
GTMoraes
Old
#1  
GTMoraes's Avatar
Senior Member - OP
Thanks Meter 126
Posts: 684
Join Date: Dec 2010
Location: Recife
Prompt [Error] LG G2 D805 with D802 Kitkat, Screen doesn't rotate, cannot calibrate

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!

 
Quote:
Originally Posted by GTMoraes View Post
Quote:
Originally Posted by Cronis View Post
Quote:
Originally Posted by anuraj1 View Post
I think we're all just frustrated with the lack of information. My F5 key is worn out and my finger is worn out from mashing it.
lol i just realized F5 reloads the page
how did you manage to register here
----
Nexus 7 FLO ~~~~ SlimKat 4.4.2 + Faux123 Kernel Broken screen! Waiting for the replacement from china
LG G2 D805 ~~~~~ CloudyG3 + dozens of Xposed modules!
 
GTMoraes
Old
#2  
GTMoraes's Avatar
Senior Member - OP
Thanks Meter 126
Posts: 684
Join Date: Dec 2010
Location: Recife
Anyone?

 
Quote:
Originally Posted by GTMoraes View Post
Quote:
Originally Posted by Cronis View Post
Quote:
Originally Posted by anuraj1 View Post
I think we're all just frustrated with the lack of information. My F5 key is worn out and my finger is worn out from mashing it.
lol i just realized F5 reloads the page
how did you manage to register here
----
Nexus 7 FLO ~~~~ SlimKat 4.4.2 + Faux123 Kernel Broken screen! Waiting for the replacement from china
LG G2 D805 ~~~~~ CloudyG3 + dozens of Xposed modules!
 
Chance Ill
Old
#3  
Chance Ill's Avatar
Senior Member
Thanks Meter 97
Posts: 477
Join Date: Dec 2007
Location: Planet Android

 
DONATE TO ME
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
G2- RayGlobe
HTC One- ViperOne


Common sense is not common.....

IF SOMEONE HELPS YOU......THANK THEM!!!
The Following User Says Thank You to Chance Ill For This Useful Post: [ Click to Expand ]
 
TheHaso
Old
#4  
TheHaso's Avatar
Senior Member
Thanks Meter 434
Posts: 1,460
Join Date: Feb 2012
Location: Hokksund
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
Xperia Charging Animations
HDPI and MDPI


Phone
LG G2 D802 32GB
 
Previous Phone
Xperia Arc LT15i (LT18i format)
Super Jelly Bean 8 - SJB KK Kernel



 
GTMoraes
Old
#5  
GTMoraes's Avatar
Senior Member - OP
Thanks Meter 126
Posts: 684
Join Date: Dec 2010
Location: Recife
Quote:
Originally Posted by Chance Ill View Post
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 View Post
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

 
Quote:
Originally Posted by GTMoraes View Post
Quote:
Originally Posted by Cronis View Post
Quote:
Originally Posted by anuraj1 View Post
I think we're all just frustrated with the lack of information. My F5 key is worn out and my finger is worn out from mashing it.
lol i just realized F5 reloads the page
how did you manage to register here
----
Nexus 7 FLO ~~~~ SlimKat 4.4.2 + Faux123 Kernel Broken screen! Waiting for the replacement from china
LG G2 D805 ~~~~~ CloudyG3 + dozens of Xposed modules!
 
ratatronic
Old
(Last edited by ratatronic; 5th March 2014 at 11:22 PM.)
#6  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2010
I have the same problem. You have found a solution?. He tried another version of modem.img? extracted from a different KDZ.
 
Floodland
Old
#7  
Senior Member
Thanks Meter 81
Posts: 117
Join Date: Aug 2011
Location: Buenos Aires
Quote:
Originally Posted by ratatronic View Post
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
 
emoibm
Old
#8  
Senior Member
Thanks Meter 45
Posts: 150
Join Date: 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?
 
felipondrioxcl
Old
#9  
felipondrioxcl's Avatar
Member
Thanks Meter 11
Posts: 49
Join Date: Dec 2013
Location: Santiago
Quote:
Originally Posted by emoibm View Post
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.
 
gypsy214
Old
#10  
Senior Member
Thanks Meter 458
Posts: 1,874
Join Date: Jan 2011
Location: Dallas, Tx
Quote:
Originally Posted by felipondrioxcl View Post
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.
IF I HELP YOU AND IF YOU LIKE MY WORK DONT FORGET TO CLICK THE THANKS BUTTON
<===============
http://forum.xda-developers.com/signaturepics/sigpic3549831_2.gif

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

Advanced Search
Display Modes