Camera 2 api without root? - Xiaomi Redmi Note 5 Pro Questions & Answers

Someone please say how to enable camera 2 api without rooting the device and download g cam.

i have read that there is a way via adb
but i dont know if a custom recovery is needed.
you can unlock and flash twrp without rooting the OE itself

Yes but need unlocked bootloader.

You can do that but bootloader should be unlocked

Cabeção-Flu said:
Yes but need unlocked bootloader.
Click to expand...
Click to collapse
SunilSuni said:
You can do that but bootloader should be unlocked
Click to expand...
Click to collapse
How? my bl is unlocked.
Thanks.

avercros said:
How? my bl is unlocked.
Thanks.
Click to expand...
Click to collapse
There is a tutorial in YouTube just search it there.

Need boot (not install) in TWRP:
Enter in fastboot mode and type in PC
fastboot boot twrp.img (or name of file)
And type this ADB commands:
adb shell
setprop persist.camera.HAL3.enabled 1
setprop persist.camera.eis.enable 1
exit
adb reboot bootloader
fastboot reboot

Related

[REF]Micromax Canvas A1 Stock OTA URLs

Introduction:
This is a list of all known OTA's for the Micromax Canvas A1
The Canvas A1 has it's ROMs built directly by Google, instead of Micromax.
Click to expand...
Click to collapse
File List:
None Yet
Click to expand...
Click to collapse
How to flash:
Requirements:
Stock recovery
Unmodified /system
Unmodified /oem
Unlocked bootloader
Basic understanding of command line/shell
Unlock your bootloader
Download and set up adb and fastboot
Reboot into fastboot mode
Open up a command prompt/shell where you saved fastboot
enter into command prompt/shell: "fastboot oem unlock"
Enter recovery mode via onscreen buttons
Enable recovery ui
(How do you do this for this device?)
Set up adb
Select apply update from adb
enter into command prompt: "adb sideload <path to saved update.zip>
Click to expand...
Click to collapse
FAQ:
How to find the ota?
If you're rooted, wait for the device to prompt you to update, then check /cache for the file
If you're not rooted, wait until the same time and do an adb logcat and look for a line with .zip in it
Why isn't the latest ota listed?
We can only list what we have, if the ota from Build X to Build Y isn't listed, we dont have the file for it yet.
How do you setup adb/fastboot
Please read the stickies in the general subforum, this is not a formal guide
Do I need to unlock the bootloader to flash the update zip?
Yes, if you wish to do it manually.
If you allow android to prompt for the update, you do not need to unlock
Can I flash this if I have a custom rom?
No, you must be on a stock AND unmodified rom
Can I flash this if I'm rooted?
Only if you have not modified any files
Click to expand...
Click to collapse
Credits:
Click to expand...
Click to collapse
Changelog:
Sep 21, 2014: Initial page
Click to expand...
Click to collapse
2char
If anyone has seen an ota recently, please let me know.
There is an android-4.4.4_r4 listed on AOSP, and KPW53 should be 4.4.4_r3.
Either it is an ota or another device launched with a newer rom.

Moto 360 5.1.1 (LDZ22O) Root

Root For LDZ22O 5.1.1
If your moto on the latest version you need restore it to LDZ22O with RootJunky SuperTool v5
Connect via DIY USB Cable
Enable adb from developer options
If your bootloader locked unlock it with the supertool (option 2)
Restore to LDZ22O with (option 6) and pair&configure the watch
After pair&configuration you need enable again the adb on the watch from development options​
download latest TWRP 3.0.0 Here​Flash it when on bootloader (command: adb reboot bootloader ) --> from bootloader (command: fastboot flash recovery twrp-3.0.0-0-minnow.img )
you can boot to recovery with (command: fastboot boot twrp-3.0.0-0-minnow.img ) or with adb (command: adb reboot recovery )​
Download Modded Wear-SuperSU-v2.67.zip
Boot to recovery & with cmd (type: adb shell) --> (type: mount /system) then (type: exit ) --> then push Wear-SuperSU-v2.67.zip to sdcard (type: adb push Wear-SuperSU-v2.67.zip /sdcard )
from TWRP enable system partiiton modification --> then flash the Wear-SuperSU-v2.67.zip in sdcard folder (if dont see any red lines durring flash it worked)​
Finally just reboot dont wipe Anything !!IMPORTANT DONT WIPE!! (TWRP Steel Not Working Good with The partitions on moto 360) ​
open adb shell and (type: su ) if you see # you rooted
I'm working on root for the 6.0.1 version, trying get rid of the squashfs read-only /system partiiton & make same one with ext4 I Would like some help from developers ​
Thank you, this worked perfectly for me, and I've been trying to get this thing rooted for months now. I cant wait to see what you do with the 6.0.1 version.
With the latest bootloader, version 954, you can use the button to boot to different modes. One person contacted me about this issue.
How can you use the button when it ask for unlock confirmation? Doesn't it reboot instead to unlocking?
dproldan said:
With the latest bootloader, version 954, you can use the button to boot to different modes. One person contacted me about this issue.
How can you use the button when it ask for unlock confirmation? Doesn't it reboot instead to unlocking?
Click to expand...
Click to collapse
I dont sure about the new bootloader but I think it still let you confim to unlock after cmd command "fastboot oem unlock" but you need to be quick you have only couple of seconds to press the watch button
Shapi300 said:
I dont sure about the new bootloader but I think it still let you confim to unlock after cmd command "fastboot oem unlock" but you need to be quick you have only couple of seconds to press the watch button
Click to expand...
Click to collapse
i'm not sure about it, because i try as fastest i can, but power button only change the boot mode on bootloader version 954. I need to downgrade because the new version make my bluetooth stop working
Lagoone said:
i'm not sure about it, because i try as fastest i can, but power button only change the boot mode on bootloader version 954. I need to downgrade because the new version make my bluetooth stop working
Click to expand...
Click to collapse
Hi, Were you able to downgrade ?
alidsd said:
Hi, Were you able to downgrade ?
Click to expand...
Click to collapse
nope, still waiting for help

Z00AD no fastboot no recovery but the phone works normally

Hello,
I have a problem with my Z00AD. The phone works ok but I wanted to root it. The problem is that it goes in fastboot but after going in fastboot it just doesn't work... It says continue fastboot process and it is not recognized in fastboot devices command. Recovery mode doesn't work at all. ADB mode works very well though. Please note that I unlocked the bootloader and activated USB debugging and all the drivers are installed.
What can I do to get fastboot and recovery working?
Asphyxiate666 said:
Hello,
I have a problem with my Z00AD. The phone works ok but I wanted to root it. The problem is that it goes in fastboot but after going in fastboot it just doesn't work... It says continue fastboot process and it is not recognized in fastboot devices command. Recovery mode doesn't work at all. ADB mode works very well though. Please note that I unlocked the bootloader and activated USB debugging and all the drivers are installed.
What can I do to get fastboot and recovery working?
Click to expand...
Click to collapse
Reboot to bootloader,Press Vol+ once , in bootloader ? Any connection then ?
timbernot said:
Reboot to bootloader,Press Vol+ once , in bootloader ? Any connection then ?
Click to expand...
Click to collapse
install terminal emulator on device. download recovery for the same firmware you are on. or alternatively you can use custom recovery. place that recovery image file in root drive. i mean /sdcard/
now run terminal emulator and run the following commands one by one. wait for little time after every command.
$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p14
# reboot recovery
you will reboot into recovery
@Asphyxiate666
sukhwant717 said:
install terminal emulator on device. download recovery for the same firmware you are on. or alternatively you can use custom recovery. place that recovery image file in root drive. i mean /sdcard/
now run terminal emulator and run the following commands one by one. wait for little time after every command.
$ su
# dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p14
# reboot recovery
you will reboot into recovery
Click to expand...
Click to collapse
great info :good:
timbernot said:
@Asphyxiate666
great info :good:
Click to expand...
Click to collapse
thanks

[ROOT] How to properly root the P20 lite

Even without a custom recovery like TWRP you can get Magisk on your phone.
To do this you need to manually patch the stock boot image and flash that to your boot partition.
However, I've done all of this and with a few steps you'll be rooted.
There's a more detailed guide below.
1) Get bootloader unlock code here
2) Enable "OEM Unlocking", boot into fastboot and type: "fastboot oem unlock your-unlock-code"
3) Download patched ramdisk image here and put it in fastboot directory.
4) Reboot into fastboot and type: "fastboot flash ramdisk patched_ramdisk.img"
(Optional) 5) Flash this to go back to stock ramdisk
[Detailed Guide]
First off, you need an unlocked bootloader. To do this, you need a special code from Huawei, you can request this here:
https://emui.huawei.com/en/plugin.php?id=unlock
With this code, and having "OEM unlocking" enabled in debugger settings, boot in fastboot mode.
Afterwards, open fastboot console and type: "fastboot oem unlock your-unlock-code"
Your device will now reboot.
Now reboot your device back into fastboot mode and open a fastboot console once more.
Download this patched ramdisk partition and place it in the same folder as your fastboot executable.
http://www.mediafire.com/file/9yfz6w9e8q7j5u2/patched_ramdisk.img
Now simply type in the console: "fastboot flash ramdisk patched_ramdisk.img".
Reboot your phone and it is rooted!
Download Magisk Manager to update/configure Magisk.
[REMOVE ROOT]
To remove the root, simply flash this original ramdisk partition, the same way as above. You can also relock the bootloader if wanted.
http://www.mediafire.com/file/4d6w2labc6cmh2o/original_ramdisk.img
WORKS IN ANE-AL00 china model??
When I'm trying to install the patched ramdisk with "fastboot flash ramdisk patched_ramdisk.img" it says "cannot load patched_ramdisk.img".
What's the exactly directory?
@RogerXIII, from which build did you patched ramdisk?
Nick said:
WORKS IN ANE-AL00 china model??
Click to expand...
Click to collapse
Only tested on ANE-LX1, you're welcome to try it though.
r00terb3y said:
When I'm trying to install the patched ramdisk with "fastboot flash ramdisk patched_ramdisk.img" it says "cannot load patched_ramdisk.img".
What's the exactly directory?
Click to expand...
Click to collapse
It has to be in the directory of your fastboot executable.
kilroystyx said:
@RogerXIII, from which build did you patched ramdisk?
Click to expand...
Click to collapse
Version 8.0.0.104 (C185)
Just a clarification. So lite version come with 8.0 ? Not 8.1 ?
otonieru said:
Just a clarification. So lite version come with 8.0 ? Not 8.1 ?
Click to expand...
Click to collapse
Correct
RogerXIII said:
Only tested on ANE-LX1, you're welcome to try it though.
It has to be in the directory of your fastboot executable.
Version 8.0.0.104 (C185)
Click to expand...
Click to collapse
And how do I find out?
r00terb3y said:
And how do I find out?
Click to expand...
Click to collapse
Find out what ? The directory ? Or the compatibilty ?
If the conpatibility, simply try it. And you will know
r00terb3y said:
And how do I find out?
Click to expand...
Click to collapse
I think you mean the directory:
On your computer you have the file "fastboot" that you use for sending fastboot commands to your phone, put the .img file in yhe same folder as that program. If you don't know where it is located, you can download the platform-tools files separately and use those.
Thank you worked very well. I need twrp but i cant find or Build compatibility with p20 do you find any way to get it work?
1) Get bootloader unlock code here
this is giving me a 404 error...
In which compilation (build) did you use this root?
Just got root on ANE-LX1 successfully. Tell me please, should this metod pass SafetyNet or not?
Rooted my ANE-XL3 just fine.
Hi. Huawei P20 lite ANE-LX1 8.0.0.111(C432).
Asking for some advice. Having read several how to guide to root, installed adb on Linux, connected, backup ok, patched ram disk, original ram disk and so on and so on, Running in circles about UNLOCK CODE: OR getting a 404 eng/Chinese, Or logging at Huawei and getting a US page for honor 7/10. Cannot get the unlock page to fill the formulary, although having all necessary info, IMEI, Product ID etc. My region is PT. Request advice, considering returning the phone wich is not so bad at benchmarks... Thank you. Congrats
I payed 5 usd at dc-unlocker and unlocked my bootloader in about 20 minutes. I followed this guide:
https://forum.xda-developers.com/honor-7/general/bl-unlock-dc-unlocker-t3318738
Just got an OTA: ANE-LX1 8.0.0.105(C10). My device OS ver.: ANE-LX1 8.0.0.102(C10). Please tell me, should I apply it? What will happen with root? Will I need to reflash ramdisk after update?
Can someone tell me where to unlock the bootloader? The link gives me only a 404 page
Alucard1238 said:
Can someone tell me where to unlock the bootloader? The link gives me only a 404 page
Click to expand...
Click to collapse
If the link is down you have a paid service, google by DC-unlocker

