Windows repack makes read only partition.
Closed this issue · 10 comments
- take an image and unpack level 1.
Level1 repack shows no issues
- going into adb shell user is allowed to su and get #
- Unpack 2 and repack both 2 and 1
- Try step 2 and user receives su not permitted. Image is read only.
much thanks
Are you trying to get root access?. If so, this tool does not add super user access into a rom. You need manually add it.
I believe this is an issue related to unpack and not sure if fs_context and or permissions are changed by the imgextractor?
Just unpacking and packing won't remove su, if you already have. Link me your firmware, i can check
thanks emailed link to the gmail account in profile.
I just repacked your firmware. it seems su is present here. hasnt removed and which linux distro are you running?.
Great please see the permission of su in system/xbin/su.
The permissions will have changed and be different than the above screenshot.
Before packing the system would allow su without root. After repacking su would require adb-root.
-
You can add/change permission in level2/config/*_fs_config for each files and folder manually.
-
adb root is only for development builds, which means your build is userdebug/eng.
Keep in mind that this is dev tool, try everything at your own risk.