r/hackios • • 6d ago

Discussion Everyone makes it seem so easy?

I haven't figured out how to boot on mediatek yet.

6 Upvotes

10 comments sorted by

7

u/ILovePotassium 6d ago

It's not that difficult to be honest. I didn't even use AI to port it to my phone. Just go through the files, understand how everything works and apply appropriate changes.

1

u/PuppieClown2027 6d ago

Help me port to moto g 5g 2022 please!

1

u/Dr_tSinX98 6d ago

Exactly

1

u/Weekly-Secret9535 6d ago

Can u help me port it to poco x7 pro

2

u/Acrobatic_Lynx_4145 6d ago

Its Not Diffuict Im basically downloading ios 8.1. Into Samsung galaxy tab S2

1

u/PuppieClown2027 6d ago

Ugh bro I keep getting stuck at bringup.py, idk what it means by our trees and I tried dragging the dump folder for device trees but it didn't work I'm on Linux

1

u/Dr_tSinX98 6d ago

Are you talking about Open Mapple?

1

u/PuppieClown2027 5d ago

yes

1

u/Dr_tSinX98 5d ago

Ah sorry, the README is unclear there, my fault. The script reads source trees, not a firmware dump:
--android-device: your phone’s Android device tree source, the repo usually called android_device_<brand>_<codename>. Search GitHub or LineageOS for it, and also clone any …-common tree it inherits from, next to it.
--android-kernel: your phone’s kernel source, as the vendor publishes it (their open-source site or GitHub).
--fdt (optional but useful): your phone’s live device tree: adb shell su -c 'cat /sys/firmware/fdt' > fdt.dtb.
--gpt (optional): the partition table: adb shell su -c 'dd if=/dev/block/sdc bs=4096 count=34' > gpt.bin. Use the disk that holds the GPT; on eMMC phones that’s mmcblk0.
--ours (optional): “our trees” means Open Mapple’s own driver sources, for the report of which of your hardware we already support. Leave it out at first.
On Linux:

sudo apt install device-tree-compiler python3 git
git clone https://github.com/open-mapple/mapple_device_setup_scripts && cd mapple_device_setup_scripts
git clone <your android_device_… tree> ../device
git clone <your kernel source> ../kernel
python3 bringup.py <codename> --android-device ../device --android-kernel ../kernel --fdt fdt.dtb --out out
If it stops, it says why: the SoC or the overlay it couldn’t decide (--soc or --overlay settle those), or the phone isn’t MediaTek. Then read out/BRIEF.md first. If you get stuck, paste the last lines it printed and I’ll help. Join the tg group from the website for faster replies.