mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-26 10:17:18 +00:00
add more info
This commit is contained in:
@@ -10,21 +10,29 @@ With this app you will be able to :
|
||||
- control air conditioning
|
||||
- control lights and horn if your vehicle is compatible (mine isn't)
|
||||
|
||||
## I. Get all credendtials
|
||||
## I. Get all credentials
|
||||
We need to get all credentials from the MyPeugeot app data. To do that we will backup the app.
|
||||
We will retrieve those information:
|
||||
- client-id and client-secret for the api
|
||||
- remote refresh token for the control of the vehicle
|
||||
|
||||
1. Backup MyPeugeot app
|
||||
|
||||
1.1 MyPeugeot app doesn't allow backup by default so you need to modify it.
|
||||
To do that you can follow this guide: https://forum.xda-developers.com/android/software-hacking/guide-how-to-enable-adb-backup-app-t3495117
|
||||
The original app can be downloaded [here](https://apkpure.com/fr/mypeugeot-app/com.psa.mym.mypeugeot) for example.
|
||||
|
||||
1.2 Uninstall the original app
|
||||
|
||||
1.3 Install the modified app
|
||||
|
||||
1.4 Enable developer mode on your android phone
|
||||
1.4 Login on the app and start a remote request (start preconditioning for example) to generate remote refresh token
|
||||
|
||||
1.5 enable password for backup in developer option of your android phone (for some smartphone it is mandatory to sucessfuly backup app)
|
||||
1.5 Enable developer mode on your android phone
|
||||
|
||||
1.6 backup MyPeugeot app :
|
||||
1.6 enable password for backup in developer option of your android phone (for some smartphone it is mandatory to successfully backup app)
|
||||
|
||||
1.7 backup MyPeugeot app :
|
||||
|
||||
``` adb backup -f backup.ab -noapk com.psa.mym.mypeugeot ```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user