xerpi / vita-udcd-uvc

PSVita UDCD USB Video Class plugin
468 stars 23 forks source link

Crashing after warning screen #19

Open Deon-Lac opened 5 years ago

Deon-Lac commented 5 years ago

Once warning screen pops up, the blue light blinks then shuts down. I've tried putting the skprx both in the beginning and end of the kernel, and boots up when it's at the end, but doesn't work. Any help would be wonderful. Thank you!

xerpi commented 5 years ago

Without my plugin, how many seconds does it take for the LiveArea (main Vita menu) to show up after you press the power button? Usually it takes 10 to me.

Do you use storagemgr or similar?

It seems like my plugin doesn't work well with Vitas that take more than 20 seconds, might be related to sd2vita or storagemgr.

Can you try changing this delay here from 5 seconds to maybe 20s (and then recompile)? https://github.com/xerpi/vita-udcd-uvc/blob/master/main.c#L749

VRtinker commented 5 years ago

Hi @xerpi !

I'm having the same issue as the OP but it's got a bit more complicated for me. I've been testing this plugin since it's very first version in hope it would work on Android, so that I could pipe the Vita screen on GearVR, but since I never managed to find a single apk capable of showing any feed, I gave up. Then today (unfortunately) I saw in #14 that one user developed a simple apk specifically to use this plugin on Android, so I installed it on my phone and reinstated the plugin in my config.txt with sits in UR0 (i've had it excluded using # since my last test, but it was working "fine" then -not with Android- and it was the latest 1.2 version). I should mention I'm on a PSV1000+SD2VITA+8GB Sony MC, FW3.60 Enso, spoofed to 3.70.

As soon as I rebooted, I started experiencing the issue. The problem is that if I reboot holding L, while I regain access to a vanilla system, I can't temporarily reinstall henkaku to regain access to homebrew and therefore modify my config.txt to remove udcd_uvc.skprx because the system appears to maintain the spoof active (it shows 3.70 in System Information) even though the "henkaku setting" menu is no where to be found in the settings. I absolutely do not understand why on earth the spoofing will keep active even when the system is rebooted while holding L, so ignoring the config file. I mean, if it won't let me reinstall henkaku because of the spoofing that I can't remove, what good does the "holding L" during reboot do? It seems to me the only option I have to regain proper access to the system is wiping it clean (which sucks for the saves, and maybe the activation, if I can't restore that or something).

Despite the fact that I got the issue immediately after rebooting with udcd_uvc.skprx active, I still didn't want to believe your plugin was the cause, but I did try to reboot my vita while plugged into my PC with the Camera app open, and I do see it streaming the Logo and the Warning, until the screen goes black on the vita and the PS button blinks, and Windows complains about the device being disconnected (exactly as described in #16). So, no doubt, udcd_uvc.skprx is the culprit (totally buffled as to why reactivating it today caused all this, while it had worked properly anytime I have used it in the past months).

I read tales about going to henkaku.xyz/go to force the installation when the regular website refuses to install because version spoofing is enabled, but it doesn't work either.

I guess my only question here is why do you suggest to use to "press L at boot" if there's nothing to be done once you do reboot in a plugin-free environment (assuming you had spoof enabled)?

I will hold off as much as I can before I'll be forced to venture in a Reset, hopefully you can come up with a pointer at least, about where to go from here.

Thanks!

EDIT: just a quick update. I solved my conundrum of being stuck in an infinite loop (of disappointment) by using my PSTV (luckily I have one of those too). After a mesmerizing dance of my MC between the PSVITA and the PSTV I was able to restore a backup of Vitashell and create a config.txt inside the MC, then rebooted the PSVITA with that, fired up Vitashell and removed the offending entry for the plugin in the config.txt on UR0.

Still totally baffled as to what is the purpose of restarting while skipping the plugins, if you literally can't do anything in that state. At one point during the dance, the "Henkaku Settings" menu reappeared, so I was able to remove the spoofing, but even after that I couldn't reinstall henkaku to get at least Molecularshell and perform the correction (possibly because my System Information was still showing Henkaku R11, even with spoofing off - because of Enso I suspect).

Anyway, I guess I will just stay away from this plugin for the time being.

Regardless, aside from my disastrous series of hiccups, I remain an admirer of your work!

Keep it up!

Cheers,

xerpi commented 5 years ago

Hi, I suggested pressing L before the 3.70 hack was released, where people at FWs lower than that had Enso installed, so you basically could skip plugin loading by pressing L, then open VitaShell and edit the plugin config file.

quoije commented 4 years ago

If someone still has this problem, I fixed it by adding the plugin in the last line of the kernel section in the config.txt

https://www.reddit.com/r/vitahacks/comments/95256o/poc_v6_psvita_usb_streaming_uvc_usb_video_class/e3xcpmk/

starmo81 commented 4 years ago

I have the same issue but when I disable plugins at boot I'm not able to start VitaShell and edit config.txt as quoije mentioned above. Any suggestions?

imedox commented 4 years ago

I have the same issue on my PSvita 1000 ans 2000 the both have Crash after warning screen

xerpi commented 4 years ago

Can you try putting the plugin in the latest line of the *KERNEL section?

imedox commented 4 years ago

already do that, bet bot working for me ;-(

dkrmdi commented 4 years ago

Weird why this is also happening to me.

Your plugin worked perfectly fine. I am on 3.60 enso, FAT vita. I was using oled screen off version 1.4.

I temporarily disabled it by putting break point #. I did that to transfer files from PC.

Then I enabled again. Now my vita is getting turned off at warning screen.

If I disable udcd_uvc, then the vita boots without problem.

I wonder what's causing this. This thing is so random. Before, my vita was get turned off when I diabled or got rid of vflux plugin. So I was forced to keep it in the config text. Now I'm forced to disable udcd uvc. Hmm. I wonder what's the parameter.

dkrmdi commented 4 years ago

What the... I put it at the last line of KERNEL, and now it's working again.

dkrmdi commented 4 years ago

Another update. It won't work again, although it's at the last line.

xerpi commented 4 years ago

Check https://github.com/xerpi/vita-udcd-uvc/issues/34#issuecomment-583938153

dkrmdi commented 4 years ago

Check #34 (comment)

It works for me. Thank you. I tested it for 30 min, and I did not find any other issues.

I could play Project Diva series without a problem. It's amazing that there is no delay at all.