[HELP] I need a copy of the cust folder from the root of the device - Xiaomi Redmi Note 5 Pro Questions & Answers

Hello guys,
I have a lot of problems with my cust partition and as moving the files from the cust partition to another phone works, I need the files of the cust partition from someone on any global MIUI 9 based on android 8.1.0 (REDMI NOTE 5 PRO / 5 GLOBAL)
Please upload it to something and share it
It will save my device and fix the problems
Guide:
1. Boot to twrp
2. go to the file explorer of twrp
3. go to the root of the device
4. go to the cust folder and copy everything from there to your internal storage and move it to your PC via MTP
5. add the files to a zip file and upload it
Thanks and have a good day!

Just flash cust.img via fastboot. You can get it on any fastboot rom

devcon69 said:
Just flash cust.img via fastboot. You can get it on any fastboot rom
Click to expand...
Click to collapse
I need this for another phone, so unfortunately I cant do that

Related

Redmi 1s bootlooped pc cant detect fastboot

while trying to root miui8 my phone got bootlooped and now i can only access fastboot and mi recovery.while trying to flash rom through mi flash it shows echo mismatched device and while using adb commands it shows waiting for device.my device is detected by miflash though.Please help
can you reboot to recovery ?
EmanzzKie said:
can you reboot to recovery ?
Click to expand...
Click to collapse
yes but its mi recovery
blaze2fire said:
yes but its mi recovery
Click to expand...
Click to collapse
for this you need to wipe everything on your phone except for external storage because it's optional,
to do that you need custom recovery or you can directly dirty flash stock ROM from MI RECOVERY
to dirty flash:
if you can copy files between pc to your phone then
download MIUI ROM for Redmi 1s, copy ROM to your phone
reboot to MI Recovery and then find the package
http://en.miui.com/download-226.html
if you clean flash:
then you might need twrp or cwm recovery (I prefer twrp)
if you can copy files between pc to your phone then
download recovery for Redmi 1s, copy recovery to your phone
reboot to MI Recovery and then find the package
https://drive.google.com/drive/u/0/folders/0B6_hhjS3nx4IdzFHXzdfNXVCYm8
if you can't flash the zip file/s then try renaming it to "update.zip" without " "
then sign the zip using Zip Signer (u can get it by searching it on google)
Hi Friends, Need help very badly, Redmi 1S, unable to get recovery or fastboot, and in System device descriptor request failed, Device is not detected. Please help
EmanzzKie said:
for this you need to wipe everything on your phone except for external storage because it's optional,
to do that you need custom recovery or you can directly dirty flash stock ROM from MI RECOVERY
to dirty flash:
if you can copy files between pc to your phone then
download MIUI ROM for Redmi 1s, copy ROM to your phone
reboot to MI Recovery and then find the package
http://en.miui.com/download-226.html
if you clean flash:
then you might need twrp or cwm recovery (I prefer twrp)
if you can copy files between pc to your phone then
download recovery for Redmi 1s, copy recovery to your phone
reboot to MI Recovery and then find the package
https://drive.google.com/drive/u/0/folders/0B6_hhjS3nx4IdzFHXzdfNXVCYm8
if you can't flash the zip file/s then try renaming it to "update.zip" without " "
then sign the zip using Zip Signer (u can get it by searching it on google)
Click to expand...
Click to collapse
PROBLEM is i cant copy anything
im planning to use an sdcard ill inform you guys whether it works:good: thansk anyways:laugh:

Softbricked Mi10t Lite (gauguin)

Hello guys,
I have rooted 2 days ago my phone with TWRP and Magisk; everything worked fine until I tried to change somethin in /system/ folder. It always said I dont have write rights. So I decided to go back to stock rom. I have downloaded the stock rom for my phone (gauguin, Global 12.0.8.0 , Android 10.) Now I have the following problem. My device is soft bricked.
So i decided to google and try to flash another Rom for my phone. I found one here.
https://xiaomirom.com/en/rom/mi-10t-lite-gauguin-global-fastboot-recovery-rom/
How Can I flash that file? its .tgz
I have stock rom installed and I cant flash TWRP
Thanks in advance
Francesco
here is what comes when I try to flash. It fails aftter Flashing super :
error hosted at ImgBB
Image error hosted in ImgBB
ibb.co
Francescohub said:
here is what comes when I try to flash. It fails aftter Flashing super :
Click to expand...
Click to collapse
Unpack TGZ archive, then untar TAR file again. You will see folder with images and script files. Run "flash_all_except_storage.bat".
Francescohub said:
here is what comes when I try to flash. It fails aftter Flashing super :
error hosted at ImgBB
Image error hosted in ImgBB
ibb.co
Click to expand...
Click to collapse
Get it too work ?
_mysiak_ said:
Unpack TGZ archive, then untar TAR file again. You will see folder with images and script files. Run "flash_all_except_storage.bat".
Click to expand...
Click to collapse
For the love of god, I just spent 3 hours to install fastboot ROM and did not succeed. No idea what went wrong, but at the end I finally restored my device..
1. download recovery ROM and transfer it to internal SD
2. download fastboot ROM, unpack it
3. modify flash_all_except_storage.bat and delete lines with CRCLIST and SPARCECRCLIST
4. run the script
5. phone will keep rebooting on MI logo
6. boot to TWRP "fastboot boot twrp.img"
7. install recovery ROM from TWRP
8. (install Magisk), reboot phone to system
For some reason fastboot flashing doesn't install /odm partition correctly. I have the latest drivers, android tools, tried 2 PCs, 2 different USB cables, different USB ports, using Mi Flash, nothing helped. The only solution was to flash recovery rom from TWRP. Fortunately no data has been lost.
Francescohub said:
Hello guys,
I have rooted 2 days ago my phone with TWRP and Magisk; everything worked fine until I tried to change somethin in /system/ folder. It always said I dont have write rights. So I decided to go back to stock rom. I have downloaded the stock rom for my phone (gauguin, Global 12.0.8.0 , Android 10.) Now I have the following problem. My device is soft bricked.
So i decided to google and try to flash another Rom for my phone. I found one here.
https://xiaomirom.com/en/rom/mi-10t-lite-gauguin-global-fastboot-recovery-rom/
How Can I flash that file? its .tgz
I have stock rom installed and I cant flash TWRP
Thanks in advance
Francesco
Click to expand...
Click to collapse
Can you boot into fastboot? You said it's soft bricked so I imagine you can. Reply and I'll get back to you, I soft bricked mine and fixed it fine.
Hey guys, I was finally able to flash the Rom.
I used to flash a Rom with Xiaomi Flash, accidentaly it was a wrong rom, which I saw later on.
So I installed TWRP recovery with fastboot commands and downloaded the right rom. I used to download the EEA Rom instead of Global Rom. So I transfered the EU Rom to micro SD Card and flashed it with TWRP.
Everything is working now, except the access to /system folder, after I rooted with magisk 20.4. Even with the newest Version it does not work.
So I tried in the terminal the following command while I was in /system folder: mount -o rw,remount/ But this does also not work. How can I get acess to it?
Sorry for my english again
Francescohub said:
Hey guys, I was finally able to flash the Rom.
I used to flash a Rom with Xiaomi Flash, accidentaly it was a wrong rom, which I saw later on.
So I installed TWRP recovery with fastboot commands and downloaded the right rom. I used to download the EEA Rom instead of Global Rom. So I transfered the EU Rom to micro SD Card and flashed it with TWRP.
Everything is working now, except the access to /system folder, after I rooted with magisk 20.4. Even with the newest Version it does not work.
So I tried in the terminal the following command while I was in /system folder: mount -o rw,remount/ But this does also not work. How can I get acess to it?
Sorry for my english again
Click to expand...
Click to collapse
Think you storage is corrupted what I did was download the ROM for my phone open the tar ROM to you see a file says images flash all and other stuff play rom folder in mi flash tool folders and open CMD use flash all in ROM folder
Make sure your phone is in fastboot before you use the flash all file it will return your phone to stock ROM

How to flash a GSI in realme X?

I'm currently using Realme X RMX1901(CN)(4-64gb), i switch to different roms pretty frequently . just now, i tried OOS GSI(A only), but its stuck in a bootloop(just showing realme logo and going on-off.
this is how i flashed using latest TWPR:
1. formated all my data(including everything in the advanced option)
2. used my pc to extracted .img file from .7z file,
3. copied that .img file to phone storage and
4. flashed .img file , only the system image.
the flash completed without any error, then i rebboted it(also tried by formatting only internal data)
my question is where did i go wrong? did i miss any part or did it wrong?
please let me know, thanks in advance.

