[Boot.img] October Update Stock & CF Auto Root Boot Images

HempLlama

Member
Jan 18, 2016
7
10
0
26
Brest
alexandre-nicolas.com
I flashed the september patch onto my october stock build:
#fastboot flash boot_2 boot.img
it was booting and working but not after the second reboot.
So I tried to flash the stock boot.img:
#fastboot set_active b
#fastboot flash boot_2 boot.img

Now my phone is stuck in the androidOne boot logo. Someone can help me ? Is there complete stock image somewhere ?
 

jsuln

Member
Oct 17, 2017
25
2
0
Scenario 1.
Easier way is to update Oct OTA from current slot and reboot . See if you are successfully booting up and you should be unrooted now. Then go into fastboot, fastboot boot boot.img(Oct cf auto root img) . Wait for it to exit fastboot. This can take few mins..once booted up flash fire will be able to get root access and you can inject supersu via that and profit.
Scenario 2
If you update Oct OTA from your current slot and you get error. Then boot into fastboot and type below command
"Fastboot set_active x" (your other slot a or b)
If above doesn't work, then
"fastboot --set-active=x" again here x is slot you have to change to.
Once you have changed slot successfully, then fastboot reboot..
Now you'll be in unrooted slot. Update Oct via this slot and it should go through without issues.now your other slot which is rooted is also updated to Oct. Now make slot b active via fastboot.
follow same fastboot boot boot.img and get root access and flash su via flash fire. Done.
So for every future update your slot which is unrooted is available for OTA and you can root the rooted slot by cf auto boot.img..peace..

How do you know which slot is currently active?

And If I understand your scenario 2 correctly (and decide to skip to step two to not risk no-boot scenario) - > boot from the other slot, install OTA normally, change slot again and boot, then launch the auto root thing script, done ... right?
The thing i dont understand - you said that if you install OTA over your currently rooted system and it doesn't boot afterwards, you change the slot and install the OTA again - how is this gonna make the first slot boot? Confusing.

Or could possibly this scenario work (in theory it seems most simple):
(current rooted sep version): 1/ downloading incremental OTA files - october update 2/ flashing the OTA incremental with miflash 3/ system should be now unrooted october (will it actually boot?) 4/ running this root script 4/ rooted october system. Or am I wrong? Also, will flashing the incremental OTA relock the bootloader?

P.S I rooted the september version using the CF auto root method without actually installing flashfire or injecting supersu - just ran the script as posted and the phone was rooted after reboot ( I just installed supersu from playstore afterwards). Why the two methods if the "simple" one works just fine, can someone explain this to a noob? Sorry for lots of questions, but after reading about this in several topics with different approaches, it becomes confusing .. and i dont have the time to spend all day figuring it out the hard way and bricking the thing doing it .. :)

Cheers!
Jaka
 
Last edited:

rodsayd

Senior Member
Dec 15, 2013
349
122
0
Mendoza
If you're on Windows, just run the root.bat script found in the archive you can find in the original post.
Hey I just bought the A1 and installed the October update before doing anything. But now I want to root or flash TWRP, what steps should I take? I'm on stock stock. Haven't touched the phone.
 

Snoe II

Senior Member
Feb 7, 2012
126
33
58
Banting
Hey I just bought the A1 and installed the October update before doing anything. But now I want to root or flash TWRP, what steps should I take? I'm on stock stock. Haven't touched the phone.
Download the zip file. Extract it, and put your phone in fastboot mode (power + volume down button). Then, run the root.bat file. Wait until your phone to automatically reboot after successful root. Your phone now is rooted.
 

abefre

Member
Jul 24, 2011
16
3
0
Perth
Hi, I am a newbie to Xiaomi MiA1, I got the unit a week ago and updated to October firmware, I would like to root this device so that I can install the Google camera and fix Google Assistant voice. I have unlocked the device with Xiaomi code, however I am not able to root. Can someone kind enough to write the full steps of how to root. I am not able to bring up the Adb command on my Windows 10 Pc.
Looking forward to a quick response. Thanks in advance.
 

jack_21

Senior Member
Mar 29, 2013
520
185
0
Who noticed that boot is longer when using the patched boot.img? I'm referring to the first splash screen after the Warning. It seems to be 10-15 second long instead of 5 sec
 

vedkamath

Member
Apr 16, 2015
17
4
0
I am stuck in a boot loop. I tried to update from September to October image using miflash. When it was in September build it was rooted and I installed Xposed. I am waiting from 1hr still it's in boot loop. Plz help.
 

Kamefrede

Senior Member
Dec 13, 2014
77
11
0
I followed the steps but the root permission dialog does not appear. I tried using root checker but it doesn't even work, It just hangs there while checking the root permission