yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] elger9:
The Xiaomi Home app suffers from a problem with PUSH notifications not working. It is likely that the problem has been present for many years.

The problem is well known and widely commented on the internet both on forums and in comments on Google Play. For example https://c.mi.com/thread-3056817-1-0.html

At least part of the problem is due to the smartphone shutting down Xiaomi Home to save energy. Nevertheless, a large number of the reports come from people who are aware of how to configure the smartphone to not close the app.

An example of such a post accurately describing the problem is https://community.oneplus.com/thread?id=1455606

Searching the Internet, I discovered that people from all over the world are experiencing this problem. I found the problem described in English, French, Spanish and Italian forums. Interestingly, it also affects Xiaomi smartphone users. Multi-screen discussion and unfortunately no solutions.

My observations - PUSH notifications work on Bluestack (Android 7.x)

Xiaomi does not seem to notice the mentioned problem. I write on the XDA Forums because there are people here who have a good understanding of how Android works.

Questions for you guys:

- How to debug the problem to draw any conclusions? Determine what is failing.

- Is it possible that the problem is due to some kind of US/China sanctions?

- I have heard that PUSH notifications work differently on the Chinese market, they don't use Google's dedicated service there. Could this be related?
[Android Q&A, Help & Troubleshooting] James_Watson:
As far as I know, PUSH notifications do work differently on the Chinese market. The GCM/FCM as well as other Google's dedicated services do not work.
[Android Q&A, Help & Troubleshooting] elger9:
Possibly. However, it still seems very strange to me that Xiaomi sells devices tailored to, for example, the European market, has European servers and the app distributed by Google Play uses the PUSH system operating in the Chinese market.

Sounds quite unlikely, given the huge popularity of Xiaomi hardware outside China.

However, if this is true then Xiaomi Home probably supports only MiPush http://mipush.global.xiaomi.com/ so we would need something like a wrapper for MiPush to send notifications to GCM/FCM. Unfortunately I'm not an Android developer.

It still puzzles me why I was getting notifications from Xiaomi Home on Bluestacks 4 running Android 7.x. It looks like some mechanism compatible with other markets is implemented - just not working with newer Android?
[Android Q&A, Help & Troubleshooting] elger9:
Additional information: Notifications work on Xiaomi Mi 6 - Android 9
[Android Q&A, Help & Troubleshooting] sianami:
i have same issue.

any solution yet ?

i followed all steps in this video twice and didnt work
[Android Q&A, Help & Troubleshooting] elger9:
None of the old solutions work. Xiaomi Home does not like some regions. For example, European Android devices (from version 10 I think) present themselves with the region 'eea'. Xiaomi Home does not accept this ( three-letter problem?) region - initiating push notifications crashes, as you can see in the logs (see link below).

I think the closest to solving the problem is this answer https://xdaforums.com/t/missing-push-notifications.4133417/

You can of course change the region in Android, but this requires root and is rather pointless. Other apps may not work properly.

I suppose it would take 1 day to fix the app. Why hasn't Xiaomi fixed this for several years? It remains a mystery.

If anyone knows a way to change the region without root, just for one application then please let me know.
[Android Q&A, Help & Troubleshooting] morfeas-dsl-:
Any solution yet? Still no notifications with oneplus 9 pro and android 13. I have done any "fix" I have found and nothing.
[Android Q&A, Help & Troubleshooting] ivicakc:
I also have OP 9pro and xiaomi aw200 outdoor camera, notification worked flawlessly day or two and than just stoped. Maybe 2 notification in a week and it make me crazy.. I tried everything and..nope..the same
[Android Q&A, Help & Troubleshooting] theslydog:
I have 2 phones one Android and one iPhone. Notifications work very quickly on the iPhone but constantly fail on Android 13 then randomly a whole list of old Xiaomi notifications turn up.
[Samsung Galaxy A52 4G] xp10975:
android 12 is really slow and i want to downgrade. is still possible PDA/AP is A525MUBS4BVE1. Also these files are the correct ones?View attachment 5660881
[Samsung Galaxy A52 4G] Dayuser:
Have performed factory reset? Maybe it will help that phone is not slow.
[Samsung Galaxy A52 4G] xp10975:
yes
[Samsung Galaxy A52 4G] Dayuser:
Okay.. I this would not downgrade android version because security patch is old. Maybe it will improve on upcoming software updates or maybe not. You never know.
[Samsung Galaxy A52 4G] xp10975:
but. its possible if sometime i want to downgrade it would be possible?
[Samsung Galaxy A52 4G] Dayuser:
Yes i think you can flash order android version via odin.
[Samsung Galaxy A52 4G] xp10975:
how? the last device i used odin was a a50
[Samsung Galaxy A52 4G] Dayuser:
I'm sorry i don't know how to do it today. My last time using odin was when i had S4 :ROFLMAO:

