android
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| android [2024/04/21 21:22] – Benjamin Labomedia | android [2026/03/19 13:21] (Version actuelle) – Benjamin Labomedia | ||
|---|---|---|---|
| Ligne 53: | Ligne 53: | ||
| ./adb pull / | ./adb pull / | ||
| + | | ||
| + | ===== Screencast Android sous Linux ===== | ||
| + | Avec scrcpy ! | ||
| + | |||
| + | * Télécharger le binaire ici https:// | ||
| + | * 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 167: | Ligne 178: | ||
| * Télécharger ADB là : http:// | * Télécharger ADB là : http:// | ||
| + | * La documentation est là : https:// | ||
| pour lister les appareils | pour lister les appareils | ||
| Ligne 244: | 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 / | ||
| + | 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.1713734536.txt.gz · Dernière modification : de Benjamin Labomedia
