Search found 71 matches

by Krevnik
Sat Sep 03, 2005 8:34 am
Forum: PSP Development
Topic: Q3 symbol list, call for participation
Replies: 50
Views: 18200

opendir/closedir/readdir() are now part of newlib, but with an leading underline in the function name. Does anybody knows, why? The include file still seems to be missing. Newlib thins out the C library to make it lightweight, and to get people to write the back-end for their particular embedded sy...
by Krevnik
Fri Aug 26, 2005 11:29 pm
Forum: PSP Development
Topic: C++ not working well
Replies: 6
Views: 2700

You could probably just wrap the main function in the extern C, IIRC as well.
by Krevnik
Thu Aug 25, 2005 3:29 am
Forum: PSP Development
Topic: So... today i start hacking the 2.0 firmware....
Replies: 10
Views: 3987

Spoof certificates? :D Lemme give you a piece of advice, take a class on crypto systems, then come back. Most of us gave up on researching it for two reasons: 1) Attacking the crypto system itself is pointless, the keys are either too large to crack (RSA/Certificates), and protect the real encryptio...
by Krevnik
Wed Aug 10, 2005 2:05 pm
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Nothing much to see here really... this particular 'hole' has been around since 1.0 IIRC.
by Krevnik
Tue Aug 09, 2005 3:59 am
Forum: PSP Development
Topic: Random Integer Generation
Replies: 25
Views: 12710

Not even converting to floating point will solve that since you still only have 5 outputs from the rand() :) Well, I was pointing out that if you kept the floating point for your calcs AFTER the rand generation, and only moved to integer at the very end of your series of calcs (which include what y...
by Krevnik
Thu Aug 04, 2005 10:38 am
Forum: PSP Development
Topic: Random Integer Generation
Replies: 25
Views: 12710

However, here is an integer version of the previous solution: value = (((rand() >> 1) + 1) % range) + minValue; This line will remove the bias, but it does reduce the effectiveness of the RNG by one bit (31 bits of randomness, rather t...
by Krevnik
Thu Aug 04, 2005 8:40 am
Forum: PSP Development
Topic: Random Integer Generation
Replies: 25
Views: 12710

Yes, well, I was reading the wrong aspect. I am gonna nitpick though and state that your original comment was vague and didn't specify the zero problem, and I completely forgot (been awhile since I mucked with RNGs) about that particular nastiness. Otherwise, any bias is from the RNG, and further mu...
by Krevnik
Thu Aug 04, 2005 8:09 am
Forum: PSP Development
Topic: Random Integer Generation
Replies: 25
Views: 12710

The bias is from a flaw in the RNG, rather than from the modulo. I personally tend to like constructing a number through a couple levels of rand() in a fashion that crypto tends to liken to obfuscation of the ciphertext. Here is a way to get something a little less biased.... unsigned long genRandom...
by Krevnik
Mon Aug 01, 2005 10:00 am
Forum: PSP Development
Topic: Firmware 2.0 - new modules
Replies: 25
Views: 16680

2.0 uses an updated encryption mechanism to break the methods currently in use for reverse engineering. This new mechanism exists within the 2.0 update, meaning some modules that are encrypted cannot be decrypted without 2.0 running the software. Ooops. The modules that the updater program uses are...
by Krevnik
Sat Jul 30, 2005 7:31 am
Forum: PSP Development
Topic: Firmware 2.0 - new modules
Replies: 25
Views: 16680

I just realized something... Sony is definitely tightening up the PSP a bit from what I am seeing so far, and has created another catch-22 in the process for homebrewers: 2.0 uses an updated encryption mechanism to break the methods currently in use for reverse engineering. This new mechanism exists...
by Krevnik
Sat Jul 30, 2005 4:41 am
Forum: PSP Development
Topic: Firmware 2.0 - new modules
Replies: 25
Views: 16680

Surely the only way to prevent both would be to change the layout of the UMD - the file system itself - in addition to toughening up the validation of encrypted executables. Perhaps the goal is to make all future games incompatible on every level with 1.0/1.5 firmware PSPs. Well UMDs use iso9660 an...
by Krevnik
Fri Jul 29, 2005 11:23 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Maybe it's just the way i think *shrugs* i mean if they made 2 firmware upgrades from version 1.51 then that must mean that there are 2 or more holes in 1.51, but on the other hand i do understand your reasoning. Yeah, 1.51 will get cracked eventually, but hey... I want to contribute something, and...
by Krevnik
Fri Jul 29, 2005 10:33 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

I have one Question WHY WOULD ANYONE UPGRADE TO THIS FIRMWARE! we now have nifty programs that well get around the must update thing and the web browser could even be developed for 1.0/1.5 as we've seen it's built off Mozillia why not develop an Open Source Browser for the PSP useing a newer much b...
by Krevnik
Fri Jul 29, 2005 10:24 am
Forum: PSP Development
Topic: Firmware 2.0 - new modules
Replies: 25
Views: 16680

I think Digital Foundary might be onto something, but a difference of *8 times* is far too big for just that. I guess we will find out if someone gets a little curious and takes a peek. (As I am still completely stuck out of the homebrew scene to try it myself, for a couple reasons now) The sort of ...
by Krevnik
Fri Jul 29, 2005 4:27 am
Forum: PSP Development
Topic: Firmware 2.0 - new modules
Replies: 25
Views: 16680

The huge difference in loadexec must mean something, and I am not talking exploit trash either. Is this responsible for understanding how files are accessed beyond just PSP executable files (multimedia files keyed here to find out how to handle them, perhaps)? If it is strictly tied to executable fi...
by Krevnik
Fri Jul 29, 2005 3:44 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Anyone make an attempt to see how comprehensive the CSS support really is? Maybe run it through the Acid or Acid 2 test?
by Krevnik
Fri Jul 29, 2005 2:49 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Propogating modules (especially unencrypted) from the Firmware is just as bad as ripping it from a game and then propogating it. It is still Sony's IP in either respect, and they have a say in how it is used. They haven't given anyone who hasn't bought the SDK any rights to redistribute modules with...
by Krevnik
Thu Jul 28, 2005 11:31 pm
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Danger, Inc., the people behind the Sidekick, do this - and quite successfully, I might add. <snip> You know, I was thinking about this, and Java would actually be the perfect solution. With Flash support (practically hinted at as a possible future feature?) being a somewhat-workable solution. Java...
by Krevnik
Thu Jul 28, 2005 8:58 am
Forum: PSP Development
Topic: 2.0 update works on US versions
Replies: 3
Views: 4842

While still personally interested in the direction homebrew could go on the PSP, and some of the technical aspects... I missed the boat and hit 1.51 on my PSP literally 3-4 days before 1.5 was hacked. :P Plus the 2.0 wallpaper feature is pretty wicked. It will scale and crop images for you based on ...
by Krevnik
Sat Jul 23, 2005 9:33 am
Forum: PSP Development
Topic: 2.0 should be the next target
Replies: 12
Views: 7017

2.0 should be the next target

Seriously, forget attempting to hack 1.51 or 1.52 for the time being. Think about 2.0. Why? The web browser. This gives us another vector of attack on the PSP, and if there are flaws in the browser's buffering system, we can use a good old buffer overflow exploit. Now, this assumes that there is a f...
by Krevnik
Sat Jul 23, 2005 2:43 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

not clear on what this translated text means...but sounds good to me.: the same as the UMD disk H.264/MPEG-4 AVC is adopted. Attendant upon this, you say from firmware version 2 that it is designed in such a way that it can play back the file of H.264 type inside the memory stick. We were discussin...
by Krevnik
Fri Jul 22, 2005 8:11 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Well, H.264 is VERY new... so companies like Sony and Apple are going to be the first with implementations (Sony's is a hardware decoder, so they have it easy). x264 is an opensource implementation which you can bet will wind up in in ffmpegX soon enough. Encode speeds will suck for awhile... but be...
by Krevnik
Fri Jul 22, 2005 7:28 am
Forum: PSP Development
Topic: Sony 2.0 firmware update
Replies: 64
Views: 26454

Re: Sony 2.0 firmware update

[*]MP4 AVC support was added (Memory Stick Duo) Does this imply fullscreen movies from memory stick? That would be the only thing that could tempt me into upgrading / buying a 'spare' psp. Well, that is unknown... but we will know on the 27th. I am already stuck at 1.51, so I am likely to upgrade f...
by Krevnik
Tue Jul 19, 2005 4:46 am
Forum: PSP Development
Topic: PSPSOne or PSPcsx?
Replies: 117
Views: 278730

Krevnik, it's not that simple. Problem is that PSX has a lot of memory mapped I/O, so yes, every single read/write will have to be checked if it is to one of these regions. I just didn't mention MMIO being an issue directly, although I probably should have, to stop this comment in particular. What ...
by Krevnik
Sat Jul 16, 2005 3:33 am
Forum: PSP Development
Topic: Video Out?
Replies: 12
Views: 7806

Care to link that? The big problem with your statement that UMDs are the same res as DVD is that the media engine would choke on such content without a dedicated decoder chip.H264 content in software on a 1.2Ghz processor plays 480p just fine, but the PSP's ME is at 222Mhz... HUGE difference, and la...
by Krevnik
Sat Jul 16, 2005 3:22 am
Forum: General Discussion
Topic: Digital TV with DVB-T stick?
Replies: 12
Views: 8692

There seems to be confusion about the US schedule for moving to DTV. By the end of this year, all TVs are required to include a digital tuner. That is all. There is no requirement of broadcasters to /provide/ DTV on that date yet (although it is happening on non-broadcast delivery systems quite nice...
by Krevnik
Sat Jul 16, 2005 3:03 am
Forum: PSP Development
Topic: PSPSOne or PSPcsx?
Replies: 117
Views: 278730

Yeah, PS1 emulation on a PSP isn't trivial... although you do have the advantage that you aren't in a huge world of hurt as having to write a freaky huge recompiler for EVERYTHING. RAM access should be re-routed to a pre-allocated block of memory, as the PS1 was running with about 4-8MB of RAM (I ca...
by Krevnik
Wed Jul 06, 2005 5:13 am
Forum: PSP Development
Topic: PSP Encryption Key
Replies: 34
Views: 21125

RSA is pretty strong, and the key sizes used are pretty ugly (2048-bit used to be considered military grade back in the mid-90s, and RSA hasn't gotten too much weaker in the long-term). However, many key generators have weaknesses, and pose to be a problem at times. While this isn't common anymore, ...
by Krevnik
Wed Jul 06, 2005 4:55 am
Forum: PSP Development
Topic: horribly random exploit idea
Replies: 2
Views: 2616

This might be interesting to look into. My guess is that you will just get an error when trying to run anything though, which isn't very helpful.
by Krevnik
Wed Jul 06, 2005 4:38 am
Forum: PSP Development
Topic: Petition Online Playstation Portable Homebrew
Replies: 16
Views: 8857

I would love to see a sort of limited SDK from Sony... but it is entirely up to them, and it will likely be 2 years down the road when Sony is well entrenched in the market if they do it. I look at it this way: If Sony retains the right to sign the code, then they can still shut out the loaders and ...