Let's hope somebody else had better answers for you (y)
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] imajakov:
i found a pretty good workaround for 7.3.2.2 blocking custom launcher

install "Boot Apps." off of the Play store

View attachment 5660907

set it to automatically run Nova Launcher( or any launcher )

it works so far on my 2020 edition fire HD 8 7.3.2.3 ( just updated)

Every time I turn on my fire, the FIRE launcher opens up for a few seconds( of course) but then once the Boot Apps program initiates...... opening Nova Launcher.......

So without having to click on ANYTHING..... My custom launcher automatically opens up for me!

Not perfect. but using this with a custom navigation bar with the home button set to ALSO open Nova Launcher IF you do a long press its better than nothing.

until Amazon fks this up on the next update, at least this DOES work.

Enjoy!
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] peerieb:
Can you tell me what you used to get the home button to long press onto nova launcher please?
[Fire HD 8 and HD 10 Original Android Development] imajakov:
is there a way to get Lineage OS on HD 8 2020 on version 7.3.2.3 after taking it apart and shorting out the leads ?
[General Questions and Answers] Aro47:
Hi

I have lineageos 14.1 on my phone camera dont work

can I replace camera hardware files from stock rom???

Please answer 😄
[General Questions and Answers] daviddosa:
I think you might be in the wrong forum mate. This is for car head-units.

What phone you have?
[General Questions and Answers] SafiG1:
Can i get pocketnester/roms on the t mobile G1???????

If so how? plz nd thank you!!

If im in the wrong place to put this thread sorry im new.. ty
[General Questions and Answers] SafiG1:
Got it

theres andriodboy/mobileboy on the g1 and its free if any one else wanted to know
[General Questions and Answers] Jozef Tornado:
It is downloadable in the market. Easy peasy.
[OnePlus 9] Deleted member 9654529:
Hello Fellow Developers , I have one question regarding custom rom as of the I know to how build a custom rom but doesn't know how to send updates/ patch to a custom rom. So how to do that and what are the things required to send a update /. Patch to a custom rom ?

Have a good day ahead !
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] imajakov:
I have a Navigation bar on Fire HD 8 2020 version after the 7.3.2.3 update but im not crazy about it

I have it set to run Nova launcher when i do LONG press of the home button

its a pain to have to hold the finger down to go back to the Nova launcher scree.

But i am looking for one that has the standard 3 buttons( BACK ,HOME ,RECENT ) at the bottom- covering up the FIRE navbar

View attachment 5660913

BUT to set the HOME to launch an app but short press ( NOT LONG)

I only am finding ones with Long press to run an app.

IS there any with a short press /click to launch an app?
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] Bob1221:
Hello,

I'm sorry if your problem is solved but I have found a solution that has been working for quite some time. There is an app called simple control that is dark blue. It gives you another navbar that does not add anything to the screen. Here is what I do:

1. Open the app and set the home button to the launcher. For me I use nova.

2. Adjust the size and duration of the nav bar. For me, I use the gesture "swipe up" for the new nav bar to show.

This is the only method that seems to work and is FREE. There have been some "glitches" where the screen goes black for a few seconds after pressing the new home button but then refreshes to the launcher. But for the most part, everything works fine. If you are confused, I could upload a video of the whole process.

Have a great day
[Fire HD 8 and HD 10 Q&A, Help & Troubleshooting] Bob1221:
Hello,

I'm sorry, I have another solution that could work; only if you have a fire toolbox. There is a custom nav bar feature that downloads an app called automate that will create a code that will make the home button on the fire tablet open the launcher normally. Apparently, this function will not go away after a reboot and should remain "permanent". Both methods that I shared with you should not go away.

Thank you.
[Wear OS Q&A, Help & Troubleshooting] Mike2601:
I am working on releasing a watch face through the Play Store and have set up internal testers. But when a tester tries the link for the release, it only shows that it’s “not compatible with this version”. Watches are paired to the phone so I am not sure what is wrong. I also noticed if you visit the link in a browser it works. I did opt in for Wear OS and have added the required screenshots. Has anyone run into this problem or have advice on how to fix it?

View attachment 5660925
[Wear OS Q&A, Help & Troubleshooting] a1291762:
You have to visit the store on the watch. You can't install a watch app from a phone.

Your screenshots look like a phone...
[Google Pixel 6 Pro] Karine:
I have a Pixel 6 Pro and Widex Moment 440 Hearing Aids. My aids are paired to my phone without issue, and I can successfully interact with them through the Widex app to switch programs, etc. But streaming of any audio (phone calls, music, audiobooks, podcasts) is so very poor that they're entirely unusable as streaming devices. Both aids cut in and out for the first 30-60 seconds of streaming, and then both aids cut out all together.

Widex is aware of the issue, but is opting not to make efforts to address it because they believe the issue lies with the Pixel 6/6 Pro, so much so that they formally delisted the Pixel 6/6 Pro, and recommend that I switch to an iPhone. I'm a Google gal through and through, with a home/life full of Google devices/products, so I don't want to switch to an iPhone, but I really would like to be able to stream to my aids.

Does anyone have any thoughts on how I might address this issue?
[Google Pixel 6 Pro] blackhawk:
Try disabling all global power management ie adaptive battery, put unused apps to sleep.

Network reset.

Developer options>bluetooth settings, look through those (this image is a Samsung)

View attachment 5660967

Play with it...
[Google Pixel 6 Pro] Karine:
I disabled adaptive battery, and I'll slowly work my way through the developer options, with a bit of testing after each step.

With "put unused apps to sleep", are you referring to the function of adaptive battery, or something else?

What are you referring to with "Network reset"?
[Google Pixel 6 Pro] blackhawk:
Not sure how settings are laid out on a Pixel.

To check if global power management is disabled; Developer options>standby apps, all buckets should show as active. However global power management can't be disabled here.

The network reset is somewhere in settings under connectivity.
[Google Pixel 6 Pro] Karine:
I confirmed via standby apps that all bucks show as active.

Are you suggesting that I should do a network reset? If so, will it remove all of my wifi and bluetooth connections?
[Google Pixel 6 Pro] blackhawk:
Yes and yes it will reset all to default, which is why you do that.

It's not uncommon for it to become misconfigured. Set up the devices again when it's done. Maybe a different order of adding them would help. Try the hearing aid first and see if it works.
[Google Pixel 6 Pro] Karine:
I'll give it a try, perhaps tomorrow, or after, once I've run with today's tweaks for a bit.
[Google Pixel 6 Pro] blackhawk:
Just do it. I don't even think twice about it. A easy fix when it works🤗

The bt device may also have its own reset in its software but may not do as well.

Again make sure the device has all its needed permissions including any in accessibility. It may not have prompted you to enable them during installation. That happens occasionally. Look it all over like a hawk. Playing in settings is fun, don't worry though as it's almost impossible to crash* a stock Android... explore it.

*always back up all your critical data redundantly to preferably 2 hdds that are physically and electronically isolated from each other and the PC. Crashes are very rare but can happen, being prepared to do a full reload at any time will save you time and grief.
[Google Pixel 6 Pro] Karine:
How do I check accessibility permissions? I don't think I've encountered that before.
[Google Pixel 6 Pro] blackhawk:
On Samsung's it's in settings.

With Google it's usually documented. This may help you.
[Google Pixel 6 Pro] Karine:
Thanks!
[Google Pixel 6 Pro] almahix:
I have a P6Pro and Resound hearing aids. They are pretty much working well. If the sound isn't piped to my ears and turn off and turn on Bluetooth and they connect properly. But the best hearing aid phone I ever had was my OnePlus 7 Pro. There was a button on the volume slider to pipe the sound to the phone, the ears, the car, or any other paired device. I miss that button!
[General Topics] AlainCh2:
Great explanation THANKS!!!

One silly issue, where you can have a lead for me:

