Previously known as AsianInvasion
- Jun 22, 2014
The only downside of someone actually doing this is that they could actually brick the DAP to a point of no return. I am pretty sure that from your instructions, if someone is to modify it, it is possible to repack it, using the same packtools, if you change the code sequence:
./packtools --descramble -i sys.bin -o outputfile
cd/where/ever/the/sys/bin/is ./packtools --scramble -i [name of the decrypted file] -o sys.bin
Now, who has enough low code knowledge to do it? I am still early to try, and I mainly work with high level coding, C# is not about doing low level hardware stuff.
Actually, the descrambler uses xor to descramble the sys.bin, so the opposite would be another xor, or just another descramble. That would most likely return decrypted firmware to working state. Not tested though.
Yes, this will brick the player with a high chance if done incorrectly. Not sure if the firmware flashing code would survive and will allow you to just reflash the stock firmware for recovery, or if the firmware flasher would be removed as well.
I don't have any low level code knowledge, but I have experience with Linux-based OSs.
I read somewhere that the FiiO X3 runs OpenDingux Linux as its OS, so the X5 may run the same OS as well.
I've done hexdump -C and strings -n 10 on the decrypted firmware. Lots of references to a SQLite3 database (For holding the music library) and stuff like libpng. Also, tons of paths to images near the end of the data.