Pls help me Mi 5C - Xiaomi Mi 5c Questions & Answers

Hi everybody !
I have a Mi 5c phone die eMMC. I want everyone to help me with the full dump file. Just your phone is rooted.
CMD windows :
- adb shell
- Su
- dd if=/dev/block/mmcblk0 of=/sdcard/DUMP_Mi5C.img bs=4096 count=8192000
I need the file to unbrick the phone,Tks all

how do u want make it work? because its not qualcomm and there is no edl for it..

Related

[URGENT REQUEST] i9300i USERS it will just take few minutes of your time

hi guys
as you all know that some of the devices (i9300i) are hard bricked by flashing indian 4.4.4 so to unbrick we need a debrick.img which you guys can help us get by flashing this file https://copy.com/1ggUuyIqHUrF it will create a debrick.img into your sd card which you can upload and share
source http://forum.xda-developers.com/show....php?t=2439367
OR
Use this procedure to create the image
Enable USB Debugging.
Open cmd and navigate to your adb folder.
Run adb shell
Now type 'SU' to enable superuser, your may have to grant access to ADB from a popup screen of your phone's superuser app
next copy and paste the following code and change the phone model to your phone i.e. dd if=/dev/block/mmcblk0 of=/sdcard/debrickI710-16GB.img bs=1M count=128
dd if=/dev/block/mmcblk0 of=/sdcard/debrick[phonemodel-memorysize].img bs=1M count=128
6. Now type Exit on cmd and then use following the command to copy this image to your adb folder
adb pull /sdcard/debrick[phonemodel-memorysize].img
7. upload the image and share its link here.
[B]It will just take few minutes further you can compress the file (zip or rar) to reduce its size so that it can be upload easily.[/B]
Thanks in advance
:crying: i need it plz else my device will be useless
cmon guys it will not take more than 5 min plz help if it works ill make a thread about how to unbrick a hard bricked neo
I Hope it can helps you ...
I just run it on GT-i9300i ( Brazilian ) with Lastest HongKong 4.4.4 firmware + root and TWRP 2.7.0.1
Just tell me if you need anything else my friend.
PHP:
https://mega.co.nz/#!DVcSTA7R!0D0ah1pSaJzORvU95on2eyPxkE_866M2Ea0NmngPQX4
ygor.almeida said:
I Hope it can helps you ...
I just run it on GT-i9300i ( Brazilian ) with Lastest HongKong 4.4.4 firmware + root and TWRP 2.7.0.1
Just tell me if you need anything else my friend.
PHP:
https://mega.co.nz/#!DVcSTA7R!0D0ah1pSaJzORvU95on2eyPxkE_866M2Ea0NmngPQX4
Click to expand...
Click to collapse
thank u soooo much bro i just successfully un brick my device tomorrow i will make a thread again thanks for ur time and million thanks to u :laugh:
Hi, I've used your CWM script but it doesn't have created the ZIP file with the debrick image.
I've searched it on all memories (also the system folder) but nothing. I've a GTI9301I ITV Firmware UANI1
I've tried also the adb shell and when i type adb pull /sdcard/debrick[phonemodel-memorysize].img it show me no devices (but it's enabled and the phone receive correctly commands)

[** H815EUR ** ONLY] Bootloader Unlock-/Relock Guide

