Enable Camera2 API - Honor 6X Questions & Answers

How do I enable Camera2 API without root in my Honor 6X. Is there any adb command to do it?

mr.SoSerious said:
How do I enable Camera2 API without root in my Honor 6X. Is there any adb command to do it?
Click to expand...
Click to collapse
Use third party app

Related

Multiwindow mode oxygenos android 8.1

Actually this was working till android nougat but for curiosity i tried it on Android 8.1 and vice versa oxygen os and its working.
What is freeform multiwindow?
You can enable resizable multiple windows of any apps.
Video guide:
https://youtu.be/GoAskAamNNc7
Requirements :-
1)android OS 7 to 8.1 based rom
2)PC
3)WORKING ADB
STEPS:
1)enable usb debugging option
2) install adb drivers (if not installed otherwise u can skip the step)
15 seconds adb installer
https://androidfilehost.com/?fid=95855108297851314
3)create any folder on dextop open it click shift+right click of mouse
3)select open command promt here option
Type these commands
adb devices Then enter
adb shell settings put global enable_freeform_support 1
Then enter reboot
Disconnect u r device and reboot
Then go to Settings >developers option> then enable force activities to be resizable
Thats its
When u opens recents app there u will get multiwindow tab for every app.
Do you knod what command should I use to deactivate it?
Multi window is just split screen which has been native since nougat and they are still resizable.
se7ensde said:
Multi window is just split screen which has been native since nougat and they are still resizable.
Click to expand...
Click to collapse
Split screen is resizable but not in freeform mode, u can not move windows or add multiple apps at same time
se7ensde said:
Multi window is just split screen which has been native since nougat and they are still resizable.
Click to expand...
Click to collapse
Have u seen video then u will understand whats this is?
netgar said:
Do you knod what command should I use to deactivate it?
Click to expand...
Click to collapse
Add 0 instead of 1
pankspoo said:
Actually this was working till android nougat but for curiosity i tried it on Android 8.1 and vice versa oxygen os and its working.
What is freeform multiwindow?
You can enable resizable multiple windows of any apps.
Video guide:
https://youtu.be/GoAskAamNNc7
Requirements :-
1)android OS 7 to 8.1 based rom
2)PC
3)WORKING ADB
STEPS:
1)enable usb debugging option
2) install adb drivers (if not installed otherwise u can skip the step)
15 seconds adb installer
https://androidfilehost.com/?fid=95855108297851314
3)create any folder on dextop open it click shift+right click of mouse
3)select open command promt here option
Type these commands
adb devices Then enter
adb shell settings put global enable_freeform_support 1
Then enter reboot
Disconnect u r device and reboot
Then go to Settings >developers option> then enable force activities to be resizable
Thats its
When u opens recents app there u will get multiwindow tab for every app.
Click to expand...
Click to collapse
Or you can just enable the option in developer settings and reboot, no pc needed...
Rakpere said:
Or you can just enable the option in developer settings and reboot, no pc needed...
Click to expand...
Click to collapse
No its not work. I have tested it personally this thread is not based on assumptions
pankspoo said:
No its not work. I have tested it personally this thread is not based on assumptions
Click to expand...
Click to collapse
Funny cause it works...
Rakpere said:
Funny cause it works...
Click to expand...
Click to collapse
Give the short video with u r proof here
edit: n/m, should have watched the video first. :silly:
Tried it, but it caused SystemUI to fc and reboot, so put it back.
iElvis said:
edit: n/m, should have watched the video first. :silly:
Tried it, but it caused SystemUI to fc and reboot, so put it back.
Click to expand...
Click to collapse
K for me its not giving any fcs
pankspoo said:
K for me its not giving any fcs
Click to expand...
Click to collapse
Could be the rom I'm using (RICE), which I think has some SystemUI tweaks.
iElvis said:
Could be the rom I'm using (RICE), which I think has some SystemUI tweaks.
Click to expand...
Click to collapse
May be but on oos 5.1.9 nothing is like that
Hey, I'm receiving the "error: device not found" on command promt.
This is "freeform" window mode, and it isn't bad. Sadly it's far inferior compared to Samsung's multiwindow mode, in my opinion.

Unlock Pixel gestures on OnePlus 6 with DP3

