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

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
But in both cases opened menu after progress bar?
So in case /data don't exist you don't see font extraction, only firmware extraction (with no caption and percentage but definitely firmware with 3 slow steps) and then an empty menu (if press any key on full progress, since message not shown with no font).
And on second boot only font extraction with normal menu boot?

And you did not try to boot witn /data/settings.json existed by with no font and decrypted firmware, don't you?
Yeah in both cases I get the menu afterwards (I have to press a button after firmware decryption but that's part of how it works)

And yes, when /data doesn't exist, I see exactly like you described.

Edit: just saw your last sentence. Actually, settings.json has not existed for a while now. I thought you removed it or something?

Edit2: I checked my sd again, and I have system.json .. So this time, instead of deleting the whole data folder, I deleted everything inside except for system.json. When I ran rxtools, the setup worked great this time (font extraction followed by firm decryption with text).

Edit3: deleted data folder once again, and we are back to firm decryption on first boot, font extraction on second boot. So I guess system.json fixes this or something?

Edit4: after deleting the data folder, and doing the setup again, system.json did NOT regenerate. This is what I noticed with all my previous installs. Maybe you can look into that?
 
Last edited by Madridi,
  • Like
Reactions: duke_srg

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
Yeah in both cases I get the menu afterwards (I have to press a button after firmware decryption but that's part of how it works)
And yes, when /data doesn't exist, I see exactly like you described.
Edit: just saw your last sentence. Actually, settings.json has not existed for a while now. I thought you removed it or something?
Edit2: I checked my sd again, and I have system.json .. So this time, instead of deleting the whole data folder, I deleted everything inside except for system.json. When I ran rxtools, the setup worked great this time (font extraction followed by firm decryption with text).
Edit3: deleted data folder once again, and we are back to firm decryption on first boot, font extraction on second boot. So I guess system.json fixes this or something?
Edit4: after deleting the data folder, and doing the setup again, system.json did NOT regenerate. This is what I noticed with all my previous installs. Maybe you can look into that?

Thanks!
Can confirm the issue - data folder are not created before font extraction.
As for settings.json it is affected too, so will be created now only on settings change.
Fixing preventive /data folder creation will eliminate both issues.
 
  • Like
Reactions: Madridi

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar

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
Works great now.
I did notice however that between font extraction and firmware decryption the bar doesnt go back to the start. It doesnt effect anything so you can leave it alone.
Here is a video if you wanna look at it though:
https://mega.nz/#!TFkQQbZL!BYv0Xq10u0LR8mWdrhDje4cx1GHOGUUtIFtQ0wH6n0E
The same for me now. Looks like the last font stages and the first firmware stage are quick and now there are no two f_mkdir calls between them, so both progress bars melted in one progress visually :) you can notice a slight progress increase on caption appearance.
 
  • Like
Reactions: Madridi

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
This is for the setup or Emunand dump?
This is for the read/dump issue. SDXC have power save mode with power consumption as SD/SDHC and high perfomance mode with higher power rating. By default power saving mode is selected, so ther is no difference with SDHC. Enabling high performance mode could help with the transfer speed related issues (the one we actually have). Or it could not work at all since 3DS controller have no official SDXC support and may not provide necessary power for that mode.
Setup is done, for the moment, already cherry-picked it into master.
 
  • Like
Reactions: Madridi

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
This is for the read/dump issue. SDXC have power save mode with power consumption as SD/SDHC and high perfomance mode with higher power rating. By default power saving mode is selected, so ther is no difference with SDHC. Enabling high performance mode could help with the transfer speed related issues (the one we actually have). Or it could not work at all since 3DS controller have no official SDXC support and may not provide necessary power for that mode.
Setup is done, for the moment, already cherry-picked it into master.
Damn..
1st dump: 4.52
2nd dump: 4.46
3rd dump: 4.46
4th dump: 4.46
5th dump: freeze :(
 
  • Like
Reactions: duke_srg

Billy Acuña

Well-Known Member
Member
Joined
Oct 10, 2015
Messages
3,126
Trophies
1
Age
31
XP
3,701
Country
Mexico
Sorry to bump this thread, but... Any news about Native Firm 11.3 and the A9LH branch?

Enviado desde mi SM-J111M mediante Tapatalk
 

Madridi

Card Collector
Member
Joined
May 9, 2008
Messages
3,562
Trophies
2
Age
38
Location
Doha
XP
3,071
Country
Qatar
Sorry to bump this thread, but... Any news about Native Firm 11.3 and the A9LH branch?

Enviado desde mi SM-J111M mediante Tapatalk
Well, like @duke_srg said before, he needs help with the cfw part of rxtools. That includes both a9lh and 11.3 NATIVE_FIRM.. Unfortunately looks like no one is willing to help :(

A sample fix was committed at one point but from what I understand it didn't work.

Hopefully this project received further contributions
 
Joined
Feb 17, 2017
Messages
1,214
Trophies
1
XP
2,473
Features
  • Language-independent graphical user interface with smooth built-in 3DS system font and progress bar with time estimation for time consuming jobs
  • JSON-based menu structure, styleable themes and language translations
  • Dynamic menu features availability (all feature prerequisites, which could be checked fast, are checked before menu rendering, disabling currently unavailable functions or submenus)
  • NAND partition structure detection (i.e. any unit with non-standard NAND and/or partition sizes, even not yet released, should work fine)
  • Refactored AES and SHA cryptographic hardware engines interfaces allows faster processing for end users and really simple operations for developers.
7C1WGsJ.png
ZfM9gbB.png
5m1tXk6.png
SUjLYat.png
JyBg1mb.png
uE6KGO0.png
3kgX12O.png
fvqy2kJ.png
7d7SeGG.png
Currently working tools
  • rxMode SysNAND/EmuNAND
  • Pasta mode
  • *NAND dump/inject complete image
  • Decrypted *NAND partition dump/inject
  • Selected files copy from/to/between CTRNAND partition and/or SD
  • SDinfo.bin/ncchinfo.bin formats XORpad generation
  • NAND partitions XORpad generation
Check detailed up to date hardware compatibility chart here https://github.com/dukesrg/rxTools/blob/master/rxtools/README.md

Installation from the scratch

Clean installation is similar to original rxTools

Upgrading existing original rxTools installation (version 3.0 do not have several files listed to delete, thats OK)
  • Delete /rxTools/data/system.json, since format is slightly changed
  • Delete /rxTools/data/font.bin
  • Delete /rxTools/theme/*.*
  • Copy contents, overwriting existing files.
Known issues and limitations
  • On first boot SD MBR partition table will be updated with the first EmuNAND properties, making many EmuNAND processing tools inoperable, though any standard partition management software will see the second partition of type 0xD3 (which is choosen for 3DS NAND partition type since not commonly used)
  • Only the first old-style GW format EmuNAND is bootable since CFW is not refactored yet
  • Several features in menu looks like enabled but actually does nothing since not refactored yet
  • No text is displayed with initial font extraction progress bar just because font is currently unavailable
  • No credits section yet :blush:
See the full list of known issues, pending enhancements and project milestones here: https://github.com/dukesrg/rxTools/issues
FAQ
Q: Why?
A: Because I can!

Q: No, seriously, rxTools is dead and there are a number of active projects to contribute.
A1: It's not dead untill no one is using it.
A2: Exactly because it's not maintened by any other for some time, I was able not only to cut and stich small parts, but completely wipe and replace with refactored whole functions or even modules.
A3: Exactly because there are a number of projects started last year with comparable features but did nothing compared with what I wanted, proposed and actually did in a mean time.

Q: Doh! Yet another one with blackjack and hooters.
A: Look A2 above and check the actual code.

Q: Your code suck!
A: Contribute or STFU!

Q: Looks awesome, can I be of any help?
A1: Propose features on a forum or even better as issues at guthub
A2: Test unchecked features of the hardware compatibility chart and report issues at github. But please don't test releases prior to beta on not hardmoded devices unless you're absolutely certain what are you doing. Even it have a simple dumb protection over flashing wrong format NAND/Partition images, real SysNAND writes needs to be checked.
A3: Grammar to check with native English in two places: strings.h and gui.json
A4: Translation to your native language in lang/*.json file from files mentioned in A3, english string as a key.
A5: Contribute with code at github!

Where to get
https://github.com/dukesrg/rxTools/releases

Special thanks
  • b1l1s and 173210 for consultations
  • Crusard for new theme backgrounds
  • arcshift, Normmatt, megazig and whoever else I forgot to mention because I lost track seeking origins of the common part of the library code used in original rxTools and most of current projects.
>lima3ds
 

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
Well I didn't mean cfw itself. I meant other functions within the gui the don't work yet like injecting H&S :P
Before njectios fox I was planning to make common inject/replace/firm repository based on nus path. Currently very busy at work so new features are on hold.
 
  • Like
Reactions: Madridi

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Where's everybody?