Go Back  
Reply
 
Thread Tools
Old 02-03-2013   #121
BwE
Homebrew Developer
 
BwE's Avatar
 
Join Date: Sep 2010
Location: Australija
Posts: 863
Likes: 143
Liked 385 Times in 225 Posts
Mentioned: 213 Post(s)
Tagged: 0 Thread(s)
Originally Posted by anaria View Post

But I 've found no reference of any MD5 for each files of each version of the CORE OS.
Checking the entire CoreOS would encompass what you're doing, so why do it?
BwE is offline   Reply With Quote
Old 02-03-2013   #122
anaria
Homebrew Developer
 
anaria's Avatar
 
Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
Originally Posted by BwE View Post
Checking the entire CoreOS would encompass what you're doing, so why do it?
And why not
So I have and want to do this for many good or bad reasons:
1st I have no db of any MD5 for each ros version, so if I want to do the same way as you I need to establish a list of MD5 for this.
2nd doing MD5 for the whole ROS is valid only if done on a known format like OFW and eventually few CFW, but it can exist many cases where the ros is 100% valid but its MD5 unkown because it's a MFW which as never been calculated.
3rd doing it on each files of the ros can be as problematic as fopr the ros itself in case of a CFW/MFW, but at least there are only few files which are impacted when not having a OFW, also I don't want to solely give a report of the ros being fail if I can more over give to the user whihc file in the ros is problematic or unkown.
4th maybe a better way would be to use your method for known MD5 then go in the detail if there's a mismatch.
anaria is offline   Reply With Quote
Likes: (2)
Old 02-03-2013   #123
jamesst20
Member
 
Join Date: Jan 2011
Posts: 224
Likes: 24
Liked 27 Times in 20 Posts
Mentioned: 10 Post(s)
Tagged: 0 Thread(s)
Originally Posted by anaria View Post
How come Java being faster than C/C++ :P
I suppose it's because your file is in buffer RAM and not a direct read from the disk !?
I don't know how exactly it's done but I use BufferedInputStream Last time I used another object for looking the bytes and it would take 17 sec lol
jamesst20 is offline   Reply With Quote
Old 02-04-2013   #124
BwE
Homebrew Developer
 
BwE's Avatar
 
Join Date: Sep 2010
Location: Australija
Posts: 863
Likes: 143
Liked 385 Times in 225 Posts
Mentioned: 213 Post(s)
Tagged: 0 Thread(s)
Originally Posted by anaria View Post
4th maybe a better way would be to use your method for known MD5 then go in the detail if there's a mismatch.
Euss harassed me about this. However, my list does cover some CFW and debug, but not everything.

But realistically, you validate when you downgrade, you downgrade when you're on OFW.
BwE is offline   Reply With Quote
Old 02-04-2013   #125
anaria
Homebrew Developer
 
anaria's Avatar
 
Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
0.9.6 is on github now

Originally Posted by BwE View Post
Euss harassed me about this. However, my list does cover some CFW and debug, but not everything.

But realistically, you validate when you downgrade, you downgrade when you're on OFW.
And I think he is right

Honestly, folks will do what they want with this code when finish, but if I can finalise it correctly, it will not be aimed to only permit anyone to just validate a NOR for future downgrade, at least I will not use it for that.
For example you can see at the moment that it displays some per console information and generic things from the dump.

As for the validation itself, again if I can have a list of MD5 per ros I would be more than happy to include this in the code and then yes I would be able to implement this 4th point.

EDIT: 0.9.6 is on github
Still a lot is to be done but even if it's not really clean or out of bug, I've uploaded what I've done recenty.
new stuff have been introduced:
Added percentage indicator
Added global status
Added Fixed of some part of the code & cleaning from an0nym0u5
Changed MD5 function, the first one was only valid if done on a full file not on inner sections.
Added report for trvk and ros' files MD5
move part of the definitons in PS3Data.h

As per the MD5 things, it's not complete but it should help to start going further on this.
You will also note that I've increased the status to 97%, but it does not mean that a dump can be considered good if you are green...
I cannot garanty that it really covers critical parts.
For example when you check some per console zone, the code can tell if the header or the size of a region is correct,then it checks if the region is full of data, BUT IT DOES NOT CHECK that the data in it are valide.

Be aware that you cannot rely 100% on this to validate your dump, remember it is aimed to help you validate but it's not able to do all the job for you.

The most important is that you can learn from this code if you want and make your own tools for what ever purpose if you like some part of this.

You will also notice that I have added some lines of MD5 sums in PS3Data.h for example:
Click here to see full text
// FW 3.41 Files
{"creserved_0" , "3.41" , "09A1D434DBD7197E7C3AF8A7C28CA38B"},
{"sdk_version" , "3.41" , "7A2595AECEDE95C9338C710CF8DBBA99"},
{"lv1ldr" , "3.41" , "C7BF42F12A3EE32E694EB9FE46E1DB51"},
{"lv2ldr" , "3.41" , "C8777688BF00F42E6C73DE336E10A25A"},
{"isoldr" , "3.41" , "54490521B6965BD0E95D93928C1B4056"},
{"appldr" , "3.41" , "CF08E9B3421E4B1AA665717C555ED670"},
{"spu_pkg_rvk_verifier.self" , "3.41" , "964A28D0F0E6AA3423A4FF1DA4598C21"},
{"spu_token_processor.self" , "3.41" , "7D71C9C119989446766442E8127BA0CB"},
{"spu_utoken_processor.self" , "3.41" , "92913EAD973B8AA24BFF4F38FE66927E"},
{"sc_iso.self" , "3.41" , "7E9938FF024C809DE3CC950B61E01F6B"},
{"aim_spu_module.self" , "3.41" , "8C3DF66C7BCFCB291221884EE46CB351"},
{"spp_verifier.self" , "3.41" , "A60518DDF46B904E7F8B4ADC96F60342"},
{"mc_iso_spu_module.self" , "3.41" , "07DDFE013304965BF7EB63D9AC5BD0C2"},
{"me_iso_spu_module.self" , "3.41" , "A237F20A0491149B1C0890B0FCE8E0CE"},
{"sv_iso_spu_module.self" , "3.41" , "7D20C0D5F382EEB31E6B830EA1ED4B8F"},
{"sb_iso_spu_module.self" , "3.41" , "5A219A19D772E26F41A86BCB8449093E"},
{"default.spp" , "3.41" , "4E78EA91BE73C71012930C4144B50CC1"},
{"lv1.self" , "3.41" , "200A67508DF9C6B2F47A7A93FF2160CA"},
{"lv0" , "3.41" , "C0C71AE21AEC6A6116464B8A7DF4D534"},
{"lv2_kernel.self" , "3.41" , "9DBFDC3B026622E83398554B783E1CEC"},
{"eurus_fw.bin" , "3.41" , "B5F54D9A11D1EAE71F35B5907C6B9D3A"},
{"emer_init.self" , "3.41" , "D5F6040AAB1B27E29461E847CFFDA08E"},
{"hdd_copy.self" , "3.41" , "F1142B43BCD76C0EC9A0CBF1BE8BE407"},


This list is of course not complete but it's not validated either, so I would appreciate anyone willing to report any additional sums, and prompt me those which are wrong.

You can use both codes from my second repo here to generate your own list of sums.

Unfortunately for those who want to know more about what it does and what is the exact soucre of information, I did not fill in enough comments...

Last edited by anaria; 02-05-2013 at 12:53 PM. Reason: 0.9.6 is on github
anaria is offline   Reply With Quote
Likes: (1)
Old 02-07-2013   #126
anaria
Homebrew Developer
 
anaria's Avatar
 
Join Date: Feb 2009
Posts: 80
Likes: 34
Liked 93 Times in 27 Posts
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
As you can see I'm good turtle on this... :P

I've started this coding, but it does not mean I have to be the only one to work on it, I made it open for that, and I do not consider it as my property, so if there are any smart folks willing to put line to that it would be benefic to all.

I'm just asking to anyone who does so to not copy/paste some part of it to put in their stuff and then lock it in a close source to be sure noone else can build a software similar to his!

Remember, we have brainies on the wiki who finds thing then share it so every one can find something useful.

So, for this code you for sure can notice that the 0.9.6 enhance the coverage but it's not doing everything perfectly.

I'm trying to follow smoe advices from @euss and @judges , but unfortunately my brain has a lack of space

most of the method used in the code are very simple: read some bytes cehck if they are at 00 or FF when supposed to, check if they are not when it's supposed to be data, compare some string/bytes, and do some MD5 sums...

One very good suggestion I got from euss is, instead of doing some hash checking as it require to build a huge list of possibilities, to decrypt the RVK and other selfs in the ros to check them, which definitely makes more sens as you do not need to build a list of thousands of MD5 and also it permit to check something which is not known to date.
I don't think I'm writing this the correct way...

And because I'm a stupid ass regarding encryption, if someone has an idea on how to emplement such thing I hope he would like to put few lines of code to this, of course it does not mean I'm not reading the wiki and example for fail0verflow to try to do it myself, but it may takes weeks for me and seconds for others.

Finally, I've wrote earlier that this code is aimed to help validating a dump, so yes it can help, but I guess I made a mistake writing it this way.
Please do not consider ti as a full validator or something, it will you for that, but you can use it for something else it's your choice, and that's reason I just named it "NOR Dump Tool", anyway it''s open you do as you like

Cheers, time to go buy my new MAC :P
anaria is offline   Reply With Quote
Likes: (1)
Old 02-19-2013   #127
deaphroat
Apprentice
 
Join Date: Oct 2011
Posts: 7
Likes: 0
Liked 2 Times in 2 Posts
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Hello

Thanks BWE ^^

ps3.gx-mod.com/modules/news/article.php?storyid=3197
deaphroat is offline   Reply With Quote
Old 02-19-2013   #128
3absiso
Senior Member
 
3absiso's Avatar
 
Join Date: Nov 2011
Location: Long Live PALESTINE
Posts: 1,629
Likes: 769
Liked 678 Times in 492 Posts
Mentioned: 223 Post(s)
Tagged: 0 Thread(s)
Originally Posted by deaphroat View Post
Hello

Thanks BWE ^^

ps3.gx-mod.com/modules/news/article.php?storyid=3197
@BwE
your validator is leaked, by you or what? your main page still says coming soon

@baileyscream , @MJ999 , @Sarah1331 , @playerkp420
check this tool it is very good
__________________
We Will Rise Again

Last edited by 3absiso; 02-19-2013 at 03:56 PM.
3absiso is offline   Reply With Quote
Old 02-19-2013   #129
playerkp420
Senior Member
 
Join Date: Dec 2011
Posts: 4,403
Likes: 952
Liked 1,523 Times in 1,100 Posts
Mentioned: 784 Post(s)
Tagged: 0 Thread(s)
Originally Posted by 3absiso View Post
@BwE
your validator is leaked, by you or what? your main page still says coming soon

@baileyscream , @MJ999 , @Sarah1331 , @playerkp420
check this tool it is very good
I have been trying it out. It is very nice. It checks a lot. Really cool.

It has been on the wiki, for a few days now.
__________________
HOW TO DOWNGRADE W/E3 FLASHER TO ANY OFW/CFW
Nor model PS3 downgrade service in U.S.A. if you don't want to do it yourself
For downgrade help join irc at effnet-Just enter name and channel is #ps3downgrade
playerkp420 is online now   Reply With Quote
Old 02-19-2013   #130
baileyscream
Senior Member
 
baileyscream's Avatar
 
Join Date: Feb 2011
Posts: 1,483
Likes: 531
Liked 1,004 Times in 503 Posts
Mentioned: 484 Post(s)
Tagged: 0 Thread(s)
Originally Posted by 3absiso View Post
@BwE
your validator is leaked, by you or what? your main page still says coming soon

@baileyscream , @MJ999 , @Sarah1331 , @playerkp420
check this tool it is very good
yea i saw it on the wiki a few days ago
i havent been able to get it to run i assume its something on my laptop stopping it from running
i get the annoying music though!!! why put that on it i dont know. i would have thought BwE would be the sort to hate that type of thing. ah well each to there own.

btw i'm on win7 32bit (finaly got rid of the stupid win8)
baileyscream is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 01:33 AM.