Question How do I replace stock recovery with custom one?

Can anyone please share a solution to replace my c21's stock recovery with a custom one?
Actually, I hate bloatware, and I want to root my C21 to get rid of them all!
At this stage until realme releases the deep testing app it's hard to do
I am looking into a way and will let you know if I manage to do it
i not see any custom roms
tubabuyukustun said:
i not see any custom roms
Click to expand...
Click to collapse
Because there is no custom rom.
MrMiyamo said:
Because there is no custom rom.
Click to expand...
Click to collapse
No, there is! Check this out - https://www.getdroidtips.com/custom-rom-realme-c11/
STJ ANONYMOUS ! said:
No, there is! Check this out - https://www.getdroidtips.com/custom-rom-realme-c11/
Click to expand...
Click to collapse
This is not realme c21
MrMiyamo said:
This is not realme c21
Click to expand...
Click to collapse
Check out this article - https://www.google.com/url?sa=t&sou...cQFnoECB0QAQ&usg=AOvVaw1QCS6X9_tXOVed4fNKdHil
STJ ANONYMOUS ! said:
Check out this article - https://www.google.com/url?sa=t&sou...cQFnoECB0QAQ&usg=AOvVaw1QCS6X9_tXOVed4fNKdHil
Click to expand...
Click to collapse
Maybe It can help!?
STJ ANONYMOUS ! said:
Check out this article - https://www.google.com/url?sa=t&sou...cQFnoECB0QAQ&usg=AOvVaw1QCS6X9_tXOVed4fNKdHil
Click to expand...
Click to collapse
It's a clickbait article.
Infact we cant even boot into fastboot mode without unlocking bootloader, and there is no "depth test" app for realme C21
You ca
MrMiyamo said:
It's a clickbait article.
Infact we cant even boot into fastboot mode without unlocking bootloader, and there is no "depth test" app for realme C21
Click to expand...
Click to collapse
You can boot into fastboot mode of C21 by executing this command through PC or a laptop.
1)Download Adb and fastboot drivers. (Skip if done)
2)Go to your device and enable usb debugging.
Then do this-
Connect your phone to your computer using a USB cable.
Open CMD/Powershell on your computer.
Run the following command to make sure the computer recognizes your Realme C21:adb devices
Now you have two choices again:
If you want to boot your Realme C21 into Fastboot Mode, use the following command: adb reboot bootloader
If you want to boot your Realme C21 into Recovery Mode, use the following command: adb reboot recovery
Once you run the following commands, your Realme C21 will turn off and go into Fastboot/Recovery Mode. That is all you have to do. Now you can flash factory images, custom ROMs, unlock the bootloader, and much more.
STJ ANONYMOUS ! said:
You ca
You can boot into fastboot mode of C21 by executing this command through PC or a laptop.
1)Download Adb and fastboot drivers. (Skip if done)
2)Go to your device and enable usb debugging.
Then do this-
Connect your phone to your computer using a USB cable.
Open CMD/Powershell on your computer.
Run the following command to make sure the computer recognizes your Realme C21:adb devices
Now you have two choices again:
If you want to boot your Realme C21 into Fastboot Mode, use the following command: adb reboot bootloader
If you want to boot your Realme C21 into Recovery Mode, use the following command: adb reboot recovery
Once you run the following commands, your Realme C21 will turn off and go into Fastboot/Recovery Mode. That is all you have to do. Now you can flash factory images, custom ROMs, unlock the bootloader, and much more.
Click to expand...
Click to collapse
Source - https://www.naldotech.com/realme-c2...B,Realme C21 into Recovery Mode, use... More
STJ ANONYMOUS ! said:
You ca
You can boot into fastboot mode of C21 by executing this command through PC or a laptop.
1)Download Adb and fastboot drivers. (Skip if done)
2)Go to your device and enable usb debugging.
Then do this-
Connect your phone to your computer using a USB cable.
Open CMD/Powershell on your computer.
Run the following command to make sure the computer recognizes your Realme C21:adb devices
Now you have two choices again:
If you want to boot your Realme C21 into Fastboot Mode, use the following command: adb reboot bootloader
If you want to boot your Realme C21 into Recovery Mode, use the following command: adb reboot recovery
Once you run the following commands, your Realme C21 will turn off and go into Fastboot/Recovery Mode. That is all you have to do. Now you can flash factory images, custom ROMs, unlock the bootloader, and much more.
Click to expand...
Click to collapse
You cant boot into fastboot mode with adb shell without unlocking bootloader with deepth test app.
MrMiyamo said:
You cant boot into fastboot mode with adb shell without unlocking bootloader with deepth test app.
Click to expand...
Click to collapse
Hey, just give it a try! Maybe it works!?
STJ ANONYMOUS ! said:
Hey, just give it a try! Maybe it works!?
Click to expand...
Click to collapse
I don't know what you are striving for.
If I hadn't tried it, I wouldn't have said it wouldn't happen like this.
Finally, my device's bootloader is already unlocked by me and I've been using it as rooted for a month already.
MrMiyamo said:
I don't know what you are striving for.
If I hadn't tried it, I wouldn't have said it wouldn't happen like this.
Finally, my device's bootloader is already unlocked by me and I've been using it as rooted for a month already.
Click to expand...
Click to collapse
Well nice then!
MrMiyamo said:
I don't know what you are striving for.
If I hadn't tried it, I wouldn't have said it wouldn't happen like this.
Finally, my device's bootloader is already unlocked by me and I've been using it as rooted for a month already.
Click to expand...
Click to collapse
How did you root it than?
What recovery did you used?
What bootloader?
Nadavi said:
How did you root it than?
What recovery did you used?
What bootloader?
Click to expand...
Click to collapse
No recovery needed.
For more info, check older mesages on other threads.
MrMiyamo said:
No recovery needed.
For more info, check older mesages on other threads.
Click to expand...
Click to collapse
This method doesn't work on the C21Y, for some reason I couldn't get the "mtkutil" to recognize the device in any mode.
How did you do it?
Unplug USB cable, hold all 3 keys at the same time
While holding keys, plug usb cable when your device screen off.
Keep holding keys untill mtkclient detect your device.
Tip: Use a linux distro if mtkclient cant detect your device on windows.
Edit: Unfortunately, Realme C21Y not has same SOC as C21,
It has a Unisoc processor, mtkclient works with mediatek chipsets only.
@Nadavi

Categories

Resources