Hacking [Pre-release, WIP] Yet another rxTools?

duke_srg

Well-Known Member
OP
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
why don't you ask @d0k3 for a9lh?
Because current preview is not finished and I don't want anyone to hold with their working projects and help with this one unless it is not fully functional. So you're free to ask by yourself, but I won't for now, or it will look like I'm trying to grab the biggest piece of the pie, while I don't, just making what I can.

--------------------- MERGED ---------------------------

yes, however, the translation of the gui does not take place
Choose Русский or Español and see the main menu changes.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
why don't you ask @d0k3 for a9lh?

Because current preview is not finished and I don't want anyone to hold with their working projects and help with this one unless it is not fully functional. So you're free to ask by yourself, but I won't for now, or it will look like I'm trying to grab the biggest piece of the pie, while I don't, just making what I can.

A9LH support is very easy, just saying. Use a Brahma compatible bin and change the framebuffers to this:
Code:
#define TOP_SCREEN0 (u8*)(*(u32*)0x23FFFE00)
#define TOP_SCREEN1 (u8*)(*(u32*)0x23FFFE00)
#define BOT_SCREEN0 (u8*)(*(u32*)0x23FFFE08)
#define BOT_SCREEN1 (u8*)(*(u32*)0x23FFFE08)
This also won't break Brahma compatibility, so you can keep the change in for Brahma as well.

For 2xrsa compatibility (browser entrypoint on 2.1) it is the same, just the framebuffer has to be changed. Only CakeHax (because of its chainloader) and GW Launcher.dat (because of whatever they do) are special and require more changes.

The D9 & OTPHelper source .s /.ld / Makefile / draw.h may help to understand this, too.
 
Last edited by d0k3,

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Also, when fixing / adding / modifying entrypoints, keep in mind that one of rxTools big advantages is compatibility with lower FW versions. We did, f.e., use an older version of rxTools to recover a 2.1 N3DS without a previous backup. Cakes / ReiNAND / Luma3DS would not have helped here.
 

oresterosso

Active Member
Newcomer
Joined
May 21, 2015
Messages
41
Trophies
0
Age
48
Website
www.dsitaly.it
XP
889
Country
Italy
Because current preview is not finished and I don't want anyone to hold with their working projects and help with this one unless it is not fully functional. So you're free to ask by yourself, but I won't for now, or it will look like I'm trying to grab the biggest piece of the pie, while I don't, just making what I can.

--------------------- MERGED ---------------------------


Choose Русский or Español and see the main menu changes.

I selected the Spanish language to no avail in the gui.
I selected the Russian language and have changed only two menu items (in all gui)
the two voices that until changed:
reboot
Shoutdown
all else remains unchanged, unfortunately it does not work
 

laharl22

Well-Known Member
Member
Joined
Dec 19, 2014
Messages
1,767
Trophies
0
Age
38
XP
615
Country
France
Also, when fixing / adding / modifying entrypoints, keep in mind that one of rxTools big advantages is compatibility with lower FW versions. We did, f.e., use an older version of rxTools to recover a 2.1 N3DS without a previous backup. Cakes / ReiNAND / Luma3DS would not have helped here.
Can you make the a9lh support please?
 
  • Like
Reactions: chronoss

duke_srg

Well-Known Member
OP
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
I selected the Spanish language to no avail in the gui.
I selected the Russian language and have changed only two menu items (in all gui)
the two voices that until changed:
reboot
Shoutdown
all else remains unchanged, unfortunately it does not work
Please understand, all english strings while printed a processed tgrough the translation routines - as soon as there are keys in corresponding lang/*.json. If you update ru.json and es.json from the latest commit, you'll see more translated strings. Translation just have to be done, and I even don't have enough time to compete my native russian translation because I have many other things to fix. If you can translate to Italian, it will be great, just remember.Ber, the only thing to change will be it.json.
 

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
28,011
Trophies
4
Location
Making a non-binary fuss
XP
39,595
Country
Antarctica
A9LH support is very easy, just saying. Use a Brahma compatible bin and change the framebuffers to this:
Code:
#define TOP_SCREEN0 (u8*)(*(u32*)0x23FFFE00)
#define TOP_SCREEN1 (u8*)(*(u32*)0x23FFFE00)
#define BOT_SCREEN0 (u8*)(*(u32*)0x23FFFE08)
#define BOT_SCREEN1 (u8*)(*(u32*)0x23FFFE08)
This also won't break Brahma compatibility, so you can keep the change in for Brahma as well.

For 2xrsa compatibility (browser entrypoint on 2.1) it is the same, just the framebuffer has to be changed. Only CakeHax (because of its chainloader) and GW Launcher.dat (because of whatever they do) are special and require more changes.

The D9 & OTPHelper source .s /.ld / Makefile / draw.h may help to understand this, too.
Honestly, it should be too hard to port over A9LH compatibility and FIRM0/1 protection. I mean you can easily port over the source from ReiNAND/Luma3DS.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Can you make the a9lh support please?
@d0k3 does not do CFWs. I can help with questions such as this, though. And I'm pretty sure we have at least one (at least) beginner level programmer on here who knows how to change the framebuffers.

Honestly, it should be too hard to port over A9LH compatibility and FIRM0/1 protection. I mean you can easily port over the source from ReiNAND/Luma3DS.
Don't say something is easy unless you actually have read and know the source ;). Getting it to work will be easy, FIRM protection may be not.
 
Last edited by d0k3,

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
28,011
Trophies
4
Location
Making a non-binary fuss
XP
39,595
Country
Antarctica
@d0k3 does not do CFWs.


Don't say something is easy unless you actually have read and know the source ;). Getting it to work will be easy, FIRM protection may be not.
Let me rephrase that, it's easier compared to when we first started. Now there actually is a reliable source to pull from, compared to when we first started.
 

duke_srg

Well-Known Member
OP
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
Let me rephrase that, it's easier compared to when we first started. Now there actually is a reliable source to pull from, compared to when we first started.
Let me rephrase that, first Yellows8 or plutoo having a hard sex time investigating vulnerabilities, then the ant-heap is copy-pasting ;)
 
Last edited by duke_srg,

nedron92

Well-Known Member
Member
Joined
Feb 18, 2016
Messages
261
Trophies
0
Age
31
Website
www.github.com
XP
384
Country
Germany
I would give this new rxtools a try, cause I'm using still the 3.0 version ^^ (fast enough for me and stable with menuhax)
So I saved my old rxTools folder, delete it and do the standard steps (new rxtools folder to sd, firm folder within it, change for test-run my boot.3dsx (ctr) to rxtools one)
It starts fine and installs fine (I think so..), but it doesn't recognize my emuNand(however)?? I can't start/dump or do anything with the emuNand options, nothing.
I am doing anything wrong, forget something?

sysNand: 9.0E, emuNand 10.3E
 

duke_srg

Well-Known Member
OP
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
I can't start/dump or do anything with the emuNand options, nothing.
I am doing anything wrong, forget something?
NAND partitions detection is automatic now rather then from the list of predefined values before. The downside is GW-type EmuNAND with the size different from SysNAND could not be detected. Though it still could be usable being registered properly in SD card MBR, since in that case it's size taked from there, but for now it's only made automatically on boot for detected EmuNAND.
So how did you exactly initially created your EmuNAND? Could you check the dump sizes from the SysNAND and EmuNAND and check the first sector NCSD partition table?
 

MelonGx

Well-Known Member
Member
Joined
Jan 8, 2009
Messages
1,653
Trophies
1
XP
915
Country
China
Also, when fixing / adding / modifying entrypoints, keep in mind that one of rxTools big advantages is compatibility with lower FW versions. We did, f.e., use an older version of rxTools to recover a 2.1 N3DS without a previous backup. Cakes / ReiNAND / Luma3DS would not have helped here.
Do you mean 2.X which uses Roxas75's original entrypoint but not CakeHax?
 

nedron92

Well-Known Member
Member
Joined
Feb 18, 2016
Messages
261
Trophies
0
Age
31
Website
www.github.com
XP
384
Country
Germany
NAND partitions detection is automatic now rather then from the list of predefined values before. The downside is GW-type EmuNAND with the size different from SysNAND could not be detected. Though it still could be usable being registered properly in SD card MBR, since in that case it's size taked from there, but for now it's only made automatically on boot for detected EmuNAND.
So how did you exactly initially created your EmuNAND? Could you check the dump sizes from the SysNAND and EmuNAND and check the first sector NCSD partition table?

Ah I understand, that's the problem. I have a GW EmuNand, because I usually create EmuNands with my GW^^.
If I swap to a RedNand, ther should be no problem so, but can GW read also this other type?
What are my options to keep an EmuNand that can read GW and this versionf of rxtools? The old/original one has no problems to read/boot them.
 

duke_srg

Well-Known Member
OP
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
Ah I understand, that's the problem. I have a GW EmuNand, because I usually create EmuNands with my GW^^.
If I swap to a RedNand, ther should be no problem so, but can GW read also this other type?
What are my options to keep an EmuNand that can read GW and this versionf of rxtools? The old/original one has no problems to read/boot them.
Not exactly, GW EmuNAND created from your SysNAND should work fine, I have that one too. Looks like somehow your EmuNAND is of the different size of SysNAND. Could you backup both and cut only the first sectors for me to check?
 

Sev501

Well-Known Member
Member
Joined
Nov 5, 2012
Messages
161
Trophies
1
Location
127.0.0.1
XP
198
Country
Philippines
Nice! Still use the rxtools from way ago with my o3ds as a back up. Glad that it's being re-worked!
Thank you for your dedication to the project !! All the best!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: Scratch n sniff +1