Camera2api - Xiaomi Redmi 5 Questions & Answers

Can you show me how to enable camera2api in the lastest miui eu dev vesion?

try this
unlock bootloader and make sure adb debugging is on, use this command to enable it without editing build.prop
adb shell setprop persist.camera.HAL3.enabled 1
Click to expand...
Click to collapse

Related

How to block ADB

Hi,
Im trying to block my adb in a way that I cant activated it in the Developer Settings.
I tried edit build.prop and default.prop with:
Code:
persist.sys.usb.config none
ro.debuggable=0
persist.service.adb.enable=0
but as soon as I go in the options and enable it, I can see the device once again with: adb devices
There is someway to remove the adb funcionality ?

Immersive mode all miui

Run this script in terminal emulator
su
settings --user 0 put global policy_control immersive.status=*
Click to expand...
Click to collapse
If anyone know how to run the script auto every rebbot please tell me
#!/system/bin/sh
settings --user 0 put global policy_control immersive.status=com.miui.home
Click to expand...
Click to collapse
Placed it on your init.d folder
yoghibawono said:
Placed it on your init.d folder
Click to expand...
Click to collapse
Thanks,but how about permission ?
pukiman1204 said:
Thanks,but how about permission ?
Click to expand...
Click to collapse
Create a file named 99immersive for example, permission should be 755 or -rwrxr-xr-x
Make sure init.d is properly running or use init.d features from kernel adiutor

Question Problem with 5G and volte Calls

Hi,
I read some information from users who do not have 5G available and Volte on calls.
Is this a problem that phone operators can fix or will a OnePlus fix be needed?
Thanks
5G compatibility with missing carriers/ISP can only be fixed by OTA from OnePlus
VoLTE + WifiCalling can be fixed by OTA too or once we gain root in the future and we can modify radio system files ourselves
Pouic said:
5G compatibility with missing carriers/ISP can only be fixed by OTA from OnePlus
VoLTE + WifiCalling can be fixed by OTA too or once we gain root in the future and we can modify radio system files ourselves
Click to expand...
Click to collapse
Any idea when it is going to happen?
Pouic said:
5G compatibility with missing carriers/ISP can only be fixed by OTA from OnePlus
VoLTE + WifiCalling can be fixed by OTA too or once we gain root in the future and we can modify radio system files ourselves
Click to expand...
Click to collapse
Is there a way to fix this now?
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
I have volte calls enabled by default but still doesnt work. Probably you also need support from your carrier and one plus will never exist for my carrier.

Question Is there a way to use VoLTE and VoWIFI with swiss providers?

