hello,
i tried to get google chrome working in desktop mode permanently and found this how-to: https://forum.xda-developers.com/showpost.php?p=72805301&postcount=128
but under point 2 of the how-to i need to enable chrome as debug app in the developer options. the entry "select debug app" is there but there is no option to choose chrome. how can i get chrome in debug mode?
my OP5 is running on OOS 4.5.5 rooted with magisk.
no idea how to put chrome in debug mode?
satand said:
no idea how to put chrome in debug mode?
Click to expand...
Click to collapse
you need to connect your phone to the computer and make sure that USB Debugging is enable to use ADB commands
then run the following commands
adb shell am set-debug-app --persistent com.android.chrome
this will make chrome as a debug app
then push the file chrome-command-file to this location
/data/local/tmp
hope this helps
Related
So, my digitizer is broke and I can't see anything or use the touch.
I am able to get into recovery mode with ADB and I tried some echo lines to manually activate debug mode, so that I can have my device authorized to use with ADB afterwards.
I'm trying to use Androidscreencast, but I need to make it work with ADB first and since I get device unauthorized it means that I don't have usb debugging enabled.
The final question : How can I activate debug mode without a screen?
You need to flash a kernel that has usb debugging enabled by default and has disabled that RSA security check.
So I think that what you want is nearly impossible.
I tried to pull and push default.prop and build.prop and I managed to do it, but when I reboot the phone it goes back to the older versions of the files...I don't know why the files don't remain, even though when I check with ls -l in adb shell it is the today's version.
In the end I managed to read my sms, by pulling out the database from the telephony folder and load it with some sql db reading software.
Hello
I have problems with adaway .I installed adaway and if I won't activate it he dated me hosts can't copy. My phone is rooted
Kevinkuensken said:
Hello
I have problems with adaway .I installed adaway and if I won't activate it he dated me hosts can't copy. My phone is rooted
Click to expand...
Click to collapse
Turn off /system partition write protection.
http://forum.xda-developers.com/axon-7/help/command-to-root-changes-to-persist-t3440276
Only write this Line in Mini adbshell and that was all?
Kevinkuensken said:
Only write this Line in Mini adbshell and that was all?
Click to expand...
Click to collapse
Right. Enable developer options, enable USB Debugging, connect A7 to your computer, make sure you accept the connection on the phone, then open up Minimal ADB, type in "adb devices" to make sure that the ADB daemon is running and detects your phone, and if it does type in the command "adb shell reboot disemmcwp". The phone will reboot (maybe twice), then go and download & apply AdAway blocklists.
Thx it work
I can't seem to get the authorization pop up to allow adb to work. I have usb debugging enabled and adb shows the device as offline when using the command adb devices. Has anyone else experienced this issue before or have any way to fix it?
shamm1987 said:
I can't seem to get the authorization pop up to allow adb to work. I have usb debugging enabled and adb shows the device as offline when using the command adb devices. Has anyone else experienced this issue before or have any way to fix it?
Click to expand...
Click to collapse
I am having the same issue. ADB will not work at all with this tablet
Same here
I have the same problem; enabling USB debugging in the Developer Options menu does not seem to have any effect. Closing the settings app and restarting it results in the option being switched "off" again.
This on an unrooted, locked stock device with EMUI version 5.0 / Android 7.0
Weird ....
shamm1987 said:
I can't seem to get the authorization pop up to allow adb to work. I have usb debugging enabled and adb shows the device as offline when using the command adb devices. Has anyone else experienced this issue before or have any way to fix it?
Click to expand...
Click to collapse
I work around this by enabling usb debugging, going into another setting menu option, then back to developer options, disabling it, enabling it, adb kill-server, adb devices, trying different combinations and eventually it works.. It's a real pain but eventually it works. Once the computer is trusted I don't need to do this anymore.
As the title says, I'm fed up with the Google News Application. But the thing is., It is installed as a system app and I don't want that- Disable is the only option that exists for me. I've been disabling it everyday. Even I've disabled Auto-Update for that but still it ENABLES by itself and even UPDATES BY ITSELF.
I've even seeked the help of customer care but they told me to visit SERVICE CENTRE and I even did the same. When I visited the service centre, they just Hard resetted my device and I told them that I've done it more than 6 times at home. They started arguing with me thereby accusing me with bad words...
My phone is still under warranty and I don't want to lose it by installing TWRP and rooting it...
Any kind SUGGESTIONS are HEARTLY WELCOME.
Use ADB.
Download ADB from Google to your PC. (Minimal ADB did not work for me, The one from developers.google.com is the one that works for me)
After ADB, Go to settings and about phone, Tap on build number 7 times. Now you will enable developer options.
Go to deverloper options and enable USB debugging. Now connect phone and open cmd from the folder where you installed adb(Just type cmd in the address bar of the folder). Now a black window will open on your PC.
Then type adb devices on your PC. Now there will be a prompt on your phone asking allow access to the PC.
Select yes and then go to your pc and type-
Code:
adb shell
Code:
pm uninstall -k --user0 com.google.android.apps.magazines
Then press enter.
Now Google News will be uninstalled.
(I tested this, And also used this various apps, They work fine. Your OTA will not break and the apps will not come back after an system update also)
Cheers
SnapDrag910 said:
Use ADB.
Download ADB from Google to your PC. (Minimal ADB did not work for me, The one from developers.google.com is the one that works for me)
After ADB, Go to settings and about phone, Tap on build number 7 times. Now you will enable developer options.
Go to deverloper options and enable USB debugging. Now connect phone and open cmd from the folder where you installed adb(Just type cmd in the address bar of the folder). Now a black window will open on your PC.
Then type adb devices on your PC. Now there will be a prompt on your phone asking allow access to the PC.
Select yes and then go to your pc and type-
Code:
adb shell
Code:
pm uninstall -k --user0 com.google.android.apps.magazines
Then press enter.
Now Google News will be uninstalled.
(I tested this, And also used this various apps, They work fine. Your OTA will not break and the apps will not come back after an system update also)
Cheers
Click to expand...
Click to collapse
Okay. Thank you. But it gets only HIDDEN not completely uninstalled. As of I know, I can't uninstall permanently without root access.
SnapDrag910 said:
Use ADB.
Download ADB from Google to your PC. (Minimal ADB did not work for me, The one from developers.google.com is the one that works for me)
After ADB, Go to settings and about phone, Tap on build number 7 times. Now you will enable developer options.
Go to deverloper options and enable USB debugging. Now connect phone and open cmd from the folder where you installed adb(Just type cmd in the address bar of the folder). Now a black window will open on your PC.
Then type adb devices on your PC. Now there will be a prompt on your phone asking allow access to the PC.
Select yes and then go to your pc and type-
Code:
adb shell
Code:
pm uninstall -k --user0 com.google.android.apps.magazines
Then press enter.
Now Google News will be uninstalled.
(I tested this, And also used this various apps, They work fine. Your OTA will not break and the apps will not come back after an system update also)
Cheers
Click to expand...
Click to collapse
Btw, should I install GOOGLE DRIVERS or NOKIA DRIVERS? I had tried installing Nokia drivers previously which didn't work properly..
PiXinCreate said:
Use ADB.
Download ADB from Google to your PC. (Minimal ADB did not work for me, The one from developers.google.com is the one that works for me)
After ADB, Go to settings and about phone, Tap on build number 7 times. Now you will enable developer options.
Go to deverloper options and enable USB debugging. Now connect phone and open cmd from the folder where you installed adb(Just type cmd in the address bar of the folder). Now a black window will open on your PC.
Then type adb devices on your PC. Now there will be a prompt on your phone asking allow access to the PC.
Select yes and then go to your pc and type-
Btw, should I install GOOGLE DRIVERS or NOKIA DRIVERS? I had tried installing Nokia drivers previously which didn't work properly..
Click to expand...
Click to collapse
Nokia's drivers are the only ones you need to install.
Yes, Using this ADB method will not uninstall this app from the system rather it disables the app for you. But this disabled app will not come back unless you want it too, Not even after OTA.
SnapDrag910 said:
Nokia's drivers are the only ones you need to install.
Yes, Using this ADB method will not uninstall this app from the system rather it disables the app for you. But this disabled app will not come back unless you want it too, Not even after OTA.
Click to expand...
Click to collapse
Honestly speaking, in New to using ADB... But knew sp flash tool and I had thought that both are similar but not.
Are Nokia drivers are same as Google drivers?
Can you share me the step by step procedure is you enough time now, sir?
I just downloaded latest usb driver from developer.android.com
Hey Guys let me tell you I do get automatic installation (via Google Play) for the Google News app (yes frustrating ) but what I did is uninstalled updates emptied it's data and forced stop / disabled it.
As of this comment I do get automatic installation request via Google Play but Google News doesn't updates. This worked for me.
I updated via local upgrade coming from rooted 9.0.17 with magisk and twrp
But not I have lost twrp and magisk and don't want to deal with the stress of having to lose data and figure out how to get everything back..
So is there anyway to get the pill gestures back without root?
adb
If you're a Oneplus user running Android 10 and you've sifted through the different navigation options available for your device, you probably noticed that two-button navigation is no longer there. For proponents of this UI, such news might be pretty disheartening.
Well, grieve no more, two-button devotees! There's a way to resurrect the sweet harmony of modern gesture navigation and the coveted "back" button of yore, and it just takes a bit of ADB intervention to make it happen.
To begin, you'll need to download the latest version of Android Debug Bridge to your computer; for the most straightforward method, check out this Nexus Tools installer for Mac and Linux, compiled by Android Police's Corbin Davenport; Windows users can download the required SDK Platform Tools from here separately. You'll also need to enable USB debugging on your device, which you can do by following this path: Settings -> System -> About Phone -> tap build number 7 times to enable Developer options, then enable USB debugging via Settings -> System -> Advanced -> Developer options).
Next, make sure your phone is connected to your computer. Set the current navigation setting on your phone to the standard 3-button layout. Then open ADB and execute the following command:
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton
And that's it! You should now see two-button navigation in your settings app.
Sandipmatsagar said:
If you're a Oneplus user running Android 10 and you've sifted through the different navigation options available for your device, you probably noticed that two-button navigation is no longer there. For proponents of this UI, such news might be pretty disheartening.
Well, grieve no more, two-button devotees! There's a way to resurrect the sweet harmony of modern gesture navigation and the coveted "back" button of yore, and it just takes a bit of ADB intervention to make it happen.
To begin, you'll need to download the latest version of Android Debug Bridge to your computer; for the most straightforward method, check out this Nexus Tools installer for Mac and Linux, compiled by Android Police's Corbin Davenport; Windows users can download the required SDK Platform Tools from here separately. You'll also need to enable USB debugging on your device, which you can do by following this path: Settings -> System -> About Phone -> tap build number 7 times to enable Developer options, then enable USB debugging via Settings -> System -> Advanced -> Developer options).
Next, make sure your phone is connected to your computer. Set the current navigation setting on your phone to the standard 3-button layout. Then open ADB and execute the following command:
adb shell cmd overlay enable com.android.internal.systemui.navbar.twobutton
And that's it! You should now see two-button navigation in your settings app.
Click to expand...
Click to collapse
Thanks for posting this. One problem, none of your links for the tools listed are showing up.
Sent from my ONEPLUS A6013 using Tapatalk
xRogerxC said:
Thanks for posting this. One problem, none of your links for the tools listed are showing up.
Sent from my ONEPLUS A6013 using Tapatalk
Click to expand...
Click to collapse
That's probably because there are no links posted in the previous post.