[Q] How to flash custom recovery in recovery/ADB only - LG Optimus G (International)

Is there a way to flash a new custom recovery into my LG Optimus only through CWM recovery?

CartoonmanPDC said:
Is there a way to flash a new custom recovery into my LG Optimus only through CWM recovery?
Click to expand...
Click to collapse
http://lifehacker.com/the-most-useful-things-you-can-do-with-adb-and-fastboot-1590337225

rogem_kk said:
http://lifehacker.com/the-most-useful-things-you-can-do-with-adb-and-fastboot-1590337225
Click to expand...
Click to collapse
I can't used fastboot because my device refuses to boot into anything other than recovery, even when I press "boot into bootloader", so HBOOT is out of the question.
Some ADB commands simply don't seem to work in this recovery. I can however use the adb shell to push files into the phone. Just nothing beyond that.
I've tried this to no success, primarily because I can't get into HBOOT.
There is one thing I have yet to try, and that's installing via zip. Would it be possible to install a recovery image via zip file? If so, how? The recovery images I have are all in .img format.

yes, you can
CartoonmanPDC said:
Is there a way to flash a new custom recovery into my LG Optimus only through CWM recovery?
Click to expand...
Click to collapse
Yes, you can. You can download flashable zip for CWM and flash TWRP or another CWM.

Related

[Q] I can't update via OTA

Hello everyone
I want to update mi htc one via OTA but when the phone reboots enter to teamwin recovery i want to know how to updateit my firmware version is 1.12.599.20
Thank you and sorry for my bad english​
daga2448 said:
when the phone reboots enter to teamwin recovery​
Click to expand...
Click to collapse
Enough said. You need stock recovery to do OTA.
Try to locate OTA file and flash it manually
BerndM14 said:
Enough said. You need stock recovery to do OTA.
Click to expand...
Click to collapse
how do i install stock recovery without lossing root??
daga2448 said:
how do i install stock recovery without lossing root??
Click to expand...
Click to collapse
You won't lose root if you have stock recovery.
Do you even have a stock recovery? If so, just place it inside the adb folder, open the command prompt change directory to adb folder, boot into bootloader mode and type fastboot flash recovery name_of_recovery.img The same way you probably got custom recovery onto the device.
Won't lose root because of stock recovery. You'll lose root because of the OTA though, but even then it's easy enough to regain root. You can then either flash back the custom recovery OR boot the custom recovery. I'd suggesting booting the custom recovery that way you can make a nandroid backup of the updated system before you flash anything again.
fastboot boot custom_recovery_name.img If you're using TWRP then it probably won't make a backup of the stock recovery, CWM/Philz will work better for the nandroid. After you made a backup(If you choose to make a backup, again strongly suggested) then you can flash a custom recovery again.
Was it really necessary to post in a massive font?

[Q] TWRP doesn't replace CWM

I'm having some trouble with installing a new recovery. I want to have TWRP because I want to install a ROM that requires it. At the moment I have some old CWM but when I flash TWRP and reboot into recovery I still get into CWM.
So how do I replace CWM or at least boot into TWRP?
elementzero23 said:
I'm having some trouble with installing a new recovery. I want to have TWRP because I want to install a ROM that requires it. At the moment I have some old CWM but when I flash TWRP and reboot into recovery I still get into CWM.
So how do I replace CWM or at least boot into TWRP?
Click to expand...
Click to collapse
What rom requires u to have twrp recovery? How r you trying to flash it?
jmcclue said:
What rom requires u to have twrp recovery? How r you trying to flash it?
Click to expand...
Click to collapse
This one
I tried flashing it via fastboot and via my old recovery ("flash zip from sd card")
elementzero23 said:
This one
I tried flashing it via fastboot and via my old recovery ("flash zip from sd card")
Click to expand...
Click to collapse
Try 4ext recovery, in my opinion i think its better. Also u cant flash recovery "flash zip from sdcard" u have to either use fastboot command
fastboot flash recovery recovery.img
Or via PB99IMG method or using the 4ext app but u can only use the app once ur phone is booted.

recovery install problem

Hello
i've just installed the twrp recovery on my lg g4 (after unlock the bootloader of course)
and when i try to boot in recovery mode it doesnt work (it shows me an android logo with an exclamation mark)
plz help me :S
thanks
It did not install properly. Same happened to me. Try
fastboot erase recovery
fastboot flash recovery twrp.img
Then try to boot to recovery using twrp manager app
jkoljo said:
It did not install properly. Same happened to me. Try
fastboot erase recovery
fastboot flash recovery twrp.img
Then try to boot to recovery using twrp manager app
Click to expand...
Click to collapse
thanks for your comment!
but i still have this problem...
jkoljo said:
It did not install properly. Same happened to me. Try
fastboot erase recovery
fastboot flash recovery twrp.img
Then try to boot to recovery using twrp manager app
Click to expand...
Click to collapse
After you have installed TWRP via adb you must boot (or stay there) into revocery and falsh the twrp-xxxx.img as "revocery" (buton down right to change from image to recovery).
hannsheinz said:
After you have installed TWRP via adb you must boot (or stay there) into revocery and falsh the twrp-xxxx.img as "revocery" (buton down right to change from image to recovery).
Click to expand...
Click to collapse
thanks man but i cant boot into recovery... this is the problem... Instead of boot into recovery, it shows me a android logo with exclamation mark..
daniel1803 said:
thanks man but i cant boot into recovery... this is the problem... Instead of boot into recovery, it shows me a android logo with exclamation mark..
Click to expand...
Click to collapse
Try this:
adb reboot bootloader
fastboot.exe flash recovery twrp-xxxx.img
fastboot.exe boot twrp-xxxx.img (same filename as above)
Then flash the same twrp-xxx.img file via "install"
After this you can direct boot into revocery with apps like quickboot, or via Vol-Down, Power-On, or direkt via reboot meneu if you use G4 Tweak Box.
If you are on 6.0 the recovery will never boot up. But don't worry, all you need to do is just download kernel package like SimpleGX, from this package copy the boot.img, then flash it via fastboot. After that let the phone boot up, reboot it to bootloader again and flash twrp.img. If you did it properly the twrp will boot up. REMEMBER to flash full kernel package otherwise you can have problems with your device.
Adam Myczkowski said:
If you are on 6.0 the recovery will never boot up. But don't worry, all you need to do is just download kernel package like SimpleGX, from this package copy the boot.img, then flash it via fastboot. After that let the phone boot up, reboot it to bootloader again and flash twrp.img. If you did it properly the twrp will boot up. REMEMBER to flash full kernel package otherwise you can have problems with your device.
Click to expand...
Click to collapse
is it save to flash the SimpleGX kernel without the included modules in the zip file?
because i only manged to flash twrp for h811 on my h815 with v20d and unlocked bootloader... i am confused
the-erazer said:
is it save to flash the SimpleGX kernel without the included modules in the zip file?
because i only manged to flash twrp for h811 on my h815 with v20d and unlocked bootloader... i am confused
Click to expand...
Click to collapse
Never flash recovery for H811 on H815, there is reason why they are different.. You could have bricked your device. Yes flashing this boot.img is completely safe as long as you flash full package later, otherwise you might have problems with software. I've done so many times without any issue, anyway it's not a softbrick, you always reflash the firmware however be aware of that if you do it wrong and get your phone bricked without access to custom recovery there is no way to recovery your data. My G4 is dead but this is caused by the well know bootloop issue (hardware fail).
Adam Myczkowski said:
Never flash recovery for H811 on H815, there is reason why they are different.. You could have bricked your device. Yes flashing this boot.img is completely safe as long as you flash full package later, otherwise you might have problems with software. I've done so many times without any issue, anyway it's not a softbrick, you always reflash the firmware however be aware of that if you do it wrong and get your phone bricked without access to custom recovery there is no way to recovery your data. My G4 is dead but this is caused by the well know bootloop issue (hardware fail).
Click to expand...
Click to collapse
Thanks for the quick answer... I got a replacement and it ships with v20d twrp for h811 was the only solution to get root... Now i have seen your post... Will try it later... I hope it works
Do you know the reason why we have to flash the kernel? Some poeple can flash twrp without...
edit: i have flashed the kernel but flashing twrp dont want to flash...
the result of fastboot is positive but if i want to boot in recovery the screen stays black and then the phone boots up normal to os...
woult it help to kdz the phone to lolipop?
Gesendet von meinem LG-H815 mit Tapatalk
Adam Myczkowski said:
If you are on 6.0 the recovery will never boot up. But don't worry, all you need to do is just download kernel package like SimpleGX, from this package copy the boot.img, then flash it via fastboot. After that let the phone boot up, reboot it to bootloader again and flash twrp.img. If you did it properly the twrp will boot up. REMEMBER to flash full kernel package otherwise you can have problems with your device.
Click to expand...
Click to collapse
the-erazer said:
Thanks for the quick answer... I got a replacement and it ships with v20d twrp for h811 was the only solution to get root... Now i have seen your post... Will try it later... I hope it works
Do you know the reason why we have to flash the kernel? Some poeple can flash twrp without...
Gesendet von meinem LG-H815 mit Tapatalk
Click to expand...
Click to collapse
Install Twrp Manager from the Play Store and then install Twrp 2.8.7.0 from it.
It's working fine on my H815 v20d
Sent from my LG G4
welder73 said:
Install Twrp Manager from the Play Store and then install Twrp 2.8.7.0 from it.
It's working fine on my H815 v20d
Sent from my LG G4
Click to expand...
Click to collapse
I have no idea how did you manage to install TWRP recovery on official 6.0 firmware since TWRP manager requires root and to root android 6.0 you have to have modified boot image...
the-erazer said:
Thanks for the quick answer... I got a replacement and it ships with v20d twrp for h811 was the only solution to get root... Now i have seen your post... Will try it later... I hope it works
Do you know the reason why we have to flash the kernel? Some poeple can flash twrp without...
Gesendet von meinem LG-H815 mit Tapatalk
Click to expand...
Click to collapse
As I mentioned above in android 6.0 google have modified it as the stock kernel does not allow to use unsigned stuff even though your bootloader is unlocked. So only way to root/install recovery on android 6.0 smartphones is to flash modified boot.img that allows to load unsigned things. If you flash recovery without changing stock kernel you'll not brick your device but the recovery will never open, but flashing superSU might brick your device, Autoprimes flashable zips include modified boot.img I suppose.
Adam Myczkowski said:
I have no idea how did you manage to install TWRP recovery on official 6.0 firmware since TWRP manager requires root and to root android 6.0 you have to have modified boot image...
As I mentioned above in android 6.0 google have modified it as the stock kernel does not allow to use unsigned stuff even though your bootloader is unlocked. So only way to root/install recovery on android 6.0 smartphones is to flash modified boot.img that allows to load unsigned things. If you flash recovery without changing stock kernel you'll not brick your device but the recovery will never open, but flashing superSU might brick your device, Autoprimes flashable zips include modified boot.img I suppose.
Click to expand...
Click to collapse
i have no more idea what to do... i have flashed the kernel... and then recovery but when i want to enter recovery nothing happens it doesnt load. after some seconds the phone boots up normal.
before that i have tried twrp manager but the app crashes every time i want to select the recovery to install.
flashify is same as flashing over fastboot.
what is the difference between the 2 versions of twrp? h811 got another kernel than h815 but why can i load this one but the right for h815 not?
the-erazer said:
i have no more idea what to do... i have flashed the kernel... and then recovery but when i want to enter recovery nothing happens it doesnt load. after some seconds the phone boots up normal.
before that i have tried twrp manager but the app crashes every time i want to select the recovery to install.
flashify is same as flashing over fastboot.
what is the difference between the 2 versions of twrp? h811 got another kernel than h815 but why can i load this one but the right for h815 not?
Click to expand...
Click to collapse
I have no idea honestly, try to reflash the firmware. Recovery doesn't load only if you don't flash boot.img properly.
Adam Myczkowski said:
I have no idea how did you manage to install TWRP recovery on official 6.0 firmware since TWRP manager requires root and to root android 6.0 you have to have modified boot image...
As I mentioned above in android 6.0 google have modified it as the stock kernel does not allow to use unsigned stuff even though your bootloader is unlocked. So only way to root/install recovery on android 6.0 smartphones is to flash modified boot.img that allows to load unsigned things. If you flash recovery without changing stock kernel you'll not brick your device but the recovery will never open, but flashing superSU might brick your device, Autoprimes flashable zips include modified boot.img I suppose.
Click to expand...
Click to collapse
Sorry,I thought he already have root.
Btw,you can't root H815 on MM without unlocking the bootloader...
Sent from my LG G4
the-erazer said:
i have no more idea what to do... i have flashed the kernel... and then recovery but when i want to enter recovery nothing happens it doesnt load. after some seconds the phone boots up normal.
before that i have tried twrp manager but the app crashes every time i want to select the recovery to install.
flashify is same as flashing over fastboot.
what is the difference between the 2 versions of twrp? h811 got another kernel than h815 but why can i load this one but the right for h815 not?
Click to expand...
Click to collapse
just for information i have tested to kdz back to lollipop v10b... downgrade was really easy using lgup but the result was twrp doesnt work... same as marshmallow... btw github had a bug ticket for h811 there was the same only vice versa...
daniel1803 said:
Hello
i've just installed the twrp recovery on my lg g4 (after unlock the bootloader of course)
and when i try to boot in recovery mode it doesnt work (it shows me an android logo with an exclamation mark)
plz help me :S
thanks
Click to expand...
Click to collapse
how do u unlock the bootloader on a LG G4 H811 ver 20i

Issue when flashing TWRP

Hi guys
I am trying to install the latest TWRP, but every time that I try to boot into recovery through "adb reboot recovery" the phone restarts and I see the android maintenance logo.
What I did up to now:
1) I unlocked the bootloader following LG site instructions successfully. I have the bootloader unlocked message.
2) Downloaded TWRP to my windows PC for H815. After doing "fastboot flash recovery twrp-3.0.2-0-h815.img", the result seems to be successful as I get the expected OK message.
3) I try to reboot to TWRP through "adb reboot recovery" but every time goes to the maintainance logo. I tried also the button combination but I cannot see the Factory Reset menu or the TWRP menu.
Just to mention that I was completely stock V20d without root at the beginning and that the phone boots fine for the moment.
Please help.
No one had my issue? I am still trying to install TWRP and I only manage to boot it temporarily from the PC..
nasosgr said:
No one had my issue? I am still trying to install TWRP and I only manage to boot it temporarily from the PC..
Click to expand...
Click to collapse
twrp needs to be flashed from within twrp. First boot twrp:
> fastboot boot twrp.img
Now you install the image as recovery.
Jens1969 said:
twrp needs to be flashed from within twrp. First boot twrp:
> fastboot boot twrp.img
Now you install the image as recovery.
Click to expand...
Click to collapse
I think this was the first issue, but after I should also remove the "read only" from TWRP in order to keep it in the recovery.
nasosgr said:
I think this was the first issue, but after I should also remove the "read only" from TWRP in order to keep it in the recovery.
Click to expand...
Click to collapse
once you boot into twrp from abd. you must have flashable zip on external sd card then use twrp to flash the twrp zip then youll have twrp for recovery..
raptorddd said:
once you boot into twrp from abd. you must have flashable zip on external sd card then use twrp to flash the twrp zip then youll have twrp for recovery..
Click to expand...
Click to collapse
Not quite right. You can flash twrp image from twrp recovery. No need for a zip.
Jens1969 said:
Not quite right. You can flash twrp image from twrp recovery. No need for a zip.
Click to expand...
Click to collapse
It didnt worked fro me. i select img. and i got red error letters, then i flash it using zip and it worked.. i had both files on sd external card and on pc.

Unable to Boots into Custom Recovery

I don't know why, I'm getting error. after successfully flashing the custom recovery on my Redmi Note 5 Pro, while 2nd time want to boot into the custom recovery, but device boots into the system recovery.
kbsarfaraz said:
I don't know why, I'm getting error. after successfully flashing the custom recovery on my Redmi Note 5 Pro, while 2nd time want to boot into the custom recovery, but device boots into the system recovery.
Click to expand...
Click to collapse
what method did u use to flash the custom recovery?
i use adb on PC
fastboot flash recovery [filename of the recovery]
kbsarfaraz said:
I don't know why, I'm getting error. after successfully flashing the custom recovery on my Redmi Note 5 Pro, while 2nd time want to boot into the custom recovery, but device boots into the system recovery.
Click to expand...
Click to collapse
Boot into twrp just after flashing it, and flash lazy flasher(Google for it)
dmj0shu4 said:
what method did u use to flash the custom recovery?
i use adb on PC
fastboot flash recovery [filename of the recovery]
Click to expand...
Click to collapse
Yes using ADB & fastboot with command prompt that you have used
kqixs said:
Boot into twrp just after flashing it, and flash lazy flasher(Google for it)
Click to expand...
Click to collapse
Ok....I'm trying hope it will fix
kbsarfaraz said:
I don't know why, I'm getting error. after successfully flashing the custom recovery on my Redmi Note 5 Pro, while 2nd time want to boot into the custom recovery, but device boots into the system recovery.
Click to expand...
Click to collapse
Same problem please help how to stable the recovery
First boot the recovery using
fastboot boot (youfilename).img
Then flash the recovery img from phone in the booted recovery

Categories

Resources