LG G5 H830 adb issues - LG G5 Questions & Answers

So straight to it, when I am trying to flash twrp recovery img with adb I keep getting failed (remote:unknown command) .
Process I have done;
Turned on oem unlock and debugging in developer otions
Unlocked boot loader via adb with fastboot oem unlock
Rebooted and got corruption msg but thats due to bootloader unlock
Put twrp in adb folder
Rebooted into fastboot
attempted to flash twrp recovery img via fastboot flash recovery twrp.img
Then thats when I get my error as follows;
target reported max download size of 536870912 bytes
sending 'recovery' (19412 kb) ...
okay [0.443s]
writing 'recovery' ...
failed (remote: unkown command)
finished. total time: 0.469s
Did I miss a step? I was reading something about a "fake" bootloader unlock besides h850?? I did achieve root with a tot file and lg up that did have already twrp baked in, but I need to get a stock rom so I can go ahead and switch between root and non root, cause I use an application for work that doesn't like root

i know this is an old post but i'm having the same issue. is it not possible to flash recovery with latest firmware?

same

Related

[Guide][Root] Lenovo Vibe P1M

Root Lenovo Vibe P1M
This guide will help you to root Lenovo Vibe P1M without bricking it.
Check this first.
Take backup of your important data at safe place.
Device must adequately charged.
Install USB drivers of your device PC.
Enable USB Debugging from Developer Options in Settings.
Enable Unknown Sources from Security in Settings.
Install TWRP
Follow the steps below.
Download ADB fastboot drivers [from here] and install it on PC.
Download TWRP recovery for Lenovo Vibe P1M from here.
Extract the zip file and find recovery.img file. Copy this file to your PC where you installed ADB fastboot drivers.
Now open Command Prompt.
Go to directory where you have installed ADB fastboot drivers.
Now enter the following commands.
Code:
adb reboot bootloader
fastboot oem unlock
fastboot flash recovery.img [B]OR[/B] fastboot boot recovery.img
fastboot reboot
After first command your device will reboot in fastboot mode. The second command will flash recovery image on your device. The third command will reboot your phone.
Now TWRP recovery is get installed on your Lenovo Vibe P1M.
Root Lenovo Vibe P1M
After installing TWRP on Lenovo Vibe P1M, follow the given steps to root it.
Download SuperSU from here.
Place the downloaded SuperSu zip in your extetnal SD card.
Now go to command prompt again and type the following command.
adb reboot recovery
Now your device will reboot in recovery mode. Flash supersu.zip from TWRP.
Reboot your device.
process completed.
Warning: I am not responsible if anything goes wrong, bricked device.
Does this method work with firmware ver S029. I am already rooted with kingoapp. But Flashfire app shows boot loader partitions to be protected . I suspect bootloader to be Locked. In such senario will this method work or will it brick my phone.
I also have another question if flash TWRP recovery on locked bootloader anyway, will it only fail to boot into recovery mode or will device fail to boot normally altogether
and it does boot normally then if i reflash stock recovery back on locked bootloader will that fix the issue of booting into recovery mode.
junkhunzai said:
Does this method work with firmware ver S029. I am already rooted with kingoapp. But Flashfire app shows boot loader partitions to be protected . I suspect bootloader to be Locked. In such senario will this method work or will it brick my phone.
I also have another question if flash TWRP recovery on locked bootloader anyway, will it only fail to boot into recovery mode or will device fail to boot normally altogether
and it does boot normally then if i reflash stock recovery back on locked bootloader will that fix the issue of booting into recovery mode.
Click to expand...
Click to collapse
This method will work ver S029 also. To flash recovery you need unlocked bootloader.
Well, I'm getting an error - (remote: not allowed), every time I try to boot the recovery.
ᵀᴴᴱ HUИTΞR said:
Well, I'm getting an error - (remote: not allowed), every time I try to boot the recovery.
Click to expand...
Click to collapse
Have you unlocked it?
1st command may be this
Fastboot oem unlock
Sent from my Redmi Note 3 using XDA-Developers mobile app
prajj said:
Have you unlocked it?
1st command may be this
Fastboot oem unlock
Click to expand...
Click to collapse
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock
...
OKAY [ 7.103s]
finished. total time: 7.105s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.075s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.081s
C:\Program Files (x86)\Minimal ADB and Fastboot>
P.S: And now I have reboot loop... Reboot> Logo> Reboot > Logo...to infinity with a non-removable battry - just perfekt
P.S.: I can't get to recovery anymore...
ᵀᴴᴱ HUИTΞR said:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock
...
OKAY [ 7.103s]
finished. total time: 7.105s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.075s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.081s
C:\Program Files (x86)\Minimal ADB and Fastboot>
P.S: And now I have reboot loop... Reboot> Logo> Reboot > Logo...to infinity with a non-removable battry - just perfekt
P.S.: I can't get to recovery anymore...
Click to expand...
Click to collapse
Have you extracted the zip file and copied recovery.img file from zip to your PC where you installed ADB fastboot drivers?? And use following command to flash recovery.img
Code:
fastboot flash recovery.img
Also take a look at this thread for reference --> http://forum.xda-developers.com/nexus-4/help/solved-fastboot-boot-recovery-img-t2380675
bravonova said:
Have you extracted the zip file and copied recovery.img file from zip to your PC where you installed ADB fastboot drivers?? And use following command to flash recovery.img
Code:
fastboot flash recovery.img
Also take a look at this thread for reference --> http://forum.xda-developers.com/nexus-4/help/solved-fastboot-boot-recovery-img-t2380675
Click to expand...
Click to collapse
Hi Bravo
fastboot flash recovery.img gives ->
unkown partition 'recovery.img'
error : cannot determine image filename for 'recovery.img'
and have the exact errors as Hunter but no loopboot until now
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.075s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.081s
finguers croosed
Edit :
some sites with roms are pointing to CPU MT6735M only , like needrom.com and techolite.com, mine is MT6735P, is there a difference ?
Nabil99 said:
Hi Bravo
fastboot flash recovery.img gives ->
unkown partition 'recovery.img'
error : cannot determine image filename for 'recovery.img'
and have the exact errors as Hunter but no loopboot until now
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.075s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.081s
finguers croosed
Edit :
some sites with roms are pointing to CPU MT6735M only , like needrom.com and techolite.com, mine is MT6735P, is there a difference ?
Click to expand...
Click to collapse
Hey bro use flashify app to flash recovery through phone...
Stock Recovery backup deleted.
Hi, my vibe p1m now is running twrp recovery, but i accidentally deleted my backup of stock recovery yeah i know im dumb, but if someone can provide a link.. please help me....
Can anyone share a boot.img plz.? I forgot to back up mine.. Thanks a ton!
mikkel19 said:
Hi, my vibe p1m now is running twrp recovery, but i accidentally deleted my backup of stock recovery yeah i know im dumb, but if someone can provide a link.. please help me....
Click to expand...
Click to collapse
http://firmwarefile.com/lenovo-vibe-p1m/
This link gives you stock firmware. I too have deleted my backup but used it to get it back. But however I faced problems like boot loop many times and even IMEI turned 000000000000000 for both sim slots but still it was recovered by using "MTK Engineering Mode" app which you can get from "Play Store" and follow the following steps.
Step 1) Open the the MTK Engineer mode app and swipe left side to go into Connectivity.
Step 2) In the Connectivity click on the CDS information.
Step 3) And then Tap on the Radio information.
Step 4) Then you will be able to see Phone 1 and Phone 2
Step 5) Just click on Phone 1 first. then enter the Command as AT +EGMR=1,7,"your first imei" (Put a Space between AT and +, Like AT +EGMR=1,10,"your imei") and then tap on SEND AT COMMAND it will show you that command sent,
Step 6) Now press back button and Tap on Phone 2 (if you have a Dual Sim phone) and Type AT +EGMR=1,10,"second imei" and tap on send at command.
Step 7) Now Just Restart you device and enjoy now Sim Card will Display the Network in the status bar.
And you are done!!!!!!!!!
You can see your IMEI by pressing *#06#
If you face boot loop problems again and again please inform me.
Just the problems I faced. They are the solutions. Please do reply to this message.
Okay thank you. I will try it. Thanks a lot
mikkel19 said:
Okay thank you. I will try it. Thanks a lot
Click to expand...
Click to collapse
Please do ask if you get any problems coz my device is same and I've tried with 3-4 different ROMs including stock so can help you with many problems.
---------- Post added at 04:42 PM ---------- Previous post was at 04:39 PM ----------
You can also root Lenovo Vibe P1m using SP Flash Tool. I've done the same and changed recovery from stock to TWRP easily without using any commands. Device works flawlessly and currently have installed MiUI 8 custom ROM.
mikkel19 said:
Okay thank you. I will try it. Thanks a lot
Click to expand...
Click to collapse
Oh and one more thing that zip file isn't for installing. You have to first extract it then you will get the instructions for flashing stock ROM. Happy flashing!!!!!
Sharath Guddad said:
Oh and one more thing that zip file isn't for installing. You have to first extract it then you will get the instructions for flashing stock ROM. Happy flashing!!!!!
Click to expand...
Click to collapse
Thank you, My vibe p1m is running on stock rom now, many thanks )))
Nabil99 said:
Hi Bravo
fastboot flash recovery.img gives ->
unkown partition 'recovery.img'
error : cannot determine image filename for 'recovery.img'
and have the exact errors as Hunter but no loopboot until now
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 1.075s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.081s
finguers croosed
Edit :
some sites with roms are pointing to CPU MT6735M only , like needrom.com and techolite.com, mine is MT6735P, is there a difference ?
Click to expand...
Click to collapse
Fastboot command given for flash recovery is wrong.
The right command is
Fastboot flash recovery recovery.img
Second recovery is the name of your recovery. If your recovery name is twrp then command is
Fastboot flash recovery twrp.img
Guys... If your device is new version (s036 pre installed) , use TWRP3 only.
Ashwinrg said:
Fastboot command given for flash recovery is wrong.
The right command is
Fastboot flash recovery recovery.img
Second recovery is the name of your recovery. If your recovery name is twrp then command is
Fastboot flash recovery twrp.img
Click to expand...
Click to collapse
C:\Fastboot>fastboot flash recovery recovery.img
target reported max download size of 134217728 bytes
sending 'recovery' (10642 KB)...
OKAY [ 1.063s]
writing 'recovery'...
FAILED (remote: download for partition 'recovery' is not allowed
)
finished. total time: 1.078s
cuci8202 said:
C:\Fastboot>fastboot flash recovery recovery.img
target reported max download size of 134217728 bytes
sending 'recovery' (10642 KB)...
OKAY [ 1.063s]
writing 'recovery'...
FAILED (remote: download for partition 'recovery' is not allowed
)
finished. total time: 1.078s
Click to expand...
Click to collapse
use TWRP3 only.. or install via sp flash tool.. it's very easy.. check this.. u can also get TWRP 3 here..
http://forum.xda-developers.com/android/general/how-to-install-twrp-root-lenovo-vibe-t3538088/page1

Help please?????

Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
What about locking the bootloader again and unlocking it after that with the newer video you used?
MAGNVM said:
Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
Click to expand...
Click to collapse
Did you try to run the terminal/cmd as an administrator/root?
Sent from my LG-H840 using Tapatalk

Help please??

Hi all,
Today I tried to root my LG G5 H830 but with an older method for Marshmallow(in the video i was watching the version wasn't even specified so I was unaware and I believed that the version of the phone did not really matter). I proceeded to follow this man's instructions @: "How to Root T-Mobile LG G5!" by "Max Lee" on Youtube(as a new user i cannot post links ) I unlocked my bootloader, got drivers and followed his instructions up onto an error on LGUP. Basically the error's purpose was to tell me that Nougat is not supported. So I had no choice but to reboot my phone and go through the android initializing setup.
After realizing the error of my ways I then found this post here via Google Search: "Install TWRP Recovery and Root LG G5 on Android Nougat | DroidViews" to install TWRP. Now my bootloader is unlocked and I have no root. The only problem here is that whenever I go into developer options and try to toggle 'OEM unlock' on it won't let me. The OEM unlock setting is grey-ed out and I am unable to toggle it!! This is what I need help with! Although my bootloader is very much infact unlocked I think some error occurred to where now I cant toggle my OEM unlock thus I am unable to flash a TWRP recovery via fastboot!
If I reboot into my bootloader and run the command "fastboot flash recovery recovery.img" i get this:
Code:
target reported max download size of 536870912 bytes
sending 'recovery' (18668 KB)...
OKAY [ 0.419s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.435s
I even ignored the error and tried to boot into recovery manually and i just get the stock recovery.
Please help me guys
duplicate thread >>> original here https://forum.xda-developers.com/lg-g5/help/help-please-t3601192
thread closed

!!!!!Need Help!!!!! Cant Flash Rom through fastboot or recovery

i have already unlock my bootloader and i download a ROM (RROS 8.1).
Use "fastboot flashing unlock" and it says :failed ,already fastboot unlock. I think its really unlocked.
I boot to bootloader and use command "fastboot flash system X:/system.img" and it failed
the OUT-POST is :
target reported max download size of 471859200 bytes.
sending sparse 'system'(460796 KB)
OKAY [11.152s]
writing 'system'
FAILED(remote: sparse flash write failure)
finished. total time: 11.502s .
im frome china so i cant use Gapps and i think its no necesessry to unlock frp and of course i checked SETTING and found nothing like 'OEM UNLOCK' .
What should i do to countine write System ? i think it trasfer system.img correctly and the problem is the Writing operation.

Bricked p20 lite

Hello first time here
i am stuck on fastboot
i was following this guide
My complete bootloader unlock and root guide.
So I just got this phone just for fun, it was 75 USD, and went straight to XDA to root it so i can remove some bloat etc. but holy moly i ended up have 10 tabs with different guides open, i have compiled what I did to get this phone rooted. I...
forum.xda-developers.com
i flashed magisk from fastboot after that i fastboot into recovery ...nothink happen its just say the unlock waring and never boot i tried boot into bootloader too didnt fix it .
Please help me its my daily phone
Thank you
deadweiler said:
Hello first time here
i am stuck on fastboot
i was following this guide
My complete bootloader unlock and root guide.
So I just got this phone just for fun, it was 75 USD, and went straight to XDA to root it so i can remove some bloat etc. but holy moly i ended up have 10 tabs with different guides open, i have compiled what I did to get this phone rooted. I...
forum.xda-developers.com
i flashed magisk from fastboot after that i fastboot into recovery ...nothink happen its just say the unlock waring and never boot i tried boot into bootloader too didnt fix it .
Please help me its my daily phone
Thank you
Click to expand...
Click to collapse
Try to flash from fastboot kernel, ramdisk and recovery_ramdisk (EMUI 8.0, right?)
https://mega.nz/file/4w9SWAxS#WlHTqaQBGk31Wi6qohVgwbOEubiS2fnKhHTlMBWe2CY
https://mega.nz/file/4h9wGKIa#VMNFjHk0IfyHBWT5JjiJGKveN4jMt9dCXmyl84D7vlE
https://mega.nz/file/BklwBb6Z#S0ZrfWNik5Wd5R_MO7wmmn9432uAcV8qyyvqxy9VwqU
thanks for fast response i ll try it now
yes i am on 8.0.0
C:\platform-tools>fastboot flash recovery RECOVERY_RAMDISK-ANE-8.0.img
Sending 'recovery' (32768 KB) OKAY [ 0.961s]
Writing 'recovery' FAILED (remote: 'partition length get error')
fastboot: error: Command failed
deadweiler said:
yes i am on 8.0.0
C:\platform-tools>fastboot flash recovery RECOVERY_RAMDISK-ANE-8.0.img
Sending 'recovery' (32768 KB) OKAY [ 0.961s]
Writing 'recovery' FAILED (remote: 'partition length get error')
fastboot: error: Command failed
Click to expand...
Click to collapse
Wrong command
fastboot flash recovery_ramdisk RECOVERY_RAMDISK-ANE-8.0.img
iflash all u send .my device is trying to boot now but its just shows the huawei logo and then again it say the device is unlocked warning
After a lot of bootloops it gave me an option to download latest recovery and firmware so i am downloading it ... You are the best !
Null.

Categories

Resources