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 [2021/05/06 15:57] – Benjamin Labomediaandroid [2026/03/19 13:21] (Version actuelle) – Benjamin Labomedia
Ligne 6: Ligne 6:
   * **** {{media_02:android_logo.png|fig:Android_logo.png}}   * **** {{media_02:android_logo.png|fig:Android_logo.png}}
  
-===== Système d'exploitation, réinstallation =====+===== Des systèmes Android sans Google ===== 
 +Il existe aujourd'hui plusieurs initiatives qui consiste à développer des systèmes d'exploitation basés sur Android sans les composantes google : 
 +  * [[https://www.lineageos.org/|LineageOS]] qui remplace désormais Cyanogenmod 
 +  * L'initiative [[https://e.foundation/|/e/ de la e.foundation]] 
 +  * [[https://iode.tech/|Iodé]] : une initiative française orienté préservation de la vie privée 
 +  * [[https://divestos.org/|Divestos]] : tellement sécurisé que captcha download !
  
 +==== Des téléphones sans Android ====
 +Qui ne soient pas iOS ni Win$ ! Voir [[https://ressources.labomedia.org/telephone_mobile_smartphone#utiliser_des_telephones_qui_tournent_avec_d_autres_os|une liste d'OS et téléphones alternatifs ici]]
  
 +{{::home-iode_fr.png|}}
  
 +===== Système d'exploitation, réinstallation =====
 +Voir [[liberer_telephone_android_de_google|la page dédiée à l'installation de LineageOS]] sur sur téléphone à la place de l'Android fabricant
  
 ==== Desimlocker son téléphone soit même ==== ==== Desimlocker son téléphone soit même ====
Ligne 43: 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 157: Ligne 178:
  
   * Télécharger ADB là : http://developer.android.com/sdk/index.html   * Télécharger ADB là : http://developer.android.com/sdk/index.html
 +  * La documentation est là : https://developer.android.com/tools/adb?hl=fr
  
 pour lister les appareils pour lister les appareils
Ligne 166: Ligne 188:
  
   ./adb shell   ./adb shell
 +
 +
 +=== adb en wifi ===
  
 Backup & Restore Android Apps en utilisant ADB : http://jonwestfall.com/2009/08/backup-restore-android-apps-using-adb/ se connecter en wifi (voir réglages développeur pour activer l'option), il faut mettre l'ordi et le tél sur le même réseau wifi Backup & Restore Android Apps en utilisant ADB : http://jonwestfall.com/2009/08/backup-restore-android-apps-using-adb/ se connecter en wifi (voir réglages développeur pour activer l'option), il faut mettre l'ordi et le tél sur le même réseau wifi
  
-  ./adb connect 172.31.23.242 +Il faut déjà connecter une fois son téléphone en USB à son ordi pour autoriser cet ordi à se connecter au téléphone, ensuite 
-  ./adb root +  adb tcpip 5555 
-  ./adb remount +  adb connect 172.31.23.242 
-  ./adb shell+  adb root 
 +  adb remount 
 +  adb shell
  
 === Copier des fichiers système avec ADB === === Copier des fichiers système avec ADB ===
Ligne 229: 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.1620316622.txt.gz · Dernière modification : de Benjamin Labomedia