Setting app is missing
after failed patching setting app, the setting app is missing and i can't open the setting because of it
Same here, on Redmi Note 14 5G 😔
The script crashed (sadly I was not smart enough to capture its output). Anyway it removed the settings app, tried to install the patched one but failed, then crashed. Now I'm missing the settings app... Tried to reboot multiple times, no way.
The script says "it will auto restore...", bt how? Where is the original settings app stored?
After inspecting the code, I discovered how to reinstall the missing Settings app. Sharing this here to help others facing the same issue.
- open an adb shell
- run the command
cmd package install-existing com.android.settings
The settings app is now back in place 🍾
@TheAirBlow: I run the script again to capture the full log. As you can see, once the script crashes there's no way to restore the settings app.
What about printing additional instructions to manually restore the settings app? Something like this:
Downgrade failed, but you can still try out the nuclear option (it will auto restore) To manually restore the original Settings app, execute the command
cmd package install-existing com.android.settingsin an adb shell.
Keep up the good work 💪
_ _ ____ _ _ _
| | | | _ _ _ __ ___ _ __ / ___| _ __ | | ___ (_) | |_
| |_| | | | | | | '_ \ / _ \ | '__| \___ \ | '_ \ | | / _ \ | | | __|
| _ | | |_| | | |_) | | __/ | | ___) | | |_) | | | | (_) | | | | |_
|_| |_| \__, | | .__/ \___| |_| |____/ | .__/ |_| \___/ |_| \__|
|___/ |_| |_|
Welcome to HyperSploit v1.1 by TheAirBlow!
You chose 24094RAD4G codename citrine!
Is this device from Mainland China? [y/n] (n): n
Make sure you have a cellular connection with internet access!
Open Mi Unlock Status and attempt to bind account
Disabling mobile internet, taking over!
Failed to decrypt arguments and headers!
This probably means you have a patched Settings app.
Try downgrading to an unpatched version? [y/n] (n): y
Decompressing Settings.apk bundled within HyperSploit...
Installing unpatched Settings APK to the device...
Downgrade failed, but you can still try out the nuclear option (it will auto restore)
Try deleting the Settings app altogether? [y/n] (n): y
Decompressing Settings.apk bundled within HyperSploit...
Uninstalling the Settings app...
Installing unpatched Settings APK to the device...
Unhandled exception caught, can't continue!
AdvancedSharpAdbClient.Exceptions.AdbException: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
at AdvancedSharpAdbClient.AdbClient.<InstallAsync>d__30.MoveNext() + 0xa32
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0x597
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0x829
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0x9a4
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0xab3
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0x360
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0x9a4
--- End of stack trace from previous location ---
at HyperSploit.Program.<Downgrade>d__7.MoveNext() + 0xab3
--- End of stack trace from previous location ---
at HyperSploit.Program.<Bypass>d__4.MoveNext() + 0x27a
--- End of stack trace from previous location ---
at HyperSploit.Program.<Main>d__3.MoveNext() + 0x8d0
Would you like to run HyperSploit on another device? [y/n] (n):
thanks
will fix this sometime, cmd package install-existing com.android.settings should indeed restore them