Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Camera2 API - How to Manually Enable Support with Root Access в хорошем качестве

Camera2 API - How to Manually Enable Support with Root Access 2 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Camera2 API - How to Manually Enable Support with Root Access

If you have noticed that the Camera2 API is not available on your device then I can show you how to force it to be enabled. ~~~~~ Hi! Don't forget to like the video, subscribe to the channel, and hit the "Thanks" button on this video, if you can, and join our channel community here -    / @explainingandroid   Video Description ~~~~~~~~~~~~~~~~~ The Camera2 API was released back with Android 5.0 Lollipop and since then it has provided a way for the software to leverage specific camera hardware features. There are actually 5 different levels when it comes to supporting the Camera2 API and includes. . . Legacy - Legacy support means that the device doesn't actually support Camera2 API features like per-frame controls and is more in line with what we're used to with the original Camera API. Limited - If your device has Limited Camera2 API support then that means it will only support a small amount of features instead of all of them that Google has made available. The supported features will differ from device to device. Full - Devices with Full Camera2 API support will be able to use all of the major features that Google has made available since the OEM is using Camera HAL 3.2 or higher, and has launched with Android 5.0 or later. Level 3 - My device lists Level 3 support out of the box which means that it allows for YUV reprocessing and RAW image capture support. This also allows for additional stream configurations on top of the full Camera2 API support. External - Lastly, we have devices with only limited support for the Camera2 API. This is similar to what we talked about with Limited API support, but this also comes with some exceptions. Meaning that some sensors or lens data may not be reported or it could mean that the device has less than stable frame rates. Many of us want Camera2 API support on our phone so that we can use the hardware features of our cameras with 3rd-party applications. Some will want this so they can manually focus on objects, or set a target FPS when recording video with a Google Camera port. But others simply want access to these features on apps like Open Camera from the Google Play Store. Either way, we can check to see if your device supports the Camera2 API with an application like Camera2 API Probe or CameraX Info. Both of which can be downloaded in the Google Play Store. But what if your device does not support the Camera2 API via software even though the hardware itself is more than capable? I can show you a trick today that will allow you to manually enable Camera2 API access as long as you have root access with a tool like Magisk. For this to work, we will need to install a terminal emulator to your smartphone or tablet. I use an application called Termux for cases like this, but you can use an application of your choice if you'd like. Once the app has been opened and a terminal session has been created, we then need to grant the application root access. This is done by typing out the command. . . su . . .and then pressing Enter on the keyboard. With Magisk installed, you should see this prompt appear on the screen if you have not granted your terminal app root access in the past. We can then type out two commands to enable Camera2 API support on the device. . . setprop persist.camera.HAL3.enabled 1 setprop vendor.persist.camera.HAL3.enabled 1 These two commands change a file within the Android filesystem that tells the camera hardware how it can interface with the software. AKA your 3rd-party camera apps. With these two commands typed out and executed, we then need to reboot our smartphone. After the device has booted back up, go and check the status of the Camera2 API with one of the applications that I mentioned earlier. Sadly, these commands are unlikely to actually increase the level of support that your device has for the Camera2 API. Mentioned Links ~~~~~~~~~~~~~~~~~ Camera2 Probe - https://play.google.com/store/apps/de... CameraX Info - https://play.google.com/store/apps/de... Termux - https://play.google.com/store/apps/de... Step by Step Tutorial ~~~~~~~~~~~~~~~~~ 1. Intro [00:00] 2. What is the Camera2 API? [00:32] 3. Requirements [03:55] 4. Grant Termux Root Access [04:38] 5. Execute the Commands [05:27] 6. Reboot the Device [08:12] 7. Check for Changes [08:37] 8. Conclusion [09:40] As an Amazon associate, I may earn a commission on sales from the links below. The Gear I Use ~~~~~~~~~~~~~~~~~ 5W "Slow" Charger - https://amzn.to/2OaUMV8 Fast Charger - https://amzn.to/3rtBsC6 MicroUSB Cable - https://amzn.to/38dkpeM USB-C Cable - https://amzn.to/2OqlTvi TPU Cases - https://amzn.to/38g9b9w USB-C to 3.5mm Dongle - https://amzn.to/3rVt7c3 USB-C to 3.5mm DAC - https://amzn.to/3CyksSJ NVIDIA Shield TV - https://bit.ly/3KA17RV

Comments