Android
Root android phone on emulator
- http://blog.thecobraden.com/2012/06/making-persistent-changes-to-android.html
- https://cyberlinksecurity.ie/wp-content/uploads/2020/02/walkthrough.pdf
- https://stackoverflow.com/questions/43923996/adb-root-is-not-working-on-emulator-cannot-run-as-root-in-production-builds
- https://github.com/0xFireball/root_avd
Some commands
- android-backup-extractor (github.com)
adb backup -apk -shared -all -f /tmp/backup.adjava -jar build/libs/abe.jar /tmp/backup.ad /tmp/backup.tar
- ~/Android/Sdk/build-tools/28.0.3/aapt d permissions app.apk
- apksigner verify –verbose app.apk
- Signature de l’app:
- decompress the APK
openssl pkcs7 -inform DER -in original/META-INF/CERT.RSA -noout -print_certs -text- OR
keytool -printcert -file original/META-INF/CERT.RSA
- Encrypted source code ?
- decompress the APK
- dex2jar classes.dex
- jd-gui classes-dex2jar.jar
tools
-
https://gist.github.com/gteissier/ / https://gist.github.com/gteissier/8dfd606e2fafa4ed2495fe748c8a2a19
- See https://www.sstic.org/2020/presentation/android_emuroot_outils_de_rooting_dun_mulateur_android_google_api_playstore/
- Rootage des émulateurs Android: trucs et astuces pour éviter les pauses cafés : https://static.sstic.org/rumps2020/SSTIC_2020-06-04_P11_RUMPS_08.mp4