Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

other/ramdisk.tar.gz: No such file or directory #30

Closed
rubensalbukrk opened this issue Sep 26, 2022 · 19 comments
Closed

other/ramdisk.tar.gz: No such file or directory #30

rubensalbukrk opened this issue Sep 26, 2022 · 19 comments

Comments

@rubensalbukrk
Copy link

[] Getting device info...
[
] Creating ramdisk
gzip: other/ramdisk.tar.gz: No such file or directory
[-] An error occurred

what is ?

@itsnebulalol
Copy link
Contributor

Can you please use --debug and show the error

@rubensalbukrk
Copy link
Author

rubensalbukrk commented Sep 26, 2022

Can you please use --debug and show the error

yes,
rubens@rubensdev:~/palera1n$ sudo ./palera1n.sh --dfu 15.4.1 --debug
palera1n | Version 1.0.0
Written by Nebula | Some code and ramdisk from Nathan | Patching commands and help from Mineek | Loader app by Amy

[] Getting device info...
[] Creating ramdisk
gzip: other/ramdisk.tar.gz: No such file or directory
[-] An error occurred
rubens@rubensdev:~/palera1n$

the file is in the mentioned folder!

@itsnebulalol
Copy link
Contributor

Is it in ramdisk/other? The only thing I can think of is that it doesn't like the relative path. Can you modify line 17 of ramdisk/sshrd.sh to be gzip -d $(pwd)/other/ramdisk.tar.gz. Also, throw in echo $(pwd) right above it. Then, show me the output.

@rubensalbukrk
Copy link
Author

rubensalbukrk commented Sep 26, 2022

d0ne,
[] Getting device info...
[
] Creating ramdisk
gzip: /home/rubens/palera1n/ramdisk/other/ramdisk.tar.gz: No such file or directory
[-] An error occurred

edit:
also extract the file too

@itsnebulalol
Copy link
Contributor

Can you clone the repo again? I don't see a reason why it isn't working.

@rubensalbukrk
Copy link
Author

Can you clone the repo again? I don't see a reason why it isn't working.

I discovered!!!
copy paste "ramdisk" inside the "other" folder

sorry me bad english

@itsnebulalol
Copy link
Contributor

what? do you mean copying ramdisk.tar.gz into the other folder in the root directory?

@rubensalbukrk
Copy link
Author

now:
100% [===================================================================================================>]
download succeeded
usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8010 CPRV:11 CPFM:03 SCEP:01 BDID:0C ECID:000E415818EAED26 IBFL:3C SRTG:[iBoot-2696.0.0.1.33] PWND:[gaster]
Found the USB handle.
Now you can boot untrusted images.
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8010 CPRV:11 CPFM:03 SCEP:01 BDID:0C ECID:000E415818EAED26 IBFL:3C SRTG:[iBoot-2696.0.0.1.33] PWND:[gaster]
Found the USB handle.
Now you can boot untrusted images.
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
main: Starting...
iOS 14 iBoot detected!
getting get_debug_enabled_patch() patch
getting get_sigcheck_patch() patch
applying patch=0x1800c2d88 : 000080d2
applying patch=0x1800c2ddc : 000080d2
applying patch=0x1800c4758 : 200080d2
main: Writing out patched file to work/iBSS.patched...
main: Quitting...
none
main: Starting...
iOS 14 iBoot detected!
getting get_boot_arg_patch(rd=md0 debug=0x2014e -v wdt=-1 ) patch
getting get_debug_enabled_patch() patch
getting get_unlock_nvram_patch() patch
getting get_sigcheck_patch() patch
applying patch=0x1800c2d88 : 000080d2
applying patch=0x1800c2ddc : 000080d2
applying patch=0x1800b38c8 : 000080d2c0035fd6
applying patch=0x1800b3918 : 000080d2c0035fd6
applying patch=0x1800f0d28 : 000080d2c0035fd6
applying patch=0x1800c4758 : 200080d2
applying patch=0x1800c5d38 : f9473430
applying patch=0x18012e635 : 72643d6d64302064656275673d30783230313465202d76207764743d2d31202000
applying patch=0x1800c8a14 : 1f2003d5
main: Writing out patched file to work/iBEC.patched...
main: Quitting...
none
krnl
main: Starting...
main: Detected fat macho kernel
Kernel: Adding AMFI_get_out_of_my_way patch...
get_amfi_out_of_my_way_patch: Entering ...
get_amfi_out_of_my_way_patch: Kernel-7195 inputted
get_amfi_out_of_my_way_patch: Found entitlements too small str loc at 0x9015f7
get_amfi_out_of_my_way_patch: Found entitlements too small str ref at 0xfc6f30
get_amfi_out_of_my_way_patch: Patching AMFI at 0xfc1df8
main: Writing out patched file to work/kcache.patched...
main: Quitting...
krnl
dtre
rtsc
rdsk
error: allocate
error: Success
[-] An error occurred
rubens@rubensdev:~/palera1n$