every time Wireless Debug reconnects it will change randomly IP:port number

I use SCRCPY which is similar to VYSOR... but completely free...

it will not be able to reconnect not knowing what port to call, and having lost the previous one.

Using SCRCPY I'm mirroring two static androids on USB and that's fine,

but the issue is with the other two mobile androids ( main & backup ) that I have to connect wireless because they are moving with me.

This is part of the .BAT for my main cell> POCO F3

This is POCO F3 W. D. screen with the ver changing port number

View attachment 5673083

.... BAT results are the same with the wrong port and without a port number

View attachment 5673087By default without a Port Number,

it will try only the standard port:55555 and as per the previous Port:38227 it will not be authorized to use it !!!

Is there a way to set fixed that Port number?

I have to manually look at it and then change it in my .BAT.

Even a simpler roundabout that allows me to get back my androids automatically on the PC will be fine !!!
[General Topics] GalaxyA325G:
I know. I know. It happens to me also.

It's even worse in some ways in that BOTH ports change.

That is, every once in a while the random port changes for the adb "connect" command:

C:\> adb connect 192.168.0.2:12345

And, at the same time, the random port (which is a DIFFERENT port!) also changes for the adb "pair" command (as does the 6-digit PIN).

C:\> adb pair 192.168.0.2:54321 123456

Sometimes the port stays the same for days, sometimes it changes. I haven't tested yet what circumstances change that port, but I agree with you that it happens a lot.

I use both scrcpy and vysor (both of which are free, but vysor has some non-free stuff that I don't need).

Interestingly Vysor "says" it won't do pure wireless without paying for it but that isn't true - both scrcpy & vysor work completely wirelessly.

Vysor won't give you the good resolution without paying for it while scrcpy will give you better resolution all the time.

They're essentially the same (as far as I can tell anyway)... where I had to write a script to make scrcpy work without the console though (whereas vysor works without the console without modification).

Certainly Vysor is SLOWER than scrcpy on startup, where scrcpy is almost immediate and nothing needs to be put onto Android, but with Vysor, it MUST install some temporary vysor.apk each time you run it, but once they're both up and running, the speed is indistinguishable (as far as I can tell).

The one thing Vysor seems to do better than scrcpy is it seems to figure out better what port adb is currently on - but I don't know how Vysor does it - and - worse - Vysor doesn't do it correctly every time.

It's frustrating - which is why I AGREE with you that if we could somehow lock the port down on Android - that would solve the problem - or - if we could figure out using a Windows command what the current port is on Android - that would also solve the problem.

We need help from Windows/Android experts!

I'm with you about the port number having to be put into the batch file, where I have a batch file for scrcpy that no longer requires the port but I have to establish the adb connection first unfortunately.

I have the same problem that the port keeps changing.

I have the same question as you do, but I was approaching it from the OTHER angle.

That is, the batch file can ascertain what the port number is.

That's possible - but I don't know Windows well enough to be successful all the time. Sigh.

I think there are two approaches to a solution.

1. Try to keep the port static, or,

2. Try to figure out the port (after the fact) in the batch file.

I've been working on the latter using these Windows commands.

C:\> netstat -ano -p tcp | findstr "192.168.0.2"

C:\> adb shell "ifconfig|grep -A 1 wlan0|tail -n 1|cut -f2 -d:|cut -f1 -d' '"

C:\> adb mdns services

C:\> nmap 192.168.0.2

But I need help in how to figure out the port from Windows.

Once we figure out the port, we can feed it to the batch files.
[General Topics] AlainCh2:
I suppose you missed the last part of my message after "learn how to use" it

🙃

Range:

I checked it from the past reconnections: ports 30xxx to 44xxx

TIME:

It took me 20 minutes to do 138 ports :eek:

>>>but maybe ... sending to log instead of using cache... can be faster

SEARCH:

I showed the found string as well

_______________________

I've got the string to look at >> "e): LIST"

_______________________

°-°

The most difficult task is now up to you:

How to pass the found record to ADB & SCRCPY

String found = VAR1

>> ADB CONNECT IP:"VAR1"

>> SCRCPY ..... -s IP:"VAR1"

°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°

Big issue is the time needed to connect the cell to the PC

> for the

first time after you get home

For me, reconnecting it's twice a week in a normal situation, 'cause I'm normally locked in bed...

...but I imagine you and other people are in a different situation.

For me, it would be no problem at all, if under 1 hour,

provided that the .Bat will wait for the PocoF3

> xxx.103 to appear in LAN, before starting to look for the port.

This is why:

After a foraging boot, I enter the LAN while I'm parking the car downstairs.

Both Car and Cell connect nearly at the same time.

It will take some time ....

to climb 19 steps and getting upstairs, enter the home, arrange all the goods, then do the chores at hand

.... as much as 20 to 40 minutes or more will pass before I finally go to the PC and lay back onto the bed.

(usually forgetting somewhere the phone till it will ring - or I need for an SMS confirmation code, for instance)

I would have to rise and search - no matter how I feel

>>> that's the reason it's so useful for me to have it wireless on PC <<<<<

Even if it takes a long time I wouldn't probably even notice it,

if I'm not going straight to the PC, and in that case, I plug the cell in USB.

It's after that I may forget again, rise and search. So now I maniacally do Port's manually.

( unless I forget to do it the first time - start again from tiles zero )
[General Topics] GalaxyA325G:
I just came home and connected to scrcpy via adb over port 41703

(which I knew was the port from looking at the phone, but I WISH I could figure out that port from Windows!)

And then I ran the Microsoft port query command (which is as slow as a lazy dog), but at least portqry.exe listed that port as "listening"...

Of course, I cheated as I already knew the port was 41703 by looking at the phone by longpressing on the new Android 12 "Developer options Wireless debugging tile" (which saves a bunch of steps digging into Android Settings and then Developer options).

But assuming I didn't know the port, but only knew the range, this would work (but it's horribly slow).

Of course, I cheated by giving the slow portqry command a small range, as it would have taken forever to give it the range of 30000 to 40000 which is, so far, the range that I've seen being used.

Hindsight is so 20/20 in that once you've cheated such that you know the "static" IP & "random" port that Android set the new Android 12 Developer options Wireless debugging to, many basic network commands will quickly tell you that specific IP address is being used.

And, more to the point, the basic networking commands can tell you the random port - if - for example - if you had connected to it using adb yesterday or a week ago and that random port assignment had not changed in the interim...

What we need, of course, is a way to narrow down the range of ports that adb will use, which, to that end, I opened this thread about:

[adb,scrcpy,vysor] What ports does Android 12 randomly set when Wi-Fi connecting via Wireless debugging adb "pair" or "connect" commands?
[General Topics] AlainCh2:
TILE:

If I tap it, I can enable the option.

If I long press it, nothing happens and the tiles disappear immediately

> strange, isn't it ?
[General Topics] AlainCh2:
I think we have another option here:

3. Set

IN ANDROID ADB

the port we want.

That can be done using an Android.Bat activated by the wifi connection event

..... and HERE WE GO with the android terminal string for the standard port:

>> adb -d shell setprop service.adb.tcp.port 55555

Referring to:

Is it possible to adb connect android via wifi without configuring port on android?

I can connect via wifi by typing these codes in android terminal - setprop service.adb.tcp.port 5555 stop adbd start adbd and connect ip:port on PC adb .. it is connected .. Is there any possibi...

android.stackexchange.com

____________________________________________________________________

The following under bash:

$ export ANDROID_ADB_SERVER_PORT=12345

$ adb start-server

* daemon not running. starting it now on port 12345 *

* daemon started successfully *

$ adb devices

List of devices attached

TA2070M5O6 device

$ ANDROID_ADB_SERVER_PORT=6789 adb devices

* daemon not running. starting it now on port 6789 *

* daemon started successfully *

List of devices attached

Refering to:

https://xdaforums.com/t/how-to-make-adb-listen-to-tcpip-5555-after-reboot.1825359/

________________________Start testing ______________________

View attachment 5676681

Poor results >> I don't know Linux or Android enough

>> Please Step-In

___________________Waiting you ______________

I'm reading this:

Android Debug Bridge (adb) | Android Studio | Android Developers

Find out about the Android Debug Bridge, a versatile command-line tool that lets you communicate with a device.

developer.android.com

And we got a hit on the first 20 lines !!!

>>>>>> I take a break... see you in 7-9 hours