Settings app crashes preventing lock changes

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

Hello,
To start, I run Resurrection Remix OS on an Huawei P9 with Android 7.1.2.
I out of bad judgment ended up updating Magisk which reset my recovery, after getting TWRP to run and fixing Magisk i was stuck with a lockscreen loop wherein i was unable to unlock it.
I then saw several people recommending the solution that can be found in this thread.
https://forums.androidcentral.com/l...-pin-pattern-unable-get-back-into-device.html
Following it allowed me to remove the pin from my lockscreen and thus enabled me to use my phone but, and here comes my issue.

Whenever i go into settings->Screen lock
And i click on "None" and "Swipe" Settings crashes and no change is applied.
If i click on "Pattern", "PIN" and "Password" i am given the option to enter it but when confirming Settings crashes, and following this it asks me for an unlock if i try to change these same settings with the settings crashing after entering the pin.
I've tried to see if i can identify something in the log and the only thing that vaguely seems related is:
"LockSettingsService: Unable to acquire GateKeeperService
AndroidRuntime: Shutting down VM
AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: java.lang.NullPointerException: Attempt to invoke int
erface method 'void android.service.gatekeeper.IGateKeeperService.clearSecureUserId(int)' on a null ob
ject reference"

As it stands my phone runs without issue since it defaults to a swipe lock screen,but this leaves me without the use of the fingerprint scanner and the pin lock screen.

I would like to avoid having to reset the system so i was hoping someone here may know how to fix this
 
Last edited by a moderator:

TinaAzure

New member
Jun 13, 2022
2
0
0
Thanks for the comments. @mustang7757
I certainly have been working in a pretty outdated system so i haven't had much contact with the community since setting it up and i will reach out to XDA Forum too, i chose to ask my question here initially since it's where i initially found the solution for my previous issue and from what i could tell the last person asking about this particular problem on the XDA Forum hasn't gotten an answer.
@fuzzylumpkin
I do keep backups, but due to the nature of my error (and admittedly my own laziness) my last fully functioning backup is from 2 years ago, the most recent one is after i realized my mistake.
But i did give reflashing a try (i assume you are talking about a dirty flash) sadly that has changed nothing.
 

mustang7757

Super Moderator
Moderator
Feb 6, 2017
86,752
698
113
Thanks for the comments. @mustang7757
I certainly have been working in a pretty outdated system so i haven't had much contact with the community since setting it up and i will reach out to XDA Forum too, i chose to ask my question here initially since it's where i initially found the solution for my previous issue and from what i could tell the last person asking about this particular problem on the XDA Forum hasn't gotten an answer.
@fuzzylumpkin
I do keep backups, but due to the nature of my error (and admittedly my own laziness) my last fully functioning backup is from 2 years ago, the most recent one is after i realized my mistake.
But i did give reflashing a try (i assume you are talking about a dirty flash) sadly that has changed nothing.
Understand, you can definitely do a search in xda Forum with your device im sure there old topics u can get info from while u wait for response , but most move on from older device and dont care to support it so do some searching there , that's what i would do if it was me.
 

fuzzylumpkin

Well-known member
Dec 7, 2012
3,837
212
63
Thanks for the comments. @mustang7757
I certainly have been working in a pretty outdated system so i haven't had much contact with the community since setting it up and i will reach out to XDA Forum too, i chose to ask my question here initially since it's where i initially found the solution for my previous issue and from what i could tell the last person asking about this particular problem on the XDA Forum hasn't gotten an answer.
@fuzzylumpkin
I do keep backups, but due to the nature of my error (and admittedly my own laziness) my last fully functioning backup is from 2 years ago, the most recent one is after i realized my mistake.
But i did give reflashing a try (i assume you are talking about a dirty flash) sadly that has changed nothing.

I was talking about a dirty flash yeah, although it's been so long I have to admit I had forgotten it was called that haha. In that case what I would do if I were you is a clean flash, and then restore just your user data from the TWRP backup. That way the system partition should be clean but you should still have all your data intact.

Another alternative being that you are rooted would be to use Titanium backup to do an app data backup.

Or, as Mustang says, bite the bullet and get a more modern phone lol
 

TinaAzure

New member
Jun 13, 2022
2
0
0
I guess that will most likely be what i'll end up doing unless i find another solution i wager my 2 year old backup should fix all of these issues and yeah at that point i might as well properly reflash it.

Sadly getting a modern phone is a tad out of my financial range XD.
 

mustang7757

Super Moderator
Moderator
Feb 6, 2017
86,752
698
113
I guess that will most likely be what i'll end up doing unless i find another solution i wager my 2 year old backup should fix all of these issues and yeah at that point i might as well properly reflash it.

Sadly getting a modern phone is a tad out of my financial range XD.
Yeah can understand newer device are expensive, there some really good midrange phones like Samsung, Google, one plus that wont be as expensive as flagships