MercuryWorkshop / RecoMod

a cros recovery image modification toolkit
GNU General Public License v3.0
39 stars 9 forks source link

Bug Report #34

Closed GoBackTo4Chan closed 11 months ago

GoBackTo4Chan commented 11 months ago

Using Userland on Android however I get the same results using termux. ~/RecoMod$ sudo ./recomod.sh -i /sdcard/octopus.bin --halcyon --rw_legacy sysctl: permission denied on key 'fs.protected_regular' Info: Downloading clamide into lib/ Info: Downloading pv into lib/ Info: Downloading latest rw_legacy payloads into lib/rwl Info: Creating loopback device losetup: cannot find an unused loop device: Permission denied "configure_binaries": loopdev=$(losetup -f) command failed with exit code 1. THIS IS A BUG, REPORT IT HERE https://github.com/MercuryWorkshop/RecoMod Is it just because it's android? I have root access if that is the problem.

TheMemeSniper commented 11 months ago

not only can you not create loopback devices without being a superuser, but the android kernel also wasn't compiled with loopback device support (assuming you're using a stock ROM)

On Mon, Oct 16, 2023, 1:26 PM Thugstage @.***> wrote:

Using Userland on Android however I get the same results using termux. ~/RecoMod$ sudo ./recomod.sh -i /sdcard/octopus.bin --halcyon --rw_legacy sysctl: permission denied on key 'fs.protected_regular' Info: Downloading clamide into lib/ Info: Downloading pv into lib/ Info: Downloading latest rw_legacy payloads into lib/rwl Info: Creating loopback device losetup: cannot find an unused loop device: Permission denied "configure_binaries": loopdev=$(losetup -f) command failed with exit code

  1. THIS IS A BUG, REPORT IT HERE https://github.com/MercuryWorkshop/RecoMod Is it just because it's android? I have root access if that is the problem.

— Reply to this email directly, view it on GitHub https://github.com/MercuryWorkshop/RecoMod/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCFZHYIBRE2CQUCWSUOOJDX7V35FAVCNFSM6AAAAAA6CTX7Q6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DKOBTHE4TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

GoBackTo4Chan commented 11 months ago

not only can you not create loopback devices without being a superuser, but the android kernel also wasn't compiled with loopback device support (assuming you're using a stock ROM) On Mon, Oct 16, 2023, 1:26 PM Thugstage @.> wrote: Using Userland on Android however I get the same results using termux. ~/RecoMod$ sudo ./recomod.sh -i /sdcard/octopus.bin --halcyon --rw_legacy sysctl: permission denied on key 'fs.protected_regular' Info: Downloading clamide into lib/ Info: Downloading pv into lib/ Info: Downloading latest rw_legacy payloads into lib/rwl Info: Creating loopback device losetup: cannot find an unused loop device: Permission denied "configure_binaries": loopdev=$(losetup -f) command failed with exit code 1. THIS IS A BUG, REPORT IT HERE https://github.com/MercuryWorkshop/RecoMod Is it just because it's android? I have root access if that is the problem. — Reply to this email directly, view it on GitHub <#34>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCFZHYIBRE2CQUCWSUOOJDX7V35FAVCNFSM6AAAAAA6CTX7Q6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DKOBTHE4TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.>

I am using lineage os and I have root access.

TheMemeSniper commented 11 months ago

afaik, lineageOS too does not have loopback support

you need a custom kernel compiled with the loopback module, or somehow compile loopback for your lineageOS kernel and load it

the more practical route would be to use a virtual machine on your phone or a normal computer running linux

On Mon, Oct 16, 2023, 3:14 PM Thugstage @.***> wrote:

not only can you not create loopback devices without being a superuser, but the android kernel also wasn't compiled with loopback device support (assuming you're using a stock ROM) … <#m-1194303736942850091> On Mon, Oct 16, 2023, 1:26 PM Thugstage @.> wrote: Using Userland on Android however I get the same results using termux. ~/RecoMod$ sudo ./recomod.sh -i /sdcard/octopus.bin --halcyon --rw_legacy sysctl: permission denied on key 'fs.protected_regular' Info: Downloading clamide into lib/ Info: Downloading pv into lib/ Info: Downloading latest rw_legacy payloads into lib/rwl Info: Creating loopback device losetup: cannot find an unused loop device: Permission denied "configure_binaries": loopdev=$(losetup -f) command failed with exit code 1. THIS IS A BUG, REPORT IT HERE https://github.com/MercuryWorkshop/RecoMod https://github.com/MercuryWorkshop/RecoMod Is it just because it's android? I have root access if that is the problem. — Reply to this email directly, view it on GitHub <#34 https://github.com/MercuryWorkshop/RecoMod/issues/34>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCFZHYIBRE2CQUCWSUOOJDX7V35FAVCNFSM6AAAAAA6CTX7Q6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DKOBTHE4TGNY https://github.com/notifications/unsubscribe-auth/AQCFZHYIBRE2CQUCWSUOOJDX7V35FAVCNFSM6AAAAAA6CTX7Q6VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DKOBTHE4TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.>

I am using lineage os and I have root access.

— Reply to this email directly, view it on GitHub https://github.com/MercuryWorkshop/RecoMod/issues/34#issuecomment-1765201302, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCFZHYKG44CTNHX7MWMVBLX7WIT3AVCNFSM6AAAAAA6CTX7Q6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVGIYDCMZQGI . You are receiving this because you modified the open/close state.Message ID: @.***>