hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.17k stars 2.17k forks source link

FireTV 3rd Gen 4K - Storage Permissions Denied #10807

Closed ppsspp213 closed 6 years ago

ppsspp213 commented 6 years ago

Read / Write storage permissions denied on Amazon FireTV 3rd Gen I've tried changing the permission but it just makes a blocked bleeping sound. I don't know how it works but https://www.amazon.co.uk/AFTVnews-com-Downloader/dp/B01N0BP507 has access to dl files and delete them also, maybe cause it's signed with a key authorised by Amazon??? I believe the Amazon Fire OS installed is based off Android 7.1

unknownbrackets commented 6 years ago

Does this happen both in v1.5.4 and in the latest git build?

-[Unknown]

ppsspp213 commented 6 years ago

I could only test v1.5.4, the dev build links won't dl, the aftnews downloader app doesn't seem to be able decipher them are they mirrored anywhere else for dl??? On 28 Mar 2018 3:52 a.m., "Unknown W. Brackets" notifications@github.com wrote:

Does this happen both in v1.5.4 and in the latest git build?

-[Unknown]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10807#issuecomment-376743529, or mute the thread https://github.com/notifications/unsubscribe-auth/AF53ZIDZtJ2b8JvhCr7YnC6CSmgUeM5lks5tivrzgaJpZM4S7WrC .

ppsspp213 commented 6 years ago

https://developer.amazon.com/blogs/appstore/post/2ef7b757-557e-4464-b4e8-a6cf67ccb598/managing-app-permissions-with-fire-tv-gen-3

of any use? On 28 Mar 2018 9:08 a.m., m.bloom464@gmail.com wrote:

I could only test v1.5.4, the dev build links won't dl, the aftnews downloader app doesn't seem to be able decipher them are they mirrored anywhere else for dl??? On 28 Mar 2018 3:52 a.m., "Unknown W. Brackets" notifications@github.com wrote:

Does this happen both in v1.5.4 and in the latest git build?

-[Unknown]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10807#issuecomment-376743529, or mute the thread https://github.com/notifications/unsubscribe-auth/AF53ZIDZtJ2b8JvhCr7YnC6CSmgUeM5lks5tivrzgaJpZM4S7WrC .

ppsspp213 commented 6 years ago

Ok I just downloaded v1.5.4-795 using

http://build.ppsspp.org/builds/Android/ppssppbuildbot-org.ppsspp.ppsspp-dev-latest-android.apk

It popped up with a message asking me to grant access for photo storage which I did, all seems ok.

I don't yet have a bluetooth controller to test it further with though atm it's just recognises the d-pad circle as input, the middle confirmation button doesn't work so I can't enter settings to re-map the over four usasable buttons options, play/pause, rewind, fastforward buttons of the FireTV remote, the back and Home buttons can't be used since there used to just exit the app. On 28 Mar 2018 9:13 a.m., m.bloom464@gmail.com wrote:

https://developer.amazon.com/blogs/appstore/post/2ef7b757- 557e-4464-b4e8-a6cf67ccb598/managing-app-permissions-with-fire-tv-gen-3

of any use? On 28 Mar 2018 9:08 a.m., m.bloom464@gmail.com wrote:

I could only test v1.5.4, the dev build links won't dl, the aftnews downloader app doesn't seem to be able decipher them are they mirrored anywhere else for dl??? On 28 Mar 2018 3:52 a.m., "Unknown W. Brackets" notifications@github.com wrote:

Does this happen both in v1.5.4 and in the latest git build?

-[Unknown]

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10807#issuecomment-376743529, or mute the thread https://github.com/notifications/unsubscribe-auth/AF53ZIDZtJ2b8JvhCr7YnC6CSmgUeM5lks5tivrzgaJpZM4S7WrC .

unknownbrackets commented 6 years ago

Sounds like asking immediately in #10781 helped this, then - FYI @hrydgard.

I'm not sure about the button mapping, but that probably belongs in a separate issue. We should ideally recognize the confirmation button by default - although it sounds like this will never be able to provide a full controller experience.

I'm going to close this given that the storage permission is working now, but if I've misunderstood feel free to comment and we'll reopen.

-[Unknown]

doodie commented 5 years ago

@ppsspp213 i have an app that i installed on a gen3 4k firestick and not able to change the permissions for the app on storage. did you ever figure that out? does it make a difference on how you install the apk? i installed through ES file explorer

ppsspp213 commented 5 years ago

Slight update to this, I got my DS4 working by USB with an OTG adapter. It’ll work to power the Amazon device and controller fine but if you plug another adapter into in dual I don’t think it supplies enough power for USB sticks that contain led lights, without the controller plugged in, ES File Explorer was able to see it’s contents, I need to try it with a USB stick without leds drawing more power.

On Thu, 14 Mar 2019 at 6:14 am, doodie notifications@github.com wrote:

@ppsspp213 https://github.com/ppsspp213 i have an app that i installed on a gen3 4k firestick and not able to change the permissions for the app on storage. did you ever figure that out? does it make a difference on how you install the apk? i installed through ES file explorer

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10807#issuecomment-472718017, or mute the thread https://github.com/notifications/unsubscribe-auth/AF53ZGlFXFFLAazR5AHwfhKD-PUY4DmTks5vWejIgaJpZM4S7WrC .

ppsspp213 commented 5 years ago

As to your question, I think the app specifically needs the request permission from the app it’s self, changing the permissions in settings of Amazon device is locked out. I don’t think anyone has managed to Root it yet or the 2018 Fire Tablets ☹️

On Thu, 14 Mar 2019 at 12:47 pm, I E m.bloom464@gmail.com wrote:

Slight update to this, I got my DS4 working by USB with an OTG adapter. It’ll work to power the Amazon device and controller fine but if you plug another adapter into in dual I don’t think it supplies enough power for USB sticks that contain led lights, without the controller plugged in, ES File Explorer was able to see it’s contents, I need to try it with a USB stick without leds drawing more power.

On Thu, 14 Mar 2019 at 6:14 am, doodie notifications@github.com wrote:

@ppsspp213 https://github.com/ppsspp213 i have an app that i installed on a gen3 4k firestick and not able to change the permissions for the app on storage. did you ever figure that out? does it make a difference on how you install the apk? i installed through ES file explorer

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/10807#issuecomment-472718017, or mute the thread https://github.com/notifications/unsubscribe-auth/AF53ZGlFXFFLAazR5AHwfhKD-PUY4DmTks5vWejIgaJpZM4S7WrC .

doodie commented 5 years ago

thanks for the reply. waiting for Root...

ppsspp213 commented 5 years ago

thanks for the reply. waiting for Root...

You can decompile & recompile .APKs with various tools at the xdadevelopers forum, the format isn't too compilated it's more or less just a renamed .zip file. They'll be more versed in which source files you'd need to edit to add the permission request though, iirc the needed permissions set are listed in part of the manifest file.
These are the otg adaptor type you need, so you gain extra ports to split out the usb power input https://www.amazon.co.uk/gp/product/B078J57HZ3/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 Like I said it doesn't really supply enough power to use more than device at once, which is probably why it isn't officially supported.

doodie commented 5 years ago

Thanks. So i spent more time yesterday and made some progress. The app does ask for permission to access storage, but the dialogue box is distorted and does not show properly on my tv. tried all options from my tv and firestick. I got it working previously on another firestick and dont recall having this much issue. will check out xdadevelopers forum for some decompile & recompile options. unzipped and poked around but had no clue. Was hoping to edit xml files but they were not readable.