Working on a G4 H815 5.0.1 un-rooted how can I pull its imei using adb or fastboot getvar ?
tried:
Code:
getprop gsm.baseband.imei
dumpsys iphonesubinfo
gsm.imei
ril.imei
ro.gsm.imei
but I get no output
using
Code:
adb shell services call iphonesubinfo 1
I get a long HEX and the imei but I dont know how to parse it using Batch commands
also on htc devices I know there is
Code:
fastboot getvar imei
but its not working on lg maybe there is an alternative ?
Hi,
I know you are asking the question about through ADB or Fastboot but you are aware you can get the IMEI number through the Settings, General, About phone, Status section?
Regards,
Ravi
Yes I know that, I just want to know how to do it programmaticly
Actually this is important to know because my locked bootloader LG G4 H815 is bricked. I need to unlock its bootloader (to flash TWRP custom recovery) but the unlocking procedure requires to enter the IMEI number.
My phone goes in to Download mode. So any one who can answer the question asked in the OP.
Update: I guess IMEI would also be written under the battery as well. I don't have the phone right now. Will check it out first.
rizkhan999 said:
Actually this is important to know because my locked bootloader LG G4 H815 is bricked. I need to unlock its bootloader (to flash TWRP custom recovery) but the unlocking procedure requires to enter the IMEI number.
My phone goes in to Download mode. So any one who can answer the question asked in the OP.
Update: I guess IMEI would also be written under the battery as well. I don't have the phone right now. Will check it out first.
Click to expand...
Click to collapse
hey man, please did you manage to find a solution about geting phone info with fastbook, i have a bricked phone with non removable battery
zzmoubarek said:
hey man, please did you manage to find a solution about geting phone info with fastbook, i have a bricked phone with non removable battery
Click to expand...
Click to collapse
No i didnt because i did not need to. So left the try.
zzmoubarek said:
hey man, please did you manage to find a solution about geting phone info with fastbook, i have a bricked phone with non removable battery
Click to expand...
Click to collapse
Hold vol up+vol down+power, all three buttons, until display turns on and shows IMEI. Since you have non-removable battery, I guess you don't have LG G4, but you can try this method, it works on G4...
Sent from my ZTE Axon 7 using Tapatalk
Related
Hi,
I am confused regarding my LG G4 model number.
Because Under About Phone -> Hardware Info it shows LG-H815.
But when I connect it to pc & using adb devices, adb lists it as LGLS991e484402e.
Also LS991 0423 is printed on back of the phone near camera & speaker.
But under the battery the sticker with IMEI displays LG-H815 !
What is the model number ?
I need to find it in order to update it.
Are you checking for compatibility with a rom? If so, H815 is the number you're looking for.
OmnipotentPilot said:
Are you checking for compatibility with a rom? If so, H815 is the number you're looking for.
Click to expand...
Click to collapse
I want to upgrade / root my LG G4 to marshmallow so i am confused which firmware do I use ? apart from it can I sideload OTA ? my current software version is H81510h
OmnipotentPilot said:
Are you checking for compatibility with a rom? If so, H815 is the number you're looking for.
Click to expand...
Click to collapse
& Is it possible to run H811510h on LS991 model ? or is it possible to change LS991 model number with H815 ?
vishvesh098 said:
& Is it possible to run H811510h on LS991 model ? or is it possible to change LS991 model number with H815 ?
Click to expand...
Click to collapse
Don't worry about the LS991 number. H815 is the version of your phone, the G4 international.
vishvesh098 said:
I want to upgrade / root my LG G4 to marshmallow so i am confused which firmware do I use ? apart from it can I sideload OTA ? my current software version is H81510h
Click to expand...
Click to collapse
How are you planning on updating? Flashing a rom from xda-developers? If you're not sure, I'd recommend something like imperium rom, which is based on stock and has much the same behavior but is rooted with more options. Just make sure to download the one for H815. Of course, you'll need to have an unlocked bootloader and custom recovery before you can do this. Do you have custom recovery already?
OmnipotentPilot said:
Don't worry about the LS991 number. H815 is the version of your phone, the G4 international.
How are you planning on updating? Flashing a rom from xda-developers? If you're not sure, I'd recommend something like imperium rom, which is based on stock and has much the same behavior but is rooted with more options. Just make sure to download the one for H815. Of course, you'll need to have an unlocked bootloader and custom recovery before you can do this. Do you have custom recovery already?
Click to expand...
Click to collapse
Is there any way to install custom recovery without Download mode (& of course without root !) ? Because there is one more problem ! I cant get into download mode. If I use Vol up+ & insert usb cable then I get "Secure boot error 1014" & if i use adb reboot-bootloader or reboot bootloader phone restarts normally. Also fastboot mode is not working. Fastboot devices either do nothing or waiting for device ! USB debugging & OEM unlock is on.
vishvesh098 said:
Is there any way to install custom recovery without Download mode (& of course without root !) ? Because there is one more problem ! I cant get into download mode. If I use Vol up+ & insert usb cable then I get "Secure boot error 1014" & if i use adb reboot-bootloader or reboot bootloader phone restarts normally. Also fastboot mode is not working. Fastboot devices either do nothing or waiting for device ! USB debugging & OEM unlock is on.
Click to expand...
Click to collapse
The only method we have for our phones at this point is to use Download mode.... have you done some research on that error? Google or the forum search tool?
OmnipotentPilot said:
The only method we have for our phones at this point is to use Download mode.... have you done some research on that error? Google or the forum search tool?
Click to expand...
Click to collapse
Yes I have searched for that & some related errors. But almost all of them says that it is because of locked bootloader & to unlock the bootloader I need to enter fastboot mode (Not working as of now) also I have tried many drivers mentioned in the posts (LG universal, LG WHQL etc), LG Bridge, LG PC suit, LG flash tool, LG mobile support tool etc & Also tried the same things on Windows 7.
I don't really know much about fastboot problems, you'll have to look elsewhere for help. Sounds like that's your next step, though. Look for people who can help you get fastboot/download mode working.
OmnipotentPilot said:
I don't really know much about fastboot problems, you'll have to look elsewhere for help. Sounds like that's your next step, though. Look for people who can help you get fastboot/download mode working.
Click to expand...
Click to collapse
Yes I am currently working on fastboot mode.
Hi Vishesh,
Were you able to rectify the problem and and update the phone ? I am facing the same problem with my g4 H815
So basically, I have a Verizon note 4 with permanent root. I bought it second hand and it came with permanent root, but the problem is that I have no idea if it has an unlocked bootloader or not . It doesn't have any custom recovery on it aswell. But then it gets me to question how the heck did it get a Permanent ROOT without getting an unlocked bootloader. Oh and i also don't get shown a verizon logo when i reboot my device, only a samsung logo. And i live in South Asia btw, and can run a local
sim with 3g on it no problem as well....
Also worth mentioning is that on "About Device" in "Settings", it says SM-910F...but when i go to fastboot mode, it says SM-910V, and when i connect it to computer, it also says verizon model. Anyways, the real problem is finding out if my phone has bootloader or not. (READ BELOW ASWELL)
Any suggestions plez
PS: I tried to put a code in the dialer, something like *#*#7432XXXX*#*# (tried a lot of diff. codes in dialers aswell). PLUS, I also tried finding if i had an unlocked bootloader from adb and fast boot where u put this command in; "fastboot oem device-info" something like that, but I cant get "fastboot devices" to work (it doesn't give any result even with proper usb drivers and while in fastboot menu from phone) :crying: plez halp me....
MajorMcNugget said:
So basically, I have a Verizon note 4 with permanent root. I bought it second hand and it came with permanent root, but the problem is that I have no idea if it has an unlocked bootloader or not . It doesn't have any custom recovery on it aswell. But then it gets me to question how the heck did it get a Permanent ROOT without getting an unlocked bootloader. Oh and i also don't get shown a verizon logo when i reboot my device, only a samsung logo. And i live in South Asia btw, and can run a local
sim with 3g on it no problem as well....
Also worth mentioning is that on "About Device" in "Settings", it says SM-910F...but when i go to fastboot mode, it says SM-910V, and when i connect it to computer, it also says verizon model. Anyways, the real problem is finding out if my phone has bootloader or not. (READ BELOW ASWELL)
Any suggestions plez
PS: I tried to put a code in the dialer, something like *#*#7432XXXX*#*# (tried a lot of diff. codes in dialers aswell). PLUS, I also tried finding if i had an unlocked bootloader from adb and fast boot where u put this command in; "fastboot oem device-info" something like that, but I cant get "fastboot devices" to work (it doesn't give any result even with proper usb drivers and while in fastboot menu from phone) :crying: plez halp me....
Click to expand...
Click to collapse
Put it into download mode and see if it says, mode: Developer. If it does your bootloader is unlocked
dhplap said:
Put it into download mode and see if it says, mode: Developer. If it does your bootloader is unlocked
Click to expand...
Click to collapse
Well it doesn't say so ... sadly.
Anyways, I'm still wondering how the heck did someone install permanent root without unlocking this Verizon??? Like you have to do temporary root and then you unlock bootloader, and then you do perm root... how does one bypass that?
It is stuck on a screen with the battery. I can get to bootloader mode but cannot get into recovery. Bootloader is locked... Please help
Basically I had the bootloader unlocked and it was rooted. I unrooted the phone and then I locked the bootloader and I am here now. Just wanted to make it go back to stock.
Is it a carrier model or a play store
https://forum.xda-developers.com/pixel-xl/how-to/psa-read-ca-bootloader-t3494615
This.
chapelfreak said:
Is it a carrier model or a play store
Click to expand...
Click to collapse
Google store
ASimpleSock said:
https://forum.xda-developers.com/pixel-xl/how-to/psa-read-ca-bootloader-t3494615
This.
Click to expand...
Click to collapse
I see the thread but it doesnt seem like theres a fix in it
tryfont said:
I see the thread but it doesnt seem like theres a fix in it
Click to expand...
Click to collapse
There probably isn't, if you've altered system and relock and toggle OEM unlocking off in dev. options you get bricked.
tryfont said:
It is stuck on a screen with the battery. I can get to bootloader mode but cannot get into recovery. Bootloader is locked... Please help
Basically I had the bootloader unlocked and it was rooted. I unrooted the phone and then I locked the bootloader and I am here now. Just wanted to make it go back to stock.
Click to expand...
Click to collapse
Did you try:
fastboot flashing unlock
Since you only relocked, you unlikely toggled "OEM unlock"?!
If it fails, I think you are SOL. Maybe someone with a proper solution will chime in. Otherwise, you have to RMA your device...
Good luck...
5.1 said:
Did you try:
fastboot flashing unlock
Since you only relocked, you unlikely toggled "OEM unlock"?!
If it fails, I think you are SOL. Maybe someone with a proper solution will chime in. Otherwise, you have to RMA your device...
Good luck...
Click to expand...
Click to collapse
It just says waiting for device and hangs there... I don't think it recognizes the phone
EDIT: IT WORKED!!!!!
It wouldnt recognize it and I ran fastboot continue and it just hanged there but I went into the bootloader mode and for like a quarter of a second it recognized it and forced it to boot
tryfont said:
It just says waiting for device and hangs there... I don't think it recognizes the phone
Click to expand...
Click to collapse
Open device manager in windows. Plug your phone and see how is your phone recognized.?!
5.1 said:
Open device manager in windows. Plug your phone and see how is your phone recognized.?!
Click to expand...
Click to collapse
Im on mac but its good now I edited my comment above. Only question is how to I completely clean the OS so I can relock bootloader without running into the same problem
This is whats happening to me- https://goo.gl/photos/2kv9Xo3HM3Mqn8AQ9
tryfont said:
Im on mac but its good now I edited my comment above. Only question is how to I completely clean the OS so I can relock bootloader without running into the same problem
Click to expand...
Click to collapse
Hey... Go into recovery and perform a factory reset.
Reboot bootloader and flash stock firmware. You could flash both slots to be sure your device is completely clean.
I wrote a how-to for someone having another issue. You.can follow this:
https://forum.xda-developers.com/showpost.php?p=71849370&postcount=28
When you are finished with flashing, reboot to be sure your system boot properly and your phone works as it should...
From here you can reboot into bootloader and issue:
fastboot flashing lock
If It was me I'd leave it unlocked though... Or at least OEM unlock enabled and ADB debugging ON. Since Google tend to release messed up OTA, you can always unlock the bootloader if needed.
But if you wish you can also disable the OEM unlock.
Good luck...
5.1 said:
Hey... Go into recovery and perform a factory reset.
Reboot bootloader and flash stock firmware. You could flash both slots to be sure your device is completely clean.
I wrote a how-to for someone having another issue. You.can follow this:
https://forum.xda-developers.com/showpost.php?p=71849370&postcount=28
When you are finished with flashing, reboot to be sure your system boot properly and your phone works as it should...
From here you can reboot into bootloader and issue:
fastboot flashing lock
If It was me I'd leave it unlocked though... Or at least OEM unlock enabled and ADB debugging ON. Since Google tend to release messed up OTA, you can always unlock the bootloader if needed.
But if you wish you can also disable the OEM unlock.
Good luck...
Click to expand...
Click to collapse
I'm pretty inexperienced with this kind of stuff and so you might have to explain it a bit further than what that link says. I did fastboot reboot bootloader in terminal but it can't find my device. Also I couldnt get into recovery when it was bricked so I probably still can't
tryfont said:
I'm pretty inexperienced with this kind of stuff and so you might have to explain it a bit further than what that link says. I did fastboot reboot bootloader in terminal but it can't find my device
Click to expand...
Click to collapse
Hey...
You boot into bootloader when the Device is powered off
Just like in your video: with power + volume down
You can see infos regarding:
Bootloader
Radio
S/N
DRAM
Boot-slot=
Etc...
This is the bootloader :good:
From here, unzip the google image you have downloaded, open the folder and from here run the flash-all script. Let your device reboot. Power it down, boot into bootloader again with power + volume down. Change active slot as I described in the link I gave you previously. Run the same flash-all again... Done!
Just for safety, remove your Google account before you continue. You'll add it again later...
Good luck...
5.1 said:
Hey...
You boot into bootloader when the Device is powered off
Just like in your video: with power + volume down
You can see infos regarding:
Bootloader
Radio
S/N
DRAM
Boot-slot=
Etc...
This is the bootloader :good:
From here, unzip the google image you have downloaded, open the folder and from here run the flash-all script. Let your device reboot. Power it down, boot into bootloader again with power + volume down. Change active slot as I described in the link I gave you previously. Run the same flash-all again... Done!
Just for safety, remove your Google account before you continue. You'll add it again later...
Good luck...
Click to expand...
Click to collapse
Alright thank you so much its doing the flashing right now. I really appreciate you helping...I was worried I'd have to get a replacement through google. Have a great day lad
tryfont said:
Alright thank you so much its doing the flashing right now. I really appreciate you helping...I was worried I'd have to get a replacement through google. Have a great day lad
Click to expand...
Click to collapse
Hey... Flash both slots... Just to be sure both are clean and nothing problematic​ remains on your device before locking your bootloader!
It could brick installing an OTA or whatever. Better restart 100% clean. :good:
Cheers...
Just flash the flash-all, relock and call it a day. Then you'll be fully stock and locked. I would however recommend rebooting once before locking to make sure its all good.
tryfont said:
It is stuck on a screen with the battery. I can get to bootloader mode but cannot get into recovery. Bootloader is locked... Please help
Basically I had the bootloader unlocked and it was rooted. I unrooted the phone and then I locked the bootloader and I am here now. Just wanted to make it go back to stock.
Click to expand...
Click to collapse
Hey man I have the same problem you can try calling Google support they can send you a replacement if you still have a warranty
my warranty has expired so I'm on my own
Hello guys I have H815 and I can't proceed with unlocking bootloader cause my phone cannot boot into bootloader/fastboot mode. I'm not newbie, but with this phone everything goes ****ing different than in instruction.
I the instruction there is adb reboot bootloader. Of course my phone is seen in adb mode but after this command it just reboot to system. I tried also key combinations with no luck...
What to do?
My system is android 6
remialfa said:
Hello guys I have H815 and I can't proceed with unlocking bootloader cause my phone cannot boot into bootloader/fastboot mode. I'm not newbie, but with this phone everything goes ****ing different than in instruction.
I the instruction there is adb reboot bootloader. Of course my phone is seen in adb mode but after this command it just reboot to system. I tried also key combinations with no luck...
What to do?
My system is android 6
Click to expand...
Click to collapse
Hi,
I'm the same...
looking for solution I found this on Youtube:
Pratically, you have to press vol up while connect USB on PC....
I haven't the G4 with my today and so I cannot test if this is a valid mode...
If you do this, let me know if you can enter in fastboot mode
auceto63 said:
Hi,
I'm the same...
looking for solution I found this on Youtube:
Pratically, you have to press vol up while connect USB on PC....
I haven't the G4 with my today and so I cannot test if this is a valid mode...
If you do this, let me know if you can enter in fastboot mode
Click to expand...
Click to collapse
I did that and yeah it entered this mode but it's not valid bootloader/fastboot mode. It's some service mode to update firmware. Anyway it's not visible in pc as a normal fastboot and I cannot proceed further with unlocking bootloader...
Edit: it's download mode... So as I said it's not fastboot mode.
Anyone can help?
Seriously nobody? I thought this phone has good community and support...
I'm facing the exact same problem with my H810 on 6.0. Sick of not being able to root atleast.
Seriously hasn't anyone on earth found a way to boot this **** in fastboot? I mean there are a number of tutorials but everything goes different as F*** with this thing. Hope someone will update with good news. :fingers-crossed::fingers-crossed:
charith262 said:
I'm facing the exact same problem with my H810 on 6.0. Sick of not being able to root atleast.
Seriously hasn't anyone on earth found a way to boot this **** in fastboot? I mean there are a number of tutorials but everything goes different as F*** with this thing. Hope someone will update with good news. :fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
You can check out UsU. That is an unofficial bootloader unlock
ThePiGuy said:
You can check out UsU. That is an unofficial bootloader unlock
Click to expand...
Click to collapse
Thanks yeah I checked but that's for ARB<=2 devices. I forgot to mention earlier this godforsaken thing is ARB3.
I have an H811 (T-Mo) running firmware H81120p, ARB3. Doesn't seem to be much that can be done with it as far as rooting. It also has no stock recovery, only boots to system.
you did follow this official guide right? it unlocked mine after a few angry moments
http://developer.lge.com/resource/mobile/RetrieveBootloader.dev
use minimal ADB https://forum.xda-developers.com/showthread.php?t=2317790
Only way to boot twrp later is to use fastboot with ADB, recovery with buttons doesn't work.
if the device wont boot a rom use adb to get back in recovery.
if you use bank apps, install magisk before installing rom, do not get SU
samadee3 said:
you did follow this official guide right? it unlocked mine after a few angry moments
http://developer.lge.com/resource/mobile/RetrieveBootloader.dev
use minimal ADB https://forum.xda-developers.com/showthread.php?t=2317790
Only way to boot twrp later is to use fastboot with ADB, recovery with buttons doesn't work.
if the device wont boot a rom use adb to get back in recovery.
Click to expand...
Click to collapse
Only problem is that the info linked to above applies to ONE G4 variant only - the H815 international model. The rest of us are SOL. The bootloader on US carrier G4 - AT&T, T-Mo, VzW, etc (most later firmware revisions for G3 as well) models has been nailed down. The only exception is a G4 with ARB <= 2 can be hacked with UsU in order to root it and install a custom recovery.
SofaSpud said:
Only problem is that the info linked to above applies to ONE G4 variant only - the H815 international model. The rest of us are SOL. The bootloader on US carrier G4 - AT&T, T-Mo, VzW, etc (most later firmware revisions for G3 as well) models has been nailed down. The only exception is a G4 with ARB <= 2 can be hacked with UsU in order to root it and install a custom recovery.
Click to expand...
Click to collapse
Tmo is very easy
Go to dev options and enable adb
Then run "adb reboot bootloader"
Once there, run "fastboot oem unlock" and voila, you have an officially unlocked bootloader with no restrictions related to UsU
Please be aware the above will factory reset your device
ThePiGuy said:
Tmo is very easy
Go to dev options and enable adb
Then run "adb reboot bootloader"
Once there, run "fastboot oem unlock" and voila, you have an officially unlocked bootloader with no restrictions related to UsU
Please be aware the above will factory reset your device
Click to expand...
Click to collapse
Do you know anyone who has done it with H81120o or later? I've seen posts for two yrs about doing it that way, but I don't remember reading about it being done on 20o or later.
Sent from my SAMSUNG-SM-G935A using Tapatalk
SofaSpud said:
Do you know anyone who has done it with H81120o or later? I've seen posts for two yrs about doing it that way, but I don't remember reading about it being done on 20o or later.
Click to expand...
Click to collapse
Why v20o
Remember, this has nothing to do with UsU and therefore ARB etc doesn't matter
Edit: ps there are loads of H811 users in my Lineage thread and the other ROMs too
ThePiGuy said:
Why v20o
Remember, this has nothing to do with UsU and therefore ARB etc doesn't matter
Edit: ps there are loads of H811 users in my Lineage thread and the other ROMs too
Click to expand...
Click to collapse
Got it. Guess that it makes sense. ARB prevents rolling back to earlier release than 20o, I'm ok. Will try the BL unlock today then.
Sent from my SAMSUNG-SM-G935A using Tapatalk
I actually managed to get my LG V20 F800L into same situation after messing up my rooting process.
First i was stuck at logo and factory reset did nothing. Bootloader was working then.
Then i downloaded new firmware through "Download Mode", and after that i lost access to bootloader.
I know the phone model is different, but process seems to be very similar for all LG devices.
Trying to troubleshoot that atm, if i'll have results i'll post them here.
P.S. I know original poster long left (probably after throwing phone into a grinder), but maybe for someone with same problem as us in the future the info will be useful.
Florimer said:
I actually managed to get my LG V20 F800L into same situation after messing up my rooting process.
First i was stuck at logo and factory reset did nothing. Bootloader was working then.
Then i downloaded new firmware through "Download Mode", and after that i lost access to bootloader.
I know the phone model is different, but process seems to be very similar for all LG devices.
Trying to troubleshoot that atm, if i'll have results i'll post them here.
P.S. I know original poster long left (probably after throwing phone into a grinder), but maybe for someone with same problem as us in the future the info will be useful.
Click to expand...
Click to collapse
Ok, now i have to reply to my own post, since i believe i understand now something important:
LG phones usually dont have bootloader open to access. Until you use some exploits to do so.
I did not know that at the time of writing that reply.
Florimer said:
Ok, now i have to reply to my own post, since i believe i understand now something important:
LG phones usually dont have bootloader open to access. Until you use some exploits to do so.
I did not know that at the time of writing that reply.
Click to expand...
Click to collapse
Do you have more details about this? I seem to be in a similar situation than you and I'm struggling to make it work.
Hey guys, i received my OP9 Pro today and wanted to update it, then unlock the bootloader
Now i have blackscreen only. When i press Vol+ and Power, i get to the point where the warning with the orange text comes (So the bootloader is unlocked), but then it goes black again
The command "Adb Devices" Shows me my device, but in unauthorized state
Any Advice?
Sconny said:
Hey guys, i received my OP9 Pro today and wanted to update it, then unlock the bootloader
Now i have blackscreen only. When i press Vol+ and Power, i get to the point where the warning with the orange text comes (So the bootloader is unlocked), but then it goes black again
Any Advice?
Click to expand...
Click to collapse
Keep holding it down continuously until you get somewhere, even during the black screen. No idea. Just something to try. Good luck.
bulletbling said:
Keep holding it down continuously until you get somewhere, even during the black screen. No idea. Just something to try. Good luck.
Click to expand...
Click to collapse
That did not work. But Thanks!
Somehow i came into the fastboot mode. I think it worked because i pressed no button after the screen flashed for a millisecond. Then i locked the bootloader again, rebooted into bootloader, typed " fastboot flashing unlock" and that command worked perfectly fine. Weird but it worked
Just used the tool all in one to unlock the bootloader
Check here, had a similar issue with the Bootloader.
https://forum.xda-developers.com/t/...pletely-new-opo9pro-after-oem-unlock.4255497/
mario1634 said:
Just used the tool all in one to unlock the bootloader
Click to expand...
Click to collapse
Where can I find this tool?
MurphSAN84 said:
Where can I find this tool?
Click to expand...
Click to collapse
[TOOL][OP7P] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)
This is the OnePlus 7 Pro's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread TOOL ALL IN ONE ADVANCED OPTIONS FUNCTIONS Install Drivers Install Drivers Unlock Bootloader Lock Bootloader (use carefully)...
forum.xda-developers.com
Cool it works on 9pro