Requirements:
1) OnePlus 6 with DP3 installed
2) A PC with adb setup
Steps:
1) Make sure you have adb debugging on under developer options in your phone
2) browse to the folder where adb is setup and open terminal by pressing shift key and right click on the mouse
3) connect your phone and check whether it's properly connected by using command adb devices
4) then enter the following command and you'll have the pixel gestures unlocked
adb shell settings put secure swipe_up_to_switch_apps_enabled 1
Disclaimer:
1) will work only if you use oneplus launcher
2) with other launchers you'll get oneplus launcher force close dialogue box when you try to access recents
3)this hack replaces traditional navigation bar with pixel gestures, you still have oneplus gestures available to use
4) to revert back to traditional navigation bar do step 1 to 4 with the following changed code instead
adb shell settings put secure swipe_up_to_switch_apps_enabled 0
credits to XDA news for the original guide
https://www.xda-developers.com/oneplus-6-google-pixel-gestures-android-p/
Sorry but, what is this DP3?
in your opinion, pixel gestures are better than 1+ gestures?
DP 3 it is the latest version of Android 9 ROM beta for OnePlus 6
Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
limafranco said:
Sorry but, what is this DP3?
in your opinion, pixel gestures are better than 1+ gestures?
Click to expand...
Click to collapse
Developer preview 3 of Android P, I noticed a glitch in navigating with oneplus gestures in Android P, this glitch isn't present in any of the stable oreo builds, the pixel gesture has more things you can do with it and also seemed to remove the transition glitch I was noticing.
kewlest22 said:
Requirements:
1) OnePlus 6 with DP3 installed
2) A PC with adb setup
Steps:
1) Make sure you have adb debugging on under developer options in your phone
2) browse to the folder where adb is setup and open terminal by pressing shift key and right click on the mouse
3) connect your phone and check whether it's properly connected by using command adb devices
4) then enter the following command and you'll have the pixel gestures unlocked
adb shell settings put secure swipe_up_to_switch_apps_enabled 1
Disclaimer:
1) will work only if you use oneplus launcher
2) with other launchers you'll get oneplus launcher force close dialogue box when you try to access recents
3)this hack replaces traditional navigation bar with pixel gestures, you still have oneplus gestures available to use
4) to revert back to traditional navigation bar do step 1 to 4 with the following changed code instead
adb shell settings put secure swipe_up_to_switch_apps_enabled 0
hit thanks if it helps you ?
Click to expand...
Click to collapse
If you're going to post stuff like this then please give credits to the source instead of asking for thanks.
XDA News..... https://www.xda-developers.com/oneplus-6-google-pixel-gestures-android-p/
Is there a way to do these commands in my phone? For nothing I my computer would recognize my phone.
biohaz55 said:
If you're going to post stuff like this then please give credits to the source instead of asking for thanks.
XDA News..... https://www.xda-developers.com/oneplus-6-google-pixel-gestures-android-p/
Click to expand...
Click to collapse
necessary changes done ✌? thanks for pointing it out
kewlest22 said:
Requirements:
1) OnePlus 6 with DP3 installed
2) A PC with adb setup
Steps:
1) Make sure you have adb debugging on under developer options in your phone
2) browse to the folder where adb is setup and open terminal by pressing shift key and right click on the mouse
3) connect your phone and check whether it's properly connected by using command adb devices
4) then enter the following command and you'll have the pixel gestures unlocked
adb shell settings put secure swipe_up_to_switch_apps_enabled 1
Disclaimer:
1) will work only if you use oneplus launcher
2) with other launchers you'll get oneplus launcher force close dialogue box when you try to access recents
3)this hack replaces traditional navigation bar with pixel gestures, you still have oneplus gestures available to use
4) to revert back to traditional navigation bar do step 1 to 4 with the following changed code instead
adb shell settings put secure swipe_up_to_switch_apps_enabled 0
credits to XDA news for the original guide
https://www.xda-developers.com/oneplus-6-google-pixel-gestures-android-p/
Click to expand...
Click to collapse
ddaharu said:
Is there a way to do these commands in my phone? For nothing I my computer would recognize my phone.
Click to expand...
Click to collapse
Quote.. Is there a way to do it from terminal emulator? Tried but not working in that synthax
Hitman478™ said:
Quote.. Is there a way to do it from terminal emulator? Tried but not working in that synthax
Click to expand...
Click to collapse
I don't think so no!
Hitman478™ said:
Quote.. Is there a way to do it from terminal emulator? Tried but not working in that synthax
Click to expand...
Click to collapse
kewlest22 said:
I don't think so no!
Click to expand...
Click to collapse
Yes it worked. I used the app "terminal emulator"
First command: su
This will grant terminal emulator root permission.
Then this command: settings put secure swipe_up_to_switch_apps_enabled 1
That's it.
ddaharu said:
Yes it worked. I used the app "terminal emulator"
First command: su
This will grant terminal emulator root permission.
Then this command: settings put secure swipe_up_to_switch_apps_enabled 1
That's it.
Click to expand...
Click to collapse
that'd be for rooted users ??
kewlest22 said:
that'd be for rooted users ??
Click to expand...
Click to collapse
Ohh right.
Because my phone is not being recognized as an adb device for some reason..... That was my alternative.
ddaharu said:
Yes it worked. I used the app "terminal emulator"
First command: su
This will grant terminal emulator root permission.
Then this command: settings put secure swipe_up_to_switch_apps_enabled 1
That's it.
Click to expand...
Click to collapse
Not working for me
EDIT: re-done and now it's working but don't ask me what i make different from before
EDIT2: need to do "su" twice so is:
Su
Su
settings put secure swipe_up_to_switch_apps_enabled 1
Then it's working
Hitman478™ said:
Not working for me
EDIT: re-done and now it's working but don't ask me what i make different from before
EDIT2: need to do "su" twice so is:
Su
Su
settings put secure swipe_up_to_switch_apps_enabled 1
Then it's working
Click to expand...
Click to collapse
Nice :highfive:
ddaharu said:
Ohh right.
Because my phone is not being recognized as an adb device for some reason..... That was my alternative.
Click to expand...
Click to collapse
U have to enable developer option and install proper adb drivers.
Connect device when its on and not in fastboot mode
oneplus 6 dp3
no root
no xda gesture installer
use oneplus launcher only.
no pixel launcher ?
how to active this features ??
See post 1
brmbjn said:
oneplus 6 dp3
no root
no xda gesture installer
use oneplus launcher only.
no pixel launcher ?
how to active this features ??
Click to expand...
Click to collapse
Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
sebfar said:
See post 1
Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
Click to expand...
Click to collapse
I know but not work at me.
Any solution for it ?
What version of oneplus launcher must use ? 2.5.xxx or 3.0
brmbjn said:
I know but not work at me.
Any solution for it ?
What version of oneplus launcher must use ? 2.5.xxx or 3.0
Click to expand...
Click to collapse
3.0
kewlest22 said:
3.0
Click to expand...
Click to collapse
My laucher version is 2.5. i cannot update to 3.0 ? How to fix it ?

tool to debloat

Is there a tool ffor debloating the color os in Realme 5 Pro without Root
pnsdhrn said:
Is there a tool ffor debloating the color os in Realme 5 Pro without Root
Click to expand...
Click to collapse
AFAIK no
only by manual method such as uninstalling / with adb shell command (usb debugging)
Thank you.Hope may be developers come with one later.

Can't side load apps after updating to Android 11 - HELP!

Xiaomi Mi 10T stock global stable. Updated to Android 11 and can no longer side load anything – not just Google apps, ANYTHING. Not even via ADB installation commands.
Then I learned that Google introduced something called "app integrity" with Android 11 that hinders side loading. It's a function of Google Play Services, which stores its rules in an inaccessible directory (so I can't delete them). I tried uninstalling Google Play Services altogether and cutting all access to the Internet, but that didn't work either.
There must be a workaround that doesn't involve me having to root my phone (too much hassle and risk for my liking), or reverting to Android 10 (is that even possible?).
Any help would be appreciated.
adb sideload is TWRP specific feature so if you updated your Android Version you need to update TWRP too so it support adb sideload once again ... or you just using adb sideload command directly ??
ineedroot69 said:
adb sideload is TWRP specific feature so if you updated your Android Version you need to update TWRP too so it support adb sideload once again ... or you just using adb sideload command directly ??
Click to expand...
Click to collapse
adb sideload is NOT TWRP specific.
ADB Sideload is a mode the bootloader loads device into if requested to do so.
jwoegerbauer said:
adb sideload is NOT TWRP specific.
Click to expand...
Click to collapse
read my post
ineedroot69 said:
adb sideload is TWRP specific feature so if you updated your Android Version you need to update TWRP too so it support adb sideload once again ... or you just using adb sideload command directly ??
Click to expand...
Click to collapse
Directly, I guess. Am I using it wrong? Tbh, I'm not a dev and don't know what TWRP is.
Before Android 11, I was always able to install APKs directly via the phone. Only after updating did I try it via ADB to see if it solves my problem and it didn't – despite ADB being properly installed and my use of the appropriate commands.
Don't confuse "Sideload an APK" and "ADB Sideload" as others here do.
ADB Sideload isn't the correct method to install ( sideload ) APKs.
Read here
How to Use ADB Sideload in Android [Stock and TWRP Recovery]
In this guide, we will show you how to install ZIP files using the adb sideload command in both the stock and custom TWRP Recovery.
www.droidwin.com
To sideload an APK you run adb install [Options] APK what of course requires USB-debugging got enabled on phone before.
i dunno about Android 11 but have you tried installing it casually then just enable "allow Install unknown apps" ??
jwoegerbauer said:
To sideload an APK you run adb install [Options] APK what of course requires USB-debugging got enabled on phone before.
Click to expand...
Click to collapse
Yes, this is what I tried but it didn't work unfortunately. I keep getting "Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]".
ineedroot69 said:
i dunno about Android 11 but have you tried installing it casually then just enable "allow Install unknown apps" ??
Click to expand...
Click to collapse
C'mon bro, I'm not that much of a noob. It's allowed for all the apps from which I install APKs.
I can no longer install casually after updating to Android 11.
Dagabix said:
Yes, this is what I tried but it didn't work unfortunately. I keep getting "Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
Click to expand...
Click to collapse
On some devices "Install Via USB" must also get enabled.
jwoegerbauer said:
On some devices "Install Via USB" must also get enabled.
Click to expand...
Click to collapse
I always keep it enabled.
jwoegerbauer said:
On some devices "Install Via USB" must also get enabled.
Click to expand...
Click to collapse
^ ohh yeahi forgot that there's this setting on Developer Options it's called Verify app over USB you provably need to disable that since your apk is from unknown source
ineedroot69 said:
^ ohh yeahi forgot that there's this setting on Developer Options it's called Verify app over USB you provably need to disable that since your apk is from unknown source
Click to expand...
Click to collapse
It's always been disabled, except for the one time I enabled it to see if it would make a difference – it didn't.
Problem solved. Turns out uninstalling 'MIUI security components' (com.miui.guardprovider) when debloating is what caused me to lose the ability to side load!

