Read spo2 data via python - Xiaomi Mi Band 4 Questions & Answers

Hello ,
I'm using this https://github.com/satcar77/miband4 repository for reading data from miband5 everything is working good,except i can't read spo2 data.
my last try was getting this pocket when i requested spo2 on band
b'\x19S\x00\x00\xff\x05\x05\x80\x80S\x02\x00\xff\x05\x05\x80\x80'
here is the problem it seems it's not a real hex data so how can i make it work

Bought Mi Smart Band 5 a couple of days ago, york global version.
You can't read spO2 due to software restriction or cause spO2 is not available?
Thanks.

Related

Mi Max Helium strange Sim-Card Behaviour

I own a Mi Max Helium and from the first day I use it with open bootloader and Custom Roms.
After 4 Weeks of using the strange things began:
- I lost network sometimes, but most of the times it was back in seconds. (once or twice a day)
- then randomly the MiMax said there is no sim card installed. Ok reboot phone and everything was okay. (once or twice a day)
- then it happened every hour
- and then sometimes after some hours or some minutes - not replicatable
- as a last step rebooting the phone doesn´t help. I have to kick out the Sim, wait some seconds and put it in again
Ok I thought it was a fault with the custom roms.
Made a real big factory reset with mi flash tool and cleaned the whole phone like a new device after the delivery.
After the first reboot it wasn´t able to find any simcard (IMEI und EFS was okay), so I thought phone or SimCard has a defect.
Took a simcard from my girlfriend - everything was working fine. Took my simcard in the MiMax and curiously everything was working fine
Flashed Xenon HD Custom Rom and everything worked well the last 4 Weeks and now the whole Sh*t begins again in the same way like described above.
Wtf is that behaviour? Can anybody report similar things?
Using SIM-Slot 1 or SIM-Slot 2 makes no difference. Its not logical or reproducible for me
T-Mobile? There has been reports not only fo Mi Max but One Plus X and some other Chinese brands killing particular tipes of T-Mobile sim cards by constantly trying to write on them. Sounds exactly what you are describing.
Solution is call T-Mobile, they know the issue and should replace sim card with the right tipe.
nijel8 said:
T-Mobile?...
Click to expand...
Click to collapse
Interesting. No I´m using a german multiple provider called 1&1 and they use Vodafone D2 Network here.
They also use Telefonica (ePlus & O2), but the reason for that behaviour could be the same. I will call my provider and hope the know similar cases.
Thanks for the advice so far :good:
Well I share you problem I am.from Chile and this started to happen after updating to official ROM 8.2.3.0
I tried for months to find a fix but in the end I've noticed in my country all operators started using 4g band 28 (700mhz aggregation) band is not compatible with my Max prime (helium)
This doesn't explain why the card is lost until rebooting the Phone though.
A good thing is to set auto turn off in security app at 7:00am then enable auto turn on at 7:10 am this way your phone will work in the morning and not lose any important phone calls.
Check out this thread
Do you have any similar symptoms? Can you search for networks manually? I can't
https://forum.xda-developers.com/showthread.php?t=3604428
Sent from my MI MAX using Tapatalk
DJ_Tomato said:
Well I share you problem I am.from Chile and this started to happen after updating to official ROM 8.2.3.0
I tried for months to find a fix but in the end I've noticed in my country all operators started using 4g band 28 (700mhz aggregation) band is not compatible with my Max prime (helium)
This doesn't explain why the card is lost until rebooting the Phone though.
A good thing is to set auto turn off in security app at 7:00am then enable auto turn on at 7:10 am this way your phone will work in the morning and not lose any important phone calls.
Check out this thread
Do you have any similar symptoms? Can you search for networks manually? I can't
https://forum.xda-developers.com/showthread.php?t=3604428
Click to expand...
Click to collapse
Try cleaning the sim card with acetone.
nijel8 said:
T-Mobile? There has been reports not only fo Mi Max but One Plus X and some other Chinese brands killing particular tipes of T-Mobile sim cards by constantly trying to write on them. Sounds exactly what you are describing.
Solution is call T-Mobile, they know the issue and should replace sim card with the right tipe.
Click to expand...
Click to collapse
can you please explain smart cpu efficiency feature in new miui nougat update it will be very helpful I tied to create a port regarding this but can't
Even i had than issue on xenon and aosp extended rom could not able to find workaround so jumped to miui

travel problems with lineage: gps and mobile data

dear community,
we have two identical wiley fox swift with lineage os 15 (crackling), working fine for years since cyanogen and LOS14.
traveling from europe to panama showed us following problems:
we could not use a sim card from panama to use mobile data. we tried changing slots, only using one sim, having everything checked by local customer support. the sim worked fine one someones phone with android firmware, also from europe.
I found out that it might have something to do with "baseband". as this is beyond my understanding, i hope for your help. will the problem solve when I upgrade ot LOS 16?
related to the mobile-data-issue is the gps issue. I only can use gps with mobile data. i checked with google maps and maps.me.
the "gps test" app always finds and uses sattelites, even in flight mode with only gps on.
these issues make the LOS quiet unhandy for travelling.
any recommendations.
I hope this post is ok, as this is my first one.
kind regards
regina

Volte not working :(

Xperia XA2 H3113 Android 9 (50.2.A.3.77)
Hi,
I recently got an Xperia XA2 and I can't use VOLTE.
My previous phone the Samsung j5 pro worked, but the XA2 keeps dropping down to H+.
I have contacted Vodafone in Brisbane Australia and they say it is an issue with the handset and it may need an update.
Any help would be appreciated.
I tried *#*#4636#*#* , but VOLTE provisioned is greyed out and off.
Same problem here for over a year. *#*#4636#*#* dimmed out. Also see wifi calling under that is also dimmed out. Sometimes I spend a few days or a couple weeks trying to solve this with AT&T and a little bit with Sony. But then I have to get back to work eventually without an answer. No one seems to have an answer. Did you ever resolve this?
Sony support has informed me they have XA2 customers with VoLTE working on AT&T, and here is more confirmation it should work from Freedom Mobile.
Freedom Mobile VoLTE enabled on Sony Xperia XA2, XA2 Ultra, XZ2
Freedom Mobile's fledgling VoLTE service now supports the Sony Xperia XA2, Xperia XA2 Ultra and Xperia XZ2.
mobilesyrup.com
Hey @MatthewIsLost.
I'm not sure if you still have your XA2 like I do. I'm busy and just kept using it. I'm being forced to do something finally because my carrier is shutting down 3G and they think I have a 3G phone because it keeps switching to 3G for voice calls for months or maybe a year and a half. When I first bought the phone the switches in the OS were there for VoLTE and WiFi-calling, but I didn't know what they were and was busy. When I would work on my H or H+ calls problem every few months with AT&T I learned I wanted those features. Never could get it. Sony was patiently helpful over the last couple years about this and advised they would not update the phone OTA with an update that would take away any features of the phone such as VoLTE and WiFi-calling. They also gave me the URL last week that shows the XA2 as a Sony phone with VoLTE at this link...
https://www.sony.com/electronics/support/articles/SX570801
When it opens, click the "Applicable Products..." as shown below.
{
"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"
}
With this recent push from AT&T to get a 4G phone, I finally decided it's time to figure this out. I spent some hours with tech support at AT&T and finally one rep listened to my symptoms and ran tests for about 45 minutes and finally asked me if my phone said AT&T at the top. It did not. That led to me finally spend more hours figuring out how to flash my Sony. Hadn't flashed with fastboot and adb since my old MotoX. Dialing *#*#4636#*#* has also shown dimmed out buttons like yours. No one could tell me what that meant. By the way, I stopped by Verizon store and they were very helpful and put in a Verizon SIM they had lying around and my phone booted with it and my screen said Verizon at the top left as it was supposed to. That was done with the flash of LineageOS ROM on my phone.
A few days ago I used the installation instructions at LineageOS to put LineageOS 18.1 on my XA2, so right now I'm running Android 11 (LineageOS 18.1) and have been testing it for a few days. Getting a new SIM I hope soon, and also hope to get a cleaner flash of LineageOS before that SIM. I still have trouble with my signal strength icon and it still doesn't say AT&T in the top left of my screen, but it now says AT&T in the settings menu next to signal strength icon. I also now have the VoLTE switch in Settings/Network/Mobile Network where it should be, and WiFi-calling switch is in the Phone app settings under calls where it should be, and they are also showing as all turned on now in *#*#4636#*#* menu. So it is real progress on learning something. Not sure what yet. Since I flashed, it doesn't switch to H or H+ any more on calls, but whenever I make a call it switches from LTE to 4G, so I'm still not allowed VoLTE for some reason.
Malware? With LineageOS, I also installed Protectstar's Anti Spy and it identifies "Data Transfer Tool" as malware and that the program's source is unknown. I cannot delete it. Search reveals a regular Data Transfer Tool is a Google app. So could this be a fake version of the real Google app, or a false positive? No idea. Maybe if Data Transfer Tool really is malware or is fake version of the real app that adds reporting capabiliy, could it be such a good fake that Google won't let me delete that part of the OS. I also accidentally found 1 app had permission to use Unrestricted Data and it was Google Play services. I don't know if it is supposed to, but I turned it off. The thinking on my part is it would fit in with how my phone behaves. It's like there is never too much damage, it has mostly been like someone is in the way hampering me and getting all my data. Makes it difficult to grow a business over years.
Also after this new Lineage flash, I noticed at boot up, even though I always keep location turned off, the little tear drop icon indicating "location on" would show up at the top of my screen for 1-2 seconds as though reporting my location. As I drove around town and tried to keep tabs on my signal I would see the location being turned on and off again and again from time to time. Since I reported this over email and voice calls, it seems to have stopped. Since I don't know much, I still think there is malware. I learned some time back there is SIM malware. SIMs have microprocessors too. Check out this...
SIM cards Forensic Analysis with Oxygen Software | Digital Forensics | Computer Forensics | Blog
www.digitalforensics.com
I hope to have a cleaner flash of my XA2 today or tomorrow and a new SIM soon to get my phone to say AT&T at the top. We'll see.
If anyone knows where I can read about securely overwriting my phone storage without losing the ability to flash a new ROM, it would be great to hear from you. I thought I remembered using TWRP years ago with an option to format and it took a long time for a 32 GB phone as it should. But I wasn't able yet to confirm on the Net that TWRP overwrites all partitions. I see the "fastboot format" but something I read made me think it was only for the user data. I have lots to read.
Update July 31, 2021: My posts will continue about this problem at my URL wigglemylegs.com. I am continuing to look for technical answer for how AT&T can say my phone is 3G when they have seen my phone talking to them live on 4G, using LineageOS 18.1. If anyone knows how to straighten this mess out with AT&T it would be great to hear from you. They are trying to force my 4G LTE phone off their system by February 2022, by claiming it is only a 3G phone.
MatthewIsLost said:
Xperia XA2 H3113 Android 9 (50.2.A.3.77)
Hi,
I recently got an Xperia XA2 and I can't use VOLTE.
My previous phone the Samsung j5 pro worked, but the XA2 keeps dropping down to H+.
I have contacted Vodafone in Brisbane Australia and they say it is an issue with the handset and it may need an update.
Any help would be appreciated.
I tried *#*#4636#*#* , but VOLTE provisioned is greyed out and off.
Click to expand...
Click to collapse
AT&T (and I presume it's MVNOs) is not just instituting a VoLTE only policy, they are instituting a device whitelist. So even if your phone is VoLTE capable and can use this technology on say T-Mobile, if it isn't on the AT&T whitelist, it is banned from their network. So aside from the "we must redeploy bandwidth" reason, AT&T is using this change as an excuse to strike down BYOD and presumably boost handset sales...as well as the monetization of their customers by giving them handsets with preinstalled software that can more easily harvest their information.
Hey,
I just sumbled upon this threat because I'm trying to get VoLTE working on my mothers XA2 Ultra. Old_Mil is right with what he said but there is some Qualcomm tool to import the setting for a carrier to the modem. I did it for my old OP 3. But it's probably very risky to brick the modem.
If you really want I'll look for the link and some BG info.
Pretty interesting. I found this bit here below.
How to enable VoLTE on Qualcomm devices running Generic System Images (GSIs)
The VoLTE-Fix mod can be used to bring back support for Voice over LTE on most Project Treble-compliant Qualcomm devices running Generic System Images.
www.xda-developers.com
I guess that's what you're referring to above.
Chris8top8he8r said:
Pretty interesting. I found this bit here below.
How to enable VoLTE on Qualcomm devices running Generic System Images (GSIs)
The VoLTE-Fix mod can be used to bring back support for Voice over LTE on most Project Treble-compliant Qualcomm devices running Generic System Images.
www.xda-developers.com
I guess that's what you're referring to above.
Click to expand...
Click to collapse
Does it work for anybody?
I've been so busy I haven't looked into any of that fix for myself. Anyone else have anything?
I spent many hours over years trying to familiarize myself with the technology involved on my XA2 and learn how to fix my phone with AT&T's help. They didn't want to help. They tortured me for years by removing my VoLTE after the first 2 months, by reclassifying my XA2 as 3G so their towers won't accept me. You can read about it at my handyman URL of
wigglemylegs.com
where I posted many details. If you scroll to the bottom of long thread you see a dateline summary. AT&T HQ told me they could see my phone was erroneously classified as 3G in their tables and they could see that it was clearly a 4G LTE phone, but they didn't have the resources to fix it. When I opened a complaint with the FCC they wrote a reply denying this. Their legal out when faced with getting caught up in corruption is to offer a free phone. They offered me several models of free phones, but I didn't want it, because it is the principle of the thing that is wrong. I currently am on Lineage OS (Android 11) using voice apps that use data only like Whatsapp and so forth. Works great. Limited on calling regular numbers, so use others for that. The HD voice quality is just super!!
May the VoLTE be with you!!

Question MIUI 12.5.2, Security Constantly Nagging about Data Roaming, which is already set to "Never"

Hello All,
It's been a while since I've been on XDA, and I recently upgraded from a Redmi Note 6 Pro to a Redmi Note 9T to take advantage of 5G.
So far I'm loving the phone, but there is one peculiarity, and that's noted in the subject. It seems to have appeared right after I issued the dialer code, *#*#86583#*#*, to enable VoLTE on my phone, which is a global model on which VoLTE comes disabled by default.
I cannot understand why Security is constantly flagging Data Roaming when it is already set to Never. I have been ignoring the message, but if there is a solution to make it stop I'd love to hear it. This is one I just have not had any success finding any good information on. I've never been in a situation where international data roaming could have come into play, and yet this warning persists.
Thanks in advance for any insights.

Question NFC working ?

Hi,
I have a red magic 6 EU last ROM.
Have you tested NFC for paiement and is it working ?
I had it on my old phones (Poco F2 Pro and Poco X3 NFC using Google Pay and it was working fine but I have never been able to use it on the RedMagic.
nfc work
google pay work
North America & Asia V4.25
is there a switch to enable it ?
My google pay account is configured but when I place the phone for a paiement, there is no reaction even a failure notice or a refused payment

Categories

Resources