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

Usage of img4lib to get iOS 9.0.2 Ramdisk for iPhone 6S+ #11

Open
ellegance opened this issue May 28, 2020 · 3 comments
Open

Usage of img4lib to get iOS 9.0.2 Ramdisk for iPhone 6S+ #11

ellegance opened this issue May 28, 2020 · 3 comments

Comments

@ellegance
Copy link

Hello, @xerub
I found your library as a tool for decrypt Ramdisks, Kernel, iBSS, iBEC from iOS firmware. But there were no mentions about relatively fresh iPhone's, only 5 and older. I have iPhone 6S+ with iOS 9.0.2 which is stucked on bootloop due to file modifications on System partition. The problem to deal with is to get access to device System partition and revert file modification. Device was jailbroken, but unfortunately USB SSH does not load before it gets stucked on bootloop.

If I understand correctly it is possible with loading SSH Ramdisk from DFU mode using checkm8. Could you please clarify, how img4lib could be used to get SSH Ramdisk in my case?
Thanks

@danieltroger
Copy link

danieltroger commented Sep 23, 2020

Hey man, I made a tool for it: https://github.com/danieltroger/telnetd_ramdisk/

Hope it's still relevant

@xerub
Copy link
Owner

xerub commented Oct 27, 2020

@ellegance it's best to create a custom ramdisk, using an Apple ramdisk as a starting point.

The flow is outlined below:
img4 -i apple-ramdisk.img4 -o rdsk.dmg

<add your own tools to rdsk.dmg: ssh, etc>

img4 -i apple-ramdisk.img4 -o my-ramdisk.img4 -R rdsk.dmg

Good luck.

@sjsl061687
Copy link

please help, cannot install on mac os catalina:

make -C lzfse [CC="cross-cc"] [LD="cross-ld"]
zsh: no matches found: [CC=cross-cc]

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

4 participants