Security Setting " Unfortunately Settings has Stopped" Need help. - Moto X Q&A

Having issues getting into Security setting in different 5.1 ROMs both stock and CM. Everytime I get into the security settings I get an error message " Unfortunately Settings has stopped
When I got the phone it was preinstalled with 4.2.2 and Verizon branded. I had the bootloader unlocked via Sunshine and then proceeded to install TWRP followed by flashing 5.1 roms. Everything else works except for this security settings which keeps fc.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please help as I need to edit the security settings urgently.
Here's the report :
java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3017)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3048)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2423)
at android.app.ActivityThread.access$900(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference
at android.security.KeyStore.isHardwareBacked(KeyStore.java:318)
at android.security.KeyStore.isHardwareBacked(KeyStore.java:313)
at com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:262)
at com.android.settings.SecuritySettings.onResume(SecuritySettings.java:486)
at android.app.Fragment.performResume(Fragment.java:2096)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:928)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)
at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1879)
at android.app.Activity.performResume(Activity.java:6086)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3006)
... 11 more
Sent from my Moto X using Tapatalk

Okay nevermind figured it out. Turns out I needed to update the bootloader from 30.70 and the radio by flashing to 4.4.4 stock. It was safe for to downgrade since niether the bootloader nor gpt got updated earlier.
Sent from my Moto X using Tapatalk

Related

[Help wanted] How to fix this bug without making a soft reset

Hi everybody,
Due i have posted this bug on the touch thread and i didn't get any great recommendation, I'll try here, one of the most active threads in XDA-dev.
My issue:
i'm experiencing this problem with my Biotouch Cube Interface, it happens only at this page, the others are displaying well. How can I fix this problem avoiding a soft reset of my phone.
THX in advance
Metanol
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I don't have any application installed and i didn't try to do any tweak or registry change, also the phone is free from external software.
please help, why the biotouch is not able to load the images, the actions works OK..!!!
Are those values the same as yours.....??? this is exactly the side which is unable to open.
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher]
"Handle"=dword:7c08beb0
"Background"="\\Windows\\AL_Bkgd.brn"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher\App5]
"IconPressPath"="\\Windows\\AL_12_HL.brn"
"IconPath"="\\Windows\\AL_12.brn"
"Param"="calendar"
"Path"="\\Windows\\poutlook.exe"
"Type"=dword:00000000
"xPos"=dword:00000079
"yPos"=dword:000000d6
"Width"=dword:00000077
"Height"=dword:00000069
"Name"="Kalender"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher\App4]
"IconPressPath"="\\Windows\\AL_11_HL.brn"
"IconPath"="\\Windows\\AL_11.brn"
"Param"="www.google.de"
"Path"="\\Windows\\iexplore.exe"
"Type"=dword:00000000
"xPos"=dword:00000079
"yPos"=dword:0000006b
"Width"=dword:00000077
"Height"=dword:00000069
"Name"="Google"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher\App3]
"IconPressPath"="\\Windows\\AL_10_HL.brn"
"IconPath"="\\Windows\\AL_10.brn"
"Param"=""
"Path"="\\Windows\\tasks.exe"
"Type"=dword:00000000
"xPos"=dword:00000079
"yPos"=dword:00000000
"Width"=dword:00000077
"Height"=dword:00000069
"Name"="Aufgaben"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher\App2]
"IconPressPath"="\\Windows\\AL_09_HL.brn"
"IconPath"="\\Windows\\AL_09.brn"
"Param"=""
"Path"="\\Windows\\calc.lnk"
"Type"=dword:00000000
"xPos"=dword:00000000
"yPos"=dword:000000d6
"Width"=dword:00000077
"Height"=dword:00000069
"Name"="Taschenrechner"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher\App1]
"IconPressPath"="\\Windows\\AL_08_HL.brn"
"IconPath"="\\Windows\\AL_08.brn"
"Param"=""
"Path"="\\windows\\MMSLauncher.exe"
"Type"=dword:00000000
"xPos"=dword:00000000
"yPos"=dword:0000006b
"Width"=dword:00000077
"Height"=dword:00000069
"Name"="neue MMS"
[HKEY_LOCAL_MACHINE\Software\HTC\Biotouch\CustAPLauncher\App0]
"IconPressPath"="\\Windows\\AL_07_HL.brn"
"IconPath"="\\Windows\\AL_07.brn"
"Param"=""
"Path"="\\Windows\\CommManager.exe"
"Type"=dword:00000000
"xPos"=dword:00000000
"yPos"=dword:00000000
"Width"=dword:00000077
"Height"=dword:00000069
"Name"="Comm"
Click to expand...
Click to collapse
Bio Touch ver. 2.0.29087
THX in advance
I can not believe that nobody knows what is the issue of this problem
Why don't you just soft-reset? What you probably don't want is a HARD reset, that's what wipes all data on your device. A soft-reset just reboots it.
To compare with a normal computer:
Soft-reset = reboot.
Hard-reset = format c: and a fresh windows installation.

