System UI failed to start after app permission changes - ZTE Axon 7 Questions & Answers

Hello guys, I hope you can help me...
I own an A2017G Version with the latest original Firmware, no unlocked bootloader, no root, nothing changed from stock. I noticed that many preinstalled system apps require strange permissions for contacts, sms, etc... So I tried to denie them. In the official settings - apps - app permissions I removed a few entries... So for example the contact permission from the SystemUI package.
After this the phone restarted immediatelly and after the multi image bootscreen I only get a black screen. No userinterface is showing up. The only thing what is working is the power menu. The 4 entries restart, shutdown, flight modus and vibration are shown in front of a completely black Background.
So, the phone is obviously booting up fine, but it fails to start the user interface correctly. Is there any way to repair this thing, for example by resetting all the app permissions? I found the command
Code:
adb shell pm reset-permissions
but I've got ADB disabled within the rom and with the factory test mode the command fails, because it says that the device must be up and the package manager must be running for the operation. So at the moment I see no way for resetting the permissions without a full wipe... Is there still hope?
I would really appreciate any tipps!

Did you try this?

Related

Issues After Root - Rotation and Encryption

Howdy,
I got a new Note 4 from Bell Mobility about a month ago...
I updated the software, rooted it and installed the Wanam modified Xposed framework.
I have lost the automatic rotation, except for the built in camera software. Nothing else will auto-rotate. Checked the gyroscope and checked a few 'leveler' applications - all tests pass. Oddly I noticed the camera software still auto-rotates, no idea why it is special.
I tried the Wanam Xposed module to 'Enable all rotation angles' it has made no difference. With screen rotation software, currently have "Rotation - Orientation Manager by Pranav Pandey" installed. Auto-Rotate On and Forced Auto-Rotate neither option will rotate the screen when I turn my phone. If I choose Forced Landscape, it will go into Landscape mode. The only way to return to Portrait though is to use one of the Force Portrait options though.
My other issue is with turning on Device Encryption... Using SuperSU Pro for su..
If I just go through the prompts without changing anything, it reboots but doesn't encrypt.
First I tried installing as a system app so I could use the Disable function in the Android Application Manager, as I did with my Note 2, SuperSU tells me "Not (currently) available in system-less root mode".
If I turn off "Enable Superuser" in SuperSU, encryption enables properly, but I am unable to turn the "Enable Superuser" again, it says it has to update, but the fails. Suggests a reboot and try again. Sadly, this did not help.
I had success with one of the exploit root methods, KingRoot. While this worked when my phone was encrypted, it wasn't stable and kept popping up stuff. I tried to replace it with SuperSU, there are a few guides written to do just that, but they all indicate that it is very hard to get rid of, regardless, none of the guides worked for me. I ended up resetting the phone and starting over...
I tried the CLI command to start the device encryption from a # prompt..
vdc cryptfs enablecrypto inplace password 1234567890abcdef
The phone rebooted a couple times, but took a very long time (hour plus) to come back to the Android Lock-Screen.. But still a non-encrypted device. If I intrupted the process because I thought it had crashed, it started up and immediately told me something when wrong with the encryption and I need to use Recovery to reset the device..
As for root methods, I was using the CF-Auto-Root at first, trying to look for solutions to both issues, I tried a few ways of getting SuperSU installed.. The last time I reset I tried the "SkipSoft Unified Android Toolkit" method. 'Grasping at straws' to get SuperSU installed into /system so can use the Applicaiton Manager to disable and enable it...
My mobile's specifics, if it matters..
Samsung Galaxy Note 4
Model number - SM-N910W8
Android Version 5.1.1
Baseband version - N910W8VLU1COK3
Build number - LMY47X.N910W8VLU1COK3
Currently have the Team Win Recovery Project v2.8.7.0 recovery software installed.
I am looking for suggestions for both issues, but really want to avoid resetting the phone if I can at all possible... Yes, I have Titanium Backup Pro installed, but have never actually gotten a restore to properly restore all my applications and data... I rely on it now just for the Uninstall and Freeze features.
For an update,
I also noticed that rotation works on the Lock Screen and in the camera applicaiton.
If I rotate my screen on the Lock Screen, the red handset picture and camera icons rotate.
If I rotate in the camera application, nothing changes position, but all the icons rotate as well.
I'm still completely stuck though, open to suggestions...
For rotation, it is likely caused because you removed the com.thingy.facebook system app. I tried removing it because I thought is was bloatware but read somewhere that messing around with it cause the auto rotate and pedometer to fail. I fixed it by reflashing the rom without data wipe then never removed it again. Page Manager is safe to remove though.
uchihakurtz said:
For rotation, it is likely caused because you removed the com.thingy.facebook system app. I tried removing it because I thought is was bloatware but read somewhere that messing around with it cause the auto rotate and pedometer to fail. I fixed it by reflashing the rom without data wipe then never removed it again. Page Manager is safe to remove though.
Click to expand...
Click to collapse
Thank you,
I had it frozen for a while, completely uninstalled it, trying to see if lack of space was why I couldnt' get SuperSu to become a System App..
I will try to put the facebook app back to see if that helps. Hoping I don't need to do a ROM reset, but if that is what it takes.
kevinds said:
Thank you,
I had it frozen for a while, completely uninstalled it, trying to see if lack of space was why I couldnt' get SuperSu to become a System App..
I will try to put the facebook app back to see if that helps. Hoping I don't need to do a ROM reset, but if that is what it takes.
Click to expand...
Click to collapse
Thank you http://forum.xda-developers.com/member.php?u=5047956
I tried installing FaceBook from the PlayStore, no change.. So I uninstalled it again.
Took a backup in Titanium Backup and in TWRP.
From the stock image, I extracted system.img.ext4 and used SkipSoft's application to make just this file Odin flashable..
Flashed it.. When I got back to Android, my phone hadn't reset (what I was going for ), rotation is working, SuperSU still giving root access
I went back into Titanium Backup, the freshly installed apps were listed on top, because there was no backup of them.
Froze each, one at a time and checked the rotation after each.. Froze all the apps with no backups, and rotation stayed working, which I thought was odd for what fixed it.
So.. The Facebook applications are all frozen, as they were before I erased them the first time, and rotation still works. Hurray..
Now for the device encryption, I will keep messing with it.. Trying FlashFire to mount System as RW and to write the newest version of SuperSU, hopefully it will install to System this time.
Thank you again.
kevinds said:
Thank you http://forum.xda-developers.com/member.php?u=5047956
I tried installing FaceBook from the PlayStore, no change.. So I uninstalled it again.
Took a backup in Titanium Backup and in TWRP.
From the stock image, I extracted system.img.ext4 and used SkipSoft's application to make just this file Odin flashable..
Flashed it.. When I got back to Android, my phone hadn't reset (what I was going for ), rotation is working, SuperSU still giving root access
I went back into Titanium Backup, the freshly installed apps were listed on top, because there was no backup of them.
Froze each, one at a time and checked the rotation after each.. Froze all the apps with no backups, and rotation stayed working, which I thought was odd for what fixed it.
So.. The Facebook applications are all frozen, as they were before I erased them the first time, and rotation still works. Hurray..
Now for the device encryption, I will keep messing with it.. Trying FlashFire to mount System as RW and to write the newest version of SuperSU, hopefully it will install to System this time.
Thank you again.
Click to expand...
Click to collapse
This is amazing, can you please post the odin flashable file? I am having this exact problem right now because I removed it in TB. Is it just the facebook file that are flashed? Thanks so much in advance, you're saving my life here

