Reply to thread
GBAtemp.net - The Independent Video Game Community
Search
Search titles only
By:
Search titles only
By:
Reply to thread
GBAtemp.net - The Independent Video Game Community
Home
Log in
Terms & Rules
Donate
Forums
New posts
Search forums
Groups
Public Events
New
New posts
New resources
New blog entries
New profile posts
New blog entry comments
New threadmarks
Latest activity
Cheats
Cheat Codes Add and Request group
The Legend of Zelda: Tears of the Kingdom cheat codes
Pokémon Legends: Arceus cheat codes
Xenoblade Chronicles 3 cheat codes
Fire Emblem Engage cheat codes
Request a cheat...
Tutorials
Nintendo Switch tutorials
Nintendo 3DS tutorials
Nintendo Wii U tutorials
Reviews
Overview
Official reviews
User reviews
Downloads
Latest reviews
Search resources
Blogs
New entries
New comments
Blog list
Search blogs
Chat
Top chatters
Search
Search titles only
By:
Search titles only
By:
Log in
Register
New posts
Search forums
Log in
Register
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii U
5.5.X ELF Loader
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NWPlayer123" data-source="post: 6070075" data-attributes="member: 297271"><p>So, I've spent the past 4 or 5 days fiddling with this to get it to work and it finally does, allows you to load a gigantic ELF into JIT, since apparently it's 32MB (and no RPX gets that big, even uncompressed because of the data section), and I just got it working. I've only tested it on my system but it should work on others if you have the ELF in the right place. It's provided as-is, with no warranty, feel free to do as you see fit. I'll get a better ELF documentation/structuring done soon.</p><p></p><p><strong><span style="font-size: 15px">Technical Explanation</span></strong></p><p>If you wanna know how it works, I reused some code from FIX's ELF loader in libwiiu but I had to redo the whole thing because it was giving me lots of problems. It uses the very end of MEM1 (0xF5FFFFE0-FF)</p><p>to store stuff while it works, then copies the ELF into 0xF5800000 (slightly before that), it might have trouble with bigger stuff so I'd suggest developing file loading using sockets. It uses a catch() function at the start so I can jump to it to recover ROP chains. All the ROP does is copy the loader to the very end of JIT, and then reruns all the ROP to copy sections into the start as needed and then jumps to it.</p><p></p><p><strong><span style="font-size: 15px">Usage</span></strong></p><p>It searches for a URL with /payload, so host it somewhere with a URL like <a href="http://192.168.0.7/payload?elfloader" target="_blank">http://192.168.0.7/payload?elfloader</a>, it'll cut off that part and load a file called boot.elf (<a href="http://192.168.0.7/boot.elf" target="_blank">http://192.168.0.7/boot.elf</a>)</p><p></p><p><span style="font-size: 15px"><strong>Downloads??</strong></span></p><p>Attached is libwiiu source for the ELF loader and the Hello World ELF I used to test. You can grab the code550.bin and host it wherever. It will probably only work on 5.5.X because of the ROP. Also had MrRean help me get this working, so thanks.</p></blockquote><p></p>
[QUOTE="NWPlayer123, post: 6070075, member: 297271"] So, I've spent the past 4 or 5 days fiddling with this to get it to work and it finally does, allows you to load a gigantic ELF into JIT, since apparently it's 32MB (and no RPX gets that big, even uncompressed because of the data section), and I just got it working. I've only tested it on my system but it should work on others if you have the ELF in the right place. It's provided as-is, with no warranty, feel free to do as you see fit. I'll get a better ELF documentation/structuring done soon. [B][SIZE=4]Technical Explanation[/SIZE][/B] If you wanna know how it works, I reused some code from FIX's ELF loader in libwiiu but I had to redo the whole thing because it was giving me lots of problems. It uses the very end of MEM1 (0xF5FFFFE0-FF) to store stuff while it works, then copies the ELF into 0xF5800000 (slightly before that), it might have trouble with bigger stuff so I'd suggest developing file loading using sockets. It uses a catch() function at the start so I can jump to it to recover ROP chains. All the ROP does is copy the loader to the very end of JIT, and then reruns all the ROP to copy sections into the start as needed and then jumps to it. [B][SIZE=4]Usage[/SIZE][/B] It searches for a URL with /payload, so host it somewhere with a URL like [URL]http://192.168.0.7/payload?elfloader[/URL], it'll cut off that part and load a file called boot.elf ([URL]http://192.168.0.7/boot.elf[/URL]) [SIZE=4][B]Downloads??[/B][/SIZE] Attached is libwiiu source for the ELF loader and the Hello World ELF I used to test. You can grab the code550.bin and host it wherever. It will probably only work on 5.5.X because of the ROP. Also had MrRean help me get this working, so thanks. [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
PC, Console & Handheld Discussions
Nintendo Wii U
5.5.X ELF Loader
General chit-chat
Help
Users
Settings
Notifications
Miscellaneous
Inverse message direction
Display editor on top
Enable maximized mode
Display images as links
Hide bot messages
Hide statuses
Hide chatter list
Show messages from ignored users
Temporarily disable chat
Receive mention alerts
Sound notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Desktop notifications
Normal messages
Private messages
Whisper messages
Mention messages
Bot messages
Options
Options
View top chatters
BigOnYa
Loading…
The Real Jdbye
Loading…
*is birb*
@
K3Nv2
:
It was at this day a chat changed my life forever
Today at 2:43 AM
@
Xdqwerty
:
@K3Nv2
, this one?
Today at 2:44 AM
@
NormalCatelol
:
calling it anything related to switch will just be a Wii U type of accident
Today at 2:46 AM
@
Xdqwerty
:
Good night
Today at 2:54 AM
@
The Real Jdbye
:
don't mind me, just liking all of SDIO's posts, they deserve it for
https://gbatemp.net/threads/usb-partition-use-partitioned-usb-hdds-with-the-wii-u.656209/
Today at 2:58 AM
@
Shubshub
:
oshit its the real jdbye
Today at 4:33 AM
@
BakerMan
:
guys when i get back on discord i'm making my pfp the smug DK face
Today at 4:53 AM
@
BakerMan
:
this one
+1
Today at 4:54 AM
@
The Real Jdbye
:
@BakerMan
needs more expand dong
+1
Today at 8:54 AM
@
Sonic Angel Knight
:
Today at 10:31 AM
@
Sonic Angel Knight
:
I thought it was duck season, not... king kong season....
Today at 10:31 AM
@
K3Nv2
:
https://youtu.be/_NsOxG2zwWA?si=oK21qVNxgd98AyJT
Today at 11:06 AM
@
Veho
:
https://i.imgur.com/yB4tVps.jpg
Today at 11:35 AM
@
Veho
:
To ensure Florida is the freest state in the country, we will ban
colors.
+2
Today at 11:35 AM
@
Jayro
:
Florida needs to just... break off and float away.
Today at 11:58 AM
@
Jayro
:
Be the free-est you can be. XD
Today at 11:58 AM
@
Veho
:
Freedom*
*(terms and conditions apply)
+1
Today at 11:59 AM
@
K3Nv2
:
Hawaii played it smart and said we're too hot for this land
Today at 12:19 PM
@
K3Nv2
:
https://overclock3d.net/news/cases_...d-multi-coloured-ai-cryofuze-5-thermal-paste/
+1
Today at 1:24 PM
@
BigOnYa
:
Kinda silly. But cool I guess. Its like painting your 2by4 wood studs in a wall, before covering with drywall.
+1
58 minutes ago
@
BigOnYa
:
I heard a good one at the bar last night, made me think for sec. - "If you are cold, go stand in the corner, because corners are always 90 degrees."
+2
50 minutes ago
@
Psionic Roshambo
:
Lol
42 minutes ago
@
The Real Jdbye
:
....90 degrees is way too hot though
13 minutes ago
@
The Real Jdbye
:
also, my apartment is proof that corners are not always 90 degrees
+1
13 minutes ago
@
BigOnYa
:
It's just a joke..
11 minutes ago
Submit
@
BigOnYa
:
It's just a joke..
11 minutes ago
Chat
2