yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] yobooh:
Already thinked it indeed now i'm using classic supersu.

Hoping this will solve the problem...i usually forget to charge the phone xD
[G4 Android Development] Faultles:
Hello everyone! I seem to ran into an issue. I factory reset my phone from the LG settings and not from the recovery, and when I tried to install the new Freedom v7.5 it just installs and when I restart, I get sent to TWRP again and not booting up the phone. I did all the wipes in the recovery pre installing the rom. Any thoughts why does that happen? :/

PS I also tried installing stock kdz. Doesn't work.
[G4 Android Development] ufocus:
You guys just don't learn... http://droid.binbash.it:8008/TWRP/stock/

Flash this beta provided by stead our TWRP maintainer.

Wipe data, system, dalvik, cache, install your ROM of choice.
[G4 Android Development] Diginix:
Google Camera doesn't work. I have selected it in Aroma and it closes after start cause of no access to the camera hardware. Then I have uninstalled it. Now I'm unable to re-install apk v2.7.

What is the problem? I liked it a lot for panorama images.

Could the Titan Kernel be a problem?

How can I re-install it with TWRP without installing the whole ROM?
[G4 Android Development] kessaras:
Google cam here is an historical version now.

Google cam only works on AOSP/Los based not stock based.

what he said is true.

you never learn and you never use proper keywords to come up to the result you need to find.

you know how many times i've said that you can't use the in rom wipe with twrp ?

the in rom wipe uses the /etc partition which is disabled in twrp.

the only way to fix it fast and easy is to flash the stock LG recovery and reboot. thats all.

And now im 60% sure that you will ask where to find it.

Well..... in steadfasterX host, you will find the Nougat stock v29A OS.

At a folder next to it , its the same OS splitted to pieces. Download recovery.bin, rename it to .img and go to bootloader and fastboot flash recovery recovery.img.

fastboot reboot. fixed.
[G4 Android Development] Faultles:
Yeah we don't learn. It doesn't help being a smartass. I did flash that recovery and tried to flash both stock rom and freedom rom from it. Still ending up with the same result - back to recovery after installation. Anyway thank you for the suggestion but it doesn't help. At this point I don't know what else I can try

Its not that I don't learn. I just don't have enough experience in those things. In my case I was just confused what to do. I know I could try and search for this but not sure how long it would take me to find what do to in this exact case. I just decided to ask in this post as you guys have much more experience than me and you would advise me faster than I could find the solution myself. Sorry if I bothered anyone. Will try this solution you proposed.

Thanks!
[G4 Android Development] Faultles:
PS. It worked. Thanks!
[G4 Android Development] Diginix:
Strange, on stock LP 5.1 it has worked perfect.

Every day I miss more features in Nougat that I had in Lollipop. Very annoying.

- Sambadroid doesn't work correct and for ext SD not

- Google camera for panoramic images

- Xposed G4 Tweakbox for 3way power menu and some other UI tuning

- sometimes Magisk delays the root permissions for apps, e.g. Tasker can't backup some files from /data/data

[MENTION=5461026]kessaras[/MENTION]: In Aroma installer I had chosen no sound for full battery and camera but both sounds still appears.

And how can I switch back to stock kernel? Just flash the ROM again and select the same things in Aroma?

If I have already Magisk root, do I have to select it again in Aroma or will it survive?
[G4 Android Development] kessaras:
it wont survive because you re-flash boot.img (kernel)

yes reselect the same. And thank you for feedback. You r the 1st one to test the sounds. I used same paths thinking that are the same. I will check the sounds tomorrow :)
[G4 Android Development] joriq:
is a TWRP backup OK?

Also, I already see a warning sign that my bootloader is unlocked, but it's a small one, so now I will see a big one? :laugh:
[G4 Android Development] Diginix:
So, if I want an unroot or switch from Magisk to SuperSU, I just need to re-flash den ROM and select no or the other root method?
[G4 Android Development] kessaras:
No it's not that simple to switch. You can't just dirty flash rom or just boot.img.

It needs one more step to switch. You have to unroot/delete every trace left back in data partition from previous root, otherwise it will conflict , if not at spot then for sure later.

Root since some months is done in data partition not in system partition and it patches boot partition to become persistent.
[G4 Android Development] ufocus:
Depends on what you want to backup but in most cases it's enough.

The big sign you'll see when you update to nougat bootloader. There's a bootloader .zip that the sign is smaller with yellow letters, use it IF it bothers you ofcours. It's made by steadfasterX
[G4 Android Development] gpapdj:
great

ohhh my god...i have a new phone....fast as hell..thank you....
[G4 Android Development] chris-89:
I bought a used LG G4 and replaced my main phone "galaxy S5" with this one, because of the very good camera.

I installed this rom and i'm very impressed by your work [MENTION=5461026]kessaras[/MENTION]. Thank you for this amazing rom.

Also big thanks to all other developer like [MENTION=6917540]Astrako[/MENTION], [MENTION=5545101]steadfasterX[/MENTION] etc. Hope you guys will support this device for a long time. :fingers-crossed:

Amazing work :good:
[G4 Android Development] kessaras:
Thank you Chris ;)

And welcome to g4 community. Yes we will support it to it's fullest but please be patient because we are only 4 devs left in g4 and each one of us works on different things
[G4 Android Development] Diginix:
Freedom ROM 7.5, Titan 1.7, Magisk Root 14.0

Today my G4 was automatically shut down while I was watching a VR video for maybe 5 minutes. With stock 5.1 this never happens.

Now it tries to start with boot animation and then only a black screen with backlight on and blue blinking notification LED. After some minutes a progress screen appears with label "android will be starting" and hint "please don't turn off phone". The percentage starts at 32% and went to 100% and then it starts again with black screen with backlight on. After maybe 3-5 min again the 32% to 100% screen. And so on.

As it seems I have no luck with Freedom ROM. It was clean installed from scratch.

I have a full TWRP backup with boot, system (except system image), data, recovery.

First thing I have tried is to re-flash the ROM, but Aroma installer goes only until 83% (Flashing new boot image). Even after 10 minutes it stays at 83%.

Second try: Restore Boot+System Backup in TWRP. Which results in the mentioned behavior above (Android prepare progress 32% - 100% > reboot black screen).
[G4 Android Development] raptorddd:
only one way to find out. seems like begining to show bootloop problems

id say flash stock KDZ and make sure phone is cool or have a fan cool it while doing this.

not sure if you have stock beta N. flash that do all wipes. if samething then seems might have bootloop problem. or flash MM KDZ ask first how to or use beta N stock rom.
[G4 Android Development] Diginix:
Oh man! I had the bootloop hardware bug in January 2016. Please not again!

I will cool down the phone and try some thing after that.

Edit: A restore of the data backup solves the issue.

But why does a shut down cause of high temperature (never had this in over 2 years with Lollipop) damage my /data so that it leads to such boot problems...
[G4 Android Development] chris-89:
Don't worry, i'm patient :good:

By the way, do you recommend to flash your Titan Kernel on this rom?

Or can anybody here report his experience with the kernel on this rom?
[G4 Android Development] kessaras:
Backup boot partition in TWRP , test any kernel you like and restore using the boot backup.

Always reflash root when you flash or restore a kernel only (boot partition)
[G4 Android Development] chris-89:
Thanks! I will try the titan kernel :good:
[G4 Android Development] straightup:
It's stuck on 60.00%. I have chosen the 60fps Camera mod, but after installing System, the next one is 60fps Camera Mod and nothing happens for half an hour already. Any ideas? I', with your latest TWRP.
[G4 Android Development] kessaras:
graphic bug in twrp.

if you didnt stop the installation or didnt wipe , just reboot. installation finished in the background since you gave it some time.

Yes

Those are history. Google cam only works on AOSP and Los based roms.

The mod works or not I do not really know.

Me I changed it to 100% in the coding and from that point and on it's hardware and or if , drivers.

1. Because I won't make another 1+gb rom only to remove google cam.

2. I said I don't know , the coding is set to 100.

3. I'm not magisk developer.
[G4 Android Development] straightup:
That's it. Thank you!
[G4 Android Development] Diginix:
Is the better camera mod v2 as separate ZIP the same as the 60fps option in Aroma?
[G4 Android Development] straightup:
Where is the Google Camera HDR+ after flashing the ROM, also i have chosen the 100% camera mod, but the pictures i take are the same size as previously? And last when I updated the Magisk Manager, there isn't an icon on the screen, so I''m not sure how to access it.
[G4 Android Development] tmihai20:
[MENTION=3400194]straightup[/MENTION]: that is not the proper way to get the Google Camera from the Pixels. Not even the Nexuses have it. Install the apk that is recommended by the developer like a normal app.
[G4 Android Development] straightup:
1. Than why the Aroma Installer has the “Google Camera” option?

2. And also why the photos I have taken are still the same MB when I have chosen the camera mode as well?

3. How to acces the Magisk Manager? Like i said even updating to the latest version I still can’t see the application icon on my home screen.

Thank you in advance!
[G4 Android Development] tmihai20:
1. I do not know.

2. I also do not know.

3. Have you flashed Magisk from TWRP recovery? You also need to install Magisk Manager app separately.

You do not need Magisk to install the Google Camera HDR+ apk.
[G4 Android Development] straightup:
Let’s wait for [MENTION=5461026]kessaras[/MENTION] answer then. It’s not needed to install iit via TWRP, but yes i tried that too + installed Magisk manager latest version.
[G4 Android Development] straightup:
Another questions from me:

1. Why I can see Wakelock only when I enable the appdrawer? Without apprawer i am unable to see it.

2. Why when the App Drawer (made by [MENTION=4691155]renzetti.s[/MENTION]) is turned ON, there isn't any App Drawer at all?
[G4 Android Development] renzetti.s:
Tried swipe on dock?
[G4 Android Development] Diginix:
If I want to downgrade to stock MM (Imperium Rom G4) what do I have to consider?

I'm asking because of Nougat bootloader+modem, that I have installed for Freedom.
[G4 Android Development] ufocus:
Update TWRP using appropriate builds(stock, custom-n, custom-m) depends on the ROM you want to use. In your case it's stock.

Backup (optional)

Flash MM(v20*) bootloader and modem.

Wipe system, data, dalvik/ART cache, cache

Optionally Wipe internal storage, not necessary but for good measure it won't hurt after you've backed up everything.

Flash ROM

Flash kernel (optional).
[G4 Android Development] Diginix:
Where can I get the v20 MM bootloader+modem?
[G4 Android Development] denied1977:
Yeah, I would also like to know for MM modem+bootloader (is there a zip or img to install from twrp) if I one day want to downgrade :fingers-crossed::fingers-crossed:

THANKS (i tried to search but couldn't find it)
[G4 Android Development] tmihai20:
[MENTION=7760633]Diginix[/MENTION], [MENTION=1423645]denied1977[/MENTION]: there is such a thing here http://downloads.codefi.re/autoprime/LG/LG_G4/H815/H81520D. If you go up one directory, you will find older versions.
[G4 Android Development] straightup:
Now I did :)
[G4 Android Development] Usraek:
Hello [MENTION=5461026]kessaras[/MENTION] or [MENTION=3692819]TecknoFreak[/MENTION]

Would there be any possibility of either of you looking into modding LGLockScreenSettings_2.apk to decrease the amount of knocks now that the Nougat update it out?

I think the changes LG made are absurd, as it used to be minimum 3 knocks in LP, and in MM they upped it to minimum 6 knocks in 3 different quadrants. The modded APK for Genesys Rom removes the 6 knock requirement, but keeps the 3 quadrant one.

[MENTION=5461026]kessaras[/MENTION], I have asked you about it previously. I have not updated to [MENTION=3692819]TecknoFreak[/MENTION]'s Nougat version yet, but I thought I would start laying the ground work now! lol

The LP apk didn't work in MM, so I'm just assuming that the same will be the case from MM to N.

Thanks :)
[G4 Android Development] kessaras:
Look in mods folder.

Be aware that flashing even the slightest one modded apk (not even a whole rom) , then you can't dirty flash a rom cause you will have bugs. So flashing a mod means next time you flash a rom it will be a clean flash.
[G4 Android Development] Usraek:
Oh did I miss this? Pardon me! I'm just doing some periphery work until I have time to flash my phone again (it magically won't boot any more and I'm using my backup phone for now until I have time to get my files and flash.. it's not the bootloop, something popped in the OS, I can access recovery just fine and mount it).

And yeah, I know about the dirty flashing problem, but I can't ever dirty flash anyhow as I'm always heavily heavily modded.

Thank you for all your contributions and hard work! Looking forward to some of the N features :)
[G4 Android Development] kessaras:
sry too busy too boot oreo. its very close now and my free time can't help me go through everything. help each other here.

lockscreen mod is what you need. search in mods folder
[G4 Android Development] tmihai20:
[MENTION=5461026]kessaras[/MENTION]: I would only move to a LOS or AOSP Rom if it had Oreo. I know for sure we will not get Oreo. I would love me some Oreo on my G4.
[G4 Android Development] Sparkxda:
FM Radio

On my H815 (FreedomRom) I switched FM Radio only ones. Every other attempt did not work out. Now I cant switch on Radio. Is any solution for it . Thank's for any advice.:o
[G4 Android Development] joriq:
which kernel?
[G4 Android Development] Sparkxda:
Kernel

Titan_kernel_H815_N_v1.8 flashed after brand new Fredom rom instalation.
[G4 Android Development] joriq:
then read OP - Titan does not support FM radio!
[G4 Android Development] Sparkxda:
Thank's for your advice.
[G4 Android Development] straightup:
Can someone please help me, because i got stuck in bootloop after few weeks of usage of this ROM. Last night my battery got drained and the phone shut down, this morning i connected it to the charger but it started bootlooping in strange way - The phone starts booting normally, but after the Freedom intro the LED light starts blinking for about 2 minutes (like first time boot when you flash ROM) and then the Android robot shows with the message ""Android is starting... Do not turn off phone." (again like it's a first time boot of the ROM) and when it gets to 100% it reboots and again after the Freedom intro the LED light starts blinking the Android robot shows with the message ""Android is starting... Do not turn off phone." and so on... It's really strange, because I'm using the ROM for weeks now and didn't have any problems so far. The thing which worries me most is that I am unable to get into TWRP and Windows can't see the device as well. When I go to the device manager i see G4 with a yellow triangle and when i enter it it says "Device cannot start (Code 10)" i tried installing all kind of drivers, but still I'm facing the same issue. So here comes the question - is there a way to fix this?
[G4 Android Development] yobooh:
Same problem happened Before.

Battery went to 0% and I had to format data! Last time with Magisk now with Supersu.....Could be related to Bootloader or Titan Kernel?

Hoping to find the answer in the meantime i'll try another Nougat rom to check if I have the problem also there.
[G4 Android Development] Diginix:
You have to restore /data with a working backup or you have to wipe /data. Due to unknown reason Nougat crashs the data partition in different shutdown moments. For me this happens on shutdown cause of to high CPU temperatures.

It can be really annoying if you have no /data recovery backup.

Merry Christmas to all!
[G4 Android Development] straightup:
I understand, with what do you recommend to make the backup? Is it ok to make it with TWRP?
[G4 Android Development] yobooh:
Yep. But i found a mode to reproduce the issue that works 80% of the times.

Take the phone at 2% and let it turn off while charging with a low speed charger. When it turn off it will mess the data.

Could be related to the v29 rom? It's really weird and to me a good reason of rollback cause i forgot easily to charge the phone xD

Merry Xmas to you and the whole XDA community!
[G4 Android Development] raptorddd:
no its battery i have h811 and using h811 port samething happens when it shuts down some apps settings are reset just dont let it go under 10%.
[G4 Android Development] straightup:
Yes, some appa settings reset indeed. But for me was even when restart the device, not only when battery is low. So not sure if it’s ROM related or not.
[G4 Android Development] ivanwarhammer:
I am on h-port V30 ROM and same thing happened to me couple of times already... So it is, probably, not ROM related. It started 2 weeks ago. First time I had to restore backup. Now when I go to twrp, theme resets to default even when battery is full.
[G4 Android Development] yobooh:
I confirm it happens also on V30 Rom+Titan Kernel.

I'll rollback to Mashmallow to see if it happens also there (before unlock i never had this problem)

This Bug should be added in the Bug list in first page of the Nougat roms until fixed. To me it really make daily use unreliable

As said with stock Rom never had this problem, probably it's Rom or Bootloader related, not battery
[G4 Android Development] PxYra:
I can install this ROM with official TWRP 3.2.0.0 ? (P.S. now trying with 3.2.0.0 TWRP and stuck on 83% installing magisk...)
[G4 Android Development] eltigre4jc:
Hello!

Freedom v4, MM. (Those with Nougat, have that bug with corrupting the data partition from time to time)

I have modified the build.prop, by adding following line:

"sys.keep_app_1=com.whatsapp". Messages from whatsapp were only delivered/received, only when I opened the app. Seems the siystem was hibernating whatsapp. (BTW in Nougat the messages were ok)

The line was added, after I have read some guides on the internet

...

AND

..bootloop.

Now I had a backup. But even if i put it back (copy paste, rename, chmod in TWRP) or edit it with nano editor, it still goes to bootloop.

Is there any chance to make a dirty flash or something? Or do you have any ideas so that I do not have to delete everything from phone and clean flash?

Thank you
[G4 Android Development] kessaras:
it needs a debug build to find the reason of bootloop.

if we could find the reason then we could fix it.

did you had adb enabled and allowed when you backed up ?

if yes then you will have adb on boot.

So do adb logcat > logcat.txt and boot.

and first it will be saying : waiting for devices because device hasn't started to boot. So it will grab a logcat when it will start booting.

when it will bootloop stop logcat and share it.

i will what causes the bootloop and then we can fix it there
[G4 Android Development] eltigre4jc:
I tried, but it writes a 0 bytes logcat

I wrote "adb logcat >logcat.txt" in minimal adb and fastboot. Than plugged in the device, booted it. But it remains at "waiting for device". Even after 3-4 bootloops, it;s the same.

UPDATE: I have surrendered. wiped everything
[G4 Android Development] kessaras:
Ye thought so. We can't debug on boot without debug build.

Too bad.
[G4 Android Development] gioxoid:
N modem is really different wrt to MM one?
[G4 Android Development] gioxoid:
Installed the .zip without N modem&bootloader. Everything seems fine till now.

If I install later the .zip file with N modem&bootloader, I'll loose the BL unlocked status?

So, does it worth to install N bootloader?
[G4 Android Development] Diginix:
I never lost my unlocked bootloader since I jumped from LP to N and back to MM. Still unlocked and I've flashed every time specific bootloader+modem.
[G4 Android Development] hardziol:
I installed rom but why can not I now use the command fastboot boot twrp.img? I can use fastboot flash recovery twrp.img but I can not use the second one..
[G4 Android Development] gioxoid:
Any possibility to have in near future security patch for Cpu issue?
[G4 Android Development] Ciccius-IT:
On Nougat there's no fastboot boot command. You have to flash direct TWRP from fastboot. Then reboot to recovery to test.

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] joriq:
my phone also bootloped after shutting down abruptly at 2%, it would boot untill lockscreen and then reboot. However, I had this ROM file on SD card, tried dirty flashing and it worked! :) I just lost my wallpapers, as far as I can see... Hopefully, nothing more. Now, I installed LG Backup and am performing a backup, and then I'll also do a TWRP backup.

Then I'll see if I can order a new battery, a

genuine

one. If anyone has a tip where, please share :)
[G4 Android Development] gioxoid:
Buy fresh battery. I had this problem, solved with a fresh battery. Just to say, this night the phone went dry. Shutdown by itself. Boot up normally now
[G4 Android Development] hardziol:
ah ok , thx for info!
[G4 Android Development] MatteoB92:
Yesterday I came back up home with the phone at 2%, my heart was up my throat.

Now I'm backupping /data part through TWRP, in the last week original battery is dropping visibly without a reason, I think after ~2 years is starting to die [emoji879]️

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] joriq:
I know, that is what I said. I asked for a tip on where to order, not if I need a new battery :silly:
[G4 Android Development] gioxoid:
Amazon eBay .....

If you can't find original one I can suggest Anker product. Found on amazon, good and reliable till now (6 months old)
[G4 Android Development] joriq:
Now that's a solid advice! :) I have 2 batteries for my old HTC Desire HD and still work fine, 4-5 years old. Amazon is not shipping to where I live, and I believe Anker.com is not either: https://www.anker.com/products/variant/LG-G4-Replacement-Battery-3.85V-3000mAh/A6041031

But I will check ebay (it's 50$ with shipping! https://www.ebay.com/sch/Anker-Batteries-for-LG-G4/20357/bn_73325278/i.html?_fsrp=1 ) and others... How much did you pay for yours?
[G4 Android Development] gioxoid:
Here, Italy, 20€ for Anker battery by Amazon.
[G4 Android Development] okolaris:
Hey everyone, just so you know I have had the "bootloop after battery drain until data wipe issue" on (stock) MM and MM (Imperium ROM). To me it only happened after I took a photo with the (stock) camera app on very low battery though. If it just died of low battery it was always okay for me so far, so I don't think this issue is rom related. Don't know about any kernel fixes tho...
[G4 Android Development] ufocus:
I fixed this problem permanently by buying brand a new battery for 20€.
[G4 Android Development] MaRz0o:
Ooh. I just experienced this. I have two backup batteries for my LG G4 and when my battery died the first time, I went to charge it up again, it rebooted fine but I noticed all my settings reset i.e. font size, boot sounds, etc. When my battery died a second time, I went to charge it again, my phone went to a "Android is starting screen" went to 100% then gave me that bootloop with a light blue notification light going.
[G4 Android Development] bilto50:
Hello.

Good work for this rom. Really good !!

Just
[G4 Android Development] bilto50:
Hello

Which Kernel do You use with this rom ?

I m not success install titan Kernel.. Always bootloop..

Thanks