MediaTek MT8163 Tablet - Android Q&A, Help & Troubleshooting

Based on the below bootloader information and the 'ls -l /dev/block/platform/mtk-mdsc.0/by-name' results, can anyone help me understand whether I am able to copy a new boot or recovery image to my generic MediaTek tablet using dd. I am able to access fastboot, but fastboot doesn't seem to have very many commands available, or it has proprietary fastboot commands specific to this generic device. In fact, there is a dedicated partition named 'flashinfo' that I can copy using dd but I do not know how to view (decompile) this .img file. I have pulled an .img file from every partition if this would be helpful to someone willing to take the time to help me out. Any direction would be greatly appreciated.
############################
Bootloader Information:
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 1a800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: ff000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:metadata: 2360000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-sizeara: 80000
(bootloader) partition-typeara: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: ext4
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk: 60000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-sizeersist: 3000000
(bootloader) partition-typeersist: ext4
(bootloader) partition-sizerotect2: a00000
(bootloader) partition-typerotect2: ext4
(bootloader) partition-sizerotect1: a00000
(bootloader) partition-typerotect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-sizeroinfo: 300000
(bootloader) partition-typeroinfo: raw data
(bootloader) partition-sizereloader: 40000
(bootloader) partition-typereloader: raw data
(bootloader) off-mode-charge: 1
(bootloader) warranty: yes
(bootloader) unlocked: no
(bootloader) secure: yes
(bootloader) kernel: lk
(bootloader) product: ALONG8163_E_86VM
(bootloader) version: 0.5
all: Done!!
Finished. Total time: 0.018s
How do I unlock this bootloader? Can I use dd to replace a partition based on the bootloader data provided? Notably I tried using dd to copy a Magisk_Patched.img to the boot partition, but both efforts resulted in a bootloop
(I also noticed that the lk (Linux Kernel) and boot partitions are distinct on this device. Is this unusual? Is it possible that this is why Magisk is not working?)
###########################
Results from 'ls -lF /dev/block/platform/mtk-mdsc.0/by-name':

please post in proper sections questions go to q/a

Is this a Hiteker tablet?
If so I have got the same tablet, rooted it, and installed TWRP
Still having OTG driver issues.

Yes
Would you share the TWRP image?
Twilight Time said:
Is this a Hiteker tablet?
If so I have got the same tablet, rooted it, and installed TWRP
Still having OTG driver issues.
Click to expand...
Click to collapse
Yes.
Would you share the TWRP image?

excaliber8878 said:
Based on the below bootloader information and the 'ls -l /dev/block/platform/mtk-mdsc.0/by-name' results, can anyone help me understand whether I am able to copy a new boot or recovery image to my generic MediaTek tablet using dd. I am able to access fastboot, but fastboot doesn't seem to have very many commands available, or it has proprietary fastboot commands specific to this generic device. In fact, there is a dedicated partition named 'flashinfo' that I can copy using dd but I do not know how to view (decompile) this .img file. I have pulled an .img file from every partition if this would be helpful to someone willing to take the time to help me out. Any direction would be greatly appreciated.
############################
Bootloader Information:
(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: 1a800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:system: ff000000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:metadata: 2360000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-sizeara: 80000
(bootloader) partition-typeara: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: ext4
(bootloader) partition-size:recovery: 1000000
(bootloader) partition-type:recovery: raw data
(bootloader) partition-size:boot: 1000000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:lk: 60000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:seccfg: 40000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-sizeersist: 3000000
(bootloader) partition-typeersist: ext4
(bootloader) partition-sizerotect2: a00000
(bootloader) partition-typerotect2: ext4
(bootloader) partition-sizerotect1: a00000
(bootloader) partition-typerotect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-sizeroinfo: 300000
(bootloader) partition-typeroinfo: raw data
(bootloader) partition-sizereloader: 40000
(bootloader) partition-typereloader: raw data
(bootloader) off-mode-charge: 1
(bootloader) warranty: yes
(bootloader) unlocked: no
(bootloader) secure: yes
(bootloader) kernel: lk
(bootloader) product: ALONG8163_E_86VM
(bootloader) version: 0.5
all: Done!!
Finished. Total time: 0.018s
How do I unlock this bootloader? Can I use dd to replace a partition based on the bootloader data provided? Notably I tried using dd to copy a Magisk_Patched.img to the boot partition, but both efforts resulted in a bootloop
(I also noticed that the lk (Linux Kernel) and boot partitions are distinct on this device. Is this unusual? Is it possible that this is why Magisk is not working?)
###########################
Results from 'ls -lF /dev/block/platform/mtk-mdsc.0/by-name':
Click to expand...
Click to collapse
You can push the image using dd. I have replaced the system, boot, and recovery img using this method. I used a gen 2 tablet with Material Terminal to connect using adb. You first have to put the adb keys in the root of the gen 2 tablet to connect to a gen 3. Let me know if this helps

excaliber88787 said:
Yes Would you share the TWRP image? Yes. Would you share the TWRP image?
Click to expand...
Click to collapse
excaliber88787 said:
Yes Would you share the TWRP image? Yes. Would you share the TWRP image?
Click to expand...
Click to collapse
Twilight Time said:
You can push the image using dd. I have replaced the system, boot, and recovery img using this method. I used a gen 2 tablet with Material Terminal to connect using adb. You first have to put the adb keys in the root of the gen 2 tablet to connect to a gen 3. Let me know if this helps
Click to expand...
Click to collapse

I am no longer in a situation where I have any tablet images. On a technicality my situation has changed for the much better after 32 years. I made the TWRP when I had nothing but time on my hands, now time is a premium to me.

Twilight Time said:
I am no longer in a situation where I have any tablet images. On a technicality my situation has changed for the much better after 32 years. I made the TWRP when I had nothing but time on my hands, now time is a premium to me.
Click to expand...
Click to collapse

Twilight Time said:
I am no longer in a situation where I have any tablet images. On a technicality my situation has changed for the much better after 32 years. I made the TWRP when I had nothing but time on my hands, now time is a premium to me.
Click to expand...
Click to collapse

excaliber88787 said:
Yes
Would you share the TWRP image?
Yes.
Would you share the TWRP image?
Click to expand...
Click to collapse
hey did you ever get to change your os on your tablet?if so i got same1 can you assist

excaliber88787 said:
Would you share the TWRP image?
Click to expand...
Click to collapse
port for Alldocube iplay10 pro Android 9 sdk 28 display res 1200*1920 proc MT8163 kernel Linux version 4.9.117 ([email protected] // TWRP 3.0.2
ro.sf.lcd_density=240
ro.sf.hwrotation=0
busybox is static from Android 9
-----------------------------------------
donor teclast A10S Android 7.1.2 sdk 25 display res 1200*1920 proc MT8163 kernel Linux version 3.18.35 ([email protected]// TWRP 3.3.1
ro.sf.hwrotation=180
------------------------------------------
donor Teclast P80h (D4C5) TWRP 3.0.2-1 tablet is Android 5.1 sdk 22 kernel Linux version 3.10.72 ([email protected] ... and display res 1280*800 proc MT8163 // TWRP 3.0.2-1
ro.sf.hwrotation=0
10.91 MB file on MEGA
mega.nz
---------------------------------------
port for U804mc . tablet is Android 5.1 sdk 22 kernel Linux version 3.10.72 ([email protected] ... and display res 1024*600 proc MT8163 // recovery-P80Hv5.img // TWRP 3.0.2
MTK Header
ro.sf.lcd_density=160
ro.sf.hwrotation=180
---------------------------------------
donor Alldocube iPlay 10 . tablet is Android 6. sdk 23 kernel Linux version 3.18.22 . ... and display res 1920*1080 proc MT8163 // TWRP 3.1.1
MTK Header
ro.sf.lcd_density=280
-------------------------------------
port for Alldocube iPlay 8 . tablet is Android 6. sdk 23 kernel Linux version 3.18.22 . ... proc MT8163 // TWRPi8 3.1
MTK Header
ro.sf.lcd_density=180
------------------------------------------
donor Aquaris_M8 tablet is Android 6 //display res 1280 x 800 // proc MT8163 // twrp-3.6.2_9-​
ro.sf.lcd_density=180​
Download twrp-3.6.2_9-0-Aquaris_M8.img
Download page for twrp-3.6.2_9-0-Aquaris_M8.img
dl.twrp.me
----------------------------------------
port for Alldocube iplay10 pro Android 9 sdk 28 display res 1200*1920 proc MT8163 kernel Linux version 4.9.117 ([email protected] // TWRP 3.3.1
ro.sf.lcd_density=240
ro.sf.hwrotation=0
busybox is static from Android 9
---------------------------------------------
[TWRP][RECOVERY] Asus ZenPad 8.0 Z380M (locked bootloader ok)
This is for real, folks. The first working custom recovery for Asus ZenPad 8.0 Z380M and a method to flash it under a locked bootloader. This took quite a bit of work to make, partly due to having to find a way to bypass the locked bootloader...
forum.xda-developers.com
donor Asus ZenPad 8.0 Z380M tablet is Android 7 sdk 25 //display res1280x800 // proc MT8163 // kernel Linux version 3.18.35+ ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Fri Jan 12 13:14:25 CST 2018 // TWRP 3.2.1
ro.sf.hwrotation=0
MTK Header
-------------------------------------------------
[RECOVERY] TWRP for Onn Android Tablets (unofficial) - 2019-11-30
TWRP Custom Recovery for the Onn Android Tablet series This is the first fully-featured custom recovery for Walmart's MediaTek-based Onn tablets: ONA19TB002, ONA19TB003 and ONA19TB007. TWRP needs no introduction. If you have come here, you...
forum.xda-developers.com
donor Android 9 sdk 28 proc MT8163 // twrp 3.3.1_9
ro.sf.hwrotation=270 landscape
----------------------------------------------
port for Alldocube iplay10 pro Android 9 sdk 28 display res 1200*1920 proc MT8163 kernel Linux version 4.9.117 ([email protected] // TWRP 3.3.1
ro.sf.lcd_density=240
ro.sf.hwrotation=0
replace /sbin/libminuitwrp.so for hwrotation=0

Thanks for your help
I'll try it

Hello
Can you email me when you get a chance??
I really want to hear from you.
[email protected]

Twilight Time said:
I am no longer in a situation where I have any tablet images. On a technicality my situation has changed for the much better after 32 years. I made the TWRP when I had nothing but time on my hands, now time is a premium to me.
Click to expand...
Click to collapse
Are you doing good??
Hopefully you can get a chance to say hello soon...

Da3mo9z said:
Thanks for your help
I'll try it
Click to expand...
Click to collapse
Did you make a backup? unlock your tablet? If you give me the link to your firmware on google disk I'll try to help you with TWRP.....I need stock recovery boot scatter and some files, depends on your Android version

Related

Amazfit - can not update by OTA

good evening
Help solve the problem.
Watch A1612, there was a customized firmware with a Russian.
I tried to roll it 2,8,0,5 did not work, the clock just does not start, an eternal reboot.
I tried to roll back to 1.3.0n by the instructions
https://forum.xda-developers.com/smartwatch/amazfit/tutorial-unbrick-huami-amazfit-t3547300
The firmware was installed, when trying to update on OTA to 1.3.8a immediately after the reboot I receive an inscription on the screen "ERROR" and an exclamation mark.
Help me please.
Thank you
C:\adb\huangheUS-1.3.0n>fastboot getvar all
(bootloader) version-bootloader: U-Boot 2013.07-00096-gf3b140c
(bootloader) version-baseband: N/A
(bootloader) version-hardware: V1.1 20130322
(bootloader) version-cdma: N/A
(bootloader) variant: watch
(bootloader) serialno: 0123456789abcdef
(bootloader) product: watch
(bootloader) secure: no
(bootloader) unlocked: yes
(bootloader) uart-on: NO
(bootloader) partition-size:bootloader: 0x0000
(bootloader) partition-type:bootloader: emmc
(bootloader) partition-size:recovery: 0x1000
(bootloader) partition-type:recovery: emmc
(bootloader) partition-size:boot: 0x2000
(bootloader) partition-type:boot: emmc
(bootloader) partition-size:system: 0x3000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:cache: 0x4000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:userdata: 0x5000
(bootloader) partition-type:userdata: ext4
(bootloader) max-download-size: 0x4000000
all:
Finished. Total time: 0.280s
Flash latest INTL stock, then before you start it:
Code:
adb wait-for-device
adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot erase userdata
fastboot reboot
lfom said:
Flash latest INTL stock, then before you start it:
Code:
adb wait-for-device
adb shell reboot bootloader
fastboot erase data
fastboot erase cache
fastboot erase userdata
fastboot reboot
Click to expand...
Click to collapse
Did you mean - flash latest international ROM 2.8.0.5 and after implement your code?
Could you please describe in more details?
Thanks
ExtrimVF said:
Did you mean - flash latest international ROM 2.8.0.5 and after implement your code?
Could you please describe in more details?
Thanks
Click to expand...
Click to collapse
Exactly what you said (and that's what I said previously).
lfom said:
Exactly what you said (and that's what I said previously).
Click to expand...
Click to collapse
I've done exactly what you said.
Installed latest ROM by this link
https://forum.xda-developers.com/smartwatch/amazfit/fw-tool-stock-firmware-installers-2017-t3725494
and run script what you gave me.
Now i have always booting watch
Please help
ExtrimVF said:
I've done exactly what you said.
Installed latest ROM by this link
https://forum.xda-developers.com/smartwatch/amazfit/fw-tool-stock-firmware-installers-2017-t3725494
and run script what you gave me.
Now i have always booting watch
Please help
Click to expand...
Click to collapse
Try this if you are on Windows:
Code:
adb wait-for-device & adb reboot wipe
or this on Linux/macOS:
Code:
adb wait-for-device; adb reboot wipe
If you still cannot boot, I suggest and you use the code I gave you before to fully erase data on watch, then use the unbrick tutorial but flash an old firmware like 1.3.0 first, then try to boot watch.
Could you please help me to find right instruction and rom package?

How to backup my data from redmi note 5 which is stuck in bootloop??

I bought a Redmi Note 5 6 months ago.Last night i was watching youtube but I recieved a low battery warning so I paused the video and put mobile in sleep because I didn't wanted to charge it for like 6 hours.Next morning it was switched off I though IT was already low on battery maybe thats why the battery died.So I charged it and turned it on but its not going any further than the MI logo screen.
I have very important data and pics in there thats why I can't format it.Please help me to get back my data.All the pics I took in last 8 years its all in there.Unfortunetely I don't have a backup (Maybe I will have to regret it for the rest of my life or maybe if anyone of you guys can help me so that I don't have to regret it for the rest of my life).Its booting in MI recovery 3.0 which only gives the option to wipe all data and its also booting into fastboot mode.It doesn't have root access and the bootloader is locked.But the data is too important.I am literally crying as I am typing this post.Please HELP ME!!
Somewhere deep inside I know its the youtube temp data which is causing the problem but I don't know what to do.I will do anything just tell me what to do please.Service center clearly said that they can't save the data.You guys are my last HOPE.Please Do Something.Can I do anything through Fastboot Mode.How do they install OTA updates without deleting the DATA.If you guys will help me get my old life back you will for sure go to heaven!!
THANKS!!!
AND DAMN ME FOR NOT TAKING ANY BACKUP . . . .
Hi , you can try to backup your data with Mi Assistant ( Mi PC Suite)
download from here inside your PC:
http://pcsuite.mi.com/
Boot your device into Recovery mode , you should see :
Main Menu
- Recovery
- Wipe Data
- Connect with Mi Assistant ( click on that and plug the USB cable in PC )
Wait for drivers to be installed , and next you have in this post for Backing up data : )...
https://webcazine.com/14790/how-to-back-up-and-restore-your-xiaomi-device-using-mi-pc-suite/
After you do backup , you can Wipe data from recovery or to update your device using Mi PC Suite .
Good Luck : )
Thanks For Replying. You have no idea how much this means to me. . .
Teddy Lo said:
Hi , you can try to backup your data with Mi Assistant ( Mi PC Suite)
download from here inside your PC:
Boot your device into Recovery mode , you should see :
Main Menu
- Recovery
- Wipe Data
- Connect with Mi Assistant ( click on that and plug the USB cable in PC )
Wait for drivers to be installed , and next you have in this post for Backing up data : )...
After you do backup , you can Wipe data from recovery or to update your device using Mi PC Suite .
Good Luck : )
Click to expand...
Click to collapse
I already tried that.But it said device not supported.So I googled it then found out that MI PC suite doesn't support devices over lollipop.Please tell me if you have any other idea.Because you are the only one to even reply to my thread.I thought there is a lot of devlopers here who can easily help me out.But I see no one helping me.If you know someone with more knowledge please discuss this situation with them PLEASE!!
Can I flash stock ROM through fastboot on a locked bootloader without deleting internal storage content??
Please suggest something I can't live with this kind of stress.PLEASE!!
THANKS!!!
Try this :
put your device into fastboot mode, now On PC in fastboot command line write :
fastboot getvar all
You will be looking for version-main the number beside it is your firmware version
Now , once you find it , google on the internet for that firmware , and extract from that firmware just boot.img and flash with fastboot command line like for example:
fastboot flash boot boot.img and press Enter , I'm not 100% sure it will work like that but you can try ...
Teddy Lo said:
Try this :
put your device into fastboot mode, now On PC in fastboot command line write :
fastboot getvar all
You will be looking for version-main the number beside it is your firmware version
Now , once you find it , google on the internet for that firmware , and extract from that firmware just boot.img and flash with fastboot command line like for example:
fastboot flash boot boot.img and press Enter , I'm not 100% sure it will work like that but you can try ...
Click to expand...
Click to collapse
There is no such option like version-main however there is is an option called just version.
This is what it gives . . . .
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\adb>fastboot getvar all
(bootloader) version:0.5
(bootloader) token:nTFW03JTw76SJqewmdnCYQAA
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4232000
(bootloader) variant:QRD eMMC
(bootloader) unlocked:no
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:MSM8953_DAISY1.0_20180914131349
(bootloader) display-panel:
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) max-download-size: 0x1fe00000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xd43779e00
(bootloader) partition-type:cust:
(bootloader) partition-size:cust: 0x34000000
(bootloader) partition-type:logdump:
(bootloader) partition-size:logdump: 0x4000000
(bootloader) partition-type:dpo:
(bootloader) partition-size:dpo: 0x2000
(bootloader) partition-type:msadp:
(bootloader) partition-size:msadp: 0x40000
(bootloader) partition-type:apdp:
(bootloader) partition-size:apdp: 0x40000
(bootloader) partition-type:keymasterbak:
(bootloader) partition-size:keymasterbak: 0x40000
(bootloader) partition-type:keymaster:
(bootloader) partition-size:keymaster: 0x40000
(bootloader) partition-type:cmnlib64bak:
(bootloader) partition-size:cmnlib64bak: 0x40000
(bootloader) partition-type:cmnlib64:
(bootloader) partition-size:cmnlib64: 0x40000
(bootloader) partition-type:cmnlibbak:
(bootloader) partition-size:cmnlibbak: 0x40000
(bootloader) partition-type:cmnlib:
(bootloader) partition-size:cmnlib: 0x40000
(bootloader) partition-type:lksecappbak:
(bootloader) partition-size:lksecappbak: 0x20000
(bootloader) partition-type:lksecapp:
(bootloader) partition-size:lksecapp: 0x20000
(bootloader) partition-type:mcfg:
(bootloader) partition-size:mcfg: 0x400000
(bootloader) partition-type:syscfg:
(bootloader) partition-size:syscfg: 0x80000
(bootloader) partition-type:mdtp:
(bootloader) partition-size:mdtp: 0x2000000
(bootloader) partition-type:dip:
(bootloader) partition-size:dip: 0x100000
(bootloader) partition-type:mota:
(bootloader) partition-size:mota: 0x80000
(bootloader) partition-type:limits:
(bootloader) partition-size:limits: 0x8000
(bootloader) partition-typeem:
(bootloader) partition-sizeem: 0x10000000
(bootloader) partition-type:config:
(bootloader) partition-size:config: 0x8000
(bootloader) partition-type:keystore:
(bootloader) partition-size:keystore: 0x80000
(bootloader) partition-type:misc:
(bootloader) partition-size:misc: 0x100000
(bootloader) partition-typeersist:
(bootloader) partition-sizeersist: 0x2000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xc0000000
(bootloader) partition-type:devinfo:
(bootloader) partition-size:devinfo: 0x100000
(bootloader) partition-type:recovery:
(bootloader) partition-size:recovery: 0x4000000
(bootloader) partition-type:boot:
(bootloader) partition-size:boot: 0x4000000
(bootloader) partition-type:abootbak:
(bootloader) partition-size:abootbak: 0x100000
(bootloader) partition-type:aboot:
(bootloader) partition-size:aboot: 0x100000
(bootloader) partition-type:splash:
(bootloader) partition-size:splash: 0xb00000
(bootloader) partition-type:sec:
(bootloader) partition-size:sec: 0x4000
(bootloader) partition-type:fsg:
(bootloader) partition-size:fsg: 0x180000
(bootloader) partition-typeDR:
(bootloader) partition-sizeDR: 0x8000
(bootloader) partition-type:modemst2:
(bootloader) partition-size:modemst2: 0x180000
(bootloader) partition-type:modemst1:
(bootloader) partition-size:modemst1: 0x180000
(bootloader) partition-type:dsp:
(bootloader) partition-size:dsp: 0x1000000
(bootloader) partition-type:devcfgbak:
(bootloader) partition-size:devcfgbak: 0x40000
(bootloader) partition-type:devcfg:
(bootloader) partition-size:devcfg: 0x40000
(bootloader) partition-type:tzbak:
(bootloader) partition-size:tzbak: 0x200000
(bootloader) partition-type:tz:
(bootloader) partition-size:tz: 0x200000
(bootloader) partition-type:rpmbak:
(bootloader) partition-size:rpmbak: 0x80000
(bootloader) partition-type:rpm:
(bootloader) partition-size:rpm: 0x80000
(bootloader) partition-type:sbl1bak:
(bootloader) partition-size:sbl1bak: 0x80000
(bootloader) partition-type:sbl1:
(bootloader) partition-size:sbl1: 0x80000
(bootloader) partition-type:ssd:
(bootloader) partition-size:ssd: 0x2000
(bootloader) partition-type:fsc:
(bootloader) partition-size:fsc: 0x400
(bootloader) partition-type:modem:
(bootloader) partition-size:modem: 0x5400000
(bootloader) rollback_ver:0
(bootloader) serialno:8a7dd21a0904
(bootloader) kernel:lk
(bootloader) product:vince
all:
finished. total time: 1.172s
Click to expand...
Click to collapse
Please tell me what should I do now?
I even raised the guts to try fastboot erase cache But it said that the device is locked.I tried to flash twrp which I knew I can't on a locked bootloader still I tried but it said Partition flashing is not allowed.So I literally can't do ****.
Hi you have Xiaomi Note 5 also know as Xiaomi Note 5 Plus
MIUI Version 10
Security Patch : 2018.09.14
Code Name is : vince
Probably Redmi Note 5 India (MEl7) version
I didin't find any of those firmare with security patch 2018.09.14 in order to use the same boot.img in order to try to boot your device normaly .
But you can try this one :
https://ufile.io/cw9x3
flash with fastboot , or try to boot with fastboot
like fast bootboot boot boot.img ....
aasifehsan said:
I bought a Redmi Note 5 6 months ago.Last night i was watching youtube but I recieved a low battery warning so I paused the video and put mobile in sleep because I didn't wanted to charge it for like 6 hours.Next morning it was switched off I though IT was already low on battery maybe thats why the battery died.So I charged it and turned it on but its not going any further than the MI logo screen.
I have very important data and pics in there thats why I can't format it.Please help me to get back my data.All the pics I took in last 8 years its all in there.Unfortunetely I don't have a backup (Maybe I will have to regret it for the rest of my life or maybe if anyone of you guys can help me so that I don't have to regret it for the rest of my life).Its booting in MI recovery 3.0 which only gives the option to wipe all data and its also booting into fastboot mode.It doesn't have root access and the bootloader is locked.But the data is too important.I am literally crying as I am typing this post.Please HELP ME!!
Somewhere deep inside I know its the youtube temp data which is causing the problem but I don't know what to do.I will do anything just tell me what to do please.Service center clearly said that they can't save the data.You guys are my last HOPE.Please Do Something.Can I do anything through Fastboot Mode.How do they install OTA updates without deleting the DATA.If you guys will help me get my old life back you will for sure go to heaven!!
THANKS!!!
AND DAMN ME FOR NOT TAKING ANY BACKUP . . . .
Click to expand...
Click to collapse
If you can boot to recovery, you can wipe the cache partition, that will remove the temporary data. If there were any stock OTA updates released for the device, you can manually download the update and flash it via stock recovery via adb if your stock recovery has the "apply update from adb" or via sdcard if your recovery has "apply update from sdcard"
Note: this will not work with the full stock firmware file that is meant to be flashed via flashtool using PC, it has to be an official OTA update.zip in downloadable form.
Using fastboot isn't going to work unless you unlock your bootloader and if you unlock it that will wipe your data.
Sent from my LGL84VL using Tapatalk
I don't know your device, or if it is even possible while in some kind of bootloop. But try searching if its possible to boot into safe-mode.
Hello all, same problem.. Please if you have recovered data than tell me.
Hello all, I have also same problem. While watching YouTube my Redmi note 5 pro freezed. So I restarted and it stucked on mi logo. I tried recovery option by pressing volume up+power button , but it still came to mi logo. Only it shows fastboot. While charging it shows charging icon.
I tried mi flash tool but it shows flash xbl error.
Please help me soon.. I have important data in it of my exams. I don't have backup.
Xiaomi should also take a note on this.
Hello I have also same problem
There is important data and i am stuck on mi logo
i cant wipe data
if anyone have recovered the data plz plz give solution
Droid6pro said:
Hello I have also same problem
There is important data and i am stuck on mi logo
i cant wipe data
if anyone have recovered the data plz plz give solution
Click to expand...
Click to collapse
If you can access the phone by means of ADB then you may have a chance.
Interesting to see if it can be recovered.
If you do recover it, suspect malware is present.
Physically isolate phone/recover data from critical data drives.
I would have wrote it off by now... I've lost important data in other ways.
Learning from this is may be all you can do.
Always assume a OS drive will fail without warning... as well as the attached data drive.
Best wishes.

Moto g5 plus bootloader creating problem please help..!! :(

Sorry for my broken English,
Hey guys i just unlocked the boot-loader to install android 9.0 in it to just enjoy android PIE
and another day i didn't find that custom ROM stable so i flashed the android 7.0 nougat Rom in it through a video a guy posted(how to go back to stock Rom)
Stock Rom name - XT1681-XT1683_POTTER_BRASIL_LATAM_MEXICO_NPN25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml (this is the Rom that i had flashed)
and after that an OTA update just arrived and i quickly started downloading it and after it was going to update through restating the phone it just got hard bricked
i searched the whole day then got a fix through QCOM blank-flash file okayyy then went back to boot-loader,
and after this i have tried every moto g5 plus rom out there but none of it works
i have even tried to flashed the latest firmware
Name - XT1686_POTTER_RETIN_8.1.0_OPS28.85-17-6-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml
but still the boot-loader says security version downgrade,
.
.
This is exactly what it says :
writing 'bootloader'...
(bootloader) Validating 'bootloader.default.xml'
(bootloader) Security version downgrade
(bootloader) Image tz failed validation
(bootloader) Preflash validation failed
(bootloader) Security version downgrade
(bootloader) Image devcfg failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'bootloader.default.xml'
FAILED (remote failure)
finished. total time: 0.501s
.
i have tried to boot into recovery through TWRP and the Stock and had done everything but it loops in this
{ Your device has been unlocked and cant be trusted.
to learn more , visit motorola bla bla bla
ID: bad key
Your device will boot in 5 seconds. }
.
.
.
.
This is the fastboot getvar all about bootloader
-
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C0.C5
(bootloader) product: potter
(bootloader) board: potter
(bootloader) secure: yes
(bootloader) hwrev: P3B
(bootloader) radio: 6
(bootloader) storage-type: emmc
(bootloader) emmc: 32GB SAMSUNG RX14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY2243GTRP
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: 00409F3400000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 351892082852554
(bootloader) meid:
(bootloader) date: 03-28-2017
(bootloader) sku: XT1686
(bootloader) battid:
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Tue Jan 13 20: 0: 2 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/potter_n/potter_n:7.0/NPN
(bootloader) ro.build.fingerprint[1]: 25.137-15/14:user/release-keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.25.11.14.potter.reta
(bootloader) ro.build.version.full[1]: il.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-01900-89xx.0
(bootloader) version-baseband[0]: M8953_8000.128.06.42u POTTER_INDIADSDS
(bootloader) version-baseband[1]: _CUST
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-g708ac5e (hud
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9 201501
(bootloader) kernel.version[2]: 23 (prerelease) (GCC) ) #1 SMP PREEMPT T
(bootloader) kernel.version[3]: hu Jan 12 12:24:19 CST 2017
(bootloader) sbl1.git: git=MBM-NG-VC0.C5-0-g98be833
(bootloader) rpm.git: git=MBM-NG-VC0.C5-0-g5578f74
(bootloader) tz.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) devcfg.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) keymaster.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) cmnlib.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) cmnlib64.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) prov.git: git=MBM-NG-VC0.C5-0-g3d71f29
(bootloader) aboot.git: git=MBM-NG-VC0.C5-0-g99aa1c1
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retin
.
.
.
please guys every help is appreciated
thank you in advanceeeee
Use this tool here: https://forum.xda-developers.com/g5-plus/development/toolkit-moto-g5-plus-toolkit-root-t3605203
It is old but it does the job for unbricking your phone. (Have tried it on my device)
outis151 said:
Use this tool here: https://forum.xda-developers.com/g5-plus/development/toolkit-moto-g5-plus-toolkit-root-t3605203
It is old but it does the job for unbricking your phone. (Have tried it on my device)
Click to expand...
Click to collapse
thank you but still nothing is working
After reading your post again i see that you are getting "Security version downgrade" errors. This is because you can not downgrade a bootloader.
But if you use the tool i showed you and flash the boot_image from there and then the stock Rom it should be fixed...
Is that what you tried?
devhere_ said:
thank you but still nothing is working
Click to expand...
Click to collapse
@outis151 is right, all you have to do is flash a new (new means in this case newer than the one you were on before you changed to a custom ROM).
I don't like tools so I would prefer to fastboot flash the latest available signed Motorola firmware which is 28.85.17.6.2:
https://drive.google.com/file/d/13WuhoogtAdoincAyTwCLvRj0d-Z9kL0P/view?usp=sharing
I'm not sure if this is the correct one for your region but that doesn't matter, there won't be any further OTA updates in the future and the firmware is running on every Moto G5+, you just don't get any OTA updates anymore.
So take this flashall.bat :
https://www.dropbox.com/s/zfh67uzfle9hsco/flashallO.bat?dl=0
(or write the commands by hand) and flash this firmware on your device (attention, your data will be lost).
This should make your device work again.
outis151 said:
After reading your post again i see that you are getting "Security version downgrade" errors. This is because you can not downgrade a bootloader.
But if you use the tool i showed you and flash the boot_image from there and then the stock Rom it should be fixed...
Is that what you tried?
Click to expand...
Click to collapse
Sent from my Moto G5 Plus using XDA Labs
outis151 said:
After reading your post again i see that you are getting "Security version downgrade" errors. This is because you can not downgrade a bootloader.
But if you use the tool i showed you and flash the boot_image from there and then the stock Rom it should be fixed...
Is that what you tried?
Click to expand...
Click to collapse
yes exactly this way but no luck still looping in bootloader
Wolfcity said:
@outis151 is right, all you have to do is flash a new (new means in this case newer than the one you were on before you changed to a custom ROM).
I don't like tools so I would prefer to fastboot flash the latest available signed Motorola firmware which is 28.85.17.6.2:
https://drive.google.com/file/d/13WuhoogtAdoincAyTwCLvRj0d-Z9kL0P/view?usp=sharing
I'm not sure if this is the correct one for your region but that doesn't matter, there won't be any further OTA updates in the future and the firmware is running on every Moto G5+, you just don't get any OTA updates anymore.
So take this flashall.bat :
https://www.dropbox.com/s/zfh67uzfle9hsco/flashallO.bat?dl=0
(or write the commands by hand) and flash this firmware on your device (attention, your data will be lost).
This should make your device work again.
Sent from my Moto G5 Plus using XDA Labs
Click to expand...
Click to collapse
okay sir i have done the same way you told me to do but the same process is happening with this rom also
what should i do next?
devhere_ said:
okay sir i have done the same way you told me to do but the same process is happening with this rom also
what should i do next?
Click to expand...
Click to collapse
Directly after flashing that firmware take a recovery.log in TWRP and attach it here. You can grab it with TWRP terminal.You'll find the log in the root directory under cache/recovery/last_log.
To attach it here change the ending from log to txt or upload it to some kind of hoster or pastebin.
Most probably the OTA has downgraded your bootloader which could have caused a hard brick.
Have you tried to flash a custom ROM?
Sent from my Moto G5 Plus using XDA Labs
Wolfcity said:
Directly after flashing that firmware take a recovery.log in TWRP and attach it here. You can grab it with TWRP terminal.You'll find the log in the root directory under cache/recovery/last_log.
To attach it here change the ending from log to txt or upload it to some kind of hoster or pastebin.
Most probably the OTA has downgraded your bootloader which could have caused a hard brick.
Have you tried to flash a custom ROM?
Sent from my Moto G5 Plus using XDA Labs
Click to expand...
Click to collapse
i cannot even boot into my recovery not stock nor TWRP
how can i attach that recovery.log here ??? if i could boot into twrp i"ll flash a custom rom but unfortunately i cannot boot into recovery
all i can do things is my boot-loader nothing else is working

Moto G Power (Sofia) boot.img mismatch on Magisk root attempt

This Moto G Power is currently running QPMS30.80-63-6-8-3 and therefore I downloaded XT2041-4_SOFIA_RETUS_10_QPMS30.80-63-6-8-3_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip, patched the boot.img with Magisk and wrote to the phone with fastboot.
Phone on reboot has no touch screen control and erroneously indicates no battery charge. Appears to be a symptom of mismatch of boot.img from downloaded firmware and what is actually on the phone. I don't know how as I downloaded the same version. Obtained firmware from Lolinet. It is a carrier unlocked phone.
Suggestions to other ops in other posts refer to Lenovo's Rescue and Smart Assistant (LRSA) however I have no Microsoft Windows machines in my environment. I have access to Mac and Linux.
Im not sure why the firmware was a mismatch. My phone clearly indicates it is model model XT2041-4 and QPMS30.80-63-6-8-3 which should be a match for what I downloaded. Undocumented variants?
How can I recover this phone using a Linux machine since LRSA is not an option? What are my options? It was my intention to simply root patch to boot.img with magisk (Ive done before with other phones) and apply with fastboot.
What I have tried thus far: booting with unpatched boot.img .. fail and downloading firmware from another source, writing boot.img .. fail.
moto g power
model XT2041-4
software: US Retail
Android 10
QPMS30.80-63-6-8-3
Phone did not come as QPMS30.80-63-6-8-3 it was OTA updated to QPMS30.80-63-6-8-3.
coltswalker said:
This Moto G Power is currently running QPMS30.80-63-6-8-3 and therefore I downloaded XT2041-4_SOFIA_RETUS_10_QPMS30.80-63-6-8-3_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip, patched the boot.img with Magisk and wrote to the phone with fastboot.
Phone on reboot has no touch screen control and erroneously indicates no battery charge. Appears to be a symptom of mismatch of boot.img from downloaded firmware and what is actually on the phone. I don't know how as I downloaded the same version. Obtained firmware from Lolinet. It is a carrier unlocked phone.
Suggestions to other ops in other posts refer to Lenovo's Rescue and Smart Assistant (LRSA) however I have no Microsoft Windows machines in my environment. I have access to Mac and Linux.
Im not sure why the firmware was a mismatch. My phone clearly indicates it is model model XT2041-4 and QPMS30.80-63-6-8-3 which should be a match for what I downloaded. Undocumented variants?
How can I recover this phone using a Linux machine since LRSA is not an option? What are my options? It was my intention to simply root patch to boot.img with magisk (Ive done before with other phones) and apply with fastboot.
What I have tried thus far: booting with unpatched boot.img .. fail and downloading firmware from another source, writing boot.img .. fail.
moto g power
model XT2041-4
software: US Retail
Android 10
QPMS30.80-63-6-8-3
Phone did not come as QPMS30.80-63-6-8-3 it was OTA updated to QPMS30.80-63-6-8-3.
Click to expand...
Click to collapse
What does getvar all say?
Code:
fastboot getvar all
sd_shadow said:
What does getvar all say?
Code:
fastboot getvar all
Click to expand...
Click to collapse
```
(bootloader) version-bootloader: MBM-3.0-sofia_retail-20deb5d119-201101
(bootloader) product: sofia
(bootloader) board: sofia
(bootloader) emmc: 64GB MICRON S0J9K8 RV=08 PV=10 FV=0000000000000004
(bootloader) ram: 4GB MICRON LP4 DIE=16Gb M5-M8=FF 04 10 10
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) verity-state: enforcing (0)
(bootloader) date: 11-03-2020
(bootloader) sku: XT2041-4
(bootloader) carrier_sku: XT2041-4
(bootloader) ro.build.fingerprint[0]: motorola/sofia_retail/sofia:10/QPM
(bootloader) ro.build.fingerprint[1]: S30.80-63-6-8-3/3a94d:user/release
(bootloader) ro.build.version.full: <not found>
(bootloader) ro.build.version.qcom: LA.UM.8.11.r1-01800-NICOBAR.0
(bootloader) version-baseband: M6125_34.30.03.38R SOFIA_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.14.117-perf+ ([email protected]
(bootloader) kernel.version[1]: roid-build) (clang version 8.0.12 for An
(bootloader) kernel.version[2]: droid NDK) #1 SMP PREEMPT Thu Oct 8 14:0
(bootloader) kernel.version[3]: 2:49 CDT 2020
(bootloader) git:xbl: MBM-3.0-sofia_retail-37f1d8316-201101
(bootloader) git:xbl_config: MBM-3.0-sofia_retail-37f1d8316-201101
(bootloader) git:rpm: MBM-3.0-sofia_retail-ffcccb0-201101
(bootloader) git:tz: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:hyp: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:devcfg: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:cmnlib: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:cmnlib64: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:keymaster: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) gitrov: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:abl: MBM-3.0-sofia_retail-20deb5d119-201101
(bootloader) git:qupfw: MBM-3.0-sofia_retail-f848623-201101
(bootloader) git:uefisecapp: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) ro.carrier: retus
(bootloader) current-slot: b
(bootloader) running-bl-slot: _b/_b
(bootloader) running-boot-lun: 0
```
coltswalker said:
```
(bootloader) version-bootloader: MBM-3.0-sofia_retail-20deb5d119-201101
(bootloader) product: sofia
(bootloader) board: sofia
(bootloader) emmc: 64GB MICRON S0J9K8 RV=08 PV=10 FV=0000000000000004
(bootloader) ram: 4GB MICRON LP4 DIE=16Gb M5-M8=FF 04 10 10
(bootloader) securestate: flashing_unlocked
(bootloader) factory-modes: disabled
(bootloader) verity-state: enforcing (0)
(bootloader) date: 11-03-2020
(bootloader) sku: XT2041-4
(bootloader) carrier_sku: XT2041-4
(bootloader) ro.build.fingerprint[0]: motorola/sofia_retail/sofia:10/QPM
(bootloader) ro.build.fingerprint[1]: S30.80-63-6-8-3/3a94d:user/release
(bootloader) ro.build.version.full: <not found>
(bootloader) ro.build.version.qcom: LA.UM.8.11.r1-01800-NICOBAR.0
(bootloader) version-baseband: M6125_34.30.03.38R SOFIA_NA_CUST
(bootloader) kernel.version[0]: Linux version 4.14.117-perf+ ([email protected]
(bootloader) kernel.version[1]: roid-build) (clang version 8.0.12 for An
(bootloader) kernel.version[2]: droid NDK) #1 SMP PREEMPT Thu Oct 8 14:0
(bootloader) kernel.version[3]: 2:49 CDT 2020
(bootloader) git:xbl: MBM-3.0-sofia_retail-37f1d8316-201101
(bootloader) git:xbl_config: MBM-3.0-sofia_retail-37f1d8316-201101
(bootloader) git:rpm: MBM-3.0-sofia_retail-ffcccb0-201101
(bootloader) git:tz: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:hyp: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:devcfg: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:cmnlib: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:cmnlib64: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:keymaster: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) gitrov: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) git:abl: MBM-3.0-sofia_retail-20deb5d119-201101
(bootloader) git:qupfw: MBM-3.0-sofia_retail-f848623-201101
(bootloader) git:uefisecapp: MBM-3.0-sofia_retail-5ea560fb-201101
(bootloader) ro.carrier: retus
(bootloader) current-slot: b
(bootloader) running-bl-slot: _b/_b
(bootloader) running-boot-lun: 0
```
Click to expand...
Click to collapse
Looks ok to me.
Maybe the boot.img you downloaded is corrupt.
Did the .zip look like right size?
I guess I would download the next newest firmware and try to flash that boot.img
If that works flash the rest.
I have some Windows instructions Linux should be the same.
[Guide] Using Fastboot.exe with Motorola devices
Guide: Using Fastboot.exe with Motorola Devices If your device has its own section please post in that section. You can ping me with @sd_shadow MediaTek or Qualcomm Chip? Do I have a MediaTek Device? see post #26 Info: If you have a MediaTek...
forum.xda-developers.com
I am confused by reading your response. By "next newest" you mean to go backwards to the previous firmware version?
You say "flash boot.img if that works then" so you mean to flash an older boot.img from the previous firmware onto
the phone which is running a newer firmware? That seems like a bad idea since the boot.img from a previous firmware would not be of the same version. Finally it looks like you advise to flash the entire firmware if the phone is
able to boot with the boot.img from previous.
Id like to clarify before proceeding.
On another note: In all of the research I have done online with this model there are some sites that confuse sofia and sofiar as I have seen firmware for G advising sofiar which is clearly wrong. I hope that lolinet is offering the true sofia firmware and not that for sofiar G8 as I have a G not G8. As I understand the model XT2041-4 is the G however some other sources online have it the other way. It is unfortunate that Motorola / Lenovo made the distinction of models of such similar hardware so confusing.
coltswalker said:
I am confused by reading your response. By "next newest" you mean to go backwards to the previous firmware version?
Click to expand...
Click to collapse
Yes
You say "flash boot.img if that works then" so you mean to flash an older boot.img from the previous firmware onto
Click to expand...
Click to collapse
yes
the phone which is running a newer firmware? That seems like a bad idea since the boot.img from a previous firmware would not be of the same version.
Click to expand...
Click to collapse
I meant if it flashes without error, not fit boots.
Finally it looks like you advise to flash the entire firmware if the phone is
able to boot with the boot.img from previous.
Id like to clarify before proceeding.
Click to expand...
Click to collapse
You posted
Code:
writing boot.img .. fail.
If you could flash the older boot.img maybe flashing older firmware will get the phone booting again.
You also could compare the older boot.img size with the newer.
I hope that lolinet is offering the true sofia firmware and not that for sofiar G8 as I have a G not G8.
Click to expand...
Click to collapse
Unlikely they got it wrong
see
all about official firmware and where to find it
This wil be a list of firmware sources and a bit of explanation in different firmware versions and builds. This information has been gathered over the past few weeks, mainly by helping others to find the proper stock roms. First of all, there...
forum.xda-developers.com
sd_shadow said:
You posted
Code:
writing boot.img .. fail.
If you could flash the older boot.img maybe flashing older firmware will get the phone booting again.
You also could compare the older boot.img size with the newer.
Unlikely they got it wrong
see
all about official firmware and where to find it
This wil be a list of firmware sources and a bit of explanation in different firmware versions and builds. This information has been gathered over the past few weeks, mainly by helping others to find the proper stock roms. First of all, there...
forum.xda-developers.com
Click to expand...
Click to collapse
I am sorry I think I failed to articulate that well enough. The flash process itself did not fail. I have had no trouble writing to the phone from the computer in any event. What failed was seeking a solution to the problem of the phone not responding to touch screen activity. Every time I have used "fastboot" to write to the phone the write process itself completed successfully.
So, what I wanted to test on that occasion was if Magisk corrupted the boot.img so I flashed the unpatched boot.img, which also resulted in the same problem of the phone not responding to touch screen activity. This way I eliminated Magisk as the culprit and decided that the firmware I got from lolinet was not an exact match for my phone or firmware version.
Also, I have read "all about official firmware and where to find it" and I note some issues with that document. Firstly, it is very Microsoft Windows tool centric. Secondly, it fails to recognize that there are two models of the Moto G like mine for US market, one having more memory to better match the G8, although it is still a Moto G.
If the firmware from lolinet was an exact match, I would not be in this sticky situation as of right now the phone is rather useless to me. I have no idea how to obtain a boot.img that matches the phone firmware since the one from loli and one from another place neither worked thus far.
coltswalker said:
I am sorry I think I failed to articulate that well enough. The flash process itself did not fail. I have had no trouble writing to the phone from the computer in any event. What failed was seeking a solution to the problem of the phone not responding to touch screen activity. Every time I have used "fastboot" to write to the phone the write process itself completed successfully.
So, what I wanted to test on that occasion was if Magisk corrupted the boot.img so I flashed the unpatched boot.img, which also resulted in the same problem of the phone not responding to touch screen activity. This way I eliminated Magisk as the culprit and decided that the firmware I got from lolinet was not an exact match for my phone or firmware version.
Also, I have read "all about official firmware and where to find it" and I note some issues with that document. Firstly, it is very Microsoft Windows tool centric. Secondly, it fails to recognize that there are two models of the Moto G like mine for US market, one having more memory to better match the G8, although it is still a Moto G.
If the firmware from lolinet was an exact match, I would not be in this sticky situation as of right now the phone is rather useless to me. I have no idea how to obtain a boot.img that matches the phone firmware since the one from loli and one from another place neither worked thus far.
Click to expand...
Click to collapse
I was having issues reverting to stock boot.img earlier today. I had forgot that it needed to be flashed with fastbootd instead of fastboot. As far as I know, the only way to get into fastbootd is from the stock recovery.
justinr34gtr said:
I was having issues reverting to stock boot.img earlier today. I had forgot that it needed to be flashed with fastbootd instead of fastboot. As far as I know, the only way to get into fastbootd is from the stock recovery.
Click to expand...
Click to collapse
Code:
fastboot reboot fastboot

'Failed to mount '/data' (invalid argument)' error.

Hi all,
I am a newbie to custom ROM's world and this is my attempt to it. My device is Moto G5s Plus.
To start with I had an encrypted phone running Android 8. Encryption was mandatory to install some work related apps. Because of sluggish performance I thought to install custom ROM.
Here are the steps I followed:
1. Installed minimal ADB on my laptop running Win10. Connected phone and successfully unlocked bootloader.
2. Rebooted phone in recovery mode and installed 'PixelExperience_Plus_sanders-11.0-20210310-1753-OFFICIAL.zip'.
3. Rebooted the device and everything was working fine till now (restored from google backup and restarted several times to make sure things were working fine).
4. Now as I mentioned I need to encrypt phone for bussiness reasons. So I selected 'Settings->Encrypt Phone'. For very small time a green iconed screen appeared and then phone rebooted.
5. After reboot, a screen with google logo (G) with a small progress bar (kept moving left to right and vice-versa) appeared. I left it for more than 12 hours still hung at same screen.
6. Now I tried to wipe Dalvik/ART cache and cache. This is where problem started happening. I tried few other things (could not recollect exactly). I even tried to erase 'data' from fastboot using 'fastboot erase userdata'.
7. When nothing worked, I thought of installing Pixel Experience 11 plus again from TWRP. The process went smooth but towards the end it showed:
'Failed to mount '/data' (invalid argument)' error.
I am attaching snapshots and logs. Its been more than 3 days being stuck on this issue. Really appreciate any help.
Please let me know if any info is required.
Also since I dont have any data to worry about, so I am open to any suggestion (wipe/format). I have SD card and OTG with me.
Once the phone is up and running, I need to encrypt it back. So please suggest steps while keeping this requirement in mind.
Look for this issue on youtube and you'll find the steps to fix it.
It looks like you have a corrupt file system.
You can fix it using TWRP.
Good luck !
Hi,
I tried multiple steps to fix this issue but none helped.
As for now looks like I have made some progress. What I did was i flashed official firmware for Moto G5s plus as mentioned on below page:
Flash official firmware Moto G5s Plus [sanders]
So far, we have had the guides for you to unlock the bootloader in Moto G5s Plus or how to install TWRP on Moto G5s Plus and today, I am going to show you how to download and Install stock ROM in Moto G5s Plus. So if you probably have already...
forum.xda-developers.com
With this I got the device up and running with Android 7. Below is the full log of fastboot getvar all command:
<<<
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all > and7_var
(bootloader) slot-count: not found
(bootloader) slot-suffixes: not found
(bootloader) slot-suffixes: not found
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.06
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 2
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SAMSUNG RC14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY322C5JGB
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: E89B73CE00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 536870912
(bootloader) reason: Volume down key pressed
(bootloader) imei: 356477084164615
(bootloader) meid:
(bootloader) date: 10-13-2017
(bootloader) sku: XT1804
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Jul 13 4:57:41 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/sanders_n/sanders_n:7.1.1
(bootloader) ro.build.fingerprint[1]: /NPSS26.116-26-4/4:user/release-ke
(bootloader) ro.build.fingerprint[2]: ys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.26.201.4.sanders.ret
(bootloader) ro.build.version.full[1]: ail.en.US
(bootloader) ro.build.version.qcom: LA.UM.5.6.r1-03800-89xx.0
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 3.18.31-perf-g419eefd0-000
(bootloader) kernel.version[1]: 54-g1b4a83e ([email protected]) (gcc ve
(bootloader) kernel.version[2]: rsion 4.9 20150123 (prerelease) (GCC) )
(bootloader) kernel.version[3]: #1 SMP PREEMPT Mon Oct 16 22:03:44 CDT 2
(bootloader) kernel.version[4]: 017
(bootloader) sbl1.git: git=MBM-NG-VC2.06-0-gb564bed
(bootloader) rpm.git: git=MBM-NG-VC2.06-0-g5578f74
(bootloader) tz.git: git=MBM-NG-VC2.05-1-g425b927
(bootloader) devcfg.git: git=MBM-NG-VC2.05-1-g425b927
(bootloader) keymaster.git: git=MBM-NG-VC2.05-1-g425b927
(bootloader) cmnlib.git: git=MBM-NG-VC2.05-1-g425b927
(bootloader) cmnlib64.git: git=MBM-NG-VC2.05-1-g425b927
(bootloader) prov.git: git=MBM-NG-VC2.05-1-g425b927
(bootloader) aboot.git: git=MBM-NG-VC2.06-0-g1e22c44
(bootloader) qe: qe 0/0
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retin
all: listed above
finished. total time: 0.121s
>>>
Now i have Android 7 up and running. Now I opened TWRP again, and flashed 'PixelExperience_Plus_sanders-11.0-20210310-1753-OFFICIAL.zip'. Though this process works fine but after reboot it is again stuck at Google logo (G) screen.
Please help. I have spent 2-3 days working this out.
Regards.
Hey man.
In order to flash PE 11, like the ROM topic says, you "MUST" be on latest modem baseband ...
You "ONLY" obtain that by flashing the latest OREO 8.1 ROM.
So, you should flash latest Oreo you have and update it till there are no more updates.
Read PE 11 topic again. There you can find out about what i'm saying here.
Hope this helps and again,
Good luck !
Thanks a lot Damage1972 for showing the way forward
Between how did you figured out if this is the issue here?
Based on your suggestion, I flashed stock Android v8.1 and updated it till there are no updates. Phone was rebooting fine. After this, I flashed PE 11 plus and again phone is stuck at Google logo (G) screen.
Between below are logs:
<<
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: moto-msm8953-C2.12
(bootloader) product: sanders
(bootloader) board: sanders
(bootloader) secure: yes
(bootloader) hwrev: P4
(bootloader) radio: 2
(bootloader) storage-type: emmc
(bootloader) emmc: 64GB SAMSUNG RC14MB RV=08 PV=07 FV=0000000000000007
(bootloader) ram: 4GB SAMSUNG LP3 DIE=8Gb M5=01 M6=05 M7=00 M8=5F
(bootloader) cpu: MSM8953
(bootloader) serialno: ZY322C5JGB
(bootloader) cid: 0x0032
(bootloader) channelid: 0xc0
(bootloader) uid: E89B73CE00000000000000000000
(bootloader) securestate: flashing_unlocked
(bootloader) iswarrantyvoid: yes
(bootloader) max-download-size: 534773760
(bootloader) reason: Volume down key pressed
(bootloader) imei: 356477084164615
(bootloader) meid:
(bootloader) date: 10-13-2017
(bootloader) sku: XT1804
(bootloader) carrier_sku:
(bootloader) battid: SB18C15119
(bootloader) iccid:
(bootloader) cust_md5:
(bootloader) max-sparse-size: 268435456
(bootloader) current-time: "Mon Jul 13 9:30:53 UTC 1970"
(bootloader) ro.build.fingerprint[0]: motorola/sanders_n/sanders_n:8.1.0
(bootloader) ro.build.fingerprint[1]: /OPS28.65-36-14/63857:user/release
(bootloader) ro.build.fingerprint[2]: -keys
(bootloader) poweroffalarm: 0
(bootloader) ro.build.version.full[0]: Blur_Version.28.271.12.sanders.re
(bootloader) ro.build.version.full[1]: tail.en.US
(bootloader) ro.build.version.qcom: LA.UM.6.6.r1-08600-89xx.0
(bootloader) version-baseband: <not found>
(bootloader) kernel.version[0]: Linux version 3.18.71-perf-gfde333e (hud
(bootloader) kernel.version[1]: [email protected]) (gcc version 4.9.x 2015
(bootloader) kernel.version[2]: 0123 (prerelease) (GCC) ) #1 SMP PREEMPT
(bootloader) kernel.version[3]: Tue Aug 13 15:23:08 CDT 2019
(bootloader) sbl1.git: git=MBM-NG-VC2.12-0-g698fb2f
(bootloader) rpm.git: git=92e5e21-dirty
(bootloader) tz.git: git=d95e83f
(bootloader) devcfg.git: git=d95e83f
(bootloader) keymaster.git: git=d95e83f
(bootloader) cmnlib.git: git=d95e83f
(bootloader) cmnlib64.git: git=d95e83f
(bootloader) prov.git: git=d95e83f
(bootloader) aboot.git: git=MBM-NG-VC2.12-0-g07ff23c
(bootloader) frp-state: no protection (0)
(bootloader) ro.carrier: retin
(bootloader) current-slot:
(bootloader) slot-suffixes: _a
(bootloader) slot-count: 1
(bootloader) slot-successful:_a: INVALID
(bootloader) slot-successful:_b: INVALID
(bootloader) slot-bootable:_a: INVALID
(bootloader) slot-bootable:_b: INVALID
(bootloader) slot-retry-count:_a: unknown
(bootloader) slot-retry-count:_b: unknown
all: listed above
finished. total time: 0.065s
>>
Please suggest.
Thanks and Regards.
No problem,man.
About the issue, it's listed on the pre requests in order to flash PE 11 !
It's very clear written on the first page and comments on the topic.
Carefully read the ROM's topic before flashing...
About your phone still stuck on boot : did you go through the steps to correct your phone file system ? And (sorry to ask you this) how did you flash the ROM ?
Did you do a Clean Flash ?
Check your messages.
Also, try this , that's what worked for me :
How to fix unable to mount data internal storage 0mb in twrp permanently :
Note : This will wipe/format your Data partion and your data will be reset. INSTRUCTIONS : 1) Reboot your device into TWRP Recovery. 2) Go to Wipe menu. 3) Go to Advance Wipe. 4) Select Data and go to Repair or Change File System. 5) Click...
forum.xda-developers.com
So few updates:
1. Looks like my mount data internal storage 0 mb issue is resolved (flashed stock ROM and then custom ROM and did not see this error).
2. Regarding how I flashed stock ROM Android 8.1. I downloaded 'Motorola_Moto_G5S_Plus_XT1804_SANDERS_RETAIL_8.1.0_OPSS28.65-36-9_CID50_8.1.0.zip' image from:
Motorola Moto G5S Plus XT1804 Stock ROM Firmware (Flash File)
Download the official Motorola Moto G5S Plus XT1804 Stock Firmware (Flash File) for your Motorola Smartphone. We also provide all other Motorola Stock Firmware.
motostockrom.com
and executed below commands in order:
<<
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition sanders81/gpt.bin
fastboot flash bootloader sanders81/bootloader.img
fastboot flash modem sanders81/NON-HLOS.bin
fastboot flash fsg sanders81/fsg.mbn
fastboot flash dsp sanders81/adspso.bin
fastboot flash logo sanders81/logo.bin
fastboot flash boot sanders81/boot.img
fastboot flash recovery sanders81/recovery.img
fastboot flash system sanders81/system.img_sparsechunk.0
fastboot flash system sanders81/system.img_sparsechunk.1
fastboot flash system sanders81/system.img_sparsechunk.2
fastboot flash system sanders81/system.img_sparsechunk.3
fastboot flash system sanders81/system.img_sparsechunk.4
fastboot flash system sanders81/system.img_sparsechunk.5
fastboot flash system sanders81/system.img_sparsechunk.6
fastboot flash system sanders81/system.img_sparsechunk.7
fastboot flash system sanders81/system.img_sparsechunk.8
fastboot flash system sanders81/system.img_sparsechunk.9
fastboot flash system sanders81/system.img_sparsechunk.10
fastboot flash oem sanders81/oem.img
fastboot erase modemst1
fastboot erase modemst2
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot flash fsg sanders81/fsg.mbn
fastboot oem fb_mode_clear
fastboot reboot
>>
After that I was able to turn ON phone with Android 8.1.0. Checked for updates and installed them (i guess there were 3 security updates). Once done, entered bootloader and installed TWRP and flashed PE 11 plus. After reboot, it is again stuck at google logo (G) screen.
One more suggestion i need: Since I have spent a lot of time debugging this and ultimately I have to encrypt my phone. So below queries:
A. Is there any known issue with PE 11 plus on my G5S plus? If so, any workaround?
B. Is it discouraged to encrypt G5S plus running PE 11?
C. I am using 'Settings->Encrypt Phone' to encrypt phone. Should I try any other way?
Thanks and Regards.
andromeda1410 said:
A. Is there any known issue with PE 11 plus on my G5S plus? If so, any workaround?
B. Is it discouraged to encrypt G5S plus running PE 11?
C. I am using 'Settings->Encrypt Phone' to encrypt phone. Should I try any other way?
Thanks and Regards.
Click to expand...
Click to collapse
Correct. Encryption doesn't work yet on PE 11 (actually it doesn't work on most Sanders ROMs). If encryption + SELinux enforcing is important for you, stock ROM is the only option.
Thanks sBinnala for help. At this point I am convinced that I will not install custom ROM. So I want to have stock ROM (Android 8.1) preferably.
Thing is yesterday I installed Android 8.1 stock rom (exact steps mentioned above), worked fine. Flashed PE 11 plus and phone got stuck at google logo screen. Searched again and though it to be some modem related issue hence I did below steps as mentioned on https://forum.xda-developers.com/t/rom-11-sanders-pixelexperience-normal-plus-aosp.4247243/ by Jorge:
<<
It is recommended that you are using the latest firmware for the Moto G (5S) Plus.
to update via twrp:
Modem only:
https://sourceforge.net/projects/ne...5-36-14_v2.0-modem-only_20210307.zip/download
Modem, Fsg & dsp:
https://sourceforge.net/projects/ne...S28.65-36-14_v2.0-modem_20210307.zip/download
>>
So I flashed Modem, Fsg & dsp: (second zip) and re-flashed PE 11 plus. Again that did not worked. Now again I tried to flash stock Android 8.1 ROM. It worked but now it is not detecting SIM., showing IMEI as 0 or not available.
I have found multiple pages on similar issue but none is working. Looks like this issue is because of persist file and epf partition which I dont have (infact i dont have any backup).
So can someone please help me in installing stock Android 8.1 which should work fine (sim should be detected). Any help will be deeply appreciated.
Edit: Tried installing Validus and following steps mentioned on https://forum.xda-developers.com/t/...ork-imei-0-after-flashing-custom-rom.3745474/ but issue not resolved.
If it matters, mine is 4 GB/64 GB, XT 1804 variant.
On some threads, i found inconsistency in architecture (like 32 bit and 64 bit). What is that? I know i have 32 bit TWRP running on a 64 bit Windows 10 machine. I am not sure about stock ROM architecture. Can someone tell me how to check stock ROM architecture?
On another notes: I have tried flashing below stock roms but none of them are working fine (device boots but unable to recognize SIM):
- Motorola_Moto_G5S_Plus_XT1804_SANDERS_RETAIL_8.1.0_OPSS28.65-36-9_CID50_8.1.0_Android8.1.zip
- SANDERS_NPSS26.116-26-4_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml_Android7.zip
- SANDERS_NPSS26.116-61-5_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
- Stock-Sanders_OPS28.65-36-14_v2.0-modem_20210307.zip
- Validus-sanders-8.1.Beta.1.3-OFFICIAL-20180128-0506.zip
Regards.
Further update:
Looks like I have created a backup using TWRP of original ROM (which was Android 8.1 but encrypted). Zipped it using Android app and then I transferred it to Windows laptop (later realized i should not have done it). Unzipped in android device and placed it in OTG. Restored using TWRP but it is not booting.
Can I do anything now? That is, should I preserve any file which I can later use with stock Android 8.1 ROM which can help me with getting sim signal/IMEI number back.
sBinnala said:
Correct. Encryption doesn't work yet on PE 11 (actually it doesn't work on most Sanders ROMs). If encryption + SELinux enforcing is important for you, stock ROM is the only option.
Click to expand...
Click to collapse
Encryption works flawlessly with Arrow 11 vanilla.
Thanks everyone for helping me here.
Current situation:
Yes, I have a backup of stock ROM created using TWRP just after unlocking bootloader. The problem with this backup could be:
a. My phone was earlier encrypted.
b. As I was trying a lot of things and given I have 8 GB memory card, I took the backup on memory card, zipped it on memory card (using android app on phone) and then transferred to my PC. Later i transferred it back to memory card, unzipped using other Android phone and restored using TWRP.
As a result I am unable to boot my phone, It stucks at 'Your device may be unlocked ....' screen.
I have stock ROM for Android7 and Android8. I can flash any of them using fastboot. Phone boots ok but the only problem is, it is not detecting my sim card any more. IMEI number is also gone/disabled.
My phone has unlocked bootloader but is still not-rooted (and I would like to keep it this way).
Given i have spent last few days in trying various things, i have changed my expectations to below:
I no longer want any custom ROM.
I just want my phone to boot fine and every functionality like sim detection, IMEI etc to work fine (though i am fine with any android version but would prefer Android 8).
So basically I want to start fresh and have any fully-functional Android on my moto G5S plus Sanders XT1804 4 GB/64GB, dual SIM, Indian variant.
Regards.
okayk said:
Encryption works flawlessly with Arrow 11 vanilla.
Click to expand...
Click to collapse
Arrow isn't enforcing - it's permissive, which in itself is a huge security risk. Like I said, we don't have a ROM which supports both SELinux enforcing and encryption at the same time.
andromeda1410 said:
Thanks everyone for helping me here.
Current situation:
Yes, I have a backup of stock ROM created using TWRP just after unlocking bootloader. The problem with this backup could be:
a. My phone was earlier encrypted.
b. As I was trying a lot of things and given I have 8 GB memory card, I took the backup on memory card, zipped it on memory card (using android app on phone) and then transferred to my PC. Later i transferred it back to memory card, unzipped using other Android phone and restored using TWRP.
As a result I am unable to boot my phone, It stucks at 'Your device may be unlocked ....' screen.
I have stock ROM for Android7 and Android8. I can flash any of them using fastboot. Phone boots ok but the only problem is, it is not detecting my sim card any more. IMEI number is also gone/disabled.
My phone has unlocked bootloader but is still not-rooted (and I would like to keep it this way).
Given i have spent last few days in trying various things, i have changed my expectations to below:
I no longer want any custom ROM.
I just want my phone to boot fine and every functionality like sim detection, IMEI etc to work fine (though i am fine with any android version but would prefer Android 8).
So basically I want to start fresh and have any fully-functional Android on my moto G5S plus Sanders XT1804 4 GB/64GB, dual SIM, Indian variant.
Regards.
Click to expand...
Click to collapse
Normally in such cases, restoring EFS backup will do the trick. Have you already tried that?
After days of investigation, debugging and trying out everything which any post said, I have resolved my issue now. I now have a fully functional Android 8.1 installed on my phone, I am able to make calls, IMEI number is back.
In interest of wider public let me post what worked for me:
Note:
My device is Moto G5S Plus XT1804, 4 GB/64 GB, Retin Channel, India based phone. It is unrooted but has unlocked bootloader.
I have tried a lot many things, flashed many ROMs from different channels but none of them worked.
Below is what worked for me.
Probable issue: During flashing gpt.bin I was getting below error:
<<
writing 'partition'...
(bootloader) Validating 'gpt.default.xml'
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
(bootloader) Cancelling 'gpt.default.xml'
FAILED (remote failure)
finished. total time: 0.074s
>>
I guess this is the core issue. I searched on it and got many forums. Finally below solution worked for me:
Downloaded stock Android 8.1 rom 'stockrom.net_XT1804_SANDERS_RETIN_8.1.0_OPS28.65-36-14_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip' for my device from: https://www.stockrom.net/2020/04/xt1804-retin-oreo-ops28-65-36-14.html
Unzipped this file and placed it at 'C:\Program Files (x86)\Minimal ADB and Fastboot'.
Created my own batch file using instructions mentioned in 'stockrom.net_XT1804_SANDERS_RETIN_8.1.0_OPS28.65-36-14_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml/flashfile.xml'.
Imp note: Do not use fastboot commands mentioned on any forum. Every rom (custom/stock) has a flashfile.xml or servicefile.xml. Open this file and create your own batch file with steps in order mentioned in xml file.
Booted my phone in fastboot mode (volume down + power). Connected phone with PC using usb cable.
Launch 'Minimal ADB and Fastboot' on windows PC. Note: i am attaching all tools that i used to rest version related questions.
Run the batch file you created in step #3.
With these steps, I was able to get my phone up and running. Thanks a lot to all members for their help.
Regards.
Reference links:
How to Restore Stock Firmware on Moto G (All Models)
Follow this guide to restore stock firmware on Moto G. The instructions will work for Moto G 1st Gen, 2nd Gen, 3rd Gen, 4th Gen, Moto G5/Moto G5 Plus, and Moto G5S/Moto G5S Plus. The Moto G series is…
www.thecustomdroid.com
G5s Plus XT1804 RETIN (SANDERS) 8 Oreo StockRom OPS28.65-36-14
Download Firmware + Tutorial Completo para Instalação Stock Rom Moto G5s Plus XT1804 (SANDERS) Android 8.1.0 Oreo Loop, Boot Infinito ou Hard Reset
www.stockrom.net
Tutorial – Instalação Stock Rom Motorola no Modo Fastboot (Snapdragon, Moto G, Moto E, Moto X, Moto Z, Moto C, Moto M, One) + Video Tutorial - Stock Rom
Como instalar firmware nos motorolas com processadores snapdragon, moto g1 ao g7, procedimento simples, instalador com 1 clique, sem linhas de comando.
www.stockrom.net
(These pages are in non-english. I used google translator for understanding it)

Categories

Resources