How to flash cust partition (cust.img) with locked bootloader? - Xiaomi Redmi Note 3 Questions & Answers

Hello.
I wiped the cust partition using twrp, my device has locked bootloader.
How to flash this? miflash does not flash this partition using EDL mode, and fastboot shows an error related to the locked bootloader.
Thanks.

What does cust contain?
Sent from my kenzo using Tapatalk

1emrys1 said:
What does cust contain?
Sent from my kenzo using Tapatalk
Click to expand...
Click to collapse
Locale info i think, after wipping that partition i can't set where am i located in settings, it only shows "China", and some apps are doing Fcs.

avercros said:
Hello.
I wiped the cust partition using twrp, my device has locked bootloader.
How to flash this? miflash does not flash this partition using EDL mode, and fastboot shows an error related to the locked bootloader.
Thanks.
Click to expand...
Click to collapse
hi bro,
how do you get twrp installed on locked bootloader kenzo redmi note 3 ? thx.

atiparno said:
hi bro,
how do you get twrp installed on locked bootloader kenzo redmi note 3 ? thx.
Click to expand...
Click to collapse
Mine is a kate, i don't know if the process is the same.

Do you need the cust of another person having a kate?

I formatted cust partition with ZXC TWRP and nothing happened, I'm on the last build Cardinal-AOSP's and used Google Maps and Maps Here
Edit: I have also a Kate device with lock bootloader

avercros said:
Hello.
I wiped the cust partition using twrp, my device has locked bootloader.
How to flash this? miflash does not flash this partition using EDL mode, and fastboot shows an error related to the locked bootloader.
Thanks.
Click to expand...
Click to collapse
im not sure if it will work or note but u an try
fastboot flash cust cust.img

1emrys1 said:
What does cust contain?
Sent from my kenzo using Tapatalk
Click to expand...
Click to collapse
MIUI bloatwares

blue whale said:
Do you need the cust of another person having a kate?
Click to expand...
Click to collapse
I've already tried this but it does not work, thanks.
ExEdd said:
I formatted cust partition with ZXC TWRP and nothing happened, I'm on the last build Cardinal-AOSP's and used Google Maps and Maps Here
Edit: I have also a Kate device with lock bootloader
Click to expand...
Click to collapse
It is only necesary for miui based roms.
shub4m said:
im not sure if it will work or note but u an try
fastboot flash cust cust.img
Click to expand...
Click to collapse
Says FAILED due to locked BL.
BlueJeans said:
MIUI bloatwares
Click to expand...
Click to collapse
Yes, but without this partition MIUI stock rom will give you a lot of FCs, it can't find locale related data.

You have to unlock your bootloader
Fastboot wipe cust
Fastboot flash cust cust.Img

avercros said:
Hello.
I wiped the cust partition using twrp, my device has locked bootloader.
How to flash this? miflash does not flash this partition using EDL mode, and fastboot shows an error related to the locked bootloader.
Thanks.
Click to expand...
Click to collapse
where is the option of wipe cust partition in TWRP?
I used almost 3 versions of TWRP but i couldnt find option of wipe cust partition.

Related

help needed fastboot method

I have aosp extended rom and i want to go back to miui i dont want twrp or any root how to do it via fastboot method is there any risk of loosing efs data pls help
skywalker9969 said:
I have aosp extended rom and i want to go back to miui i dont want twrp or any root how to do it via fastboot method is there any risk of loosing efs data pls help
Click to expand...
Click to collapse
of course
..when using fastboot everything will be wiped .. atleast i do it with full wipe...
and dont worry about efs.. the stock fastboot rom will have the efs..even if your phone is wiped fullh the new modem file(efs) from stock fastboot rom will be installed...
~peace
there will be many thread in guides news discussion on how to flash stock rom via edl usong mi flash toll do reffer it
Can i flash without edl i mean only fastboot method? Like it showed on miui site
skywalker9969 said:
Can i flash without edl i mean only fastboot method? Like it showed on miui site
Click to expand...
Click to collapse
that will only work if your bootloder is unlocked...
yeah if its unloacled you can flash it via fastboot
Yes bootloader officially unlocked will try thanks
skywalker9969 said:
Yes bootloader officially unlocked will try thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/redmi-note-3/development/mi-fastboot-unbrick-tool-2-0-t3538614
you can use this
edit..skip the oem unlocl and all...use ghe fastbolt codes...it will do the work

Update LineageOS

Hello,
some weeks ago I installed LinegeOS on my Redmi Note 4. I unlocked bootloader and tried flash TWRB but when i reboot my phone to recovery, MI recovery appear. So I somewhere in XDA found that it is normal and I must boot to recovery via terminal using fastboot. So I booted to recovery using this command
Code:
fastboot boot twrp.img
and flashed LineageOS.
Now when I open Settings->Updates (or something like this) and click on Install updates, it just prepare updates, reboot (probably try reboot to recovery) and nothing happen. I found that I can update it manually but I cannot found downloaded updates in my phone and also I am worried that I loose all my data using this way.
So my question is: How can I update my phone without resetting and loosing all data? My current version of LineageOS is 14.01-NIGHTLY. I have Redmi note 4 global version, Snapdragon.
Just go to lineage official downloads site and dwnld latest nightly and then flash manually ...i think open recovery script that alloow automatic flash isn't stable ...so do it manually ....
try erasing the recovery and reflash it.
fastboot erase recovery
fastboot flash recovery recovery(choosen by you or redwolf).img
fastboot erase cache
fastboot reboot
Sectorian said:
try erasing the recovery and reflash it.
fastboot erase recovery
fastboot flash recovery recovery(choosen by you or redwolf).img
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
I have done it but now I got Error 7 when I try to flash update.
Thanks for reply!
achjaj said:
I have done it but now I got Error 7 when I try to flash update.
Thanks for reply!
Click to expand...
Click to collapse
Update your TWRP (3.2.1.0) and update your firmware. There's a thread with different firmwares in the development section
Noter2017 said:
Update your TWRP (3.2.1.0) and update your firmware. There's a thread with different firmwares in the development section
Click to expand...
Click to collapse
I updated TWRP and flashed firmware from: https://forum.xda-developers.com/redmi-note-4/xiaomi-redmi-note-4-snapdragon-roms-kernels-recoveries--other-development/firmware-firmwares-mido-global-beta-t3746333(stable global) but I still got error 7.
achjaj said:
I updated TWRP and flashed firmware from: https://forum.xda-developers.com/redmi-note-4/xiaomi-redmi-note-4-snapdragon-roms-kernels-recoveries--other-development/firmware-firmwares-mido-global-beta-t3746333(stable global) but I still got error 7.
Click to expand...
Click to collapse
Use redwolf recovery.
achjaj said:
I updated TWRP and flashed firmware from: https://forum.xda-developers.com/re...re-firmwares-mido-global-beta-t3746333(stable global) but I still got error 7.
Click to expand...
Click to collapse
Please share the file names of your ROM zip file and TWRP .img file.

Redmi note 3 pro lost Wifi/BT/Sensors

