yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] WTF?:
download LG-H81520G-Flashable.COMPLETE.zip to sdcard/download folder

download version 2.67 of SuperSU from the link in the instructions to sdcard/download folder

boot into TWRP (recovery)

Use TWRP to wipe dalvick cache, as well as cache partition, and system partition and boot partition - do NOT wipe internal memory card or external memory card or recovery partition or data partition

the immediately use install mode on TWRP to install LG-H81520G-Flashable.COMPLETE.zip

then immediately use install mode on TWRP to install version 2.67 of SuperSU from download above

reboot or power down phone, if TWRP asks if you want to install SuperSU or if you want to root phone, say no

be patient, it takes a few minutes to sort everything out on first boot
[G4 Android Development] kadirpasa:
By doing this it reverted back to lg operating system. I reinstalled cm13 but the camera still does not focus
[G4 Android Development] WTF?:
Yes CM13 is buggy, as has been the case with every version of CM since the first version.

That's why I and a lot of other intelligent folks have moved away from CM to a debloated and optimized version of stock, which is what this thread is about.

My camera works flawlessly! :cowboy:
[G4 Android Development] kadirpasa:
Would you say this is the best debloated version? Or what would be your recommendation
[G4 Android Development] WTF?:
Yes - this is the best ROM in the world for a LG G4, but you still need to do additional optimization, tweaks, debloating after it is installed

The first things I do, is use BuildProp Editor app to change DPI pitch to 538, and sideload AdAway, and install Naptime and GPS Status and Root Explorer and Quick Boot and Link2SD (for freezing any LG or Google system apps I don't want) and a few other apps to further optimize.
[G4 Android Development] kadirpasa:
I seriously want to do why did you decide to change DPI? Did it have any adverse affects on applications?

What app you use to freeze unneeded applications

And what apps have you chosen to freeze

Guide me friend guide me :laugh:
[G4 Android Development] WTF?:
All my apps work fine at 538 DPI, and it is so much more beautiful, since 538 is actually the native resolution of the LG G4's screen, that is the best you can get.

I use the BuildProp Editor app from the Play Store and modify the value of the entry called ro.sf.lcd_density (which defaults to 640, which looks like crap)

(you have to reboot after changing it)
[G4 Android Development] kadirpasa:
What app do you use to freeze unneeded apps and services. And which ones do you freeze
[G4 Android Development] WTF?:
I use Link2SD and I freeze everything I don't need, especially if it is showing up in Settings ---> Developer Options --> Running Services and is not a core Android service.
[G4 Android Development] kadirpasa:
The pro version?
[G4 Android Development] WTF?:
No, free version of Link2SD is just fine

AdAway (sideload via TWRP, not on play store) makes a huge difference, since ads chew up a lot of processor cycles
[G4 Android Development] marshell:
Hi Kadirpasa,

the camera auto-focus problem is not an issue of the firmware. It seems that LG changed the camera hardware in the later 2016 versions of the G4. These cameras have known focus problems with the CM13-based builds. Please refer to the CM13 forum for the G4 for more information. TobiasReichmann is the name of a user that is active in this field.

My last status is that with a recent (in August 2016) update, the auto-focus functionality works, but the changes that made this possible had to be reverted because of other problems.

Best regards,

Marshell
[G4 Android Development] WTF?:
CM13 is buggy, as has been the case with every version of CM that preceded it. That is why so many folks have wised up and use the Stock Rom from this thread and then further optimize and debloat it. At that point, there isn't a 3rd party ROM that can compete, and the bonus is that everything works correctly, with no bugs whatsoever, including the camera.
[G4 Android Development] wartomato:
I make it short.

LG still hasn't released their full source like the fm Radio driver

The camera works fine here. Updating the blobs on cm to 20g really solved problems for "newer" devices, but lead to other problems on cm. That is right too.

Still I think that also a debloated and modded stock is okay, so there is no need to argue.

We are all in the nice position to be able to choose the "flavour" of Rom or kernel that we want for our device. If this is a CM base, AOSP or stock doesn't matter...
[G4 Android Development] WTF?:
who uses an old fashioned FM radio in 2016 when we have apps such as Tune-In Radio and similar?

Good grief, Charlie Brown.
[G4 Android Development] polfrank:
Man, trust me, there are some people that do. Personally, this thing discourages me from using cm13.

I have contacted LG for this matter, and they told me that all they have to release code-wise, has already been released and they just gave me a link for the LG source code website.
[G4 Android Development] WTF?:
I just do not understand the thought process of CM13 users, I see several bugs and disadvantages and features that don't work right, but I do not see any advantages over an optimized stock ROM.

My LG G4 H815 is blindingly fast, every feature works as it should, I have no ads due to AdAway, I have gorgeous 538 DPI set as default in build prop, and the phone runs so cool that you would think it is off, and the battery lasts for 2 days.

Now tell me again why I need buggy CM13?

What am I missing, other than issues & frustrations?
[G4 Android Development] polfrank:
You are right. But all we dream of is a problem-free CM13, that MAY come with time... This would be able to beat the stock rom, but I don't think it will ever happen.
[G4 Android Development] WTF?:
After CM6 and CM7, I could see the writing on the wall and gave up that dream. Maybe earlier ones were OK, but there hasn't been anything but buggy since 2010, so don't get your hopes up!
[G4 Android Development] wartomato:
Ask the thousand users in foreign countries, good grief. :silly:
[G4 Android Development] WTF?:
You must be unfamiliar with the Tune-In Radio app, it picks up stations in over 200 countries, that is almost all of them! - and they are crystal clear, which is not true with a regular FM radio in some cases.
[G4 Android Development] Mr.FREE_Bird:
Well I think a real stable CM13 build for our phone will never beat the stock ROM as long the camera quality keeps beings as sh*tty as it is compared to the Stock ROM. If that will keep being the same than for me AOSP based ROMs will be a no go. And I'm sure many LG G4 user share the same opinion. It is a shame though, I would love to use CM as a daily driver on this phone with the same camera quality as the stock ROM, but I think that will never happen...
[G4 Android Development] FredrikStorm:
SuperSU v2.78 doesn't seem to work properly

FYI. When flashing LG-H81520G-Flashable.COMPLETE.zip in TWRP and then flashing SuperSU-v2.78-201609011115.zip it won't give you complete root access. You can grant su to TWRP-manager etc. but Solid Explorer won't let you go to the root-folder. I solved this by installing the old trusted SuperSU 2.67.

Happy flashing!
[G4 Android Development] wartomato:
Nope. Wrong. I use pro, haha...

But I get enough posts for the fm driver from people that got used to it, like truck drivers or people in middle American or India...

You shouldn't be that narrow minded... :rolleyes:
[G4 Android Development] zoleegee:
I'm on unlocked, rooted. Currently Running RR. My BL, modem is quite old probably 20B... Can I just flash boot loader, boot, modem without the complete? If so in which order?
[G4 Android Development] WTF?:
No, you need to flash complete, and then supersu 2.67, one right after the other, with no reboot in between

but prior to installing those, you need to wipe system, data, cache, and dalvik and with no reboot between the wipe and the install of the two packages above
[G4 Android Development] stylazation:
Running android 6.0 stock rom from XDA lg g4 development v20B opt2 HQ on H815, 512 serial, do I need to install complete and then super su without loosing any data or do I have to install it by Wiping system, data, caches, dalvic? Or do I go for boot loader, modem saperately?
[G4 Android Development] Spaceboy60:
If I'm flashing through twrp will this replace twrp with stock recovery?
[G4 Android Development] klebusi:
Hi, I just install lollipop and bootloop fix to my H815. Can I flash Marshmallow and it will be work without bootloop?

Wysłane z mojego LG-H815 przy użyciu Tapatalka
[G4 Android Development] duckredbeard:
I am wanting to update my modem and bootloader so I can update to Resurrection Remix 6.0.x. (http://xdaforums.com/g4/development/rom-resurrection-remix-t3506348). The way I see it, if I do the steps you show above, this will simply have me rebooting into a clean rooted version of the stock ROM. What happens if I then restore a TWRP backup? Does it keep the newly updated modem and bootloader with my previous ROM?
[G4 Android Development] duckredbeard:
Can someone assure me that these are for the international SEA variant?
[G4 Android Development] Phantom272:
I flashed this rom over a 20D, but forgot to flash supersu after. So I turned off und did the key code to enter twrp (factory reset), confirmed the warnings for hard reset and then...it DID a hard reset this time. wtf?!

Now i am stuck on a factory fresh device with a full backup from twrp and titanium on sd card, but can not access it, because twrp is gone and can not flash it again, because my device isn't recogniced via usb anymore (maybe hardware issue since some days ago).

What should I do now? Spending money on one of these one-click-root apps to get back root? Some help would be very nice... :(
[G4 Android Development] welder73:
Try to install SuperSu from the Play Store,maybe it will help,I don't know...
[G4 Android Development] Spaceboy60:
What Windows version are you running? Lgup should still recognize it although on Windows 10 i had to right click on it and select "run as administrator" before it recognised my device.
[G4 Android Development] Phantom272:
SuperSU tested but didn't help.

Tested it on 3 Win7 and 1 Win8.1 systems, but nothing. It don't want to install a device, so recognition by any software can't work...i think.

On USB it says charging on AC in the lock screen. No USB connection menu, no "allowing access" notification.

But...how is it possible that twrp and root will be gone after flashing this in twrp?

I did the update to 20D the same way and it worked without any problems.
[G4 Android Development] Bav_:
Hey [MENTION=2684188]autoprime[/MENTION],

I had already upgraded my H815 to 20G using the KDZ and wanted to know if I had to flash the complete .zip file to root the H815, or if I could just install SuperSU through TWRP.
[G4 Android Development] autoprime:
just flash SuperSU in TWRP and that will give you root. the complete zip is mainly for people who don't want to update with a KDZ but you have already done that so no need!
[G4 Android Development] Bav_:
[MENTION=2684188]autoprime[/MENTION], thanks for your help. Will root and let you know.
[G4 Android Development] duckredbeard:
I have been satisfied with Genisys 2.1 ROM for a while, but it is time for an update. I expect I should update the bootloader and modem while I am updating. I will be going with a Resurrection Remix 7.1.1 ROM. TWRP backups are already made. Can I sequentially flash bootloader, then modem, then ROM, then GApps? Do I need to reboot any time during this process? The ROM has SuperSU baked in, so I don't expect I will have to flash SuperSU. Can you confirm that this is the way to go? (bootloader unlocked SEA variant of the H815)
[G4 Android Development] duckredbeard:
I have no idea what modem and bootloader I am even on. If I revert back, which one should I flash?
[G4 Android Development] risis78:
I have installed this Rom but I don't receive OTA... It's normal or I have a problem on the phone?
[G4 Android Development] Loulou-13:
Hi !

I have not found on this thread some good answer...

- The "COMPLETE" have all parts (modem,rom...) ?

- this flash will erase twrp and restore original lg recovery ? (i hope no ! )

Thank in advance for answers....

For those who want to have root ,i suggest to flash "simpleGX" kernel ,in theory it work...

(he have superSU ....and better optimisations for battery-life....and FIOPS as scheduler : the best of the best compromise between battery-life/performance/multitask/smoothness ...)
[G4 Android Development] kessaras:
complete has all parts , yea.

no it won't flash recovery.

no su in rom. after flashing complete, you need to flash su.

this rom is from last year. you prefer to flash stock rom 1 year old ? security patch is old here.
[G4 Android Development] Loulou-13:
Thank you !

But do you know a zip of the last version ?
[G4 Android Development] kessaras:
semi-last. 20k italy.

https://mega.nz/#F!E8hTFZSR!nw94F3r6OAtr8Xd7PZ5UJg

20g latest with security patch is in simpleGX rom
[G4 Android Development] Loulou-13:
Thank again !

I dream to flash simpleGX but i need lg apps and he have deleted them and the "lg app manager"
[G4 Android Development] kessaras:
extract the lg apps you need from another .zip rom ;) imperium , or genisys or even this one the 20g. even this 20g is useful for that. you can extract them and then use a root explorer to copy paste them n your rom , reboot and ready. Then it will update and come to the newest version. If you don't know how to extract the new type of system, tell me. Besides i plan to extract it too when i will come to stock to improve my tweaks
[G4 Android Development] tw10:
hi guys,

I just bought the lg g4 D815 and updated via LG to the newest V20g-EUR-xx....and aquired the unlock.bin today via LG

am I correct in assuming that in order to root this device, I just have to :

1. Unlock it via ADB

2. install TWRP via ADB

3. install SU via TWRP

and should I use the newest TWRP 3.0.2 or the proven one on this thread 2.87

Thx
[G4 Android Development] tw10:
hmmmm....nobody in here :(
[G4 Android Development] Resync:
Looks correct yes.

Or just flash Imperium or genisys with twrp.
[G4 Android Development] joriq:
where can I find the latest flashable ROM (v20L I presume?), which can be dirty flashed from TWRP?
[G4 Android Development] 3araafat:
Hi dear, Please can you help me, I have LG G4 H815 and my problem is motherboard issue, so can anyone help me to solve this problem by software way, please can you explain how to fix my phone's problem by video or contact me on whatsapp?
[G4 Android Development] Mikevandyke_2008:
I tried this today, but after flashing complete zip and SuperSU TWRP says "no OS found"! What goes wrong?
[G4 Android Development] joriq:
here you are: https://xdaforums.com/g4/development/ilapo-infinite-loop-auto-power-off-fix-t3404421
[G4 Android Development] autoprime:
nothing at all. the system partition was not remounted (nor should it be) so TWRP doesn't see it. this is perfectly normal when flashing a system partition in TWRP. Reboot recovery (instead of into system) to double check after a zip flash if ever unsure.
[G4 Android Development] itriguero:
This zip, the complete one, will it completely unroot and uninstall the twrp of my device?
[G4 Android Development] noraticu:
downloads don't complete.

Every time I download the complete zip file download stops. I've tried it like 4 times but download never completes.
[G4 Android Development] RugbyPete:
same question - its nto clear.

I want to go back to original urooted, unlocked bootloadwer so my bloody barclays app works
[G4 Android Development] tulen_kobi:
Yes, this will do the job
[G4 Android Development] RuedasLocas:
I don't know if with a clean install of the V20p works, but I did this:

Followed the tutorial to install and root V20g.

With LGUP upgrade to V20p (lost ROOT).

Again with adb installed the temporary TWRP on the phone and reinstalled SuperSU like for the V20g.

It worked! Rooted and working great!

Security Patch: 2017-03-01

Kernel: 3.10.84

Build Number: MRA58K

Software Version: V20p-OPT5-SI

Baseband VersionMPSS.BO.2.5.c3-00101-M8992FAAAANAZM-1.31581.1

People can try to jump the V20g flash procedure, flash the V20p and see if it works, later post it here how it was :)

Good luck to all
[G4 Android Development] Mantawesome:
Hi,

I followed the instructions, but I get this loop where the phone boots, goes through "Updating apps x of 18", reboots and repeats the cycle again indefinitely...

What should I do?

H815
[G4 Android Development] ufocus:
Restore a backup of data partition if you have one ofcours. If not, make one and try to restore it. As last resort, wipe data dalvik and cache aka factory reset.
[G4 Android Development] Mantawesome:
I wiped data partition again, reflashed and woopidy do! This one is a keeper, I'm gonna be using this phone now till the day it dies an honorable death :D Thanks!
[G4 Android Development] whitewolf1608:
1 The smartphone has the original Android MarshMallow 6.0.

ad1 - Unlocking the bootloder with the official successful method.

ad2 - Connection with Minimal ADB and Fastboot successful by the cmd console in Windows.

ad3 - Running a temporary recovery with the command fastboot boot lgg4-twrp.img successful.

ad4 - Downloading twrp recovery via the TWRP recovery menu is successful.

ad5 - Download Super SU.zip via Recovery TWRP successful.

2 - Download Stock MarshMallow 6.0 Rom.

ad1 - Upgrade TWRP Recovery from 3.0.2-0 to 3.1.1-1 successful.

ad2 - Format The date is successful.

ad3 - Adv.Cleaning is successful.

ad4 - Flash MarshMallow 6.0 Rom successful.

ad5 - Launch of Rom MarshMallow 6.0 Successful.

3 - Upgrade TWRP Recovery from 3.0.2-0 to 3.1.1-1 - via official applications from the Google Play store.

Here, there was still a technical problem with the installation of recovery TWRP by Fastboot - so I used the app.

ad1 - Upgrade TWRP Recovery from 3.0.2-0 by an application downloaded from the Google Play store successful.

ad2 - Flash recovery on the third partition from the bottom described as recovery successful.

ad3 - Flash recovery is the first attack described above as a successful boot.

ad4 - Launching TWRP 3.1.1-1 Recovery successful.

4 - Flash Bootloder Nugat and Rom Nugat.

ad1 - Format The date is successful.

ad2 -Adv.Cleaning is successful.

ad3 - Flash bootloader Nougat successful.

ad4 - Flash Rom Nougat Successful.

ad5 - Launching Rom successful.

As I had a technical problem with TWRP Recovery - or so it seemed to me with TWRP I made a downgrade to MarshMallow

6.0. The TWRP downgrade from 3.1.1-1 to 3.0.2-0 has been successful.

And for details from the current status of my smartphone, please visit here ￼

https://drive.google.com/file/d/1nQDfyUo91j_ZAm3uMuHaiuo_xPKhlhtD/view?usp=drivesdk

https://drive.google.com/file/d/1dbt-p4-s-b-av7MxYiuRfPptDEEIky9U/view?usp=drivesdk

https://drive.google.com/file/d/1hoe9wi7uOU9SVT-jt6oMwq0hwGc-81R-/view?usp=drivesdk

https://drive.google.com/file/d/1vIJVeEvtJjoYzlF2A5DSuoNd9NAZy-z5/view?usp=drivesdk

Please help.
[G4 Android Development] iannisb:
I have erased EFS , NV , IMEI is null . Any idea how to fix it? This is from EFS pro
[G4 Android Development] MidnightRaver:
Did wipe and flashed this + SuperSU 2.67 via TWRP = infinite bootscreen.
[G4 Android Development] girdap:
I was using original nougat version. Yesterday, I have decided to try lineageos based android 16.0 from xda. I have unlocked the bootloader install TWRP & lineageos16 & gapps but I found it uncomplete. Then I return to original nougat version by installing complete.zip from androidfilehost. Now my phone works OK, but everytime I reboot, shows a bootloader unlocked message. I have tried this tag but not works for the nougat. Any info?
[G 2014 Q&A, Help & Troubleshooting] pastorbob62:
Somehow during my last ROM update, I lost Mobile data capability. If I am connected to WIFI I can receive and send data. However if I am not near an AP for WIFI, date is not available. Before everyone bombards me with a lot of suggestions, here is what I have already done to try and resolve the problem:

I have verified that my APN is still set up correctly.

I have verified that Cellular Data is enabled and there is no data limit set.

I have verified that my IMEI has not changed for some weird reason and is still valid.

I have called my provider and verified everything is set up properly and they have not blocked me for any reason.

I rolled back to my previous setup using my nandroid backup from TWRP.

My thinking is that something has failed with the hardware but I don't know what it could be that wouldn't affect the phone, SMS or MMS because they all work well. The last thing I did before I noticed the problem was install the latest version of Ressurrection Remix and abyss-caf-tatan-20160820 kernel. But I can't say with certainty that the issue wasn't already there since I was at home and connected to WIFI for several days without leaving.

I wiped everything, did a data format and a full clean install, no help.

Any suggestions?

UPDATE: Well, as I suspected, there is no cure for my problem. It is apparently a hardware failure. On the upside, I still have two months left in my extended warranty coverage through Assurant, so they have refunded me my purchase price less the $25.00 deductible. One of those rare occasions where an extended warranty paid off. :)

So the refund will cover the bulk of what I just spent on the Moto G - Gen 4 phone.
[Android Q&A, Help & Troubleshooting] amarlko:
After Freedom 251 mobile again india has made a most inexpensive smartphone.ChampOne Communications India Pvt. Ltd. Is certified agency by using MCA And started out manufacturing world’s cheapest And Lowest charge phone With extra-ordinarily extremely good functions.ChampOne C1 4G 501 Is intended To offer better give up Smartphones @ cheapest price @ just Rs 501. below virtual INDIA campaign purchase cheap And reasonable rate excessive cease Smartphones. we are witnessing one of the most atypical year (sorry for the use of this phrase) as some distance because the cheap smartphones are concerned.As we know that JIO support 4G . So you can use this phone with Reliance JIO sim card.

Mod edit: link removed.
[Android Q&A, Help & Troubleshooting] Heisenberg:
Spamming personal blog. Thread closed.
[Android Q&A, Help & Troubleshooting] mssee:
Hi all,

After Flashing my phone with this rom

http://xdaforums.com/desire-816/development/rom-official-marshmallow-htc-desire-816-t3323367/page36#post68415244

needed to flash this firmware

http://xdaforums.com/desire-816/general/ruu-lollipop-a5dug-firmware-to-fix-wifi-t3126905

to get the wifi fixed, but after that I got boot loop as I can't access the recovery mode as explained with these images:

That two buttons underneath are (reboot) and (back) but the last image only appears for 4 seconds so I cant do any thing even accessing fastboot!....The phone's still rebooting until this moment since I can't remove the battery..

Please help ...
[Android Q&A, Help & Troubleshooting] mssee:
Solved .. I waited until the battery drain then turn it on again connected to the pc with fastboot and everything is ok now..