Huawei MediaPad M3 Chrome running in phone mode?! - Huawei Mediapad M3 Questions & Answers

Hi all,
yesterday I finally got my M3 a
I just have got 1 problem I seem not able to fix:
Chrome always seems to think the tablet is a phone... So it runs in phone layout instead of tablet layout
Is there a way to fix it?
(I can't post links since I have less than 10 posts... but you can just google for "chrome tabs phone layout", go to picture search mode.
--> the first picture shows my layout on the left... and the one it should use on the right.)
Thanks for your help and sorry for my bad english.

Just click request desktop site under chrome settings
Sent from my Pixel XL using XDA-Developers mobile app
---------- Post added at 09:29 AM ---------- Previous post was at 09:28 AM ----------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Pixel XL using XDA-Developers mobile app

Hussainally said:
Just click request desktop site under chrome settings
Click to expand...
Click to collapse
Sorry perhaps I did not describe the problem clearly enough:
It's not my problem to get the desktop version of a homepage getting opened.
The problem is, like on your picture, chrome not showing all tabs on top of the screen (like in the desktop version of chrome or on most tablets like my old nexus7 2013), but to "hide" them behind this little tab icon (showning "3" on your picture) in the right upper corner.
It's like on this picture... It should look like the part on the right side.
(Just replace the three XXX with a "." / dot)
cdn.ilovefreesoftwareXXXcom/wp-content/uploads/2015/01/Chrome-Phone-Layout-vs-Tablet-Layout.png
Edit:
Okay I got a solution. It's pretty simple.
Via ADB:
adb devices (to check if devices connected)
setting density to 391 (or less) via: adb shell wm density 391
--> Tadaa tablet mode in chrome

Are u rooted ?
Sent from my Pixel XL using XDA-Developers mobile app

Hussainally said:
Are u rooted ?
Click to expand...
Click to collapse
Nope,
this one is not rooted yet. So can't use the xposed framework.

@Hussainally
How did you get the homepage button?

xda_dario said:
@Hussainally
How did you get the homepage button?
Click to expand...
Click to collapse
It's been there ever since ..did nothing
Sent from my Pixel XL using XDA-Developers mobile app

Also on the predefined mode, the tabs are not working... like chrome is confused.
I filed a bug on Chrome for that too. but maybe chrome needs to include this device on tablet side of the moon.

I managed to force it into tablet mode (thx to nospherato) but I never had a homepage button.

The adb shell density command does not work on my M3. What could I be doing wrong?

hi flavio,
you took these steps?
1) activated the developer menu
2) activated the usb debug mode
3) connected pc+m3 ("adb devices" should not show "not authorized")
4) typed
adb shell wm density 391
?
(btw on my windows shell I had to use adb.exe instead of adb command... damn win10)
You should at once see the screen getting modified.

nospherato said:
hi flavio,
you took these steps?
1) activated the developer menu
2) activated the usb debug mode
3) connected pc+m3 ("adb devices" should not show "not authorized")
4) typed
adb shell wm density 391
?
(btw on my windows shell I had to use adb.exe instead of adb command... damn win10)
You should at once see the screen getting modified.
Click to expand...
Click to collapse
I did all these steps before but it never got it working.
Somehow I did get it to work now (set it to 320) but I still don't know what I did differently.
And it reverts back to 440 after a reboot. Is that normal?

Yes it is normal it gets reset after a reboot... Also if you change your resolution (power save, lower resolution) it gets reset.
I think you can only get it working permanently if your device is rooted.
Btw: If you use the normal resolution chrome starts to work in tablet mode @391 density.
If you want to use the battery saving mode (1200x1920), it starts at 293. (I prefer this one, as the quick actions do not get messed up here.)

Thanks for the help @nospherato & @Flavio.
I had the same issue with the Mediapad M3. Just got this today and having Chrome in phone mode and not table mode is a big drawback.
I could not even switch between tabs (hitting the square with the number of tabs in it did not show the list of open tabs to close it).
What worked for me was:
adb shell wm density 320
Click to expand...
Click to collapse
This immediately switched Chrome to show the row of tabs at the top and allowed me to close them as well.
Thanks XDA community.

The strange thing is that when you switch back to 400 DPI Chrome stays in tablet mode, i.e. with the tabs above the address bar.

At least in some regions Huawei released an update which should add the option to remove the on-screen navigation and fix the Chrome problem: http://forum.xda-developers.com/showpost.php?p=69664225&postcount=14

Flavio said:
Somehow I did get it to work now (set it to 320)
Click to expand...
Click to collapse
I had the same problem. No bookmark star and can't change the tabs.
Set to 320 works for me to.
Makes me happy!
Back to 400 i had the same problems. So i tested some variable values.
356 and smaller - No Problem
357 or higher - The same Problems.
BTV-DL09 LTE Modell

Is there a way to permanently fix the tabs and user agent from phone mode? I can't close tabs and swiping to switch them is annoying.
If I do adb do I have to redo it every reboot if my only desire is having tabs work? I don't even have my favourites menu or reload buttons.

@Sean09
Well as I know the only other way is to root your device and use expose framework. There is a plugin where you can set things like that for your apps.
If you do not want to root your device, you will at least have to wait for an ota update from huawei.
(If I got it right, this problem does not exist in newer [thai/chinese] versions... but until now, no huawei support could/wanted to tell me if or when eu pads get an update...)

I wonder if we can flash the other firmware that has already had an update made available to it - I assume they'll get updates quicker than we will in the USA as well.

Related

PIE+ is still recognized by espn.com as a mobile device