G4 ** H815EUR **
Bootloader Unlock-/Relock Guide
* DISCLAIMER
Read carefully before proceeding !
Doing this will void your warranty and can permanently damage your device !
You take full responsibility if you brick your phone !
Only proceed at your own risk !
* REQUIREMENTS
All the things you need . . .
A H815EUR device with locked bootloader!
unlock.bin generated via official unlock method (http://developer.lge.com/resource/mobile/RetrieveBootloader.dev)
Enable OEM unlock and USB debugging activated (Settings > Developer options)
Android SDK (adb.exe, AdbWinApi.dll, fastboot.exe) installed
LGUP (https://forum.xda-developers.com/g4/help/lgup-install-kdz-mm-lp-t3249803)
A KDZ for H815
LGROOT (send_command.exe) (http://downloads.codefi.re/thecubed/lg_g4/lef/LG_Root.zip)
LG Mobile Drivers (http://www.lg.com/us/support/software-firmware-drivers)
* STEP 0
Get the Device-ID for generating unlock.bin file !
Reboot the phone into fastboot mode - in cmd.exe type
Code:
adb reboot bootloader
Show the Device-ID for unlock.bin request !
Code:
fastboot oem device-id
Show current bootloader state !
Code:
fastboot getvar unlocked
> unlocked: no
Reboot the phone . . .
Code:
fastboot reboot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
* STEP 1
Enable send_command.exe to backup the partition data !
Start LGUP to enable send_command.exe - NOTE - make sure to select ** UPGRADE **
Start flashing and prepare to pull the USB cable to disconnect the phone . . .
Disconnect the phone as soon as COM appears on the display !
Close LGUP and reconnect the phone . . .
* STEP 2
Backup the drm, misc and persistent partitions !
In cmd.exe navigate to send_command.exe and enter
Code:
send_command.exe \\.\[COLOR="Green"]COM[your port number here][/COLOR]
Dump the partitions to the internal storage of the phone . . .
Code:
dd if=/dev/block/mmcblk0 of=/data/media/0/drm.img bs=512 skip=655360 count=16384
dd if=/dev/block/mmcblk0 of=/data/media/0/misc.img bs=512 skip=262144 count=32768
dd if=/dev/block/mmcblk0 of=/data/media/0/persistent.img bs=512 skip=380928 count=4096
For safety, make a full dump of all partitions !
Code:
dd if=/dev/block/mmcblk0 of=/data/media/0/full_dump.img bs=4096 count=1552384
Set the permissions and owner for the files !
Code:
chown -R media_rw:media_rw /data/media/0
chmod -R 0666 /data/media/0
Partition dump complete ! To finish enter
Code:
LEAVE
Remove the battery and restart the phone . . .
* STEP 3
Copy the drm, misc and persistent partition images to your computer and/or SD card !
Check the file size of the partition images !
Code:
[B][COLOR="Magenta"]drm.img[/COLOR][/B] = [B]8.00 MB[/B] (8.388.608 Bytes)
[B][COLOR="Magenta"]misc.img[/COLOR][/B] = [B]16.00 MB[/B] (16.777.216 Bytes)
[B][COLOR="magenta"]persistent.img[/COLOR][/B] = [B]2.00 MB[/B] (2.097.152 Bytes)
Copy all files (including full_dump.img) to your computer and/or SD card !
- NOTE - the next step (bootloader unlock) ** WILL ERASE ALL USERDATA ** so make sure to backup your data before proceeding !
* STEP 4a
Unlock the bootloader with official method and the generated unlock.bin from LG . . .
Reboot the phone into fastboot mode - in cmd.exe type
Code:
adb reboot bootloader
Navigate to unlock.bin and unlock your bootloader !
Code:
fastboot flash unlock unlock.bin
Reboot the phone . . .
Code:
fastboot reboot
* STEP 4b (optional)
Show/confirm the unlocked bootloader state . . .
- NOTE - the unlocked bootloader is indicated by Bootloader state : Bootloader unlocked ! ! in the upper left corner when booting the device !
Reboot the phone into fastboot mode - in cmd.exe type
Code:
adb reboot bootloader
Show current bootloader state !
Code:
fastboot getvar unlocked
> unlocked: yes
Reboot the phone . . .
Code:
fastboot reboot
* STEP 5a
Flash the backup partitions drm, misc and persistent to relock the bootloader !
Copy the partition files drm.img, misc.img and persistent.img from your computer or SD card to the internal storage of the phone !
Repeat * STEP 1 . . .
In cmd.exe navigate to send_command.exe and enter
Code:
send_command.exe \\.\[COLOR="Green"]COM[your port number here][/COLOR]
Again, set the permissions and owner for the files !
Code:
chown -R media_rw:media_rw /data/media/0
chmod -R 0666 /data/media/0
Flash the partitions from the internal storage of the phone . . .
Code:
dd if=/data/media/0/drm.img of=/dev/block/mmcblk0 bs=512 seek=655360 count=16384
dd if=/data/media/0/misc.img of=/dev/block/mmcblk0 bs=512 seek=262144 count=32768
dd if=/data/media/0/persistent.img of=/dev/block/mmcblk0 bs=512 seek=380928 count=4096
Bootloader relock complete ! To finish enter
Code:
LEAVE
Remove the battery and restart the phone . . .
* STEP 5b (optional)
Show/confirm the relocked bootloader state . . .
- NOTE - The indication Bootloader state : Bootloader unlocked ! ! in the upper left corner should no longer appear !
Reboot the phone into fastboot mode - in cmd.exe type
Code:
adb reboot bootloader
Show current bootloader state !
Code:
fastboot getvar unlocked
> unlocked: no
Reboot the phone . . .
Code:
fastboot reboot
---
Personal thanks to @letama for the help, testing and support!
Credits to @OllieD (https://forum.xda-developers.com/g4/general/relocking-bootloader-t3380781) and @xVANKO (https://forum.xda-developers.com/g4/general/h815-relock-bootloader-t3506634) for the development!
What about H818P European version?
Wysłane z mojego LG-H818 przy użyciu Tapatalka
re_di said:
What about H818P European version?
Wysłane z mojego LG-H818 przy użyciu Tapatalka
Click to expand...
Click to collapse
It doesn't matter because we can't unlock
I've unlocked bootloader with old and official method so now I don't have any backup. Can I relock bootloader? Thank you for your excelent work
Drenabrab said:
I've unlocked bootloader with old and official method so now I don't have any backup. Can I relock bootloader? Thank you for your excelent work
Click to expand...
Click to collapse
I got the same problem. I have nor backup of these files if i unlocked it in summer last year. No chance for people like us?
thanks dude, might give this a try, recently got my unlocked device returned from bootloop repair totally locked and going crazy with the stock rom
Thank you for this!
Regarding step 1, is this only for the COM port determination?
If i remember right the com port is also shown in the device manager (windows) when the phone is connected via usb.
Engelm said:
It doesn't matter because we can't unlock
Click to expand...
Click to collapse
This procedure treats about both lock and relock bootloader, so I thought that hopefully may work on 818p Eur version too.
Wysłane z mojego LG-H818 przy użyciu Tapatalka
re_di said:
This procedure treats about both lock and relock bootloader, so I thought that hopefully may work on 818p Eur version too.
Wysłane z mojego LG-H818 przy użyciu Tapatalka
Click to expand...
Click to collapse
It is about unlocking with the official BL unlock (LG-Website).
The only way is to dig into what xVANKO said.
Analyze the partitions before & after, modify them, pray and restore.
If someone would try it I would be happy because we haven't heard anything from him for a long time
and he also has the idea to relock/unlock the devices in exactly this way.
Hello blake_spector,
Thank's for your tutorial ! Look like amazing because i have the G4 since more than one year and get stuck on official ROM is so borring..
But i've a question, i bought my LG G4 in France (i'm french) and it's a H815 but how to see if it can be unlocked/relock ? On imeidata.net there is thoose informations :
Model : LGH815
Suffix: AFRAVK
Chip Type: EG
Network Code: FRA
Thank's a lot
Maaaaaan you're amazing! The man of the year!!! Thank you, and we say all together, f**k lg haahahah
HallEx said:
But i've a question, i bought my LG G4 in France (i'm french) and it's a H815 but how to see if it can be unlocked/relock ?
Click to expand...
Click to collapse
It's ok. Mine is FRA too, I did unlock and relock without any issue.
letama said:
It's ok. Mine is FRA too, I did unlock and relock without any issue.
Click to expand...
Click to collapse
Hello, ohhh yes ! It's a cool news ! After more than one year go to unlock my G4 ! No bootloop but bad battery life hope to get a rom like Samsung S7/Edge with a possibilty to change resolution like 1080P !
Which rom did u install ?
I've already dumped my partitions before unlocking with these commands:
dd if=/dev/block/mmcblk0 bs=8192 skip=585216 count=32768 of=/data/media/0/cust.img
dd if=/dev/block/mmcblk0 bs=8192 skip=16384 count=2048 of=/data/media/0/misc.img
dd if=/dev/block/mmcblk0 bs=8192 skip=40960 count=1024 of=/data/media/0/drm.img
dd if=/dev/block/mmcblk0 bs=8192 skip=43008 count=4096 of=/data/media/0/mpt.img
dd if=/dev/block/mmcblk0 bs=8192 skip=41984 count=1024 of=/data/media/0/sns.img
dd if=/dev/block/mmcblk0 bs=8192 skip=23808 count=256 of=/data/media/0/persistent.img
dd if=/dev/block/mmcblk0 bs=8192 skip=22528 count=192 of=/data/media/0/modemst1.img
dd if=/dev/block/mmcblk0 bs=8192 skip=22720 count=192 of=/data/media/0/modemst2.img
Does they are equivalent?
P.S. I have H815 ITALY LG G4
HallEx said:
Hello, ohhh yes ! It's a cool news ! After more than one year go to unlock my G4 ! No bootloop but bad battery life hope to get a rom like Samsung S7/Edge with a possibilty to change resolution like 1080P !
Which rom did u install ?
Click to expand...
Click to collapse
Maybe little off topic but you could already get down to 1080p even without root just adb commands
Thanks blake I was waiting for this moment since I bought my G4 tomorrow I'll do all the things and report back
Is send command compatible with USB 3.0?(I had some bluescreens during unlocks on my HTC phones) Can someone post a command for dumping data partition(one that stores all my things, apps etc)
Guys should I wait for nougat because of bootloader etc update or should i unlock now?
The main problem is that maybe they fix this gap...
Hi !
Thank you very much for this guide, I'm waiting for this since I upgraded to stock MM, which has caused me to lose root on my G4
However I couldn't do the step 3 because I don't find the partition images created during step 2.
Where are they supposed to be found ?
In the root of the internal memory, when I plug the phone in my computer or via en explorer app like Solid Explorer ?
My guess is the dd commands that create the partition files failed and the images were not created.
The first time I used the command to create drm.img, it seems that it takes forever (20~30mn+) so I'm forced to Ctrl + C.
When I execute the command again, I get the # prompt in like 2 seconds. The following dd commands last 2 seconds also.
But when I reboot the phone, I don't see any img files on my internal memory.
I tried to redo the Step 2 after rebooting, but the commands still lasts 2 seconds.
What did I miss ?
How long the dd commands are supposed to take ?
Is there some sort of requirements to succeed ?
I have of course a H815, 20i image flashed by OTA, I never messed with the bootloader, have 11 GB of free memory on Internal Memory.
My internal memory is also encrypted.
Thank you very much
Mess35 said:
Hi !
Thank you very much for this guide, I'm waiting for this since I upgraded to stock MM, which has caused me to lose root on my G4
However I couldn't do the step 3 because I don't find the partition images created during step 2.
Where are they supposed to be found ?
In the root of the internal memory, when I plug the phone in my computer or via en explorer app like Solid Explorer ?
My guess is the dd commands that create the partition files failed and the images were not created.
The first time I used the command to create drm.img, it seems that it takes forever (20~30mn+) so I'm forced to Ctrl + C.
When I execute the command again, I get the # prompt in like 2 seconds. The following dd commands last 2 seconds also.
But when I reboot the phone, I don't see any img files on my internal memory.
I tried to redo the Step 2 after rebooting, but the commands still lasts 2 seconds.
What did I miss ?
How long the dd commands are supposed to take ?
Is there some sort of requirements to succeed ?
I have of course a H815, 20i image flashed by OTA, I never messed with the bootloader, have 11 GB of free memory on Internal Memory.
My internal memory is also encrypted.
Thank you very much
Click to expand...
Click to collapse
Hello,
I have the same problem, i'm stuck on the 2nd step since 2 hours.
After LGUP restart to "COM4" i disconnect the phone and try to dump partitions but nothing special. Every command his finish in 1sec. The phone reboot when i'm at the "LEAVE" command and restart on a new install of my firmware ! Lost all my app (but already get a backup before)
I don't find any backup in the files manager, there is nothing.
For the moment i'm like you, at the same step... Hope to find a way to resolve the problem
yener90 said:
Guys should I wait for nougat because of bootloader etc update or should i unlock now?
The main problem is that maybe they fix this gap...
Click to expand...
Click to collapse
No reason to wait. If you will like to relock, just get back on MM(not sure if LG will change the partitions on nougat so for now better to get back) and if you wish, upgrade to nougat again
Mess35 said:
Hi !
Thank you very much for this guide, I'm waiting for this since I upgraded to stock MM, which has caused me to lose root on my G4
However I couldn't do the step 3 because I don't find the partition images created during step 2.
Where are they supposed to be found ?
In the root of the internal memory, when I plug the phone in my computer or via en explorer app like Solid Explorer ?
My guess is the dd commands that create the partition files failed and the images were not created.
The first time I used the command to create drm.img, it seems that it takes forever (20~30mn+) so I'm forced to Ctrl + C.
When I execute the command again, I get the # prompt in like 2 seconds. The following dd commands last 2 seconds also.
But when I reboot the phone, I don't see any img files on my internal memory.
I tried to redo the Step 2 after rebooting, but the commands still lasts 2 seconds.
What did I miss ?
How long the dd commands are supposed to take ?
Is there some sort of requirements to succeed ?
I have of course a H815, 20i image flashed by OTA, I never messed with the bootloader, have 11 GB of free memory on Internal Memory.
My internal memory is also encrypted.
Thank you very much
Click to expand...
Click to collapse
HallEx said:
Hello,
I have the same problem, i'm stuck on the 2nd step since 2 hours.
After LGUP restart to "COM4" i disconnect the phone and try to dump partitions but nothing special. Every command his finish in 1sec. The phone reboot when i'm at the "LEAVE" command and restart on a new install of my firmware ! Lost all my app (but already get a backup before)
I don't find any backup in the files manager, there is nothing.
For the moment i'm like you, at the same step... Hope to find a way to resolve the problem
Click to expand...
Click to collapse
I added a picture of 3rd step, the partition images should be in the root of the internal storage and accessible with the stock LG file manager.
I'm not sure what you might have missed, as I composed the guide from a continuous screengrab and video record of me doing the process.
The dd commands for drm, misc, persistent shouldn't take longer than 1sec (as they are only 8, 16 and 2 MB), the dd command for full_dump (~6 GB) might take a few minutes.
My internal memory is also encrypted.
Click to expand...
Click to collapse
That could be a problem, in my example the internal storage is/was not encrypted!
You could try to use LGUP and refurbish (!) to a fresh starting point (I used this KDZ https://forum.xda-developers.com/g4/general/kdz-firmware-v20j-united-kingdom-2016-t3518925) before doing the process.
OFC backup all your data first, as this will perform a complete reset of the device.

Unbrick redmi 4 prime

I ask to help to unbrick the phone. Prehistory. After an unsuccessful firmware phone has a brick. The phone is not detected by the computer (Unknown device). Reinstalling the drivers does not help, closing testpoints does not solve the problem. The only option is to create a bootable flash drive and flash it from under it. To do this, you need a complete dump of the phone. This is the request. Please make a complete dump of the phone with the extension * .img. Script for adb I attach Adb shell su Adb shell dd if = / dev / block / mmcblk0 of = / sdcard / image.img I am hope for your help
Damagar84 said:
I ask to help to unbrick the phone. Prehistory. After an unsuccessful firmware phone has a brick. The phone is not detected by the computer (Unknown device). Reinstalling the drivers does not help, closing testpoints does not solve the problem. The only option is to create a bootable flash drive and flash it from under it. To do this, you need a complete dump of the phone. This is the request. Please make a complete dump of the phone with the extension * .img. Script for adb I attach Adb shell su Adb shell dd if = / dev / block / mmcblk0 of = / sdcard / image.img I am hope for your help
Click to expand...
Click to collapse
And how will you be able to "flash it under it"?
I wrote the same on the basis of a dump, create a bootable flash and from under it my own

[REQUEST] cust.img/version.img VNS-L21C432B80

Could someone who is running VNS-L21C432B380 upload his/her backup of cust.img and version.img?
Like so using ADB shell:
Code:
dd if=/dev/block/platform/hi_mci.0/by-name/version bs=8M of=/sdcard/version.ext4.img

Needs MMCBLK0.img of HTC Bolt (or 10 EVO)

My brother accidentally flashed the HTC 10 firmware on HTC Bolt so the phone is bricked now.
Anyone with rooted phone can help me creating the mmcblk0.img in effort to unbrick the phone !
The command shall be:
- adb shell
- dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img
then upload and share me the link
With appreciated !
It says permission denied
Hi,
Were you successful in unbricking the HTC 10 BOLT?

Categories

Resources