yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] kessaras:
Viper4Android flashable .zip added in the Mods folder.

**Not possible to uninstall ( until i have some time to make an uninstaller ;) )

**It does NOT break Magisk Safetynet pass. ( ofc it doesn't. it didn't have any chance against me )

Enjoy~!

Flash it knowing that you need it. Don't flash it for fun and then ask me to hurry make the uninstaller !!!!!!!
[G4 Android Development] Dami1Tupaiti:
Action => Reaction : you're as quick as your ROM !! Thank ya !
[G4 Android Development] MattheewHun:
LG Backup crashes, trying to regain settings and messages/call list, but it says "LG Backup has crashed" right after. Any solve would be appreciated.
[G4 Android Development] grinch247:
Still can't get past 70% ?
[G4 Android Development] kessaras:
variant
[G4 Android Development] MattheewHun:
H815, but theres too much bugs to keep this rom, the battery usage is insane. I was in work for 8 hours, touched my phone roughly 5 times, and from 85% to 44, and its very hot. I did so like on the previous roms, i always install custom kernel after 3-4 days. I tested all of the stock based roms, and never experiented that 30 min music playing takes 15% with screen off, everything is hibernated with the last Greenify donation package. Also, when searching between apps, it doesnt shows the letters. The keyboard works laggy, opens with 3-4 sec delay. Flashed two times, cause i had the same same issue yesterday but after 30 minutes i wiped everyting and made a clean insall.

I respect your work, but there are way too much issues with the ROM.

Best Regards

Mate
[G4 Android Development] kessaras:
You know, this is the rom I use, it's not the rom I imagined. If I show you tomorrow screenshots of mine without those issues what are you going to tell me? That a ghost haunted your g4?

Whatever. Thanks for your feedback it helped a lot, better use another rom that drains less battery.
[G4 Android Development] sirsomething:
All the problems you stated are not common. You must be doing something wrong. This ROM is insanely fast and the battery is also good.
[G4 Android Development] Dami1Tupaiti:
I fully confirm this : amazingly fast ROM and very very good battery with no external help (Greenify, Amplify etc...)
[G4 Android Development] MattheewHun:
Just one question. What can someone do wrong? Flashing and booting up the phone is just clicks, they dont even require anything. :)
[G4 Android Development] kessaras:
1. your bootloader version

2. this rom is stock and gives you the freedom to choose what to flash. Thats what the title is all about.

So when you state these problems should i say , call LG and tell them ? I dunno......... you figure it out , we are not magicians to know what you did wrong.
[G4 Android Development] kessaras:
You see these? One is idle and the other one is while using Facebook with messenger for a few hours ;)

So when you say you have a huge battery drain, what can we do? And I don't even use Greenify..... It's pure stock debloated here
[G4 Android Development] ntelas:
I have the V1 version because it works well and there is a magisk update to 13.1. Can I do it or it will break something?
[G4 Android Development] kessaras:
yup 13.1 tested and its working. Also you can flash the latest universal safetynet fix beta 4 if safetynet doesn't get through and you need it for your transactions. Here it passed on its own without the props module.

When you got time, try v3. its more stable and fully re-odexed . But it may need a clean flash :/

Best options for being fully debloated but still have weather+notes/to do lists -> select nothing but only asap launcher. Then remember to choose the google phone at settings , apps, set it default call app. You will get the latest dialer framework in use.
[G4 Android Development] ntelas:
Maybe when v1 starts to do weird things(like every rom after couple of days months etc) because i hate clean flashes! There are lots of apps than then they need sing in and backups that it takes so much time..
[G4 Android Development] kessaras:
hmm, then wait for around a month or less.

v3 has latest gapps and re-odexed, so it may mess them up at a dirty flash.

At around a month all your gapps in /data will be at a newer version from those in /system , so they will be auto-disabled and the updated will be used by default.

It won't start doing anything wierd, i took care about wierd things. It's kernel related ;)
[G4 Android Development] franky_z:
Great, fast rom! The options in Aroma for choosing Magisk, debloat, sounds, etc... are fantastic! Thank you!

Anyone knows a compatible substratum theme to make rom dark?
[G4 Android Development] kessaras:
Not any more. I like black too.

One way is to choose asap launcher and Sony apps.

Asap and Sony have option to turn black.

Substratum is stopping android 6 support slowly.

I mean, OK the app will work but the themes developers are cutting MM support.

Substratum will still be able to turn apps black if you flash theme ready gapps. Search Google

Edit: oh, maybe dna still updates. Try it.

Edit2:

Wrong. Only nougat that is too.

OK nvm, all are going for nougat+. So search theme ready gapps
[G4 Android Development] xradium:
I need assistance

I need assistance, preferably from [MENTION=5461026]kessaras[/MENTION]

i've been using this ROM for a few weeks now, this morning I turned my screen on, only got to see a few messages from the drop-list and then my phone shat down.

Since then it will not turn on. It goes past LG boot logo, the freedom boot animation, but then is just stays at black screen with the LED blinking at blue color.

it is NOT bootlooping.

Since this morning I tried everything, going back to stock, rebooting to recovery through adb/fastboot but nothing works. even going to recovery with the key combination doesn't work.

Is my phone officially bricked, or is it something fixable?

like I said, I tried many options but none of them worked.

I'll appreciate anyones help!
[G4 Android Development] kessaras:
oh boy..... this is what happens to most LG when the motherboard dies........ but they won't go past the LG logo.

Officially,

If it was rom related, this could only happen if the /system/build.prop had a mistake. So the phone would not be able to go past the boot logo.

If dirty flashing the rom doesn't fix it, officially your G4 died. Get it to repair center and see if they fix it for free. In some countries they fix it for free cause it's a motherboard issue.
[G4 Android Development] Dade97:
This appened to me last week with v1 h815

In the recovery I've tried to wipe all partition but an error say me "data not mounted" or something like this.

I solve (maybe in wrong way) changing more times file system of data until it was mounted.

Edit: I don't remember exactly if the partition was "data" or "cache".

Watch error in your recovery
[G4 Android Development] kessaras:
this is something else. you erased the /data partition.

this problem is solved in twrp you go and choose to resize the /data partition and voila , partition table is back
[G4 Android Development] Dade97:
But my phone got dark screen whit blinking Blu led and didn't start anymore
[G4 Android Development] kessaras:
yeah. since it had no /data partition........... you must be more careful.

but please don't say it was rom related , i'll get angry. My rom does not delete partition tables >>lmao<< !!!!
[G4 Android Development] Dade97:
No i don't say it's rom related

One day I've booted up the phone and data partition was corrupted.

Isn't the first time it happen to me also with other rom but I don't know why
[G4 Android Development] kessaras:
keep your twrp always up to date. Maybe its twrp related. dunno. only if it happens again, send the recovery logs to steafasterX for a check.

Same thing happens on OP3 with the official twrp and users use a modified one. (more specific in op3 data partition gets wiped not erased). but its more twrp related than rom. check it with steadfasterx if it happens again ! Talk to him at twrp thread.
[G4 Android Development] xradium:
I'd love to do what you suggested but I can't even access recovery, I had TWRP installed but the key combination doesn't work! tried a million times.

i'm currently using my oldie iphone 4s with hope that my g4 can be fixed, but if it's dead officially then I'm going to toss it and get a new phone...:(
[G4 Android Development] kessaras:
ok first of all wrong thread. tagging you know to twrp and giving you solution.

Edit: sorry thought it was the other guy. fast typing mistake.

Take it to repair center and see if they fix it for free. It's motherboard problem, don't even think about it.
[G4 Android Development] mjheid.muc:
Btw, is your twrp mod mandatory for a successful installation?
[G4 Android Development] kessaras:
It sais optional. If it was , I'd have said it, it wouldn't be a secret

Adding:

It just lags slightly less than the official and it has a better boot logo to match lg device.

The mods in TWRP are also added in the kernel so this TWRP is optional , no need to flash it.
[G4 Android Development] kessaras:
it doesn't make any difference here, as you can pass safetynet anyway with my rom, but just to let you know;

You can safely update magisk to 13.2 or at any newer magisk that will come in the future if you want it too.

I recently discovered the worst battery drain wakelock and its coming from the bluetooth (you all already know that wakelock). It's not something that can be disabled without xposed........ another way i came up to is to disable it's trigger that turns it on, but this way i will need to test it first for a few days to see how the accessories react on "screen off" and if i see good results and it doesn't "break" any bluetooth function, i will create a new small OTA for you all.

For now i only noticed that i have 1/3 even less battery drain.
[G4 Android Development] Laghie:
Hello!

I flashed your ROM yesterday and I have encoutered 2 HUGE problems:

1. No deep sleep

2. Magisk loses root after xposed module installation.

Here are some details:

1. Discharging rate is insane - 1% per minute. Tried flashing with and without magisk, gapps and busybox, no change. Tried installing imperium kernel and as a result rom stopped working (black home screen and no responsiveness). Tried installing with default options in aroma, needless to say that problem persisted.

2. I think is a known problem in magisk, yet I'd like to have xposed to reduce dpi for every non-lg app.

Any idea on how to solve any of these problems?

Thanks in advance! :D

Btw I like the rom, seems very fast and smooth
[G4 Android Development] kessaras:
1. you flashed the rom yesterday and you already discovered the discharge rate ? wow you are good. Did you flash any other rom and saw any better in less than 3 full charge/discharges ? Because this rom is new. before this one i was flashing other people roms ya know :D

You tried install imperium kernel when imperium is using other methods and also it is pre-rooting and patching the boot.img. Good. Idc if imperium wasn't working at all. I don't support imperium here and i'm not the imperium developer.

You flashed again and again and you complain for the battery ? ......... and when did the phone actually calm down ?

2. dpi is the minimum already bro. You cannot set it lower at a stock based rom, it will crash everything. its set at 530. To change systemwide dpi change it in build.prop.

To change simply the user dpi use command wm density. Xposed and magisk have issues. I'm not magisk developer. My part is only to make a clean rom that will always pass safetynet, otherwise you won't be able to use phone for your transactions.

My part is done. I won't debug magisk -_-

If in the near future i will implement xposed in my builds , i will make sure to fix this problem. But not right now.

About deepsleep. Deepsleep is there. Wakelock detector shows here that i deep sleep almost immidiately........ (without greenify. with greenify doze hits faster)

This tip is for everyone. Please don't post battery drain issues at any rom, not only here, before you even spend at least a week using the rom.

Here this rom is up to date using latest google apks, jars, permissions, everything. Yeah it may have a tiny small bigger battery drain, but thats only tiny. If you have 3hours sot, here you will have 2h 55m sot for example. The drain is so little compairing to the gain. If you don't want to be up to date , flash all LG stock apps, remove everything else and thats it, you get the stock lg rom. Freedom is about choices and you are free to choose.
[G4 Android Development] Laghie:
Dude I'm not that bad, it's not the first rom that I flash nor the first one with no deep sleep in my life.

Also I'm here to get help, not for complaining... I'd be on Reddit for that :D

So, point after point let's see what's happening.

1. I've seen battery drain because at over 1% per minute in about an hour and half the phone is stone dead.

I don't think I can wait a week with phone plugged to charger, I mean, it's a mobile.

And no, I'm not that good, but it's not a little effect :D

2. I've flashed imperium kernel because you say your kernel has some imperium tweaks. I hoped something was compatible but evidence show me the contrary

3. I flashed again and again with the charger on, else I'd have no phone since yesterday :P

4. About dpis: it suffices to set global dpi to 530 to make LG apps happy, than you can set dpi per app, with app settings module from Xposed for example. You can go as low as you want, provided that you change non-Lg apps (chrome, telegram,...)

5. Yeah, I know it's not your fault for Xposed and magisk broken compatibility, I was looking for ideas!

6. I hope deep sleep was there, else you wouldn't have so many praises for your work. I'm just stating that my CPU does never enter in deep sleep mode and I don't know why. I was simply asking for help.

7. I truly like the smoothness of your ROM, but as you can easily imagine I cannot live with it for a lot more, so I offer myself as a tester for this problem.

No need to get angry ;)

BTW, I don't know if this can be helpful: I'm on H815, freedom v3
[G4 Android Development] stefan.kurz:
I would try to flash the latest possible stock rom for your device. Reinstall twrp and see how the Batterylife develops. If you are in normal conditions try to install freedom rom again.
[G4 Android Development] Laghie:
Ok, I'll try that. Will let you know this evening!
[G4 Android Development] kessaras:
Battery life will only be just by a tiny percent worse than the stock. That's because of Google apps. But it's the only way to be up to date.

You can also test with LG apps. Freedom is the stock rom with only improved kernel.

What I mean about that. The stock LG kernel even if you change how a governor behaves , it will change nothing. The stock LG kernel is just crap. So that's why I merged it with imperium.

But flashing imperium won't do. Slim uses his own way to patch the boot.img , a way that won't work here. (compatibility problem comes from the fact that you patch the boot.img with 2 different roots. thats why a kernel should be flashed clean, but thats nothing to do with me , im not developing imperium)

Anyway , the thing is that the rom is full stock and just gives choices so that everyone can flash only the parts they want to flash. It's just like freedom os on other phones.

Also i already used logcat many times and I do it often to see if everything is fine. If you check it once on screen off , you will see that it goes in deep sleep with only temperature sensor working. So it can't be more stable. It's as stable as LG stock or even more stable than that. You can also install Franco app from playstore to help it going into deep sleep faster.

But really you must at least do one or two full battery cycles before you can judge the battery drain. And I'm not angry. I'm just too serious hehe.

Leave it be and don't think about it for 2 days. Then we can talk about battery drain and if we can do something about it (as I said freedom is full stock. Normally LG should be the one to blame but we all know they won't listen anyway).

About the battery cycles and flashing while you charge.

Let's say i reboot the phone while its pluged in and then i remove the charger. Why do i lose 5~10% at the next 2 to 5 minutes ?

You already lost 10% from rebooting, but the stock based rom doesn't show that instantly. Yeah... LG crap.... instead lineage based roms don't have that.

So just flash it, use it, do one more full cycle 10~100% , use it, and then we talk about battery drain.

Keep a record of real time, not percentage per minute. The stock LG will fail to record the real battery instantly. You think you have 20% more battery juice but in reality its 5% and suddenly in a few minutes you lose 20%........ here that doesn't happen.

So keep a record of the overall sot and screen off time and compare it.

EDIT:

Added a 5min logcat to prove that its stable and a s.shot to prove the deep sleep.

as you can see only the sensors are active and mostly the thermal, cause the logcat is from adb using the pc. Phone is connected and charging from the usb so its normal for the thermal sensor to work more.

i mean , there is nothing there to drain more battery. Rom is just stock and it has the stock battery drain.
[G4 Android Development] Laghie:
Yes, I do believe your systems go into deep sleep, yet mine doesn't seem to behave like that.

Here's a screenshot from cpuspy. It says the same as kernel adiutor.

Also it states kernel is imperium, is it yours or did my old kernel survive these many flashes?
[G4 Android Development] kessaras:
i told you i merged imperium with the stock. its not full imperium. im just bored to change those small details.

if it wasn't for imperium i wouldn't be able to provide this kernel, thats the thanks giving in OP too.

its not imperium its stock with some imperium branches merged and then editted by me.

Well............... i'm really shocked about that cpu behavior. Could it be motherboard related ? Did you flash any other stock based rom to check the deep sleep ?
[G4 Android Development] Laghie:
Not yet, however until yesterday I was on imperium and no problem ever emerged... :/
[G4 Android Development] kessaras:
oke i need to know a couple of things first.

what were your choices of apps ? did you check any apps in the installer and which.

Did you install a 3rd party app that maybe is the culprit ?

I need to do exactly what you did and caused that. If i see it happening , then its something i can fix. If it does never happen here, then i can't fix a bug that never existed.

And lastly flash latest modem and bootloader if you havn't flashed it yet.

EDIT:

And don't just dirty flash kernels. The ramdisk will be overflooded with errors. Always have the stock boot.img available if you like dirty flashing kernels. The stock boot.img will clean the ramdisk and keep you away from random bugs.
[G4 Android Development] franky_z:
Can you provide stock boot.img of 20p for download?
[G4 Android Development] kessaras:
Yeah but stock won't have my settings. If you want the stock I have made you will have to simply extract it from the rom and flash it.

Will upload in an hour when I'll be back.
[G4 Android Development] kessaras:
By the way, you guys really try do what by flashing several mods, kernels, ROMs, and other stuff ?

I don't want to ruin this beautiful mood but get real.

This is a G4 with a screen that sucks the battery faster than any other phone in the market.

What are you trying to achieve ? 10 more minutes of battery life ? 20 ??? 30 maximum ??????? 30 more minutes looks like a miracle here.

Don't think that you will get any more sot.

For screen off time the only true solution but not recommended is xposed and wakelock blocker. If you know what to block. Otherwise instead of a smartphone you will have a dumphone...

Have fun flashing everyday something , but get real. Don't expect a miracle. And when Android 7 drivers come , the battery drain will be bigger. What to expect ? Around to 10 to 20 less sot.

My advice is that you all just flash the rom you like , enjoy it and forget the battery drain. Miracles don't happen here.
[G4 Android Development] kessaras:
Stock LG Kernel (boot.img)

Stock kernels for both variants, extracted from the latest .kdz.

Use those to clean the ramdisk when you flash different kernels everyday.

Procedure:

Flash stock LG boot.img and then flash the kernel you like.

DON'T confuse yourselfs. Don't flash the stock LG boot.img to flash a lineage based kernel later...........

If you are on a lineage based rom and you wanna flash a lineage based kernel, you can clean the ramdisk by flashing the stock lineage boot.img !!!

Download Folder

EDIT:

Ah , i forgot to tell you, simply rename the .bin to .img and flash it in recovery. Choose install image ->boot.
[G4 Android Development] franky_z:
I don´t do mods on your rom, except using Amplify and Greenify and debloat. I´m your opinion, but everyone as he wants. I need this boot.image only for safe. Thank you again for this great rom! :good:
[G4 Android Development] Mixikins:
I've had the same issue too. I've tried reflashing several times with different settings and it always fails.
[G4 Android Development] kessaras:
sorry guys, messing with the aroma is something i can't do.

Things i can't fix cause are not under my area of development:

1. Aroma installer

2. Magisk

3. SuperSU

4. XPosed

Different person is responsible for other things development.

Things i can fix:

Anything related to Kernel and Rom.

Keep your TWRP always up to date and watch the temperature while flashing. If you go higher than 45~46 C , it's 100% sure that whatever you will try flash, it will fail.
[G4 Android Development] Laghie:
That's it.

Flashed stock boot.img, reflashed stock bootloader and modem, reflashed ROM, full charged battery and now I have deep sleep.

Great!

Thank you very much for your help!! :D

---------- Post added at 08:26 AM ---------- Previous post was at 08:20 AM ----------

For me it's not battery related. I bought a 6000mah for my G4: that was the only way to get home with phone still on.

I installed your ROM to get rid of all LG bloatware installed in imperium which I couldn't remove without getting system crashes every 3 seconds.

So... Thanks for your great work! :laugh:
[G4 Android Development] kessaras:
you are welcome,

i'm glad i helped.

From now on careful what you dirty flash and if there is anything you would love Freedom rom to have , just ask for it. if it's something i can add, i will add it.
[G4 Android Development] tzrone:
Great rom :) Just one question, is there any way to change music tracks via volume buttons? Can You add it? :D Thanks