Vivid modem

Hi everyone,
I'm getting some problems with communicating modem on Vivid (stock GB).
Enabling the modem with:
Code:
echo 1 > /sys/devices/virtual/usb_composite/modem/enable
This gives me the HTC USB Modem device, but it has no feedback.
Trying to start modem service with:
Code:
setprop service.modem.enable 1
No result, the modem port still dead from PC side:
06-04 23:04:38.836: D/Modem_Link(3741): usb status path: /sys/devices/platform/msm_hsusb/usb_cable_connect
06-04 23:04:38.846: I/Modem_Link(3741): open port : /dev/ttyHSUSB0, transfer unit = 4096
06-04 23:04:38.846: I/Modem_Link(3741): open smd channel
06-04 23:04:38.846: E/Modem_Link(3741): open sap socket failed, errno = 111
Click to expand...
Click to collapse
What am I doing wrong?
darkmen said:
What am I doing wrong?
Click to expand...
Click to collapse
Posting in dev forum instead of Q&A.
Well, ok
I hope someone will move it to the correct forum
Apparently "Development" actually means "Rom Cooking" on XDA these days.
Moving forward.
The modem service binary is
Code:
/system/xbin/wireless_modem
which opens /dev/smd9 channel and calls for rild (RIL daemon) on its socket rild-htc
But seems noone listens the socket.
USB tethering
Had an idea to try the modem when thethering is ON.
I was tried a few stock GB ROM's and found that on AT&T (cingular) ROM tethering gives the error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Others was fine with it.
Anyway, modem interface was still dead on every ROM i checked.
To be continued...

[Help] Direct Pen Input Force closing

Hey Guys,
I rooted my Note5 (N920R4) a few months ago with ease. After installing an unofficial Xposed Framework, my Handwriting recognition keeps force closing.
Before installing the Unofficial Xposed framework I did a back up.. But when restoring that back up.. I am still receiving the same error message.
I even attempted doing a factory reset... still no dice..
Any Advice??:crying:
Just in case further explanation is needed..
Open SMS >> Tap to begin writing message >> attempt to switch to S-Pen Handwriting (small blue T) >> Force Close Toast saying "Unfortunately, Direct pen input has stopped"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reflash firmware
Sent from my Blackberry Torch
Brava27 said:
Reflash firmware
Sent from my Blackberry Torch
Click to expand...
Click to collapse
Hi Brava27,
I attempted to reflash to the firmware listed Here. But i am getting a Device 1 Binary 2 error. I have another Stock Firmware on my PC at home. I will attempt that later and post back.
dezimorp said:
Hi Brava27,
I attempted to reflash to the firmware listed Here. But i am getting a Device 1 Binary 2 error. I have another Stock Firmware on my PC at home. I will attempt that later and post back.
Click to expand...
Click to collapse
Flashing using the Stock Firmware I had stored at home worked!
Sent from my SM-N920R4 using XDA mobile app

