I Brick my device, please help - Xiaomi Mi MIX Questions & Answers

I brick my device restoring modem.
Please can some owner of MiMix 256Gb make a copy of a partition /dev/block/sde3 and and send to my email ?
Commands:
adb shell
su
dd if=/dev/block/sde3 of=/sdcard/tz.bin
my email [email protected]
Please help!
Solved Thanks! Take the file from fastboot rom

TuSKan said:
I brick my device restoring modem.
Please can some owner of MiMix 256Gb make a copy of a partition /dev/block/sde3 and and send to my email ?
Commands:
adb shell
su
dd if=/dev/block/sde3 of=/sdcard/tz.bin
my email [email protected]
Please help!
Solved Thanks! Take the file from fastboot rom
Click to expand...
Click to collapse
How did you brick it?

SantinoInc said:
How did you brick it?
Click to expand...
Click to collapse
Flashing the modem in the wrong place:
dd if=/sdcard/modemst2 of=/dev/block/sde3 instead of
dd if=/sdcard/modemst2 of=/dev/block/sdf3

Dear users, please be carefull with this kind of commands...
To the author thread: Use xiaomiflash if you can enter to fastboot mode and flash latest DEVELOPER CHINA to revive your MIX.

Related

Help Make Backup Folder EFS And ModemFS !!!

Please Help Me :crying:
Make Backup System Partition EFS and ModemFS and upload
Your device MUST be GT-I8190 ONLY! and NOT-I8190N GT or GT-I8190L.
Here's a dd Command To Enter In Terminal Emulator
Code:
[B][FONT=Courier New]dd if =/dev/block/mmcblk0p11 of=/sdcard/efs.img
dd if =/dev/block/mmcblk0p12 of=/sdcard/modemfs.img[/FONT][/B]
After Successful, Navigate to your internal sd card, download it and paste the link here.
I Want to Try to Fix Issues Baseband Version: XXXX
Thank You :angel:
faisalxp said:
Please Help Me :crying:
Make Backup System Partition EFS and ModemFS and upload
Your device MUST be GT-I8190 ONLY! and NOT-I8190N GT or GT-I8190L.
Here's a dd Command To Enter In Terminal Emulator
Code:
[B][FONT=Courier New]dd if =/dev/block/mmcblk0p11 of=/sdcard/efs.img
dd if =/dev/block/mmcblk0p12 of=/sdcard/modemfs.img[/FONT][/B]
After Successful, Navigate to your internal sd card, download it and paste the link here.
I Want to Try to Fix Issues Baseband Version: XXXX
Thank You :angel:
Click to expand...
Click to collapse
Double post, and none of them in the right section..
This has nothing to do with development, right?
Ok, no one is gonna give you a copy of their /EFS partition.
If you wonder why you can read here.
Sorry I couldn't be of more help.
We just need a legit fully working modemfs.img and flash it via dd command.
Code:
dd if=/sdcard/modemfs.bin of=/dev/block/mmcblk0p12
Benzonat0r said:
We just need a legit fully working modemfs.img and flash it via dd command.
Code:
dd if=/sdcard/modemfs.bin of=/dev/block/mmcblk0p12
Click to expand...
Click to collapse
Thanks Man... I thought Code That Can Only File Extract. IMG, I Think It Can not Extract File. BIN...I Want To Try It.
Btw What is Your opinion about Post Me The Last To Threads http://forum.xda-developers.com/showthread.php?t=2151288 :victory:
When you flash modem.bin file the image will be extracted to your /modemfs partition.
I have the same problem, I have flashed a working modemfs, but I it still does not work, I think that I also need an EFS file
evolution_x said:
I have the same problem, I have flashed a working modemfs, but I it still does not work, I think that I also need an EFS file
Click to expand...
Click to collapse
here backup from the modemfs>(mmcblk0p12) and efs>(mmcblk0p11)
http://dl.dropbox.com/u/2632841/mmcblk0p11.img
http://dl.dropbox.com/u/2632841/mmcblk0p12.img
thanks ! I have flashed the modem_fs from someone else, but I did not have the efs too, so it did not work. Now I don't have the phone, I sent my phone to a service company, they told me that there are 50% chances they can repair it and i takes 2-3 days. And in case they can repair it, it will cost me $40
I will save your files to try them in case they cannot repair it.
evolution_x said:
thanks ! I have flashed the modem_fs from someone else, but I did not have the efs too, so it did not work. Now I don't have the phone, I sent my phone to a service company, they told me that there are 50% chances they can repair it and i takes 2-3 days. And in case they can repair it, it will cost me $40
I will save your files to try them in case they cannot repair it.
Click to expand...
Click to collapse
just look on the website> http://forum.xda-developers.com/showthread.php?t=2165508
if you have the exactly the same problem you will help further the things that I've already posted here, for me it worked. I've also just thought it needed a new cell phone yesterday folded
my cell phone was dead until yesterday
First, sorry for my English.
Someone would have these files:
dd if =/dev/block/mmcblk0p11 of=/sdcard/efs.img
dd if =/dev/block/mmcblk0p12 of=/sdcard/modemfs.img
for samasung I8190L??
thank you very much

