AutoBoot, AutoTurnON, AutoStart on power (AC) plug - PLEASE HELP - Xiaomi Redmi Note 4 Questions & Answers

Hello All Smart People
I am trying to set up my phone to start up after connecting USB power to the phone.
XIAOMI Redmi Note 4 Snapdragon 7.0 NRD90M MIUI Global 9.2.1.0 (NCFMIEK)
Bootloader is unlocked. Phone is ROOTED.
I tested solutions:
1. XDA - Fastboot Commands - https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
2. Tasker software
and many more - without success.
I've used probably all possible solutions on the Internet
I am confused with the request to users who have made XIAOMI Note 4 turn on after connecting a USB cable with power supply.
I will be very grateful.

Pl check at ( but it needs experience of bootloader unlocking, rooting, boot image extraction , unpacking and repacking of boot image.)
https://forum.xda-developers.com/ga...o-boot-charge-connected-t3626364#post78472845

Hi,
I tried for a long time to modify Xiaomi devices for boot on charger. Finally I did it. This procedure works for MIUI, I did succesfully on Redmi 2, Redmi Note 4, Redmi Note 6 Pro. This method works modifing "init.rc" file, I tried modifing the "charger" file but without results.
1 - download the fastboot ROM you want to flash to phone and extract it on pc to take the images/boot.img file to mod, you can also take it from TWRP backup.
2 - download Android.Image.Kitchen.v3.6-Win32 and extract it, drag and drop the boot.img file on /Android Image Kitchen/unpackimg.bat, go to a new folder created ramdisk and edit by Notepad++ the init.rc file replacing:
Code:
on charger
class_start charger
with:
Code:
on charger
setprop ro.bootmode "normal"
setprop sys.powerctl "reboot"
and save it.
3 - Go to /Android Image Kitchen/ and run repackimg.bat, rename image-new.img to boot.img and replace or copy it to ROM folder images/
4 - Flash the modded ROM by fastboot (XiaomiMiFlash) or restore backup by TWRP recovery.

it is possible to add some script that will check if battery is higher than 10% then boot up ? and if lower will charge till 10 ?
this protect from bootlop when battery is completley discharged

You can instruct init to reboot the device whenever charger mode is detected. Create a new .rc file or edit any existing one:
# /system/etc/init/off_mode_charge.rc
on charger
setprop sys.powerctl reboot,leaving-off-mode-charging
Source:
Automatically power on Android when the charger is connected
Is it possible to automatically power on the device once the charger is connected given that the device is initially turned off?
android.stackexchange.com

malinowskimm said:
Hello All Smart People
I am trying to set up my phone to start up after connecting USB power to the phone.
XIAOMI Redmi Note 4 Snapdragon 7.0 NRD90M MIUI Global 9.2.1.0 (NCFMIEK)
Bootloader is unlocked. Phone is ROOTED.
I tested solutions:
1. XDA - Fastboot Commands - https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
2. Tasker software
and many more - without success.
I've used probably all possible solutions on the Internet
I am confused with the request to users who have made XIAOMI Note 4 turn on after connecting a USB cable with power supply.
I will be very grateful.
Click to expand...
Click to collapse
Did it work

malinowskimm said:
Hello All Smart People
I am trying to set up my phone to start up after connecting USB power to the phone.
XIAOMI Redmi Note 4 Snapdragon 7.0 NRD90M MIUI Global 9.2.1.0 (NCFMIEK)
Bootloader is unlocked. Phone is ROOTED.
I tested solutions:
1. XDA - Fastboot Commands - https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
2. Tasker software
and many more - without success.
I've used probably all possible solutions on the Internet
I am confused with the request to users who have made XIAOMI Note 4 turn on after connecting a USB cable with power supply.
I will be very grateful.
Click to expand...
Click to collapse
Did it work anyone

hey to all
Any success on this? I need this feature on Redmi Note 11

kenuser said:
Hi,
I tried for a long time to modify Xiaomi devices for boot on charger. Finally I did it. This procedure works for MIUI, I did succesfully on Redmi 2, Redmi Note 4, Redmi Note 6 Pro. This method works modifing "init.rc" file, I tried modifing the "charger" file but without results.
1 - download the fastboot ROM you want to flash to phone and extract it on pc to take the images/boot.img file to mod, you can also take it from TWRP backup.
2 - download Android.Image.Kitchen.v3.6-Win32 and extract it, drag and drop the boot.img file on /Android Image Kitchen/unpackimg.bat, go to a new folder created ramdisk and edit by Notepad++ the init.rc file replacing:
Code:
on charger
class_start charger
with:
Code:
on charger
setprop ro.bootmode "normal"
setprop sys.powerctl "reboot"
and save it.
3 - Go to /Android Image Kitchen/ and run repackimg.bat, rename image-new.img to boot.img and replace or copy it to ROM folder images/
4 - Flash the modded ROM by fastboot (XiaomiMiFlash) or restore backup by TWRP recovery.
Click to expand...
Click to collapse
Works for me. Anyway how to auto off when charger is unplugged?

