From 626ad1271ab61cdc057b00bd26619e8cdbb599be Mon Sep 17 00:00:00 2001 From: Haroun EL ALAMI Date: Tue, 22 Apr 2025 09:01:34 +0200 Subject: [PATCH 1/2] feat: disable metrics and unlock net speed --- start-emulator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-emulator.sh b/start-emulator.sh index b6f9f87..93955c4 100644 --- a/start-emulator.sh +++ b/start-emulator.sh @@ -6,4 +6,4 @@ if [ -f /data/.first-boot-done ]; then fi # Start the emulator with the appropriate ramdisk.img -/opt/android-sdk/emulator/emulator -avd android -writable-system -no-window -no-audio -no-boot-anim -skip-adb-auth -gpu swiftshader_indirect -no-snapshot $RAMDISK_PATH -qemu -m ${RAM_SIZE:-4096} \ No newline at end of file +/opt/android-sdk/emulator/emulator -avd android -nojni -netfast -writable-system -no-window -no-audio -no-boot-anim -skip-adb-auth -gpu swiftshader_indirect -no-snapshot -no-metrics $RAMDISK -qemu -m ${RAM_SIZE:-4096} \ No newline at end of file From edd02d11481a2688e165e3ebaa1702610d1129e9 Mon Sep 17 00:00:00 2001 From: Haroun EL ALAMI Date: Tue, 22 Apr 2025 09:03:57 +0200 Subject: [PATCH 2/2] update script --- start-emulator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-emulator.sh b/start-emulator.sh index 93955c4..aa19835 100644 --- a/start-emulator.sh +++ b/start-emulator.sh @@ -2,7 +2,7 @@ # Check if the .first-boot-done file exists if [ -f /data/.first-boot-done ]; then - RAMDISK_PATH="-ramdisk /data/android.avd/ramdisk.img" + RAMDISK="-ramdisk /data/android.avd/ramdisk.img" fi # Start the emulator with the appropriate ramdisk.img