xposed class not found

Hi,
I'm trying to create a new xposed module but I've hit a road block and need some help.
In short, I'm getting this error:
Loading class br.com.glauber.android.xposed.meutim_rootcheckingremover.XposedModule
05-23 05:28:19.756 E/Xposed ( 5686): java.lang.ClassNotFoundException: Didn't find class "br.com.glauber.android.xposed.meutim_rootcheckingremover.XposedModule" on path: DexPathList[[zip file "/data/app/br.com.glauber.android.xposed.meutim_rootcheckingremover-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
Complete log at:
http://pastebin.com/piNDH4He
So of course I googled around and stumbled across this thread:
http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
It says, not to use the method initZygote() which I have not. Just to make sure I have not done something wrong, I picked up a source code from github and tried compiling it as well. Both resulted in the same error.
here are the two projects that I tried:
https://github.com/glauberlima/MEUTIM-RootCheckingRemover
https://github.com/chiehmin/MinMinGuard
Other things that you guys should know:
I am running Lollipop. 5.1.0 on an emulator
Also, I tried installing the module from inside xposed, then it works! When I try to compile the same module and run, I get this error.
Anyone who wants to replicate this error, just get this from github and compile:
https://github.com/glauberlima/MEUTIM-RootCheckingRemover
Please let me know what i'm doing wrong. I am genuinely stuck now.
Ok, So solved it. Problem was the newly introduced Instant Run.
To disable it, go here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hellrokr said:
Ok, So solved it. Problem was the newly introduced Instant Run.
To disable it, go here:
Click to expand...
Click to collapse
Thank you very much!! I had been scratching my head for over 2 hours!
theawless said:
Thank you very much!! I had been scratching my head for over 2 hours!
Click to expand...
Click to collapse
haha. it was a real pain. Glad you found it out.

Share menu stuck on Android 10: direct share not available; suggested apps stuck

Direct share not available; more importantly, suggested apps don't reflect apps I use in any way.
I'm using regular apps such as WhatsApp/Telegram and everything worked fine before Android 10.
I did a factory reset, it didn't help. The phone isn't rooted.
Some of the logcat messages:
Code:
2020-04-23 02:53:14.633 1568-4216/? I/ActivityTaskManager: START u0 {act=android.intent.action.CHOOSER flg=0x1 cmp=android/com.android.internal.app.ChooserActivity clip={text/uri-list U:content://com.brave.browser.FileProvider/BlockedFile_4075185958965} (has extras)} from uid 10162
2020-04-23 02:53:14.650 1568-4216/? I/ActivityTaskManager: The Process android:ui Already Exists in BG. So sending its PID: 5428
2020-04-23 02:53:14.652 5428-5428/? W/ActivityThread: handleWindowVisibility: no activity for token [email protected]
2020-04-23 02:53:14.682 5428-5428/? W/ContextImpl: Failed to ensure /data/system/shared_prefs: mkdir failed: EACCES (Permission denied)
2020-04-23 02:53:14.671 5428-5428/? W/android:ui: type=1400 audit(0.0:3956): avc: denied { write } for name="system" dev="mmcblk0p69" ino=671745 scontext=u:r:system_app:s0 tcontext=u:object_r:system_data_file:s0 tclass=dir permissive=0
2020-04-23 02:53:14.713 5428-5428/? W/View: requestLayout() improperly called by android.widget.ListView{b7f170c VFED..C.. ......ID 0,2160-1080,4005 #10203e7 android:id/resolver_list} during layout: running second layout pass
2020-04-23 02:53:15.189 5428-5428/? W/APSResolverComparator: Score requested for unknown component.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I must admit it seems like widespread issue, seen it also on oneplus forum, also on reddit with pixel phones... Also an android 10 issue only, but with so many complaints, seeing no fix or even response, is very weird...

Categories

Resources