Disable Heads Up/Peek Notifications For Android Nougat 7.0 with ADB - Galaxy S6 General

Hello guys just want to share it.
If you want to disable the annoying Heads Up/Peek Notifications fellow these steps.
First install this: Mega Link to ADB Just click on it type 3 times [Y]
1.) Open a command prompt and check if the device is connected using the following command:
adb devices
2.) You should see your phone on the list that appears. Now use the following command:
adb shell settings put global heads_up_notifications_enabled 0
3.) Reboot your phone and you are done!

Good luck!

khanvict90 said:
Hello guys just want to share it.
If you want to disable the annoying Heads Up/Peek Notifications fellow these steps.
First install this: Mega Link to ADB Just click on it type 3 times [Y]
1.) Open a command prompt and check if the device is connected using the following command:
adb devices
2.) You should see your phone on the list that appears. Now use the following command:
adb shell settings put global heads_up_notifications_enabled 0
3.) Reboot your phone and you are done!
Click to expand...
Click to collapse
Thanks for the info, I've read for this here for the first time and I confirm that it works
http://forums.androidcentral.com/sa...44-s7-edge-nougat-heads-up-notifications.html
You have obviated the part of enabling developer options and USB debugging, also the possible problems with drivers installation and device detection both windows and ADB shell.

Related

please little help on "adb"

When i try typing " adb devices" in CMD.
I get
"list of devices attached"
what am i doing wrong?
You need to be in bootloader, turn off, then turn on while pressing and holding the trackball. Make sure USB debug is enabled in the N1 Applications setting.
did as u said still the same thing "list of devices attached"
i downloaded latest sdk2.0
and did all as the google page says. its weire why it doest read ADB
fastboot read fine when i write fastboot devices, it show the serial of the phone...
can i add applications through fastboot? instead of adb?
did as u said still the same thing "list of devices attached"
i downloaded latest sdk2.0
and did all as the google page says. its weire why it doest read ADB
fastboot read fine when i write fastboot devices, it show the serial of the phone...
can i add applications through fastboot? instead of adb?
I have the exact same problem. Did you ever figure it out?
What directory are you working out of? If you did the default install of the Android SDK. Try this:
Code:
cd c:\android-sdk-windows\tools
Then:
Code:
adb devices
You have to open the command prompt from within the tools folder from sdk folder.
Also, its never worked for me while my phone is in the bootloader, i run abd commands while my phone is booted normally (with debugging enabled).
I use adb shell stop, adb remount, whatever commands you wanted to do originally, adb shell reboot.
Hope that helps, good luck man.
Sounds like maybe the driver isn't installed correctly. Check your device manager and see if the N1 shows up in there and what it's named.
tamarian said:
You need to be in bootloader, turn off, then turn on while pressing and holding the trackball. Make sure USB debug is enabled in the N1 Applications setting.
Click to expand...
Click to collapse
That is fastboot, fastboot for the bootloader, ADB for everywhere else
Are you on windows or linux?
Also try "adb remount" when you are in the /tools folder, then try "adb devices"
Make sure USB Debugging is on..that could be it

Pershoot Kernel question

Hi guys,
could anyone explain me please how to enable usb charging with Pershoot´s Kernel (boot-cm_2636.4_ux-oc-xtra-vfpv3-d16_fp-101811)?
I rly don´t get this:
adb shell echo 1 > /sys/class/power_supply/battery/force_usb_charging
Thank you very much.
Sure bud,
The script you posted is meant to be run in a command prompt using the tablet's ADB interface. To access this you need the Android SDK (that is the tool for app development) installed on your PC. You can look up how to do this all over the interweb.
To make your life easier though, download a terminal emulator app from the Market, there are plenty of free ones. Once you've done that open it and run the script as follows
su
echo 1 > /sys/class/power_supply/battery/force_usb_charging
The "su" command gives you root access just as "adb shell" would in command prompt.
The catch is the script is not persistent after reboot. So you will need to run it again if you reboot the tab. This doesn't really bother me cause I only use it for charging in the car and it takes like 30 seconds to type in the script.
Enjoy!
Thank you very much!
Now it´s working.
FillTheVoid said:
Sure bud,
The script you posted is meant to be run in a command prompt using the tablet's ADB interface. To access this you need the Android SDK (that is the tool for app development) installed on your PC. You can look up how to do this all over the interweb.
To make your life easier though, download a terminal emulator app from the Market, there are plenty of free ones. Once you've done that open it and run the script as follows
su
echo 1 > /sys/class/power_supply/battery/force_usb_charging
The "su" command gives you root access just as "adb shell" would in command prompt.
The catch is the script is not persistent after reboot. So you will need to run it again if you reboot the tab. This doesn't really bother me cause I only use it for charging in the car and it takes like 30 seconds to type in the script.
Enjoy!
Click to expand...
Click to collapse
how do you make it stick ?
I ask this question in another forum and the result was, it´s not possible (maybe wrong).
By the way, after I enable USB charge, my notebook can´t find my Tab anymore.
Mondfahrer said:
I ask this question in another forum and the result was, it´s not possible (maybe wrong).
By the way, after I enable USB charge, my notebook can´t find my Tab anymore.
Click to expand...
Click to collapse
I found a way to very easily get it running.
download terminal emulator.
Go to system preference of terminal emulator and there is an option to enter initial command to after you start terminal emulator.
so just type in:
su - root
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Whenever you start teminal emulator, it will enable usb charging
I use this app to NTSF http://forum.xda-developers.com/showpost.php?p=13337600&postcount=6

ADB and Fastboot for real dummies

Hi,
I have been able to 'master' HTC Desire, Xperia T, Xperia Z3C and even LG Optimus Black.
Except from HTC Desire (if you ever want to learn about ADB and Fastboot, use HTC Desire, the best) it is always a bit tricky to get into Fastboot mode.
I have found the easyest way to access Fastboot mode in this howto: https://goo.gl/hzyB2H
Simply stated:
- Enable USB debugging in Developer Options
- Install Minimal ADB and Fastboot from here: https://goo.gl/d5BSc7 or use the solid option using FWUL (see below)
- Open command window in Minimal ADB and Fastboot directory (Window Flag + right-click on the folder)
- Plugin your device (which is on)
- Type: adb devices and your device answers with its serial number.
- First answer is serial number and 'unauthorized'
- On your device you will see a popup like shown below
- Type: adb devices and your device answers with its serial number and device
- You're there
If you just need adb you can stop here, if you want to go on to fastboot, continue.
- Type: adb reboot-bootloader
- Type: fastboot devices
And you're there.
No more hassling around with Vol-Down and plugging in.
- Type: fastboot reboot to end the session nicely
Uninstall (system) apps using adb
Uninstall Sony Xperia 'What's New'
adb uninstall --user 0 com.sonymobile.entrance
Let's uninstall Facebook
- type: adb shell pm list packages | grep 'acebo' (I don't know if it spells with F or f) (see REMARK)
- You will receive an answer like:
com.facebook.katana
com.facebook.system
com.facebook.appmanager
- type: adb uninstall --user 0 com.facebook.katana etc.
- do the same for the other lines
- Done for the moment
- Check on your device. Goto settings->apps->Facebook and you will see 'uninstalled' behind it
- Reboot your device ( do it the adb way and issue the command <adb shell reboot>
- After the reboot you won't find Facebook anymore in the apps list
REMARK sometimes it is hard to find the name of the app you want to uninstall.
F.i. the app Playstation bears the name com.scee.psxandroid.
You can retrieve the name using the Play Store app Application Inspector
I had quite a lot of trouble with adb and Windows 10, the solution lies in using Linux.
Recently XDA senior member steadfasterX released “Forget Windows Use Linux” (FWUL) – a bootable GNU/Linux ISO geared specifically towards Windows users who need to communicate more reliably with Android. https://goo.gl/PxvS9p
If you want to play with adb then this is your chance.
Create a live CD or a bootable USB stick with FWUL and everything works like a charm. Forget Windows!
Remember:
Don't blame me if anything goes wrong.
Following these instructions is at your own risk.
And if.... then normally Xperia Companion is your friend.
Enjoy!
Picture shows an example
- how to find the location of an apk
- how to pull the apk to your computer
- how to uninstall the apk
- and the failure that shows that the apk is gone
You can use adb to record your phone screen
- adb shell screenrecord /sdcard/screenrecord.mp4
Stop with Ctrl-C
You can use adb to make a screenshot
- adb shell screencap -p /sdcard/screendump.png (-p stands for: create png file)
- adb pull /sdcard/screendump
alternative
- adb shell screencap -p > screendump.png (which sends the file to your computer)
ADB can be used to backup yout device (apk's and data)
- adb backup -f c:/backups/phonebackup.ab -all
- on the device you have to give permission
Of course you can restore the backup
- adb restore <filename>, but for restoring you need to have root access.
There are a lot of options, all explained elsewhere on XDA: https://goo.gl/KtVd1n
W10 is a bit tricky when it comes to running adb on your Xperia device.
To install the necessary drivers, follow this instruction:
To install the official Sony Xperia drivers you need to download them from here.
- Unpack the Zip file
- goto the directory
- right click on sarndis.if and click on install
To install the Flashtool drivers for Windows 8/8.1/10, please follow the steps below.
A) Press the Windows key + R together and in the ‘Run’ box type: shutdown.exe /r /o /f /t 00
– Now make the following selections to boot into the Start Up Setting Screen: Troubleshoot > Advanced options > Start Up Settings > Restart
– Then, when the machine restarts, select number 7 i.e. “Disable driver signature enforcement”. Your machine will start with Driver signing enforcement disabled until the next reboot.
B) Now you can install the Flashtool drivers.
– Windows will warn that the driver is not signed and will require you to confirm the installation.
– Once the installation is complete, reboot the machine.
This text is copied from Xperia blog
PS
Just adding another uninstall.
Using PiHole to block ads, people have noticed that on Android adds are not blocked.
More specific: Ads in Chrome on Android are not blocked.
Reason: Chrome denies your DNS settings
Solution:
adb uninstall --user 0 com.android.partnerbrowsercustomizations.chromeHomepage
From now on ads in Chrome on Android will be blocked as well.
Hi,
I am a real noob here, I have adb and fastboot. I would like to unlock my Z3 tablet compact bootloader. I have the code, it shows when I use the command adb devices but when I try fastboot devices I get not response. I'm not really sure what the issue is, can you help?
Did you try using Flashtool to unlock it? Never done it myself, but it seems pretty simple, and no command line required.
https://xperiafirmware.com/unlock-bootloader-sony-xperia/
sony xperia z3 no os installed android 6 bootloader cant be unlocked
hey guys my z3 has been soft bricked coz i flashed a system img that i extracted from its firmware i have tried to flash it using flashtool but it gives me this device connected with usb debbuging off 2011 make sure mtp is disabled
Use Flashtool to flash a stock .ftf file.

[ADB] Fullscreen 'Edge' Handle

I was always annoyed by how small the edge screen is even at its largest, so I crawled through the Global settings through ADB and found a setting that seemed relevant "edge_handle_size_percent"
I ran the command
Code:
adb shell settings put global edge_handle_size_percent 100.00
with ADB from a computer, I then opened the edge menu (Still the old size and position) and when I went into handle settings, it had become fullsize. This may also work on the Note and S7 series as well as ported roms, I have only tested this on my S8+.
Let me know if it worked for you! Screenshot as proof below.
original edge default settings ?
worked for me!
hasanben35 said:
original edge default settings ?
Click to expand...
Click to collapse
If I recall correctly, its around 37%
However if you adjust the slider in the settings, it'll pop straight back to normal values
PS C:\Users\hasanben35\Desktop\platform-tools> adb devices
List of devices attached
ce------------------------- device
PS C:\Users\hasanben35\Desktop\platform-tools> adb shell
dream2lte:/ $ adb shell settings put global edge_handle_size_percent 100.00
/system/bin/sh: adb: not found
help
hasanben35 said:
PS C:\Users\hasanben35\Desktop\platform-tools> adb devices
List of devices attached
ce------------------------- device
PS C:\Users\hasanben35\Desktop\platform-tools> adb shell
dream2lte:/ $ adb shell settings put global edge_handle_size_percent 100.00
/system/bin/sh: adb: not found
help
Click to expand...
Click to collapse
There is no need to run the adb shell command first. Its an all in one command. Just fire up adb and input it all.
Pedroc1999 said:
There is no need to run the adb shell command first. Its an all in one command. Just fire up adb and input it all.
Click to expand...
Click to collapse
Thanks work
Great to hear! Any S7/S6/N8/N7 users able to confirm?
I'll let you know shortly, I didn't read the whole forum and moved the slider and you guessed it!!! Back to default it went ....SOOOOOO I'm running the new command and will let you know very shortly

Uninstall system app without ROOT

Hi Guys,
Is there a way to uninstall system app or maybe android auto without ROOT?
Yes.
You need adb and do
Code:
adb shell
pm uninstall com.myApp
See
Code:
pm help
for more infos after you entered your shell.
What you should know: This only removes the app from the given user. If you create a new user, this new user still has this app. If you factory reset your device, the app returns back for every user. (This only applies to system apps. User apps will be deleted normally using this command)
User699 said:
Yes.
You need adb and do
Code:
adb shell
pm uninstall com.myApp
See
Code:
pm help
for more infos after you entered your shell.
What you should know: This only removes the app from the given user. If you create a new user, this new user still has this app. If you factory reset your device, the app returns back for every user. (This only applies to system apps. User apps will be deleted normally using this command)
Click to expand...
Click to collapse
[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3
15 seconds ADB Installer v1.4.3 ADB, Fastboot and Drivers What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in...
forum.xda-developers.com
IT SAY DEVICE OFFLINE
k44mos said:
[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3
15 seconds ADB Installer v1.4.3 ADB, Fastboot and Drivers What is this? This is All-in-One installer for 3 most needed PC tools for Android. No need to download big SDK for 3 small things. I originaly made it for my Kurdish friend AnGrY DuDe in...
forum.xda-developers.com
IT SAY DEVICE OFFLINE
Click to expand...
Click to collapse
That's interessting.
What I found on the net are two things:
1) Do
Code:
adb kill-server
adb devices
.
Your device should give you a popup message. Accept that and also hit the "always allow fom this computer" check box.
2) Use another adb toolkit. I don't use windows, but when I did, I used googles offical adb toolkit. I never have had any problems with that one.

Categories

Resources