From the time I had HTC HD2 i use a script for deleting unwanted apps.
This script should be installed from custom recovery (works flawlessly with TWRP 184.108.40.206) like any app or kernel.
After script execution clear cache/Dalvik and reboot.
If any ...
I would like to if I could also mount data to delete data/apps. And if so how would the code be written out.
It's possible and will looks like:
run_program("/sbin/busybox", "mount", "/data");
Why not just mount system partition with busybox? Then it works on any device.
I know, I used busybox in script before.
Updated OP, added same script with busybox, should work on any device with custom recovery.
Example 'delete("/system/app/Test.apk");' but Test.apk doesn't exist, does that change something ?
Don't worry, if file doesn't exist, that does change nothing!
hey guys. now i need help. my n5 was shut off himself and now twrp doesn't see internal memory and no imei. i only have efs made in twrp but i cannot restore it from usb otg. is there a possibility of making a flashable zip of it? i yes cuold some...