Related

Need help with bricked kenzo

I know there is few hundered threads with "unbrick" in title but I read them all and nothing seems to work.
Friend brings me kenzo that he gets since his cousin brick it while trying OTA.
When I power phone its start to load system and it has 3 stages:
1. Show screen with "powered by Android" and 3 dots in the bottom, usualy about 4 min and restart
2. After restart just get black screen with Mi logo in the middle, for about 30 sec and restart
3. Instead of Android with dots bottom have white line progres bar, it takes 4 to 5 min and restart again.
After that stage 2 and 3 repeat for long as you have nervs to wait .
Phone can get in recovery and fastboot mode. And when I put him in test mode just show test screen and cant do anything.
In fastboot mode MiFlash recognize phone but report "device is locked" (try with 20160401 and 20160830).
After that i put him in EDL mode (fastboot reboot-edl) and MiFlash report successful flash. But nothing changes.
I try flashing global stable v8.0.5.0, china stable v8.0.4.0, global dev v6.10.13 and at the end global stable v7.2.5.0.
Any idea welcome. Thx
Have you tried to unlock bootloader? Perhaps install TWRP and do a system/dalvik/cache wipe and install MIUI through that?
banana_bender said:
Have you tried to unlock bootloader? Perhaps install TWRP and do a system/dalvik/cache wipe and install MIUI through that?
Click to expand...
Click to collapse
Cant do that. Even unofficial unlock need phone to be working to enable USB debbuging and accept RSA kay from PC.
Edit: Right now looking for ways to edit boot.img to unlock bootloader in attempt to get any useful recovery.
you can try this guide to flash twrp altogether with rom. after flashing, directly boot to twrp and move to custom rom
abihary said:
you can try this guide to flash twrp altogether with rom. after flashing, directly boot to twrp and move to custom rom
Click to expand...
Click to collapse
I will try... but dont think it will do the job. Will post result little later.
EDIT
It dose not work, just as I think.
All that kind of method/advice need 2 things:
1. Enabled USB debbuging - You cant do that on bricked phone even if you edit boot.img ( ro.debuggable=1 ) because fastboot will not execute command since you will not have option to accept RSA kay from PC on your phone and complete that action.
2. Dev ROM - since you have to enable OEM unlock and that option you have only in dev ROMs. Even Xiaomi official unlock requires that you must do it on dev ROM and that is a reason for "stuck on 50% in unlocking".
I try all that I can think: edit boot.img file, use patch emmc_appsboot.mbn, use edited flash_all.bat and rawprogram0.xml, insert sTWRP and ZCX TWRP in fastboot ROM... and all combination of that. Did it on 7.2.5.0 and 8.0.5.0 stable and 6.8.18 dev (since its last 5.1 ROM that I have).
Most of this attempts ends with "3 stages" explained in the first post. Some just show Mi logo for few sec and restart, once even power off phone. And once I even get phone to go directly to sideload/recovery state showing picture of the phone and usb cable.
Only thing left now is to find info is there difference in accessing to EDL mode between software (reboot-edl), deep flash cable and testpoint. IMHO there is none or little difference. Since software and deep flash can be troubled with bad USB cable or connector or USB board in phone.

aptX on note4 possible?

