Skip to content

Instantly share code, notes, and snippets.

@MMcM
Created May 27, 2014 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MMcM/8a163caa50af5f8f5d1c to your computer and use it in GitHub Desktop.
Save MMcM/8a163caa50af5f8f5d1c to your computer and use it in GitHub Desktop.
CM10 on MK802
run_program("/sbin/cp", "-R", "/cache/recovery", "/tmp/recovery");
ui_print("ROM Manager Version 5.0.2.0");
ui_print("Septiembre 12, 2012");
ui_print("Preparing to install ROM...");
run_program("/sbin/mount", "/sdcard");
format("/system");
format("/data");
format("/cache");
assert(install_zip("/sdcard/cm10_a10_20121011.zip"));
assert(install_zip("/sdcard/gapps-jb-20121011-signed.zip"));
assert(install_zip("/sdcard/mk802_legacy-compatibility-jb_v5.zip"));
mount("/system");
run_program("/sbin/chmod", "+x", "/tmp/recovery/restorerommanager.sh");
run_program("/tmp/recovery/restorerommanager.sh");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment