Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hakchi 2 on snes mini : start dumping kernel #436

Closed
Lory955 opened this issue Sep 27, 2017 · 69 comments
Closed

Hakchi 2 on snes mini : start dumping kernel #436

Lory955 opened this issue Sep 27, 2017 · 69 comments

Comments

@Lory955
Copy link

Lory955 commented Sep 27, 2017

I was trying to dump snes mini kernel.
Fel mode it's ok like on nes mini
But seems that nintendo changed something (obviously).
hakchi 2 starts dumping the kernel but gives USB error.
A new version of driver and a new compatibility list of the original games should probably solve this problem.
I suppose that nintendo used the same hardware like on nes mini, because nes support emulation of snes and other console.
Tomorrow i'll open snes and i'll compare the two console.
Snes mini controller works fine on nes mini , like original, same on retroarch opening snes or gba game.

@ajmi982
Copy link

ajmi982 commented Sep 27, 2017 via email

@Lory955
Copy link
Author

Lory955 commented Sep 27, 2017

In Italy yesterday Nintendo send to the reseller snes mini.

@Zehir
Copy link

Zehir commented Sep 27, 2017

I tried on a SNES miniand I got this message if this can help you:
Kernel dumped but the MD5 checksum is unknown: c2b57b550f35d64d1c6ce66f9b5180ce

The kernel is already patched or it's an unknown revision. Please send this message to me (press Ctrl+C). Continue at your own risk.

@Lory955
Copy link
Author

Lory955 commented Sep 27, 2017

Same software of nes mini, different theme.
Driver update and original game list will solve the problem

@leshrac55
Copy link

Curious if the same hardware means that the SNES mini will basically be able to be loaded into the NES mini, basically letting you take advantage of the (slight) UI improvements on the NES classic.

@Beliwars
Copy link

Hi @Lory955, so the issue is finally closed? or what you mean is that it's necessary a new driver and the new list of games? I also received mine yesterday (I'm in France) and I would like to add a couple of beloved games (DK2, ISS deluxe, Top Gear and a couple more)

@Lory955
Copy link
Author

Lory955 commented Sep 28, 2017

Custom kernel can be installed, but when i try tu put other games, hakchi 2 freeze processing the original games.
Snes mini memory on hakchi 2 window changes value from 248,4 MB to 254,4 MB...............
Unselecting the original 30 games seems that installation ended succesfully.
FTP server work, original games are in /usr/share/games/
"CLV-P-SAAAE" is the super mario world games folder on snes mini.
New games are not recognized, but snes mini is still working with custom kernel image installed.
Folder structure is incompatible.
New games cannot be launched from menu home and i don't know how to do it.

Waiting for ClusterM solution

@Lory955
Copy link
Author

Lory955 commented Sep 28, 2017

@leshrac55
I tried to install snes original kernel on nes mini.
Nes will reebot each 15-20 seconds

@leshrac55
Copy link

@Lory955
Darn... guessing it's a matter of time since hardware seems to be basically the same, at least visually. Will be interesting to see what the actual differences are and how/why they need to be overcome.

@03bgood
Copy link

03bgood commented Sep 29, 2017

Guys, can you help me? My SNES Classic is not working, anymore. I used Hakchi and now it won't boot up. How do I fix this? The red light stays on for about 10 seconds, then it resets. I have the HDMI cable and power supply both hooked up and now it's not even showing up on my TV.

@ajmi982
Copy link

ajmi982 commented Sep 29, 2017 via email

@nerdnils
Copy link
Contributor

Why dumbass? If his mistake is that obvious, why don't you tell us?

@cmargroff
Copy link

Kernel dumped but the MD5 checksum is unknown: 5296e64818bf2d1dbdc6b594f3eefd17

Just if you needed more samples to work with, US version

@03bgood
Copy link

03bgood commented Sep 29, 2017 via email

@Lory955
Copy link
Author

Lory955 commented Sep 29, 2017

                                              SUMMARY

mario_lookSnes mini Motherboard is really similar to nes mini too.luigi_run02