I recently started using pie+2.1. It works well in alot of respects. I went into plus options, and changed the "user agent" to IE6. But when i go to espn.com. It forwards me to its mobile site, Which is completely stripped down and only text. How can i get it to recognize it as a desktop pc as i can with minimo and opera?
thank you
anyone? Its still happenning. Is there another site i could go to. I have a feeling pie+ isn't working at all for me, and every site still knows i am using a mobile browser
Did you restart IEM and/or fired up a enw tab after changing the user agent?
The given website does recognize my Wizard as a desktop browser in IEM:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Another problem may be that you've still using the default Pocket View mode. Change the View settings as can be seen in the above image.
Yes, i had. I had restarted the browser and the phone. espn.com still saw it as a mobile browser. And now i went back to settings to make surei had everything set right and i got this error "cannot load option .dll" This is the second time this has happenned.
reinstalled pie plus again. Set the option to IE6. Standard desktop view. ESPN.com still rerouts me to http://wirelessproxy.espn.go.com/wirless/wml/index
Has anyone else had similar problems?
k2snowboards88 said:
reinstalled pie plus again. Set the option to IE6. Standard desktop view. ESPN.com still rerouts me to http://wirelessproxy.espn.go.com/wirless/wml/index
Has anyone else had similar problems?
Click to expand...
Click to collapse
Strange. Now, try to manually set these parameters (I've written a full article on all this at http://www.pocketpcmag.com/blogs/index.php?blog=3&p=796&more=1&c=1&tb=1&pb=1 ) - or, do check in the Registry whether they are set by navigating to, say, http://www.pocketpcthoughts.com to see whether you're auto-redirected to a mobile version.
k2snowboards88 said:
reinstalled pie plus again. Set the option to IE6. Standard desktop view. ESPN.com still rerouts me to http://wirelessproxy.espn.go.com/wirless/wml/index
Has anyone else had similar problems?
Click to expand...
Click to collapse
Yes, ESPN is using some other method to detect PIE as a mobile browser.
Pretty frustrating actually... I've had the same problem.
I have also found though Opera Mobile is given the true ESPN web page, not the **** mobile version.
As of right now, I don't think there is anything that can be done about it. You either suffer with the horrid mobile page in PIE or use Opera Mobile or some other pocket browser to view the site.
It seems like there is another website out there I've ran in to that does this same thing... can't recall if off the top of my head though.
ESPN web site designers apparently suck.
use spb tips & tricks tweaks utility instead . select tweaks - network - pass off as ie 6 .I don't know about espn but when i select pocketpcthoughts which is a heavy site for pocket IE when i select that option it shows the full site with all it's ads and everything and when I uncheck it it shows only articles .When I select that option and install pie plus it stll shows user agent as mozilla or IE 4 .maybe they have got their method of turning that on and i have noticed the software makes browsing slow . i use spb pocket plus add in for saving the page and open page in new window option
ok, now this is crazy.
I changed my PIE+ options to identify as IE6.0 and restarted PIE, and instead of typing in espn.com, I typed espn.go.com, and it's loading up the standard espn web site.
Now I changed my PIE+ options back to identify as PIE and type espn.go.com instead of espn.com and it loaded up the standard site again!
So, OP: try using the espn.go.com url instead of the espn.com url.
GldRush98 said:
Yes, ESPN is using some other method to detect PIE as a mobile browser.
Click to expand...
Click to collapse
(Without giving it a try so I may be wrong must be the additional X- HTTP request headers IEM sends out. Unfortunately, it's not possible to supress them. (See the "Still missing: Removing of custom UA headers" section at http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1125&more=1&c=1&tb=1&pb=1 for my explanation for why these headers may be a problem - just like in this case, it seems.)
thansk for all your help guys. I learned alot. But unfortunately i did have ot use the espn.go.com. And thats only unfortunate because websites are seeing through pocket plus. thanks. you solved my problem and then some.

Amazfit Interval Timer 0.1b

Minimal app to perform workouts where it is required to repeat several times working sessions and rest.
Great for activities such as:
Boxing Round Timer
Circuit training
HIIT training
Tabata
The app is in beta but is fully functional and in the future will be updated with the news.
You can download the app here:
https://mega.nz/#!rRIkmCxQ!d3OgWBQkkTMlb8LwJ0AQr7bbNuF_qWvb5r_z7Mn7S24
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Instructions:
Connect the watch to your computer via USB and access via ADB (install ADB Drivers as needed)
Open command prompt or shell
Type "adb devices" to check if your devices is listed
Type "adb install AmazfitIntervalTimer0.1b.apk" to install the app to the watch (make sure to use the correct path to the APK, if not copied to ADB folder)
You should see the Success message after sometime
To uninstall type "adb uninstall saglia.com.amazfitintervaltimer" from your command prompt or shell
In the watch, if you have not already enabled "Launcher App List", go to "More Settings" -> "About" -> Keep clicking legal information till you see countdown to zero. Once that is done, you will have the Lab link below. Click on Lab and select "Launcher AppList". This will restart your Launcher. Now go to the Right most app from your watch face, you will see the Launcher.
Scroll through and Click the Gallery icon to launch the Gallery app.
Notes:
Launcher AppList may only be available in Chinese ROM or custom ROM like Pacefied (https://forum.xda-developers.com/sm...s/rom-pacefied-amazfit-huami-amazfit-t3539431)
ChangeLog
IntervalTimer Beta 0.1b
Released 2017-03-14
Initial relase
Vibration However Expiry of timer
Initial countdown of 5 seconds (first time only)
Well done, I will try it later but great Job, it may be one of the first custom made app for our Amazfit Watch.
Congratulations and keep working. With developpers like you we ll see coming and ecosystem of apps
Dosnowin said:
Well done, I will try it later but great Job, it may be one of the first custom made app for our Amazfit Watch.
Congratulations and keep working. With developpers like you we ll see coming and ecosystem of apps
Click to expand...
Click to collapse
Thanks! But before i have created another app for Amazfit Watch.
This: https://forum.xda-developers.com/smartwatch/other-smartwatches/amazfit-gallery-app-t3564353
And already exist this simple timer: https://forum.xda-developers.com/smartwatch/other-smartwatches/amazfit-timer-app-t3552310
This app would perfectly fit my training...
Can it anyhow be pushed to EN firmware?
mblowt said:
This app would perfectly fit my training...
Can it anyhow be pushed to EN firmware?
Click to expand...
Click to collapse
EN = US or EN = Pacefied/CN ADBed ?
if its a stock US firmware, you don't have access to the launcher list, thus you won't be able to launch any installed app.
Hey, I want to use the PACE (already ordered by GB) for gym training. Can I track my HR by indoor running (background) and use the interval timer in front/ at the same time?
The PACE isn't delivered yet and I'm on the way to decide If I flash PACEfied or use stock us.
I know that I have to flash to use side loaded apps like this.
Best regards,
Stefan
I found this tutorial on youtube to enable app list on US firmware:
"Amazfit - how to enable applist on english version using adb"
commandlines:
adb shell
> /sdcard/launcher_config.ini
am force-stop com.huami.watch.launcher
I then was able to install the interval timer successfully!
Hi, is it possible to beside of the vibration a sound countdown?
Great app! use it a lot, but, could you save preferences? It would be great!
Great app!!!. I use it for the exercises of my spinal injury. The only downside is that you can not save the default times, for example: 10 secs. 5 secs 14 times. Anyway, thank you very much for this great job.
Cracklydisc said:
Minimal app to perform workouts where it is required to repeat several times working sessions and rest.
Great for activities such as:
Boxing Round Timer
Circuit training
HIIT training
Tabata
The app is in beta but is fully functional and in the future will be updated with the news.
Click to expand...
Click to collapse
Great job with the app! Thanks! I tried to find in the watch storage if your app has a folder where it stores the initial starting settings, like number of sets, work time and pause time. Could you make some modifications to change the default initial settings through a text file or something within the UI where to select it?
Really great application, thanks a lot.
Would it be possible to save the preferences, pleeeeease...
Yes, it's a good aplication. Need to save changes and possibility to tap on numbers to define intervals faster. Thanks a lot!
Super usefull. Just bought an amazfit verge to listen to songs without my phone while on the gym and had the idea to use it to mark some of my static Abdomen exercises. I was kinda shocked that the watch didn't have something like this by default. This app was just what I was looking for, thanks!

How do I get specific apps to use the full screen display

Some apps don't use the entire display. With some apps, I want it to use the whole display while in others I don't. So how do I do that? Also in another form, I read that you use the adb. So I got that but when I run adb devices I don't see my phone. Also my phone is charging, but I'm not able to see the phone on my file explorer either.
Also, I am just 11 years old, so I don't really understand this kind of stuff. So it would be much loved if you guys can explain this in basic terms.
My World Rules said:
Some apps don't use the entire display. With some apps, I want it to use the whole display while in others I don't. So how do I do that? Also in another form, I read that you use the adb. So I got that but when I run adb devices I don't see my phone. Also my phone is charging, but I'm not able to see the phone on my file explorer either.
Also, I am just 11 years old, so I don't really understand this kind of stuff. So it would be much loved if you guys can explain this in basic terms.
Click to expand...
Click to collapse
https://forum.xda-developers.com/es...x-apps-filling-screen-nova-included-t3670404/
vexx109 said:
https://forum.xda-developers.com/es...x-apps-filling-screen-nova-included-t3670404/
Click to expand...
Click to collapse
Yes I tried that.... But the phone is not being recognized on my PC.
You have to go download the adb drivers from Google. And then enable developer options on your phone as well.
vexx109 said:
You have to go download the adb drivers from Google. And then enable developer options on your phone as well.
Click to expand...
Click to collapse
Yes, but I can't find the drivers for the essential phone...
My World Rules said:
Yes, but I can't find the drivers for the essential phone...
Click to expand...
Click to collapse
They're not specific to essential. It's the Google drivers. My advice to you is to start researching this stuff before you begin utilizing adb or any other commands. At this point, we don't even have the stock images so if you screw something up you're SOL right now....
Drivers here:
https://developer.android.com/studio/run/win-usb.html
Sent from my PH-1 using Tapatalk
My World Rules said:
Yes, but I can't find the drivers for the essential phone...
Click to expand...
Click to collapse
Use Minimal ADB and Fastboot. https://forum.xda-developers.com/showthread.php?t=2317790
Enable USB Debugging from developer options in your Android settings.
Connect usb cable.
Press yes on the phone.
Type:
adb shell settings put global ESSENTIAL_LAYOUT_WHITELIST "*"
Sent from my PH-1 using XDA-Developers Legacy app
Oh ok. So I understand how to get the drivers. So now I have to open the adb shell settings put global ESSENTIAL_LAYOUT_WHITELIST. But will that allow all the apps to use the full display?
My World Rules said:
Oh ok. So I understand how to get the drivers. So now I have to open the adb shell settings put global ESSENTIAL_LAYOUT_WHITELIST. But will that allow all the apps to use the full display?
Click to expand...
Click to collapse
you run the command from the command prompt
Sent from my PH-1 using Tapatalk
So after I run the command will it get all the apps to use the full display?
My World Rules said:
So after I run the command will it get all the apps to use the full display?
Click to expand...
Click to collapse
You need the put in the "*" aftewards, because it's a white list the astrisk signifies "Everything" also, it's called a wildcard.
the full command should look like this:
adb shell
settings put global ESSENTIAL_LAYOUT_WHITELIST "*"
Ok guys, so I tried the command. While it has changed and allows some apps to use the entire display. Other apps still have a black bar on the top of the app... How do I remove that bar?
Yes so I tried that... but some apps still have a black bar on the top of the screen...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That will likely be something the devs of the apps have to do as the screen ratio is a bit different than what they built the apps for. The best way I can think to describe it is like with movies. If you have a 4:3 ratio show playing on a 16:9 ratio the you're still gonna have the bars. But if you have a movie that can support 16:9 you'll have full screen coverage.
So is it possible to "Stretch the app" to use the entire display?
vexx109 said:
You need the put in the "*" aftewards, because it's a white list the astrisk signifies "Everything" also, it's called a wildcard.
the full command should look like this:
adb shell
settings put global ESSENTIAL_LAYOUT_WHITELIST "*"
Click to expand...
Click to collapse
thanks for the clarity
My World Rules said:
Yes so I tried that... but some apps still have a black bar on the top of the screen...
Click to expand...
Click to collapse
Very few game will likely ever work for this. The resolution and assets are typically not designed to scale to different aspect ratios like this phone has. Even the LG G6 and Galaxy S8 just crop off the edges of games when they make them fit on the display fuilly.
*Off topic*
Just wanted to say reading this thread and the fact that no one jumped down his throat for asking questions and helped him through the steps reminds me of xda back in the day. And slight restored my faith in humanity. Good jobs mofos ✌??
skw5115 said:
you run the command from the command prompt
Sent from my PH-1 using Tapatalk
Click to expand...
Click to collapse
tigercranestyle said:
this is what some apps look like when you use the whitelist editor and hide the navbar simultaneously. youtube and google play movies look like this when you do both.
it looks like your game, by default, hides the navbar. have you tried using the whitelist editor app do nothing to the status bar and unhide the navbar?
Click to expand...
Click to collapse
I don't understand. What do your mean by whitelist editor app... What is that?
tigercranestyle said:
the app located here: https://forum.xda-developers.com/essential-phone/themes/essential-layout-whitelist-editor-t3671285
try using the app to not take advantage of the status bar by unchecking it. then override the default setting off your game by de-selecting the box to show the navbar. seems like it would be better to have a navbar than the black bar up top.
Click to expand...
Click to collapse
Thanks the app works for some apps. However, for most of my video games, there is still a black bar. Like I asked above... is it possible to get the app to stretch to the entire phone.

Nook Simple Touch - Broken IR

Dear Friends,
I accidently broken the IR Sensors (green bezel) on my Nook Simple Touch.
I already rooted using Nook Manager. Now the touch is completely broken ( not responding).
Could you please confirm how can enable keyboard/mouse access with the current state of the device.
Left and Right buttons are working.
Regards
Nirmal
I haven't heard that the USB host on the NST ever got to the point of working automatically.
That means you'd have to fiddle to enable the USB.
You must have adb shell.
If you need to start an app you can do it with a command like:
Code:
# am start -n com.android.settings/.Settings
If you need to tap something on the screen you can do it with a command like:
Code:
# input tap 100 200
If you need to type something you can do it with a command like:
Code:
# input text 'Hello, I am text!'
Thanks for the response. Should i need to enable the ADB Shell on the Nook even before accessing the ADB ?
btw, Where can i get the ZForce Light Guide IR Bezel so that i can replace them and make the touch work again.?
Please see image spare i was talking about.
neonode.com/wp-content/uploads/2018/09/Technology_SidePic_A_V4.png
Renate NST said:
I haven't heard that the USB host on the NST ever got to the point of working automatically.
That means you'd have to fiddle to enable the USB.
You must have adb shell.
If you need to start an app you can do it with a command like:
Code:
# am start -n com.android.settings/.Settings
If you need to tap something on the screen you can do it with a command like:
Code:
# input tap 100 200
If you need to type something you can do it with a command like:
Code:
# input text 'Hello, I am text!'
Click to expand...
Click to collapse
Nirmal.Web said:
Thanks for the response.
Click to expand...
Click to collapse
Huh? This is a year and a half after the last post.
Ok, the link you posted is for reflected technology.
The original NST was interrupt technology.
How did you break the green bezel? A single break does not invalidate it, but will make alignment more difficult.
Do you have ADB enabled? If not it will be difficult to get it enabled with a completely funky touch sensor.
I would probably just connect to the 1.8V UART console inside, but that may be a bit of a challenge if you haven't done that before.
The original NST is getting pretty old now.
If you really want another ebay will probably sell you one cheaply.
That's probably easier than finding the bezel by itself.
If you have ADB working and a broken screen or a broken touch sensor (on anything), my adbgrab.exe lets you interact with your device on your desktop.
If you have ADB working and want to troubleshoot the touchy alignment of the NST touch sensor the Touch.apk will help you.
UsbMode.apk can enable USB host mode so that you can attach a keyboard or mouse.
All can be found in the signature.
Hi Renate,
Thanks for the detail clarification. I didn't noticed your 2018 reply. Yesterday i accidently came to the site and saw your old response and tried with ADB with the Nook which was sleeping for the last 3-4 years.
Based on your response, i tried to connect ADB and it worked well. All i want to use that as an Information Display wall and what a day i was able to accomplish everything through adb.
pbs.twimg.com/media/ETPGis4U8AAxpMe?format=jpg&name=small
shkspr.mobi/blog/2020/02/turn-an-old-ereader-into-an-information-screen-nook-str/
I will share my years of story to revive this on a separate thread.
Few Final Queries :
- 1. Since the touch is dead i want to open the ElectricSign App whenever i long press the "n" button. I updated the nook mod manager preferences manually with
<string name="pref_n_long">ElectricSign::com.sugoi.electricsign::1::0</string> but its not working. What i am missing?
- 2. How to simulate touch event in 1.2.1 using zForce Touch Screen /dev/input/event2 for a given x & y axis. Does the adbgrab.exe solves this?
Thanks again Appreciated.
adbgrab.exe works fine, just try it.
Currently it uses the shell input command as being the most portable.
It's not the fastest thing in the world, but it is the most compatible.
I could "borrow" a /dev/input, but that gets into questions of how it's configured.
In unrooted things I roll my own /dev/input (like my page-turner box on my everday Glow2 reader).
You don't need a launcher, just make your signage thingy a home thingy.
Code:
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME"/>
I am using Windows 8.1 and the adbgrab.exe simply opens and closing.
This device is already rooted using nookmanager and i am looking for a way i control the screen remotely by sending x & y co-ordinates.
Regards
Nirmal
Nirmal.Web said:
I am using Windows 8.1 and the adbgrab.exe simply opens and closing.
Click to expand...
Click to collapse
Does it say anything?
Is there any error?
Does "adb devices" show your device?
You have to have the ADB server running.
I don't have access to any 8.1, but if there is a problem, I'd like to solve it.
Nirmal.Web said:
I am looking for a way I control the screen remotely by sending x & y co-ordinates.
Click to expand...
Click to collapse
Code:
# input tap 100 200
Renate said:
Does it say anything?
Is there any error?
Does "adb devices" show your device?
You have to have the ADB server running.
I don't have access to any 8.1, but if there is a problem, I'd like to solve it.
Code:
# input tap 100 200
Click to expand...
Click to collapse
Hello Renate,
I missed to update you on the status of this.
I was able to complete my objective using your Inputs and also used Android Screen Monitor to control the touches
Please see attached output. I am using this as a QuoteFrame using ElectricSign APK.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks again
Regards
Nirmal
Oh, glad it worked out.
I ended up doing the same sort of the same thing with an old NST,
It's an app that uses a TCP connection forwarded over ADB over USB.
Right now it sends View IDs and strings to update the separate areas.
I may switch over to just a full screen PNG composed on the host computer (a Raspberry Pi).
https://forum.xda-developers.com/t/...ook-simple-touch.3911928/page-4#post-84903515

Finally screen aligned to notch

Hi all, simply changing the dpi value through the developer options I finally managed to have the screen aligned to the notch. Just find the "minimum width" item in the developer menu and change the value from 392 to 449 (now I've set it to 430 and "text size & resizing" to XL, seems much better)
Smaller icons but finally full screen ...
Hi. I changed the value but it has stayed the same. No changes in the display size either. Am I doing anything wrong?
lalibm said:
Hi. I changed the value but it has stayed the same. No changes in the display size either. Am I doing anything wrong?
Click to expand...
Click to collapse
hi, I don't know why it didn't work for you.
I didn't do anything else except what I wrote above, as soon as I write the new value and confirm it the screen immediately changes its size.
I'm on Miui 10 developer.
Now I set the value at 430 dpi because it seems more balanced.
Nathan971 said:
hi, I don't know why it didn't work for you.
I didn't do anything else except what I wrote above, as soon as I write the new value and confirm it the screen immediately changes its size.
I'm on Miui 10 developer.
Now I set the value at 430 dpi because it seems more balanced.
Click to expand...
Click to collapse
I tried rebooting several times but to no effect. I'm running 10.0.5.0 Global. Maybe there's a bug. Thanks anyway.
I'm sorry, I'm on 8.12.27 dev and don't know if global stable works in a different way.
I forgot to say that this thing, of course, works for those who want to hide the notch and not lose that part of the screen that remains black under it.
I hope the developers understand that that lost space makes no sense, as it makes no sense to see the notifications for 2 seconds and then make them disappear ... Anyway, happy new year to all of you
Nathan971 said:
I'm sorry, I'm on 8.12.27 dev and don't know if global stable works in a different way.
I forgot to say that this thing, of course, works for those who want to hide the notch and not lose that part of the screen that remains black under it.
I hope the developers understand that that lost space makes no sense, as it makes no sense to see the notifications for 2 seconds and then make them disappear ... Anyway, happy new year to all of you
Click to expand...
Click to collapse
I hate the way notifications behave on MIUI. The fact that I can't swipe either way to dismiss a notification makes no sense. Hopefully Xiaomi releases the kernel source and then development will pick up pace. Cheers and Happy New year
Bobby
How to Align the Screen with Notch in the Mobile with Global Rom 10.2.1.0 ?
there is no dpi setting in my developer mode. (using MIUI Global Stable )
My mom owns a RN6P. I checked it and figured out a way to fit apps with the notch. See what values I set in attachments.
Samples:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Edit: I guess XDA servers don't load the images I took. Here are direct links to them:
https://i.hizliresim. com/qdjAdd.jpg
https://i.hizliresim. com/MVo1V1.jpg
Remove the space between "com" and "dot"
Lol, I don't know why XDA tries to fetch my photos to their servers and fail to load.
DarkCod3r said:
there is no dpi setting in my developer mode. (using MIUI Global Stable )
Click to expand...
Click to collapse
The easiest way is to run this command..
Code:
adb shell wm overscan 0,-32,0,0
No need of changing DPI through developer settings and having that ugly small looking UI.
bande.rajkiran said:
The easiest way is to run this command..
Code:
adb shell wm overscan 0,-32,0,0
No need of changing DPI through developer settings and having that ugly small looking UI.
Click to expand...
Click to collapse
where i have to enter this command ?
bande.rajkiran said:
The easiest way is to run this command..
Code:
adb shell wm overscan 0,-32,0,0
No need of changing DPI through developer settings and having that ugly small looking UI.
Click to expand...
Click to collapse
Command executed successfully but still no change.. Same issue.
Follow these tutorials: (need root)!
https://4pda.ru/forum/index.php?showtopic=927965&st=280#entry81179571
https://4pda.ru/forum/index.php?showtopic=843497&st=20#entry64339025
Sent from my Xiaomi Redmi Note 6 Pro using XDA Labs
Someone should make a Flashable TWRP zip file for this fix..
bande.rajkiran said:
The easiest way is to run this command..
No need of changing DPI through developer settings and having that ugly small looking UI.
Click to expand...
Click to collapse
In what part should I execute the command?
bande.rajkiran said:
The easiest way is to run this command..
Code:
adb shell wm overscan 0,-32,0,0
No need of changing DPI through developer settings and having that ugly small looking UI.
Click to expand...
Click to collapse
Thanks!
-20 is better for me.
smartiz77 said:
Thanks!
-20 is better for me.
Click to expand...
Click to collapse
but its not working for all apps.. :/ some apps still not perfectly aligned with notch..
Hi everyone, I'm using a rooted Samsung A10 and had a similar issue with the unallignment of the camera notch. I came across this forum and solved the problem using "adb shell vm overscan" command. However this caused the upper Quick Panel aread become narrower and not only the appearance but also functionally it is too difficult to pull it down when it's such narrow. Please check the photo. Do you guys have any suggestions for that?

Categories

Resources