Is USB Debugging in dev options settings working for you? - Honor 6X Questions & Answers

Hi.
In my Dev settings, if i turn on the USB Debugging, i notice that it switches off immediately as soon as I move to another app or I go back to launcher.
This is quite strange and a lot annoying, because I cannot use properly Titanium backup.
If I back up apps, then when I try to restore them, Titanium goes in a continuous loop and I am forced to stop it or it will stay forever in that situation.
I read in some forums this is the most probable cause, but i would like to know if someone is experiencing the same....
At the same time, a warning when i open the app tells that the "Mount namespace separation" in SuperSU could affect Titanium too...
Ah, and the uninstalling feature (in titanium) is not working properly too: apps are not uninstalled properly and I have to do it with the system app.
Any ideas?
Thank you.

nobody has this issue or something similar?

I have exactly the same problem. Is there a solution for this?

It works for my friend though.

Related

Backup application settings without root?

Is there any way to backup the app settings without rooting?
I do not currently have access to a Windows machine to root my phone but I badly need to restore factory settings as the camera keeps force closing when I switch into video mode.
not possible without root.
You could try clearing the cache.
If you're not taking 3D pictures, you can also try download a new video recording app for now till you can root.
Thanks, I managed to find the Linux rooting method so got it all sorted now.
I still seem to be having issues with the time and widgets on the home screen sometimes freezing though, it must be one of my apps as even from factory settings it triggered it after recovering my backup. I ended up reinstalling most stuff from Market and just using Titanium to restore data where absolutely essential, seems to have reduced the problem.
That said, the problem is like that - one minute it will work fine then suddenly one day the time and widgets will fail to work whenever WiFi is connected. Wish I knew what was triggering it, I'm hoping its a glitch with an app that doesn't like Froyo and it will magically go away with Gingerbread.

[Q] Disabled app. Now phone won't work

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!

[Q] Missing write access?

Got my OPO yesterday, very happy with it, rooted and got Xposed in the first 20 minutes after updating as I have with all my Android devices. Unfortunately I noticed a few problems today.
File manager won't let me move, copy, or create files. It seems to be fine with deleting, but trying any of the former yields a "Requires elevated permission (root)" despite the fact that I have already set File Manager to rooted mode and granted it permission in SuperSU. Other file managers yield the same result.
I can't take screenshots, or let other apps take screenshots. Stock screenshot will give me a notification saying "Couldn't save, storage in use."
Similarly, Snapchat and Keepchat won't let me save my own or others' snaps.
I can restore Helium backups, but I can't create a backup. Made sure Helium has the proper permissions too.
I'm pretty sure this isn't app-related or root-related, but rather something preventing me from writing to /storage/emulated/legacy.
Things I've tried (to no avail):
Fixing permissions in TWRP
Unrooting
Uninstalling Xposed
Factory resetting
Searching for a fix on XDA and the OPO forums, all of which have led me to try the former three solutions which failed.
Also completely unrelated, but sometimes pressing the lock button won't wake my device; the hardware buttons glow as if the device is on, but nothing happens after that and the device won't wake up so I have to reboot. This is a somewhat rare problem however.
Any ideas for either problem? Thanks in advance.

The phone does not wake up properly after flashing Oreo?

Hi there, your comments would be greatly appreciated.
To keep data, I flash the whole 8.0 stock firmware after removing -w.
After using days, the phone can't be easily unlocked, even by power key or by FPR. Sometimes, I need to wait a more long time for the phone waking up.
Sometimes the incoming call can't even wake it up, I can't answer the call.
Have reflashed the firmware with -w available then restore all my app via titanium backup. the issue persists.
Please help! How to tell which app prevent the phone from waking
Try factory reset and not restoring data with titanium rather Google backup
Sent from my Pixel using Tapatalk
Thanks. have tried clean install. everything is fine before restoring data with titanium.
So there must be some app which prevent phone from waking. Is there any chance of find this app.
PunishedSnake said:
Try factory reset and not restoring data with titanium rather Google backup
Sent from my Pixel using Tapatalk
Click to expand...
Click to collapse
I'd say just start over....
I'd say it's titanium backup restore itself
Sent from my Pixel using Tapatalk
thank you dude, will take a try.
If the issue persists you could give a list of the apps you install if you don't mind.. maybe we can figure out which one affects the unlocking. :highfive:
Sent from my Pixel using XDA Labs
I'm having a similar issue, but in my case I'm having trouble waking up the phone after it's been unplugged from the charger. If I use my phone all day after a full charge (and after rebooting), it's silky smooth, but the second I plug it in, the issue starts until I reboot again.
It might be extreme, but I've done this multiple times on previous phones. I restore half my apps, say the ones starting with A through M. If there's no problem, then I install half of what's left, say N through S, etc. Keep doing this as a process of elimination. Yes it's tedious but eventually you can narrow down the problem app and/or app data. You could also try restoring all of your apps without data, and if there's no problem then restore the data for half of the apps, etc.
Otherwise, as @PunishedSnake said, don't restore data (or even apps) at all with Titanium Backup. It sucks but we all occasionally have to do that.
I've since factory reset my phone with minimal app installation (no Google restoring of apps), but am still experiencing this frustrating glitch, even with/without unplugging the charger and rebooting.
Debating whether or not I should root (and downgrade).
Safe Mode fixed the problem. I will try to find the apps which prevents the phone from waking up.
How can I do this.
boojay said:
I've since factory reset my phone with minimal app installation (no Google restoring of apps), but am still experiencing this frustrating glitch, even with/without unplugging the charger and rebooting.
Debating whether or not I should root (and downgrade).
Click to expand...
Click to collapse
bush911 said:
Safe Mode fixed the problem. I will try to find the apps which prevents the phone from waking up.
How can I do this.
Click to expand...
Click to collapse
I think I've found the problematic app in my case. I've been using immersive mode through Custom Navigation Bar and after disabling it, my phone has become responsive again. After double checking the app's description in the Play Store, it seems the dev hasn't updated it for Oreo yet.
#FirstWorldFragmentationProblems
Edited: In order to fix this problem, simply use Tasker to disable Custom Navigation Bar's Immersive mode whenever you turn off the screen, and re-enabling it either when you unlock the phone, or only for specific apps (which is what I do).
Yes. try to enable immersive mode via this command
adb shell settings put global policy_control immersive.navigation=apps,-com.google.android.googlequicksearchbox
now everything is fine.
boojay said:
I think I've found the problematic app in my case. I've been using immersive mode through Custom Navigation Bar and after disabling it, my phone has become responsive again. After double checking the app's description in the Play Store, it seems the dev hasn't updated it for Oreo yet.
#FirstWorldFragmentationProblems
Click to expand...
Click to collapse
bush911 said:
Yes. try to enable immersive mode via this command
adb shell settings put global policy_control immersive.navigation=apps,-com.google.android.googlequicksearchbox
now everything is fine.
Click to expand...
Click to collapse
Glad to hear you were able to resolve your problem. In my case, I actually don't want immersive mode activated all the time so I may still have to root in order to selectively choose which apps I apply this command to.
Edited: In order to fix this problem, simply use Tasker to disable Custom Navigation Bar's Immersive mode whenever you turn off the screen, and re-enabling it either when you unlock the phone, or only for specific apps (which is what I do).

Question App settings not being saved (Solved)

Just like it says. I am having a issues with some apps not saving after I set them. It happens when I shut the app down or reboot and I find that the phone is not doing what I set for the app. I open the app to check the settings and it has all been erased like new. If I keep the app open it runs all the settings correctly and saves them but as soon as I close the app or reboot it some of those apps default like it is a brand new app. Any thoughts?
Thanks
bump...
stalls said:
Just like it says. I am having a issues with some apps not saving after I set them. It happens when I shut the app down or reboot and I find that the phone is not doing what I set for the app. I open the app to check the settings and it has all been erased like new. If I keep the app open it runs all the settings correctly and saves them but as soon as I close the app or reboot it some of those apps default like it is a brand new app. Any thoughts?
Thanks
Click to expand...
Click to collapse
Thats been happening with me. SEVERAL apps, system apps included, that I know I've setup/logged into suddenly will ask for setup when I launch them
K1nsey6 said:
Thats been happening with me. SEVERAL apps, system apps included, that I know I've setup/logged into suddenly will ask for setup when I launch them
Click to expand...
Click to collapse
Man I hope someone can help us out with a lil insight. Thanks for the reply. I thought I might have screwed up a few things while setting up this new phone. I am on the latest build stable.
is it the permissions being cleared because its being "Paused". under the app's app info page there is a toggle Unused app settings--> Pause app activity if unused. make sure this is off.
zero_ap said:
is it the permissions being cleared because its being "Paused". under the app's app info page there is a toggle Unused app settings--> Pause app activity if unused. make sure this is off.
Click to expand...
Click to collapse
No that doesn't appear to be that either. I checked all the apps that seem to be having this problem. Unfortunately that isn't it either. Thank you for the suggestion! IDK if a reflash without wiping would help?
I have never seen this or experienced it. Have you done "something" different? Tried to root, or install a ROM, or...???? If it keeps happening EVEN to native/default/system apps then I would recommend a factory reset with a low level cache wipe...if it can be done on this phone.
stalls said:
No that doesn't appear to be that either. I checked all the apps that seem to be having this problem. Unfortunately that isn't it either. Thank you for the suggestion! IDK if a reflash without wiping would help?
Click to expand...
Click to collapse
I would go for the reflash, and in the end, go for a clean flash.
I didn't experience this problem, but I did have an issue where every time I set a conversation as a priority, the second I left that screen, it reset back to default. I don't have the issue now, but I've also reflashed since then.
I have fixed it by wiping the affected apps data and then uninstalling them and readding the settings. Thanks guys!

Categories

Resources