Mi A2 boot on UBS charge - Xiaomi Mi A2 / 6X Questions & Answers

How can I make my Mi A2 auto boot when charger connected?
I've tried
Code:
fastboot oem off-mode-charge 0
(This one works on my nexus 5x)
and
Code:
Fastboot oem disable-charger-screen
but none of them works
Thanks in advance!

Related

fastboot getvar stuck

So I unlocked the bootloader for my Mi8, and now I'm trying to flash MIUI Global visa fastboot.
I'm running Linux and using USB2.0 with original cable and fastboot version 9.0.0_r30
When I type
Code:
fastboot devices
I can see that the phone is connected.
But when I try
Code:
fastboot getvar all
or any parameter for getvar , it just get stuck. By that I mean, the fastboot process hangs in there for a while and cannot be stopped with Crtl+C.
Also note that
Code:
fastboot oem device-info
works fine.
Another thing I noticed, when I repeate multiple instances of fastboot devices or oem device-info I get the 'press any key to shutdown'.
I'm not sure what is the problem. Any thoughts? I tried rebooting and changing USB ports but didn't help.
Bump

problems with miFlash firmware

Mi A2 converted to 6X
when trying to go back
can read from port com** :
h3lp pls
witalker said:
Mi A2 converted to 6X
when trying to go back
can read from port com** :
h3lp pls
Click to expand...
Click to collapse
Hey!!! Just flash in EDL Mode, enter in fastboot mode "fastboot oem edl" command then flash. That worked to me, hope works to you as well
ibra10 said:
Hey!!! Just flash in EDL Mode, enter in fastboot mode "fastboot oem edl" command then flash. That worked to me, hope works to you as well
Click to expand...
Click to collapse
does not work

Instaling gcam manually giving error please help me

Hi, i came from mi A1 to A2, so i am facing problems with installing gcam with the same procedure as i followed on mi a1. But i looks like in MI A2 xiaomi has changed something.
Steps i did:
//for unlocking
1. unable oem unlock in developer options.
2. adb devices
3. adb reboot bootloader
4. fastboot oem unlock
//Again in fastboot we are unlocking critical partitions, and once again it will erase verything from the phone, so be sure to do the backup as needed.
5. fastboot flashing unlock_critical
//for enabling cam api2
1. In fastboot mode.
2. fastboot devices
3. fastboot getvar current-slot
4. fastboot boot twrp.img(official twrp for mi a2 for temp booting twrp)
also in twrp internal sdcard folder shows encrypted type folders why? and can't paste anything in sdcard folder?why?
5. installed magisk.zip from usb otg in twrp
6. fastboot reboot
7.adb shell
8.su
9.setprop persist.camera.HAL3.enabled 1
10.setprop persist.vendor.camera.HAL3.enabled 1
11.setprop persist.camera.stats.test 5
12.setprop persist.vendor.camera.stats.test 5
13.exit
14.reboot
15.unistalled magisk completely
everything till here works perfectly,, but when in fastboot i lock bootloader again by typing this command
#fastboot oem lock
also holding power down button while typing command
but still it again asks for factory reset, what i am doing here ? so that it doesn't factory reset again after locking bootloader? In mi A1 this works fine.
On mi a2, this trick does not work. It will wipe all data.
Yeah oem unlock or lock no matters you need to do factory reset
Maharram said:
Yeah oem unlock or lock no matters you need to do factory reset
Click to expand...
Click to collapse
so that means i can't install gcam with bootloader locked? or after reset camera 2 api remains enable?
Tashfin Shakeer Rhythm said:
On mi a2, this trick does not work. It will wipe all data.
Click to expand...
Click to collapse
so that means i can't install gcam with bootloader locked? or after reset camera 2 api remains enable?
vasu1 said:
so that means i can't install gcam with bootloader locked? or after reset camera 2 api remains enable?
Click to expand...
Click to collapse
I think yeah you can't install and also enabling gcam is modifying your system and u can't install any system updates with gcam enabled. So why u want to relock bootloader?

Phone bootloop, FRP locked

Hi guys....the phone is bricked.. but it comes in bootloop only when is on charge or connected to a laptop... If it is disconnected from the previus solution it dont turn on. I can only enter in fastboot mode but adb dont find the device as the image attached...thanks for the solutions.
diablod said:
Hi guys....the phone is bricked.. but it comes in bootloop only when is on charge or connected to a laptop... If it is disconnected from the previus solution it dont turn on. I can only enter in fastboot mode but adb dont find the device as the image attached...thanks for the solutions.
Click to expand...
Click to collapse
In Fastboot you cannot use adb commands but fastboot commands like:
Code:
fastboot devices
PAUSE
fastboot oem get-bootinfo
PAUSE
fastboot oem get-psid
PAUSE
fastboot oem get_hwnff_ver
PAUSE
fastboot oem hwdog certify begin
PAUSE
fastboot oem get-product-model
PAUSE
fastboot oem get-build-number
PAUSE
fastboot oem oeminforead-SYSTEM_VERSION
PAUSE
fastboot getvar vendorcountry
PAUSE
REM fastboot getvar rescue_enter_recovery
PAUSE
fastboot reboot
Some will probably not work with BL and FRP locked.
Your best bet is DC Phoenix, they can even unlock FRP without entering to System.
Discuss with them in advance, to know how many credits you must buy:
https://www.dc-unlocker.com/DC-Phoenix-flash-repair-tutorial
Thanks you for the answer...but, I don't understand why the phon don't start if it is unplugged from laptop or charger... If it is plug in pc it came only in bootloop or fastboot ..
Help guys.... I have bought 15 credits from DC unlocking but my P9 is not supported... I receive this message...
Ask them for help, you must first unlock FRP and for that you have to use HCU client:
http://hcu-client.com/
I never had to use HCU Client but people reported that they bought credits at DC and used for both HCU and FRP
diablod said:
Hi guys... I want to unlock a bootloader of my p9. I have bought a credits from DC unlocking but it don't works because my phone is not supported.. are any others methods to unlock a bootloader?
My phone is bricked and start only in fastboot and rescue mode..
Thanks
Click to expand...
Click to collapse
There are:
https://funkyhuawei.club/
https://chimeratool.com/
https://ministryofsolutions.com/huawei-bootloader-unlock-paid-service-html
https://t.me/joinchat/MtyvC0TmAuRnwZ0cimIEag
Hi, did you manage to revive your p9? Im experiencing the same issue
I used test point. Search huawei p9 test point xda. It worked . All software are free. Only problem is that I can't get it's updates . I'm looking for a way to update to nougat. https://forum.xda-developers.com/p9/how-to/solution-dead-p9-bootloader-locked-fpr-t3997631/amp/
I bricked mine in a failed downgrade

Question Mi 11 fastboot

guys after putting the 12.5 on mi 11 I am left with the screen in fastboot how do I solve? thank you
I think you stuck in fastboot and just someone with an edl account can help you.
there are a few other users with same problem.
you can try:
fastboot oem unlock
fastboot boot system
fastboot reboot
Telegram: https://t.me/xiaomi_auth for EDL Support

Categories

Resources