Ramiel icon indicating copy to clipboard operation
Ramiel copied to clipboard

[Bug] SHSH Dumping Failure

Open TECHNIKVERBOT opened this issue 4 years ago • 11 comments

Describe the bug SSH Ramdisk boots fine but when it tries to dump that's where the issue begins. It apparently tries to setup a proxy to connect to but fails because the port is already in use as you can see in terminal when you run the executable inside Ramiel.app

Ramiel_Error_Log_17.38.txt

To Reproduce Bildschirmfoto 2021-03-14 um 17 42 46

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • macOS Version: 11.2.3
  • Machine Model: Hackintosh (ThinkPad T440p)

iOS/iPadOS Device(please complete the following information):

  • Model: iPhone8,1
  • iOS Version Being Booted: iOS 14.3
  • Dualbooted: N

Additional context Add any other context about the problem here.

TECHNIKVERBOT avatar Mar 14 '21 16:03 TECHNIKVERBOT

That's not what's going wrong here, the issue is that you don't have the python library "Paramiko" installed. That should have been installed in the setup page on first launch but must not have been for some reason. To fix this run

pip3 install --user paramiko

then try running Ramiel again

MatthewPierson avatar Mar 14 '21 22:03 MatthewPierson

Bildschirmfoto 2021-03-15 um 00 30 04 Ramiel_Error_Log_00.30.txt

Well that apparently didn't help either

TECHNIKVERBOT avatar Mar 14 '21 23:03 TECHNIKVERBOT

Can you launch Ramiel from the terminal, enable debug mode in Ramiel's settings then go through till it fails and then send me the full log?

MatthewPierson avatar Mar 16 '21 01:03 MatthewPierson

Can vouch here, it seems that you cannot connect to the SSH server Ramiel sets up once the device has booted it.

Lunarixus avatar Mar 21 '21 03:03 Lunarixus

@MatthewPierson With the latest release we have a little bit of progress, it still fails to find the dumped SHSH file on the disk however when I connect manually I have an error message.

Enjoy SSH! ~@Jakeashacks dyld: Library not loaded: /usr/lib/libiconv.2.dylib Referenced from: /bin/bash Reason: image not found Connection to localhost closed.

Lunarixus avatar Mar 21 '21 23:03 Lunarixus

Update! I fixed the issue!

https://drive.google.com/file/d/16KO8y108QzF36Yd_9wEHiRuncUq64uqm/view?usp=sharing

This is a remade ssh.tar file, drop it into /Applications/Ramiel.app/Contents/Resources/ssh/ssh.tar and try dumping SHSH again, this time it will work fine.

It seemed like in the original ssh.tar file some stock iOS libs were not there so I grabbed them from the iPhoneOS SDK and added them to the tar file.

Lunarixus avatar Mar 22 '21 01:03 Lunarixus

@Lunarixus What IPSW/iOS version were you using to dump SHSH? The generic SSH.tar I'm using has been fine for me for iOS 11-14, haven't run into any dylib issues so far.

MatthewPierson avatar Mar 22 '21 01:03 MatthewPierson

@MatthewPierson Good question, the ssh.tar I put here is for iOS 10.3.3 and lower which yield libiconv, libcharset and libncurses errors. While we're here I don't suppose there's any way to modify partitions on the device over SSH?

Lunarixus avatar Mar 22 '21 01:03 Lunarixus

I'll do some testing on iOS 10, will likely include the dylibs from your ssh.tar if it does end up fixing the issue. There isn't currently (with Ramiel at least) but I am planning on adding that sometime in the future.

MatthewPierson avatar Mar 22 '21 02:03 MatthewPierson

Same Here!

Visualwit avatar Apr 20 '21 16:04 Visualwit

Is there an update to this issue?

thatleodude avatar Jun 22 '21 13:06 thatleodude