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

Add the chimera1n script #2

Closed
demhademha opened this issue Jun 1, 2020 · 17 comments
Closed

Add the chimera1n script #2

demhademha opened this issue Jun 1, 2020 · 17 comments
Labels
enhancement New feature or request Waiting for status Waiting for a response

Comments

@demhademha
Copy link

Describe the solution you'd like
A clear and concise description of what you want to happen.

Could you add the chimera1n script as it would be very easy to run it
Additional context
Add any other context or screenshots about the feature request here.

@SarKaa
Copy link
Owner

SarKaa commented Jun 1, 2020

Of course I'll look into this as soon as possible
And also, could you test this for me once implemented, because my main jailbroken device is no longer using checkra1n, plus I am 100% against the Electra team and wouldn't even try using chimera1n

@demhademha
Copy link
Author

demhademha commented Jun 1, 2020

Yeah sure,
I’d give you some tips though

  1. Automatically delete /etc/ssh/known_hosts as it would be required to allow multiple devices to use chimera1n because normally, you have to delete that manually
  2. Could you please, please, add orca (scrrenreader support) as it would save me from jailbreaking my blind brother’s device each time

@SarKaa
Copy link
Owner

SarKaa commented Jun 1, 2020

I just checked the chimera1n script, and turns out, it needs the host computer to have an internet connection, which jailm8 doesn't have, and if I did add it, it would make it too bulky, and would defeat the whole purpose of it.
As well as that, it also requires iproxy, which I have already tried to implement into jailm8, but it would break usbmuxd, which would render the whole project useless, so that's another obstacle.
Currently, with all the free time I have, I am trying to re-write coolstar's script to use the idevice to download the files instead, which would eliminate the need for a wifi connection. As per the iproxy problem, I am trying to implement ssh instead, which hopefully can be used in the chimera1n script instead.

@demhademha
Copy link
Author

demhademha commented Jun 1, 2020

A tip from me, (a project that I’m also working on) is to use ish https://ish.app
This virtualises a Linux terminal on device with a full file system
I am to use localssh (preinstalled after every checkra1n jailbreak at port 44) to automatically move the files over to the device.
Perhaps we can work on this together?
In addition, this wouldn’t require iProxy or libusbmuxd

@SarKaa
Copy link
Owner

SarKaa commented Jun 1, 2020

I know about iSH, and having used it before, I also know that it only creates a virtual linux environment, what we need is an actual ssh to the device, not an app. The ssh connection you have is to a completely virtualised os, when we need a connection to the device, otherwise we would just end up bootstrapping iSH with chimera1n, which is arch linux I believe, which would do absolutely nothing to your main os

I am literally re-writing coolstar's script right now, and I believe that it should download the files to the device directly, and also bootstrap it from the script itself.
And I am implementing an ssh client on jailm8, in order to help with this
I will update you on how this goes
edit: I have successfully rewritten the script into two seperate scripts, one that simply puts a file on your device that initiates chimera1n's parts of the script automatically, and the other that is put onto the device to download the files needed. I am compiling the final iso right now, and will upload it to github shortly

SarKaa added a commit that referenced this issue Jun 1, 2020
@demhademha
Copy link
Author

... with ish, you can ssh into the device, and move files from ish to the device. And as a result, You’d bootstrap the device.
Try, with a checkra1n jailbroken device on ish “apk add ssh”
And then
“Ssh localhost -p44” which connects you to that device
Then on the device, you can do things that you normally would on m.terminal ETC
And in addition, you can transfer files :)

@SarKaa
Copy link
Owner

SarKaa commented Jun 1, 2020