Question How to root by patching boot.img, having issues with firmware

Im trying to root my device by patching boot.img , but the issue is when i download 12.5.3.0 firmware its only 130mb zip file and it dosent contain boot.img, is there a place where i can download entire 12.5.3.0 rom so i can get boot.img ?
Also another question , im doing this because apparently ill still get OTA updates afterwards , is that true ?
shodibre said:
Im trying to root my device by patching boot.img , but the issue is when i download 12.5.3.0 firmware its only 130mb zip file and it dosent contain boot.img, is there a place where i can download entire 12.5.3.0 rom so i can get boot.img ?
Also another question , im doing this because apparently ill still get OTA updates afterwards , is that true ?
Click to expand...
Click to collapse
Updates work different for every other phone but its possible
here is a guide: by topjohmwu of magisk
Patching Images​
If your device has boot ramdisk, you need a copy of the boot.img
If your device does NOT have boot ramdisk, you need a copy of the recovery.img.
You should be able to extract the file you need from official firmware packages or your custom ROM zip (if using one). If you are still having trouble, go to XDA-Developers and look for resources, guides, discussions, or ask for help in your device’s forum.
Copy the boot/recovery image to your device
Press the Install button in the Magisk card
If you are patching a recovery image, make sure “Recovery Mode” is checked in options.
In most cases it should already be automatically checked.
Choose “Select and Patch a File” in method, and select the stock boot/recovery image
The Magisk app will patch the image to [Internal Storage]/Download/magisk_patched_[random_strings].img.
Copy the patched image to your PC with ADB:
adb pull /sdcard/Download/magisk_patched_[random_strings].img
Flash the patched boot/recovery image to your device.
For most devices, reboot into fastboot mode and flash with command:
fastboot flash boot /path/to/magisk_patched.img or
fastboot flash recovery /path/to/magisk_patched.img if flashing a recovery image
Reboot and voila!
flairepathos.info said:
Updates work different for every other phone but its possible
here is a guide: by topjohmwu of magisk
Patching Images​
If your device has boot ramdisk, you need a copy of the boot.img
If your device does NOT have boot ramdisk, you need a copy of the recovery.img.
You should be able to extract the file you need from official firmware packages or your custom ROM zip (if using one). If you are still having trouble, go to XDA-Developers and look for resources, guides, discussions, or ask for help in your device’s forum.
Copy the boot/recovery image to your device
Press the Install button in the Magisk card
If you are patching a recovery image, make sure “Recovery Mode” is checked in options.
In most cases it should already be automatically checked.
Choose “Select and Patch a File” in method, and select the stock boot/recovery image
The Magisk app will patch the image to [Internal Storage]/Download/magisk_patched_[random_strings].img.
Copy the patched image to your PC with ADB:
adb pull /sdcard/Download/magisk_patched_[random_strings].img
Flash the patched boot/recovery image to your device.
For most devices, reboot into fastboot mode and flash with command:
fastboot flash boot /path/to/magisk_patched.img or
fastboot flash recovery /path/to/magisk_patched.img if flashing a recovery image
Reboot and voila!
Click to expand...
Click to collapse
I understand this , but im having issue with finding download link for my firmware , my phone is on 12.5.3.0 version EU , but i cant find complete firmware anywhere , only OTA 130mb download.
shodibre said:
I understand this , but im having issue with finding download link for my firmware , my phone is on 12.5.3.0 version EU , but i cant find complete firmware anywhere , only OTA 130mb download.
Click to expand...
Click to collapse
12.5.3.0 version EU can be a number of phones
say Samsung Q10 12.5.3.0 version EU, Xiaomi P250 12.5.3.0 version EU thats how i know what phone you're using
Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 are the devices in the thread
flairepathos.info said:
12.5.3.0 version EU can be a number of phones
say Samsung Q10 12.5.3.0 version EU, Xiaomi P250 12.5.3.0 version EU thats how i know what phone you're using
Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 are the devices in the thread
Click to expand...
Click to collapse
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Thats the firmware , but its only OTA file , i cant find any FULL rom.
I found V12.5.3.0.rkhCNxm , which is chinese verison , i dont know if i can use boot.img from it ?
in the guide it says:
Copy the boot/recovery image to your device
dont brick your phone,
you can use recovery method
shodibre said:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Thats the firmware , but its only OTA file , i cant find any FULL rom.
I found V12.5.3.0.rkhCNxm , which is chinese verison , i dont know if i can use boot.img from it ?
Click to expand...
Click to collapse
I give up, all the best
flairepathos.info said:
in the guide it says:
Copy the boot/recovery image to your device
dont brick your phone,
you can use recovery method
I give up, all the best
Click to expand...
Click to collapse
Exactly , its just that boot/recovery image is not present in this OTA update file , i need 3gb FULL rom , but i cant find any download link for it
shodibre said:
Exactly , its just that boot/recovery image is not present in this OTA update file , i need 3gb FULL rom , but i cant find any download link for it
Click to expand...
Click to collapse
Dude... Choose what you need on the website
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Hi,
I don't know English and have a hard time understanding, I hope this is what you are looking for https://www.getdroidtips.com/xiaomi-poco-f3-stock-firmware/
shodibre said:
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Thats the firmware , but its only OTA file , i cant find any FULL rom.
I found V12.5.3.0.rkhCNxm , which is chinese verison , i dont know if i can use boot.img from it ?
Click to expand...
Click to collapse
The "fastboot" version should work, there should be a boot.img inside.
Redmi K40 ChinaStableFastbootV12.5.6.0.RKHCNXM11.05.2 GB2021-08-13Download
kurtschmeichel said:
The "fastboot" version should work, there should be a boot.img inside.
Redmi K40 ChinaStableFastbootV12.5.6.0.RKHCNXM11.05.2 GB2021-08-13Download
Click to expand...
Click to collapse
I just completed all the steps , flashed patched boot img ,but there is no root , when i compare unpatched boot img and patched one they are exactly the same size to the bit, am i doing something wrong ?
i managed to root it !
Thank you everyone
In my opinion if you leave written how you did it might help others with the same problem.

