fastboot oem off-mode-charge 0 Ressetting back to “1” - Xiaomi Redmi 4a Questions & Answers

Using "Gzosp-rolex-riva-8.1.0.Stable.1.0-UNOFFICIAL-20180622-1133" on "Redmi 4A"
Upon Using
Code:
fastboot oem off-mode-charge 0
its working for ONE TIME only,
Once the phone powered on, its getting back to
Code:
fastboot oem off-mode-charge 1
Can Anyone please solve this ??
( OEM Unlocked & Rooted )

Related

Is there a fastboot command for hare reset/reboot manualy?

Hey.
I'd like to know if there's any fastboot command for manually reboot/hard reset (reboot from "rebootRUU" mod - by pressing vol- + power)
Thanks
Code:
fastboot reboot-bootloader
Code:
fastboot reboot-recovery
Code:
fastboot reboot
Those are the fastboot reboot option...
In which state is your phone?

[Q] Lack of input in bootloader

Hi,I have a problem with bootloader ,I can not get to it by combinations power+vol+ or power + vol- is my google log unless it is bootloop I wanted to come back with version google edition on sense, I wanted to go back to stock possessed s-off or unlocked bootloader so I uploaded 1.28.401.7 firmware mode oem rebootRUU
Copy downloaded .zip to adb location (e.g. c:/android-sdk/platform-tools/)
Re-name .zip file to HTC.zip
Connect device to the PC.
Open command prompt; cd to HTC.zip location (cd c:/android-SDK/platform-tools/)
Type: fastboot reboot-bootloader or boot your device in fastboot mode (vol down + power ===> fastboot)
Make sure you have correct modeid and cidnum (type: fastboot getvar all)
Type: fastboot oem rebootRUU and wait for device to reboot
Type: fastboot flash zip HTC.zip and wait for process to complete
Sometimes flashing for the first time doesn't work, so flash HTC.zip again just to make sure.
Type: fastboot flash zip HTC.zip and wait for process to complete
Type: fastboot reboot.
and after uploading successfully,standing on the log google,and I can not enter the bootloader sorry for my english
delete

Verizon Desire 626

Need help to unlock bootloader. Htcdev website says get_identifier_token. Issue command in fastboot and I get C:\Users\Dvine\Desktop\ADB>fastboot oem get_identifier_token
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.107s]
finished. total time: 0.123s
There seems to be 2 fastboot modes. One when I reboot to bootloader and I get fastboot to detect device. Different message than in the download mode, it has a recovery like menu but the options are different. There is one for usb-debug mode which just reboots the phone. I get the killswitch message in download mode, in the white screen after reboot bootloader I get C:\Users\Dvine\Desktop\ADB>fastboot oem get_identifier_token
...
FAILED (remote: unknown command)
finished. total time: 0.037s
3days of playing in adb shell and there is no root shell. adb root dose nothing nor an error. adb shell, then su gives an error that it dosen't exists. Anything to point me in some direction would be awesome
Update
DvineGem said:
Need help to unlock bootloader. Htcdev website says get_identifier_token. Issue command in fastboot and I get C:\Users\Dvine\Desktop\ADB>fastboot oem get_identifier_token
...
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.107s]
finished. total time: 0.123s
There seems to be 2 fastboot modes. One when I reboot to bootloader and I get fastboot to detect device. Different message than in the download mode, it has a recovery like menu but the options are different. There is one for usb-debug mode which just reboots the phone. I get the killswitch message in download mode, in the white screen after reboot bootloader I get C:\Users\Dvine\Desktop\ADB>fastboot oem get_identifier_token
...
FAILED (remote: unknown command)
finished. total time: 0.037s
3days of playing in adb shell and there is no root shell. adb root dose nothing nor an error. adb shell, then su gives an error that it dosen't exists. Anything to point me in some direction would be awesome
Click to expand...
Click to collapse
So I have found that the root user UID is 1000. ADB shell id: uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(ad
b),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),300
6(net_bw_stats) context=u:r:shell:s0

Question 'fastboot oem unlock' failing with remote: 'unknown command'

I just got my OnePlus 10 Pro, and am trying to unlock the bootloader. I've enabled USB debugging, and enabled the option to allow the bootloader to be unlocked in the Developer Settings.
I ran `adb reboot bootloader`, then ran `fastboot devices` to confirm the phone was connected and visible.
When I try to run `fastboot oem unlock`, I get this response:
Code:
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Fastboot version if necessary:
Code:
C:\Windows\system32>fastboot --version
fastboot version 33.0.2-8557947
Installed as C:\Program Files\Android Platform Tools\fastboot.exe
Thanks!
Fastboot flashing unlock
Awesome, thank you very much!

Question OnePlus 10 Pro Bootloader Unable to unlock [NE2215]

Hi,
I am trying to unlock the bootloader as it show status as "Device Lock"
When I try to use the command "fastboot oem unlock", it showed
"
...
FAILED (remote: unknown command)
finished. total time: 0.001s
I then tried "fastboot flashing unlock" but it showed this
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
recovery
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> [ <second> ] ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> [ <second> ] ] create bootimage and
flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
formatting
-s <specific device> specify device serial number
or path to device port
-l with "devices", lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
Any solution to this?
fastboot flashing unlock
Make sure your platform tools are up to date as well - https://developer.android.com/studio/releases/platform-tools
Still the same. This is what I kept getting
When you type in fastboot press tab and it'll populate the actual filename.
I get this with certain setups. Same with ADB, just press tab after typing fastboot or ADB then continue with the same commands as you have..
Could just be your fastboot/ADB files.
. I've got the ones I use in my root guide in this forum, grab it and pop it in the root of C then give it another shot.
Hope you get it sorted
Jcddenton said:
Still the same. This is what I kept getting
Click to expand...
Click to collapse
Don't use PowerShell. Use command prompt. People using PS report nothing but problems.
You go into developer options and tick oem_unlock on?
EtherealRemnant said:
Don't use PowerShell. Use command prompt. People using PS report nothing but problems.
Click to expand...
Click to collapse
The above is what I have experienced myself.. Only ever happens with PS never CMD, not the end of the world though
Did this issue get resolved ? I am having the same issue. I am using CMD in admin mode.
Update your platform-tools. I had the same issue trying to unlock my pixel 7.
az_r2d1 said:
Did this issue get resolved ? I am having the same issue. I am using CMD in admin mode.
Click to expand...
Click to collapse
Everything you need is linked in my sig
Unlock oem from setting
ok, I figured out my issue. The root cause was the usb cable I was using. I used the oem cable that came with the 6t. IT refused to recognize the phone in bootloader mode ! As soon as I used an aftermarket stock usb-c cable, my pc recognized the phone in bootloader mode !
az_r2d1 said:
ok, I figured out my issue. The root cause was the usb cable I was using. I used the oem cable that came with the 6t. IT refused to recognize the phone in bootloader mode ! As soon as I used an aftermarket stock usb-c cable, my pc recognized the phone in bootloader mode !
Click to expand...
Click to collapse
In his case he is actually getting connect currently and it's visible..
As it's an unknown command then it's probably due to PowerShell,, when you type in the command, eg:
fastboot reboot
It won't see the word fastboot itself as the correct command. To fix this just click tab once and it'll populate it's actual name from the list of files in the active folder, so in actual fact the command would be
.\fastboot.exe reboot
Same thing with ADB as a command.
.\adb.exe devices
Just pressing the tab key would do the job.
Or just use CMD and navigate to the folder you'd like to be active
I'm afraid I don't understand. Brand new 10 Pro, have tried multiple cables, OEM unlocked, boot into fastboot and type "fastboot oem unlock" and it returns "FAILED (remote: 'unknown command')
I can't figure out from this thread whether anyone has a solution. I'm not using powershell, cables changed, so I'm clueless....and don't want to set up the 10 Pro knowing that (hopefully) it will be wiped when the bootloader is unlocked.
Many thanks for any help!
BeachNYC said:
I'm afraid I don't understand. Brand new 10 Pro, have tried multiple cables, OEM unlocked, boot into fastboot and type "fastboot oem unlock" and it returns "FAILED (remote: 'unknown command')
I can't figure out from this thread whether anyone has a solution. I'm not using powershell, cables changed, so I'm clueless....and don't want to set up the 10 Pro knowing that (hopefully) it will be wiped when the bootloader is unlocked.
Many thanks for any help!
Click to expand...
Click to collapse
Install platform tools, go into the directory that platform tools was installed, and run adb and fastboot thru that, i was getting same error and then went from directory platform tools was unzipped at and it worked fine...fastboot flashing unlock though
fastboot flashing unlock don't work for me!
adb is ok
fastboot reboot and fasboot devices is ok all commands
but not fastboot flashing unlock! on power shell or cmd always the same!
no error just the list
i test different cable or usb plug
i go crazy...
Damned fastboot flashing unlock passed. Don't ask me when. verified all 10 time and voilà !?
First time I like erase all my data
Just CMD like the undred before, but why this time?
I don't know really.
Though lock.

Categories

Resources