Fabio286 / open-ready-for

Open-source and cross-platform Motorola Ready For remote connector.
57 stars 6 forks source link

Incompatibility with Android 12 #1

Open Titokhan opened 2 years ago

Titokhan commented 2 years ago

The newly released Motorola Edge Plus 2022 (sold as the Motorola Edge 30 Pro globally, Moto Edge X30 in China) runs Android 12 out of the box. It shows the following error after scanning the QR code:

Software update needed
Your PC may have an older Ready For software version than your phone.

Go to www.motorola.com/readyfor to install it on your PC.

Screenshot_20220331-201302

Fabio286 commented 2 years ago

Hi @Titokhan, it looks like that they updated Ready for on Android 12. I'll try to decompile the new version of WIndows app to investigate. Unfortunately my Motorola didn't get Android 12 yet.

Titokhan commented 2 years ago

@Fabio286

If you want, I can share the inbox APK (or the associated libraries from the Android 12 firmware) for you to take a look.

Do you think dumping the com.motorola.mobiledesktop package is sufficient?

b1be commented 2 years ago

did you try to change version from "1.6.60" to "03.0.0.100.000_2022-03-10-00:53:19" in (https://github.com/Fabio286/open-ready-for/tree/master/src/views)/index.js ?

Fabio286 commented 2 years ago

I am waiting Android 12 to try to support the new Ready For Android app. I am enrolled in the Motorola test program, I should receive Android 12 preview soon. Not being an Android developer i dont know if is a good idea replace the APK with latest. I prefer to wait for an update.

Titokhan commented 2 years ago

@Fabio286

Which Moto device are you using, if I may ask?

Fabio286 commented 2 years ago

@Fabio286

Which Moto device are you using, if I may ask?

Motorola Edge 20 Lite

Titokhan commented 2 years ago

@Fabio286 Which Moto device are you using, if I may ask?

Motorola Edge 20 Lite

Aah, this one has yet to get a public beta of Android 12. :(

Fabio286 commented 2 years ago

I received the test drive invitation on May 2nd but no updates until now.

Titokhan commented 2 years ago

Yes, I'm aware of the MFN thing for this device. But as I said earlier, still no public beta.

tibi03 commented 2 years ago

hello @Fabio286 ,

are you using the latest version of Ready for assistant? i can see that in Version: 03.1.0.001.000_2022-05-06-01:02:11 the QR code is different from what open ready for is generating. maybe is is not really related to android12.

Fabio286 commented 2 years ago

hello @Fabio286 ,

are you using the latest version of Ready for assistant? i can see that in Version: 03.1.0.001.000_2022-05-06-01:02:11 the QR code is different from what open ready for is generating. maybe is is not really related to android12.

Its not that simple as just changing a string inside the QR code. They rewrote the entire Ready For desktop application in a way that is really difficult a reverse engineering, plus they also changed connection mechanics.

With the old Ready For it was enough just to generate a QR code in the right format to make the phone open port 3389 and listen for RDP.

Now it is the Windows application that sends a message to the phone to connect. The application is also able to connect to the phone without the phone scanning the QR every time.

The old official Ready For desktop application was poorly written, not obfuscated, and did only one thing, which made it easy do reverse engineering to replicate its function.

The new application is more complex and consists of obfuscated and compiled code.

Unfortunately, therefore, I will not be able to offer support for Android 12.

piotr-cz commented 2 years ago

There is similar project written in Python: https://github.com/yetanothercarbot/readyforpy Perhaps they have a workaround?

Fabio286 commented 2 years ago

There is similar project written in Python: https://github.com/yetanothercarbot/readyforpy Perhaps they have a workaround?

It works with Android 12?

piotr-cz commented 2 years ago

I have no idea, latest update has 6 months ago.