My Nord 2 isnt using VOLTE or VOWIFI with Sunrise. Is there a way to enable it like with older models?
*#800# does not work
No, we still need to wait for future OTA to resolve this
skyzonemc said:
My Nord 2 isnt using VOLTE or VOWIFI with Sunrise. Is there a way to enable it like with older models?
Click to expand...
Click to collapse
Hey,
If you go on the digitec website and search for your phone, you get a disclairmer about 5G and Sunrise. This isn't strictly related to your issue, but I was wondering if you were able to use the Swiss 5G network with your phone. Maybe you can try calling sunrise directly ?
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
cerfaaa said:
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
Click to expand...
Click to collapse
Worked! Thank you
cerfaaa said:
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
Click to expand...
Click to collapse
Do you know how to enable 5g? my phone doesn't seem to connect to any 5g network. 5g is not shown as an option in sim settings.
Sorry, I don’t know.
cerfaaa said:
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
Click to expand...
Click to collapse
Thanks for the info. Do you know how to enable voWifi (WiFi Calling) for Vodafone UK?
aathi1 said:
Do you know how to enable 5g? my phone doesn't seem to connect to any 5g network. 5g is not shown as an option in sim settings.
Click to expand...
Click to collapse
Hi, I had the same problem. Usually you can do this with *#*#4636#*#* to access the phone info but those codes don't work on this phone.
I installed an app called "5G switch" (not sponsored by any means), then you can access the menu, and selected NR/LTE/TDSCDMA/GSM/WCDMA, which makes 5G appear in the settings, and works with Yallo (Sunrise) as a carrier. Hope it helps!
DerSandmann said:
Hi, I had the same problem. Usually you can do this with *#*#4636#*#* to access the phone info but those codes don't work on this phone.
I installed an app called "5G switch" (not sponsored by any means), then you can access the menu, and selected NR/LTE/TDSCDMA/GSM/WCDMA, which makes 5G appear in the settings, and works with Yallo (Sunrise) as a carrier. Hope it helps!
Click to expand...
Click to collapse
I have tried that but it does not work for me. Even though I selected the NR/LTE.. it still hooks onto 4g. are you aware of any methods to modify the radio files.. Thnx.
cerfaaa said:
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
Click to expand...
Click to collapse
Hi,
This method didn't work for me (although I have to mention that the VoLTE toggle was present in the SIM settings since first use).
I'm currently on a Dutch provider called hollandsenieuwe which operates on Vodafone NL network.
The strange thing is that VoWiFi just works fine since first use.
I checked all the settings for VoLTE (even the one for the icon to appear in the top bar which is disabled by default but nothing).
Asked support to the provider but they just say that the issue is with the device.
I tested with the previous model Oneplus Nord 5G and VoLTE and VoWIFI both work fine, with Oneplus Nord 2 only VoWiFI is working.
Any suggestion?
Up.
Up.
No solution for now, we need to wait for oneplus to add the missing 5g/volte profiles in a next OTA... it could take a while or simply never arrive .
What commands should be entered instead of these to
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
everything as it was? I think the reason they lost wifi and bluetooth. They don't turn on at all...
A.15 update finally did it, since this morning I have 5G and VolTE working on my phone on swiss networks!
cerfaaa said:
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
Click to expand...
Click to collapse
Hi master, greetings from Chile. Sorry for my ignorance. I don't understand step 2. Would you please explain to me. I'm a dumb. Sorry
cerfaaa said:
VoLTE activation procedure on OnePlus Nord 2 5G:
If NoRoot:
1. Get ready to use the adb command
2. adb reboot recovery And reboot to recovery
3. When the language selection screen appears, you will be able to connect to adb, so wait until the driver setup is completed.
* If ⚠ is displayed in the device manager, the driver cannot be loaded, so right-click and see Update Driver → Computer. Search for the driver → Available on your computer ~ → Android Device → Load the Android Composite ADB Interface.
If that doesn't work, try plugging and unplugging the cable or using the USB 2.0 port.
4. Execute the following command line by line
adb root
adb shell setprop persist.dbg.ims_volte_enable 1
adb shell setprop persist.dbg.volte_avail_ovr 1
adb shell setprop persist.dbg.vt_avail_ovr 1
adb shell setprop persist.radio.VT_ENABLE 1
adb reboot
After restarting, "VoLTE call" will appear in the SIM settings, so turn it on.
If Rooted:
1. Install Termux from GP
2. Enter "su"
3.
setprop persist.dbg.ims_volte_enable 1
setprop persist.dbg.volte_avail_ovr 1
setprop persist.dbg.vt_avail_ovr 1
setprop persist.radio.VT_ENABLE 1
setprop persist.dbg.wfc_avail_ovr 1
reboot
Click to expand...
Click to collapse
Has there been any recent updates that could have broken step 3? Tested on both Windows and Linux but whenever it reboots into recovery mode, ADB never reconnects. Is there something else I'm missing?
McGinsky said:
Has there been any recent updates that could have broken step 3? Tested on both Windows and Linux but whenever it reboots into recovery mode, ADB never reconnects. Is there something else I'm missing?
Click to expand...
Click to collapse
Since A14 or A15 update, ADB is not available in recovery mode...

LineageOS 17.1 - How to get diag mode?

My phone is SONY Xperia XZ1 G8341, I installed LineageOS 17.1 yesterday, I installed sony-diag module on Magisk and QPST, QPST Drivers on PC, I opening adb shell and writing
su
setprop persist.usb.eng 1
but doesn't working, I tried again adb shell
su
setprop sys.usb.config diag,adb
doesn't working again, i can't see my phone in device manager -> other devices
when I see, I will install mi5 qualcomm drivers for qualcomm android modem 9018 and I will see on QPST
but doesn't working...
I tried like this
Can anyone help me?

Categories

Resources