Successfully install Oero stable with Magisk 14.6 safety check

Search This thread
Apr 30, 2014
16
7
26
Kharghar
Not responsible to any device bricked if not followed instructions well
I tried wiping user data and flashing userdata.img to complete wipe ,what worked for me
If you need your phones internal storage dont wipe data and I dont know whether it is going to work or not as I did not tried it .
#Note wiping userdata will delete all internal 64 GB of data will with all apps
#using the commands as it is in this post will wipe user data so think and perform executing commands


In order to install magisk 14.6 on OREO on MI A1

Prerequisite
1) previous stock ROM with all image files http://en.miui.com/download-333.html http://en.miui.com/download-333.html
1A)Replace oero Update stock fastboot images (boot,system,userdata) with Nougat rom (oero stock rom files: https://xdaforums.com/mi-...-2017-t3722184)
2) fastboot and adb files https://xdaforums.com/sho....php?t=2588979
3) Basics of cmd and android fastboot,twrp flashing

Note: Follow the steps very well ,else phone might work efficiently

Lets it start

Steps:
1) Boot into fastboot (Volume down + Power)
2)complete flash all files/images wiping user data(experimental: skip the last 2 userdata commands to save your data,this do not guarantee stability of OREO )

You can use these commands if dont know how to

Code:
fastboot getvar product 2>&1 | findstr /r /c:"^product: *tissot" || [user=279333]@ECHO[/user] "error : Missmatching image and device" & exit /B 1

fastboot oem unlock 

fastboot erase modem_a 

fastboot flash modem_a modem.img 

fastboot erase modem_b 

fastboot flash modem_b modem.img 

fastboot erase sbl1

fastboot flash sbl1 sbl1.img 

fastboot erase sbl1bak 

fastboot flash sbl1bak sbl1.img 

fastboot erase rpm

fastboot flash rpm rpm.img 

fastboot erase rpmbak

fastboot flash rpmbak rpm.img 

fastboot erase tz 

fastboot flash tz tz.img 

fastboot erase tzbak 

fastboot flash tzbak tz.img 

fastboot erase devcfg

fastboot flash devcfg devcfg.img 

fastboot erase devcfgbak

fastboot flash devcfgbak devcfg.img 

fastboot erase dsp 

fastboot flash dsp adspso.bin

fastboot erase sec 

fastboot flash sec sec.dat 

fastboot erase splash 

fastboot flash splash splash.img

fastboot erase aboot 

fastboot flash aboot emmc_appsboot.mbn

fastboot erase abootbak 

fastboot flash abootbak emmc_appsboot.mbn

fastboot erase lksecapp 

fastboot flash lksecapp lksecapp.img

fastboot erase lksecappbak 

fastboot flash lksecappbak lksecapp.img

fastboot erase cmnlib 

fastboot flash cmnlib cmnlib.img 

fastboot erase cmnlibbak 

fastboot flash cmnlibbak cmnlib.img

fastboot erase cmnlib64 

fastboot flash cmnlib64 cmnlib64.img 

fastboot erase cmnlib64bak 

fastboot flash cmnlib64bak cmnlib64.img

fastboot erase keymaster 

fastboot flash keymaster keymaster.img 

fastboot erase keymasterbak 

fastboot flash keymasterbak keymaster.img 

fastboot erase boot_a 

fastboot flash boot_a boot.img

fastboot erase boot_b 

fastboot flash boot_b boot.img

fastboot erase system_a 

fastboot flash system_a system.img

fastboot erase system_b

fastboot flash system_b system.img

fastboot erase userdata

fastboot flash userdata userdata.img

fastboot reboot
3)reboot into system once setup device (required to initialize system)
4)reboot fastboot (power off and hold volume down +power button)
5)boot twrp 3.1.1 (file size: 30,932 kb) https://androidfilehost.com/?fid=745849072291685548
command:

fastboot boot recovery-3.1.1-1.img

6)install twrp-installer-tissot.zip (file size :7,892kb) https://androidfilehost.com/?fid=673791459329053463
#if sd card isn't showing then sideload twrp-installer-tissot.zip
command:

adb sideload twrp-installer-tissot.zip

7)reboot recovery (dont boot into system this may cause wifi,camera broken,laggy)
8)flash Magisk-v14.6(1468).zip https://xdaforums.com/att...6&d=1513897917 with twrp ,or you can sideload
like Command:

adb sideload Magisk-v14.6(1468).zip

9)reboot system
#if device wont start(boot up) after 40 - 60 seconds the hold power for restart
10)device will reboot and magisk 14.6 will be installed with oreo
 
Last edited: