roxas75 / rxTools

rxTools
http://www.rxtools.net/
GNU General Public License v2.0
266 stars 81 forks source link

Today's new rxTools has data installation freezing on both O/N3DS - seems that TWL_FIRM decrypting failed #398

Closed MelonGx closed 8 years ago

MelonGx commented 8 years ago

On N3DS, it freezes after 0/3 square filled. If I force rebooting N3DS, it works fine. But when I take a look on /rxTools/data, only a 972KB 0004013820000002.bin (NATIVE_FIRM) exists.

On O3DS, it freezes after 3/5 square filled. If I force rebooting O3DS, it works fine. But when I take a look on /rxTools/data, there are three files:

MelonGx commented 8 years ago

BTW, DS cart on rxTools emuNAND

urherenow commented 8 years ago

I have no such issue on N3ds (you're only supposed to have the 1 file on n3ds. A json file will be created if you change any default setting (like force UI). I have had several freezes with O3DS though (installation data suite).

EDIT: Finally got through it. Took several tries and had to delete /data every time. So @MelonGx, it's not a decryption issue. I tend to think it's an FS issue. In fact, my system was frozen on the "installation successful" screen.

Edit2: After a reboot, rxtools boots no problem (into the menu) But it is froze on "RXMODE IS BOOTING".

Edit3: Third reboot, I'm in emunand now. It works, but the problem is there.

piratesephiroth commented 8 years ago

yeah it took a lot of tries here (O3DS) until it froze on the third square of the installation.

I rebooted and got into emunand fine, but data/0004013800000102.bin is a 0KB file and had no json file.

EDIT: After like 20 more tries deleting the files inside the data folder, it finally installed everything correctly

piratesephiroth commented 8 years ago

BTW If I select DECRYPT TITLE KEYS it just freezes.

This version is pretty broken, hue

urherenow commented 8 years ago

You'll have to delete the /data folder and keep trying to fix the 0kb file. The lack of json has been normal for a long while now. You will only get it if you change something in the settings (I always set "force ui" because it makes my success rate pretty much 100%, limited only by the success rate of menuhax+ctrbootmanager).

blazevx commented 8 years ago

I tried the 8c30bd6 build and can confirm that I'm unable to get past the Data Installation with none of the boxes getting filled with multiple failed attempts to get it working by deleting the /data file and repeating the process.

Had to revert to the c304489 build since it was the last one that is fully functional.

urherenow commented 8 years ago

apparently this also freezes when trying decrypt functions as well. I don't understand it. The latest commit (before the readme) seemed to only involve ktr changes, but CTR is really messed up.

AlbertoSONIC commented 8 years ago

Tried data installation two times with latest build on my n3ds and it works fine. Now I'll try o3ds

AlbertoSONIC commented 8 years ago

Tried also on o3ds, two times, and it always worked fine. Also twl works!

piratesephiroth commented 8 years ago

restoring line 110 of rxtools/source/features/firm.c,

aes_decrypt(hdr->ext.s.keyX_0x16, key, NULL, 1, AES_ECB_DECRYPT_MODE);

seems to fix the installation issues on the O3DS. (I have no idea of what side effects it will have though)

blazevx commented 8 years ago

Everything works again as of the d2ee1bc build that was released a little while ago.

urherenow commented 8 years ago

This is fixed. Please close it.