[DEV][Q] How can i make a odin package of a modifidy stock rom?

Hi Guys,
I Have a rooted Galaxy s advanced. I have modified the stock rom (build I9070XXLQE) android 4.1.2. and now i'm trying to make a flashable odin pakage. after exporting the data and system block to a .img file. and putting them in a md5sum file. Odin get stuck on initializing. does someone know how how to make a working odin pakage for the i9070?
And why would you like to do that?
Isn't it easier to rather make a nand backup?
I do not respond to tech support via PM
dikkekip said:
Hi Guys,
I Have a rooted Galaxy s advanced. I have modified the stock rom (build I9070XXLQE) android 4.1.2. and now i'm trying to make a flashable odin pakage. after exporting the data and system block to a .img file. and putting them in a md5sum file. Odin get stuck on initializing. does someone know how how to make a working odin pakage for the i9070?
Click to expand...
Click to collapse
Do this in windows:
tar -H ustar -c nameofthefile.img > nameofthefile.tar
md5sum -t nameofthefile.tar >> nameofthefile.tar
rename nameofthefile.tar nameofthefile.tar.md5
You need in the same folder md5sum.exe and tar.exe
Sent from my GT-I9070
rolling out on 350 devices
Shaaan said:
And why would you like to do that?
Isn't it easier to rather make a nand backup?
I do not respond to tech support via PM
Click to expand...
Click to collapse
Naidroid backup is nice and works great. the problem is I have to roll out the modified rom on 350 i9070 android devices. so a odin package would be nice. Do I have to flash the data package with the odin files to copy everything ?
still no luck, I'm able to make a odin package now. the only problem is the device that I flash. has no system applications, problems like no keyboard and a crashing google services..
plz help ?
I'm using
adb shell
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
dd if=/dev/block/mmcblk0p5 of=/mnt/extSdCard/userdata.img bs=4096
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
dikkekip said:
still no luck, I'm able to make a odin package now. the only problem is the device that I flash. has no system applications, problems like no keyboard and a crashing google services..
plz help ?
I'm using
adb shell
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
dd if=/dev/block/mmcblk0p5 of=/mnt/extSdCard/userdata.img bs=4096
dd if=/dev/block/mmcblk0p3 of=/mnt/extSdCard/system.img bs=4096
Click to expand...
Click to collapse
Are u missing /preload partition?
Sent from my GT-I9070 using xda app-developers app
I've solved the problem,
i have fixed the premission of the systemapps
I think the app does something like chmod 777
anyway after using the premmision fix app.
the new odin package worked good!
tnx for the feedback

How to unlock bootloader on D405 v20a?

Hi!
I haven't found aboot.zip for my device. LG D405 v20a. Help anyone? Rooted but need to unlock to install TWRP and custom ROM.
You must have full rooted device. Install terminal from play and open it.
Type: su
(grant superuser permission)
then type:
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.bin
VERY careful with spaces and punctuation. One wrong letter and you could nuke your phone.
Then download Flashify and install latest version of TWRP.
Note: You must save aboot.bin file in root of your external sd card before execute command.
View attachment D405_v20a_patched_aboot.zip
Vule991 said:
You must have full rooted device. Install terminal from play and open it.
Type: su
(grant superuser permission)
then type:
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.bin
VERY careful with spaces and punctuation. One wrong letter and you could nuke your phone.
Then download Flashify and install latest version of TWRP.
Note: You must save aboot.bin file in root of your external sd card before execute command.
View attachment 3598855
Click to expand...
Click to collapse
Did everything as you said. Took the twrp.img file from here: http://forum.xda-developers.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150
After installed from flashify I go boot to recovery and then I get LG logo with white text Secure Booting Error! Cause: boot certification verify and black screen. Nothing happens then and I have to take my battery out and then put it in to reboot and it loads back to stock rom normally. What is wrong?
J3R3MiN said:
Did everything as you said. Took the twrp.img file from here: http://forum.xda-developers.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150
After installed from flashify I go boot to recovery and then I get LG logo with white text Secure Booting Error! Cause: boot certification verify and black screen. Nothing happens then and I have to take my battery out and then put it in to reboot and it loads back to stock rom normally. What is wrong?
Click to expand...
Click to collapse
Hm if you work step by step it should be all right and that you can enter into recovery. Try again download aboot.bin and then do the same. Maybe the file is corrupted when you downloaded to disk.
Vule991 said:
Hm if you work step by step it should be all right and that you can enter into recovery. Try again download aboot.bin and then do the same. Maybe the file is corrupted when you downloaded to disk.
Click to expand...
Click to collapse
OK I'll try again but what about this command? Is it the same or is it wrong?
su
dd if=/storage/sdcard/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
J3R3MiN said:
OK I'll try again but what about this command? Is it the same or is it wrong?
su
dd if=/storage/sdcard/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Click to expand...
Click to collapse
Same, download file again and repeat operation.
Vule991 said:
Same, download file again and repeat operation.
Click to expand...
Click to collapse
Repeated all the steps, nothing. Same error. My su + code didn't work (couldn't find sdcard file) so I used yours again. Flashed again twrp image and rebooted to recovery through Flashify.
J3R3MiN said:
Repeated all the steps, nothing. Same error. My su + code didn't work (couldn't find sdcard file) so I used yours again. Flashed again twrp image and rebooted to recovery through Flashify.
Click to expand...
Click to collapse
What about this code? With the use of Minimal ADB and fastboot
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
EDIT: I GOT IT WORKING WITH THIS CODE THROUGH ADB CMD ON MY LAPTOP. THANK YOU FOR THE ABOOT FILE :angel: :highfive:
EDIT2: Had rooted Lollipop LG L90 D405 v20a for this to work.
J3R3MiN said:
What about this code? With the use of Minimal ADB and fastboot
adb push aboot.bin /storage/external_SD/aboot.bin
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/storage/external_SD/stockaboot.bin
dd if=/storage/external_SD/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
EDIT: I GOT IT WORKING WITH THIS CODE THROUGH ADB CMD ON MY LAPTOP. THANK YOU FOR THE ABOOT FILE :angel: :highfive:
Click to expand...
Click to collapse
I still have the error:crying::crying:
I use this patch but still unlocked bootloader
l90 d405 v20a
J3R3MiN said:
What about this code? With the use of Minimal ADB and fastboot
I GOT IT WORKING WITH THIS CODE THROUGH ADB CMD ON MY LAPTOP. THANK YOU FOR THE ABOOT FILE :angel: :highfive:
Click to expand...
Click to collapse
I have D405n V20a, how can I unlock bootloader?
Worked for me! Thanks for the modified aboot.bin. I took the command from this Thread, and the aboot.bin from this current Thread. I executed the command over ADB shell after copying the aboot.bin to the sdcard, worked without any problems!
rueolps said:
Worked for me! Thanks for the modified aboot.bin. I took the command from this Thread, and the aboot.bin from this current Thread. I executed the command over ADB shell after copying the aboot.bin to the sdcard, worked without any problems!
Click to expand...
Click to collapse
I have D410n v20a so what should i download?
Mammolos98 said:
I have D410n v20a so what should i download?
Click to expand...
Click to collapse
Not this one, I guess...
rueolps said:
Worked for me! Thanks for the modified aboot.bin. I took the command from this Thread, and the aboot.bin from this current Thread. I executed the command over ADB shell after copying the aboot.bin to the sdcard, worked without any problems!
Click to expand...
Click to collapse
I did the same but my bootloader is still locked
Because the adb commands were executed fine I thought it worked and I tried to flash TWRP. Probably flashing was okay but no I cannot boot into recovery. I get an android lying on his back with an exclamation mark. And fastboot getvar all tells me the bootloader is not unlocked.
What can I do to repair my recovery and unlock the bootloader (v20a)?
Try it again. Remember: Even if you execute it over adb shell, you need to type "su" first. Afterwards you need to allow the root access of adb shell on your phone (if you have never used it before). You should get the "#" on adb shell now. Only now you are able to execute the copy of the aboot.bin. If it executes fine you should see something like "1 file copied" if I remember correctly.

full-backup partition tool - script for terminal

I made a script to backup any partition in our A7:
YOU HAVE TO BE ROOT, TO USE IT.
To run it simply push to the sdcard fire up adb shell to launch the script.
from the computer while connected to the A7 with usb debugging turned on
Code:
adb push PATH_to_the_script/full-backup.sh /sdcard
and
Code:
adb shell
su
cd /sdcard/
sh full-backup.sh
you will see a menu to choose which partition to backup.
As in the attachment.
enjoy, and please hit the thanks button.
the script v1.00
and a terminal screenshot.
Could you use terminal emulator to run this from on the phone thus cutting out the need for a pc?
ultramag69 said:
Could you use terminal emulator to run this from on the phone thus cutting out the need for a pc?
Click to expand...
Click to collapse
yes you could run it directly form the device:
fire up a terminal emulator app:
RUN IT AS ROOT
Code:
su
sh /sdcard/full-backup.sh
thank you. we can backup unmodified firmware via this tool right?
RealSchule said:
thank you. we can backup unmodified firmware via this tool right?
Click to expand...
Click to collapse
So you need to be root to use this script, so not really..
RealSchule said:
thank you. we can backup unmodified firmware via this tool right?
Click to expand...
Click to collapse
The root modifed just the boot partition so you could backup every stock partition but the stock boot... but you could get the stock boot from other places...
manu7irl said:
The root modifed just the boot partition so you could backup every stock partition but the stock boot... but you could get the stock boot from other places...
Click to expand...
Click to collapse
we can backup all images except boot.img with this tool but we can find boot.img from other topic. so we have full stock images right?
If you have root you can backup every single partition. This is not full stock rom! This is for backup and restore easily.
manu7irl said:
If you have root you can backup every single partition. This is not full stock rom! This is for backup and restore easily.
Click to expand...
Click to collapse
So what is the process to restore these images? Is it as simple as flashing in twrp?
Go in TWRP, fire up adb shell on your PC, then do:
Code:
dd if=/sdcard/[backup_folder]/[partition].img of=/dev/block/bootdevice/by-name/[partition_name]
example:
Code:
dd if=/sdcard/backup-part/[date-folder]/system.img of=/dev/block/bootdevice/by-name/system
I will also make a restore part in this little script. If you are intersting in one to do so.
Sure that would be great. Thanks.
manu7irl said:
Go in TWRP, fire up adb shell on your PC, then do:
Code:
dd if=/sdcard/[backup_folder]/[partition].img of=/dev/block/bootdevice/by-name/[partition_name]
example:
Code:
dd if=/sdcard/backup-part/[date-folder]/system.img of=/dev/block/bootdevice/by-name/system
I will also make a restore part in this little script. If you are intersting in one to do so.
Click to expand...
Click to collapse
Been waiting for just that.

Need partition img

Do somebody who have a s3 mini (i-8190L) can make, via twrp, a copy of the /dev/block/mmcblk0p4 partition and send it here, please.
You can do it by opening a terminal on TWRP and executing this command "dd of=/dev/block/mmcblk0p4 if=/sdcard/mmcblk0p4.img"
I would be very grateful if somebody helps me.
Any one kno twrp.img file for s3 mini ve 18200
IkerST said:
Do somebody who have a s3 mini (i-8190L) can make, via twrp, a copy of the /dev/block/mmcblk0p4 partition and send it here, please.
You can do it by opening a terminal on TWRP and executing this command "dd of=/dev/block/mmcblk0p4 if=/sdcard/mmcblk0p4.img"
I would be very grateful if somebody helps me.
Click to expand...
Click to collapse
You need MD5HDR(md5.img)?? Why ? Resetting counter ? BTW you typed wrong. first if then of correct command should be dd if=/dev/block/mmcblk0p4 of=/sdcard/md5.img
PurePower777 said:
You need MD5HDR(md5.img)?? Why ? Resetting counter ? BTW you typed wrong. first if then of correct command should be dd if=/dev/block/mmcblk0p4 of=/sdcard/md5.img
Click to expand...
Click to collapse
I really don't know what is in that partition but a file that I flashed just before it broke, it only wrote there so I only need that image.
IkerST said:
I really don't know what is in that partition but a file that I flashed just before it broke, it only wrote there so I only need that image.
Click to expand...
Click to collapse
I have i8190 international, not l version. But i believe both uses the same. I can send you but i'm not responsible for brick
I believe someone will upload the file here. Sorry for my bad english.
PurePower777 said:
I have i8190 international, not l version. But i believe both uses the same. I can send you but i'm not responsible for brick
I believe someone will upload the file here. Sorry for my bad english.
Click to expand...
Click to collapse
Don't worry send it, everything is better than having it in my desk without working.

Categories

Resources