System UI Permacrashed (systemui tuner)

I screwed up pretty bad. Every since i started using System UI tuner (the app) any changes to the phone like changing resolution and stuff would cause SystemUI to close down and the phone had to be restarted, but it was fine because it worked after the restart. Earlier today i put it into maximum power saving mode and it crashed the same way but every time i restart it shows the "SystemUI has closed" right as the phone boots up and i have a black screen and i can only turn off or restart.
The creator of the tuner app had 3 solutions to this problem. a simple restart , which didnt work
The second was solution was to input something using the adb but adb never connects because Maximum power saving mode disables Usb Debugging (fml..)
And the third one was to send him some file on ur phone and he'd send u back a fixed one but thats prob not gonna work cause i cant usb transfer anything onto it anyways.
I tried backing up using TWRP , wiping everything and restoring but the same issue happens
Is there anything i can do other than a complete wipe? Like is there maybe any way to uninstall or remove the SystemUI tuner with TWRP. or maybe put myself out of maximum power saving mode or something like that? Please help..
From twrp you should be able to navigate to data/app and delete the app from there. Long shot but might worth the try.
Use Safe Mode to uninstall SystemUI Tuner
Same thing happened to me on S8+
It would go straight to a black desktop and I could pull down notifications and use the nav keys at the bottom but couldn't do anything else.
Eventually I noticed the little message come up like you mentioned and realized it was related to SystemUI Tuner so I started in Safe Mode and uninstalled the app.
Once uninstalled the issue went away. I ended up reinstalling and use SystemUI Tuner but I am more careful and I know what to do if that happens again. Maybe if Samsung didn't remove so much and lock down the rest we wouldn't have to do this just to use a built in android feature.
have you found a solution to your problem? the same thing just happened to me today :crying:
bobak617 said:
Same thing happened to me on S8+
It would go straight to a black desktop and I could pull down notifications and use the nav keys at the bottom but couldn't do anything else.
Eventually I noticed the little message come up like you mentioned and realized it was related to SystemUI Tuner so I started in Safe Mode and uninstalled the app.
Once uninstalled the issue went away. I ended up reinstalling and use SystemUI Tuner but I am more careful and I know what to do if that happens again. Maybe if Samsung didn't remove so much and lock down the rest we wouldn't have to do this just to use a built in android feature.
Click to expand...
Click to collapse
Have the same issue but going to safe mode, its also a black screen with no other option
balistaman said:
Have the same issue but going to safe mode, its also a black screen with no other option
Click to expand...
Click to collapse
A little search found this : forum.xda-developers.com/showpost.php?p=72413941&postcount=283
bobak617 said:
Same thing happened to me on S8+
It would go straight to a black desktop and I could pull down notifications and use the nav keys at the bottom but couldn't do anything else.
Eventually I noticed the little message come up like you mentioned and realized it was related to SystemUI Tuner so I started in Safe Mode and uninstalled the app.
Once uninstalled the issue went away. I ended up reinstalling and use SystemUI Tuner but I am more careful and I know what to do if that happens again. Maybe if Samsung didn't remove so much and lock down the rest we wouldn't have to do this just to use a built in android feature.
Click to expand...
Click to collapse
jkolner said:
A little search found this : forum.xda-developers.com/showpost.php?p=72413941&postcount=283
Click to expand...
Click to collapse
Thanks but non of those works since adb is disabled in ultra power saving mode
Go to TWRP and restore from your backup
Flash a new ROm, or the stock ROM
Go to TWRP, open a shell and run the same command as adb.
andy_n_ said:
Go to TWRP and restore from your backup
Flash a new ROm, or the stock ROM
Go to TWRP, open a shell and run the same command as adb.
Click to expand...
Click to collapse
Factory reset will fix it too. Don't use systemui turner without adb on its dangerous

PLEASE HELP! Substratum messed my galaxy s8 up.

After I applied a skin, it instantly crashed with a message saying "the system ui has stopped".
I can't get in to my phone. Only the always on display is available as of right now.
I have tried ejecting the sim, booting it in to safe mode.
My phone is not rooted and I don't plan on rooting it. I haven't registered bixby so I can't put it in to max power saving mode.
I don't know what adb shell is. Please can anyone help me save my phone? I am so desperate.
PLEASE HELP. MY PHONE IS A BRICK.
Can I save my phone without a factory reset?
I was on Oreo Beta.
Please help. Thank you
once in safe mode, see if you can disable substratum or perform a factory reset.
Ok dont panic i also had trouble after applying substratum, First my phone became very laggy and then apps stopped working with constant crashes. Eventually the phone became unusable. A factory reset solved the problem for me, if you cant get into the phone use samsung smart switch you should be able to reset it from there and try back up your data.
You could also try flashing a rom to see if this would help.
If you can't delete the overlays from safe mode then you'll have to perform a factory reset. The only other way I would assume is unfortunately uninstalling the overlay apks through adb but then you need to know the full name of the apks you want to delete. by using adb you could find the names of all installed apk but then again.. could be a reason to learn to use adb
Thread cleaned No need for rude comments guys Lets keep it on track....

Pin Problems on PH-1

