[Tutorial] How to fix offline status or device not detected in adb after porting ROM
[Tutorial] How to fix offline status or device not detected in adb after porting ROM
adb kill-server
set_perm 0 2000 0755 SYSTEM:vendor/lib
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress 0.1 10
show_progress 0.2 0
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "bootimg"),
delete("/tmp/boot.img"));
show_progress 0.2 10
write_raw_image PACKAGE:boot.img BOOT: