Accidentally Erased /sdf - Xiaomi Mi 9 SE Questions & Answers

Hi, i was trying to repair my imei but i accidentally typed dd if=/dev/zero of=/dev/block/sdf and my baseband, imei, wifi, bluetooth all gone so i tried to write new qcn but qpst just failing so i need /sdf backup if anyone has an same device just type this command dd if=/dev/block/sdf of=/sdcard/sdf.bin and upload it.
Thanks in advance.

Here is the sdf.bin file for fix your device just type following to adb shell;
sdf.bin
download file and put it to your device
adb shell
su
dd if=/dev/block/sdf of=/sdcard/corruptedsdf.bin ( backup your corrupted sdf partition just in case )
dd if=/sdcard/sdf.bin of=/dev/block/sdf

i have same proplem my phone is redmi 9s curtana please help i need sdf.bin
or need sdf backup comands from another working phone

Related

I need you help guys! I need d855 laf.img

Guys please help me, i need laf.img, i lost my download mode
just do this for me:
adb shell # open a shell over adb
su # change to superuser
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of =/storage/external_SD/laf.img # backup the stock recovery to your external sd
exit # exit the superuser shell
exit # exit the adb shell
adb pull /storage/external_SD/stock-recovery.img . # backup the recovery image from you external sd to the PC
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
EDIT: SOLVED! I manage to pull it out, i dont know how i did it, my hearts pumping like hell. GOSH! ALMOST A BRICK, GOODTHING I FIXED It.
Please help me!
Hey ehm.. just wanna ask if you still have the laf file ? Would be nice if u can send it to me.
I have the same problem... ^^ lost my dl-mode too
Guys!
Stop flashing ROMs if u dont know what you are doing....
niko626 said:
Guys please help me, i need laf.img, i lost my download mode
just do this for me:
adb shell # open a shell over adb
su # change to superuser
dd if=/dev/block/platform/msm_sdcc.1/by-name/laf of =/storage/external_SD/laf.img # backup the stock recovery to your external sd
exit # exit the superuser shell
exit # exit the adb shell
adb pull /storage/external_SD/stock-recovery.img . # backup the recovery image from you external sd to the PC
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery
EDIT: SOLVED! I manage to pull it out, i dont know how i did it, my hearts pumping like hell. GOSH! ALMOST A BRICK, GOODTHING I FIXED It.
Click to expand...
Click to collapse
download fastboot&adb
download rom 10l kdz
extract kdz rom
rename laf.bin tu laf.img
copy laf.img tu sd memory&fastboot folder
run.bat in fastboot folder select
tipe: fastboot boot laf.img
run download mod
flash kdz rom
enjoy
I have the same problem. you can tell me how to fix, i lost download mode
with "adb shell", i have "error: device not found"
with "fastboot boot laf.img", i have "waiting for device"
Flash TWRP
IMANX2 said:
download fastboot&adb
download rom 10l kdz
extract kdz rom
rename laf.bin tu laf.img
copy laf.img tu sd memory&fastboot folder
run.bat in fastboot folder select
tipe: fastboot boot laf.img
run download mod
flash kdz rom
enjoy
Click to expand...
Click to collapse
I have the same problem. Can you tell me how to fix, i lost download mode
you can flash TWRP? or alternatively by the terminal always TWRP?
If you could write the commands?
thank you
hello
its very simple
just install AUTOREC.apk to uor phone & flash stock recovery
after that enter to recovery mod & do factory reset
your phone now have download mod

Help for unbrick ZTE Nubia Z7 Mini....:(

After repartition of internal memory i cant enable wifi and bluetooth.From that i understand the script didnt make proper backup and restore of
:customfs.img
fsc.img
fsg.img
parinfo.img
persist.img
ssd.img
Does anyone know how to flash again these file or whole system?
I had already used:
1)nandroid restore from previous condition
2)flash stock rom from stock recovery with no success...
Every opinion will be helpful......
i flash manually the files from recovery so now im ok.
Steps
1)Download this file (has everything you need) http://d-h.st/RLS
2)Unzip it
3)Boot Into recovery
4)Open a command promt on the unziped folder
5)Copy paste one by one these commands into command promt
Code:
adb shell mkdir /storage/sdcard1
adb shell mount /dev/block/mmcblk1p1 /storage/sdcard1 -t vfat
adb push part1.sh /tmp/part1.sh
adb shell chmod 0777 /tmp/part1.sh
adb shell /tmp/part1.sh
adb push persist /storage/sdcard1/persist
adb push customfs /storage/sdcard1/customfs
adb push fsg /storage/sdcard1/fsg
adb push fsc /storage/sdcard1/fsc
adb push ssd /storage/sdcard1/ssd
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/persist if=/storage/sdcard1/persist
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/customfs if=/storage/sdcard1/customfs
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/fsg if=/storage/sdcard1/fsg
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/fsc if=/storage/sdcard1/fsc
adb shell busybox dd of=/dev/block/platform/msm_sdcc.1/by-name/ssd if=/storage/sdcard1/ssd
You are ready
i have same problem with z7 max but in mine situation i cant see sim cards
can i use the same?
Petros_tigra said:
After repartition of internal memory i cant enable wifi and bluetooth.From that i understand the script didnt make proper backup and restore of
:customfs.img
fsc.img
fsg.img
parinfo.img
persist.img
ssd.img
Does anyone know how to flash again these file or whole system?
I had already used:
1)nandroid restore from previous condition
2)flash stock rom from stock recovery with no success...
Every opinion will be helpful......
Click to expand...
Click to collapse
hi ,
i have zte nubia z7 mini and i was installing z5s mini miui rom in my phone. when the process done phone went to off and hard to turn it on. when i connect to pc it doesn't even detect the phone usb and asking for installing phones usb drivers... please help me if its possible
Thank you Sir!
Your intelligence has saved my Z7 Max running stock ROM v1.59. Now the WiFi and Bluetooth is working as usual....
Can you please help me about this, i tried to repartiton the phone and i got the same situation phone works but wifi and bluetooth doesnt work, i try to download that link but it says link doesnt work any more files are missing. can you please help me about this.

EFS Backup

Help!!!! Please I had corrupted my efs partition please any one upload a backup of Efs backup. you can do it by putting these commands into terminal emulator "su" and grant permissions and then "dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img" without quotes and upload .img file Need help URGENT!!!!!

[Request] Stock NVRAM image

Hi
My device is rooted an i accidentally deleted NVRAM Partition And now imei is null and not signal
NVRAM Partition is not in FTF file so, I kindly ask if someone with a rooted Xperia M5 running stock firmare (the firmware version/device variant doesn't matter, it can be from doul SIM devices too) could run the following commands from ADB and then upload the file that will be pulled from the phone here:
adb shell su -c "dd if=/dev/block/platform/mtk-msdc.0/by-name/nvram of=/data/local/tmp/nvram.img"
adb shell su -c "chmod 777 /data/local/tmp/nvram.img"
adb pull /data/local/tmp/nvram.img"
DO NOT EVER flash the NVRAM or TA partition of another device, even if it's from exactly the same model. You'll hard brick your device by doing that, those partitions are unique to each unit, that's why they're not available in FTF...
mbc07 said:
DO NOT EVER flash the NVRAM or TA partition of another device, even if it's from exactly the same model. You'll hard brick your device by doing that, those partitions are unique to each unit, that's why they're not available in FTF...
Click to expand...
Click to collapse
I have a backup of TA partitions can this help me to solve this problem?
what i do to restore it?
What do you think I should do?
(sorry for my poor English)

Sensors stopped working on Android 10

Basically my sensors(camera, accelerometer, proximity etc.) won't work on Android 10 ROMs. I've tried OOS10, HOS10 and Paranoid Android. I have seen online that some other users in a similar situation with the OP5 managed to fix it by flashing the persist partition from another device. Could someone with a rooted 5T do me a massive favor? I need a persist.img file extracted.
Here's how you do it with adb on a PC:
Code:
adb shell
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
You should also be able to do it from Terminal on TWRP with the last command above.
Thanks in advance. I would really appreciate your help.
EDIT: I flashed the persist.img file from this thread. Don't worry, the file from the OnePlus 5 works perfectly on the OnePlus 5T. You have 3 ways you can install it:
using fastboot with the command:
Code:
fastboot flash persist persist.img
using adb with these commands :
Code:
adb shell
su
dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist
using terminal in twrp with this command :
Code:
dd if=/sdcard/persist.img of=/dev/block/bootdevice/by-name/persist

Categories

Resources