i instaled cwm 5.8.2.0
i dont have rom in memory of device & cant get ADB commands
it says no device found
how can i transfer rom file to the memory ? or get rid of the bootloop
i saw it can by adb shell dd if=/dev/zero of=/dev/block/mmcblk0p3 bs=1 count=13
but i cant get ADB
Related
Hi, i have big problem. My Prime after factory reset from ICS menu still booting to CWM . Tried wipe everything, install new rom, but Prime still booting to CWM. Please help me.
Solved
ADB shell fix this
Now type: dd if=/dev/zero of=/dev/block/mmcblk0p3 bs=16 count=1 and press [Enter]
Tying to install a rom. keep getting this error on cwm. Im stuck in Cwm recovery loop. LG G2 (D802). Installing from otg as pc will not find phone. using adb to push rom
"checking if loki-ifying is needed/dev/block/platform/msm_sdcc. /by-name/boot needs lokifying. [-] Failed to find function to patch.
Error loki-ifying the boot image. "
Keep it simple (Noob Friendly)
donation for fix
Thanks hope you can help
FIXED
if anyone is stuck here is the ADB command that fixed my phone.
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
hope it helps
hayjoesam said:
if anyone is stuck here is the ADB command that fixed my phone.
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
hope it helps
Click to expand...
Click to collapse
You know there's a LG G2 section right? And there's also an irc channel for these types of things.
Sent from an Xposed LG-G2/LS-980
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.
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?
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.