TeamFAPS / PSVita-StorageMgr

kernel plugin that automatically mounts/redirects any storage device on any mount points you want
GNU General Public License v3.0
387 stars 40 forks source link

Not working on 3.65 ? #4

Closed erfg12 closed 6 years ago

erfg12 commented 6 years ago

Just updated to 3.65 Henkaku.

I deleted the ux0:tai/config.txt file, edit the ur0:tai/config.txt added below Kernel to use ur0:tai/storagemgr.skprx restarted device and my PSVSD is not recognized. I'm using the default storage_config.txt

# For users plugins, you must refresh taiHEN from HENkaku Settings for
# changes to take place.
# For kernel plugins, you must reboot for changes to take place.
*KERNEL
ur0:tai/storagemgr.skprx
# henkaku.skprx is hard-coded to load and is not listed here
*main
# main is a special titleid for SceShell
PayneWhackHim commented 6 years ago

I'm basically in the same situation. Wanted to try this out after running gamesd; and thought it would be the perfect time to update after I finish the 3.65 process.

I'm using a phat Vita with SD2Vita; my config.txt is identical; my storage_config.txt looks like this

MCD=uma0 INT=imc0 UMA=grw0 GCD=ux0

GunshipMarkII commented 6 years ago

I might be wrong about this, but I believe 3.65 version wasn't built&uploaded yet, hence why it isn't working ( for me too )

erfg12 commented 6 years ago

@GunshipMarkII you might be right. Looks like just his initial release is there, not the 3.65 one.

Anyone wanna compile it?

PayneWhackHim commented 6 years ago

Oh, well that's embarassing

eiiiiix commented 6 years ago

i would be careful with this on 3.65 im still on 3.60 but when i misstype something on accident it will fail to boot and make it look like a softbirck if you mess up with it boot with L held so you can change it to work again

AyanamiRei1 commented 6 years ago

So anyone going to compile this?

erfg12 commented 6 years ago

Just compiled it, still didn't work.

https://drive.google.com/open?id=13BxOd4MWzUGAz2Mmto9S9If-9hTd945T

andoryuu3 commented 6 years ago

To everyone above (except erfg12 and halferuga): make sure your Storagemgr config file is named "storage_config.txt" and not "storagemgr_config.txt". CelesteBlue had mistakenly called it "storagemgr_config.txt" in the readme and has since corrected it. However until the next release, the readme on release v1.0 still has the mistake.

To erfg12: thanks for compiling and testing it! Out of curiosity, what does the Storagemgr log file say? If I remember correctly, it should just be a text file in ur0:tai/

erfg12 commented 6 years ago

@andoryuu3 No logs at all. That's why I tweeted to TheFlow0 (which we all know doesn't answer tweets often) as I was concerned skprx files weren't being executed at all.

He wrote on his GitHub, "custom modules will be written to vs0:tai". That folder is read only, so I don't know if I'm just reading that wrong as I noticed config.txt is only present in ux0:tai and ur0:tai. Which of course I made sure to deleted the ux0:tai/config.txt

Just for the heck of it, I tweeted at yifanlu to see if he would update his USBMC driver, but no response either.

andoryuu3 commented 6 years ago

Strange, but that certainly is an indicator that it's not running.

On my 3.60 PSTV it generated the log file before I corrected "storagemgr_config.txt" to "storage_config.txt" (which is how I realized my config file wasn't being read: there was a note saying no config file found)

ccfman2004 commented 6 years ago

The config.txt needs to be in ur:tai for the custom plugins to work. The plugins do need to be in vs0:tai. I used VitaRW to mount them as writable. I still couldn't get the supposed 3.65 version of storagemgr to work but now nonpdrm does work with it installed to vs0:tai.

ItaloKnox commented 6 years ago

I don't think the plugins need to be in vs0:. TheOfficialFloW actually advises against doing it in the update365 repo:

I'd rather not install applications that modify read-only partitions like os0: or vs0:

With that in mind, Enso 3.65 has no problems in executing kernel plugins from ur0:. I have a few currently running perfectly from there just like they did in the previous firmware. I can't test the new plugin (and SD2Vita in its entirety) right now because I'm waiting for a new card to arrive today. Unless the repository code has not been tested yet (hence why there is no release yet), the compiled plugin might also be at fault.

ccfman2004 commented 6 years ago

You are correct that the plugins do indeed work from ur0: Not sure why they didn't work before. Right now there is no tai folder in ux0: which is what I want since I am waiting for my PSVSD to arrive.

Dimensional commented 6 years ago

Compiled the new version, still not working right. There isn't even a log file being generated.

andoryuu3 commented 6 years ago

FYI, CelesteBlue gave a small update on the status of 3.65 support. It may not be the most exciting news, but I think it's important to respect the decision and let nature take its course.

https://twitter.com/CelesteBlue123/status/973343316136939520

As for why the (incomplete) new version does not work, it is because boot_config.txt has been moved from ur0:tai/ to vs0:tai/

Basically unless you're willing to fork and fix the plugin yourself (and not just compile it as is), wait for the next release. CelesteBlue seems to be well aware of what needs to be done.

msmiech commented 6 years ago

https://github.com/yifanlu/usbmc/releases TheOfficialFlow has updated usbmc to work with 3.65 and 3.67. It would be interesting to see whether this makes it easier for StorageMgr to work with 3.65.

GabyPCgeeK commented 6 years ago

Copied and Pasted a few lines of code from usbmc to make it work on 3.65. Tested SD2Vita to imc0, psvsd to ux0, memory card to uma0.

https://github.com/GabyPCgeeK/PSVita-StorageMgr/releases/latest

erfg12 commented 6 years ago

@GabyPCgeeK Tested with PSVSD and it works!

CelesteBlue-dev commented 6 years ago

@GabyPCgeeK please ask a pull request

CelesteBlue-dev commented 6 years ago

@GabyPCgeeK I've merged, please git clone, build it, test it and if working upload the skprx and send the link so I will add it to releases. Thank you very much.

GabyPCgeeK commented 6 years ago

Built it, tested it. Updated my release with the file. https://github.com/GabyPCgeeK/PSVita-StorageMgr/releases/tag/v1.0.mod

CelesteBlue-dev commented 6 years ago

@erfg12 @halferuga @GunshipMarkII @eiiiiix @AyanamiRei1 @GabyPCgeeK Compiled skprx for 3.65 now available here: https://github.com/CelesteBlue-dev/PSVita-StorageMgr/releases/tag/v1.1

milkawax commented 6 years ago

Thats Great stuff, now im only missing a Feature to switch config during boot to start an alternate config and all should be fine.... ;)

IDBurner commented 6 years ago

@milkawax Feature to swap config on boot has been added to my fork

https://github.com/IDBurner/PSVita-StorageMgr/releases/tag/v1.2

Hoping to pull request it with this one, but that is up to @CelesteBlue-dev

CelesteBlue-dev commented 6 years ago

I close this issue because 3.65 support was added.