Advertising (This ad goes away for registered users. You can Login or Register)

HBL On 6.60?

This is the development forum of the half-byte loader project. For general Half Byte Loader questions, visit the Half Byte Loader forum.
Forum rules
This forum is for HBL Development discussions ONLY. For User support or HBL general discussions, go to viewforum.php?f=3 . Messages that are not development related will be deleted.
wololo
Site Admin
Posts: 3621
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

HBL On 6.60?

Post by wololo »

It seems HBL Freezes on my PSP 1000 with 6.60, at the "freeing memory" step.
It's late and I haven't taken the time to investigate but I am assuming some of the nids changed (or some nids were added).

My memory on the subject is very fuzzy... I'll try to run a debug version later this week, but maybe it's time for us to give grandpa an update?

I tried with rev 113, which, as far as I know, was running fine on 6.39

Edit: renaming libs_63x into libs_66x to override libs_6xx didn't help, different type of crash at the same step...
more when I run a debug version.
Advertising
If you need US PSN Codes, this technique is what I recommend.

Looking for guest bloggers and news hunters here at wololo.net, PM me!
bingo88380
Posts: 177
Joined: Tue Mar 08, 2011 7:44 am

Re: HBL On 6.60?

Post by bingo88380 »

Yup! It should freeze! I think sony has patched all the bugs and expoilts. Hopefully some1 will find an expoilt. Neur0n already told that he will port me to 6.60
Advertising
wololo
Site Admin
Posts: 3621
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: HBL On 6.60?

Post by wololo »

Please dont post when you have no clue what you are talking about
If you need US PSN Codes, this technique is what I recommend.

Looking for guest bloggers and news hunters here at wololo.net, PM me!
JJS
Big Beholder
Posts: 1416
Joined: Mon Sep 27, 2010 2:18 pm
Contact:

Re: HBL On 6.60?

Post by JJS »

I will also take a look at it once my PSP has finished loading the battery :roll:. If there are new NIDs we have to wait for a new Psardumper release that supports 6.60 I guess. The one for 6.39 cannot decrypt the modules from the update.

Edit: Looks like the procfw guys already got the key. Man, those are coding machines.
Edit2: Maybe not, at least it doesn't decrypt anything for me. :?
Edit3: Nevermind. I fail at mercurial.
ASKidwai
Posts: 937
Joined: Mon Jan 10, 2011 7:42 am
Location: 'Ere and There
Contact:

Re: HBL On 6.60?

Post by ASKidwai »

Could somebody tell me why we need HBL on 6.60?

It hasn't patched signing.
Image
Image
Image
Image
ruyor
Retired Mod
Posts: 776
Joined: Wed Nov 03, 2010 2:29 am
Location: USA
Contact:

Re: HBL On 6.60?

Post by ruyor »

I tried HBL out last night, here's my dbglog from r115 debug if it helps ;)
Attachments
6.60_HBLr115_Debuglog.zip
(17.49 KiB) Downloaded 818 times
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
PCH-1001 - 3.60 - VHBL+PBubbles+HENkaku
VTE-1001 - 3.60 - VHBL+PBubbles+HENkaku
My PSPs
01g:TA-079v1
01g:TA-086
02g:TA-085v1
02g:TA-085v2
04g:TA-093
09g:TA-095
05g:TA-091
TragicTheBlubbering
Moderator
Posts: 1304
Joined: Mon Sep 27, 2010 7:30 pm
Location: The Sacred Realm

Re: HBL On 6.60?

Post by TragicTheBlubbering »

ASKidwai wrote:Could somebody tell me why we need HBL on 6.60?

It hasn't patched signing.
Remember not all homebrew can be signed. A lot of those that are unsignable, such as snes9xtyl, and PSP Filer can still be launched through hbl.
R.I.P Leonard Nimoy, the original Mr. Spock. He lived long and prospered. :cry:
---------------
[spoiler]Paridae or gtfo! 8-)
---------------
i was wondering if there anyway to mod the ps3 so i can play ps3 game ??
[/spoiler]
---------------
JJS
Big Beholder
Posts: 1416
Joined: Mon Sep 27, 2010 2:18 pm
Contact:

Re: HBL On 6.60?

Post by JJS »

What I can say up to now is that HBL crashes the PSP on calling sceKernelGetModuleIdByAddress(). Not sure why because that function works fine in a signed homebrew. If all fails we might just call sceKernelGetModuleId() in the launcher to get its id, store it somewhere in memory and then just unload that single module instead of searching through the whole user memory. It is not necessary anyway because the only module loaded is the launcher and we have full control over that.

There is also one new NID in SysmemUserForUser, see the attachment.


Edit: Ok, if sceKernelGetModuleIdByAddress() is added to the launcher imports all works fine. So this is some kind of syscall estimation problem. Very puzzling. If you guys want I can check in a version that starts on 6.60. Cannot really be bothered to test it all that much, but it seems to run Snes9xTYL and Basilisk just fine.
Attachments
sysmemuserforuser.zip
(246 Bytes) Downloaded 667 times
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: HBL On 6.60?

Post by m0skit0 »

JJS wrote:So this is some kind of syscall estimation problem. Very puzzling.
Well, syscall estimation will obviously fail if there are new NIDs on the library. We would need to add those on the corresponding library .nids file to estimate the syscalls correctly.

I guess this should be moved to HBL Development forum to avoid useless comments.

EDIT: ok I see your attachment now JJS :roll: So even with that NID added syscall estimation still fails? Did you add it in order? Sorry I can't check this because I'm on my father's computer this days.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
JJS
Big Beholder
Posts: 1416
Joined: Mon Sep 27, 2010 2:18 pm
Contact:

Re: HBL On 6.60?

Post by JJS »

Of course I added the NID at the right place ;) Doesn't matter though because sceKernelGetModuleIdByAddress() is from modmanforuser, which has not changed. The estimation worked perfectly on 6.39. I have a suspicion that there is a change in the syscall code so that only actually imported syscalls can be used. But I have to verify that with more tests before being certain.

Edit: I tried running PSPdisp now, for which the sceAudioSRC* functions have to be estimated. Guess what? It crashes on initializing the audio. The debug logs of both tries are attached, each time the NID was correctly estimated (you can calculate it by hand and compare). Still the PSP freezes on calling that function. If you recall, before a wrongly estimated NID would most of the time only lead to some malfunction and not an immediate crash. I bet this "crash" is a deliberate breakpoint.

Edit again: Here, have the modified version of R116 that starts on 6.60. Includes a patch and a debug build.
Attachments
hbl_r116_for_6.60_debug.zip
(974.66 KiB) Downloaded 2658 times
dbglogs.zip
(55.09 KiB) Downloaded 785 times
Locked

Return to “Half Byte Loader Development”