xispe Posted November 2, 2005 Report Share Posted November 2, 2005 Hi!I've been developing a homemade genre/artist/album browser for my nw-hd5.I managed to figure out the structure of the files inside OMGAUDIO to get the information about all the tracks saved in the player.So i constructed a small program for browsing the tracks in an itunes like interface COOL! Here goes a screen shot!I figured out also where the matching OMA files are kept in the various subdirectories under OMGAUDIO.I've made some testings on changing artist / genre / album names and it works. There are independent files for artists, albums and genres Well.. i've seen somewhere that someone had figured out the mechanism for encoding and decoding mp3 files (via mp3filemanager). If i get that code, I think it's possible to make a fine replacement for mp3filemanager! And even a player! Future work:- Read your comments.- Publish this stuff and code for you to try it out in other devices.- Editing Genre/Artist/Album information.- ?? create a sonicstage replacement ? Quote Link to comment Share on other sites More sharing options...
lxrichbirdxl Posted November 2, 2005 Report Share Posted November 2, 2005 This is could be a SS lite...but it's very hard to get ATRAC code.But nice work! Quote Link to comment Share on other sites More sharing options...
Minger Posted November 2, 2005 Report Share Posted November 2, 2005 Nice...good job with this, hope ya get a lot more done... Quote Link to comment Share on other sites More sharing options...
ajitp Posted November 3, 2005 Report Share Posted November 3, 2005 this seems like good work! a good step taken towards a possible alternative for SS. Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 3, 2005 Report Share Posted November 3, 2005 This is brilliant! Thanks for taking the time and sharing it with the community. Quote Link to comment Share on other sites More sharing options...
Guest Stuge Posted November 3, 2005 Report Share Posted November 3, 2005 Good work.Full marks to u.tell me whether ur releasing that browser for download Quote Link to comment Share on other sites More sharing options...
xispe Posted November 3, 2005 Author Report Share Posted November 3, 2005 New version! New icons and cool stuff! (Yes i drawn the icons by hand by looking at the player!) Executable:http://www.uninova.pt/~rmf/nwhddbrowser/Ne...kmanBrowser.zipRequires Microsoft .NET Framework 1.1 to be installed on the system. If not installed, download it from:http://www.microsoft.com/downloads/details...&displaylang=enSource code (C#, Visual Studio .NET 2003):http://www.uninova.pt/~rmf/nwhddbrowser/Ne...owserSource.zipJust run the program, it will look for the device, (a drive containg OMGAUDIO directory with the file 04CNTINF.DAT).The software was tested only using a SINGLE HD5. I don't know if the filenames change in other devices. Nothing is written to the device, so you shouldn't loose anything by running the problem. Even if you do, I shall not be held resposible Have fun! Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 3, 2005 Report Share Posted November 3, 2005 You are on a roll! Thanks for sharing the great work. Quote Link to comment Share on other sites More sharing options...
xispe Posted November 3, 2005 Author Report Share Posted November 3, 2005 (edited) just tell me if it works Edited November 3, 2005 by xispe Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 3, 2005 Report Share Posted November 3, 2005 just tell me if it works ←I can confirm that your utility recognize the VAIO Pocket, Walkman Bean E305, PSP and NW-E507. Quote Link to comment Share on other sites More sharing options...
xispe Posted November 4, 2005 Author Report Share Posted November 4, 2005 WOW!!!! Quote Link to comment Share on other sites More sharing options...
atrain Posted November 4, 2005 Report Share Posted November 4, 2005 awesome work. could become the ephpod of atrac devices... Quote Link to comment Share on other sites More sharing options...
Christopher Posted November 4, 2005 Report Share Posted November 4, 2005 Keep up the good work. I'm going to make this public soon -- if you want me to host it or whatever just tell me. I can allocate whatever resources necessary. Quote Link to comment Share on other sites More sharing options...
xispe Posted November 6, 2005 Author Report Share Posted November 6, 2005 (edited) thanks! Wait big news on this later... i'm having success in decoding mp3 files directly from the player! EDIT: opps the keys used for encoding depend not only on track number, but also on the device Identifier... Edited November 6, 2005 by xispe Quote Link to comment Share on other sites More sharing options...
xispe Posted November 6, 2005 Author Report Share Posted November 6, 2005 (edited) Ok! Making some real interesting progress now!After doing some experiments, looking at the OMA files side by side with their mp3 correspondence I noticed that 4 substitution cyphers where used. For instance, in the mp3 file i had the sequence: UUUUUUUUand in the oma i had:XWERXWERSo, for the first byte, U gets replaced with X, the second gets replaced with W, the third with E, and the forth with X.So i had the ideia to generate an mp3 file with some intellegent trash at the end. I wrote all the possible bytes (from 00 to FF) in groups of four in hexadecimal, something like:FF FF FF FF FF FF FF FE ... until 00 00 00 00Then i uploaded the file to the player using mp3 file manager, and looked at the resulting OMA file.I produced a small program for generating the 4 substitution cyphers, given a source mp3 file (with that trash at the end) and the resulting OMA file . So I got the 4 substition cyphers for this file.Then I deleted the file in mp3 file manager, and uploaded a real mp3! As this track was given the same id (the previous one was deleted), the cypher for encoding is the same! So, i could successfully extract the original mp3 file from the OMA file, using the cypher discovered with my trashy file! So, the idea is to get all the substition cyphers possible, at up to "n" tracks. Now the trick, I renamed the directory OMGAUDIO to OMGAUDIO_, opened MP3 File Manager and had a clean player, with no tracks. (But all my previous tracks were there).So what I did was generate lots of trashy files, to upload to MP3 File Manager, for it to encode and for figuring out the cyphers for each track number. (numbers now starting by 1, as OMGAUDIO is empty!)I used 5000 tracks, which i think is more than enough. (In my hd5 i have 1gb free and have around 2800 tracks).After loading all of these, I modified my program, to compare the original file with all the encoded files, and to build a database of cyphers, to use in each track number! (5 megabyte binary file)After finishing that and saving all the cyphers in a file, I renamed the full of trash OMGAUDIO to OMGAUDIO crack, and renamed back OMGAUDIO_ to OMGAUDIO. This way i had my tracks back on MP3 File Manager and on the player it self.Now, I had to do was to use the cyphers that i got, to decode the files in the player! Guess what!? IT WORKED! As for the results, i think the images are pretty nice Winamp playing a track just extracted from the hd5 ! About to extract a full album! ahahaha sony!!!Just select the output folder...Look! Where the heck is the DRM ? Playing back the legal tracks in winamp! I'm going to automate as much as possible all that process of generating the keys, for you to test on your devices. I think that the keys are also dependent on the device Id... (check the DvID.dat in the Mp3 File Manager directory). I tried to change it, and the tracks didn't play on the player [thanks to http://www.livejournal.com/users/waider/415461.html , for giving me the substitution cypher clue ] Edited November 6, 2005 by Ishiyoshi Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 6, 2005 Report Share Posted November 6, 2005 This is brilliant! I hope you don't mind that I edited Image1.png as an attachment because it's too large for the window.Keep up the good work! Are you planning to incorporate compression options? When you are ready to consolidate your work, please create a separate thread with concise walkthrough or description and I will pinned that thread accordingly. This thread will remain the discussion thread for your brilliant work. Quote Link to comment Share on other sites More sharing options...
xispe Posted November 6, 2005 Author Report Share Posted November 6, 2005 what do you mean by compreesion options ? Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 6, 2005 Report Share Posted November 6, 2005 what do you mean by compreesion options ?←Option to save the Mp3 files in different bit rates. Quote Link to comment Share on other sites More sharing options...
xispe Posted November 6, 2005 Author Report Share Posted November 6, 2005 well, i don't know, maybe in the future. The main objective was to do a reverse mp3filemanager. This along with mp3filemanager allows people to move in and out their mp3s, what is very useful. Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 6, 2005 Report Share Posted November 6, 2005 well, i don't know, maybe in the future. The main objective was to do a reverse mp3filemanager. This along with mp3filemanager allows people to move in and out their mp3s, what is very useful.←You are quite right. What you have done will help many of those that suffer from mandatory initialization. Thanks for sharing this with the community. Quote Link to comment Share on other sites More sharing options...
Beethovenian Posted November 7, 2005 Report Share Posted November 7, 2005 Great work! Does it present you the save option only if you have MP3s? My Atrac files show correctly in the HD1, names and everything, but I don't see the Save button. It would be nice if it worked with Atrac as well, but even if not, that's already fabulous work. Quote Link to comment Share on other sites More sharing options...
shadowritten Posted November 7, 2005 Report Share Posted November 7, 2005 Damn it! .exe won't run!Getting this message: The application failed to initialize properly (0xc0000135). Click on OK to terminate the application.Any ideas? Quote Link to comment Share on other sites More sharing options...
Beethovenian Posted November 7, 2005 Report Share Posted November 7, 2005 Shadow, did you get the Microsoft Passport thing? Quote Link to comment Share on other sites More sharing options...
Sasso Posted November 7, 2005 Report Share Posted November 7, 2005 Nice work, finally someone is making progress with sony devices.How do you save files? Or isn't that version uploaded yet.Has anyone been able to edit the firmware yet? Quote Link to comment Share on other sites More sharing options...
xispe Posted November 7, 2005 Author Report Share Posted November 7, 2005 The version on the server doesn't have the save feature yet. I would ask you to wait a bit till the end of this week, it's going to be a busy week at work You have to install .NET Framework before using the application.I did a test with atrac files, they were downloaded, but winamp didn't played them (of course). I didn't test in importing these files back in Sonic Stage. Maybe it works, maybe not i'll try later Thanks for the support Quote Link to comment Share on other sites More sharing options...
Vovo Posted November 7, 2005 Report Share Posted November 7, 2005 Great job, it works perfectly on my hd5 30 Go You must be a kind of savior for all sonistage users ! Quote Link to comment Share on other sites More sharing options...
xispe Posted November 8, 2005 Author Report Share Posted November 8, 2005 I'm developing a wizard to generate the keys on the device! screenshots:hope to have it finished soon It's looking nice isn't it ? Quote Link to comment Share on other sites More sharing options...
Ishiyoshi Posted November 8, 2005 Report Share Posted November 8, 2005 Most brilliant! The UI is looking nicer; looking forward to your finish product. Quote Link to comment Share on other sites More sharing options...
Guest Stuge Posted November 8, 2005 Report Share Posted November 8, 2005 It is looking really nice!Thanx again for sharing Quote Link to comment Share on other sites More sharing options...
karl Posted November 8, 2005 Report Share Posted November 8, 2005 This is fantastic, cant wait to give it a try!I tried to do something similar myself a while ago but it was a bit ambitious as Im just learning to program. I didnt get very far before I was out of my depth... I will watch with interest and hopefully learn some new stuff.Keep up the great work! Quote Link to comment Share on other sites More sharing options...
jbpbis Posted November 9, 2005 Report Share Posted November 9, 2005 Very nice ! I sent you an MP since I'd like to develop the same kind of tool for the Linux community. This should not require too much work and I think it would be worth it... Quote Link to comment Share on other sites More sharing options...
atrain Posted November 9, 2005 Report Share Posted November 9, 2005 once it's in 'official' or even proper beta release stage please put up a paypal link for this program - small contributions are deserved from all users imo. Quote Link to comment Share on other sites More sharing options...
Minger Posted November 9, 2005 Report Share Posted November 9, 2005 (edited) Dude...saw the beginning of this thread a week ago...and right now...I could just about kiss you.No more Sonicstage hopefully - which means no more trashy crappy software! woohoo!One question - do you guys think it will be possible to convert the oringally MP3 file thats now a OMA back to the orig MP3 - without reripping (don't wanna degrade the quality more and more, but I probably won't even notice... Edited November 9, 2005 by Minger Quote Link to comment Share on other sites More sharing options...
Guest Stuge Posted November 9, 2005 Report Share Posted November 9, 2005 (edited) Dude...saw the beginning of this thread a week ago...and right now...I could just about kiss you.No more Sonicstage hopefully - which means no more trashy crappy software! woohoo!One question - do you guys think it will be possible to convert the oringally MP3 file thats now a OMA back to the orig MP3 - without reripping (don't wanna degrade the quality more and more, but I probably won't even notice...←Yeah there r software available which can convert omg to mp3.Edit#pl follow the instructios given in the following page:http://www.atraclife.com/index.php?showtopic=333 Edited November 9, 2005 by Stuge Quote Link to comment Share on other sites More sharing options...
Vovo Posted November 9, 2005 Report Share Posted November 9, 2005 Yeah there r software available which can convert omg to mp3.Edit#pl follow the instructios given in the following page:http://www.atraclife.com/index.php?showtopic=333←Do you know if HIMDrenderer just read the omg container to extract the mp3(if it was originally mp3) or reconvert it in mp3 (lame) ??? Quote Link to comment Share on other sites More sharing options...
Guest Stuge Posted November 9, 2005 Report Share Posted November 9, 2005 (edited) It recovert it into mp3(lame).futher u can ask me .But i have given tutorial on how to convert oma to mp3 on the above given linkRemember this is just a beta software so there r many flaws in it.For futher information pl post ur comments on the above link (Converting ATRAC (OMG) to Mp3) as this disturbs the on going topic discussion Edited November 9, 2005 by Stuge Quote Link to comment Share on other sites More sharing options...
xispe Posted November 12, 2005 Author Report Share Posted November 12, 2005 full version of the key generator and browser tomorrow hang on guys! Quote Link to comment Share on other sites More sharing options...
Guest Stuge Posted November 12, 2005 Report Share Posted November 12, 2005 full version of the key generator and browser tomorrow hang on guys! ←Good news at last.Hoping to have some fun with that Quote Link to comment Share on other sites More sharing options...
Vovo Posted November 12, 2005 Report Share Posted November 12, 2005 full version of the key generator and browser tomorrow hang on guys! ←oh yes !!! Quote Link to comment Share on other sites More sharing options...
FezzFest Posted November 12, 2005 Report Share Posted November 12, 2005 Any chance your (I must say brilliant ) program will work with Hi-MD devices? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.