Root Asus Z010D

How to root Asus Z010D without no power and volume button And it has no OEM unlock option(I think administrator not allowing)Hope for a solution
Since this phone is running Android 6 all you have to do is to replace ( restricted ) Toybox by ( non-restricted ) Toybox v0.8.5 what has SU applet implemented.
It's NOT required device's bootloader got unlocked before: it all can be done via a series of ADB commands.
jwoegerbauer said:
Since this phone is running Android 6 all you have to do is to replace ( restricted ) Toybox by ( non-restricted ) Toybox v0.8.5 what has SU applet implemented.
It's NOT required device's bootloader got unlocked before: it all can be done via a series of ADB commands.
Click to expand...
Click to collapse
Explain me please...and wdym by Toybox, where can I get it?
Toybox combines many common Linux command line utilities together into a single BSD-licensed executable.
Toybox binaries are available here:
Index of /toybox/bin
landley.net
jwoegerbauer said:
Toybox combines many common Linux command line utilities together into a single BSD-licensed executable.
Toybox binaries are available here:
Index of /toybox/bin
landley.net
Click to expand...
Click to collapse
Can we use busybox instead of toybox? will it work in asus z010d
What sense will it make to install Busybox ( a 3rd party binary ) in parallel to already pre-installed Toybox what results in disabling Toybox?
jwoegerbauer said:
What sense will it make to install Busybox ( a 3rd party binary ) in parallel to already pre-installed Toybox what results in disabling Toybox?
Click to expand...
Click to collapse
I understand...can u help me with commands to root plz
Maalutty said:
How to root Asus Z010D without no power and volume button And it has no OEM unlock option(I think administrator not allowing)Hope for a solution
Click to expand...
Click to collapse
Can anyone help me unlock bootloader of asus z010d
As already said: To root a phone's Android IT'S NOT REQUIRED TO UNLOCK PHONE'S BOOTLOADER.
jwoegerbauer said:
As already said: To root a phone's Android IT'S NOT REQUIRED TO UNLOCK PHONE'S BOOTLOADER.
Click to expand...
Click to collapse
Then how can I reach to twrp recovery? I cannot install supersu zip from recovery plz help me
Wondering why you intend to flash TWRP and SuperSU? All not needed to root a phone's Android, IMO.
jwoegerbauer said:
Wondering why you intend to flash TWRP and SuperSU? All not needed to root a phone's Android, IMO.
Click to expand...
Click to collapse
Kingoroot, kingroot such apps can't root my phone so I chose rooting through supersu or magisk...if you are aware of any other pls help me
Do what you think is right.
jwoegerbauer said:
Do what you think is right.
Click to expand...
Click to collapse
But are you sure that if I replace my toybox, I can root my phone without unlocking bootloader? Plz reply me
Maalutty said:
How to root Asus Z010D without no power and volume button And it has no OEM unlock option(I think administrator not allowing)Hope for a solution
Click to expand...
Click to collapse
Error:invalid boot image
Asus Z010d ZC550KL
During flashing twrp, it shows failed
Without an unlocked bootloader you can't flash system related images.
xXx yYy said:
Without an unlocked bootloader you can't flash system related images.
Click to expand...
Click to collapse
But when I try to unlock booltloader by unlock device tool, it says,
"An unknown error occurs, which may be a network connection issue"
Even if I connect to a network connection .Any solution?

Categories

Resources