Non-hlos.bin TWRP - Xiaomi Redmi Note 3 Questions & Answers

How to flash the non-hlos.bin file via TWRP?

You can not, use fastboot: -
Code:
fastboot flash modem NON-HLOS.bin

Related

Not work radio on Xiaomi Redmi 2 after "fastboot erase modemst"

Hello!
Not work radio on Xiaomi Redmi 2 after "fastboot erase modemst".
I reflash via fastboot files:
PHP:
fastboot flash hyp hyp.mbn
fastboot flash tz tz.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash modem NON-HLOS.bin
but it did not help.
Phone does not detect SIM card and displays IMEI 0
What to do?
I tried to flash the radio through via QPST, but "service programming" could not open the phone :crying:
PLEASE, HELP!!!

Flash stock and relock bootloader without loose imei/efs folder

Hi, today I'm triying to relock my xt 1650/03 bootloader it be successful, but my imei was null, I have a copy of my efs folder but to restore it I need unlock bootloader to boot twrp, you know how can relock bootloader without loose efs/imei? Sorry for my poor English.
Flash Nougat Stock
with:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot flash partition gpt.bin
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
*after this, flash Oreo Soak one time with this commands:
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot reboot
and look with *06# you get your IMEI back
after it, try these commands for Nougat Rom:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
* the Image from Oreo here:
https://drive.google.com/file/d/15tiVwLK1VtRqaPphwkKcSwTIq0CtxrVf/view?usp=sharing
When Bootloader says "modified", wait for OTA, this did the trick for us, please don't modify the Image and wait for official Oreo
Lif3mau5 said:
Flash Nougat Stock
with:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot flash partition gpt.bin
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
*after this, flash Oreo Soak one time with this commands:
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot reboot
and look with *06# you get your IMEI back
after it, try these commands for Nougat Rom:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
* the Image from Oreo here:
https://drive.google.com/file/d/15tiVwLK1VtRqaPphwkKcSwTIq0CtxrVf/view?usp=sharing
When Bootloader says "modified", wait for OTA, this did the trick for us, please don't modify the Image and wait for official Oreo
Click to expand...
Click to collapse
Which nougat rom are you using ? Your script there is 18 chunkes, but mine´s got only 12...
lucianocfernandes said:
Which nougat rom are you using ? Your script there is 18 chunkes, but mine´s got only 12...
Click to expand...
Click to collapse
Use the Fastboot Image which was the last Android Version on your Phone please, not mine. My is RETEU for Europe ...
Found a interesting Fastboot Command on Miui Site and create more of the commands for our Moto Z, for testing or after you have flash the Oreo Soak Image and get back to 7.1.1 - here ist it:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash –S "serial number" partition gpt.bin
fastboot flash modem NON-HLOS.bin
fastboot erase boot
fastboot flash bluetooth BTFM.bin
fastboot flash fsg fsg.mbn
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase DDR
fastboot oem config carrier reteu
fastboot oem fb_mode_clear
pause
fastboot oem lock
fastboot oem lock
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot oem lock
pause
fastboot reboot
(This method only works for unlocked bootloader..
Try to flash persist.img file
Extract the fastboot Rom
Find the persist.img file
On window image folder, shift +right click
Open command window here
Connect your phone to PC in fastboot mode
Enter fastboot command
Fastboot devices
Fastboot erase persist
Fastboot flash persist persist.img
Fastboot reboot
For Flashing guides using fastboot command Try to read this threads..
http://en.miui.com/thread-250455-1-1.html
I think that's not the complete command, but it still working
There is some missing command..
Fastboot flash persist persist.img
Fastboot flash cmnlib cmnlib.mbn
Fastboot flash cmnlibbak cmnlib.mbn
Fastboot flash keymaster keymaster.mbn
Fastboot flash keymasterbak keymaster.mbn)
For Xiaomi Smartphones:
fastboot flash tz tz.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash rpm rpm.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash hyp hyp.mbn
fastboot flash tzbak tz.mbn
fastboot flash sbl1bak sbl1.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot flash hypbak hyp.mbn
fastboot erase boot
fastboot flash modem NON-HLOS.bin
fastboot –S 512M flash system system.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash sec sec.dat
fastboot flash dsp adspso.bin
fastboot flash mdtp mdtp.img
fastboot erase splash
fastboot flash splash splash.img
fastboot erase DDR
fastboot flash cust cust.img
Lif3mau5 said:
Flash Nougat Stock
with:
fastboot oem fb_mode_set
fastboot flash bootloader bootloader.img
fastboot flash partition gpt.bin
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
*after this, flash Oreo Soak one time with this commands:
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot reboot
and look with *06# you get your IMEI back
after it, try these commands for Nougat Rom:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash fsg fsg.mbn
fastboot flash bluetooth BTFM.bin
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash system system.img_sparsechunk.11
fastboot flash system system.img_sparsechunk.12
fastboot flash system system.img_sparsechunk.13
fastboot flash system system.img_sparsechunk.14
fastboot flash system system.img_sparsechunk.15
fastboot flash system system.img_sparsechunk.16
fastboot flash system system.img_sparsechunk.17
fastboot flash oem oem.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
* the Image from Oreo here:
https://drive.google.com/file/d/15tiVwLK1VtRqaPphwkKcSwTIq0CtxrVf/view?usp=sharing
When Bootloader says "modified", wait for OTA, this did the trick for us, please don't modify the Image and wait for official Oreo
Click to expand...
Click to collapse
hi sir, i wiped my efs without knowing what im doing then after my imei showing 0 0. is this guide applicable to who lost their efs

Is "erase before flash" better than "flash only"

I am going to flash a new custom ROM including the latest firmware (3.6.1).
but I am considering whether I should erase before flash.
why do I have this idea?
because I fixed a problem by erasing all the partition then flash
**** the problem I fixed after erasing was encryption fail.
erasing all the partition I will flash
Code:
fastboot erase -S 512M system
fastboot erase boot
fastboot erase oem_stanvbk
fastboot erase rpm
fastboot erase tz
fastboot erase aboot
fastboot erase sbl1
fastboot erase pmic
fastboot erase hyp
fastboot erase rpmbak
fastboot erase tzbak
fastboot erase abootbak
fastboot erase sbl1bak
fastboot erase pmicbak
fastboot erase hypbak
fastboot erase modem
fastboot erase bluetooth
fastboot erase sdi
fastboot erase LOGO
fastboot erase cache
fastboot erase recovery
fastboot erase userdata
Then flash all the partition I erased
Code:
fastboot flash -S 512M system system.img
fastboot flash boot boot.img
fastboot flash oem_stanvbk static_nvbk.bin
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash pmic pmic.mbn
fastboot flash hyp hyp.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash tzbak tz.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot flash sbl1bak sbl1.mbn
fastboot flash pmicbak pmic.mbn
fastboot flash hypbak hyp.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash bluetooth BTFM.bin
fastboot flash sdi sdi.mbn
fastboot flash LOGO logo.bin
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata_64G.img
fastboot reboot
thank you

help to installing the new android 10 ota update

hello guys, i just download the new update for my phone but i cant intsall it, i didnt install any recovery and anything on my phone yet, i tried to install it via adb sideload ota.zip command and not work, i unlocked bootloader and its not worked
Hi,
Try these commands when in fastboot mode.
Maybe you need to relock the bootloader.
Here are the commands:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_other.img
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot

Question Why does the device bootloop after issuing 'fastboot --set-active=b'?

To make sure the firmware is the same on both slots I ran the below commands:
Code:
fastboot --set-active=a
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot magisk_patched-25200_hrpNZ.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot erase carrier
fastboot flash bluetooth BTFM.bin
fastboot oem fb_mode_clear
fastboot --set-active=b
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition_b gpt.bin
fastboot flash bootloader_b bootloader.img
fastboot flash vbmeta_b vbmeta.img
fastboot flash radio_b radio.img
fastboot flash bluetooth_b BTFM.bin
fastboot flash dsp_b dspso.bin
fastboot flash logo_b logo.bin
fastboot flash boot_b magisk_patched-25200_hrpNZ.img
fastboot flash dtbo_b dtbo.img
fastboot flash recovery_b recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot erase carrier
fastboot flash bluetooth_b BTFM.bin
fastboot oem fb_mode_clear
It still bootloops when booting into slot b. Am I missing something to do with the super partition?

Categories

Resources