Skip to content

Is this project abandoned?#41

Open
Thepowa753 wants to merge 1 commit into
corellium:masterfrom
Thepowa753:Need-to-proceed
Open

Is this project abandoned?#41
Thepowa753 wants to merge 1 commit into
corellium:masterfrom
Thepowa753:Need-to-proceed

Conversation

@Thepowa753

Copy link
Copy Markdown

This project is... just... hemm, how can i say...
FUCKING WOW!

I hope to see this fantastic project go ahead

Need to proceed
@fesdonomist

Copy link
Copy Markdown

Agreed, hope it isn't but I can't do much about it because I don't know C or iPhones.

@reikolul

reikolul commented Jul 1, 2021

Copy link
Copy Markdown

I'd love to see this project completed

@futurelucas4502

futurelucas4502 commented Jul 1, 2021

Copy link
Copy Markdown

Okay so I am not experienced with this in anyway but currently downloading the files and running them with the latest checkra1n doesn't work at all I have managed to get further and successfully get to the 2 penguins and a flashing cursor and then freeze so my guess is the kernel files need to be modified however to get this far you would need to:

Download this then download the sandcastle files from the official website extract them and delete the load-linux.mac file and put the load_linux.py file into the folder then if needed edit the setup_mac.sh file changing the ssh password
Then open start_mac.sh and alter the 3rd line from the bottom changing it from ./load-linux.mac Android.lzma dtbpack to ./load_linux.py -k Android.lzma -d dtbpack
Then open the isetup file and remove all references to binpack e.g. instead of /binpack/usr/local/bin/wget you would have just wget and also remove the shebang at the very top of the file

Make sure you have python3 and pyusb installed

Then just follow the readme

For Linux it's basically the same process you can figure it out

And tada you have two penguins and then frozen enjoy :)

Edit: I made a repo with the edits: https://github.com/futurelucas4502/projectsandcastle-install-scripts

@Titaniumtown

Copy link
Copy Markdown

Why isn't there an "issues" section lol.

@fesdonomist

Copy link
Copy Markdown

Okay so I am not experienced with this in anyway but currently downloading the files and running them with the latest checkra1n doesn't work at all I have managed to get further and successfully get to the 2 penguins and a flashing cursor and then freeze so my guess is the kernel files need to be modified however to get this far you would need to:

Download this then download the sandcastle files from the official website extract them and delete the load-linux.mac file and put the load_linux.py file into the folder then if needed edit the setup_mac.sh file changing the ssh password
Then open start_mac.sh and alter the 3rd line from the bottom changing it from ./load-linux.mac Android.lzma dtbpack to ./load_linux.py -c Android.lzma -d dtbpack
Then open the isetup file and remove all references to binpack e.g. instead of /binpack/usr/local/bin/wget you would have just wget and also remove the shebang at the very top of the file

Make sure you have python3 and pyusb installed

Then just follow the readme

For Linux it's basically the same process you can figure it out

And tada you have two penguins and then frozen enjoy :)

Were you the one I talked to on the discord server?

@futurelucas4502

Copy link
Copy Markdown

Were you the one I talked to on the discord server?

Yup I'm still interested in the project I just have no idea how you would go about debugging it

@umiiii

umiiii commented Jul 14, 2021

Copy link
Copy Markdown

Actually this project is a Proof-of-Concept, which means this repo only shows it is feasible to do that. However, "able to run" is far away from daily use and it is usually tedious work.

@NSGolova

Copy link
Copy Markdown

@futurelucas4502 your script works, but should the line be: ./load_linux.py -k Android.lzma -d dtbpack? Now Im stuck on two linux signs, any ideas how to debug this? Btw, its iphone 7.

@futurelucas4502

Copy link
Copy Markdown

@Radulov Hi yes it should have been -k not -c I'll correct that on my original message now. As for debugging, I'm really not sure I'm hoping to look at it in the future and try and learn and work on it but at the moment I simply don't have the time to

@306bobby

Copy link
Copy Markdown

@Radulov Hi yes it should have been -k not -c I'll correct that on my original message now. As for debugging, I'm really not sure I'm hoping to look at it in the future and try and learn and work on it but at the moment I simply don't have the time to

got it working except touchscreen on 14.7

@m3gat0nn4ge

Copy link
Copy Markdown

Has anyone located something like a "Getting Started" guide for developing in this project?

@ann0see

ann0see commented Jan 1, 2022

Copy link
Copy Markdown

Probably there isn’t anything. Luckily it’s open source-ish so someone could fork it.

@roke-julian-lockhart

roke-julian-lockhart commented Jan 22, 2022

Copy link
Copy Markdown

@finnie2006

Copy link
Copy Markdown

project is dead lol

@SandiyosDev

SandiyosDev commented Sep 24, 2022

Copy link
Copy Markdown

@ann0see and @m3gat0nn4ge, "http://projectsandcastle.org/status" is useful.

The link doesn't show much... Based oh my observations, they threw up a half-baked prototype, got the PR, and abandoned the project.
It's just unfortunate.

@theoparis

Copy link
Copy Markdown

I have been considering forking this project to maintain it but I have not gotten very far with getting project sandcastle's linux loader to work. It kept saying it couldn't find a device. I tried using both checkra1n and a alternative, open source tool discussed in the issue below with no luck.

I have also created my own repository in case I end up maintaining it.

@cuynu

cuynu commented Mar 2, 2023

Copy link
Copy Markdown

Its impossible to make GPU work, we running Android on iPhone 7 Plus laggy because that. fuck apple, they doesn't even open their gpu driver source

@cuynu

cuynu commented Mar 2, 2023

Copy link
Copy Markdown

The project is abandoned most likely because they can't port more things like audio camera gpu, because apple is very strict or only a proof of concept.
i am thinking of building android 12 and run on iphone 7 plus

@roke-julian-lockhart

roke-julian-lockhart commented Mar 3, 2023

Copy link
Copy Markdown

@cuynu, it's very much possible. Project Asahi demonstrates that.

@SandiyosDev

SandiyosDev commented Mar 4, 2023

Copy link
Copy Markdown

@cuynu, it's very much possible. Project Asahi demonstrates that.

There are only so many Asahi Lina's out there; yes, it's possible, but not worth the effort... In the end, we're chasing circles with a corporation that will not aid sandcastle's development in any possible way.
Checkra1n devices will soon become legacy devices, and even if you disagree, there's not much value being created trying to make Android run on iPhones.

@cuynu

cuynu commented Mar 6, 2023

Copy link
Copy Markdown

@cuynu, it's very much possible. Project Asahi demonstrates that.

There are only so many Asahi Lina's out there; yes, it's possible, but not worth the effort... In the end, we're chasing circles with a corporation that will not aid sandcastle's development in any possible way. Checkra1n devices will soon become legacy devices, and even if you disagree, there's not much value being created trying to make Android run on iPhones.

yeah, i know

@cuynu

cuynu commented Mar 6, 2023

Copy link
Copy Markdown

I have Android 10 running on my iPhone 7 Plus with iOS 14.6, but most app are crashing, is there solution or a workaround to run apps?

PXL_20230306_165500965

@SandiyosDev

Copy link
Copy Markdown

I have Android 10 running on my iPhone 7 Plus with iOS 14.6, but most app are crashing, is there solution or a workaround to run apps?

PXL_20230306_165500965

Why don't you instead open a new issue? If you're trying to debug individual problems, you're on the wrong thread.

@cuynu

cuynu commented Mar 7, 2023

Copy link
Copy Markdown

I have Android 10 running on my iPhone 7 Plus with iOS 14.6, but most app are crashing, is there solution or a workaround to run apps?
PXL_20230306_165500965

Why don't you instead open a new issue? If you're trying to debug individual problems, you're on the wrong thread.

there is no issue section on repository

@SandiyosDev

Copy link
Copy Markdown

I have Android 10 running on my iPhone 7 Plus with iOS 14.6, but most app are crashing, is there solution or a workaround to run apps?
PXL_20230306_165500965

Why don't you instead open a new issue? If you're trying to debug individual problems, you're on the wrong thread.

there is no issue section on repository

Well then, although opening a pull request for issues is not its intended use, I highly doubt the team behind this project would care to deal with it in the first place... but either way, I'd highly suggest that you open a new pull request and provide as many logs and details possible.

@upintheairsheep

Copy link
Copy Markdown

wow that was odd and coinsidental to see this start

@iam-TJ

iam-TJ commented Apr 4, 2023

Copy link
Copy Markdown

For the intrepid who are installing this please remember that due to the memory page-size needing to be 16KiB that almost all pre-built app-store-sourced applications will fail to execute since they are built assuming a 4KiB page-size. You'd need the source-code for each, and compile with 16KiB page size.
That would be viable for any apps on f-droid where the source is available.

@roke-julian-lockhart

roke-julian-lockhart commented Apr 4, 2023

Copy link
Copy Markdown

#41 (comment)

@iam-TJ and @SGprooo, forum.f-droid.org/t/21878 might contain useful information.

@JariGuru

JariGuru commented Apr 2, 2024

Copy link
Copy Markdown

Does this work with iOS 15?

@a55uka

a55uka commented May 18, 2024

Copy link
Copy Markdown

Does this work with iOS 15?

It's not dependent on the iOS version, you do need a supported phone though

@KevinXuxuxu

Copy link
Copy Markdown

Okay so I am not experienced with this in anyway but currently downloading the files and running them with the latest checkra1n doesn't work at all I have managed to get further and successfully get to the 2 penguins and a flashing cursor and then freeze so my guess is the kernel files need to be modified however to get this far you would need to:

Download this then download the sandcastle files from the official website extract them and delete the load-linux.mac file and put the load_linux.py file into the folder then if needed edit the setup_mac.sh file changing the ssh password Then open start_mac.sh and alter the 3rd line from the bottom changing it from ./load-linux.mac Android.lzma dtbpack to ./load_linux.py -k Android.lzma -d dtbpack Then open the isetup file and remove all references to binpack e.g. instead of /binpack/usr/local/bin/wget you would have just wget and also remove the shebang at the very top of the file

Make sure you have python3 and pyusb installed

Then just follow the readme

For Linux it's basically the same process you can figure it out

And tada you have two penguins and then frozen enjoy :)

Edit: I made a repo with the edits: https://github.com/futurelucas4502/projectsandcastle-install-scripts

Given that the load-linux script (both .c or .mac) are broken, I tried this version with the hope to load the linux build on my iPhone X. I'm repeatedly getting the following error:

Loading device tree...
Device tree loaded successfully.
Loading kernel...
Traceback (most recent call last):
  File "/home/fzxu/Documents/code/linux-sandcastle/load_linux.py", line 74, in <module>
    dev.write(2, kernel, 100000000)
  File "/home/fzxu/anaconda3/lib/python3.9/site-packages/usb/core.py", line 989, in write
    return fn(
  File "/home/fzxu/anaconda3/lib/python3.9/site-packages/usb/backend/libusb1.py", line 837, in bulk_write
    return self.__write(self.lib.libusb_bulk_transfer,
  File "/home/fzxu/anaconda3/lib/python3.9/site-packages/usb/backend/libusb1.py", line 938, in __write
    _check(retval)
  File "/home/fzxu/anaconda3/lib/python3.9/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 12] Insufficient memory

Not sure if this means an insufficient memory on the device or what?

@futurelucas4502

Copy link
Copy Markdown

Not sure if this means an insufficient memory on the device or what?

@KevinXuxuxu

Screenshot_20240605_101659_Chrome.jpg

IPhone x not supported

@Chococatpp

Copy link
Copy Markdown

#41 (comment)

@iam-TJ and @SGprooo, https://forum.f-droid.org/t/could-we-compile-all-apps-for-4kib-page-sizes-too/21878/1?u=rokejulianlockhart#:~:text=could%20we%20compile%20all%20applications%20for%204%20KiB%20page%20sizes%20in%20addition%20to%20the%20current%2016%20KiB%2C%20in%20order%20to%20support%20Apple%20devices might contain useful information.

this comment was very useful, thank you, also yeh, no one cares about legacy devices anymore

@roke-julian-lockhart

Copy link
Copy Markdown

#41 (comment)

@Chococatpp, I do!

@LegNeato

LegNeato commented Sep 8, 2024

Copy link
Copy Markdown

16kb page sizes are coming to Android: https://android-developers.googleblog.com/2024/08/adding-16-kb-page-size-to-android.html

@Chococatpp

Copy link
Copy Markdown

16kb page sizes are coming to Android: https://android-developers.googleblog.com/2024/08/adding-16-kb-page-size-to-android.html

in that case we need a12+, time to update the dt

@roke-julian-lockhart

This comment was marked as resolved.

@Chococatpp

Chococatpp commented Sep 17, 2024

Copy link
Copy Markdown

#41 (comment)

@Chococatpp, the "DT"?

in sandcastle-aosp.diff

are files that define device flags, similar to a android device tree

@Bentheminernz

Copy link
Copy Markdown

Has anyone gotten this to work with palera1n and ios 15?

@a55uka

a55uka commented Feb 26, 2025

Copy link
Copy Markdown

Has anyone gotten this to work with palera1n and ios 15?

i seem to remember os version not being an issue with this, and it has worked with palera1n

@nikos-projects

Copy link
Copy Markdown

Disappointing to see it go, just saw mr bringus‘s video and now the project just is sad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.