[G3 Android Development] topet2k12001:
Lollipop Update for D858HK

Hello,

Owner of a D858HK here. :) As far as your questions:

1. Before Lollipop became available for D858HK, latest firmware version was 10F (Kitkat). It came as an OTA as well as a full KDZ file, shared by fellow members.

2. Correct: up to now there is no way to directly root version 10F (Kitkat) if you install the full KDZ firmware.

3. What D858HK users can do is the "downgrade->stump->update via OTA" method: downgrade to a lower firmware version that can be rooted (10D - Kitkat ) and then root it via Stump, then they can update via OTA to version 10F and still keep root.

4. I created a video tutorial for it, by the way. :)

5. I was also able to find a newer version of TWRP (version 2.8.4.0) that is for the D858HK. I have "bumped" it and shared it as well in the D858HK thread.

6. I also "bumped" the boot.img.

7. D858HK Lollipop full KDZ firmware (c/o XDA user Patybello): http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW73J3VF22BNAMNB4C996GZ/D858HK20c_00.kdz

Now that we have Lollipop for D858HK, some users already tried updating via OTA. Unfortunately they lost "root" status. That is why I am interested to try your procedure and I plan to record it on video so that others may use it as a guide, if I will be able to successfully do this.

Before I do that, I have a question for you sir, from your post highlighted in red in Post #1 of this thread: http://xdaforums.com/showpost.php?p=56650179&postcount=59

1. What did you mean? Extract the Lollipop firmware to get system.img, modem.img, and boot.img and then "bump" the boot.img? And then use the three of them to flash the device?

2. Your procedure makes mention of blocking OTA updates from running or initiating. Is it a required procedure? I asked because for the D858HK, we are able to block/disable automatic updates by just unchecking a box in the "Software Update" section of Settings.

Thanks in advance. :)

UPDATE:

Hi autoprime,

1. When I was on Kitkat (10F firmware), I "bumped" its boot.img. I had root and "bumped" TWRP 2.8.4.0.

2. For following your procedure (specifically to update to Lollipop), I need to "bump" its boot.img, which I did.

As per your procedure:

...does your procedure assume that the Kitkat boot.img should be fully stock (not "bumped") prior? Because after flashing (Lollipop system, "bumped" Lollipop boot, Lollipop modem), when I rebooted I saw some white text message at the upper left of the booting screen. Something like "certificate verify" error (?) message. I am not sure if my Kitkat boot.img being "bumped" caused it.

If it does not matter, then I could perhaps conclude that the procedure cannot work with D858HK (unfortunately). Hopefully I committed a user-error when following your instructions as this gives hope that we can root the D858HK on Lollipop.

SECOND UPDATE: so I did an experiment...

1. Reflashed/downgraded the device to full stock, firmware version 10D (Kitkat). Success.

2. Rooted via Stump and installed "bumped" TWRP. Success.

3. Did not "bump" the boot.img of 10D (Kitkat). Left it as-is/stock.

4. Extracted (again) the Lollipop system.img, Lollipop modem.img, and Lollipop boot.img.

5. Also did step 4 for firmware version 10F (Kitkat).

6. "Bumped" the Lollipop boot.img as well as the 10F (Kitkat) boot.img.

7. Copied both sets of extracted system.img, modem.img, and "bumped" boot.img (organized them into separate folders).

8. Booted into "bumped" TWRP.

8. Flashed Lollipop system.img, modem.img, and "bumped" boot.img.

9. Tapped on "Reboot" in TWRP. Received notification that SU needs to be installed/enabled. Accepted the option.

10. Rebooted successfully, but showed white-text error message at the top left ("certification verify" message). Stuck in LG G3 logo.

11. Rebooted the device into TWRP again.

12. Repeated the procedure, but this time used the 10F (Kitkat) system.img, modem.img, and "bumped" boot.img.

13. Tapped on "Reboot" in TWRP. Received notification that SU needs to be installed/enabled. Accepted the option.

14. Rebooted successfully. No error messages. Was able to go into Android and fully use the device. With Root fully working, "bumped" boot.img (10F Kitkat) working, and "bumped" TWRP working.

Conclusion:

Procedure works for Kitkat firmwares (for example, updating from version 10D to 10F firmware). Based on my experiment, procedure did not work on Lollipop firmware (in fairness, a lot of members already mentioned about increased/changed way of securing the firmware). This is the D858HK. Results may differ on other LG G3 variants.

...is there any other way? I want to believe I just missed a step in the procedure.

Help Needed:

At this point, may I ask: since there is a tool for extracting a KDZ firmware, is there a procedure that I can follow in order to "pre-root" the Lollipop firmware of the D858HK? This will be much appreciated.