PS3 [RESEARCH] Downloading all unknown file types to HDD and Flash

Discussion in 'Homebrew Development' started by DeViL303, Apr 7, 2019.

  1. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Ok, I have made some nice progress on this over last couple of hours. I decided to make a new thread, as that old one cover tonnes of methods, most of them not working. This is working, Ive actually got 2 new methods, but there is a few issues, hopefully we can solve them.

    So first of all, I found this list of filetypes in download_plugin.sprx.

    So that was start of this new path, first of all i was like hold on, we can play PAMs from the XMB can we? So i tried downloading a PAM, and guess what, I could download, it, and i could download it in the background, but XMB would not play it. Anyway, then i knew that this was a whitelist for files allowed to be downloaded to HDD. Success!

    So then i noticed further up there was a few other filetypes mentioned, including "pkg"

    So i edited that a bit, editing 2 references to "p3t" to "pkg"

    So that is first method, working 100%, we can download pkgs, from the browser, onto dev_hdd0/theme/ BUT no background download with this method. See video below for how it works. Man if themes had background download we would be sorted.

    EDIT: now have them downloading to dev_hdd0/packages/ :)




    upload_2019-4-7_8-7-26.png

    I have attached the download plugin that allows this, see what you think, there are more hacks to be done here, I am guessing we can get file copy working in the same way too. :)

    Anyway, i have another method, which i will put in next post.
     

    Attached Files:

    Last edited: Apr 7, 2019
  2. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    So this next method involves changing PAM to PKG, and removing "pkg" from other places. As we cant play PAM videos anyway, this is a good one to sacrifice , as we lose nothing basically.

    But it has an issue too, the download gets to 99% and then flicks from downloading to pending, BUT, I can install the pkg, it is actually perfectly downloaded, the ps3 just doesn't know what to do with it i think. It it probably looking for metadata or something, and cant find it.

    Anyway, this is how this method looks now.

    So, the downside to this method is , it downloads into dev_hdd0/vsh/task/0000000x/

    And that number keeps climbing. we need a way to reset that, so it always downloads to 00000001, that way we can add the path to package manager.

    In the video, i set up package manager, to look into 00000008, as i knew that would be next task. but its not perfect.

    Have a look yourself, file attached.

    I think these patches would be possible on OFW with a web xploit, but i dont know. Can we patch download_plugin.sprx in RAM on HAN @habib?

     

    Attached Files:

  3. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Last edited: Apr 7, 2019
    jacobsson, n00b, citra mulia and 5 others like this.
  4. 455
    700
    147
    lmn7

    lmn7 Developer

    Joined:
    Oct 31, 2017
    Messages:
    455
    Likes Received:
    700
    Trophy Points:
    147
    Nice one, btw I forgot to mention if we can get the pdb method working properly, we can download to any directory on OFW.
     
    esc0rtd3w, T.A.U, Niander466 and 2 others like this.
  5. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Cool.

    I now have it downloading packages to dev_hdd0/packages/ working perfectly, no background download.

    I think best idea might be, make new folder called DOWNLOADS on dev_hdd0, and then have package manager and backup managers look there for PKG and ISO files.
     
    n00b, esc0rtd3w, T.A.U and 4 others like this.
  6. 455
    700
    147
    lmn7

    lmn7 Developer

    Joined:
    Oct 31, 2017
    Messages:
    455
    Likes Received:
    700
    Trophy Points:
    147
    You could also use symbolic link.
     
  7. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    If an exploit can be used for this patch to download_plugin.sprx, then there could just be list of exploits maybe on XMB in HAN Toolbox. I could do this on CFW with download_plugin.sprx swaps. or there are probably better ways on CFW.


    So you have file type patches, and path patches, So you just pick from list, for example
    • allow pkgs to dev_hdd0/packages/
    • allow ISO to dev_hdd0/PS3ISO/
    • allow p3t to dev_hdd0/theme/
    • allow sprx to dev_hdd0/plugin/
    • etc
    • etc
    Then you could have another exploit, manual, that allows you to type in filetype, and path?
     
    jacobsson, n00b, esc0rtd3w and 2 others like this.
  8. 455
    700
    147
    lmn7

    lmn7 Developer

    Joined:
    Oct 31, 2017
    Messages:
    455
    Likes Received:
    700
    Trophy Points:
    147
    Maybe an exploit isn't necessary, I recall reading a post from @NewFile where he was able to override the mime types within the browser. I'm not sure if anything came of it.
     
    T.A.U and DeViL303 like this.
  9. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Maybe, but that wont allow custom paths. well i suppose maybe it would with symlink exploit, i dont know much about those.

    I am working on getting another filetype other than p3t to work to dev_hdd, as its a shame to remove a feature like p3t downloading if we can help it, although, its easy download a theme to usb and install it from there too.
     
    Algol, n00b, T.A.U and 1 other person like this.
  10. 455
    700
    147
    lmn7

    lmn7 Developer

    Joined:
    Oct 31, 2017
    Messages:
    455
    Likes Received:
    700
    Trophy Points:
    147
    I did have an idea but never got the chance to test it, pause a background download and ftp into vsh/task to grab the pdb files. Open both in a hex editor and change the file name like "../" to traverse up the directory tree, this should allow you to save the download anywhere. Then transfer the files back and change the permissions so the PS3 can't delete it. Now every time you start a download those files will be used.
     
    Algol, aldostools and T.A.U like this.
  11. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    one issue with that, is the tasks all get unique folder, and dont know how to reset it yet.

    slightly interesting , EBOOT.PBP gets nice icon like theme, it is recognizing the filetype, only allows USB though.

    EDIT: actually, , looks like all files get that icon..my mistake..

    upload_2019-4-7_15-40-50.png

    I think these are the variables that make up the bubble data, a patch here could do a lot maybe

    Code:
    %s::%d delete!! task_id:0x%08x start ...%s::%d delete!! task_id:0x%08x end ret:0x%08x n.%s::%d Sync:%d!! start..%s::%d Sync:%d!! end
    upload_2019-4-7_16-56-28.png
     
    Last edited: Apr 7, 2019
    n00b, citra mulia, esc0rtd3w and 4 others like this.
  12. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    I have realized something, Haxxens orignal download list xml, was actually working all along.

    @lmn7 try this on OFW. I think it will work fine. You have to background download, or it wont work :)

    Put that in dev_flash.vsh/resource/explore/xmb/.

    The downloads will get to 99%, but its really 100%.
     

    Attached Files:

    n00b, lmn7, esc0rtd3w and 1 other person like this.
  13. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Ok, Ive leveled up!

    Success. :

    Been wanting to be able to do this for years. I can now FULLY fool the ps3 into downloading any file type i want as a video/image/music, background downloading working, completing to 100% etc. also works without background downloading FULLY.


    @sandungas @lmn7

    upload_2019-4-8_1-41-56.png

    upload_2019-4-8_1-39-21.png
     
    jacobsson, Algol, MixeryMaxe and 9 others like this.
  14. 661
    347
    122
    Louay

    Louay Member

    Joined:
    Jan 23, 2017
    Messages:
    661
    Likes Received:
    347
    Trophy Points:
    122
    Gender:
    Male
    Occupation:
    College student
    Location:
    Tunisie
    Home Page:
    can we make the pkg download of pkg linker in background ?
     
  15. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    There is one small piece of the puzzle missing, changing the path. At the moment files are downloading into dev_hdd0/video/xx , So its hard to get the pkg then on OFW.

    upload_2019-4-8_1-54-11.png



    I will solve it though. working on it now.
     
    jacobsson, Algol, n00b and 4 others like this.
  16. 661
    347
    122
    Louay

    Louay Member

    Joined:
    Jan 23, 2017
    Messages:
    661
    Likes Received:
    347
    Trophy Points:
    122
    Gender:
    Male
    Occupation:
    College student
    Location:
    Tunisie
    Home Page:
    Hope the puzzle will be completed haha :love heart:
     
    Niander466 likes this.
  17. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    Oh i think it will somehow.

    @lmn7

    I have also got it copying pkgs from the XMB , Yes , you heard that right. I can copy pkgs from USB to HDD, or from HDD to USB. :)
     
    jacobsson, Algol, n00b and 6 others like this.
  18. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:


    Check out copying packages fromn xmb.

    Note: background downloading is working, but not from nopsn.com as size is not shown by that site, but if i download from my own server, its working fully.

    @esc0rtd3w this might be a good reason to get the size showing if you can, if its something simple, when Ive finished this mod, we will be able to que up lists of packages , and download then to dev_hdd0/packages hopefully, well that is the plan.

    I am also working on ISO downloading to PS3ISO for things like the coldboot collections :)
     
    jacobsson, Algol, n00b and 4 others like this.
  19. 4,022
    3,598
    372
    sandungas

    sandungas Moderator Developer

    Joined:
    Dec 31, 2014
    Messages:
    4,022
    Likes Received:
    3,598
    Trophy Points:
    372
    Location:
    Babylon 20xxE series
  20. 5,571
    5,917
    622
    DeViL303

    DeViL303 Developer PSX-Place Supporter

    Joined:
    Jan 23, 2016
    Messages:
    5,571
    Likes Received:
    5,917
    Trophy Points:
    622
    Gender:
    Male
    Location:
    Ireland
    Home Page:
    jacobsson, n00b and Niander466 like this.

Share This Page