PH-1
Oreo 8.1b
Magisk 16
So today I got tired of Google Play Protect's annoying message about ViperFx being a dangerous application to have installed. I go into Magisk Manager and under Magisk Hide I select ViperFX thinking it may fix the issue somehow. Instead this causes Viper to crash over and over and the only way to get rid of the crashing popup was to reboot my phone.
To my horror the first attempt at booting up failed for some reason (I believe the error said android system failed to start) so I power it off and turn it on again. The second time it booted like normal but only this time my pin is registering as incorrect. Now I'm afraid I won't be able to get into my phone without a factory reset. My bootloader is unlocked, I have access to it via fastboot and adb. I know which files in /data/system I need to delete to get the pin removed but for some reason once I'm in adb shell the su command doesn't work. I'm trying to avoid factory resetting my phone so any help from the community would be greatly appreciated.
edit: I just went ahead and did a factory reset

Question [Help] Nothing Phone 1 Bricked After Restoring with Titanium Backup

Hello XDA community,
I recently purchased the Nothing Phone 1 running on the latest version of Android 13. After rooting my phone using Magisk, I installed several Magisk modules which worked fine initially.
Here's a list of Magisk modules that I installed in chronological order:
Font Manager
NotoCJK
Fullscreen/Immersive Gesture
G-visual (later closed as I didn't see any effect)
Shamiko
DRM disabler
Revanced Youtube
Webview Manager (replaced with ungoogle chromium)
Nexus Media Before installing the 10th module, I took a full backup of my device using Titanium Backup. However, during the backup process, it got stuck while backing up a file named "Media 13-9427200." After several attempts, I had to cancel the backup for this file to complete the backup process.
Pix3lify (failed to unpack boot image and finally used slim mode)
Safetynet fix
After installing the 11th module, I went to bed and installed several applications before sleeping, such as Kiwi, Shizuku, App Ops, Buzzkill, Automate, Vmos, Brevent, and Greenify.
12.Audio Modification Library
13.Ainur Narsil
After installing the 13th module, I noticed that my phone started behaving abnormally, and it would automatically reboot. Every time I start the phone, the interface freezes after two minutes, and it restarts automatically after several seconds. This scared me, so I uninstalled all the Magisk modules and applications installed after the 11th module and disabled the two audio modules, but it didn't seem to work. So, I turned off the phone for a few hours, and it seemed to work fine after that.
When I tried to log in to my Reddit account, I found that I couldn't use "Continue with Google." When I went to the Google section in Settings, I found that I couldn't open it either.
I searched for solutions online and found that the problem might be due to the Webview. I replaced it with Ungoogle chromium and downloaded the latest version of Android Webview from the Play Store and disabled WebView Manager. But nothing worked. I tried updating the Carrier Services and clearing the Google Service's cache, but it didn't work either. (All Google apps can be opened and used normally.)
After updating the WebView, things got worse. I use a third-party launcher called Smart Launcher, and I have many customized app icons. I found that all customized app icons no longer work, only the native icons can open the app.
I am really frustrated and everything seems out of my control. I decided to restore all the data from the backup I made last night using Titanium Backup (in snap mode). Unfortunately, after the restore was complete and I restarted the phone, I found that my phone was bricked. I can see the boot animation and select the launcher, but once I choose the launcher, the screen goes black, and I cannot do anything. I am also unable to enter Safe Mode as it keeps restarting.
At the same time, I used a software control my phone. I can see NOTHING in sdcard.
What can I do? Is there any way to fix my phone and preserve my data? If not, I am willing to wipe all my data. Also, if I restore my phone to factory settings, can I still use the backup data I made with Titanium Backup?
Thank you in advance for your help.
Additionally, please find attached a screenshot of the only interface I can see on my phone after booting up.
Seems you've broken lot of system apks , clearly Nothing Launcher is first . See if you have a intact bootloader and use fastboot commands to flash the launcher but I'm quite sure there many culprits in system .
So maybe short way is to flash entirely system image shown here in one of all threads about phone unbrick
muppetz said:
Seems you've broken lot of system apks , clearly Nothing Launcher is first . See if you have a intact bootloader and use fastboot commands to flash the launcher but I'm quite sure there many culprits in system .
So maybe short way is to flash entirely system image shown here in one of all threads about phone unbrick
Click to expand...
Click to collapse
Thanks for your advice!

Categories

Resources