ive read conflicting reports.. some saying that its physically impossible on snapdragon 625 devices, and others stating that its possible on unsupported devices with specific roms. Anyone care to shed some light for me?
aptX is a proprietary codec; inclusion to a device requires the vendor to pay licensing fees to Qualcomm. So, if vendor doesn't do that, we shouldn't do it either.
Sent from my Redmi Note 4 using XDA Labs
Yes,it is possible. I had aptX working on nougat but it just refuses to work on oreo for some reason.
If you re on nougat just look up for aptx.zip somewhere on xda ..oneplus 3 forums if I remember corectly.
ok understood!
ive just built a nice new high end soundsystem, and included an apt-x bluetooth receiver.. would be a crying shame if my phone didnt support it. I ordered this phone 2 days ago, assuming casually that all modern bluetooth devices would support aptx.
Nope,they actually don't. There are many new/old phones(even flagships) that don't support APTX
I've got aptx working on oreo as well. You just have to flash a custom rom and then flash aptx from here : https://forum.xda-developers.com/on...-aptx-aptxhd-oreo-beta-25-16-op-3-3t-t3690363
Thanks everyone. seems positive.
one thing i dont understand. if its just a codec, which needs licensing, why do qualcomm specify it as only being supported by certain cpus?
see here under "audio technology" :
https://www.qualcomm.com/products/snapdragon/processors/comparison
snapdragon 625 notably doesnt list aptx
Robert- said:
Yes,it is possible. I had aptX working on nougat but it just refuses to work on oreo for some reason.
If you re on nougat just look up for aptx.zip somewhere on xda ..oneplus 3 forums if I remember corectly.
Click to expand...
Click to collapse
On miui or lineage?
jimger said:
On miui or lineage?
Click to expand...
Click to collapse
It works on both. There's a Magisk module for that
I have tried one on miui nougat and doesn't seem to work
Noter2017 said:
It works on both. There's a Magisk module for that
Click to expand...
Click to collapse
Sent from my Redmi Note 4 using Tapatalk
aptx working solution on Redmi Note 4 (india) snapdragon
robinlawrie said:
ive read conflicting reports.. some saying that its physically impossible on snapdragon 625 devices, and others stating that its possible on unsupported devices with specific roms. Anyone care to shed some light for me?
Click to expand...
Click to collapse
[Aptx was already working on my Redmi 2, 8GB ROM, 1GB RAM (Model HM 2014811) after installing CM 14.1 & Aptx through TWRP, (but it was not working on MIUI 6, CM11)]
In case of Redmi Note 4 the following method is successful.
Existing conditions:
Phone: Redmi Note 4 (India, i.e. Snapdragon), MIUI 10 from mido_global_images_8.7.26_20180726.0000.00_7.0_global_9529295baa.tgz
Fresh installed without setting any screen lock, password, finger print , google account Mi account (this is suspected to lead to data corruption, if it happens we have to flash above MIUI10 full fastboot ROM again, hence all files better to be saved on external SD Card)
Windows : Windows 10 v1707, 64 bit , Pda net installed.
Apps / programs required : may be googled and downloaded
Major Activities Involved
A. Unlocking of boot loader
B. (i) Installation of TWRP v3.2.2.0-mido.img (recovery suitable to Redmi Note 4 SnapDragon)
(ii) Installation of [Mido][Material][Twrp-Treble][3.2.1-10].zip (recovery suitable to Redmi Note 4 SnapDragon by Jairus980)
C. (i) Installation of lineage-15.1-20180807-nightly-mido-signed.zip (ROM suitable to Redmi Note 4 SnapDragon)
(ii) Installation of open_gapps-arm64-8.1-nano-20180812.zip (gapps suitable to arm64)
(iii) Installation of Magisk-v16.7_Bundle.zip (both magisk & magisk manager for getting rooted)
(iv) Installation of REVOLT.EAS-R13-20180722-2040.zip (kernel after 20.07.2018)
(v) Installation of aptX-oreo.zip
(vi) Installation of Apt-X_HD_Port_by_androidexpert35.zip
(vii) Installation of aptX-HD_OreoEnabler.zip
(viii) Installation of lazyflasher-no-verity-opt-encrypt.zip (for no-verity-opt-encrypt)
A. Unlocked boot loader
Official method (The process is simplified and the permission is granted automatically. You don't have to fill in any application form or wait for the SMS anymore)-successful on my Redmi Note 4 SD.
1. Settings---> About phone---> MIUI Version (Keep tapping it to enable developer option).
2. Settings---> Additional settings---> Developer option and bind your approved Mi account under Mi Unlock Status.
3. Go to https://en.miui.com/unlock/ and click on unlock now , change english , log in to mi your account (on pc_) , Download mi unlock to pc, unzip it , open mi unlock (on PC) log into the Mi account which has acquired unlocking permission on your device.
4. When you logged into the Mi Unlock Tool, tap on the top right gear icon to check the update for both USB driver and Mi Unlock Tool. Make sure you're running the latest version.
5. Turn off your device, press the Power button and Volume - button at the same time to enter bootloader mode
6. Log into the unlocking tool on PC with the same Mi account. Connect the device to the PC using USB cable
7. Press 'Unlock'. Press Unlock anyway, The unlocking process will complete in about 10 seconds (sr no 4, 5, 6 & 7 repeated twice, as unlocking hanged at 99% )
B. (i) Installation of TWRP (img file)
1. Install minimal_adb_fastboot_v1.4_setup.exe on PC and note down the installed directory.
2. Copy twrp v3.2.2.0-mido.img (recovery suitable to Redmi Note 4 SnapDragon) to above directory and rename it to recovery.img (all small letters without any spaces in between) or any other name for the sake of easiness.
3. Bring the Phone to fastboot (i.e. bootloader) mode (method: while the phone is in switched off condition press volume down and power button simultaneously still the phone is entered into fastboot mode [Bunny picture appears])
4. Launch Minimal ADB and Fastboot on PC execute command
fastboot flash recovery recovery.img
5. Press and hold volume up and power button simultaneously but release only power button after 8 to 15 seconds of restart and appearance mi logo and release volume button after TWRP appears.
(ii) Installation of TWRP by Jairus980
1. Install [Mido][Material][Twrp-Treble][3.2.1-10].zip (recovery suitable to Redmi Note 4 SnapDragon by Jairus980) and wipe catche
2. Press and hold volume up and power button simultaneously but release only power button after 8 to 15 seconds of restart and appearance mi logo and release volume button after TWRP Recovery Project (i.e. TWRP by Jairus980) appears.
C. (i) wipe>advanced>select all except internal storage>wipe
(ii) Install “ lineage-15.1-20180807-nightly-mido-signed.zip” (ROM suitable to Redmi Note 4 SnapDragon) and wipe catche
(iii) Install “open_gapps-arm64-8.1-nano-20180812.zip” (gapps suitable to arm64) and wipe catche
(iii) Install “Magisk-v16.7_Bundle.zip” (both magisk & magisk manager for getting rooted) and wipe catche
(iv) Install (only after installation magisk) “REVOLT.EAS-R13-20180722-2040.zip” (kernel after 20.07.2018) and wipe catche
(v) Install (only after installation magisk) “aptX-oreo.zip” and wipe catche
(vi) Install (only after installation magisk) “AptX_HD_Port_by_ androidexpert 35.zip” and wipe catche
(vii) Install (only after installation magisk) “aptX-HD_OreoEnabler.zip” and wipe catche
(viii) Install at last but very important “lazyflasher-no-verity-opt-encrypt.zip” (for no-verity-opt-encrypt to be installed at last to avoid any over writing) and wipe catche
Reboot system
It will restart once, if taking more time switch off and switch on once
After the phone is on, click 7 times on build number to enable Developer options (settings>about phone> build number)
Redmi Note 4 SD Oreo 8.1 connected to Avantree Oasis (restart phone if any Bluetooth connection problem happens) in AptX mode can be seen picture
Not yet checked, but expect it will function even if unrooted.
Final success APTX Working with MIUI itself
knreddy said:
[Aptx was already working on my Redmi 2, 8GB ROM, 1GB RAM (Model HM 2014811) after installing CM 14.1 & Aptx through TWRP, (but it was not working on MIUI 6, CM11)]
In case of Redmi Note 4 the following method is successful.
Existing conditions:
Phone: Redmi Note 4 (India, i.e. Snapdragon), MIUI 10 from mido_global_images_8.7.26_20180726.0000.00_7.0_global_9529295baa.tgz
Fresh installed without setting any screen lock, password, finger print , google account Mi account (this is suspected to lead to data corruption, if it happens we have to flash above MIUI10 full fastboot ROM again, hence all files better to be saved on external SD Card)
Windows : Windows 10 v1707, 64 bit , Pda net installed.
Apps / programs required : may be googled and downloaded
Major Activities Involved
A. Unlocking of boot loader
B. (i) Installation of TWRP v3.2.2.0-mido.img (recovery suitable to Redmi Note 4 SnapDragon)
(ii) Installation of [Mido][Material][Twrp-Treble][3.2.1-10].zip (recovery suitable to Redmi Note 4 SnapDragon by Jairus980)
C. (i) Installation of lineage-15.1-20180807-nightly-mido-signed.zip (ROM suitable to Redmi Note 4 SnapDragon)
(ii) Installation of open_gapps-arm64-8.1-nano-20180812.zip (gapps suitable to arm64)
(iii) Installation of Magisk-v16.7_Bundle.zip (both magisk & magisk manager for getting rooted)
(iv) Installation of REVOLT.EAS-R13-20180722-2040.zip (kernel after 20.07.2018)
(v) Installation of aptX-oreo.zip
(vi) Installation of Apt-X_HD_Port_by_androidexpert35.zip
(vii) Installation of aptX-HD_OreoEnabler.zip
(viii) Installation of lazyflasher-no-verity-opt-encrypt.zip (for no-verity-opt-encrypt)
A. Unlocked boot loader
Official method (The process is simplified and the permission is granted automatically. You don't have to fill in any application form or wait for the SMS anymore)-successful on my Redmi Note 4 SD.
1. Settings---> About phone---> MIUI Version (Keep tapping it to enable developer option).
2. Settings---> Additional settings---> Developer option and bind your approved Mi account under Mi Unlock Status.
3. Go to https://en.miui.com/unlock/ and click on unlock now , change english , log in to mi your account (on pc_) , Download mi unlock to pc, unzip it , open mi unlock (on PC) log into the Mi account which has acquired unlocking permission on your device.
4. When you logged into the Mi Unlock Tool, tap on the top right gear icon to check the update for both USB driver and Mi Unlock Tool. Make sure you're running the latest version.
5. Turn off your device, press the Power button and Volume - button at the same time to enter bootloader mode
6. Log into the unlocking tool on PC with the same Mi account. Connect the device to the PC using USB cable
7. Press 'Unlock'. Press Unlock anyway, The unlocking process will complete in about 10 seconds (sr no 4, 5, 6 & 7 repeated twice, as unlocking hanged at 99% )
B. (i) Installation of TWRP (img file)
1. Install minimal_adb_fastboot_v1.4_setup.exe on PC and note down the installed directory.
2. Copy twrp v3.2.2.0-mido.img (recovery suitable to Redmi Note 4 SnapDragon) to above directory and rename it to recovery.img (all small letters without any spaces in between) or any other name for the sake of easiness.
3. Bring the Phone to fastboot (i.e. bootloader) mode (method: while the phone is in switched off condition press volume down and power button simultaneously still the phone is entered into fastboot mode [Bunny picture appears])
4. Launch Minimal ADB and Fastboot on PC execute command
fastboot flash recovery recovery.img
5. Press and hold volume up and power button simultaneously but release only power button after 8 to 15 seconds of restart and appearance mi logo and release volume button after TWRP appears.
(ii) Installation of TWRP by Jairus980
1. Install [Mido][Material][Twrp-Treble][3.2.1-10].zip (recovery suitable to Redmi Note 4 SnapDragon by Jairus980) and wipe catche
2. Press and hold volume up and power button simultaneously but release only power button after 8 to 15 seconds of restart and appearance mi logo and release volume button after TWRP Recovery Project (i.e. TWRP by Jairus980) appears.
C. (i) wipe>advanced>select all except internal storage>wipe
(ii) Install “ lineage-15.1-20180807-nightly-mido-signed.zip” (ROM suitable to Redmi Note 4 SnapDragon) and wipe catche
(iii) Install “open_gapps-arm64-8.1-nano-20180812.zip” (gapps suitable to arm64) and wipe catche
(iii) Install “Magisk-v16.7_Bundle.zip” (both magisk & magisk manager for getting rooted) and wipe catche
(iv) Install (only after installation magisk) “REVOLT.EAS-R13-20180722-2040.zip” (kernel after 20.07.2018) and wipe catche
(v) Install (only after installation magisk) “aptX-oreo.zip” and wipe catche
(vi) Install (only after installation magisk) “AptX_HD_Port_by_ androidexpert 35.zip” and wipe catche
(vii) Install (only after installation magisk) “aptX-HD_OreoEnabler.zip” and wipe catche
(viii) Install at last but very important “lazyflasher-no-verity-opt-encrypt.zip” (for no-verity-opt-encrypt to be installed at last to avoid any over writing) and wipe catche
Reboot system
It will restart once, if taking more time switch off and switch on once
After the phone is on, click 7 times on build number to enable Developer options (settings>about phone> build number)
Redmi Note 4 SD Oreo 8.1 connected to Avantree Oasis (restart phone if any Bluetooth connection problem happens) in AptX mode can be seen picture
Not yet checked, but expect it will function even if unrooted.
Click to expand...
Click to collapse
Mobile OS: MIUI 10 Global 8.7.26 Beta or MIUI 9 V9.0.5.0.NCFMIEI_20171113.0000.00_7.0
Android 7.0
Phone Model : Redmi Note 4 (India) Snapdragon, 4GB RAM, 64GB ROM = Redmi Note 4X
PC Windows 10 64 bit
1) MIUI 10 Global 8.7.26 Beta Fastboot ROM was flashed after boot unlocked in fastboot mode
{there was trouble in unlocking the bootloader after mainboard replacement due to weak IR blater, with MIUI 9 can't verify account and in MIUI 10 error 20091 etc but solved by installing MIUI 8 (mido_global_images_V8.2.4.0.MCFMIDL_20170407.0000.00_6.0) immediately account was bound and after 72 hours it was possible to unlock , during this period flashing was done on test point mehod as deep flash also locked and it cannot boot with MIUI 7}
2) twrp-3.2.2-0-mido flashed in fastboot mode & immediately entered into Recovery mode (twrp) (Do not boot to android otherwise MIUI will replace twrp recovery with original recovery)
3) installed Magisk-v16.7_Bundle.zip at TWRP
4) Installed APTX-enabler-twrp.zip at TWRP
5) Installed lazyflasher-no-verity-opt-encrypt.zip (to avoid boot loop or replacement twrp with original recovery file)
Now Phone is booted to system , first time android starting took time
6) magisk app opened and Magisk16-Nougat-AptX.zip installed with Add Module section
Rebooted Android
NOW APTX STARTED WORKING ON REDMI NOTE 4 MIUI 10 or MIUI 9
most of the credit goes to participants at 4PDA
knreddy said:
Mobile OS: MIUI 10 Global 8.7.26 Beta or MIUI 9 V9.0.5.0.NCFMIEI_20171113.0000.00_7.0
Android 7.0
Phone Model : Redmi Note 4 (India) Snapdragon, 4GB RAM, 64GB ROM = Redmi Note 4X
PC Windows 10 64 bit
1) MIUI 10 Global 8.7.26 Beta Fastboot ROM was flashed after boot unlocked in fastboot mode
{there was trouble in unlocking the bootloader after mainboard replacement due to weak IR blater, with MIUI 9 can't verify account and in MIUI 10 error 20091 etc but solved by installing MIUI 8 (mido_global_images_V8.2.4.0.MCFMIDL_20170407.0000.00_6.0) immediately account was bound and after 72 hours it was possible to unlock , during this period flashing was done on test point mehod as deep flash also locked and it cannot boot with MIUI 7}
2) twrp-3.2.2-0-mido flashed in fastboot mode & immediately entered into Recovery mode (twrp) (Do not boot to android otherwise MIUI will replace twrp recovery with original recovery)
3) installed Magisk-v16.7_Bundle.zip at TWRP
4) Installed APTX-enabler-twrp.zip at TWRP
5) Installed lazyflasher-no-verity-opt-encrypt.zip (to avoid boot loop or replacement twrp with original recovery file)
Now Phone is booted to system , first time android starting took time
6) magisk app opened and Magisk16-Nougat-AptX.zip installed with Add Module section
Rebooted Android
NOW APTX STARTED WORKING ON REDMI NOTE 4 MIUI 10 or MIUI 9
most of the credit goes to participants at 4PDA
Click to expand...
Click to collapse
if i use magisk v18, may it work?
BadassBancho said:
if i use magisk v18, may it work?
Click to expand...
Click to collapse
Make sure you have an aptX compatible device too.
OverLord2901 said:
Make sure you have an aptX compatible device too.
Click to expand...
Click to collapse
My phone is redmi note 4x, but i was already installed magisk v18

ROOT - Redmi 6A (Oreo 8.1)

Hello everybody ,
I need some tricks/advices and I think you guys can help me .
My old and outdated smartphone Android 4.1 is down, so I've bought a brand new Xiaomi Redmi 6A (Android 8 .1).
Anyway, I'm going nuts since few days, trying to root my device...... I've already found some topics online dealing with that issue..... already tested a lot(!)...... but no one works!! :crying:
So I just wonder if someone have already succeded in it? Does anyone have the perfect trick to do it, and especially working links if it requires to download some tools (twrp, magisk, and so on)?
Thanks a lot guys, any help would be appreciated!
root example N°1:
- TWRP recovery is required to Root Redmi 6A without PC, You can Follow Our guide to Install TWRP recovery on Any Android Device without PC: got it from the PlayStore, and install OK
- First of all Get Supersu to Root Your Redmi 6a: OK
- Now paste the Supersu.zip fle in your device’s memory: OK
- Now rename the file to Update.zip: OK
- Now turn off your android smartphone: OK
- Now boot your smartphone in TWRP Recovery mode: OK
- To boot in recovery mode you have to Press Volume up + Power button together or Volume Up + Power + Home button , basically it is different for every phone . Dont release the keys until the smartphone boots in recovery mode: FAILED
root example N°2:
- Unlock Bootloader of your device. Check How to Unlock Bootloader of Xiaomi phones: OK factory settings as I read about
- You’ll lose all your data upon unlocking bootloader. We advise you to backup all your data to a safer location OK
- Download and install the latest Xiaomi USB Drivers on your PC. OK
- Enable Developer Options and USB Debugging from Settings. (Complete guide) OK
- Setup ADB and Fastboot Drivers on your PC. OK
- There should be at least 75% battery on your device to perform the rooting procedure. OK
- TWRP image file for Redmi 6A – Download OK
- Download the TWRP image file based on your device model from above links to your computer. Rename the file to twrp.img and copy it to ADB & Fastboot folder OK
-Enable Developer Options and USB Debugging from Settings. (Complete guide)OK
-Setup ADB and Fastboot Drivers on your PC.OK
-There should be at least 75% battery on your device to perform the rooting procedure.OK
- 1. Download the TWRP image file based on your device model from above links to your computer. Rename the file to twrp.img and copy it to ADB & Fastboot folder.OK
- 2. Turn off your device and boot into fastboot mode. To do so, you need to completely turn off your device and boot it on by pressing and holding Volume Down + Power button simultaneously .OK
- 3. Now you will see a fastboot logo on your device. Take a USB cable and connect your device with PC.OK
- 4. Go to ADB & Fastboot folder. Here you need to press Shift key and right click anywhere in the folder. Now, select Open Command Window Here.OK
- 5. Now follow our simple guide on how to install TWRP Recovery via Fastboot.OK
- 6. Once TWRP recovery is successfully installed, you need to enter the below command to enter into TWRP mode.OK
fastboot boot twrp.img OK
- 7. Tap on Install button from recovery main menu and install the DisableForceEncryption_Treble.zip file. FAILED, still the Xiaomi bootloader with vol+&power, despite ok message after fastboot flash recovery recovery.img
- 8. Done! Reboot the system.
Thanks SacredDeviL666 for moving my post at the right place.
I am experiencing the same problem on Xiaomi Redmi 6A.
$ fastboot flash recovery trwp.img
OKAY
$ fastboot boot twrp.img
boots to Xiaomi bootloader
$fastboot reboot recovery
boots to Xiaomi recovery
Can anybody assist with this issue? Thanks....

Guide to issues with flashing unlocked Mi8 and likely other USB-C based Xiaomi models

I have previously unlocked and modded several Xiaomi phones. However recently I got a MI8 and what I thought would be simple was quite problematic. Its solved now which is why I am writing this guide to help someone else in a similar situation. I'm not an expert but the issues I had could be relevant to other USB-C Xiaomi Qualcomm based phones from mid 2018 and later:
NOTES:
1) AMD Ryzen PC with B350 chipset would not connect in any fastboot mode procedure at all with Mi8 in my case. It could not unlock the phone or flash anything with fastboot. Go with Intel.
2) Use a good USB-C cable. One of mine worked for MTP transfers but did not work with fastboot stuff
3) If you get a request in TWRP to provide your password for decryption, this refers to the PIN used in Android security
4) If you have not unlocked your Xiaomi phone you must do this first before trying any of the steps below. There are many guides for this.
5) Follow the steps EXACTLY to avoid boot loops etc.
Issue 1: The commonly used ADB and Fastboot tools fail to flash TWRP recovery (Thanks to khanhdx https://forum.xda-developers.com/member.php?u=7791242)
1) It is necessary to use Xiaomi's specific version of fastboot in their miflash_unlock tool.
2) Put phone in fastboot mode and connect to PC.
3) Go into the miflash_unlock directory which was used to successfully unlock the phone
4) Put your TWRP image file in that miflash_unlock directory
5) While mouse cursor is in the directory, Right click while holding down SHIFT and select 'Open PowerShell session here'
6) Type 'cmd' then Enter
7) Type 'fastboot devices' to see if fastboot sees your device.
8) If a device code is displayed then USB drivers could be adequate so try 'fastboot flash recovery twrp.img' (insert actual name of img file)
9) If either no device code shows up or the recovery flash fails you will need to update USB drivers
10) First uninstall any other previously installed ADB USB drivers
11) Download Xiaomi MiFlash tool at https://www.xiaomiflash.com/ which contains drivers which work
11) Before installing the drivers with the MIFlash tool, it is recommended to boot with 'Disable Signed Driver Enforcement' enabled first. Google that if needed
12) The driver installer in MiFlash is wonky but it works. Continue to say 'Yes' to all the weird driver install warnings and long latency delays. It gets there slowly and confirms successful installation one driver at a time
13) Repeat Steps 5 through 8
14) If the above doesn't work, take a look at the driver in Windows Device Manager under Android ADB Device. It should be signed by Xiaomi not Microsoft. Also try different USB ports and/or remove other USB devices.
Issue 2: Custom ROM such as LineageOS or Pixel Experience will fail to flash in TWRP with "Error 7" stating that you don't meet the minimal Xiaomi developer firmware version requirement
1) In my case starting out with the latest Xiaomi global developer ROM and flashing the latest developer Xiaomi firmware from https://xiaomifirmwareupdater.com/#stable did not help meet the requirement and Error #7 would not go away. According to some sources such things do happen with official Xiaomi ROM's.
2) You can do the solution mentioned here https://forum.xda-developers.com/mi-8/how-to/guide-how-to-flash-poco-f1-roms-t3911336 but this is a hack and not a true solution as you will have to do this every time you update the ROM, and the phone might not work right as the dev's at LineageOS and others know what they are doing when they put in those insist lines.
3) A real solution is to meet the firmware requirement by flashing the latest Xiaomi EU weekly/developer ROM (i.e. NOT official Xiaomi) from https://xiaomi.eu/community/ before flashing the custom ROM of choice (Thanks to Xiaomi EU forums)
4) Go to TWRP and wipe everything except USB OTG option. Format data! Reboot to Recovery!
5) Transfer downloaded xiaomi.eu ROM zip file to phone via MTP and install it with TWRP. Reboot to System!
6) Allow phone to initialize it's first Xiaomi boot fully. When the MiUI welcome screen comes you can stop there. Boot into fastboot mode
7) Repeat steps in 'Issue 1' above to re-flash TWRP recovery back to the phone
8) Repeat Step 4
9) Transfer custom ROM zip and optional GAPPS zip files to phone via MTP and install with TWRP.
any reasons why this flashing and fastboot doesnt work properly with amd based pc/laptop.it is really hard for me..

Question Boot Xiaomi Redmi Note 11S 4G into Edl Mode with Mainboard points

Hello Guys,
this is my first thread in this forum.
A few months ago I have flashed a Custom gsi Rom on my device.
The Custom Gsi Roms had many Lags like I could not make Phone calls and so on.
So i decided yesterday to back to stock.
I have downloaded the original Stock Rom for this device and tried to flash it over fastboot.
This process was sucesfull,but the device wont boot.
It stucks in a bootloop.
it only boots until this point and then it reboots everytime.
many would say try to go into fastboot or recovery.I tried that by holding the Volume Down and Power Button,but it also does not work.
The device starts only until this point and it restart agin many times.
So after hours of research in the internet,I found the Edl Mode of Xiaomi Devices and I would use this mod to flash the Stock Rom and make the device usable.
But in the internet I did not find many Information how to enter it on tnhis mobile without entering fastboot.I only know about this two mainbord Points,but I dont know where to find them on this device.
Could you please help me,guys?
FleurUser said:
Hello Guys,
this is my first thread in this forum.
A few months ago I have flashed a Custom gsi Rom on my device.
The Custom Gsi Roms had many Lags like I could not make Phone calls and so on.
So i decided yesterday to back to stock.
I have downloaded the original Stock Rom for this device and tried to flash it over fastboot.
This process was sucesfull,but the device wont boot.
It stucks in a bootloop.
it only boots until this point and then it reboots everytime.
many would say try to go into fastboot or recovery.I tried that by holding the Volume Down and Power Button,but it also does not work.
The device starts only until this point and it restart agin many times.
So after hours of research in the internet,I found the Edl Mode of Xiaomi Devices and I would use this mod to flash the Stock Rom and make the device usable.
But in the internet I did not find many Information how to enter it on tnhis mobile without entering fastboot.I only know about this two mainbord Points,but I dont know where to find them on this device.
Could you please help me,guys?
Click to expand...
Click to collapse
Requirements:
Unlocked bootloader
Properly installed drivers
USB cable with data transfer support
First, you should download few things from this website
1. Modded SP Flash Tool(click at this blue text to download)
2. Drivers
3. Python (2nd most important thing)
4. MIUI FASTBOOT ROM (the most important thing) Choose the region which you want to flash
Steps:
1. Unpack sp flash tool wherever you want to
2. Run it
3. Unpack miui rom (it's packed twice so unpack it 2 times)
4. Load scatter file
5. Tick Auth Bypass (it's next to download button
6. Go to settings
7. Choose full speed transfer (i will write with more details when I'll be back home)
8. Exit settings
9. Click download
10. (THE MOST IMPORTANT STEP)​Hold all buttons Vol+, Vol– and Power and then connect USB. Look at the bottom of sp flash tool, after a second of two from connecting phone to computer it should start (the progress bar should turn red)
11. Wait until flash is done.
12. Disconnect your phone from PC and hold power button until the phone vibrates and Xiaomi logo appears on screen
13. It should work now, if not, use this tutorial.

Categories

Resources