I have a question about using this tool. I used firmware from this llink:
https://drive.google.com/drive/folders/1-d5AwV_clryDj-eL6DaPP4FkBPJ6uru9
I used version
TS10.1.1_20220426.144752_THEME1-360
It is a version that fits to my head unit (Android 10)
Then I used Ubuntu with root rights to run the tool. There were some weird lines (marked red) in terminal window when injecting SU:
Selection from terminal window:
Injecting SU to firmware.
Copying 'su' binary to 'bin'...
cp: cannot create regular file '_mountpoint/system/bin/': No such file or directory
cp: cannot create regular file '_mountpoint/system/bin/sudaemon': No such file or directory
! Folder system/xbin not found: Creating 'xbin' inside 'system'...
mkdir: cannot create directory Ä€Ā_mountpoint/system/xbinÄ€™: No such file or directory
Copying 'su' binary to 'xbin'...
cp: cannot create regular file '_mountpoint/system/xbin/': No such file or directory
cp: cannot create regular file '_mountpoint/system/xbin/sudaemon': No such file or directory
Copying 'supolicy' binary to 'bin'...
cp: cannot create regular file '_mountpoint/system/bin/': No such file or directory
! Folder system/xbin not found: Creating 'xbin' inside 'system'...
mkdir: cannot create directory Ä€Ā_mountpoint/system/xbinÄ€™: No such file or directory
Copying 'supolicy' binary to 'xbin'...
cp: cannot create regular file '_mountpoint/system/xbin/': No such file or directory
Copying 'libsupol.so' binary to 'system/lib'...
cp: cannot create regular file '_mountpoint/system/lib/': No such file or directory
Copying 'libsupol.so' binary to 'system/lib64'...
cp: cannot create regular file '_mountpoint/system/lib64/': No such file or directory
Copying 'rooting.rc' file to firmware...
- 'rooting.rc' file copied successfully !
Patching init.rc to load 'su' binary as daemon...
WARNING !!! This is very dangerous, from now all apks will have root privileges automatically
This is a workaround, one day we will be able to patch the boot via magisk (maybe ?).
Modifying internal configuration files...
- file: /system/build.prop
sed: can't read _mountpoint/system/build.prop: No such file or directory
sed: can't read _mountpoint/system/build.prop: No such file or directory
- file: /system/etc/prop.default
sed: can't read _mountpoint/system/etc/prop.default: No such file or directory
sed: can't read _mountpoint/system/etc/prop.default: No such file or directory
sed: can't read _mountpoint/system/etc/prop.default: No such file or directory
sed: can't read _mountpoint/system/etc/prop.default: No such file or directory
Patching init.rc...
patching file _mountpoint/init.rc
Hunk #1 FAILED at 11.
Hunk #2 FAILED at 830.
patch: **** Can't reopen file _mountpoint/init.rc : No such file or directory
Done !
I also tried with newer version of the firmware - same result. I thought maybe the _mountpoint folder is wrong and created new mountpoint folder, adjusted the ini file accordingly, still the same.
Does this mean I didn't get root ?
Am I doing something wrong ?