yashsingh1/xdaforums huggingface dataset:
[G3 General] stainmaker:
Sounds good.

Regarding the notification; yes, more explicit would be nice.

In all truthfulness I did not read the vast majority of this thread (since there is a lot of it) so did not see others were having similar problems.

I just read through your post and the most recent ones to see what issues people were having with the current version as I assumed any earlier bugs would likely be fixed.

If it's common that some variants don't reboot automatically into download mode, perhaps put a note about this in your original post or more explanation in the pop up notification to the effect of:

"If you experience problems with your device not automatically rebooting into Download mode, I have built in a 60sec delay in the script after dismissing this dialogue to give you ample time to reboot into Download mode manually" ?
[G3 General] topet2k12001:
Hi [MENTION=6816402]stainmaker[/MENTION],

Sure thing. :) Understandable, I myself would have difficulty reading through the entire thread.

For sure I'll add something. I'm all for newbie-friendliness (I always try my best to make the process as non-technical as possible, as well as how I explain things). I appreciate your suggestions. :) Or maybe I'll keep it at 30 seconds, and then there will be a notification that will prompt the user to manually reboot to Download Mode (and I'll add your suggestion from there). Well...actually since it's already in the "DOS box", separated from ImageprepGUI itself, Download Mode will just continue to wait until it detects the device again. But I'll test to be sure...great inputs!
[G3 General] joeosf:
please help. I ran the root part of imageprep. When the phone was restarted to install twrp, it was just hanging at the lg boot screen, but wouldn't boot to android os. I have been waiting for more than 15 minutes and no change. What do I do?

I can't even enter download mode by holding the vol up button and sticking in a usb cable, all that happens is it goes to the boot screen and then switches off and starts charging
[G3 General] bakes5981:
I've been on KK for about a year now coz I don't want to lose root. Rooted it with stump root. I think, after installing TWRP with this, I am more confident now to move to Lollipop! Thanks for this, topet!

Question:

Can I update to lollipop OTA and then regain root, twrp with this method?
[G3 General] KrAzYtHeBoY:
Root method (direct or traditional) not work on D855 EUROPE using V20F Lollipop. In cmd windows read "Reboot Download Mode" and not rebooting... failed root.

YEAHHHHHHHHHH THANKS YOU IMAGEPREP v2.6 flashing TWRP!!!! use 4 or 5 other methods and failure secure boot!

thanks you bro
[G3 General] BoogWeed:
Hey,

Windows defender is identifying this as: Trojan:Win32/Pocyx.F!plock

http://www.microsoft.com/security/p...ojan:Win32/Pocyx.F!plock&ThreatID=-2147272694
[G3 General] StevetotheH:
Not to offend but only those that are half retarded use windows defender or any other Antivirus for that matter. By the time a program finds a new virus it is already too late, the virus has done it's work. Needless to say, this is not a virus. Turn that garbage off and go for it. Then after its done, you can turn it back on if you must.
[G3 General] BoogWeed:
I've already used the program weeks ago. I just noticed it today in the quarantined files list.

I'm sure it a false positive, just pointing it out.
[G3 General] topet2k12001:
Hi Friends,

@BoogWeed: I use Windows Defender too. :) But it's not detected as a virus (not even a "false positive"). I'm currently on Windows 10 64-bit.

This is actually the first time someone has ever reported ImagePrep to be detected as a virus (even a "false positive" at that). Strange, because I have never published any updates after version 2.6 (I am working on a version 2.7 but my progress is slow due to work in the office), and version 2.6 has been out for quite some time.

@StevetotheH: I'm with you; I don't use any anti-virus really...but my son uses the PC too and you know...kids and games. :) I use Linux more than Windows as well; I just had to use Windows as my target user for coming up with ImagePrep would be those who are comfortable with MS Windows.
[G3 General] BoogWeed:
Hey topet2k,

I didn't mean anything by it. Your tool was immensly helpful and was literally the ONLY tool that worked in rooting my phone and installing TWRP. Thanks a lot for creating it. I only wanted to point out something that I noticed... Screenshot here.

Note that it detected the installer and not the installed program itself. I'm also on Windows10 x64.
[G3 General] topet2k12001:
Hi @BoogWeed,

Oh no, no offense taken. I am just as careful as you are, and I always try my best to listen to feedback.

I saw the screenshot; thanks for reporting it. In that case, it could indeed be a "false positive" (anti-virus software falsely reporting the file as positive of a virus infection). ImagePrep is merely a GUI (graphical user interface) version of the original root procedure that was shared by @Unjustified Dev (which was initially automated by @avicohh by turning it into a "batch script" a.k.a. ".bat" file).

The installer is a .zip file so maybe that could be the reason, but I still find it strange. Anyway, I have just recently updated to Windows 10 and haven't worked on ImagePrep for quite some time (due to work). I'll try and see if I get the same result. If I do, then I can really conclude that it's a "false positive" (I wouldn't create a program to inflict a virus to my own computer, would I? :))

I appreciate your feedback as well on how ImagePrep worked for you. :) Please share your LG G3 model/variant (D855, D850, etc.) and the Android firmware version (Lollipop 20H, 20D, etc.) for my record-keeping purposes and for monitoring as well. At least it encourages me to know that it still works...some have reported that it doesn't and it's tough to really investigate when all the feedback I receive is "it doesn't work". :)
[G3 General] GUZGUN:
Where did you find a bumped lollipop boot.img?
[G3 General] topet2k12001:
Hi [MENTION=6491130]smirdex1[/MENTION],

Um...I already answered your question. And that was the exact same post (with the exact same words) that you used previously. I also asked you some questions in my response; please check it.
[G3 General] topet2k12001:
Alternative Way To Get "Bump'd" Lollipop boot.img

Hi @GUZGUN,

Good question. :)

If you can't find a "bump'd" Lollipop, boot.img, I have an alternative. I just updated my how-to guide (for the "No Downgrade" Approach) - Post #41.
[G3 General] GUZGUN:
If i understand correct i can use the aboot.img of kitkat as bump'd lollipop boot.img?
[G3 General] topet2k12001:
The Logic Behind It All

Hi @GUZGUN,

No. :) In the guide, you will flash aboot.img as aboot.img (you will flash it to the "ABOOT" partition of the device)...and you will flash the Lollipop version boot.img as boot.img (you will flash it to the "BOOT" partition of the device).

So here's the logic behind (disclaimer to the experts - this is a very "layman's" description for easy understanding):

The current method of "bumping" (a.k.a. "patching" or "signing") image files was created during "Kitkat" days. Meaning, when you "bump" an image file (boot.img or recovery.img), you are "signing" it with a "Kitkat version" signature.

The image file: aboot.img is actually the "Android Bootloader". It seems that this is the one that "checks" for a matching "signature" of the boot.img.

So in the "No Downgrade" approach of rooting, you are starting the entire procedure with a fully flashed Android Lollipop. All components of the OS are "Lollipop version", including the "Android Bootloader" (the aboot.img). In short, if you used the "No Downgrade" approach, your device contains an aboot.img file that bears a "Lollipop version" signature.

Therefore, even if you do find a "bump'd" Lollipop version boot.img (or even if you know how to), your device won't boot to Android. You will get an error message at the LG "Life's Good" booting screen at the top-left portion that says something like "certificate verify". This explains all those threads and posts from our fellow XDA members.

The solution: flash a "Kitkat version" aboot.img. This way, the signature of a "bump'd" Lollipop version boot.img will match that of aboot.img. Check! The aboot.img will "open the gate" so that you can now enter into Android.
[G3 General] leos0000:
Can u upload for please bro ... This is boot all file from d852g please.. So sorry im new.. Help me please thanks so much
[G3 General] GUZGUN:
thank you for your help and one more last question to avoid any damage of my phone because i'm not so good as you :

According to your guide ,

first flash the boot.img that i exctracted from the official lollipop V20h

second flash the bump'd TWRP

third flash the aboot.img that i extracted from the official kitkat V10l

am i correct? Can i flash all of them with flashify?

Sorry for all of these questions.
[G3 General] leos0000:
Guys please upload boot.img aboot.img from D852G PLEASE... IM NEW .. Just one time help me with this is stuff to upload .here my imei
[G3 General] topet2k12001:
Responses 03.12.2015

Hi @leos0000,

I'm sorry but I do not own all LG G3 device variants. I only own a D858HK. You can read this thread and ask the member who has a D852.

Please DO NOT UPLOAD YOUR IMEI. It's for your security.

Hi @GUZGUN,

What "approach" are you going to take? "Kitkat Downgrade" approach or "No Downgrade" approach? What is your LG G3 variant? D855, I assume?

For the safety and security of XDA members, I would rather advise them to read and follow the entire process to the tee (a.k.a. follow it step-by-step).

first flash the boot.img that i exctracted from the official lollipop V20h <--if you have it "bump'd" already, yes. If you don't, then you are just going to back it up as per the guide. Either way, you will need to back it up as per the guide. You need to do it via Terminal commands.

second flash the bump'd TWRP<--yes. And you will need to back it up first as per the guide. You need to do it via Terminal commands.

third flash the aboot.img that i extracted from the official kitkat V10l <--yes. And you will need to back it up first as per the guide. You need to do it via Terminal commands.

There is a fourth step (in the event that you don't have a "bump'd" Lollipop version boot.img)<--flash the "Sharpening Script Mod".

Everything else is laid out in the guide, step-by-step.

The boot.img and recovery.img (TWRP) can be flashed using Flashify. But the aboot.img cannot. Also, I still STRONGLY RECOMMEND to use the Terminal method, because my guide includes Terminal commands that will ensure you have a backup of your current Lollipop version boot.img, recovery.img, and aboot.img.
[G3 General] GUZGUN:
I have a D855 and i'm interesting for the "No Downgrade" approach.
[G3 General] topet2k12001:
Please Refer to the Guide

Hi [MENTION=4794809]GUZGUN[/MENTION],

Alright. My previous responses pretty much covers it. BUT...please make sure to open that guide/how-to and follow the instructions to the letter. It's painful to see complications arising from not following instructions, hope you understand.
[G3 General] GUZGUN:
i found on XDA Sharpening Mod Script v.3.5. What is it exactly doing? Or i can download a bump'd stock rom and extract the boot.img. right?
[G3 General] Sipi1302:
Sharpening Mod is used to make text more sharper and for boot.img I also used from custom ANHD rom but didn't try to boot in clean rom. After doing all steps for rooting and TWRP I reboted in TWRP and restored my backup rom without rebooting to system. I needed my phone so didn't have time to try is it booting OK. After restore backup my phone is working fine.

So for me everything is worked fine although I did it all in a bit hurry.
[G3 General] topet2k12001:
Hi @GUZGUN,

Apparently, the LG G3's image is "too sharp" to the point where some users find it uncomfortable to read text due to the "ghosting" effect as a result of the too-sharp display. Users wanted to be able to adjust the LG G3's display sharpness to their liking, so @Skin1980 created this script. You flash this through TWRP and there will be like a "setup wizard" that allows you to set your desired level of sharpness.

In addition, this same script will "bump" your boot.img.

So if you use this, you won't need to extract a "bump'd" boot.img from somewhere else. :)
[G3 General] skinkt:
Im having a problem rooting doing the no downgrade method on a stock 5.0 LG G3 d855. I get to the point where I have to put this command "adb push busybox /data/local/tmp/" but then its stuck aparently doing nothing for minutes. It has the intermitent underscore like its working, but nothing. Any ideas?
[G3 General] topet2k12001:
Hi @skinkt,

In my case, I merely followed the guide step-by-step and I got it. There are two versions of the "No Downgrade" approach; not sure which one I followed. Also as much as possible I would suggest copy-pasting the commands instead of typing them manually (helps reduce the possibility of typographical errors).

EDIT: shouldn't it be "adb.exe" and not just "adb"? Also, are you in the correct "directory" when you issued the command (I believe you have to be in the directory where adb.exe is located, when issuing the command).
[G3 General] skinkt:
Yes, I tried with both guides and it got stuck at the same point. Using adb or adb.exe doesnt seem to make a difference. Do you suggest I try to downgrade to kitkat and root from there or maybe it'll be the same?
[G3 General] topet2k12001:
You may try the downgrade approach. It has less involvement with using the Command Line.
[G3 General] skinkt:
finally got it working, switched usb ports and it worked lol. I have a doubt about how to install twrp. I have my rooted 5.0 lolipop lg g3 d855, but you say I need a kitkat aboot.img. How do I get that file if Im already at Lolipop? and the bumpd lp boot.img?
[G3 General] GUZGUN:
how can i find a kitkat aboot.img? Because the files aboot that i exctracted from kitkat kdz is aboot.bin.
[G3 General] danzel:
v20e

How do we install this small patch? Thanks!
[G3 General] gelroyliao:
Hi, can someone post the kdz file for v20e, please. Thank you!
[G3 General] topet2k12001:
Hi @danzel,

You mean the 20e firmware? How do you want it applied to your device - via OTA or via a full "reflash" (like "reformat")? Note that rooted devices typically won't allow you to install an OTA (although it will allow you to download it fully). I have personally tried and it failed. Either you "un-root" your device, or go for "full reflash". There are lots of tutorials here in XDA for "full reflash" (also called "revert to stock" or "back to stock").

Hi @gelroyliao,

There's lots of websites that post firmwares (Google search). Here's an example of a website: http://lg-phone-firmware.com/firmware-Lg+G3-Tutti-41.html

Note: 6KG = 16GB version, HKG = 32GB version. Make sure to download the correct one for your device!
[G3 General] gelroyliao:
I have a problem with my COM port, I have tried everything I can but still detects on the wrong port com6 and should be on com41 and it doesn't even follow the exact script of it like rebooting and etc.. :( help
[G3 General] topet2k12001:
Hi @gelroyliao,

So you are saying that you know that your LG G3

should be

connected to COM41 on your PC? How did you know/say that COM41

should be

the correct port? :)

I think you may be confusing the "reflashing (back to stock) procedure (TOT method)" with the process of Imageprep. While the tutorial for reflashing (for TOT method) mentions for you to manually set the COM port to COM41, Imageprep does not require for the device to be detected as being connected to COM41.

Actually, whenever you connect a device to your computer, the computer will be the one to automatically assign a COM port. Imageprep tries to capture the COM port that the computer assigns to your LG G3 and it uses that information to continue with the process. And this procedure is the exact same thing with the other rooting scripts for LG G3 available here in XDA (after all, most if not all of the subsequent rooting scripts were based on the same original manual procedure).

This means that something else is causing your problem. Can you tell me exactly what happens when you said "it doesn't even follow the exact script of it..."?

Things to check:

1. Since you mentioned that you are expecting COM41...are you trying to reflash your LG G3 to Kitkat? Usually, Lollipop firmwares are in KDZ format and no longer TOT, plus flashing of a KDZ file uses a different tool for reflashing (and this tool does not require you to manually set the port to COM41 - check the "back to stock" tutorial - I have provided the link in this response, above).

2. Have you installed the LG G3 drivers?

3. Have you plugged your device to your computer at least once (must enable Developer Options beforehand!) and when you plugged it the first time, did you notice a pop-up message box on your device where you have to "authorize" something (and did you "accept" it)?

4. What is your Windows Operating System? Windows 7, 8, 10? Is it 32-bit or 64-bit (although I don't think 32-bit or 64-bit should matter...I created Imageprep in 32-bit and I'm using it in 64-bit without issues).

5. If you are using a desktop computer, which USB port are you connecting the device to? Are you connecting it to a USB port that comes out from the motherboard itself (the back of the computer), or are you connecting it from the front of the computer?

6. Are you able to record your screen or at least post screenshots so that I can better see the problem?
[G3 General] gelroyliao:
Sorry for the late reply.

I flash my v20e update using kdz format using LGFlashTool2014.

Things to check:

1. Nope. I'm now on Lollipop 5.0.1 v20e all stock

2. Yes, I have installed LG Drivers.

3. Yes, I have accepted the developer settings that popped up on my LG G3 when I connect it to my pc.

4. I'm using Windows 7 Ultimate Edtion 64bit.

5. I always connect my USB cable at the back of my pc where it is directly connected to the motherboard.

6. [/URL]

[/IMG] - this pops up before DOS command prompt runs.

I'll post a video as soon as I'm done uploading it. Thank you so much.
[G3 General] topet2k12001:
Hi [MENTION=5296411]gelroyliao[/MENTION],

Thanks for the answers and the screenshots.

The sceond pop-up message box (the one one your second screenshot) is NOT an error message. It is by design - basically it is a visual confirmation that the corresponding DOS command worked properly.

Please note:

1. Imageprep, as well as the other one-click rooting scripts that you can find here (Link 1, Link 2, and Link 3) are merely either GUI or automated versions based off this original/manual process. So if you are having problems with any of the available one-click or GUI versions, you can try the manual process. I highly suggest reading the original/manual process and then try (specifically) running "ports.bat" and let me know what COM Port number will appear. If the original/manual process will also show COM 6 (same as Imageprep or the other one-click/automated rooting scripts) then the problem lies elsewhere.

2. The process in Link 3 is a little different in implementation as far as rooting, specifically, but that's something that end-users won't see or rather, wouldn't be expected to understand. The implementation in Link 3 was borne out of the situation where newer firmware versions can't be rooted via the original/manual process. Imageprep version 2.6 already has both implementations of rooting available and you will notice that in the selection/options (the start portion of the GUI) - "Script" method (based off the original/manual process) or "Direct" Method (based off the back-end implementation of rooting in Link 3). This does not automatically answer your problem though. I'm just mentioning this as an FYI (for other end-users as well). I'll wait for your video so that I can visualize where you are having the problem.

At the very first page (first post) of this thread, there is a link to a downloadable video that I made to demonstrate how to use Imageprep. You can download a copy so that you have something to follow/compare with what you have actually done.
[G3 General] gelroyliao:
I finally found the reason why this com port pops up! I got my Bluestack running in background and the reason that not only my LG G3 is detected by imageprep but also bluestacks (andriod phone like app). Now everything is green and successfully rooted and bump TWRP. THANK YOU SO MUCH MR. TOPET for all your support, effort and help and most especially explaining it detail by detail. Keep up the great work man! Godspeed!
[G3 General] topet2k12001:
Very good. :)
[G3 General] RealRedHair:
Hello!

Question on: LG L90

Have a LG L90 and I'm trying to find out how to use custom ROM. L90 is running Lollipop. As far as I could find on different threats it is not easy. Now I found this thread for G3. Maybe it works also for L90.

1,2 and 3 are easy.

4 can be found at http://opensource.lge.com/osSch/list?types=NAME&search=d410

5 can be found at http://xdaforums.com/lg-l90/development/recovery-twrp2-7-1-0lgl90w7xxshoxx-t2826150

So now the question is if the procedure will work for L90.

Who can confirm it is working (not only root but also custom recovery and unlock bootloader):D:D
[G3 General] topet2k12001:
Hi @RealRedHair,

Unfortunately I cannot promise that Imageprep will work for LG phones other than the LG G3 because that's the only unit I have.

However, the link to the thread (LG One-Click Root) I have provided in my previous response (named as "Link 1") advertises that the procedure works for the LG L90 as well. Although as mentioned also in my previous response, Imageprep (as well as Link 1, Link 2, and Link 3) are all based off the same manual/original process.

So long as you can acquire a Kitkat firmware you should be good.

Note: for Item #4, you don't necessarily have to download the entire Open Source Code. There are various websites that already have download links to the full firmware (Lollipop, Kitkat) in KDZ format. There is another utility (KDZ/TOT Extractor Tool) that can extract only the files you need. The tool is also available here in XDA (just Google "KDZ/TOT Extractor Tool XDA"). Similarly, I have embedded that tool into Imageprep.

Please feel free to try any of the available methods. That's the good thing about forums/communities - you always have options. :)

EDIT: for custom recovery and bootloader unlock, please search here in XDA. I have found some threads that might interest you: http://xdaforums.com/lg-l90/general/guide-guide-to-unlocking-bootloader-l90-t2852917 and http://xdaforums.com/lg-l90/general/guide-unlock-bootloader-flash-custom-t2839690
[G3 General] phamoen:
I used this method to root and install twrp. It all seemed to go well and after the last step it booted into twrp. But after I did a factory reset and rebooted the phone just flasheh blue and green.... It is really stuck in that mode. I can see the LG logo but it doesn't go past it.

Booting normally or into recovery with the volume down button has the same result... Any idea anybody???

Edit: Got into recovery by using the 'hard reset' option. power & volume down, release and hold again...

Will reflash a custom rom now... Will keep updating.

Edit2: Flashing a new rom appeared succesfull. The thing is now that I can't seem to get into recovery any other way......
[G3 General] topet2k12001:
Hi [MENTION=325793]phamoen[/MENTION],

...but this is the official way of getting into recovery, is it not? That's how I reboot to recovery too.
[G3 General] RealRedHair:
Thanks for your long reply. I'm still not convinced to start the proces. I hoped that there would be somebody who confirm your tool works with LG L90.

You are right to say that some other threads (link 1-3) claim their process works for L90 also; so that would give some confidence that it should work with your tool as well.

I do not understand why you mention the last threads behind EDIT. I thought your tool would also include installation of custom recovery and bootloader unlock. So why should I see the other threads (some of them are older and based on KK). Please advice/explain.