Random Homebrew: Super-Flasher
Customize the gameboot on your PSP!
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

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.

HBL On 6.60?

Postby wololo » Wed Aug 10, 2011 3:03 pm

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.
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4641
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: HBL On 6.60?

Postby bingo88380 » Wed Aug 10, 2011 3:25 pm

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
bingo88380
 
Posts: 245
Joined: Tue Mar 08, 2011 7:44 am

Re: HBL On 6.60?

Postby wololo » Wed Aug 10, 2011 3:45 pm

Please dont post when you have no clue what you are talking about
I have a few US PSN codes to sell for a reasonable price (cheaper than pcgamesupply). PM me if interested, 1st come 1st serve basis..

Looking for guest bloggers and news hunters here at wololo.net, PM me!
wololo
Site Admin
 
Posts: 4641
Joined: Wed Oct 15, 2008 12:42 am
Location: Japan

Re: HBL On 6.60?

Postby JJS » Wed Aug 10, 2011 4:00 pm

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.
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: HBL On 6.60?

Postby ASKidwai » Wed Aug 10, 2011 5:22 pm

Could somebody tell me why we need HBL on 6.60?

It hasn't patched signing.
Image
Image
Image
Image
ASKidwai
 
Posts: 1411
Joined: Mon Jan 10, 2011 7:42 am
Location: 'Ere and There

Re: HBL On 6.60?

Postby ruyor » Wed Aug 10, 2011 5:42 pm

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 265 times
My PSP Specs
01g:TA-079v1 1.00 Bogus, 6.00 TT, or 6.60 ME-1.8/PRO-B10
01g:TA-086 6.60 ME-1.8/PRO-B10
02g:TA-085v1 6.60 LME-1.8
02g:TA-085v2 6.60 ME-1.8/PRO-B10
03g:TA-090v2 6.60 LME-1.8/PRO-B10
05g:TA-091 6.60 PRO-B10/LME-1.8
User avatar
ruyor
Moderator
 
Posts: 634
Joined: Wed Nov 03, 2010 2:29 am
Location: USA

Re: HBL On 6.60?

Postby TragicTheBlubbering » Wed Aug 10, 2011 5:44 pm

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.
Paridae or gtfo! 8-)
---------------
i was wondering if there anyway to mod the ps3 so i can play ps3 game ??

---------------
User avatar
TragicTheBlubbering
Moderator
 
Posts: 2127
Joined: Mon Sep 27, 2010 7:30 pm
Location: A galaxy far far away.

Re: HBL On 6.60?

Postby JJS » Wed Aug 10, 2011 8:39 pm

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 156 times
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Re: HBL On 6.60?

Postby m0skit0 » Thu Aug 11, 2011 1:16 pm

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"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: HBL On 6.60?

Postby JJS » Thu Aug 11, 2011 1:22 pm

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 1812 times
dbglogs.zip
(55.09 KiB) Downloaded 259 times
JJS
Big Beholder
 
Posts: 1516
Joined: Mon Sep 27, 2010 2:18 pm

Next

Return to Half Byte Loader Development

Who is online

Users browsing this forum: No registered users and 1 guest