@itsnebulalol
Copy link
Contributor

Yeah because you aren't supposed to move the files. Have you recloned the repo?

@rubensalbukrk
Copy link
Author

rubensalbukrk commented Sep 26, 2022

what? do you mean copying ramdisk.tar.gz into the other folder in the root directory?

no, copy the "ramdisk" folder into the "other" folder, = /palera1n/other/ramdisk/other
so work!

@itsnebulalol
Copy link
Contributor

That wouldn't make sense since gzip isn't even looking for that.

@rubensalbukrk
Copy link
Author

and now?

@itsnebulalol
Copy link
Contributor

I told you to reclone the repo.

@rubensalbukrk
Copy link
Author

OK, I deleted everything and cloned it again...
it works!!!

in the end this happens:
100% [===================================================================================================>]
download succeeded
usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8010 CPRV:11 CPFM:03 SCEP:01 BDID:0C ECID:000E415818EAED26 IBFL:3C SRTG:[iBoot-2696.0.0.1.33] PWND:[gaster]
Found the USB handle.
Now you can boot untrusted images.
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
usb_timeout: 5
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID:8010 CPRV:11 CPFM:03 SCEP:01 BDID:0C ECID:000E415818EAED26 IBFL:3C SRTG:[iBoot-2696.0.0.1.33] PWND:[gaster]
Found the USB handle.
Now you can boot untrusted images.
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
main: Starting...
iOS 14 iBoot detected!
getting get_debug_enabled_patch() patch
getting get_sigcheck_patch() patch
applying patch=0x1800c2d88 : 000080d2
applying patch=0x1800c2ddc : 000080d2
applying patch=0x1800c4758 : 200080d2
main: Writing out patched file to work/iBSS.patched...
main: Quitting...
none
main: Starting...
iOS 14 iBoot detected!
getting get_boot_arg_patch(rd=md0 debug=0x2014e -v wdt=-1 ) patch
getting get_debug_enabled_patch() patch
getting get_unlock_nvram_patch() patch
getting get_sigcheck_patch() patch
applying patch=0x1800c2d88 : 000080d2
applying patch=0x1800c2ddc : 000080d2
applying patch=0x1800b38c8 : 000080d2c0035fd6
applying patch=0x1800b3918 : 000080d2c0035fd6
applying patch=0x1800f0d28 : 000080d2c0035fd6
applying patch=0x1800c4758 : 200080d2
applying patch=0x1800c5d38 : f9473430
applying patch=0x18012e635 : 72643d6d64302064656275673d30783230313465202d76207764743d2d31202000
applying patch=0x1800c8a14 : 1f2003d5
main: Writing out patched file to work/iBEC.patched...
main: Quitting...
none
krnl
main: Starting...
main: Detected fat macho kernel
Kernel: Adding AMFI_get_out_of_my_way patch...
get_amfi_out_of_my_way_patch: Entering ...
get_amfi_out_of_my_way_patch: Kernel-7195 inputted
get_amfi_out_of_my_way_patch: Found entitlements too small str loc at 0x9015f7
get_amfi_out_of_my_way_patch: Found entitlements too small str ref at 0xfc6f30
get_amfi_out_of_my_way_patch: Patching AMFI at 0xfc1df8
main: Writing out patched file to work/kcache.patched...
main: Quitting...
krnl
dtre
rtsc
rdsk
error: allocate
error: Success
[-] An error occurred
rubens@rubensdev:~/palera1n$

@itsnebulalol
Copy link
Contributor

What distro is this?

@rubensalbukrk
Copy link
Author

LINUX MINT LASTED

What distro is this?

@itsnebulalol
Copy link
Contributor

can you show me the output of ls ramdisk/other

@rubensalbukrk
Copy link
Author

can you show me the output of ls ramdisk/other

rubens@rubensdev:/palera1n$ ls ramdisk/other
bootlogo.im4p ramdisk.tar
rubens@rubensdev:
/palera1n$

@itsnebulalol
Copy link
Contributor

Can you reclone the repo and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants