Go Back  
Reply
 
Thread Tools
Old 01-26-2013   #81
defyboy
Member
 
Join Date: Jan 2011
Posts: 161
Likes: 4
Liked 260 Times in 93 Posts
Mentioned: 52 Post(s)
Tagged: 0 Thread(s)
Originally Posted by baileyscream View Post
is the download section getting re-opened then?
otherwise its a bit pointless moving it there if it cannot be accessed.

^^^dont take that as a piss take or anything. its just a question
The download section will not be reopened in its previous incarnation. I will open a new section on the proviso that there is no Sony copyrighted material on there.
__________________
I am not a developer. That doesn't mean I don't know what i'm talking about.
defyboy is offline   Reply With Quote
Old 01-26-2013   #82
jamesst20
Member
 
Join Date: Jan 2011
Posts: 224
Likes: 24
Liked 27 Times in 20 Posts
Mentioned: 10 Post(s)
Tagged: 0 Thread(s)
Would you agree if I port this to Java or C++ (Havn't chose yet) and make a GUI for it ?
jamesst20 is offline   Reply With Quote
Likes: (1)
Old 01-26-2013   #83
digiprog
Member
 
digiprog's Avatar
 
Join Date: Nov 2012
Location: tripoli, lebanon
Posts: 212
Likes: 59
Liked 33 Times in 27 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
@anaria made it an open source and he welcomed anyone that wants to help building the perfect tool
__________________
NOR Downgrade service in Tripoli, Lebanon: Here
My facebook account: Here
digiprog is offline   Reply With Quote
Old 01-26-2013   #84
jamesst20
Member
 
Join Date: Jan 2011
Posts: 224
Likes: 24
Liked 27 Times in 20 Posts
Mentioned: 10 Post(s)
Tagged: 0 Thread(s)
Nice

So what do you guys suggest?

C++ with Qt or Java?

I need a project and when I think about it, I've done nothing for PS3 Scene, times to welcome me a bit more

Last edited by jamesst20; 01-26-2013 at 07:22 PM.
jamesst20 is offline   Reply With Quote
Old 01-26-2013   #85
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 arcadekidflo View Post
Version 0.9.4 works for me . Whatever you changed between 0.9.4 and 0.9.5 causes it not to work on some systems .
I'm not convince about source code changes impact here, you'd see in the commit corresponding to this change (at https://github.com/anaria28/NOR-Dump...342b1886e85379 ) that it's mainly about memory waste in the structure CheckPerSKU, redefinition of mkdir to match Win32's constraints and the introduction of --help.

I've tried both under cygwin + MingW32 on a Windows 7 64 bits and did not meet this. But definitely if a bug is present I'd be happy to get rid off.

As I wrote and wrote my code few times, so I cannot exclude to have missed something, but the code is open and I'm not afraid to get remarks on it as lon as it permit to make it better and make all of us happy.

Do not read me wrong I really welcome all feedback and not comlaining about any posts.

Again, I encourage anyone using windows who want to simply install cygwin or MinGW32/MSYS and try to compile it to learn/modify/investiguate whatever you want.

Below you'll see the output of current draft launched under cygwin but I have a lot more to include.

Code:
$ time ./NORDumpToolcygwin.exe Broken.bin
******************************
*       NOR Dump Tool        *
******************************

Version 0.9.6

Open source project aimed to help to validate PS3 NOR dumps
At the moment (January 2013) the code is probably able
to give you a validation status of roughly 95%!?
It's anyway better to do additional checking by your own,
unless the code of this tool is fully validated by experts!!!

******************************
*         Statistics         *
******************************
Bytes '00' found 4414253 times, 26.31% Good
Bytes 'FF' found 1766242 times, 10.53% Too High
Other bytes found 44455 times maximum, 0.26% Good
******************************
*        Generic Data        *
******************************
Section: Flash Magic Number     : read '000000000FACE0FF00000000DEADDEEF' !   mismatch pattern '000000000FACE0FF00000000DEADBEEF' !
Some checking were not successful.
You may need to check further your dump.
But fortunately for the Generic section of the NOR it may be fixed.
******************************
*      Per Console Data      *
******************************
Section: mtldr size and rev : read hidden
Section: mtldr size and pcn : read hidden
Section: EID0  -       IDPS : read hidden
Section: EID0 static        : read hidden
Section: EID0 pcn           : read hidden
Section: EID3  - ckp_mgt_id : read hidden
Section: EID3 static        : read hidden
Section: EID3 pcn           : read hidden
Section: EID5  -       IDPS : read hidden
Section: EID5 static        : read hidden
Section: EID5 pcn           : read hidden
Section: PS3 MAC Address    : read hidden
Section: cISD1 -        CID : read hidden
Section: cISD1 -       eCID : read hidden
Section: cISD1 -   board_id : read hidden
Section: cISD1 -   kiban_id : read hidden
Section: cISD1 -0x3F0A4 Data: read hidden
Section: cISD1 -0x3F0B0 Data: read hidden
Section: cISD1 - ckp_mgt_id : read hidden
Section: cvtrm - pck/puk    : read hidden
Section: HDD information    : read TOSHIBA hidden
Section: PS3 Serial Number  : read        hidden
Section: Bootldr hdr and rev: read hidden
Section: Bootldr hdr and pcn: read hidden
Section: cvtrm hdr bis      : read 'FFFFFFFF' !   mismatch pattern '5654524D' !
PS3 SKU : CECHLxx (VER-001) minimum FW : 2.45 (item 29 in list)
Some checking were not successful.
You may need to check further your dump.
Be cautious, flashing this one may lead to a brick of your PS3.
******************************
* Area filled with 00 or FF  *
******************************
Succesfully checked 'flashHeader' From '0x00000000' size: '0x00000010' full of '0x00'
Succesfully checked 'flashHeader' From '0x00000030' size: '0x000001D0' full of '0x00'
Succesfully checked 'flashformat' From '0x00000210' size: '0x000001F0' full of '0xFF'
Succesfully checked 'asecure_loader' From '0x0000F110' size: '0x0001FEF0' full of '0x00'
Succesfully checked 'eEID' From '0x00030DD0' size: '0x0000E230' full of '0xFF'
Succesfully checked 'cISD' From '0x0003F270' size: '0x00000590' full of '0xFF'
Succesfully checked 'cCSD' From '0x0003F850' size: '0x000007B0' full of '0xFF'
Error at '0x00040400
Some error occured when checking 'trvk_prg0'
Succesfully checked 'trvk_prg0' From '0x00040FF0' size: '0x0001F010' full of '00' xor 'FF'
Succesfully checked 'trvk_prg1' From '0x000602D0' size: '0x00000D20' full of '00' xor 'FF'
Succesfully checked 'trvk_prg1' From '0x00060FF0' size: '0x0001F010' full of '00' xor 'FF'
Succesfully checked 'trvk_pkg0' From '0x00080270' size: '0x00000D80' full of '00' xor 'FF'
Succesfully checked 'trvk_pkg0' From '0x00080FF0' size: '0x0001F010' full of '00' xor 'FF'
Succesfully checked 'trvk_pkg1' From '0x000A0270' size: '0x00000D80' full of '00' xor 'FF'
Succesfully checked 'trvk_pkg1' From '0x000A0FF0' size: '0x0001F010' full of '00' xor 'FF'
Succesfully checked 'ros0' From '0x005FCC88' size: '0x001C3378' full of '00' xor 'FF'
Succesfully checked 'ros1' From '0x00CFCD1C' size: '0x001C32E4' full of '00' xor 'FF'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F20040' size: '0x000001C0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F20240' size: '0x0001FDC0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F40030' size: '0x0001FFD0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F60060' size: '0x000093A0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F69530' size: '0x000006D0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F69C00' size: '0x00015400' full of '0xFF'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F80030' size: '0x0001FFD0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00FA0060' size: '0x000093A0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00FA9530' size: '0x000006D0' full of '0x00'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00FA9C00' size: '0x00015400' full of '0xFF'
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00FBF000' size: '0x00001000' full of '0xFF'
Succesfully checked 'bootldr' From '0x00FEEB70' size: '0x00011490' full of '0xFF'
Some checking were not successful.
You may need to check further your dump.
Be cautious there is something fishy in your dump.
******************************
*       Not Empty Area       *
******************************
Succesfully checked 'asecure_loader' From '0x00000840' size: '0x0000E8D0' not empty
Succesfully checked 'eEID' From '0x0002F090' size: '0x00000AE0' not empty
Succesfully checked 'eEID' From '0x0002FB90' size: '0x00000710' not empty
Succesfully checked 'eEID' From '0x000302C0' size: '0x000000E0' not empty
Succesfully checked 'eEID' From '0x000303A0' size: '0x00000030' not empty
Succesfully checked 'eEID' From '0x000303F0' size: '0x000009E0' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F20200' size: '0x00000040' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F40000' size: '0x00000030' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F60000' size: '0x00000060' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F69400' size: '0x00000130' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00F7F000' size: '0x00001030' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00FA0000' size: '0x00000060' not empty
Succesfully checked 'CELL_EXTNOR_AREA' From '0x00FA9400' size: '0x00000130' not empty
Succesfully checked 'bootldr' From '0x00FC0040' size: '0x0002EB70' not empty
Seems good, but you'd eventually like to be carefull!

        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
        ! 31.81% of the file has been checked !
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

        Error in Statistics
                -See report above or run again with option -P only
        Error in Generic Data Checking
                -See report above or run again with option -G only
        Error in Per PS3 Data Checking
                -See report above or run again with option -C only
        Error in 00/FF filled area
                -See report above or run again with option -F only

        !!!!!!!!!!!!!!!!!!!!!!!!!!!!
        ! YOU FAIL come back later !
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!

real    0m11.531s
user    0m11.465s
sys     0m0.030s
Originally Posted by jamesst20 View Post
Nice

So what do you guys suggest?

C++ with Qt or Java?

I need a project and when I think about it, I've done nothing for PS3 Scene, times to welcome me a bit more
It really depends on which makes you more comfortable, but I guess C++ will give you better performances and requires less effort to port it.
If I may suggest you on the GUI, I think the best to do is to make a tool which calls and parse the current code, see what has been done for scetool, in that case you do not need to rebuild it each time a new delivery is done but only if the interface changes.

Last edited by anaria; 01-26-2013 at 08:23 PM. Reason: New quote
anaria is offline   Reply With Quote
Old 01-26-2013   #86
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
It really depends on which makes you more comfortable, but I guess C++ will give you better performances and requires less effort to port it.
If I may suggest you on the GUI, I think the best to do is to make a tool which calls and parse the current code, see what has been done for scetool, in that case you do not need to rebuild it each time a new delivery is done but only if the interface changes.
That's right! I will try to focus to keep your code the way it is as much as I can. So yeah that way everytime you update your source code, it's gonna be a lot easier to update it

I had chose to start in C++ so yeah here is a little preview of the first GUI right now. When we will press the validate button, it's gonna change all the layout with the détails of the dump

jamesst20 is offline   Reply With Quote
Likes: (6)
Old 01-27-2013   #87
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)
@jamesst20 Good intiative.
You may want to use github if not done already and fork my project in order to easily follow any update done, you may also look at an0nym0u5 repository as he started to clean, and help to raise some errors as well, his programming skill is definitely higher than mine and its code may become easier to read than my own
anaria is offline   Reply With Quote
Old 01-27-2013   #88
guerrierodipace
Member
 
Join Date: Mar 2008
Location: Italy
Posts: 97
Likes: 39
Liked 15 Times in 10 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to guerrierodipace
I don't know if I can link here,hope so, in italian forum a guy published som part of flowrebuilder code.Maybe can help to improve also this tool and for adding NAND support

http://www.consoleopen.com/forum/hac...urce-code.html
guerrierodipace is online now   Reply With Quote
Old 01-27-2013   #89
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 guerrierodipace View Post
I don't know if I can link here,hope so, in italian forum a guy published som part of flowrebuilder code.Maybe can help to improve also this tool and for adding NAND support

http://www.consoleopen.com/forum/hac...urce-code.html
@guerrierdipace, below words are not aimed against you, it's a general way of speaking.

But unfortunately I doubt that Flow Rebuilder is an open source project, I may be wrong.

Why do I have this bad feeling when googling "Flow Rebuilder source code" and then I fall in a thread on another forum where guys are looking for this source code as well in order to build a dump validator and this is 2 months old!? Where is this validator?

I've read the wiki many times, read threads here and googled a lot for a while but then I decided to start working on some coding after xmas vacations, so that's not long coding and that may explain why the code is not complete and still requires improvment, but sure I know it's sometimes hard to decide where to start when you want to get involved in something, anyhow I did it, so I hope those guys from this other forum are far away ahead of what I did and that they are going to share their work as well.

I sure like to read source and learn from others when they allow it, but I'm not too keen in doing some copy paste randomly especially if it makes the author unhappy.

I do not say you were wrong doing this, it would be only if you had purely 'stolen' the code, I do not either say that it's better to give an app for free but keeping the source code as a teasure.

I personnaly do not want to run business on that and hide a code that is basically and only here thanks to guys like defyboy, euss and many others who did not keep their secret, my code is just my interpretation of the wiki.
Months before E3 sold their stuff I was reading a lot from defyboy and was going to work on the STM32 to build my stuff, but for many bad reasons I stopped very early. But I ensure you that if I had finished it I would have release all for free and 100% open.

Anyhow, everyone can do what he wants with what he built, it's his right to keep it secret for whatever reason it is, but I have nothing to hide and you are not going to do nasty things to me by copying/transforming my code, moreover if fail0verflow had never shared their own source code many of would have written nothing!

ATM I'm increasing the "test coverage" (Sh!t I'm using my job's words) and also cleaning, and more important changing back strict address reference to shifts from based addresses, when it would complete I'm sure porting it to NAND would be easy as pie, the only thing I have no idea on how to manage is about NAND bad blocks...

Note: It's not anger or hate against anyone, it's just my statements and I just finished my dinner with an imported good French red wine, and you know what we say... Froggies are grumpy bad A$$h0les.
anaria is offline   Reply With Quote
Likes: (2)
Old 01-27-2013   #90
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
@jamesst20 Good intiative.
You may want to use github if not done already and fork my project in order to easily follow any update done, you may also look at an0nym0u5 repository as he started to clean, and help to raise some errors as well, his programming skill is definitely higher than mine and its code may become easier to read than my own
I will also provide you something to byte reverse the dump

Edit : There you go : http://pastebin.com/QfKc12s3 (I'm not the author, I don't do C but C++). It's poorly written but works
Edit 2 : Cleaned a bit the code and made it easier to use. Works with C/C++ by now http://pastebin.com/y20HuRAZ but still dirty
Edit 3 : Rewrote it entirely, didn't like the old dirty way. I don't think it's gonna work in C but yeah should be pretty easy to port it for you : http://pastebin.com/6mjZBSWJ

Edit 4: On what Platform are you codding for ? I have no such include #include <unistd.h> in Windows

Last edited by jamesst20; 01-27-2013 at 05:53 PM.
jamesst20 is offline   Reply With Quote
Likes: (2)
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 12:06 AM.