Fastboot into download - Android Q&A, Help & Troubleshooting

I was using a guide, https://forum.xda-developers.com/android/help/guide-how-to-lg-d-631-att-fastboot-t3130955, in hopes to use a custom recovery to restore my phone, it didn't take. Which lead to this problem.
During the process, I used ADB and inputed this command:
adb shell
su
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf
(I also ran this command to zero out the actual block partition)
dd if=/dev/zero of=/dev/block/mmcblk0p15
So I found this guide, after finding out that a tot file is the only way to restore.
https://forum.xda-developers.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848
I did well until the final part of step, which requires the phone to be in download mode. I realize the problem is that the phone is in fast boot instead of download/driver mode, and I have no idea how to switch it back.
Also, The fastboot reboot command does nothing, and it flatout rejects the reboot into bootloader command.

Related

Help with Bricked Rezound

I unlocked the bootloader from HTCdev.com and followed the instructions from scott's roms for installing clean rom dev edition which booted fine. I noticed that the phone wouldn't turn on today and discovered these issues.
Also, I have CWM recovery installed (I read about all the issues after the fact having never had issues like this before with a myriad of phones/tablets i ASS-umed that it would be fine).
Currently the phone will not charge, the screen stays black, it shows up in adb in recovery mode (screen still black), cannot get into the bootloader, cannot run fastboot commands. I've tried to use adb push to get amon-ra on this to no avail.
This isn't mine, it's a friends and if anyone knows a method for me to get into the bootloader i'd be grateful. I know fastboot and adb well enough. Please PM me or answer on here. Thanks guys!
You aren't in terrible shape.
If you can use adb you are ok. Download amon ra and my zimage flasher here: http://forum.xda-developers.com/showthread.php?t=1419587
Extract zimage flasher and find the file dd inside.
Then do "adb push dd /tmp"
Then do "adb push amonra.img /tmp"
Then do "adb shell"
Then do "cd /tmp"
Then do "chmod 4755 dd"
Then do "./dd dd if=/tmp/amonra.img of=/dev/block/mmcblk0p23"
Then yank battery and USB and try to charge.

[Q] Switch from TWRP to CWM

I rooted my TF201 using Urkel's Fresh Start method, which included TWRP as a part of the process. I felt more comfortable with CWM, so I tried flashing it, but now I can't enter any sort of recovery mode at all. It just hangs at the Asus logo where it tells me my device is unlocked.
I've tried flashing in fastboot mode:
Code:
fastboot flash recovery recovery-clockwork-5.8.3.4-tf201.img
fastboot flash -i 0x0b05 recovery recovery-clockwork-5.8.3.4-tf201.img
(What does the -i 0x0b05 flag do?)
While in Android, to force the recovery image to flash:
Code:
adb shell dd if=/dev/zero of=/dev/block/mmcblk0p3
adb shell dd if=/storage/emulated/0/downloads/CWM/recoveryblob of=/dev/block/mmcblk0p4
(Which partition should that command really be going to?)
Tried with different images of clockworkmod, official and unofficial to no avail.
How do I get CWM to work again? My TF201 is otherwise working perfectly, but obviously it'd be nice to have a working recovery.

FIX: Bootloop with OTA and TWRP (bumped)

If you accidentally take the OTA and have the bumped twrp installed you'll find yourself in a bootloop.... to fix it do this;
If you have ADB access (once booted into twrp), plug in your phone to your computer and do this:
Code:
adb shell
dd if=/dev/block/platform/msm_sdcc.1/by-name/fota of=/sdcard/fota-backup.img
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
If you DONT have ADB access for whatever reason or you do not have access to a computer or something you can use TWRP's "terminal command" option to do this:
Code:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
You'll have to type the above out with the onscreen keepboard so be very very careful to get all the spaces and /'s.... One wrong letter and you could blow up your phone.
After you can reboot and it should boot as normal.

Hard Brick fix needed for zv8 update (used TWRP terminal command)

was on zv6 and was updating to zv8 using the twrp terminal command method. i had the system.img, boot.img, modem.img, rpm.img, and tz.img. I flashed them in that order using the following commands:
note* I did enter the system.img command multiple times because no result was showing (i forgot it was a 2gb file)
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/modem.img of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/rpm.img of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/tz.img of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
boot, modem, rpm, and tz showed the "files removed and files installed" log and were complete. the system.img never did (waited 20 minutes). after the last entry of the dd...system.img..., it said no available space while flashing tz.img. I rebooted into system. TWRP asked if i wanted to root and I swiped for yes root.
the phone shut off and will not power on, no led when charging, no download mode, no recovery mode... NOTHING. can LGflashtool fiz this? I have a nandroid backup so I'm not worried about losing data and will flash back to zv4 if necessray.
Thanks
Well in order to use the flashtool you have to be in download mode. Since you cannot boot that really wont help you. At this point your best option is to contact sprint and request a replacement device. The only reason I say that is because it is a hard brick and the device will not power on. Now if it was a soft brick it would be a whole nother story.
ABAD915 said:
was on zv6 and was updating to zv8 using the twrp terminal command method. i had the system.img, boot.img, modem.img, rpm.img, and tz.img. I flashed them in that order using the following commands:
note* I did enter the system.img command multiple times because no result was showing (i forgot it was a 2gb file)
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/modem.img of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/rpm.img of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/tz.img of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
dd if=/sdcard/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
boot, modem, rpm, and tz showed the "files removed and files installed" log and were complete. the system.img never did (waited 20 minutes). after the last entry of the dd...system.img..., it said no available space while flashing tz.img. I rebooted into system. TWRP asked if i wanted to root and I swiped for yes root.
the phone shut off and will not power on, no led when charging, no download mode, no recovery mode... NOTHING. can LGflashtool fiz this? I have a nandroid backup so I'm not worried about losing data and will flash back to zv4 if necessray.
Thanks
Click to expand...
Click to collapse
I did the same as you, ended up softbricking my phone. Had to flash with the LGFlash tool and start from Z4
Why were you flashing all those IMG files?;makes no sense to me . What were you trying to do?

(GUIDE) Unbrick (secure boot error) without restoring to stock

I'M NOT RESPONSIBLE FOR PEOPLE NOT FOLLOWING INSTRUCTIONS OR HARD BRICKED PHONES.
To follow this guide you must at least be able to access TWRP or Download mode or Fastboot at least.
(This guide applies too if your phone boots but with the Secure Boot error 1003 <- this error doesnt let your phone charge powered off)
1. Download Unbrick.zip
2. Download LG root zvb method zip from HERE (thanks to AUTOPRIME & Team CODEFIRE)
2a. Extract unbrick zip and root zvb zip in the same location
2b. right click "open command prompt" inside the folder of extraction.
3. Have LG drivers installed (you can find them in the forums)
4. If you have access to download mode and no TWRP installed you must first nuke LAF
4a. use the command prompt window we opened on 2b. and nuke laf using dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf
4b. type LEAVE (this will leave your G3 on fastboot)
5. On the same window we must flash TWRP. using fastboot flash recovery twrp.img
5a. then fastboot flash boot boot.img, fastboot flash aboot aboot.img, fastboot flash laf laf.img
5b. fastboot reboot should take you to twrp where you can flash any rom (I suggest FULMICS)
5c. If the rom you flash fails to boot or you keep getting secure boot error keep on with this guide.
6. Enter twrp and copy the boot, aboot and laf imgs to your internal storage
6a. open a cmd prompt and enter adb shell
6b. use dd command as follows:
dd if=/sdcard/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf
7. Reboot to recovery and flash any custom rom this should fix your Secure Boot error Sprint LG G3. :highfive:
Thanks to all devs who worked on root and roms for this amazing phone!
Thanks! I had a working phone but still got the boot error. I copied the unbrick.zip to my phone and used the terminal in TWRP to run the dd commands in step 6b and it fixed the error! Reinstalled a fresh fulmics and everything is working fine.

Categories

Resources