Quantcast
Channel: admin » TWRP
Viewing all articles
Browse latest Browse all 1595

Twrp error: 6

$
0
0

Hello xda

So today i just wanted to make a flashable update zip, so, i have the zip archive with 2 folders, one is the META-INF, the other one is system, (the system folder is empty!)

And now, when i flash the zip in twrp, i’m getting:

Updater process ended with ERROR: 6

My update-script looks like this:

HTML Code:

set_perm_recursive(0, 0, 0755, 0644, "/system");
ui_print("- Mounting...")
mount("ext4", "MTD", "system", "/system");
ui_print("- Installing...");
package_extract_dir("system", "/system");
unmount("/system");
ui_print("- Done, Enjoy!");


The only thing what i wanna do is that the /system gets mounted, then, the system should install, and then, /system should be unmounted.

Can someone help me? I have a HTC One M8 and TWRP 3.0.0.1. Thanks.


Viewing all articles
Browse latest Browse all 1595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>