yashsingh1/xdaforums huggingface dataset:
[G4 General] ReeS86:
This is a good point - [MENTION=8181513]bob11233[/MENTION] does your camera work on LP right after you have flashed a KDZ file (i.e. before rooting?) If your camera is having these issues on a clean flash of stock LP then the issue is not due to a mismatch of original KDZ and different rooted system image. If the camera issue is only after you have rooted by flashing a rooted system image then please let us know exactly which KDZ and rooted system image you have used.
[G4 General] bob11233:
Thanks for the reply! The camera focusing issue happens already before I flash the rooted system image. The camera turns on and everything works fine but when I tap to focus the phone seems to think its adjusting the focus but nothing happens in reality, also going into manual mode or using any other third party camera app doesn't fix the problem. I tried flashing H81210G, N, O and H, and all give me the same problem on stock LP. My S/N starts with 609, any chance it may be that the newer models are incompatible with LP? I certainly hope not :(. Any help would be great appreciated, thanks so much!
[G4 General] sdembiske:
One thing has become clear from my reading, copying the stock camera app apk over to phones where this issue has arisen, has not proven to be successful in overcoming/correcting the problem for those members that have tried to solve it. According to my search of specific camera related files on my own H812 there are well over 90 related camera files/associations/modules etc., not including associated interconnected functions. A little like searching for a needle in a haystack.

The camera function is one on the most complicated processes in Android. One can check out the following link: https://source.android.com/devices/camera/ and see the different categories

On the left one can check out on the menu all the subcategories under the Camera heading. Focusing seems to be intimately related to the Hardware Abstraction Layer (HAL).

It may be too much to hope that it is another module issue (as with the exFAT issue), but checking that out might be a starting point.
[G4 General] fegitoli:
Is it possible to have Genesys UX working on our variant? It's been done on the H818P which is still bl locked, so I see no reason why it hasn't been done on our variant.
[G4 General] අධිරාජ (Adhirāja):
Ok guys, so I flashed the Stock 5.1 H81210n_00_1204.kdz image to downgrade from Android 6, and I noticed lot of the stock LG apps are missing, like the Quick Remote. How can I restore these?
[G4 General] sdembiske:
In a file explorer check if you have 'App Updates': /system/priv-app/LGApplicationManager/LGApplicationManager.apk

If you have it, you should be able to restore/re-install any missing LG apps, provided you have not frozen it. If it's there, go to Settings > General > About phone > Update Center and enter. *

*

Note

:

Make sure

'Software Update': /system/priv-app/LGDMSClient/LGDMSClient.apk is frozen first before starting the download/install of the LG apps, otherwise you risk it trying to upgrade you back up to 6.0 at the same time which will likely lead to a brick by doing this way.
[G4 General] අධිරාජ (Adhirāja):
What I ended up doing was factory reset the phone. Then while I was setting it up, there was an option to recover those stock LG apps.

So now that I have downgraded, I can root. When I flash the rooted image, do I select 'Refurbish' or 'Upgrade'?

Also can you kindly tell me the difference between E, G, N, O versions? Does it make a difference which one I flash(I have the 10n 5.1 rom now)

Thanks for all your support.
[G4 General] sdembiske:
You will have to follow Step 3 in Root ANY LG G4 Variant 100% Success Directives | Root Injection | Less Bricks at https://xdaforums.com/g4/general/lg-g4-100-root-success-directives-root-t3180586 to install the pre-rooted system image. Do not use LGUP-NEW for this process. It's only to upgrade or downgrade stock roms.

The later the letter version is in the alphabet, the newer the version - i.e., o being the latest most update-to-date version vs the e, g, n versions etc.

Note

: The Thanks button is there for a reason at the bottom right of a reply post. As a courtesy to XDA members, please learn to use it when you're helped. It let's other members know that you too have been helped by the particular member.
[G4 General] අධිරාජ (Adhirāja):
Ok thanks, so I can't go about just flashing the rooted kdz, I have to do the root injection?

I was under the impression you can just flash the H81210O kdz ... correct me if I'm mistaken please
[G4 General] BIG_BADASS:
Ya buddy .. U can just flash the h81210o file .. gorget what sdembiske said.. he is overcomplicating everything. There is no need to redo the root injection... thats just reinventing the wheel.

You have the already rooted images there... just flash them using LGUP.
[G4 General] ReeS86:
The rooted images are not complete KDZ rom files. They are an IMG file containing only the system partition image. They are just the result of some members who have injected root themselves then shared the resulting system image for all to use. So you have to copy it to internal storage on your phone, boot into download mode and follow the guide as member sdembiske has directed to flash it.
[G4 General] sdembiske:
LG G4 H812 - VoLTE Revelations:

In Hidden Menu: enter on Phone Dial Pad *#546368#*812# or, if on Fido, try: 277634#*#

Field Test > IMS Setting > Debug Screen > VoLTE Debug Screen – 2nd line:

Note

: VoLTE: Disable( - )

i.e., In other words, even though you have in Settings > Networks > Call, VoLTE set to on and have bought your LG G4 H812 from Roger’s/Fido and an LTE capable SIM card from them, YOU DO NOT HAVE VoLTE. It is simply not activated nor has an update been put through on their network or an update provided to enable it on your phone. The LG G6 has VoLTE support on Roger's/Fido, the LG G5 and LG V20 do not. You can check all this out at https://www.rogers.com/web/totes/wireless/#/choose-phone for Roger’s phones and https://www.fido.ca/nac/#/choose-phone for Fido phones - choose select for the model and look under Technical Specifications > Connectivity.

Bottom Line

: Any pundit on this thread that tells you that you can have VoLTE by installing the Roger’s/Fido kdz or pre-rooted system image, doesn’t know what they are talking about. If the person tells you to sell your H812 in order to buy the H815 (International version) or an H811 so that you can have VoLTE on your Canadian carrier network, that person simply doesn’t know what they are talking about (if the phone was not bought from your specific Canadian carrier, it will not be eligible and they will most likely not register your IMEI on their network in the event that VoLTE might eventually be enabled for the LG G4). My research of Canadian carriers to-date, suggests none of the Canadian carriers have incorporated VoLTE for the LG G4, period.

I will stand corrected if you can prove this not to be the case.

At best, you will be able to have WIFI Calling on Android 6.0 with the latest update for that rom on the LG G4 – but, no ability to root (currently at this posting time - refer to steadfasterX's thread: https://xdaforums.com/g4/general/bl-unlock-unlock-bootloader-proof-t3648288 and search for the H812 - it is coming !!! ).
[G4 General] sdembiske:
Breaking News:

Senior Member steadfasterX has announced the first proof of a successful unofficial bootloader unlock of an H812.

Excerpt:

Give pioneer tester SePhIrOtX and steadfasterX your Thanks for this breakthrough.

If you are interested, please head over to [BL UNLOCK][LS991|H81x|VS986|any nonFused] *Unlock your bootloader PoC* (WIP!!) at https://xdaforums.com/g4/general/bl-unlock-unlock-bootloader-proof-t3648288

Read the OP carefully and be fully aware of the risks and limitations.
[G4 General] DoughMucker:
So it appears LG has a root checker tool that consumes resources on our G4s: https://www.xda-developers.com/lg-root-checker-tool-slow-performance/ It's running on my H812. My linuxfu isn't excellent, but I plan to take a look at this next weekend and see if I can modify the image I use.

Hopefully the bootloader unlock (and custom roms) come soon. :)
[G4 General] ReeS86:
Hey [MENTION=8249555]SePhIrOtX[/MENTION] since you have unlocked the bootloader of your H812 have you tried to use the FM radio? Not sure the exact method used for the unlock but I understand the Sprint version of the G4 has working FM radio. This is one thing I am missing from stupid canadian carriers.
[G4 General] අධිරාජ (Adhirāja):
Hi Guys,

Quick question regarding Autoprime's post '[ROOT] TMO/VZW/ATT/SPRINT/INTL Root your LG G4 with Low Effort Root!' (https://xdaforums.com/showpost.php?p=62028523&postcount=2) about the dd command to flash the rootedsystem.img file.

The command is as follows:

dd if=/data/media/0/rootedsystem.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0

Now my question is, I didn't save the rootedsystem.img file within the /data/media/0/ folder, I saved it in /sdcard/ instead. So according to my understanding, I must change the 'if' parameter as follows:

if=/sdcard/rootedsystem.img

And the 'of' parameter remains the same?

Thanks guys, I just want to make sure from someone who has already done the process on the same phone. :)
[G4 General] sdembiske:
The pre-rooted system image should be placed in internal storage, not on the external SD card with the command used as it is. Keep a copy of the pre-rooted system image on your PC, then you can delete the pre-rooted system image from internal storage once you have installed it with the command.
[G4 General] අධිරාජ (Adhirāja):
I don't have an SD card in the phone, but there is still a folder called /sdcard/ which shows up...

So, am I good to go?
[G4 General] sdembiske:
When you connect your phone to your PC with a USB cord, it should open to the Internal Storage folder on your phone. If you copied the pre-rooted system image from your PC and pasted into that folder, you should be good to go. The SD card folder that you are seeing, is part of android's internal storage. Use the command with no modification.
[G4 General] අධිරාජ (Adhirāja):
In my case, /data/media/0 does not correspond to the internal storage where I copy the files to from my PC... I asked the same question in that thread, and they told me you have to modify the file paths to make it point to your file..

Ok sdembiske, Im trusting you on this one.. im going tobuse the default command without modifications as follows:

dd if=/data/media/0/rootedsystem.img bs=8192 seek=65536 count=548352 of=/dev/block/mmcblk0
[G4 General] sdembiske:
When you have installed the pre-rooted system image and updated the SuperSU app (Play Store will let you know an update is available - probably at least 2 updates will be required), install a good File Manager (I prefer X-plore, free from Play Store, and look in root > /data/media/0 - you will most likely see your pre-rooted system image there - that is

Internal

Storage.

Reminder

:

Note: The Thanks button is there for a reason at the bottom right of a reply post. As a courtesy to XDA members, please learn to use it when you're helped. It let's other members know that you too have been helped by the particular member.
[G4 General] අධිරාජ (Adhirāja):
Ok so I put the phone in download mode and used the dd command, but I'm sure something's not right. First of all, a few minutes into it, I get the # prompt again in the cmd window while running Send_Command.exe, second of all, the Firmware Update screen on the phone still shows 'Do not unplug the USB connection until the process is complete', and the process is still at 0%..

Please help, shall I unplug the cable and reboot the phone manually Or does the phone reboot itself once it's complete?

Ok I went ahead and unbplugged it...

Yes it worked!!!! THANKS!!!!

I had to reboot the phone by taking out the battery. Then while it was starting, I got a message "Android is upgrading, optimizing apps ...",

I updated SuperSU, installed busybox, and now am going to install a bash shell and xposed. Then I'll install TWRP and a custom rom.
[G4 General] අධිරාජ (Adhirāja):
Sdembiske, thanks all your help bro. I greatly appreciate. Don't know what I'd do without it.
[G4 General] sdembiske:
Did you double click on the port.bat file first in LG_root folder first and get the correct com port from the DIAG1 line and enter it in the Send_Command.exe line?

Did you copy the command to flash for the H812 or did you type it in? Better to copy and paste it in to avoid errors.

Normally when you get the # sign after a bit of time, the process has completed and you would type LEAVE. If the # sign comes up very quickly, it normally indicates the process didn't take.

Don't worry about the 0% on the Firmware Update screen, it won't show any progress, even if successful.

Type LEAVE if you haven't and see if the phone reboots. Otherwise, don't worry - pull the USB cord, pull the battery and re-insert it and power it up again. If, when it is booted up, you are asked to update SuperSU it was successful. If not, go through the process again, making sure you do not have any errors in what you type/paste in and make sure after the # sign comes up, you type LEAVE.
[G4 General] අධිරාජ (Adhirāja):
Yes bro, for me ports.bat told DIAG1 corresponds to COM3...

Then I entered the send-command mode by typing:

Send_Command.exe \\.\COM3

I copied and pasted the dd command then. It took a few minutes, then the # prompt came up.

I tried the 'leave' command, both in lower-case and upper-case, but I got nothing..

So I went ahead and disconnected the USB cord, removed the battery, put it back in, booted the phone.

I updated the SuperSU app from the Google Play, and also when I opened it, it started to install binaries, gave me two methods "Normal", and "TWRP", I selected Normal method and it installed fine.

BTW I just installed a bash shell from here(https://play.google.com/store/apps/details?id=com.bitcubate.android.bash.installer&hl=en)

So now I'm going to install TWRP, xposed, and custom rom.

Thank you for everything, all the best to you.
[G4 General] sdembiske:
You're welcome.

HOWEVER

, do not try to install a custom rom - you will hard brick your phone as your bootloader is locked still.

You can do a lot with TWRP-in-FiSH and with Xposed and all but a very few custom roms, IMO, are not worth it with the bugs they have, things that don't work and a failure of the developer to keep the rom updated. Don't get me wrong, there are some good ones.

If you are hell bent on having a custom rom, check out steadfasterX's thread: [BL UNLOCK][LS991|H81x|VS986|any nonFused] *Unlock your bootloader PoC* (WIP!!) at https://xdaforums.com/g4/...proof-t3648288

See my post #1471

Read the OP carefully and be fully aware of the risks and limitations.
[G4 General] අධිරාජ (Adhirāja):
So instead of installing TWRP, I have to install TWRP-in-FISH because my bootloader is still locked. So if I go forth with the [BL UNLOCK][LS991|H81x|VS986|any nonFused] *Unlock your bootloader PoC* (WIP!!) method, can I install TWRP itself?
[G4 General] sdembiske:
Yes, you have to install TWRP-in-FiSH (https://xdaforums.com/g4/development/locked-twrpinfish-locked-g4-devices-t3573048) to avoid a hard brick. In steadfasterX's unlock process you can install TWRP but it is a special method. Read through the OP on his thread

carefully

and go through all the posts.

If you want to proceed, let steadfasterX know in a short post, that you are available and willing to go through the process with your H812. He will ask you to come over to the IRC channel ... to proceed.
[G4 General] අධිරාජ (Adhirāja):
Hey guys,

I installed this app called SElinuxModeChanger, it is to change the SElinux mode from ENFORCING to PERMISSIVE. The app runs at startup. This won't brick, right?
[G4 General] sdembiske:
There should be no need to install this - you particularly do not want to have selinux set to permissive on boot permanently as you will be opening yourself to a lot of vulnerabilities/exploitations. If an app requires root permission and is constructed properly, there is no need to have selinux set to permanently permissive on boot.

Use the following commands (entered separately) in adb to, for example, install TWRP-in-Fish.

adb shell

su

setenforce 0

getenforce

It should show as permissive from the getenforce command. Once, TWRP-in-Fish, for example, is installed, it will reset to enforcing (setenforce 1). If any app that requires root permission doesn't do this, avoid it.
[G4 General] අධිරාජ (Adhirāja):
There's some networking tools that need PCAP and they don't work unless you change the SELinux mode...

Will the setenforce and getenforce accomplish the same thing?
[G4 General] sdembiske:
setenforce sets the permission: 0=permissive 1=enforcing

getenforce tell you what it is now set to.

You can do this in the Terminal Emulator app (free on Play Store), when you're rooted and want temporary access for your networking tools.

.

Just type in the following (enter each command separately):

su

setenforce 0 or setenforce 1

and confirm with: getenforce
[G4 General] evanwier:
Can anyone tell me, can I flash Lineage Official on my Canadian G4 - H812, if so, should I use the H811, or H815 version of the ROM? This is for use on Rogers network.

Thank you anyone who helps!
[G4 General] mwahahaa:
The answer is no, but the bootloader may soon be unlocked for the G4 by steadfaster, which will allow flashing. I'm not sure which if any ROMs are compatible with the H812 though, as no development on this variant has been possible to this point.
[G4 General] evanwier:
Appreciate all the info - bit of a shame. Phone is for my mom and she is used to the stock android experience, and struggles with change lol. I will just have to make do with launcher changes and do what I can to make it the same.
[G4 General] sdembiske:
Refer to my post #1471

steadfaster X has managed already to unlock an H812. Refer to the links in the post and let him know in a post on the referenced relevant thread. Read the OP carefully and be fully aware of the risks and limitations.

He has a working Lineage version that others have installed successfully.
[G4 General] glenrocks:
Hi H812 LG G4 variant:

Problem: I am using unlocked H812 (used all kind of varaints- including rooted img and non-rooted kdz, rogers and non-rogers, LL and MM) in US and having problem setting up this specific device for handshake with AT&T service and having Out of Service drops. I have played around with APN files but calls still drop, somehow data randomly works. Is it just the BL configuration by canadian carriers or change in build.prop or erase modems ( I did read this but have not been able to fastboot erase modemst1/2 ) or am I missing something? Before I give up on this G4, I would appreciate the "Help" here.

** I thought LG world would open up, instead Bootloaders are still locked. What a shame!
[G4 General] hey_joe:
Don't know if you guys already know that the H12 can already be bootloader unlocked. Check here and thank steadfasterX.
[G4 General] sudesingh:
I have an unlocked LG G4 H812 which I'm using on Freedom Mobile. I don't know the original provider for the phone. The software version is H81220x. Currently running Android 6.

Can I update to Android 7 Nougat, and if so, can someone please give me a link to the software.

Thanks
[G4 General] spartan268:
I was just reading over that. Not sure who's the mystery tester for the H812 is (ReeS?). But thank you for being the tester whoever it is. Despite this phone being fairly ****ty and quirky it breathes new life into it and I see no reason in getting rid of it :) def saving me some money here

No. There is no nougat available for our G4s yet.
[G4 General] DoughMucker:
It's no mystery. It was me (possibly others too)

Speak for yourself. [emoji16] Hopefully soon it will be available for all.
[G4 General] spartan268:
I must have missed your name. Sorry about that. Thanks for biting the bullet for everyone.

Any issues noted so far? I read just recently someone H818 is basically a goner cause it blew a fuse after using UsU.
[G4 General] glenrocks:
Modem Issue with 812 (using H/N-Rogers img files) and now SD Card does not mount

1) Is there a suggested Image to use for H812 phone for US AT&T service to fix my Modem problem (assuming its software issue) ??

2) Suddenly SD Card on H812 stopped mounting.. how to fix that as phone SD Mount option is disabled, any hidden menu code I can use to activate SD Card presence to the system??

3) I would definitely like to be part of steadfast thread but only if I understand how to. (moreover I think its still in Test mode, right?) If I can be part of that group, I will for sure after I sort this Modem and SD Card issue.

Thanks in advance for the help. Please do guide me what I am doing wrong based on your valuable past experience.
[G4 General] DoughMucker:
Trying out AOSCP Oreo right now. Everything is working... Voice, data, WiFi, Bluetooth, GPS, autorotation, camera... All good. Video camera isn't working for me.

I'm having one issue that may just be my PC or something, but I can no longer connect to my PC while in Download Mode. I've tried everything I could to fix and steadfasterX is on vacation now so it will have to wait. Even with that, I'm ecstatic over the unlock.

Edit: the issue with Download Mode was fixed. :)
[G4 General] glenrocks:
How to be a tester as long as I understand the process steps

Not sure how many here have used G4 H812 roaming with US GSM carriers but is this weird Modem issue common?

how to know who was the original carrier of my G4 H812 ?? from hardware IC id??
[G4 General] spartan268:
Suggested image? Nothing to my knowledge. Is AT&T a CDMA carrier? Cause if I recall correctly a different modem is required to get that going. But I never had issues with roaming before. I would try the newest image available for your G4 on lollipop.

And for the steadfast thing. Just wait 'til he's back from vacation. He's currently unavailable so don't expect a quick reply, you could ask another tester for info but I would wait for the most stable of releases before trying anything :)

Well good to hear everything is working amazingly so far :D everything you're saying is music to my ears. Hopefully the download mode thing isn't a side effect but even then it doesn't seem like a huge deal unless if it's needed for flashing business I guess.
[G4 General] ReeS86:
If your SD card is formatted exFAT than that may be the issue. There is an issue where you will lose exFAT support with a mismatch system ROM / kernel if you are on lollipop Rogers ROM and used rooted system image from this thread on 10n firmware. Is this the case you are in?
[G4 General] DoughMucker:
steadfasterX says he should be able to resolve it. But I'll have to wait until after his vacation. Even if it can't be fixed, I'm happy with how Oreo is running. Oreo!
[G4 General] glenrocks:
AT&T is fully GSM, also TMobile.

I tried both 10H/N (unroot to root img path- images on first post here) and 20j/20z (for unrooted kdz using LGUP new- reads phone info consistently).

Did use & recommend SALT (by steadTEAM) on VM Box under Windows 10 platform

Let me see if Erasing modemst1/2 does the trick as mentioned in lot of forum posts.

---------- Post added at 04:48 PM ---------- Previous post was at 04:42 PM ----------

External SD Card was mounting and YES, when I took Rogers ROM path, something went missing. Any advice?? Should I flash non-Rogers ROM?

Regards!
[G4 General] ReeS86:
You need to copy some files from your original non-rooted system image and place them on your phone after rooting. They are kernel modules that don't load as they are not compatible with the kernel you have installed. I can post more details when I get home I need to dig out the details and provide the right files.
[G4 General] glenrocks:
That certainly will be helpful. Rgrds!