Phone bricked - no system partition - Lenovo ZUK Z2 (Plus) Questions & Answers

Hi all,
I hard bricked the phone by flashing a corrupt image. Then during flashing stock rom with QFIL it interrupted.
Now system and data partition cannot be mounted in TWRP.
Also it cannot enter the mode where QFIL recognizes it.
What are my options now? Would be great if someone could help me out.
Thanks in advance.....
:good:

I'm not the best person to help with this. Then the deep flash cable causes the phone to be recognized again by the pc and you can install the original rom again. Search on it if you want to buy one or even your own.

Go to zukfans.eu
Theres a pinned thread to make home made deep flash cable and flash by me.
It works

Hi,
yepp, just saw that thread and were able to connect to QFIL.
It starts flashing and all seems to go well but at the end it throws error that the port probably is not available.
Code:
ERROR: Could not read from \\USB7 Windows API ReadFile failed! Your device is probably *not* on this port.
I tried every USB port but no change...

If you're able to boot into recovery then try repairing drivers under advanced wipe.

SOLVED
Hi all,
it was a pain in the ass but i finally got it back to work..
What happened:
Flashing a corrupt image messed up the phone completely. After playing around a bit the phone doesn't enter EDL mode with Pwr-Vol- anymore.
The phone always started into TWRP, luckily fastboot was still available in bootmanager.
Another strange thing was that TWRP forgot all settings after reboot.
Nice guys in this forum gave the tip to modify a USB-C cable as it was explained on zukfans.eu, that brought it back to EDL - yeah.
But this also didnt solve my problem since that flashing process exited with an error - damn.
My solution after hours of trying flashing various Stock releases....
1. I had to reformat /dev/block/mmcblk0p16 with ext2 ( seems to be destroyed for some reason) mke2fs /dev/block/mmcblk0p16
2. Create /system folder (mkdir /system) in TWRP -> advanced -> Terminal)
3. Flash boot.img from stock image ( Enter fastboot, connect to PC, open cmd prompt and enter adb directory) fastboot.exe -i 0x2b4c flash boot boot.img
4. Flash lastest (seems to be important in my case) TWRP with fastboot.exe -i 0x2b4c flash recovery twrp.img (or whatevery the filename is)
5. Reboot into TWRP and transfer flashable image to the phone and flash it as usual.

priorphilip said:
Hi all,
it was a pain in the ass but i finally got it back to work..
What happened:
Flashing a corrupt image messed up the phone completely. After playing around a bit the phone doesn't enter EDL mode with Pwr-Vol- anymore.
The phone always started into TWRP, luckily fastboot was still available in bootmanager.
Another strange thing was that TWRP forgot all settings after reboot.
Nice guys in this forum gave the tip to modify a USB-C cable as it was explained on zukfans.eu, that brought it back to EDL - yeah.
But this also didnt solve my problem since that flashing process exited with an error - damn.
My solution after hours of trying flashing various Stock releases....
1. I had to reformat /dev/block/mmcblk0p16 with ext2 ( seems to be destroyed for some reason) mke2fs /dev/block/mmcblk0p16
2. Create /system folder (mkdir /system) in TWRP -> advanced -> Terminal)
3. Flash boot.img from stock image ( Enter fastboot, connect to PC, open cmd prompt and enter adb directory) fastboot.exe -i 0x2b4c flash boot boot.img
4. Flash lastest (seems to be important in my case) TWRP with fastboot.exe -i 0x2b4c flash recovery twrp.img (or whatevery the filename is)
5. Reboot into TWRP and transfer flashable image to the phone and flash it as usual.
Click to expand...
Click to collapse
Can you please help me with this? Zuk Z2 plus is stuck on boot logo. i can only access my bootloader. Qfil is saying success after download but cant boot into the device. back before this was bricked, twrp couldn't mount the sys partition. How can i reformat sys partition if i dont have twrp?

Rony John said:
Can you please help me with this? Zuk Z2 plus is stuck on boot logo. i can only access my bootloader. Qfil is saying success after download but cant boot into the device. back before this was bricked, twrp couldn't mount the sys partition. How can i reformat sys partition if i dont have twrp?
Click to expand...
Click to collapse
I have a similar issue.
I have Wiko Ridge 4G which I purchased in a bricked state.
I managed somehow to get fastboot to start working (don't know how, there was no chance at first).
In fastboot, only command which phone recognises is fastboot oem (device-info/unlock-go) and fastboot boot.
I can as well flash with fastboot, but I don't know the name of all partitions (and I don't know if you can flash/change GPT with fastboot), plus when I try fastboot flashing unlock/unlock_critical, the bootloader doesn't recognise the command.
I can get into QCOM flash mode (QD loader 9008), but flashing in that mode doesn't do anything at all!
This is not even the first time I see a device which is unresponsive to QFIL flashing, and I don't have an idea what it could be.
When I flash my Wiko, nothing changes, although it reports success.
I as well figured this doesn't work on some other phones.
I had this problem first on Huawei Y625, then with LG V10 (K600L - shout if you have root!), and now on Wiko.
I can fastboot boot TWRP with Wiko, some partitions are broken. I cannot mount, wipe, repair or anything a couple of partitions, I don't know what the hell?
Anyways, I tried even to install a custom ROM from ZIP (although TWRP reports "no OS installed"), I tried to install Blu ROM from a similar phone via fastboot, still nothing.

priorphilip said:
1. I had to reformat /dev/block/mmcblk0p16 with ext2 ( seems to be destroyed for some reason) mke2fs /dev/block/mmcblk0p16
2. Create /system folder (mkdir /system) in TWRP -> advanced -> Terminal)
3. Flash boot.img from stock image ( Enter fastboot, connect to PC, open cmd prompt and enter adb directory) fastboot.exe -i 0x2b4c flash boot boot.img
4. Flash lastest (seems to be important in my case) TWRP with fastboot.exe -i 0x2b4c flash recovery twrp.img (or whatevery the filename is)
5. Reboot into TWRP and transfer flashable image to the phone and flash it as usual.
Click to expand...
Click to collapse
Hello man. Can you post exact commands for recreating, formating partitions? Im curios, also i think one more user had problem exactl like you, this could help him. I will redirect him here.
Ok i saw now that you posted already commands. Thank you, good to know if the problem comes anyhow in the future.
.
---------- Post added at 09:58 AM ---------- Previous post was at 09:55 AM ----------
priorphilip said:
Hi all,
it was a pain in the ass but i finally got it back to work..
What happened:
Flashing a corrupt image messed up the phone completely. After playing around a bit the phone doesn't enter EDL mode with Pwr-Vol- anymore.
The phone always started into TWRP, luckily fastboot was still available in bootmanager.
Another strange thing was that TWRP forgot all settings after reboot.
Nice guys in this forum gave the tip to modify a USB-C cable as it was explained on zukfans.eu, that brought it back to EDL - yeah.
But this also didnt solve my problem since that flashing process exited with an error - damn.
My solution after hours of trying flashing various Stock releases....
1. I had to reformat /dev/block/mmcblk0p16 with ext2 ( seems to be destroyed for some reason) mke2fs /dev/block/mmcblk0p16
2. Create /system folder (mkdir /system) in TWRP -> advanced -> Terminal)
3. Flash boot.img from stock image ( Enter fastboot, connect to PC, open cmd prompt and enter adb directory) fastboot.exe -i 0x2b4c flash boot boot.img
4. Flash lastest (seems to be important in my case) TWRP with fastboot.exe -i 0x2b4c flash recovery twrp.img (or whatevery the filename is)
5. Reboot into TWRP and transfer flashable image to the phone and flash it as usual.
Click to expand...
Click to collapse
Rony John said:
Can you please help me with this? Zuk Z2 plus is stuck on boot logo. i can only access my bootloader. Qfil is saying success after download but cant boot into the device. back before this was bricked, twrp couldn't mount the sys partition. How can i reformat sys partition if i dont have twrp?
Click to expand...
Click to collapse
I rememberd you so, ifound your old thread. I hope he will answer how he fixed it, in details.
---------- Post added at 10:25 AM ---------- Previous post was at 09:58 AM ----------
Rony John said:
Can you please help me with this? Zuk Z2 plus is stuck on boot logo. i can only access my bootloader. Qfil is saying success after download but cant boot into the device. back before this was bricked, twrp couldn't mount the sys partition. How can i reformat sys partition if i dont have twrp?
Click to expand...
Click to collapse
My best bet:
unlock bootloader if its locked
flash TWRP
open ADB on pc type:
adb
shell
mke2fs /dev/block/mmcblk0p16 - mke2fs is used to create an ext2/ext3 filesystem (usually in a disk partition).
than in TWRP/ADVANCED/TERMINAL - type mkdir /system (I'm not sure about this command, if it should point out to system partition or not? Let the op answer)
than i suppouse you can flash some rom but the OP said first to manually flash boot.img from stock and reflash TWRP

vuckovic_stefan said:
Hello man. Can you post exact commands for recreating, formating partitions? Im curios, also i think one more user had problem exactl like you, this could help him. I will redirect him here.
Ok i saw now that you posted already commands. Thank you, good to know if the problem comes anyhow in the future.
.
---------- Post added at 09:58 AM ---------- Previous post was at 09:55 AM ----------
I rememberd you so, ifound your old thread. I hope he will answer how he fixed it, in details.
---------- Post added at 10:25 AM ---------- Previous post was at 09:58 AM ----------
My best bet:
unlock bootloader if its locked
flash TWRP
open ADB on pc type:
adb
shell
mke2fs /dev/block/mmcblk0p16 - mke2fs is used to create an ext2/ext3 filesystem (usually in a disk partition).
than in TWRP/ADVANCED/TERMINAL - type mkdir /system (I'm not sure about this command, if it should point out to system partition or not? Let the op answer)
than i suppouse you can flash some rom but the OP said first to manually flash boot.img from stock and reflash TWRP
Click to expand...
Click to collapse
Actually my partition was not corrupted. I joined a telegram group called zuk z2 community and tried all methods mentioned by the users. Tried changing my PC and i was able to flash using qfil. I spend 5 days, trying everything and never thought of trying it on a different PC?
Now im on a custom rom. Everything is fine..

Hi, I am not sure if I am googling the correct stuff but this is happening with my device very frequently now. I have a customROM. TWRP installed everything is fine all of a sudden when I restart my device I get "device is unable to boot something is corrupted" I cannot read the full error because they don't fit in the screen and they are in huge font. But after rebooting several times it again starts working fine and then again it happens. I want to fix it before it gets worse. What is exactly corrupted here and how can I fix it?

Related

Can't format /data & /cache

Hi!
I think my /data partition is corrupt. Anytime I flash a new ROM, a handlful of apps I've previously installed are preloaded when then ROM first boots up. I've wiped my dalvik cache, superwiped multiple times, and did a factory reset multiple times, but no matter what ROM i install (JB, CM7, MIUI, Original Sense [Liberation]), those apps are still there, and causes forces closes.
So I went into CWM, and tried to manually format the /data partition and I get the "Error formatting /data" For that matter, this same error happens when I try to format /cache.
I've trired multile ROMs, multiple kernels. I've triend Amon Ra, (I couldn't install TWRP because of a status 7 error). I've deleted the /data folder through adb/fastboot (and it reappears afterwards).Like I said, I've done factory resets, tried formatting each partition (both with the partitions mounted and unmounted), superwipe, fixed permissions..I'm at a complete loss on what to do next. I'm willing to erase everything entirely from the phone and start from scratch if I have to, but I have no access to do anything. Did I brick my phone? I had previously used the EXT4 mod, but I've ran the zips to revert to normal already.
Leshy01 said:
Hi!
I think my /data partition is corrupt. Anytime I flash a new ROM, a handlful of apps I've previously installed are preloaded when then ROM first boots up. I've wiped my dalvik cache, superwiped multiple times, and did a factory reset multiple times, but no matter what ROM i install (JB, CM7, MIUI, Original Sense [Liberation]), those apps are still there, and causes forces closes.
So I went into CWM, and tried to manually format the /data partition and I get the "Error formatting /data" For that matter, this same error happens when I try to format /cache.
I've trired multile ROMs, multiple kernels. I've triend Amon Ra, (I couldn't install TWRP because of a status 7 error). I've deleted the /data folder through adb/fastboot (and it reappears afterwards).Like I said, I've done factory resets, tried formatting each partition (both with the partitions mounted and unmounted), superwipe, fixed permissions..I'm at a complete loss on what to do next. I'm willing to erase everything entirely from the phone and start from scratch if I have to, but I have no access to do anything. Did I brick my phone? I had previously used the EXT4 mod, but I've ran the zips to revert to normal already.
Click to expand...
Click to collapse
First off, i am unaware of a script that reverts the ext4 mods, where did you get it from? First i would try an ruu, if that dosent fix it, i would try fastboot flashing the misc partition, and then do the froyo ruu and reroot. Are you s-off? What radio and hboot version?
cmlusco said:
First off, i am unaware of a script that reverts the ext4 mods, where did you get it from? First i would try an ruu, if that dosent fix it, i would try fastboot flashing the misc partition, and then do the froyo ruu and reroot. Are you s-off? What radio and hboot version?
Click to expand...
Click to collapse
Thanks for the quick reply! I guess I should clarify regarding ext4. I used the "no_data_limit_dalvik_moved" mod to move the unused datadata partition for my /data/dalvik-cache folder. Seeing as how the ext4 modifies the /data AND /cache partitions, and those are the only two that are giving me trouble, I'm thinking that might be the cause of my troubles.
Haven't tried an ruu yet so that'll be my next step. But what do you mean by flashing the "misc" partition? I'm at work so I'll have to try that when I get home. Might have to look up how to flash the ruu too. It's been a while. lol
Am I s-off? Yes.
Radio? 2.15.10.07.07
hboot: 0.92.0000
Edit: So I tried flashing both RUUs (PB31IMG version) Gingerbread AND froyo found here. With both instances, the phone would freeze on the boot image. (Where is says DROID, then those little red dots circle the middle camera twice).It reset and continues to bootloop over and over.
Leshy01 said:
Thanks for the quick reply! I guess I should clarify regarding ext4. I used the "no_data_limit_dalvik_moved" mod to move the unused datadata partition for my /data/dalvik-cache folder. Seeing as how the ext4 modifies the /data AND /cache partitions, and those are the only two that are giving me trouble, I'm thinking that might be the cause of my troubles.
Haven't tried an ruu yet so that'll be my next step. But what do you mean by flashing the "misc" partition? I'm at work so I'll have to try that when I get home. Might have to look up how to flash the ruu too. It's been a while. lol
Am I s-off? Yes.
Radio? 2.15.10.07.07
hboot: 0.92.0000
Edit: So I tried flashing both RUUs (PB31IMG version) Gingerbread AND froyo found here. With both instances, the phone would freeze on the boot image. (Where is says DROID, then those little red dots circle the middle camera twice).It reset and continues to bootloop over and over.
Click to expand...
Click to collapse
Ok do you have adb and fastboot setup on a pc, you will need it to flash the misc partition? It sounds like your partition tables may have gotten messed up. The misc partition is where this info is stored. If or when you have adb fastboot and their drivers installed, i will tell you how to flash misc. Also in the meantime, try flashing this ruu just for kicks http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip.
cmlusco said:
Ok do you have adb and fastboot setup on a pc, you will need it to flash the misc partition? It sounds like your partition tables may have gotten messed up. The misc partition is where this info is stored. If or when you have adb fastboot and their drivers installed, i will tell you how to flash misc. Also in the meantime, try flashing this ruu just for kicks http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip.
Click to expand...
Click to collapse
Thanks! I have adb/fastboot on my home pc, yea. So you can tell me what to do, then I'll get home and try it, and then post results. I'll try that ruu as well and let you know. I tried following some direction online usin parted, but I couldn't make heads or tails of which partition was which.
Leshy01 said:
Thanks! I have adb/fastboot on my home pc, yea. So you can tell me what to do, then I'll get home and try it, and then post results. I'll try that ruu as well and let you know. I tried following some direction online usin parted, but I couldn't make heads or tails of which partition was which.
Click to expand...
Click to collapse
After you run that ruu i posted, your hboot version should be updated to 1.07. You will then need to go to http://www.htcdev.com/bootloader, and follow the steps to unlock your bootloader. Skip the first couple parts where it has you set up fastboot and skip the bootloader update part (ruu) and start where it has you get a code from your phone (Unlock token). Finish the rest, of the unlock steps and you will see at the top of hboot it now says unlocked.
Once unlocked download this file http://dinc.does-it.net/Guide_Root_New_Hboot/mtd0.img, and place it on your pc in the same folder as the fastboot.exe file. Then boot the phone to hboot, and connect it to the pc, and select fastboot from the hboot menu, so that it says fastboot plug in red at the top. Open a cmd prompt on your pc to where fastboot.exe is, and type the folowing:
Code:
fastboot devices
It should show a string of numbers. If it says no devices found, something is wrong with the connection between the phone and pc, or the adb drivers are not setup right on the pc.
If the connections fine and it found your device then type :
Code:
fastboot flash misc mtd0.img
Now download this ruu http://dinc.does-it.net/Stock_Images/3.26.605.1/PB31IMG.zip, and flash it thru hboot. Once it compleets reboot, and hopefully it boots up like it should.
If it does boot and all is well, then reroot by flashing cwm http://dinc.does-it.net/Recoveries/CWM_5.0.2.0/PB31IMG.zip thru hboot, and then flash superuser http://dinc.does-it.net/Superuser/SuperUser_3.1.1.zip, thru recovery. From there you can flash a rom of your choosing.
cmlusco, you get thanks for being so willing to help other members with their issues. I think you deserve more than I gave you today but I think it's cool how you're always trying to help people with potential bricks and when you tested out kernels and such for me.
tiny4579 said:
cmlusco, you get thanks for being so willing to help other members with their issues. I think you deserve more than I gave you today but I think it's cool how you're always trying to help people with potential bricks and when you tested out kernels and such for me.
Click to expand...
Click to collapse
Thanks tiny, you do great work yourself. I like helping people and i love technical stuff. Knowledge is everything, and its good to pass it on.
cmlusco said:
After you run that ruu i posted, your hboot version should be updated to 1.07. You will then need to go to http://www.htcdev.com/bootloader, and follow the steps to unlock your bootloader. Skip the first couple parts where it has you set up fastboot and skip the bootloader update part (ruu) and start where it has you get a code from your phone (Unlock token). Finish the rest, of the unlock steps and you will see at the top of hboot it now says unlocked.
Once unlocked download this file http://dinc.does-it.net/Guide_Root_New_Hboot/mtd0.img, and place it on your pc in the same folder as the fastboot.exe file. Then boot the phone to hboot, and connect it to the pc. Open a cmd prompt on your pc to where fastboot.exe is, and type the folowing:
Code:
adb devices
It should show a string of numbers. If it says no devices found, something is wrong with the connection between the phone and pc, or the adb drivers are not setup right on the pc.
If the connections fine and it found your device then type :
Code:
fastboot flash misc mtd0.img
Now download this ruu http://dinc.does-it.net/Stock_Images/3.26.605.1/PB31IMG.zip, and flash it thru hboot. Once it compleets reboot, and hopefully it boots up like it should.
If it does boot and all is well, then reroot by flashing cwm http://dinc.does-it.net/Recoveries/CWM_5.0.2.0/PB31IMG.zip thru hboot, and then flash superuser http://dinc.does-it.net/Superuser/SuperUser_3.1.1.zip, thru recovery. From there you can flash a rom of your choosing.
Click to expand...
Click to collapse
Curiously, I've only gotten as far as "adb devices" Although I can perform "fastboot reboot" and "fastboot devices" I try "adb devices" and the list is blank. I've used the drivers included in the android sdk. I've also used the drivers from htc sync. I don't know why I can't find my device in adb though. To be clear, my phone says "HBOOT USB PLUG" while I'm trying this.
thank you so much by the way for all your help. And you too tiny. I feel like I'm standing on the shoulders of giants here!
Also, is there some irc channel or something with a bit less idle time between forum posts?
Leshy01 said:
Curiously, I've only gotten as far as "adb devices" Although I can perform "fastboot reboot" and "fastboot devices" I try "adb devices" and the list is blank. I've used the drivers included in the android sdk. I've also used the drivers from htc sync. I don't know why I can't find my device in adb though. To be clear, my phone says "HBOOT USB PLUG" while I'm trying this.
thank you so much by the way for all your help. And you too tiny. I feel like I'm standing on the shoulders of giants here!
Also, is there some irc channel or something with a bit less idle time between forum posts?
Click to expand...
Click to collapse
Oops, i ment to put for you to type fastboot devices not adb devices in those instructions, that was just a mistake on my part. I dont think you can even access adb from hboot. As long as fastboot devices works your good to go. Also you will want to select fastboot from the bootloader menu after connecting the phone. So it should say fastboot plug in red not usb plug in blue when entering the commands.
I do not know of an irc channel, and i like to keep the conversation here so that the instructions and common issues and fixes can be seen and learned from by others.
cmlusco said:
Oops, i ment to put for you to type fastboot devices not adb devices in those instructions, that was just a mistake on my part. I dont think you can even access adb from hboot. As long as fastboot devices works your good to go. Also you will want to select fastboot from the bootloader menu after connecting the phone. So it should say fastboot plug in red not usb plug in blue when entering the commands.
Click to expand...
Click to collapse
Oh well in that case I get an entirely different issue. "Fastboot devices" works but when I try the flash command you suggested:
Code:
sending 'misc' (640 KB)...
OKAY [ 0.119s]
writing 'misc'...
FAILED (remote: not allowed)
finished. total time: 0.129s
Man, talk about frustrating.
Leshy01 said:
Oh well in that case I get an entirely different issue. "Fastboot devices" works but when I try the flash command you suggested:
Code:
sending 'misc' (640 KB)...
OKAY [ 0.119s]
writing 'misc'...
FAILED (remote: not allowed)
finished. total time: 0.129s
Man, talk about frustrating.
Click to expand...
Click to collapse
Did you unlock the bootloader with htc dev? Does it say unlocked at the top of hboot?
cmlusco said:
Did you unlock the bootloader with htc dev? Does it say unlocked at the top of hboot?
Click to expand...
Click to collapse
Yep. *** Unlocked *** in pink at the top.
HBOOT 1.07.000
And my screen says FASTBOOT USB in red. When I enter "fastboot devices" I get HT0B2HJ05729 fastboot, so I know that works. As does commans like reboot.
Leshy01 said:
Yep. *** Unlocked *** in pink at the top.
HBOOT 1.07.000
And my screen says FASTBOOT USB in red. When I enter "fastboot devices" I get HT0B2HJ05729 fastboot, so I know that works. As does commans like reboot.
Click to expand...
Click to collapse
Hmm thats strange having the boooader unlocked should allow remote. Mabey thats not allowed, i thought it was. Sorry let me dig up some info i believe there is another way.
---------- Post added at 12:44 AM ---------- Previous post was at 12:17 AM ----------
Ok download this http://dinc.does-it.net/Guide_Root_New_Hboot/recovery.img and place it on your pc where fastboot.exe is and open the cmd prompt and type:
Code:
fastboot flash recovery recovery.img
And then reboot the phone to the bootloader again and go to recovery and flash this http://dinc.does-it.net/Superuser/SuperUser_3.1.1.zip. Just for kicks see if you can mount data or cache from the mounts and storage menu. If you can your issue is probably fixed, if not try this. Download and unzip these files http://dinc.does-it.net/Guide_Root_New_Hboot/flash_mtd.zip and place both of them in the same folder on your pc as adb.exe. Then while in recovery with the phone connected open a cmd promt to where adb is and type the following hitting enter after each line:
Code:
adb push flash_image /system/
adb push mtd0.img /sdcard/
adb shell (you should get a prompt with a # sign)
cd /system
chmod 0755 /systeml/flash_image
cd /system
./flash_image misc /sdcard/mtd0.img
exit
adb reboot recovery
In recovery go to mounts and storage and mount usb storrage and place this ruu http://dinc.does-it.net/Stock_Images/3.26.605.1/PB31IMG.zip on the sdcard. Then in your cmd prompt type:
Code:
adb reboot bootloader
Once in hboot, select bootloader from the menu amd wait a few secs for it to find the ruu and pronpt you to flash it.
cmlusco said:
Hmm thats strange having the boooader unlocked should allow remote. Mabey thats not allowed, i thought it was. Sorry let me dig up some info i believe there is another way.
---------- Post added at 12:44 AM ---------- Previous post was at 12:17 AM ----------
Ok download this http://dinc.does-it.net/Guide_Root_New_Hboot/recovery.img and place it on your pc where fastboot.exe is and open the cmd prompt and type:
Code:
fastboot flash recovery recovery.img
And then reboot the phone to the bootloader again and go to recovery and flash this http://dinc.does-it.net/Superuser/SuperUser_3.1.1.zip. Just for kicks see if you can mount data or cache from the mounts and storage menu. If you can your issue is probably fixed, if not try this. Download and unzip these files http://dinc.does-it.net/Guide_Root_New_Hboot/flash_mtd.zip and place both of them in the same folder on your pc as adb.exe. Then while in recovery with the phone connected open a cmd promt to where adb is and type the following hitting enter after each line:
Code:
adb push flash_image /system/
adb push mtd0.img /sdcard/
adb shell (you should get a prompt with a # sign)
cd /system
chmod 0755 /systeml/flash_image
cd /system
./flash_image misc /sdcard/mtd0.img
exit
adb reboot recovery
In recovery go to mounts and storage and mount usb storrage and place this ruu http://dinc.does-it.net/Stock_Images/3.26.605.1/PB31IMG.zip on the sdcard. Then in your cmd prompt type:
Code:
adb reboot bootloader
Once in hboot, select bootloader from the menu amd wait a few secs for it to find the ruu and pronpt you to flash it.
Click to expand...
Click to collapse
So I was able to complete all your steps without getting any errors. After flashing superuser, I still couldn't format /data or /cache (mounting was never an issue - or at least I wasn't given any errors about it before) However however after flashing the stock ROM, I am still getting the bootloop. I can't check the /data and /cache partition since its no longer running CWM though, but this is the same scenario I was in previously. I'm sure I'm giving you a challange here. Is there a way to manually re-partition everything manually, instead of just formatting?
So like I said, I ran the steps provided above, and still got the bootloop. So I flashed CWM and same as before, I am unable to format the /data and /cache partitions.:/
Leshy01 said:
So I was able to complete all your steps without getting any errors. After flashing superuser, I still couldn't format /data or /cache (mounting was never an issue - or at least I wasn't given any errors about it before) However however after flashing the stock ROM, I am still getting the bootloop. I can't check the /data and /cache partition since its no longer running CWM though, but this is the same scenario I was in previously. I'm sure I'm giving you a challange here. Is there a way to manually re-partition everything manually, instead of just formatting?
So like I said, I ran the steps provided above, and still got the bootloop. So I flashed CWM and same as before, I am unable to format the /data and /cache partitions.:/
Click to expand...
Click to collapse
Im not sure. If there is a program or a way to manually fix the partitions, i am unaware and it is probably over my head.
Flashing the misc partition should have fixed any errors with the partition table. The fact that it didnt fix it leads me to believe that the partitions are fubar.
One thing bugs me though, you said earlier that you never had an issue mounting the partitions, just formating them. So can you mount data in recovery, and then view its contents or pull and push with adb?
Leshy01 said:
So I was able to complete all your steps without getting any errors. After flashing superuser, I still couldn't format /data or /cache (mounting was never an issue - or at least I wasn't given any errors about it before) However however after flashing the stock ROM, I am still getting the bootloop. I can't check the /data and /cache partition since its no longer running CWM though, but this is the same scenario I was in previously. I'm sure I'm giving you a challange here. Is there a way to manually re-partition everything manually, instead of just formatting?
So like I said, I ran the steps provided above, and still got the bootloop. So I flashed CWM and same as before, I am unable to format the /data and /cache partitions.:/
Click to expand...
Click to collapse
Parted. It already exists in recovery and can be run in adb in recovery. Try that. I can't give directions but be careful. I think I tried to help someone before with this but can't recall the thread. It'd b a good starting point.
Sent from my Galaxy Nexus using Tapatalk 2
cmlusco said:
Im not sure. If there is a program or a way to manually fix the partitions, i am unaware and it is probably over my head.
Flashing the misc partition should have fixed any errors with the partition table. The fact that it didnt fix it leads me to believe that the partitions are fubar.
One thing bugs me though, you said earlier that you never had an issue mounting the partitions, just formating them. So can you mount data in recovery, and then view its contents or pull and push with adb?
Click to expand...
Click to collapse
Well... I'm sketchy on the exact terms here, but In CWM, I can mount the drives without getting any errors, but whenI try to format I get errors. I haven't actually "done" anything with those partition besides that.
However. I ran through ALL the steps you had me to. Flash the stock ROM w/ recovery, unlocked bootloader from HTC, pushed all the filies you had me through adb. After all that, I flashed CWM, then I flashed CM7, and then I booted up my device. As if my /data partition was not touched, all my apps were still there (titanium backup, my google accounts were still setup, app data and settings were untouched). So on a whim, I ran titanium backup, and uninstalled every single user app (since the android native uninstaller force closes). I ran it successfully, rebooted, and every other app was still there.
So it can READ the /data partition, but I have no abilities to MODIFY that partition. Through any recovery or formatting.
tiny4579 said:
Parted. It already exists in recovery and can be run in adb in recovery. Try that. I can't give directions but be careful. I think I tried to help someone before with this but can't recall the thread. It'd b a good starting point.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I'm willing to try anything because at this point nother else works, but I don't know where to start. And even if I find some documentation about other devices' partition table setup, I'm assuming the Incredible is different. Way I see it, I can't mess it up any more than it already is.
I'm hoping you guys have some sort of answer, but I'm looking around elsewhere, and I really appreciate everything you guys have contributed to this thread, and the community. Thanks!!!!!
Hi guys,
I have the same issue (with a galaxy s2 though), anything related to the partition /data is causing me troubles since I first tried to wipe it when I wanted to install CM9.1. (and I had stock ICS 4.0.4 at the time...)
Do you think it is the mmc bug ?
I can enter DL mode but when I try to flash stock rom, it just remains at the animated boot logo for hours...
Tried also to flash rom (with CODE, MODEM, CSC) and Odin stays stuck when starting DATA...
Any luck on your side ?
megosu said:
Hi guys,
I have the same issue (with a galaxy s2 though), anything related to the partition /data is causing me troubles since I first tried to wipe it when I wanted to install CM9.1. (and I had stock ICS 4.0.4 at the time...)
Do you think it is the mmc bug ?
I can enter DL mode but when I try to flash stock rom, it just remains at the animated boot logo for hours...
Tried also to flash rom (with CODE, MODEM, CSC) and Odin stays stuck when starting DATA...
Any luck on your side ?
Click to expand...
Click to collapse
I don't think the mmc bug has anything to do with the Droid Incredible or even affects it. I thought the mmc bug led to a fully bricked phone.
This isn't really the thread for this but have you tried the full Odin Factory reset for your device which includes the /data partition? I think the method that uses a PIT file is the most thorough but most risky. I recommend posting any questions in your device's thread but I've had a few samsungs and am somewhat familiar with that process.

Nexus Bricked

Hi guys, I have a very big problem. After a crean wipe and install of cm11, my phone started to reboot after maybe 10 seconds from the boot. I tryed to restore factory but the toolkit and odin fail on writing of system.img.Could anybody help me? Thanks so much
lo97 said:
Hi guys, I have a very big problem. After a crean wipe and install of cm11, my phone started to reboot after maybe 10 seconds from the boot. I tryed to restore factory but the toolkit and odin fail on writing of system.img.Could anybody help me? Thanks so much
Click to expand...
Click to collapse
Are you able to get to recovery via the power button and volume button method?
Stupendousman2012 said:
Are you able to get to recovery via the power button and volume button method?
Click to expand...
Click to collapse
Also, is device recognized w/adb?
Yes, I'm able to use the fastboot but it didn't seem to work bacause I'm on cwm and I tryed to flash twrp but It didn't work. Also I'm not able to flash stock because it fails at system writing. No adb, I have only 15-30 seconds befere the FC and the restart
EDIT: Maybe it's a permission error (only R/O) how fix it?
lo97 said:
Yes, I'm able to use the fastboot but it didn't seem to work bacause I'm on cwm and I tryed to flash twrp but It didn't work. Also I'm not able to flash stock because it fails at system writing. No adb, I have only 15-30 seconds befere the FC and the restart
EDIT: Maybe it's a permission error (only R/O) how fix it?
Click to expand...
Click to collapse
Reboot the phone into safe mode by holding power until the reboot menu appears, and then holding your finger on the beboot button until the reboot into safe mode dialogue appears.
When you are in safe mode, see if you are able to navigate around without the phone auto-restarting.
If so, see if you are able to copy the rom and GAPPS to the sdcard/download directory and try to flash again?
Not sure if this will work, but at least you can see if the hardware is failing in safe mode
Stupendousman2012 said:
Reboot the phone into safe mode by holding power until the reboot menu appears, and then holding your finger on the beboot button until the reboot into safe mode dialogue appears.
When you are in safe mode, see if you are able to navigate around without the phone auto-restarting.
If so, see if you are able to copy the rom and GAPPS to the sdcard/download directory and try to flash again?
Not sure if this will work, but at least you can see if the hardware is failing in safe mode
Click to expand...
Click to collapse
Safe mode works only if I presso volume down button because everything I do seems to don't change anything after it reboot = like not saving thing. And It reboots also in safe mode (bu i have like 1-2 minutes...unless i try to delete something or download because them cause a reboot...) (sorry for my english). Every whipes and flash doesn't work...no factory reset, no toolkit reset, no odin reset..they all failed or just don't change anything (I tryed odin download and I pass but after it rebooted like every-time before)
lo97 said:
Safe mode works only if I presso volume down button because everything I do seems to don't change anything after it reboot = like not saving thing. And It reboots also in safe mode (bu i have like 1-2 minutes...unless i try to delete something or download because them cause a reboot...) (sorry for my english). Every whipes and flash doesn't work...no factory reset, no toolkit reset, no odin reset..they all failed or just don't change anything (I tryed odin download and I pass but after it rebooted like every-time before)
Click to expand...
Click to collapse
Fastboot(bootloader) is recovery independent, recovery doesn't even need to be there. I'm pretty sure from what you've said that you've got some corrupted partition(s). I went through the same thing, couldn't flash anything with adb. This is what you gotta do after you've tried to adb pull as much data from your phone as you want to backup. Most people don't know about this for some reason, it's very easy and reliable.
->Bootloader(fastboot mode) --- hold down VOL_UP + VOL_DOWN + POWER until your phone vibrates. There's post information at the bottom and the start, poweroff, boot -recovery, -bootloader options to scroll through.
->Leave your phone in fastboot mode and connect it to your PC/remote terminal. You can look at it once we execute some fastboot commands. A blue bar appears at the bottom of the screen once you send it a fastboot command/signal.
->Open up a command prompt as administrator (su shell with *nix/mac) in the directory where your fastboot(.exe) binary is. Should be the same as where adb binary is -- Don't trust adb executable downloads that don't come with fastboot. Check for connectivity, a serial should print just like with adb after entering:
Code:
fastboot devices
-----NEXT STEPS WILL WIPE && FORMAT YOUR PHONE-----
->We are going to do a fastboot erasure. This is a complete wipe/format. It reconfigures block size, cylinders, etc (default unless specified) and can format all the specified "mmc" image blocks in /dev/block. The most likely place you're gonna see data corruption is in /data and /cache because those are always mounted Writable and pretty much all data writes occur their unless you're flashing a new rom, kernel, modding /system s***, etc. Then you will temporarily be writing to some other partition blocks. So let's do a userdata and cache fastboot format. This will completely erase /data and /cache (including sdcard, it won't take a second glance). I've never heard of this failing btw. It's the gold standard of debugging reliability, and unfortunately Odin is something to definitely avoid. Bury that one away in your suicidal desperation toolbox.
Code:
fastboot -w
Reflash your bootloader, unlock it, flash recovery TWRP, and flash a kernel boot.img that's super stable like FAUX Kern or Fancy. <---- Do all that in fastboot! ---- Check the Galaxy Nexus wiki page for these commands. I'd search "fastboot commands" in xda, there's some cool s*** fastboot can do.
Then you can boot recovery, adb push all sd stuff back over. Flash a new rom with adb sideload. Make sure to download trickster and either set Dynamic Fsync = OFF or set Fsync = ON to avoid data corruption system gangbangs. :good:
7175 said:
Fastboot(bootloader) is recovery independent, recovery doesn't even need to be there. I'm pretty sure from what you've said that you've got some corrupted partition(s). I went through the same thing, couldn't flash anything with adb. This is what you gotta do after you've tried to adb pull as much data from your phone as you want to backup. Most people don't know about this for some reason, it's very easy and reliable.
->Bootloader(fastboot mode) --- hold down VOL_UP + VOL_DOWN + POWER until your phone vibrates. There's post information at the bottom and the start, poweroff, boot -recovery, -bootloader options to scroll through.
->Leave your phone in fastboot mode and connect it to your PC/remote terminal. You can look at it once we execute some fastboot commands. A blue bar appears at the bottom of the screen once you send it a fastboot command/signal.
->Open up a command prompt as administrator (su shell with *nix/mac) in the directory where your fastboot(.exe) binary is. Should be the same as where adb binary is -- Don't trust adb executable downloads that don't come with fastboot. Check for connectivity, a serial should print just like with adb after entering:
Code:
fastboot devices
-----NEXT STEPS WILL WIPE && FORMAT YOUR PHONE-----
->We are going to do a fastboot erasure. This is a complete wipe/format. It reconfigures block size, cylinders, etc (default unless specified) and can format all the specified "mmc" image blocks in /dev/block. The most likely place you're gonna see data corruption is in /data and /cache because those are always mounted Writable and pretty much all data writes occur their unless you're flashing a new rom, kernel, modding /system s***, etc. Then you will temporarily be writing to some other partition blocks. So let's do a userdata and cache fastboot format. This will completely erase /data and /cache (including sdcard, it won't take a second glance). I've never heard of this failing btw. It's the gold standard of debugging reliability, and unfortunately Odin is something to definitely avoid. Bury that one away in your suicidal desperation toolbox.
Code:
fastboot -w
Reflash your bootloader, unlock it, flash recovery TWRP, and flash a kernel boot.img that's super stable like FAUX Kern or Fancy. <---- Do all that in fastboot! ---- Check the Galaxy Nexus wiki page for these commands. I'd search "fastboot commands" in xda, there's some cool s*** fastboot can do.
Then you can boot recovery, adb push all sd stuff back over. Flash a new rom with adb sideload. Make sure to download trickster and either set Dynamic Fsync = OFF or set Fsync = ON to avoid data corruption system gangbangs. :good:
Click to expand...
Click to collapse
It says that wase pass but didn't change anything. Also flash the recovery didn't change anything (I was on CMW and after flashing the TWRP, it opened CWL like always). I'm desperate .
lo97 said:
It says that wase pass but didn't change anything. Also flash the recovery didn't change anything (I was on CMW and after flashing the TWRP, it opened CWL like always). I'm desperate .
Click to expand...
Click to collapse
nothing is changed after flashing, it took long time to flash system then it failed...= fried emmc, need replacement.
samersh72 said:
nothing is changed after flashing, it took long time to flash system then it failed...= fried emmc, need replacement.
Click to expand...
Click to collapse
Also if it works normally for like a cuple of minutes?
lo97 said:
Also if it works normally for like a cuple of minutes?
Click to expand...
Click to collapse
if the emmc is died, phone works fine, but nothing can be deleted or flashed. nothing will stick.
try to lock bootloader with fastboot command, i guess it will still unlocked...
samersh72 said:
if the emmc is died, phone works fine, but nothing can be deleted or flashed. nothing will stick.
try to lock bootloader with fastboot command, i guess it will still unlocked...
Click to expand...
Click to collapse
Ok, thanks ... :'((
samersh72 said:
if the emmc is died, phone works fine, but nothing can be deleted or flashed. nothing will stick.
try to lock bootloader with fastboot command, i guess it will still unlocked...
Click to expand...
Click to collapse
Is this a pretty surefire way to tell if emmc is good or not?
I did a fastboot OEM lock and it seems to have locked ok (reloaded bootloader after command)
bpm2000 said:
Is this a pretty surefire way to tell if emmc is good or not?
I did a fastboot OEM lock and it seems to have locked ok (reloaded bootloader after command)
Click to expand...
Click to collapse
Are you able to adb push, adb sideload, fastboot flash anything over at this point? If you can you get into a recovery and use adb check for any files in data, system, cache that aren't deleted. Then run
Code:
adb shell
/sbin/busybox mount -w -o remount /system /system
/sbin/busybox mount -w -o remount /data /data
/sbin/busybox mount -w -o remount /cache /cache
find / -exec /sbin/busybox chattr -i '{}'\;
. This will make sure you don't have any immutable files; it makes all files mutable so rm -rf works and so installations can replace and delete them.

LG G3 Bricked / No ADB / No download mode / No recovery

Hi,
Since the rom ( http://forum.xda-developers.com/lg-g3/development/rom-resurrection-remix-lp-v5-5-5-t3198675 ) of my phone crashed. After reboot, the phone is blocked on LG logo. Now, i can't enter in recovery mode (or in the download mode) and when I start my phone, it's fixed on the LG for 5 to 10 minutes, and after that it goes to a terminal (started fastboot mode).
I have read several tutorials to use fastboot to flash the recovery to reinstall a rom, but i have a error when i tried to erase or flash the recovery partition.
I look on my phone, and this error appear : "failed to send erase grp start address".
what can i do to fix this error ?
Thanks.
up please
Use the "boot" command instead of "flash" and it should boot up into recovery or downloadmode, depending on which file you use
I tried but i am stucked on teamwin logo.
Which file do i use for download mode ?
Hard to tell, there are some laf.img files floating around on xda and google or even better, extract the laf.img from the stock kdz depending on your android version (for instance you flashed 6.0 you pick the 30b kdz and extract it with the firmware extraction tool)
I would suggest you to and try to use the boot command with them..
Be carefull, do not use the flash command until you found one that boots into downloadmode properly or you can loose your fastboot mode aswell
From then on you should be able to boot into the downloadmode and flash a new firmware via the lg flashtool
I need help please. What can i do to re install a rom ?
Does your PC recognise the port.?
I found tutorial under bender_007 signature. People seemed happy with tool.
http://www.androidbrick.com/unbrick-recover-your-dead-lg-g3-g2-all-variants/
Doesn't hurt to read and ask some questions.
no i can't connect my phone with port. I think, i nned to correct the error with fastboot. (remote : failed to erase partition)
th0was said:
no i can't connect my phone with port. I think, i nned to correct the error with fastboot. (remote : failed to erase partition)
Click to expand...
Click to collapse
Can you elaborate, how exactly your phone crashed, it is very unlikely that it will mess all the partitions just by crashing the rom?
The rom crushed twice, and now i can not access to recovery to install a new rom. I only have access to the fastboot command. Adb not working.
I tried to boot on recovery.img, but it's not working.
Thank for your help.
Regards,
Help please ?
Today i can connected to my phone with ADB when i tape this fastboot command : fastboot boot ./recovery.img.
I can too go into my phone as root with adb command : adb shell.
i tried to push flash_image on my phone and use it, but it donesn't work.
how can i flash my phone with adb command ?

D855 Stuck at Boot Screen

So I think I've gone and bricked my LG G3.
After the ROM I was using, cm-13.0-20160322-NIGHTLY-d855 (CM13 March 22nd) from here, kept freezing 20 seconds after startup, I went to update to cm-13.0-20160325-NIGHTLY-d855 (CM13 March 25th). I booted into recovery (TWRP 2.8.7.0) as usual and went to flash both the ROM's .zip file and an Opengapps .zip file using TWRP's queue feature. However, it appeared to get stuck at a line (unfortunately I don't remember what it said exactly. Something involving patching system, I think), so I pulled the battery. I get the feeling this was a super not good thing to do, as my G3 now sits at the "LG - Life's Good" screen indefinitely. Holding Power+Vol.Down does not boot into Recovery, and neither does holding Vol.Up and plugging into my computer activate Download mode.
I tried to be as thorough as I could with exactly the steps I took, so I'm just hoping someone can give me a few pointers on what I can do.
As I type this I had the phone connected to my computer next to me, and I've suddenly heard the Windows "Device connected" sound and the phone is now showing this in the top right corner, in tiny font:
Code:
[784670] Fastboot mode started
[784820] -- reset --
[784820] -- portchange --
Edit: When this occurred, a device named "Android" appeared under the "Other devices" tab in Windows Device Manager. It's got a yellow warning sign next to the icon, and Properties says that the drivers for the device aren't installed.
Perhaps this is relevant to getting it working again.
First you need the adb drivers for lg g3
Then you need proper partitions, depends what your starting system was, before cm..
then simply reflash them
fastboot flash aboot aboot.img
fastboot flash recovery twrp.img (because you don´t have one)
fastboot flash laf laf.img (this should fix the download mode)
Depending on what the system in original was and what the cm package installed...
bender_007 said:
First you need the adb drivers for lg g3
Then you need proper partitions, depends what your starting system was, before cm..
then simply reflash them
fastboot flash aboot aboot.img
fastboot flash recovery twrp.img (because you don´t have one)
fastboot flash laf laf.img (this should fix the download mode)
Depending on what the system in original was and what the cm package installed...
Click to expand...
Click to collapse
Many thanks for the reply.
By ADB drivers for the LG G3, do you mean the Lg United Mobile Driver? I have version 3.13.2 of them, if that's what they are.
When I input the commands
Code:
adb devices
or
Code:
fastboot devices
nothing appears, so are there different drivers I should look for?
I'm not too sure how to "fix" partitions, either, but I'm guessing it requires ADB/fastboot.
The file aboot.img and laf.img, will I need to find somewhere to download them from?
Again, I appreciate the response.
In case you have the drivers not installed (the "android" device without drivers in device manager), try with "google adb driver" ->
or pdanet
however the lg one should be fine (if not -> try one of the ones I mentioned)
bender_007 said:
In case you have the drivers not installed (the "android" device without drivers in device manager), try with "google adb driver" ->
or pdanet
however the lg one should be fine (if not -> try one of the ones I mentioned)
Click to expand...
Click to collapse
I used PdaNet to install the LG drivers, and inputting the command "fastboot devices" now shows
Code:
? fastboot
Inputting "adb devices" does not show anything, however.
I then attempted to flash a recovery, TWRP version 2.8.7.0 with the command "fastboot flash recovery "recovery.img"". However, the phone's screen showed the following:
Code:
[998960] Error: Command never completed
[998960] Error: Auto CMD12 Error
[998960] Error: Command never completed with errors
[998960] Failed Writing block @ 1
How do I fix the partitions and find the files "aboot.img" and "laf.img"?
Thanks for your help so far, I'm glad that there is progress now.
it has to be fastboot flash recovery recovery.img (where recovery.img is twrp.img, twrp.bin, recovery.img or similiar, without any quotations)
What happens when you try to enter TWRP? Are you doing it right? Hold volume down and power ---- wait for lg logo an release for less than a second and keep holding again.
aboot and laf are downloadable or extractable (from KDZ/TOT) -> use bullghosts kdz/tot extractor
bender_007 said:
it has to be fastboot flash recovery recovery.img (where recovery.img is twrp.img, twrp.bin, recovery.img or similiar, without any quotations)
What happens when you try to enter TWRP? Are you doing it right? Hold volume down and power ---- wait for lg logo an release for less than a second and keep holding again.
aboot and laf are downloadable or extractable (from KDZ/TOT) -> use bullghosts kdz/tot extractor
Click to expand...
Click to collapse
I retried the command fastboot flash recovery recovery.img but it resulted in the same output as before.
I followed the exact instructions to enter TWRP but it just stays at the LG logo screen. I've held Power+Vol.Down for about a minute after quickly releasing it+pressing it again at the LG logo, but it just doesn't do anything.
I've found myself a Lollipop KDZ file. The CyanogenMod I was running, however, ran on Android 6.0 Marshmallow. Will I need a Marshmallow KDZ file instead?
check PM - Private Messages
+check out this drivers(I packaged few of them, there is also lg adb, try the ones)
bender_007 said:
check PM - Private Messages
+check out this drivers(I packaged few of them, there is also lg adb, try the ones)
Click to expand...
Click to collapse
I appreciate the offer to use Teamviewer to help me, but I think it would be best if you typed out some instructions in a reply to this thread so that others with the same issue can refer to here.
Solution
I've found a solution to my issue, at least.
Downloading "recovery.img" from here, putting it in the same folder as fastboot, and then using the command
Code:
fastboot boot recovery.img
booted my phone properly, into cm-13.0-20160322-NIGHTLY-d855 (CM13 March 22nd).
However this resulted in all data being erased, including internal storage.
After using Flashify to re-flash TWRP (just in case), everything works as it should.
HexManiacSpeck said:
I've found a solution to my issue, at least.
Downloading "recovery.img" from here, putting it in the same folder as fastboot, and then using the command
Code:
fastboot boot recovery.img
booted my phone properly, into cm-13.0-20160322-NIGHTLY-d855 (CM13 March 22nd).
However this resulted in all data being erased, including internal storage.
After using Flashify to re-flash TWRP (just in case), everything works as it should.
Click to expand...
Click to collapse
Glad you got it working
Regarding teamviewer - it was an exploration mission so I would see how your device behaves, maybe wrong drivers, maybe..100reasons (I certainly would write it in here if there was a better idea on my side)
bender_007 said:
Glad you got it working
Regarding teamviewer - it was an exploration mission so I would see how your device behaves, maybe wrong drivers, maybe..100reasons (I certainly would write it in here if there was a better idea on my side)
Click to expand...
Click to collapse
That's alright, many thanks for your help. I've just heard bad stories regarding Teamviewer and didn't want to risk anything.
HexManiacSpeck said:
That's alright, many thanks for your help. I've just heard bad stories regarding Teamviewer and didn't want to risk anything.
Click to expand...
Click to collapse
No problem, sometimes you have to trust people
There were people who asked for help, installed teamviewer and didn´t gave any control permissions (which is fine). But they were expecting someone is having soo much free time to explain things (which I would if I had time)
cheers, flad you fixed it
Fixed my G3 I was about to send to trash!
HexManiacSpeck said:
I've found a solution to my issue, at least.
Downloading "recovery.img" fromhere, putting it in the same folder as fastboot, and then using the command
Code:
fastboot boot recovery.img
booted my phone properly, into cm-13.0-20160322-NIGHTLY-d855 (CM13 March 22nd).
However this resulted in all data being erased, including internal storage.
After using Flashify to re-flash TWRP (just in case), everything works as it should.
Click to expand...
Click to collapse
Thanks a million for pointing to this recovery file!
I was also in a situation where all my attempts to flash a recovery were failing due to:
Failed Writing block @ 1
Click to expand...
Click to collapse
The rest of my phone was unusable (no working recovery, no download mode, just the LG logo or this fastboot mode)
I tried several TWRP recovery versions & flavors, but so far, I only successfully reboot in recovery using CyanogenMod recovery file (download.cyanogenmod.org/?device=d855). Though I was not able to do much afterwards apart some adb commands that were not working either.
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p20
dd: /dev/block/mmcblk0p20: write error: I/O error
This recovery img did the trick and I'm now back with a CyanogenMod ROM and a wiped phone.

Honor 7x with Lineage and TWRP, stuck in limbo

Hi all,
I installed TWRP on my Honor 7x, that went well.
Yesterday I decided to try to get Lineage working so:
- I installed EMUI 8, that went pretty smooth
- I installed Lineage OS 15.1. (without GApps)
- I flashed TWRP.
The issue I have now is that:
1) I can't install any APK in Lineage. Probably needs a factory reset/dalvik cache wipe.
2) I can't boot into TWRP. It stays stuck on the splash screen forever. This also means I can't install OpenGapps, SuperUser access (afaik), or anything else that requires root.
3) The bootloader is saying "FRP: Locked", which means I can't flash a new TWRP or a different ROM. When I try it fails with "command not allowed"
3) "fastboot oem unlock" fails saying I need to enable it in the developer options, but it's grayed out in the developer options because it's already unlocked.
4) I wanted to try the "dload" method but I can't find a good explanation on how to do it, and Huawei recently took all their downloads down, which means I can't find any UPDATE.app even if I knew how.
5) The other solution that *might* work is using "fastboot oem frp-unlock", but I need an unlock code for that (I assume the same one that you request for an OEM unlock from Huawei), and Huawei closed down the site that generated the codes.
So I'm stuck in a weird limbo where I can't move forward (install Gapps and use my phone as normal) nor backwards (go back to EMUI8).
Does anyone have any idea how I can fix this situation?
Shadowsalyer said:
Hi all,
I installed TWRP on my Honor 7x, that went well.
Yesterday I decided to try to get Lineage working so:
- I installed EMUI 8, that went pretty smooth
- I installed Lineage OS 15.1. (without GApps)
- I flashed TWRP.
The issue I have now is that:
1) I can't install any APK in Lineage. Probably needs a factory reset/dalvik cache wipe.
2) I can't boot into TWRP. It stays stuck on the splash screen forever. This also means I can't install OpenGapps, SuperUser access (afaik), or anything else that requires root.
3) The bootloader is saying "FRP: Locked", which means I can't flash a new TWRP or a different ROM. When I try it fails with "command not allowed"
3) "fastboot oem unlock" fails saying I need to enable it in the developer options, but it's grayed out in the developer options because it's already unlocked.
4) I wanted to try the "dload" method but I can't find a good explanation on how to do it, and Huawei recently took all their downloads down, which means I can't find any UPDATE.app even if I knew how.
5) The other solution that *might* work is using "fastboot oem frp-unlock", but I need an unlock code for that (I assume the same one that you request for an OEM unlock from Huawei), and Huawei closed down the site that generated the codes.
So I'm stuck in a weird limbo where I can't move forward (install Gapps and use my phone as normal) nor backwards (go back to EMUI8).
Does anyone have any idea how I can fix this situation?
Click to expand...
Click to collapse
small chance you enable root from developer options. (i think it will be adb only)
if so , maybe can use adb shell and "dd" to write recovery to correct partition.
problem is many of the available twrp do not boot on custom rom .
example code. (if you do wrong , it may be bad)
Code:
dd if=/ext_sdcard/twrp_Recovery_ramdisk.img of=/dev/block/mmcblk0p32
It seems like I'm allowed to use dd in ADB shell, but before I run it, what do you mean by " problem is many of the available twrp do not boot on custom rom . "? I thought recovery was independent of the ROM? And does it mean flashing twrp like that could brick my phone?
Shadowsalyer said:
It seems like I'm allowed to use dd in ADB shell, but before I run it, what do you mean by " problem is many of the available twrp do not boot on custom rom . "? I thought recovery was independent of the ROM? And does it mean flashing twrp like that could brick my phone?
Click to expand...
Click to collapse
Like what you have , twrp stuck on splash screen
I managed to unlock the FRP with DC-unlocker. Sucks that it costs money but it worked!
Now Im stuck in a TWRP boot loop though.
Shadowsalyer said:
I managed to unlock the FRP with DC-unlocker. Sucks that it costs money but it worked!
Now Im stuck in a TWRP boot loop though.
Click to expand...
Click to collapse
At this point you should have access to fastboot though, right? I'd try a different TWRP instead. Perhaps try this one: https://drive.google.com/file/d/1ZYo7Ndte3vlLcUSadD6jIgfBi1oxa0Pb/view?usp=drivesdk
Just to clarify, it gets stuck on TWRP splash screen. When I turn off the phone, it immediately boots up again into TWRP. I tried getting into fastboot mode with all kinds of combinations of button presses, but no luck. Not even Volume Up + USB cable works
smokinjoe2122 said:
At this point you should have access to fastboot though, right? I'd try a different TWRP instead. Perhaps try this one: https://drive.google.com/file/d/1ZYo7Ndte3vlLcUSadD6jIgfBi1oxa0Pb/view?usp=drivesdk
Click to expand...
Click to collapse
Sorry, only saw your answer after sending my other reply. In theory I should have access to fastboot mode. However, everytime I start up I get into TWRP, which doesn't work. I tried Volume up, volume down, both, with and without power button, with and without cable, and no dice.
Shadowsalyer said:
Sorry, only saw your answer after sending my other reply. In theory I should have access to fastboot mode. However, everytime I start up I get into TWRP, which doesn't work. I tried Volume up, volume down, both, with and without power button, with and without cable, and no dice.
Click to expand...
Click to collapse
I have seen this happen before , solution was to wait for dead battery, or disassemble to unplug battery
---------- Post added at 04:51 PM ---------- Previous post was at 04:47 PM ----------
Shadowsalyer said:
Sorry, only saw your answer after sending my other reply. In theory I should have access to fastboot mode. However, everytime I start up I get into TWRP, which doesn't work. I tried Volume up, volume down, both, with and without power button, with and without cable, and no dice.
Click to expand...
Click to collapse
This is because after the frp unlock, it needed to see a factory reset, and it usually needs to be done with stock recvery.
So will have to wait till battery is dead and and plug in usb while holding volume button. Should then load to fastboot. Where it is best to flash stock recovery to clear the recovery bootloop. The bootloop is do to the fact yo unlocked frp and now phone needs to wipe/data
Shadowsalyer said:
Sorry, only saw your answer after sending my other reply. In theory I should have access to fastboot mode. However, everytime I start up I get into TWRP, which doesn't work. I tried Volume up, volume down, both, with and without power button, with and without cable, and no dice.
Click to expand...
Click to collapse
it sucks this happened to yu but im glad i am not the only one that dc-unlocker deleted my fastboot after i unlocked the frp and i cant boot fastboot for nothing if you find a solution please contact me. my phone is doing the exact same thing booting straight too twrp no mater what combinations i use
dcraffam said:
it sucks this happened to yu but im glad i am not the only one that dc-unlocker deleted my fastboot after i unlocked the frp and i cant boot fastboot for nothing if you find a solution please contact me. my phone is doing the exact same thing booting straight too twrp no mater what combinations i use
Click to expand...
Click to collapse
i just took mine apart and discconected the battery and still no luck that program deleted my fastboot
Please can you tell me the process to install twrp I have the L24
I waited all the way till the battery drained, stuck in the USB, and it booted to ROM! Sadly it immediately shut off again because the battery is dead (even with keeping the USB in). I'm going to keep trying though.
I can't get into fastboot mode. I can get into the ROM by letting the battery drain completely on the TWRP splashscreen, and then sticking in the USB cable. However, no button combination or "adb reboot bootloader" or rebooting to bootloader from the ROM brings me to the bootloader. I wonder if it's still there. Any ideas?
Shadowsalyer said:
I can't get into fastboot mode. I can get into the ROM by letting the battery drain completely on the TWRP splashscreen, and then sticking in the USB cable. However, no button combination or "adb reboot bootloader" or rebooting to bootloader from the ROM brings me to the bootloader. I wonder if it's still there. Any ideas?
Click to expand...
Click to collapse
Seems to be a f-up situation either way.
You have adb DD available, found out before.
Don't know if maybe flashing stock recovery is good idea at this point.
I think fastboot.img can be flashed with DD too, but don't try till someone can confirm.
If flash stock recovery clears the loops, maybe best to do full-ota manual flashing.
I managed to get an UPDATE.APP file and extract fastboot.img from it, as well as all the other .img files. If someone can tell me what to flash and how (with dd), I think Im set.
Shadowsalyer said:
I managed to get an UPDATE.APP file and extract fastboot.img from it, as well as all the other .img files. If someone can tell me what to flash and how (with dd), I think Im set.
Click to expand...
Click to collapse
Fastboot.img is the large part the bootloader. If flashing it goes bad, might be dead phone after, just rember that.
Will add a list of partition names and command s for you soon.
here is a list of oreo partitions and there /dev/blk/** number
and here is an example of code to save images with dd assuming you put the images on your extrnal-sdcard in folder called oreo-images
Code:
dd if=/dev/block/mmcblk0p5 of=/mnt/ext_sdcard/oreo-images/fastboot.img
Do that save first and compare the md5 of the file from update.app to this file.
or just check the md5 before making the copy
Code:
adb shell md5sum /dev/block/mmcblk0p5
If you are conviced you need to flash the images, here is example of writing the image assuming files are in sdcard folder oreo-update-images
Code:
dd if=/mnt/ext_sdcard/oreoupdate-images/fastboot.img of=/dev/block/mmcblk0p5
As I have said, this might be bad advise , I have not done fastboot.img flashing before. But on other devices it is same as lk.img or uboot.img, There is danger in flashing it incorrectly. That is why my suggestion was to flash no-check-recovery and do manael update with "echo -update_package" commands.
Along with the statement that fastboot.img is similar to lk.img or uboot.img on other phones, Your fastboot cannot be gone. because phone boots.
but do let us know how it goes.
I agree it would be better to flash recovery if possible. I assume I need the NoCheck-Recovery image from this thread? https://forum.xda-developers.com/honor-7x/how-to/manual-update-to-oreo-beta-emui-8-bnd-t3767044
And what partition do I have to flash it to? I'm guessing either /dev/block/mmcblk0p28 (erecovery ramdisk) or /dev/block/mmcblk0p32 (recovery ramdisk)? I'm not sure what the difference is between erecovery and normal recovery.
(didn't flash fastboot yet, wanted to see if recovery was doable).
Shadowsalyer said:
I agree it would be better to flash recovery if possible. I assume I need the NoCheck-Recovery image from this thread? https://forum.xda-developers.com/honor-7x/how-to/manual-update-to-oreo-beta-emui-8-bnd-t3767044
And what partition do I have to flash it to? I'm guessing either /dev/block/mmcblk0p28 (erecovery ramdisk) or /dev/block/mmcblk0p32 (recovery ramdisk)? I'm not sure what the difference is between erecovery and normal recovery.
(didn't flash fastboot yet, wanted to see if recovery was doable).
Click to expand...
Click to collapse
To recovery_ramdisk. 32
What about check md5 of fastboot partition, that will be helpful to know if it did get wiped out.?
Hmm seems like I'm not allowed to use dd after all:
HWBND-H:/ $ dd if=/storage/7C96-7E17/BND-RECOVERY-NoCheck.img of=/dev/block/mmcblk0p32
dd: /dev/block/mmcblk0p32: Permission denied
And here I was thinking I was close to solving it...
Also can't run md5sum on the fastboot partition, since that needs root as well.

Categories

Resources