[G3 Android Development] topet2k12001:
Solved! Root, Properly Bumped boot.img, and Bumped TWRP - D858HK

Thanks for the inputs [MENTION=2684188]autoprime[/MENTION]. :)

That was my intuition as well and your response helped me to confirm and formalize my findings/experiment. It was intentional (deductive reasoning) that I flashed the Lollipop (version 20C) "aboot.img". Much appreciated.

Indeed, I tried to reflash the Kitkat (version 10F - I extracted it using the same procedure) "aboot.img" and it restored my "bumped" TWRP functionality...but of course again, I wasn't able to boot fully to Android. I got stuck again at that "certificate verify" error booting screen.

Yup, unfortunately even if I flashed a "bumped" boot.img on a Kitkat aboot.img, I got the "certificate verify" error. This confirms your statement that "bump" is not patching properly.

So as of this point, what I have accomplished is just rooting at the expense of losing/not being able to install a custom recovery ("bumped" TWRP). Not ideal, but still a big leap for D858HK users, I would say, and considering all those were the efforts of a regular user (non-developer).

Which leads me to ask some questions:

1. What is "open bump"? Is that different from (this "bump" thread)?

2. This is how I "bump" all my boot.img files (Kitkat version boot.img and Lollipop version boot.img) and custom recovery .img files (e.g. TWRP) - click me! <--is this the "open bump" that you are referring to? Or is it also "bump"? I used this method because unfortunately, I am already late in the game of owning an LG G3...by the time I came across "bump" the online "bumping" service no longer exists.

I would like to learn how to do this, sir. I am comfortable in using Linux and the Terminal/Command Line, if that helps. I know how to do basic patching of files as a Linux user and create simple ".sh" scripts (not sure if this level of knowledge will be helpful).

Or if not, may I request help in properly patching the "boot.img" of D858HK Lollipop (version 20C)? I am not sure if different LG G3 variants have different "boot.img" files. The only difference I see in the D858HK is that it is dual-SIM, all specs are the same. In fact, whenever I plug my device to a PC while in TWRP, the PC reads it as a D855 variant.

Or...any kind soul who is willing to properly "bump" the boot.img of D858HK Lollipop (version 20C), please? I uploaded the boot.img, aboot.img, and "bumped" boot.img that I did (D858HK Lollipop, version 20C) here - click me!

UPDATE: Issue resolved!!! The LG G3 D858HK is now certified for Root, Bump'd boot.img, and Bump'd TWRP in Lollipop (version 20C)!!!

Hi [MENTION=2684188]autoprime[/MENTION],

As you mentioned, I needed to find a way to properly patch ("bump") the boot.img of D858HK Lollipop (version 20C), and apparently I accidentally found a way!

How?

The "Oversharpening Fix" Script/Mod by [MENTION=2174433]Skin1980[/MENTION] includes the process of properly bumping a Lollipop-based boot.img!

To document my findings (continuing from our recent posts and conversation):

1. While in Android, reflashed the Kitkat version (10F) aboot.img (ABOOT.IMG, and not boot.img!). You can get this by extracting a Kitkat KDZ using the KDZ/TOT Extraction tool (see first post of [MENTION=2684188]autoprime[/MENTION] in this thread to know where to get it). You will flash it via manual/Terminal method while booted in Android (in short, the "dd if=blah blah blah" command).

2. While still in Android, reflashed my "bumped" TWRP 2.8.4.0 custom recovery via manual/Terminal method (I bumped it using this procedure).

3. Make sure that you have a "bumped" Lollipop boot.img (BOOT.IMG!!!) saved to your Internal Storage. You may "bump" it using the link mentioned in Step 2 (I don't know if I had to "bump" it or not, but just to document, my Lollipop boot.img is "bumped"). You will use it in the later steps.

4. Make sure that you have a copy of the "Oversharpening Fix" Script/Mod saved to your Internal Storage as well. You will need it in the later steps.

5. Powered off the device.

AT THIS POINT, DO NOT BOOT TO THE ANDROID SYSTEM! YOU WILL JUST GET THE "CERTIFICATE VERIFY" ERROR BECAUSE WE REFLASHED THE KITKAT ABOOT.IMG, AND THE LOLLIPOP BOOT.IMG IS NOT YET BUMPED! SO, THE SYSTEM WILL "COMPLAIN" BECAUSE THEY ARE "NOT MATCHING" (THEY ARE NOT THE "SAME VERSION"). JUST BOOT TO TWRP FIRST!

6. Powered on the device to TWRP (press/hold volume down and power, then quick release and then press/hold again, then choosing "Yes" on both options that appeared)

7. Flash the Lollipop "bumped" boot.img (BOOT.IMG!!!) that you saved to your device as per Step 3. TWRP 2.8.4.0 has a feature to flash ".img" files. Go to "Install" and then you will see somewhere at the lower right portion of the screen an option to flash either a "Zip" or an "Image". Just toggle that button and you will see your "bumped" boot.img listed. DON'T REBOOT THE DEVICE AT THIS POINT YET!

8. Flashed the "Oversharpening Fix" Script/Mod. You may need to toggle the option at the lower-right again from "Image" to "Zip" (since we just flashed the "bumped" boot.img) in order to see your listed installable zips.

9. Choose your desired oversharpening level.

10. At the end of the procedure, the script/mod will "bump" your Lollipop boot.img. You don't have to do anything; the script/mod will automatically do it for you.

11. Reboot To Android System!

EDIT: Apologies if my posts seem to be off-topic and long-winded, but I in my opinion they are not off-topic and are necessary. This is because I was trying to solve the issue of keeping root and "bump'd" via the procedure outlined by [MENTION=2684188]autoprime[/MENTION]. I believe it is important that I document the mistakes, learnings, and findings because although I have the D858HK, this information may work for other LG G3 variants as well. :)

[IMG="Oversharpening Script/Mod will "bump" your boot.img"]http://dl-1.va.us.xda-developers.com/3/1/9/6/1/6/7/IMG_20150306_050907.jpg?key=MDoxs5tgAM5g9C0SDtN1pQ&ts=1425590566[/IMG]

UPDATE (03.08.2015): here is the documentation. Click me! Video tutorial is not yet finished but will try tomorrow as I'm already sleepy...