After rewriting coolstar's script and installing an ssh client to my base system, I present to you the first beta of jailm8 with chimera1n support
Link: https://github.com/SarKaa/jailm8/releases/tag/2.4
Again, this is still the very first beta, so you don't have to test it if you don't want to, but I would strongly warn against using this on your main device (you shouldn't risk jailbreaking it anyways), as this might result in unwanted behaviour
The tutorial for chimerain is here https://www.reddit.com/r/jailbreak/comments/g6g2jk/tutorial_the_simple_unofficial_guide_to/ , but you don't have to install curl or iproxy, or download any files, all you need to do is rootfs restore, rejailbreak and then run the command "chimera1n"

Be sure to get back to me if you do decide to try it

@SarKaa
Copy link
Owner

SarKaa commented Jun 1, 2020

... with ish, you can ssh into the device, and move files from ish to the device. And as a result, You’d bootstrap the device.
Try, with a checkra1n jailbroken device on ish “apk add ssh”
And then
“Ssh localhost -p44” which connects you to that device
Then on the device, you can do things that you normally would on m.terminal ETC
And in addition, you can transfer files :)

But you can do that without needing jailm8 at all, if you want an easy way to do this you can simply use the latest beta, but at your own risk, it shouldn't do anything, but coolstar's work hasn't always been the most stable or trustworthy

@SarKaa SarKaa added enhancement New feature or request Waiting for status Waiting for a response labels Jun 1, 2020
@SarKaa
Copy link
Owner

SarKaa commented Jun 2, 2020

Yeah sure,
I’d give you some tips though

  1. Automatically delete /etc/ssh/known_hosts as it would be required to allow multiple devices to use chimera1n because normally, you have to delete that manually
  2. Could you please, please, add orca (scrrenreader support) as it would save me from jailbreaking my blind brother’s device each time

Just reread this, and I am sorry to say that orca is impossible to implement into jailm8, as it requires a gui interface, which is the main thing jailm8 doesn't have, and in order to maintain its size, I cannot add a gui interface.

I am absolutely helpless in this situation, and the only thing I can suggest is to use ubuntu or debian or any other linux operating systems, and install orca on it. That should make it much easier. I feel really bad that I can't personally do something about this, but if you need any help whatsoever, don't be afraid to ask, I will keep this issue open for you and you can ask me for help if you get stuck

@demhademha
Copy link
Author

It’s ok,I’ll just do it for my brother
As for the chimera1n, I haven’t got round to it yet

@SarKaa
Copy link
Owner

SarKaa commented Jun 2, 2020

ok just tell me when you try it if it works

@SarKaa
Copy link
Owner

SarKaa commented Jun 2, 2020

Sorry but I just tried it and it didn’t work, I am working on a fix right now

@SarKaa
Copy link
Owner

SarKaa commented Jun 3, 2020

Hey could you test this version: https://github.com/SarKaa/jailm8/releases/tag/2.4-2
It should have fixed the ssh problem, but I still need someone to test the actual chimera1n script, as I can't do that on unc0ver

@demhademha
Copy link
Author

...
a new version has been released called the procursus bootstrap

@SarKaa
Copy link
Owner

SarKaa commented Jun 3, 2020

Yes I know I will look at the script when I have time, but I still need to make sure that this works

Edit: I just read the new odyssey-ra1n script, and I do believe it would be easier to use chimera1n from jaim8 first and then use the new script's migration feature to update it on device.
The new script is also impossible to re-write for jailm8, it definitely needs iproxy, and if I use ssh instead, I need to find the exact options, which won't work.
So to be clear, I would suggest using the jailm8 command "chimera1n" first, and then running the new script on-device.

@SarKaa
Copy link
Owner

SarKaa commented Jun 3, 2020

Sorry but could you try this version, and then install the new procursus bootstrap from your device after running "chimera1n"
This new release should definitely work: https://github.com/SarKaa/jailm8/releases/tag/2.4-4

@SarKaa
Copy link
Owner

SarKaa commented Jun 11, 2020

Sorry mate but ssh has way too many dependencies, and because of its minimal interface, they have to be installed manually, which is a pain, so I am closing this issue, and I would suggest using the new odyssey ra1n script on device itself

@SarKaa SarKaa closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Waiting for status Waiting for a response
Projects
None yet
Development

No branches or pull requests

2 participants