Outils pour utilisateurs

Outils du site


android

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
android [2024/04/21 21:44] – [Installer et utiliser ADB] Benjamin Labomediaandroid [2026/03/19 13:21] (Version actuelle) – Benjamin Labomedia
Ligne 53: Ligne 53:
  
   ./adb pull /sdcard/DCIM/Camera/ /home/b01/Documents/photostels/   ./adb pull /sdcard/DCIM/Camera/ /home/b01/Documents/photostels/
 +  
 +===== Screencast Android sous Linux =====
 +Avec scrcpy !
 +
 +  * Télécharger le binaire ici https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md
 +  * Avoir installé ADB sur son ordi
 +  * Avoir activé le USB debug mode sur le téléphone / sous Android
 +
 +Ensuite lancer la commande :
 +
 +  ...scrcpy-linux-x86_64-v3.3.4$ ./scrcpy
  
 ===== Émuler Android sous Linux ===== ===== Émuler Android sous Linux =====
Ligne 245: Ligne 256:
 === Installer /e/ système sur Fairphone 3 === === Installer /e/ système sur Fairphone 3 ===
 Voir la page dédiée au [[fairphone|Fairphone]] Voir la page dédiée au [[fairphone|Fairphone]]
 +
 +==== Extraire un apk avec adb et le réinstaller sur un autre téléphone ====
 +=== Extraire ===
 +
 +
 +Extraction Process
 +
 +    Connect Your Device: Use a USB cable to connect your Android device to your computer.
 +
 +    Verify Device Connection:
 +        Open a command prompt or terminal.
 +        Type adb devices to check if your device is recognized.
 +
 +    List Installed Packages:
 +        Run the command: adb shell pm list packages to see all installed apps.
 +
 +    Find the APK Path:
 +        Use the command: adb shell pm path com.example.app (replace com.example.app with the actual package name of the app you want to extract).
 +        This will return the path to the APK file.
 +
 +    Extract the APK:
 +        Use the command: adb pull /data/app/com.example.app-XXX/base.apk . (replace the path with the one you found).
 +        The APK will be copied to your current directory.
 +
 +
 +=== Réinstaller : ===
 +
 +Set Up ADB: Install ADB on your computer and connect your Android device via USB.
 +Open Command Prompt: Navigate to the folder containing your split APK files.
 +Install APKs: Use the command:
 +
 +    adb install-multiple base.apk config.apk
 +
 +    Replace base.apk and config.apk with your actual split APK filenames. Include all necessary APKs as needed.
 +
 +
 +
 +
 +
 +
  
 {{tag>bj système_exploitation android}} {{tag>bj système_exploitation android}}
android.1713735853.txt.gz · Dernière modification : de Benjamin Labomedia