[ADB] Fullscreen 'Edge' Handle - Samsung Galaxy S8+ Guides, News, & Discussion

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

Related

busybox & Windows command prompt & colors & ls

ok... so, I've loaded my custom ROM and it contains busybox... I do like the extra functions that busybox offers over the stock Android "toolbox", so I don't really want to disable the commands like ls... I'd just like to turn the colors off.
Here's what I've found in my researches...
1) I can always
Code:
ls --color=never
but that is a lot of extra typing that I'm just not willing to do.
2) I can now SSH into my phone with putty and the colors are nice... but if I'm doing this over the cell modem (even EVDO), it's not too responsive (probably has some to do with currently running applications, syncs, and so forth)
3) I can use Droid Explorer and open a command shell from there, and the colors are nice... but Droid Explorer takes a lot longer to load than adb shell and the nice thing about being at my command prompt is if I need to push, pull, or remount (I understand I can always manually remount,rw and remount,ro from any shell, but adb makes it really easy to do with less typing) quickly... I can exit out of the shell, do the command, and go right back into the shell.
4) I can use Better Terminal Emulator on the phone... again... colors nice (I think you're seeing a theme here) but the typing is excruciating for long commands, and God forbid you make 1 typo... for quick things it's cool and to do a command while not at my computer, it's great.
5) If I were running Windows 95 (or maybe even XP), I could just use ansi.sys and do it. However, I've found that the only way ansi.sys works in a command prompt is to use COMMAND.COM and not CMD... plus you have to set CONFIG.NT to "dosonly" mode and include the driver in there... the biggest problem with all that is that adb will NOT run in DOS only mode. I even tried to adb shell from within a Cygwin command prompt (that already has colors enabled) but all the ansi color codes were lost.
So.... Here's my dilemma... I want colors when I'm not coming in through the Windows command prompt and adb shell. However, I want to disable the colors when I'm coming in through adb shell. I would probably settle for a different way to shell in from Windows 7 than the ones listed above.
I think I remember from my freshman year of college when they tried to teach me Unix, that you can set "default" command line switches for applications. For example, if you always wanted ls to do -l, then someplace you could set that as a default. I read on another post (possibly another forum) that somebody suggested editing .profile to do an alias of a command... something like
Code:
alias dir='ls --color=never'
but the problem with that is there's no .profile and there's no home directory for root or shell.
I even read that the standard ls uses an environment variable LS_OPTIONS, but I don't think that the stock Android ls uses it, and I can't get busybox to use it - plus, it'd be a pain to type that in every time I do an adb shell.
Does anybody have any suggestions or tips or any way to do this? If the alias will work, I'd be happy with that. I could then set dir to no color and keep ls with color. I could maybe even remap a command to do a ls -l all the time.
Thanks in advance.
This was what I ended up doing under Windows 7: http://softkube.com/blog/ansi-command-line-colors-under-windows/
This works for me:
Code:
export LS_COLORS=none
ls

Help! Could someone please let me know the name of the MyModes app?

I changed the mode to one of the non-standard ones, and immediately after, the HTC launcher app is in a perpetual startup-force close state. I think if I can adb into the phone and launch the MyModes app, I can change the Mode back to the standard mode.
I would need the full name in the form of "com.blah.blah" for use with the "am" command in adb shell.
Thanks!
Wow. Phew! It worked. I found the name using "pm list packages". Turns out it is com.tmobile.profilemanager
So, I used the command:
$ adb shell monkey -v -p com.tmobile.profilemanager 5
I then changed back to the standard mode, got a few more FCs, then it became stable. Rebooted, now very stable again.
I have a feeling that because I had disabled a few packages that could be dependences for the profilemanager, this may have happened.

Adb shell cat/dev/msm_rotator/ cat/dev/msm_rotator: permission denied

I trying to downgrade in order to root my phone. I am stock in the command prompt with adb shell cat/dev/msm_rotator. I know I should get dev/msm_rotator: invalid length, but i get permission denied. I searched in the internet and i havent found a solution. Please someone help me and i want to root my phone. I wil be very very thankful.
do you actually see your phone trough adb?
type "adb devices" to see if your phone shows up... and did you enable usb debugging?
Yes I did. When I check adb devices I got my serial number. My phone is in debugging too and nothing all I got is permission denied
hm... strange
from your posting i see this: adb shell cat/dev/msm_rotator
but it should be: adb shell cat /dev/msm_rotator ...there is a space between cat and /dev
hoffmas said:
hm... strange
from your posting i see this: adb shell cat/dev/msm_rotator
but it should be: adb shell cat /dev/msm_rotator ...there is a space between cat and /dev
Click to expand...
Click to collapse
yeah, the way he has it there is no valid command and cat is being referred to as if its a folder
Might also be trying to run 'adb shell cat /dev/...' inside adb shell, which would throw a permission denied error.
-Nipqer
when I type cat /dev/msm_rotator/ i get no such file in directory.
Yes I did it. I was putting \ instead of / noob error, but thank you to all that help me.
grdo said:
Yes I did it. I was putting \ instead of / noob error, but thank you to all that help me.
Click to expand...
Click to collapse
Glad it worked out Don't feel too bad! I STILL get backslash/fowardslash mixed up sometimes lol

Disable Heads Up/Peek Notifications For Android Nougat 7.0 with ADB

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.

Changing the DPI/screen density

I have already made my display size as small as it will go via the phone's Settings, but I want it smaller. I have tried the advice command (adb shell wm density 560 && adb reboot) and it doesn't work. Has anyone else tried this?
You need root , and its impossible to root it right now
lyall29 said:
I have already made my display size as small as it will go via the phone's Settings, but I want it smaller. I have tried the advice command (adb shell wm density 560 && adb reboot) and it doesn't work. Has anyone else tried this?
Click to expand...
Click to collapse
Just from your laptop or pc you can do it , just first install drivers and then om cmd and write:
adb shell wm density *** and hit enter put what ever dpi you want instead of the stars

Categories

Resources