Question Find Device storage corrupted. Your device is unsafe now.( POCO F3 and Other MIUI Devices)

Last night I do have a problem with the custom rom that I have installed, because of the battery problem keeps on dropping, so I decided to go back to the official stock rom which is for global however after flashing the fastboot rom via Miflash Tool, I have a welcome message that says Find Device storage corrupted. Your device is unsafe now. I thought that I just need to activate this to the device admin, after a reboot I tried to check it out if this message if this message will still pop up, and it keeps on popping up. I have flashed the rom again and it keeps on happening.
Things that I have Tried:
So I tried to check for other ways that I could get rid of this but this doesnt work on the terminal via TWRP. "
[GUIDE] How to fix "Find Device storage corrupted. Your device is unsafe now".
[GUIDE] How to fix "Find Device storage corrupted. Your device is unsafe now". How to fix "Find Device storage corrupted. Your device is unsafe now" ? (At your own risk... I'm not responsible for damage or brick) Required : - Be rooted and...
forum.xda-developers.com
".
The one that works:
Things that you needed:
1. Download Mi Flash Tool(https://www.xiaomiflash.com/)
2. Minimal ADB and Fastboot
3. 7zip or BreeZip
4. TWRP A12(
TWRP A12.rar
drive.google.com
) if you are using other MIUI and devices and want to check it this will work then just use your twrp that is recommended for your mui device.
5. Global Rom (https://xiaomifirmwareupdater.com/miui/alioth/stable/V12.5.6.0.RKHMIXM/)
warning: make sure that you are using the right rom for your device, my device that I am using is a global variant so I need to flash a global version, if you are using other MIUI device and want to check it out just download the miui that works for you must be on a later update of the rom if the latest current rom that you are working on right now didnt work.
Steps to follow.
1. Extract the Rom which you have downloaded using the 7zip or BreeZip, so for me I extracted the version 12.5.6.0 take note that this is not the latest rom but for this to work we need to be in a later update this rom is an android version 11.
2. after extracting the fastboot rom file type TGZ you will notice that the one that you extracted is on a TAR file type, and you need to extract the TAR file type for you to have the folder "alioth_global_images_V12.5.6.0.RKHMIXM_20220210.0000.00_11.0_global_62b4f5d6ca"
3. Using the Mi Flash Tool, just pick the clean all and start the flashing.
4. After flashing the rom set up the phone but do not update it.
5. On your extracted folder for the rom go to the folder that says images and look for 'persist" this is an img file. copy the persist img file and paste it on your Internal memory of your phone.
6. Turn off your phone and go to fastboot by pressing the volume down as well as the power button. You will notice that the fastboot logo is the older version since we are using an older rom.
7. Extract the TWRP A12 and you should have the disc recovery image of it, copy and paste it on your Minimal ADB and Fastboot folder and rename it "recovery".
8. While you are on the Minimal ADB Fastboot folder make sure that your phone is plug in to the usb port on your computer, click the cmd here on the Minimal ADB and Fastboot Folder and you should able to run the cmd.
9. run the following commands:
fastboot devices (then press the enter)
warning: make sure that the fastboot devices is able to see your device.
after seeing the device run this command:
fastboot boot recovery.img (then press enter)
the device should boot to the twrp if its on chinese look for settings and set it to english. we are not flashing the twrp we are just going to use it temporarily thats why we are only going to boot it to twrp recovery.
10. On your twrp, go to install, click the install image and look for your persist.img that we have copied earlier to your internal memory
you should find it on the sdcard folder. just flash and you will see that you have successfully flashed the persist image and then just reboot your phone.
After rebooting your phone you will notice that the "Find Device storage corrupted. Your device is unsafe now." will not prompt. Since I already have the current fastboot rom I have tried to flash the current fastboot rom and locked my device and fixed the problem permanently without any problem.
You wrote too much for something that could be written in a few sentences. And why would anyone downgrade an android or flash a clean fastboot ROM? (Android or MIUI version doesn't matter)
Summary guide:
1. Download the fastboot ROM from here and extract the "persist.img" image or dump the "persistbak" partition from your device and rename this file to "persist.img"
2. Put persist.img into your device's internal memory and go to TWRP
3. In TWRP, go to: Install> select install image> select file persist.img> select "Persist" partition
4. Restart the device, it should work fine
uvzen said:
You wrote too much for something that could be written in a few sentences. And why would anyone downgrade an android or flash a clean fastboot ROM? (Android or MIUI version doesn't matter)
Summary guide:
1. Download the fastboot ROM from here and extract the "persist.img" image or dump the "persistbak" partition from your device and rename this file to "persist.img"
2. Put persist.img into your device's internal memory and go to TWRP
3. In TWRP, go to: Install> select install image> select file persist.img> select "Persist" partition
4. Restart the device, it should work fine
Click to expand...
Click to collapse
Wrote it down for the newbies that doesnt know how to fix anyway thanks for the summary. I have to downgraded it because the latest current rom doesnt work give me "invalid sparse file format at header magic" error as I flash the persist.img file, via twrp.
mizuhored said:
Wrote it down for the newbies that doesnt know how to fix anyway thanks for the summary. I have to downgraded it because the latest current rom doesnt work give me "invalid sparse file format at header magic" error as I flash the persist.img file, via twrp.
Click to expand...
Click to collapse
If you are using TWRP from Nebrassy then use skkk TWRP or OrangeFox. Flashing persist should work fine on both recoveries (I did it myself recently).
uvzen said:
If you are using TWRP from Nebrassy then use skkk TWRP or OrangeFox. Flashing persist should work fine on both recoveries (I did it myself recently).
Click to expand...
Click to collapse
Thats great but this is the one that works for me anyways. At least we have found out the things that we needed in order for it to be fixed. Just sharing my ideas and how did I fixed the problem myself. Thanks for sharing of your ideas. Hoping that we could share our ideas to others as well. Been on a nightmare last night cant sleep because of this problem. Trying to figure out what to do since using the cmds via terminal on twrp doesnt work for me. Need to downgrade for me to fix it.
mizuhored said:
Thats great but this is the one that works for me anyways. At least we have found out the things that we needed in order for it to be fixed. Just sharing my ideas and how did I fixed the problem myself. Thanks for sharing of your ideas. Hoping that we could share our ideas to others as well. Been on a nightmare last night cant sleep because of this problem. Trying to figure out what to do since using the cmds via terminal on twrp doesnt work for me. Need to downgrade for me to fix it.
Click to expand...
Click to collapse
Could you please confirm if flashing persist.img doesn't mess up with sensor like fingerprint, l1, compass etc..? I have seen other forums talking about possibility of losing these in case perist is flashed from rom. I have this message for some time now, but all other sensors work fine, even l1 certification and saftynet. Thanks in advance.

Categories

Resources