A
andreas2305
Neues Mitglied
- 2
Erst mal danke für die Mühe! Ich habe allerdings keine datei namens updater-script gefunden könntest du das kurz näher erläutern? Edit: Jetzt doch gefundenklaust schrieb:Hier das angepasste updater-script, damit CM12 auch im MultiROM installiert werden kann. Einfach im Zip austauschen.
@stothez: Das "Erweiterte Neustartmenue" läßt sich mit CM12 noch nicht konfigurieren...habe auf den ersten Blick jedenfalls nix gefunden. Aber für Screenshots gibbet ja Power+Vol-, da brauch man das im Neustartmenue ja nicht wirklich....Code:assert(getprop("ro.product.device") == "mako" || getprop("ro.build.product") == "mako" || abort("This package is for device: mako; this device is " + getprop("ro.product.device") + ".");); mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", ""); package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh"); package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions"); set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755); set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644); run_program("/tmp/backuptool.sh", "backup"); unmount("/system"); mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data", ""); package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh"); package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey"); set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755); run_program("/tmp/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset"); unmount("/data"); show_progress(0.750000, 0); block_image_update("/dev/block/platform/msm_sdcc.1/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat"); mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", ""); delete("/system/bin/otasigcheck.sh"); unmount("/system"); show_progress(0.020000, 10); mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system", ""); package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh"); package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions"); set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755); set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644); run_program("/tmp/backuptool.sh", "restore"); delete("/system/bin/backuptool.sh"); delete("/system/bin/backuptool.functions"); unmount("/system"); show_progress(0.050000, 5); package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot"); show_progress(0.200000, 10);