After the battery ran out my Fxtec Pro1 stock Android (rooted) is in a lockscreen loop: I enter my PIN, the screen turns black and then it's back to the lockscreen.
Occasionally it manages to go a step further and show a dialogue "SystemUI keeps stopping". Any touch event or keyboard event returns it to the lockscreen. The same behaviour happens in Safe Mode.
I have debugging enabled and adb authorized, I have TitaniumBackup and was able to pull the TitaniumBackup files, as well as the internal storage. So mostly everything is good, except that I'd like to get a backup of my Signal Messenger chat history.
My questions:
1) What are my options to rescue my phone without needing to flash and install everything again? (Just asking in case I overlooked any options here, that would be the easiest to just fix the "SystemUI keeps stopping")
2) The Signal Messenger backup thing is strange: I have it in signal enabled, afaik it should run daily, but the folder "sdcard/Signal" is empty (at least according to adb).
3) With `am start -n com.termux/.HomeActivity` I can start things, I also see that they are started, but then I can't do `input text` to actually do something. What are my options from adb? Can I send inputs directly to an app starting?
4) Incoming phone calls work, so I am wondering: Could I create an app that runs in front of the lock screen, ideally sth like Termux, then I could do everything?
5) Maybe any chance to install and run an ssh client? Ideally in termux, because it already has su rights.
Thanks a lot for your help!
Related
You know how when you first set up the phone, let's you swipe up on the lockscreen to start right away, or down to "tune a few things first?" Well my phone repeatedly keeps doing that any time the lockscreen comes up, like whenever I turn it on or when the phone sort of crashes. When it happens, I have to wait for No Lock to disable the screen again, because if I use either option, the animation freezes half way through the unlocking and the phone crashes, going to a black screen and I have to turn it off to get it to work.
I thought it might be due to system apps I froze with bloat freezer, so I unfroze them one by one and did resets, to see if that solved it. I did this until everything was unfrozen, to no avail. I thought maybe it was due to a glitch in the extended controls widget I used to disable the lock screen, so I switchedto no lock; same problem. I don't knowb what else to do. Any ideas?
God I hate samsung and their glitch riddled android hacks. They improve literally nothing from stock android, its just glitchy hacks and downgrades.*prays for the next nexus to have a hard keyboard.*
Just fixed the same issue with my sk4g. I tried installing with terminal and various install apps, no dice. There is a workaround until you get the apks back in place. Turn on the pattern lock and set it. When the curtain lock comes up DO NOT SLIDE IT, just open the screen and the pattern lock should pop up. First install Systemapp Remover, if not done already. Download the dump in development section and pull the apks from the app folder. The two apks causing the error are PhoneSetupWizard.apk and Learn.apk(maybe not learn but i did both to be sure also copy/paste the .odex files). Make sure neither can be seen in the system app list in Systemapp remover, if they are there uninstall them. Take the apks from the dump and copy/paste them to SysteAppBackup folder on the sdcard. Go to the restore menu in Systemapp remover and tap to restore each apk. Reboot and all should be well. Thanks to the kind people of xda for this, not me.
edit>>> Run the setup wizard and uncheck the data options to stop maps from running all the time for no reason.
Hey. I seem to have a problem with my phone.
Last night I was playing with my Sensation XE, and noticed that there was an app called "Wallpaper" taking up 60mb of memory, which was the biggest app at the time. I closed this app, and everything was fine, but it appeared again later. This time I cautiously disabled the app, and then checked that my wallpaper was still working OK, and I changed it a few times to make sure that was fine still, then carried on playing some games, and everything was peachy.
However, this morning I unlocked my screen to find a black screen where my phone used to be. The status bar at the top is there, and still works fine, and can be pulled down showing notifications, but even clicking on those notifications does not bring up the associated app onto the black screen below. Accessing the settings menu via the status bar also does not work, although it appears to open somewhere, as it appears in the recently used apps on the status bar menu.
Does anyone have any suggestions how I can re-enable this wallpaper app? Or any way to recover my phone? I have a previous backup from 1 month ago. Can the system state be recovered from that?
Thanks in advance for any help.
HTC Sensation XE
Flashed with Android Revolution HD 6.5.5
possible solution
hmmmm. have you used a task killer to keep the app disabled??
you could try to use adb ro remove the app entirely, and then use adb to reinstall it followed by a reboot. best make a full backup though incase it goes tits up. worst comes to worst do a backup of your rom, wipe and start fresh and reinstall apps from the backup.( i think thats possible )
heavy_metal_man said:
hmmmm. have you used a task killer to keep the app disabled??
you could try to use adb ro remove the app entirely, and then use adb to reinstall it followed by a reboot. best make a full backup though incase it goes tits up. worst comes to worst do a backup of your rom, wipe and start fresh and reinstall apps from the backup.( i think thats possible )
Click to expand...
Click to collapse
Thanks for the quick reply!
I haven't used a task killer for the disabling. I disabled it in the system page for the app. Where it usually has Force Stop, Uninstall, Clear Data etc. The uninstall option had changed to Disable.
I have used adb a couple of times in the past, but not extensively. Any chance you could run through the commands required?
al090187 said:
Thanks for the quick reply!
I haven't used a task killer for the disabling. I disabled it in the system page for the app. Where it usually has Force Stop, Uninstall, Clear Data etc. The uninstall option had changed to Disable.
I have used adb a couple of times in the past, but not extensively. Any chance you could run through the commands required?
Click to expand...
Click to collapse
I think the best thing for you to do would be plug into computer with usb debugging enabled.
Then run "adb reboot recovery"
from there reflash your ROM (a full wipe shouldnt be necessary)
then reboot and you should be good
Fixed
After many hours trawling google to try and find an answer, I finally found something.
http://forum.xda-developers.com/archive/index.php/t-1151150.html
I had no idea what the disabled app name was though, so I used the following to list the disabled packages.
Code:
pm list packages -d
The command needed to enable the apps was
Code:
pm enable APPNAME
Did a restart, and now everything seems fine again. That's possibly the last time I play with things on my phone.... Or maybe not.
Thanks for your help and time =]
Edit: Just to let anyone know, these commands are performed using a remote shell interactively through adb.
glad you got sorted buddy, and thats handy to know!
I think I killed my phone hahaha! Right when I need it for job interviews :silly:
So I rooted my phone, installed Titanium backup to uninstall useless applications on my LG optimus one (LGP500H). Started backing up everything and removing one application at a time, being careful. When I got to "Nuance", I thought it was a useless program for voice control, so I backed it up then uninstalled. Then before it finished (Or after, I don't know), "force close" messages kept looping and I couldn't get out. So I restarted my phone (managed to do this between two "force close" messages).
Surprise, my phone reboots, but to a black screen with only the notification area up top. When I lock then unlock the screen, I see my background, then I swipe to unlock the screen and it goes back to that black screen. Even the "Search" hard button does not show up anything. So all I can do is check my notifications, turn on/off the wireless, gps, data, sound. Nothing else.
So I decided it was time to install CyanogenMod, but found out you absolutely need to install ClockworkMod to reboot in recovery mode. So I'm stuck. Can't do anything, can't find on google how to flash CM without ClockworkMod, no idea what is the problem.
I even tried to reset to factory default, I get past the configuration screens to choose the language and the time, then it goes back to the black screen. So I need to completely wipe my phone and replace it with cyanogen mod, I think it's past trying to recover anything.
I saw one other guy with that problem on google and nobody really answered.
EDIT:
I think maybe I just found out that I might have deleted the home screen somehow? although I didn't delete anything that I wasn't sure of.
If anybody else has this problem and can't get an answer like me, I figured out the solution.
Send a message text to your phone from a friend's phone with a link to the market for any application. Then find Titanium backup and install it. you will be able to run it from the notification area, then find your backups, and reinstall them. Boo-yah!
This thread was originally titled "System wide problems", please see the reply for the solution.
Original post:
"Hi all,
Been forever since I've made a post to XDA, but I have a problem I'm not able to solve without taking an inconvenient plunge. I should mention that my phone was 100% fine yesterday evening, but since I was asleep last night it seems to have run out of battery, so this morning I charged it a bit, then I turned it on to a world of problems.
Ok, so let me run through a list of just a handful of the problems I'm having right now...
Totally stock (not rooted) Nexus 5 running Android 6.0.1 (Security: 1 March 2016)
1. Home and App switch soft keys don't work
2. Notifcations are not working at all
3. Notification shade wont pull down
4. Widgets cannot, and will not load
5. Cannot get into Developer options "Developer options are not available for this user"
Seems I'm not the only one to experience the strange bug, some folks over at Android Central were experiencing the exact same thing toward the end of last year.
http://forums.androidcentral.com/an...me-button-not-working-many-more-problems.html
Some people to have resolved this issue using "adb shell am start -n com.google.android.setupwizard/.SetupWizardTestActivity" but I cannot get into Developer options to turn on USB Debugging (unless I don't need to?)
What I've tried already...
1. Cleared all Google App data "CLEAR ALL DATA"
2. Tried to make another user, just flashes and goes back to "Opula" my main and broken user profile, never creates the other profile, same thing happens when I press on Guest too
3. Safe mode, but the problem persists there too
4. Virus scan, turned up a whole lot of nothing
I'm now at the point where I'm thinking I'm going to have to do a Factory data reset (the "inconvenient plunge"), even though I think I've backed everything up the "Touch to sync" option on my Account > Google doesn't do anything, neither does the "Sync now" from the drop down menu. So despite having explored my Google account on my desktop I cannot see if it has backed up my Apps and App data, but it seems to have backed up my contacts and such.
I'm going to get a third party app to back up as stuff as I possibly can as well, but even Helium is useless now since I cannot get into the Developer options so enable USB debugging.
Anyone got any experience with this issue or how to resolve it?
Many thanks to everyone in advance."
Hi all,
Just wanted to update this thread to say that I did a factory reset and the phone is now fixed, but I wouldn't to give a more comprehensive account of the problems I was experiencing with the phone until I did the factory reset.
List of problems
Home and app-switch soft keys not working (back key is working)
Google Now 'on tap' not appearing (cause of home key)
Cannot see notifications just says "No notifications" (but the light and sound work fine when a notification is received)
Cannot pull down notification shade to toggle controls
Widgets cannot be added and will not load
Cannot pull down the immersive mode overlay
Google Backup not working (after 8+ days)
All types of syncing not working
Phone's storage doesn't appear on PC when plugged in via USB
Cannot access developer options (due to active profile level)
Cannot create or switch users
The best advice I can give to mitigate such an unusual problem (that appeared totally out of the blue on a cold boot) is use Google Backup services, keep on top of syncing, and manage your data via your Google account! Or as an alternative, manage and maintain manual backups.
Background: I'm on a Pixel 3a running the January update (QQ1A.200105.002). Unlocked, stock, rooted with Magisk v20.2. Only using 3 Magisk modules (systemless hosts enabled for ad blocking, YouTube Vanced, and a custom font).
What happened: While cleaning my screen with a microfiber after work a few nights ago, I accidentally launched the SystemUI Tuner. I had created a gesture within Nova Launcher to access the SystemUI Tuner. It launched and toggled the "plugins" setting on & off. Afterward, I cursed myself for not disabling that gesture after I was done with the tuner, and I went to the homescreen. My wallpaper was gone and the background on my homescreen was black. Also, my 2 button gesture navigation was not present and my status bar was gone. I rebooted. This is when I found myself in a bootloop at the "Pixel is starting..." screen (a screen I had never seen prior to this).
Attempts to fix: Through a tip from another user I was able to get back into the phone by disabling my PIN screen lock security via adb. I did this by launching Settings via abd with:
Code:
adb shell am start -a android.settings.SETTINGS
Then I disabled all lockscreen security. I also was able to backup all data on internal storage. The phone boots (sort of) now, albeit without many SystemUI elements (e.g, no gesture navigation, status bar, notification panel, wallpaper, etc.). Still shows the "Pixel is starting" boot screen beforehand. It's unusable as a daily, but I really don't want to wipe and set up all over again if possible. Does anyone know where in /system the settings data for the System UI Tuner is stored? Another user suggested I look for: data/data/com.android.sytstemui.tuner. That directory does not exist, unfortunately. The user experienced this same series of events (i.e., toggled SystemUI Tuner "plugins" and ended up with no wallpaper at the "Pixel is starting" loop). This user tried sideloading the corresponding OTA image, flashing a full system image with "-w" removed to save data, safe mode. Nothing seemed to help. Before I spend hours setting up my phone after a clean install, does anyone have any thoughts or suggestions?
i95swervin said:
Just wipe data. Doesn't take that long to set stuff back up.
Click to expand...
Click to collapse
That's all kind of relative to your set-up and how busy you are... I'm an RN with a little kid at home school. Time is priceless. Maybe I should post in the general Q&A and see if anyone knows where that directory might be hiding.
i95swervin said:
I mean... You knew the deal tinkering with your phone in the first place. It really doesn't take that long and I find myself pretty damn busy all the time. Good luck on your Easter egg hunt finding the directory.
Btw thanks for being front line as a RN during these wild times.
Click to expand...
Click to collapse
Oh I definitely understand the risk, and I'm more than willing to flash clean and set up again. I was really just posting a last ditch effort to see if I could avoid it. Clearly, a full wipe is in my not so distant future. Thanks for your kind words.