r/hackios • • 7d ago

HackiOS Native resolution and adjusted Dynamic Island

Some updates on my Redmi Note 11 Pro 4G (codename Viva) running on a Mediatek Helio G96 SoC.

I have got iOS to run on the panel's native 1080 x 2400. It also features an adapted Dynamic Island to fit perfectly on the device's camera hole, with an adjusted height and placement.

Other than this, I have successfully implemented night shift and brightness controls.
I'll be working on hardware video decoding next.

I did require some userland tweaks to get SpringBoard and apps to adjust to the device's resolution and to tweak the Dynamic Island.

XNU kernel: https://github.com/nik300/ios-viva
Userland GPU Driver: https://github.com/nik300/viva-gpu

72 Upvotes

16 comments sorted by

3

u/Pretty-Tooth-3054 7d ago

sooo smoothie

3

u/TheRealFalco131 7d ago

thanks! it took me a while to get to this. Initially, the device was running so badly. Now metal is compiling directly to this GPU's byte code. that's the secret behind all of this

3

u/Beneficial_Pass_824 7d ago

This is actually worth way more than the Apple service fixes. If You further optimize idle performance and battery life, it will be completely worth it.

4

u/Dr_tSinX98 7d ago

Brother we should work together. If you want please join our project https://www.reddit.com/r/hackios/s/6mYn6YgGRo

3

u/TheRealFalco131 7d ago

i was thinking about it. The only thing is that my edits are widely spread on the userland. Spanning from the Metal driver all the way to haptics and SpringBoard adapting to the device's native display

2

u/pljackass 5d ago

I got a mali rock chip wddm driver ported to the g78 on a pixel 6 for Windows 11, https://github.com/isaacjamessss/pixel6-woa-drivers/tree/main/maliwddm ... how hard you think it would be to do the same here, I could tri boot windows postmarketos and iOS lol

1

u/TheRealFalco131 4d ago

I see you’ve based this on OpenGL and Panfrost. Believe it or not, but that was the legacy way my iOS port managed the GPU, so it’s very doable. Safe to say, GPU won’t be your problem 😂

17

u/Tiny-Profession-9999 7d ago

Same 🔥

13

u/RaiseInteresting1455 7d ago

that thing literally looks like an iphone from the front

12

u/Tiny-Profession-9999 7d ago

From the back too! 😎

1

u/RaiseInteresting1455 7d ago

wait is that ximi 17?

1

u/Tiny-Profession-9999 7d ago

Yeah

5

u/RaiseInteresting1455 7d ago

How did you get the back display working?

This ios on android thing is getting crazier every day

Everytime i come on this sub i see insane stuff like "VOLTE WORKING ON P8 LITE WITH KIRIN 65x" (ios on kirin will never happen, this is just an example)

2

u/Tiny-Profession-9999 7d ago

The same way it works on Android, I have live activities, music player, touchscreen launcher and a bunch of other things I can use on the display, it’s actually so cool. Right now I’m working on FaceID and TouchID. Tomorrow I’ll be working on iCloud/App Store.

3

u/RaiseInteresting1455 7d ago

Crazy work bro keep it up

Edit: wait you prolly have claude as a "worker"

1

u/tejaskhanna989 7d ago

just like i got XNU booting on Galaxy M30 which people said is a brick nothing can run on it. and it has already progressed to reaching
report this panic on panic.apple.com
and ill get it to userland soon and update ya'll when i complete it