Hi I have a redmi note 3 pro which I flashed with xiaomi flasher. Everything worked and the phone boots up but it lost wifi and sensors. I have read about this problem but I can't seem to find a solution. Can someone please help me?
eltarod said:
Hi I have a redmi note 3 pro which I flashed with xiaomi flasher. Everything worked and the phone boots up but it lost wifi and sensors. I have read about this problem but I can't seem to find a solution. Can someone please help me?
Click to expand...
Click to collapse
Download fastboot rom
Extract it to folder
Find persist.img file
Copy it to some other place.
Now u need unlocked bootloader to flash persist.img file
If u already have unlocked boot loader then Put phone in fastboot mode
Open cmd
Use below fastboot commands to flash persist file
fastboot devices
fastboot flash persist persist.img
fastboot reboot
Black_Stark said:
Download fastboot rom
Extract it to folder
Find persist.img file
Copy it to some other place.
Now u need unlocked bootloader to flash persist.img file
If u already have unlocked boot loader then Put phone in fastboot mode
Open cmd
Use below fastboot commands to flash persist file
fastboot devices
fastboot flash persist persist.img
fastboot reboot
Click to expand...
Click to collapse
Is there any other way with locked bootloader and edl mode to flash persist.img?
eltarod said:
Is there any other way with locked bootloader and edl mode to flash persist.img?
Click to expand...
Click to collapse
Why ? u cant unlock bootloader officialy?
---------- Post added at 04:52 PM ---------- Previous post was at 04:45 PM ----------
If not fastboot mode then u can flash img file using orange fox twrp
Install fox twrp
Boot in fox recovery.
Select .img file
Select persist partition
And flash it
And reboot
https://orangefox.tech/download/kenzo/
I guess I can even without wifi.. I could use sim data to input a mi account.. But it would take some days. I was hoping for a quicker solution. If not then I will do as you say.
eltarod said:
I guess I can even without wifi.. I could use sim data to input a mi account.. But it would take some days. I was hoping for a quicker solution. If not then I will do as you say.
Click to expand...
Click to collapse
No permission need to apply.
Just Turn on sim data
. And Try to add account in developer option. See if can be successfully added in developer option > miunlock status.
Let me know if u getting 20091 error in developer option.
First I flashed persist with fastboot commands. Everything was successful but still the same problem. Then I installed OrangeFox TWRP with fastboot commands. Booted straight up to recovery and flashed the image as you said to persist partition. Selected to reboot to system and stays stucked at MI logo with no loading. Any ideas?
eltarod said:
First I flashed persist with fastboot commands. Everything was successful but still the same problem. Then I installed OrangeFox TWRP with fastboot commands. Booted straight up to recovery and flashed the image as you said to persist partition. Selected to reboot to system and stays stucked at MI logo with no loading. Any ideas?
Click to expand...
Click to collapse
Ur imei and baseband is showing ?
Black_Stark said:
Ur imei and baseband is showing ?
Click to expand...
Click to collapse
Don't know now since the phone is dead. I will have to flash a firmware. Will tell after I wake up phone with firmware.
Here is something new.. I transfered a .zip firmware to phone and tried to flash with ORangeFOx but nothing happens. I get an error. Checked and the phone can't see the Data partition. Should I flash firmware with edl mode?
eltarod said:
Here is something new.. I transfered a .zip firmware to phone and tried to flash with ORangeFOx but nothing happens. I get an error. Checked and the phone can't see the Data partition. Should I flash firmware with edl mode?
Click to expand...
Click to collapse
Ur phone kenzo or kate ??
Flash right fastboot rom on right device.
Install telegram app chat on redmi note 3 community group. It will be faster to know and fix ur issue.
U can install app on pc or phone.
https://t.me/rn3dev

Need your help, stuck with no ROM