Nintendo hotfix many of all "hack" in nes mini.

This list is what you can do with snes mini Now
1- Original kernel dump
2- flash an "early" "custom" kernel (it's more like an hybrid kernel between nes and snes)
3-FTP server to see root and download file
4-Sometimes the reset combination can freeze snes mini, only if it works (i mean if system read the call)

Now list of what you can't do
1- you CAN'T add more games (For Now..... ;)
2- You can't add folders because system save them like normal games
3-you can't manage savestate, just only download it by FTP
4-you can't change music, change theme, add core or hmod
5-you can't switch nes2snes or snes2nes kernel
6-retroarch wont work for Now.

In snes mini games are in .sfrom, located in /usr/share/games/
memory is 254.4 MB

Listen the waw file in zip. It cames from snes mini EU version ;)

music.zip

Or this mosaic image
mosaic

@nerdnils
Copy link
Contributor

nerdnils commented Sep 29, 2017

Free memory, used memory or memory in the whole system? NES mini has 352.4mb afaik, so they made it less for the SNES? Or there is about 100 MB free?

memory is 254.4 MB

@BCS-Atrab
Copy link

BCS-Atrab commented Sep 29, 2017

Hey, I have the kernel dump with MD5 d76c2a091ebe7b4614589fc6954653a5 , this is for an EU version
EDIT: the model number is CLV-301 / the unit was sold in RO

@Lory955
Copy link
Author

Lory955 commented Sep 29, 2017

@nerdnils free memory

@eminent85
Copy link

MD5: 228967ab1034a347caa9c880419df487 - US Version dump

@MindController
Copy link

@Lory955

You actually can theme the nes mini with the current hakchi setup. I was able to completely remove the bottom thumbnail row and the teal selector by changing some of the directory locations in the hmod file. You can also edit the sounds, remove music, etc.

Here's a link to the image showing the thumbnail bar removed:

https://i.imgur.com/2KgVxX1.jpg

Sorry for the potato quality. Because functionality with hmods is so limited, i do recommend waiting until the program is updated.

@Christophedlr
Copy link

Christophedlr commented Sep 30, 2017

cbarta, in my SNES Mini (EU version), my MD5 hash of dump kernel (kernel.img) is c2b57b550f35d64d1c6ce66f9b5180ce ; message of hakchi2 V2.18 :


Warning!

Kernel dumped but the MD5 checksum is unknown: c2b57b550f35d64d1c6ce66f9b5180ce

The kernel is already patched or it's an unknown revision. Please send this message to me (press Ctrl+C). Continue at your own risk.

Do you want to continue?

Oui Non

It is possible different hash for SNES Mini EU/PAL Version ?

@Christophedlr
Copy link

Christophedlr commented Sep 30, 2017

I finded on this forum: http://www.aimargini.com/forum/viewtopic.php?f=5&t=2111&start=13460 an Italian user with the exactly hash of my for SNES Mini EU/PAL version.

@Lory955
Copy link
Author

Lory955 commented Sep 30, 2017

@MindController
Great!!
Hakchi2 put games/patch/hmod in specific nes classic directory; this is why we can only do some things.
An update for the new database, ram injection and MD5 checksum will solve all problems.
But se have to wait for ClusterM.

@benc-uk
Copy link

benc-uk commented Sep 30, 2017

Just dumped my UK / Euro model

MD5 checksum was: d76c2a091ebe7b4614589fc6954653a5
Same as above 😃

@oghanem
Copy link

oghanem commented Sep 30, 2017

I guess that this message:
"Kernel dumped but the MD5 checksum is unknown: xxxxxxxxxxx

The kernel is already patched or it's an unknown revision. Please send this message to me (press Ctrl+C). Continue at your own risk."

is because the MD5 checksum id is not in the whitelist of the hakchi2 source. If you add the SNES Mini MD5 id's into that list and complile, you should be able to get rid of that msg.

@nerdnils
Copy link
Contributor

But if the folder is differend as Lory955 said you should distingiush between nes and snes(tell hakchi which md5 is nes and which is snes so it can see which folders to use by itself).

@oghanem
Copy link

oghanem commented Sep 30, 2017

As I can see in the source code, we need to add correct list of default games, whitelist MD5 (there's a list called "correctKernel" that takes MD5 of both NES Mini and Famicom. Should be able to add the MD5 of both regions of the SNES. And also add a third option (SNES) in the stripe list that which we can use to build up a custom folder structure and other SNES specific parameters.

Haven't had time to deep dive into the source, though.

@Lory955
Copy link
Author

Lory955 commented Sep 30, 2017

@oghanem
You're right,
You can bypass MD5 allert when dumping kernel; hakchi2 compare snes MD5 to nes MD5 saved in database and show an error code in MD5.
As i can see for Now to solve all problems hakchi2 need an update, to support the new database.
Method used to add game, theme and other things is the same as nes mini, but the database has some differences.
Some of the folders destination, that hakchi2 use in nes mini, are different from snes; this is why we can backup ad flash a new kernel, because the software is almost the same.
Nintendo edit nes mini software to build snes mini.

@oghanem
Copy link

oghanem commented Sep 30, 2017

I have now tried to change add the MD5, add all games and changes some of the folder structure. I can load all original games for now.

Original SNES games loaded in hakchi2

@Lory955
Copy link
Author

Lory955 commented Oct 1, 2017

@Stuart2773
Snes palette.zip
Someone know user and password that hakchi2 use to open ftp connection with nes mini?

@olet64
Copy link

olet64 commented Oct 1, 2017

does anyone know how to reverse what i did? also shoul i just try to contct my retailer? my system is just blinking and not showing anything. and i have no idea what im doing admittedly. i was under the impression it was as easy as the nes (just put the roms on the program, hit sync and boom)

@lilbud
Copy link

lilbud commented Oct 1, 2017

@Lory955
image

@Lory955
Copy link
Author

Lory955 commented Oct 1, 2017

@olet64
You have to flash original SNES KERNEL, not nes kernel.
Have you lost your original KERNEL?
Is your snes from EU? UK? USA?
Give us some information and someone provide to give you the version that your console require.
Your snes is reeboting , not blinking.
This is why you flashed nes kernel on snes.

AND NOW I'll send you all new question:
Someone knows user and password that hakchi2 use for the FTP on nes mini?
I'm trying to flash nes mini library on snes mini to launch nes kernel on snes.
Motherboards are really similar, Nintendo only provided to modify library and software to launch the new console.
I suppose that with kernel and all the library from new mini , snes can launch and work well.

@nono2lozere
Copy link

user: root
password: clover

took me 30s to find it in sources.

@Lory955
Copy link
Author

Lory955 commented Oct 1, 2017

@nono2lozere
Great

@RaZer0k
Copy link

RaZer0k commented Oct 3, 2017

MD5: 5296E64818BF2D1DBDC6B594F3EEFD17 USA kernel dump

@KapUttyy
Copy link

KapUttyy commented Oct 4, 2017 via email

@roflcopter777
Copy link

What is that supposed to mean?

@timehlers
Copy link

Hi,

I have already asked in the other SNES thread. Maybe somebody could explain the mechanism a bit more in detail for me? Is hakchi2 using the dumped kernel, extracting the initrd and extend it with needed features, or does it have a prepared kernel(+initrd), flashing it regardless of the hardware? And is this prepared kernel(or initrd, or both) then incompatible with SNES mini?

I would love to test a bit with my SNES mini, but since people report bricks and others say it's because of the incompatible kernel, I did not do anything until now, except dumping my SNES mini kernel (complete nand dump failed).

The next question regarding bricking is: If I flash the wrong kernel, is it bricked after that? Or is FEL mode independent of the kernel (which it should be) and I can reflash the original one? But if this is true, how did people brick their console?

Thanks

Tim

@serial59
Copy link

serial59 commented Oct 4, 2017

which would have the kernel.img version europe has to give me car I have not back mine and suddenly my snes mini is block

@FierceLog
Copy link

FierceLog commented Oct 4, 2017

The SNES Mini option is grayed out in the menu.

That means at least one setting is wrong. Also wrong to try it before it is supported.

Just relax and wait until the SNES supported version is released. Patience for a change. Attention to detail. Don't panic.

@timehlers
Copy link

timehlers commented Oct 4, 2017

Europe Kernel:
[MD5: d76c2a091ebe7b4614589fc6954653a5]
Edit: Expired.

@serial59
Copy link

serial59 commented Oct 4, 2017

@timehlers thank you I will test this and I tell you if it works

@timehlers
Copy link

@FierceLog: If you mean your posting as response to my questions: I would prefer understanding things, instead of waiting until everything works OOB. It would be nice if someone could comment on the mechanism how it works... At least hakchi(1) is extracting the dumped initrd, and (I think) patching this one for upload.

@serial59
Copy link

serial59 commented Oct 4, 2017

@timehlers

it works great a great thank you friend

@pplatoon
Copy link

pplatoon commented Oct 4, 2017

Hello

I need password and user to access by ftp to snes mini and the clover does not work for me. someone who knows which one to use

Thank you

@tchomall
Copy link

tchomall commented Oct 6, 2017

my snes mini console is blocking the blinking light is nothing to the screen after the flash of the kernel
a solution to put the console back into service

@tchomall
Copy link

tchomall commented Oct 6, 2017

4: Hello to all I have flashes the kernel of my Mini snes with hackchi2 and I do not dump them before so with today's hackchi it takes me my snes for a nes a way to download the original kernel of the snes to deliver the console as it blinks and nothing on the screen?

@Cayde510
Copy link

Cayde510 commented Oct 6, 2017

@tchomall here's the eu snes kernal. Credit to @novyyy for posting his up.

{REDACTED: DO NOT POST COPYRIGHTED CONTENT @Drakonas}

@wtermini
Copy link

wtermini commented Oct 7, 2017

I have an Australian SNES Mini I do not see the MD5 hash for my unit anywhere.

Australian Kernel
[MD5: 0f890bc78cbd9ede43b83b015ba4c022]

@tchomall
Copy link

tchomall commented Oct 7, 2017 via email

@tchomall
Copy link

tchomall commented Oct 7, 2017 via email

@dreadyman
Copy link

grafik
What should i do now?

@roflcopter777
Copy link

That's normal, the checksum is "wrong" but it still works

@dav333
Copy link

dav333 commented Oct 21, 2017

I have the same Kernel dump error as many on my US SNES.

I was using 2.21d and would get the following message when flashing the custom kernel:

Kernel dumped but the MD5 checksum is unknown: 5be67f86fb0b0aaa275cd730d8b40a91

I upgraded to 2.21e and when flashing the custom kernel I got the following:

Kernel dumped but the MD5 checksum is unknown: ea5d1d9061bcc7d0c42374eca76eb611

I continued, and it appeared to complete the kernel dump. It then told me I could upload my ROMs to the SNES Classic. I clicked the upload button and immediately received the following Error message:

shell command "tar -xvC /" returned exit code 1: tar: can't open '._bin':
Read-only file system

Update: A friend who had no issues hacking his SNES brought over his computer and hakchi2 program and had the same results with my SNES.

Since then I have uninstalled, factory reset, and flashed the original kernel a few times but still get the same error when flashing the custom kernel.

@ib0w
Copy link

ib0w commented Nov 2, 2017

Does anyone have a download link for the EU Snes mini kernel? Mine isn't working anymore. Hope someone can help me out here.

@Drakonas
Copy link
Collaborator

Drakonas commented Nov 2, 2017

@ib0w 1: do not respond to half a month old tickets for separate requests. 2: this is not the place to be asking for illegally distributed content. The kernel is copyright Nintendo. Closing this and removing links to kernels.

@Drakonas Drakonas closed this as completed Nov 2, 2017
Repository owner locked and limited conversation to collaborators Nov 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests