Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airpods Pro 2nd generation #246

Closed
Karthinabi opened this issue Sep 19, 2022 · 66 comments
Closed

Airpods Pro 2nd generation #246

Karthinabi opened this issue Sep 19, 2022 · 66 comments
Labels
enhancement New feature or request

Comments

@Karthinabi
Copy link

Add support latest Airpods Pro (2nd generation) 2022

@jonathanfan-ee
Copy link

+1

@steam3d
Copy link
Owner

steam3d commented Sep 23, 2022

Hi. I can't say anything. It difficult to get the AirPods Pro 2 for me. I will follow the news about AirPods Pro 2

@YongHuM1ng
Copy link

Hi. I can't say anything. It difficult to get the AirPods Pro 2 for me. I will follow the news about AirPods Pro 2

I have an Airpods Pro 2, is there anything I can do to help?

@joshhoughton
Copy link

+1, same here, please let me know if there is anything I can do! @steam3d

Just want to say, amazing app, have been using for the last 1.5 years with my Airpods Pro 1 every single day.

Regretting upgrading to the 2nd gen for this reason! <3

@MiLeX84
Copy link

MiLeX84 commented Sep 24, 2022

Same, currently sad that the app doesn't support AirPods Pro 2nd gen. Please add ASAP :)

@Koterak
Copy link

Koterak commented Sep 24, 2022

Also I have Airpods Pro 2, so if there is anything I can help with, let me know

@steam3d
Copy link
Owner

steam3d commented Sep 24, 2022

Guys in my country don't officially sell apple appliances. When I could get headphones - I will try to add.
If you already have the AirPods Pro 2:

  • Could you screen record the new AirPods Pro 2 animation?

  • Could you run the DeviceFinder before connecting AirPods Pro 2:

    1. Run the DeviceFinder
    2. Connect AirPods Pro 2
    3. Try listen to music
    4. Put both headphone to case and close it
    5. Send the log file here

@joshhoughton
Copy link

Hey @steam3d, here you go!

IMG_2785.MP4

log.txt

Best of luck!

Josh

@joshhoughton
Copy link

@Slinesx
Copy link

Slinesx commented Sep 25, 2022

Guys in my country don't officially sell apple appliances. When I could get headphones - I will try to add. If you already have the AirPods Pro 2:

  • Could you screen record the new AirPods Pro 2 animation?

  • Could you run the DeviceFinder before connecting AirPods Pro 2:

    1. Run the DeviceFinder
    2. Connect AirPods Pro 2
    3. Try listen to music
    4. Put both headphone to case and close it
    5. Send the log file here

if you need more log🙏
log.txt

@steam3d
Copy link
Owner

steam3d commented Sep 26, 2022

Looks like AirPods Pro 2 works different because it has a new case. They seem to work, but I can't guarantee that the case won't get in the way. I can try to test the program on your data. Could someone do this?

  1. Run the DeviceFinder before connecting AirPods Pro 2:
  2. Bring case AirPods Pro with AirPods inside as close as possible to Bluetooth dongle if you have PC or laptop.
  3. Wait 5 sec
  4. Open the case with AirPods inside
  5. Wait 5 sec
  6. Take left AirPod out from the case
  7. Wait 5 sec
  8. Take right AirPod out from the case
  9. Wait 5 sec
  10. Put left AirPod in ear
  11. Wait 5 sec
  12. Put right AirPod in ear
  13. Wait 5 sec
  14. Put left AirPod out from ear
  15. Wait 5 sec
  16. Put right AirPod out from ear
  17. Wait 5 sec
  18. Put left AirPod into the case
  19. Wait 5 sec
  20. Put right AirPod into the case
  21. Wait 5 sec
  22. Close the case
  23. Wait 5 sec
  24. Upload the log.txt

@joshhoughton
Copy link

Hey @steam3d, please find the log file attached :)

log.txt

@zdravkoggeorgiev
Copy link

Привет, @steam3d сделал что ты просил в log.txt
log.zip

  1. Trial можно сбросить, когда новая версия въйдет для Airpods Pro 2? Я установил, но не могу попробовать.
  2. Кроме визуальный настроек есть и другие подобрения? У меня проблем что ничего не слышно с микрофона Airpods Pro 2. Надеялся, эта прога изправит.

@steam3d
Copy link
Owner

steam3d commented Sep 26, 2022

@zdravkoggeorgiev Did you put both AirPods in ears? Because i did not find it in log files

@joshhoughton
Copy link

joshhoughton commented Sep 26, 2022

@steam3d just curious, what do you use to decode the hex that comes from the script? Is there any Bluetooth reference that you use?

Could you find those events in my log file?

@steam3d
Copy link
Owner

steam3d commented Sep 26, 2022

@joshhoughton I did not decode this data. Bluetooth advertisement is byte data. The Apple sends this data across all their devices. So no one know how it works. Because of it the AirPods 1 may works perfectly but AirPods Pro 2 not.

I checked your log and find that only Left AirPod was in ear.

I have 2 ways now. I can enable limited support for AirPods Pro 2. EarDetection and popup animation features will not work or I will try to figure out what's wrong when I get AirPods Pro 2.

So you could try to put AirPods in case and put them out and put them in ears multiple times to get more inform log file. I think the new case has Bluetooth module as well, thus AirPods Pro 2 has 3 Bluetooth modules.

@joshhoughton
Copy link

Hey @steam3d thanks for this info!

I've just retried:

  1. opening case,

  2. putting left AirPod in ear, waiting ~5 seconds, taking out of ear, waiting ~5 seconds [x3]
    log.txt

  3. putting left AirPod back in case

  4. putting right AirPod in ear, waiting ~5 seconds, taking out of ear, waiting ~5 seconds [x3]

  5. putting right AirPod back in case

  6. close case

Let me know if you need any more information, happy to help however I can.

@zdravkoggeorgiev
Copy link

zdravkoggeorgiev commented Sep 26, 2022

@steam3d
There could be some issue on my side because I have mention multiple times that puting into ear doesn't work or pushing buttons doesn't work. I can put both earplugs but only one plays music. It happens like 5% of time.

I will wait a week to see - will there an update come out? If there is no update then probably I have issues with my earplugs.

As additional note - there is one additional device which is found in Windows as "stb bsa bluetooth device". I am not sure is this the case. "BTHLE\DEV_402F8641D36E\7&26C4689&0&402F8641D36E"

In 4 hours I can try again and to play music to be sure that putting into the ear is recognized because I am at work right now.

@steam3d
Copy link
Owner

steam3d commented Sep 26, 2022

@joshhoughton I can confirm that Left and Right AirPod was detected. I can also confirm that some data does not match with other my AirPods. Thanks for help.
I will wait some other people who give their data and I will compare with yours

@Slinesx
Copy link

Slinesx commented Sep 26, 2022

@joshhoughton I can confirm that Left and Right AirPod was detected. I can also confirm that some data does not match with other my AirPods. Thanks for help. I will wait some other people who give their data and I will compare with yours

Here is my log file, hope it can be helpful
log.txt

@tmalust
Copy link

tmalust commented Sep 26, 2022

log.txt

Mine as well :)

@steam3d
Copy link
Owner

steam3d commented Sep 26, 2022

Can someone collect data with closed case?
Connect AirPods Pro to PC and play some music. After it run DeviceFinder on 10-15 sec.

@YongHuM1ng
Copy link

看起来AirPods Pro 2的工作方式不同,因为它有一个新的外壳。他们似乎有效,但我不能保证这个案子不会妨碍。我可以尝试在您的数据上测试程序。有人可以这样做吗?

  1. 在连接空气豆荚 Pro 2 之前运行设备查找器
  2. 如果您有PC或笔记本电脑,请将带有空气豆荚的空气豆荚专业版外壳尽可能靠近蓝牙加密狗。
  3. 等待 5 秒
  4. 打开装有空气豆荚的箱子
  5. 等待 5 秒
  6. 从箱子里拿出左边的空气舱
  7. 等待 5 秒
  8. 从箱子里拿出右一个空气豆荚
  9. 等待 5 秒
  10. 将左空气荚放在耳朵里
  11. 等待 5 秒
  12. 将正确的空气荚放在耳朵里
  13. 等待 5 秒
  14. 将左空气荚从耳朵中取出
  15. 等待 5 秒
  16. 将右空气荚从耳朵中取出
  17. 等待 5 秒
  18. 将左空气荚放入箱子中
  19. 等待 5 秒
  20. 将正确的空气荚放入机箱中
  21. 等待 5 秒
  22. 关闭案例
  23. 等待 5 秒
  24. 上传日志.txt

log.txt

@Slinesx
Copy link

Slinesx commented Sep 26, 2022

Can someone collect data with closed case? Connect AirPods Pro to PC and play some music. After it run DeviceFinder on 10-15 sec.

This log file was generated under the condition that:

  1. My PC connected to AirPods (in my ears) and the case was closed and put aside.
  2. I started playing music.
  3. As music was played, I ran DeviceFinder for around 20-30s.
  4. Finally, closed the program.
    log.txt

@steam3d
Copy link
Owner

steam3d commented Sep 26, 2022

Right. I will try to add support AirPods Pro 2 at end of the week. I enable all features that other AirPods are supported.
I will write here when I upload the update. If there are any problems, then I will have to wait until I can get the headphones. But I think it will work.
Thanks everyone for your help.

@steam3d steam3d added the enhancement New feature or request label Sep 26, 2022
@steam3d
Copy link
Owner

steam3d commented Sep 27, 2022

Update is ready. Go to Microsoft Store and manually check the update. Leave feedback how AirPods Pro 2 works. if there is no update please wait couple hours while Microsoft updates information.

@joshhoughton
Copy link

I will try to add support AirPods Pro 2 at end of the week.

He lies! Thanks so much Alex @steam3d, seems to be working perfectly, amazing work mate! <3

@Dr-Yulun
Copy link

Thanks for your work! I have tried the newly released APP. All the functions perform good, and the volume adjust gesture works well!

@joshhoughton
Copy link

joshhoughton commented Oct 20, 2022 via email

@v0s
Copy link

v0s commented Oct 20, 2022

@steam3d what tools do you use to monitor the information from the airpods? Can i use some BLE explorer to try to figure out what they’re sending?

@steam3d
Copy link
Owner

steam3d commented Oct 20, 2022

@v0s Yes, you can. But it does not give usable information as I said above, AirPods Pro 2 stopped sharing data except battery info. so if apple decides to update all their headphones, they can do the same.

@akimbo-md
Copy link

akimbo-md commented Oct 26, 2022

Any update on this? I'm only able to connect to them when my case is closed. As soon as I take them out it disconnects. I have Bluetooth 5.1

Here is my log
log.txt

Ran Device Finder with the case closed. Let me know if you need more data from it.

@steam3d
Copy link
Owner

steam3d commented Oct 26, 2022

@akimbo-md Does it work without MagicPods? I do no have such behavior.

@akimbo-md
Copy link

It doesn't. Same behaviour using the Windows Bluetooth controls. I haven't been able to use my Airpods Pro 2 at all on this machine.

@steam3d
Copy link
Owner

steam3d commented Oct 26, 2022

@akimbo-md I heard that some Android users has trouble with connections. Connection drop down after 90 seconds. Maybe it is AirPods Pro 2 issue. I have Intel Bluetooth 4.2 and AIrPods Pro 2 connects and works good.

I as developer does not have access to Bluetooth Core so I can't check what's wrong. But I spent a lot of time to pair the AirPods Pro 2 with my PC. I have no idea what's was wrong but after couple of restart my laptop everything started work.

@abventorg
Copy link

@steam3d Hi! Thanks a lot for your work on this great app! Is it possible to add support for sending a pause/play command when the AirPods Pro 2 stem is pressed?

@v0s
Copy link

v0s commented Oct 27, 2022

@abventorg this works for me natively in Windows even without MagicPods. Volume up/down by caressing the stem works as well

@abventorg
Copy link

@v0s thanks. I tried another media player and saw the pressing stops/resumes the playback!

@steam3d
Copy link
Owner

steam3d commented Nov 9, 2022

I tested the new 5B58 firmware. Nothing changed in logic. AirPods Pro 2 still update their status only when connected to Apple devices.

@GlxryX
Copy link

GlxryX commented Nov 25, 2022

Are AAP2 usable with MagicPods? Debating on whether or not to get the original AAP or the AAP2 but don't want to get the newer one if functionality with the newer ones is lacking when it comes to the MagicPods application.

@v0s
Copy link

v0s commented Nov 25, 2022

AAP2 will not work with in-ear detection (i.e. won't pause the music when you take an airpod out), but it will display the battery charge

@GlxryX
Copy link

GlxryX commented Nov 25, 2022

@v0s is that a permanent issue?

@v0s
Copy link

v0s commented Nov 25, 2022

Seems so, @steam3d says AAP2 just don't report that info over bluetooth if they detect they're connected to a non-apple device (somehow)

@steam3d
Copy link
Owner

steam3d commented Nov 26, 2022

@GlxryX I recommend not make decision based on MagicPods, because Apple can changes any thing at any time. Of course I keep looking for solutions, but it's very difficult and slow.

I think that AirPods Pro 2 has a bug in their firmware, because I could not figure out why it stops share information about itself when it connected to none-Apple device.

I think there is alternative way to get raw data from AirPods, but Windows Bluetooth stack does not allow the use of low-level Bluetooth protocols. If it was possible I could add a remap keys.

@steam3d
Copy link
Owner

steam3d commented Nov 28, 2022

Does Ear detection work well for someone?

if not I will disable Ear Detection feature from AirPods Pro 2 next MagicPods update until some thing change and etc, because some users confuse with it. (According to my tests, ear detection does not work).

@Rodske
Copy link

Rodske commented Mar 7, 2023

I can connect with my Airpods Pro 2 - and see per pod battery power. Is there a way to see the power of the case?

@steam3d
Copy link
Owner

steam3d commented Mar 7, 2023

@Rodske put at least one AirPod in open case and wait 0-10 seconds.

@Void48
Copy link

Void48 commented Mar 12, 2023

Does Low Latency work with the new AirPods Pro 2? @steam3d

@steam3d
Copy link
Owner

steam3d commented Mar 12, 2023

@Void48 It works, but the name "Low audio latency" maybe be confusing. The MagicPods tries to preverent headphones go to IDLE mode. Because for some Bluetooth modules need from 0.2 - 1.5 second to go out from IDLE mode. For app like Adobe Premier Pro or Adobe Audition it very user useful.

@Oculus89
Copy link

Just wondering if anything has changed as far as the in ear detection working or not on the AirPods pro 2nd generation

@steam3d
Copy link
Owner

steam3d commented Dec 24, 2023

@Oculus89 No. Once you turn on music the AirPods Pro 2 stops sending data when you listen to music on Windows or Android, but if you listen to the music on IOS or MAC, the AirPods send data as usual.

@steam3d
Copy link
Owner

steam3d commented Jun 20, 2024

Added native support of AirPods Pro 2.

MagicAAP driver required and MagicPods 2.0.72.0 and above

Implemented

  • Accurate battery
  • Rename
  • Noise control
  • Press and hold siri
  • Press and hold anc
  • Mute & unmute
  • End call
  • Automatic ear detection (Insert and remove from ear)
  • Automatic ear detection (On/OFF)
  • Spatial audio
  • Microphone
  • Enable charging case sounds
  • Optimised battery charging
  • Find my network
  • Press speed
  • Press and hold duration
  • Noise cancellation with One AirPod
  • Spatial audio head tracking
  • Tune volume
  • Volume swipe
  • Volume swipe length
  • Firmware info

To discuss, join MagicPods Discord

@steam3d steam3d closed this as completed Jun 20, 2024
@v0s
Copy link

v0s commented Jun 20, 2024

Wow, congrats on the great reverse engineering work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests