[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
[MENTION=1677632]_mysiak_[/MENTION] [MENTION=3964603]majamee[/MENTION]

Run into a problem again :(

[/COLOR [MENTION=1677632]_mysiak_[/MENTION] [MENTION=3964603]majamee[/MENTION]

Run into a problem again :(

Tried running the modified flash_all_except_storage.sh (removing the OEM unlock /lock lines but nothing would happen for long , so I decided to run line by line as per the third post where it failed for this line

fastboot flash dsp /images/adspso.bin

Do you know the command line equivalent for the July update? Much obliged if that can be done. I do have Windows 10 to try on but I prefer doing it on Linux (I am newbie to that, so may as well learn that instead of getting drivers issues etc)

Linux is updated with lastest fastboot and adb drivers (64 bit)

Thanks in advance

Edit : For now managed to get update but rather by fluke and I would like to learn the correct way of doing it

I was rooted, Franco Kernel installed ,no TWRP, on 8.0 . Booted into TWRP, uninstalled Magisk and flashed these

fastboot flash modem_a /images/modem.img
fastboot flash modem_b /images/modem.img
fastboot flash sbl1 /images/sbl1.img
fastboot flash sbl1bak /images/sbl1.img
fastboot flash rpm /images/rpm.img
fastboot flash rpmbak /images/rpm.img
fastboot flash tz /images/tz.img
fastboot flash tzbak /images/tz.img
fastboot flash devcfg /images/devcfg.img
fastboot flash devcfgbak /images/devcfg.img

When nothing was happening with my earlier attempt, rebooted and updated with OTA :)

This is a convenient shortcut for future but NOT always- I don't want to update to Pie till Xposed is available and would like to update next to the last Oreo version (no more in between updates) and I want to do it the right way using the method here. I may be surprised into a Pie update:eek: if I follow this method

Here is the sh file I modified. Sorry can't attach and it makes the post lengthy. Apologies but did I do it wrong?

fastboot $* getvar product 2>&1 | grep -E "^product: *tissot$"
if [ $? -ne 0 ] ; then echo "error : Missmatching image and device"; exit 1; fi
fastboot $* erase boot_a
if [ $? -ne 0 ] ; then echo "error : Erasing boot failed,maybe the device is locked"; exit 1; fi
fastboot $* flash modem_a `dirname $0`/images/modem.img
if [ $? -ne 0 ] ; then echo "Flash modem_a error"; exit 1; fi
fastboot $* flash modem_b `dirname $0`/images/modem.img
if [ $? -ne 0 ] ; then echo "Flash modem_b error"; exit 1; fi
fastboot $* flash sbl1 `dirname $0`/images/sbl1.img
if [ $? -ne 0 ] ; then echo "Flash sbl1 error"; exit 1; fi
fastboot $* flash sbl1bak `dirname $0`/images/sbl1.img
if [ $? -ne 0 ] ; then echo "Flash sbl1bak error"; exit 1; fi
fastboot $* flash rpm `dirname $0`/images/rpm.img
if [ $? -ne 0 ] ; then echo "Flash rpm error"; exit 1; fi
fastboot $* flash rpmbak `dirname $0`/images/rpm.img
if [ $? -ne 0 ] ; then echo "Flash rpmbak error"; exit 1; fi
fastboot $* flash tz `dirname $0`/images/tz.img
if [ $? -ne 0 ] ; then echo "Flash tz error"; exit 1; fi
fastboot $* flash tzbak `dirname $0`/images/tz.img
if [ $? -ne 0 ] ; then echo "Flash tzbak error"; exit 1; fi
fastboot $* flash devcfg `dirname $0`/images/devcfg.img
if [ $? -ne 0 ] ; then echo "Flash devcfg error"; exit 1; fi
fastboot $* flash devcfgbak `dirname $0`/images/devcfg.img
if [ $? -ne 0 ] ; then echo "Flash devcfgbak error"; exit 1; fi
fastboot $* flash dsp `dirname $0`/images/dsp.img
if [ $? -ne 0 ] ; then echo "Flash dsp error"; exit 1; fi
fastboot $* flash sec `dirname $0`/images/sec.dat
if [ $? -ne 0 ] ; then echo "Flash sec error"; exit 1; fi
fastboot $* flash splash `dirname $0`/images/splash.img
if [ $? -ne 0 ] ; then echo "Flash splash error"; exit 1; fi
fastboot $* flash misc `dirname $0`/images/misc.img
if [ $? -ne 0 ] ; then echo "Flash misc error"; exit 1; fi
fastboot $* flash aboot `dirname $0`/images/emmc_appsboot.mbn
if [ $? -ne 0 ] ; then echo "Flash aboot error"; exit 1; fi
fastboot $* flash abootbak `dirname $0`/images/emmc_appsboot.mbn
if [ $? -ne 0 ] ; then echo "Flash abootbak error"; exit 1; fi
fastboot $* flash boot_a `dirname $0`/images/boot.img
if [ $? -ne 0 ] ; then echo "Flash boot_a error"; exit 1; fi
fastboot $* flash boot_b `dirname $0`/images/boot.img
if [ $? -ne 0 ] ; then echo "Flash boot_b error"; exit 1; fi
fastboot $* flash system_a `dirname $0`/images/system.img
if [ $? -ne 0 ] ; then echo "Flash system_a error"; exit 1; fi
fastboot $* flash system_b `dirname $0`/images/system.img
if [ $? -ne 0 ] ; then echo "Flash system_b error"; exit 1; fi
fastboot $* flash lksecapp `dirname $0`/images/lksecapp.img
if [ $? -ne 0 ] ; then echo "Flash lksecapp error"; exit 1; fi
fastboot $* flash lksecappbak `dirname $0`/images/lksecapp.img
if [ $? -ne 0 ] ; then echo "Flash lksecappbak error"; exit 1; fi
fastboot $* flash cmnlib `dirname $0`/images/cmnlib.img
if [ $? -ne 0 ] ; then echo "Flash cmnlib error"; exit 1; fi
fastboot $* flash cmnlibbak `dirname $0`/images/cmnlib.img
if [ $? -ne 0 ] ; then echo "Flash cmnlibbak error"; exit 1; fi
fastboot $* flash cmnlib64 `dirname $0`/images/cmnlib64.img
if [ $? -ne 0 ] ; then echo "Flash cmnlib64 error"; exit 1; fi
fastboot $* flash cmnlib64bak `dirname $0`/images/cmnlib64.img
if [ $? -ne 0 ] ; then echo "Flash cmnlib64bak error"; exit 1; fi
fastboot $* flash keymaster `dirname $0`/images/keymaster.img
if [ $? -ne 0 ] ; then echo "Flash keymaster error"; exit 1; fi
fastboot $* flash keymasterbak `dirname $0`/images/keymaster.img
if [ $? -ne 0 ] ; then echo "Flash keymasterbak error"; exit 1;

fi
fastboot $* reboot bootloader
sleep 5
fastboot $* set_active a
fastboot $* reboot