Hey, my situation no is:
BootLoader unlocked
TWRP installed
No ROM
And now my phone is empty, no old ROM, no new one. It makes situation much harder cuz i dont have SD card or OTG cable.
Any idea how i could get custom or stock ROM installed?
LycanRS said:
Hey, my situation no is:
BootLoader unlocked
TWRP installed
No ROM
And now my phone is empty, no old ROM, no new one. It makes situation much harder cuz i dont have SD card or OTG cable.
Any idea how i could get custom or stock ROM installed?
Click to expand...
Click to collapse
Reboot into eRecovery and try to update your phone using option "Download latest version etc...." . It requires good wifi connection.
-Alf- said:
Reboot into eRecovery and try to update your phone using option "Download latest version etc...." . It requires good wifi connection.
Click to expand...
Click to collapse
Tried it, fails.
Have you tried install custom ROM , e.g. caos, losq-224 , alpha-ROM from fastboot? It should work. Make sure to have the stock recovery flash , before booting up the ROM, you will need to perform a factory reset in stock recovery.
-Alf- said:
Have you tried install custom ROM , e.g. caos, losq-224 , alpha-ROM from fastboot? It should work. Make sure to have the stock recovery flash , before booting up the ROM, you will need to perform a factory reset in stock recovery.
Click to expand...
Click to collapse
I tried caos, losq, lineage 16 through fastboot. Always fails. Error 7, error 9..
How do i get stock recovery back?
Btw thanks for your time Alf
LycanRS said:
Always fails. Error 7, error 9..
Click to expand...
Click to collapse
Error 7 in fastboot ? , never seen...in TWRP only, due to incompatible script in META-INF.
LycanRS said:
How do i get stock recovery back?
Click to expand...
Click to collapse
Without SD card or OTG ? I'm out of ideas bro.
Try fastboot flash stock recovery and stock erecovery
Then boot into erecovery and download?
Erecovery restore can fail with twrp installed as recovery
Videophile said:
Try fastboot flash stock recovery and stock erecovery
Then boot into erecovery and download?
Erecovery restore can fail with twrp installed as recovery
Click to expand...
Click to collapse
I could try that, but where do i get the files?
Videophile said:
Then boot into erecovery and download?
Click to expand...
Click to collapse
LycanRS said:
Tried it, fails.
Click to expand...
Click to collapse
@LycanRS , what's your region? C...?
IMO you can try to flash stock system.img from fastboot.
In fastboot mode run commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
and post the results.
Stock recovery EMUI 9.1 download
Just bought a MicroSD card. What do i do?
LycanRS said:
What do i do?
Click to expand...
Click to collapse
https://forum.xda-developers.com/t/need-your-help-stuck-with-no-rom.4233327/post-84677259
Videophile said:
Try fastboot flash stock recovery
Click to expand...
Click to collapse
Got stock erecovery, downloading stock image over wifi now
LycanRS said:
VNS-L21
Click to expand...
Click to collapse
Wrong section bro...
Okay, got back to stock rom
EMUI 9.1.0.132(C432E5R1P7)
-Alf- said:
Wrong section bro...
Click to expand...
Click to collapse
What GSI would you recommend?

Question How to flash modem.img via fastboot

Really stupid question here folks.
I am trying to flash the modem.img file from a zenphone 8 device.
Now I can flash the factory modem.img via fastboot but not the zenphone 8 modem.img. I get an error saying that Flashing not allowed for modem partition. Any tips or advice?
Does somebody know a way to convert the file to a sin file and flash it via newflasher?
Cheers, Bentree.
Use fastbootd instead of plain fastboot.
Also:
You shold flash both modem_a and modem_b partitions.
For NTT version, you cannot flash modem in neither fastboot mode nor fastbootd mode.
Till now I only success flash in twrp mode.
cscomic said:
For NTT version, you cannot flash modem in neither fastboot mode nor fastbootd mode.
Till now I only success flash in twrp mode.
Click to expand...
Click to collapse
NTT?
Ainz_Ooal_Gown said:
NTT?
Click to expand...
Click to collapse
Yes, some carrier lock partitions, such as NTT Docomo.
If you bought SO-51B, flash modem partition will success in both fastboot and fastbootd mode, but when you boot to system and check files in path /vendor/firmware_mnt/image, you will find it doesn't take effort.
And for flash mode, you will receive the cms key error.
cscomic said:
Yes, some carrier lock partitions, such as NTT Docomo.
If you bought SO-51B, flash modem partition will success in both fastboot and fastbootd mode, but when you boot to system and check files in path /vendor/firmware_mnt/image, you will find it doesn't take effort.
And for flash mode, you will receive the cms key error.
Click to expand...
Click to collapse
Is this still true if the bootloader has been unlocked?
Santa Claus 228 said:
Is this still true if the bootloader has been unlocked?
Click to expand...
Click to collapse
yes

Categories

Resources