yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G4] kpirnie:
CHANGELOG

v8

- Updated Tweaks

- De-Odexed Full Rom

- - - - NOTE: Could not de-odex Google Services

- - This should NOT effect performance in any way

- - - If you do experience a little lag (it should be extremely minor out of the box, if any at all [note, I do not experience any lag], there are a couple things you can do to make this better

- - - - Turn animations down to .1x

- - - - Disable scrolling cache

- - First boot will take a long time... upwards of 20 minutes. I would highly suggest that after the first boot occurs you let it sit and cool down for at least 10 minutes BEFORE even setting it up.

- - - You will also need to let it site after you flash Xposed, or any time you feel you need to clean your Dalvik

- - This will allow more customizations to be possible and should be a bit lighter on RAM usage. It also shrinks the amount of space taken up in the /system partition, it also should improve your battery life (your usage will vary)

- Some other stuff I forgot about...

v7.1

- Yeah, revert back to v7 base

- Updated SuperSU, BusyBox

- Reworked Tweaks a bit

v7

- Updated to H81120v

v6

- Re-optmize all apps and framework

- Replaced Sony Lifelog

- - was crashing for me

- Fixed Home Issue, no more redrawing!

- - For best Xperiance, go to Settings -> Home Screen -> Select Home -> Select Xperia Home

- Updated Kernel, Busybox, SuperSU

- Dev-Ops enabled by default now

- Bunch of new tweaks for performance and battery

v5

- Replaced Phone

- Replaced Contacts

- Updated SU

- Updated BusyBox

- Updated Kernel

- Bunch of new tweaks for performance and battery

- Fixes from v4

v4

- Full 20r Re-Base

- Clean Flash Required!

- Re-optmize all apps and framework

- Added 3Minit Battery

- Added 3Minit Quick Launch

- - In Recents Pane

- Added 3Minit Clock

- Default .25x Animations

- - Added .1x, .75x to Settings

- Added Autostarting App Control

- - Settings -> Apps -> 3Dot Configure Apps -> Autostart Apps

- Added Sony Xperia System

- Is Debloated

- Includes Latest Imperium Kernel v6.0

v3

- Re-Base to H811 20q Stock

- - Full Clean Flash Required!

- Re-Optimized system

- Re-Added Autostarts

- Xperiance-ized :D

- - Flash and find out

- Included latest Imperium Kernel v5.4

v2

- Issues from v1 Fixed

- Defaulted to .1x Animations

- Removed Auto-Starting Apps for now...

- Re-Base to H811 20q Stock

- - Full Clean Flash Required!

- Re-Optimized system

v1

- Initial Release
[T-Mobile LG G4] kpirnie:
mods & fixes:

fixes

- OTA and Calendar Sync Fixes v4: https://mega.nz/#!q5hyTBaZ!ZbyUhDnX8qrhTkePd9R4F5qr2Eysr3Qdxp2xmS3MCJw

mods
[T-Mobile LG G4] storm68:
Nice. Will ota updates be turned off? I just received one this morning. Thanks again for this and keeping 811 alive
[T-Mobile LG G4] kpirnie:
TBH

Don't know. LOL

Only updates I have gotten are the software updates (or rather downloads) that I took out of the rom.

Did you happen to notice what the version was for your OTA?
[T-Mobile LG G4] storm68:
Tried to upload a screenshot but won't let me. Weird... Anyway it was a system update of 87megs I believe.

Edit.... 84.4 megs

---------- Post added at 04:53 PM ---------- Previous post was at 04:46 PM ----------

Don't want to take up anymore on posts but just wanted you to be aware of it that they did roll out with one this morning. Take care and looking forward to your download. Will keep checking back in the future.. Thanks again.
[T-Mobile LG G4] kpirnie:
I'll see if I can find out what it was.

No prob :) MEGA is @ 97% so that'll get updated very soon :)

EDIT: Just checked on tmobile's website (and LG's). Latest update was the update to 20p.

http://www.lg.com/us/support/product-help/CT10000027-1434032923625-software-updates

Once you flash this rom, you'll be at 20p as well :D
[T-Mobile LG G4] kpirnie:
MEGA Download is up and ready.

The other 2 take alot longer to upload....
[T-Mobile LG G4] storm68:
I don't see version fixes to download. Apparently I need that cause I flashed and it didn't boot. Stayed on LG screen.
[T-Mobile LG G4] kpirnie:
Fix is uploaded (3rd post), but has no bearing on booting.

What is your device? Did you clean flash as per the 'Installation' in OP (this makes a very big difference, since I resize the system and data partitions)? Did you flash anything else with the rom?
[T-Mobile LG G4] storm68:
No did it as per OP instructions... I'll try again a bit later.
[T-Mobile LG G4] barcodelinux:
Does wifi calling still work?
[T-Mobile LG G4] kpirnie:
yes.

hotspot too
[T-Mobile LG G4] raptorddd:
thank you kevp for this rom.. i will flash today.. am glad you decided to share with rest.

:)
[T-Mobile LG G4] storm68:
Well I tried everything. Did it by the book and even redownloaded just in case I had a bad transfer and I still stay stuck on LG screen... No boot.... Bummer. I'll check back later see if anyone else has problems.
[T-Mobile LG G4] barcodelinux:
What is the md5sum of the file you downloaded? It should match the one on the AFH website.
[T-Mobile LG G4] raptorddd:
do you also have official twrp.? happened to me once.
[T-Mobile LG G4] storm68:
I have twrp 3.0.2.0 I would think so.... Didn't know there's a non official one out there.
[T-Mobile LG G4] raptorddd:
are you using IDM downloader.? i suggest you try it and use the AFH link as it allows you to resume download.. also did you check md5 sum check.? does it matches.?
[T-Mobile LG G4] kpirnie:
Major update coming in a couple/few days (or maybe later today... lol)

H81120q
[T-Mobile LG G4] botisu:
hi, i did dirty flash from v4 and even a clean flash to v5, the installation going fine.

but i cannot get the homescreen work, its stuck at recent apps screen.
[T-Mobile LG G4] kpirnie:
in OP
[T-Mobile LG G4] Brandon9231:
Hitting the recent apps screen let's you get into the settings from the header in the notifications, then you can just change the home screen from there to fix it from the first boot. It'll be fine once you switch to the other launcher and you can switch it back right after without issues; no need to wait 10 minutes :silly:
[T-Mobile LG G4] kpirnie:
YYYAAAAYYYY

http://www.androidstandard.com/android-nougat-is-coming-soon-for-lg-g4-and-v10/
[T-Mobile LG G4] Brandon9231:
I know the ROM's already debloated, and you had your reasons to leave them in, but is there any way we could get a GApp-less build? I've been using MicroG (so no GApps) for a while and bootlooped multiple times trying to uninstall GApps to replace them.

It can't really hurt to remove them, right? Most ROMs don't include them anyway, they'll just tell you to flash your preferred GApps package. Lol I'm sure more people are probably going GApp-less now too after seeing these CIA leaks :silly:
[T-Mobile LG G4] raptorddd:
i ran microg.. but have no problems removing them.. are you using flashable zip.. i either remove them with link 2sd or i use solid and go to system/private app and delete the folders.. reboot into twrp do a dalvik and cache wipe flash microg and no problem. am not using dominator.. as the xperia apps are different then stock..
[T-Mobile LG G4] Brandon9231:
No crashing? I did that once and I started getting FCs...clean flashed & tried again using TiBackup then bootlooped. I guess I must've missed something when I did it by deleting the folders.
[T-Mobile LG G4] raptorddd:
at begining i had them me and some friend tried many things... yes i can remove them all and still use phone .. i beleive that i accidentally reboot it and it still work like aosp rom. LOL.
[T-Mobile LG G4] kpirnie:
little lost here....

With my note, it was easy.. just a change to CSC .xml, but on this thing I can't find it...

Need to know where to change default home screen, and the icons on it. That way, when it finishes first boot, it's all setup...

p.s. working on v6 ;)
[T-Mobile LG G4] kpirnie:
bootloop again... uggggggg
[T-Mobile LG G4] XeniX_Force:
Any hope?
[T-Mobile LG G4] kpirnie:
yes.

released an update earlier today as well :)

no clue how long this bake will last.... so i have something else in order (or dare i say pre-order ;) )
[T-Mobile LG G4] XeniX_Force:
What exactly do you do to make it work again?
[T-Mobile LG G4] kpirnie:
i litetally baked it at 190° F for about 35 minutes.

once done... i let some solder flux melt on the connections

I would re-solder them if I was patient enough to do it (and 20 years younger... my eyes arent what they used to be anymore....)
[T-Mobile LG G4] kpirnie:
[MENTION=1007992]everyone[/MENTION]

Big Update Coming!
[T-Mobile LG G4] XeniX_Force:
What's new?
[T-Mobile LG G4] kpirnie:
Magisk, some modules, and some more tweaks. Also re-optimized framework :D
[T-Mobile LG G4] XeniX_Force:
Damn it

Means I'll have to stay in v6

I'm using EFI droid which I think currently has probs with magisk
[T-Mobile LG G4] kpirnie:
You'll have a choice of either not rooting, selecting Magisk, or SuperSU ;) :cyclops:
[T-Mobile LG G4] XeniX_Force:
Oh

Cool then

I'll see

Please upload it on afh though
[T-Mobile LG G4] kpirnie:
We'll see. I tried 3 times on v6 to get it up on AFH, both through the site, and my FTP account with them, and all 6 failed.
[T-Mobile LG G4] XeniX_Force:
Damn it

Well ok

Thanks for your hard work
[T-Mobile LG G4] kpirnie:
Dang it.... looks like no update after all... f'in LG

Last one I'll own
[T-Mobile LG G4] da_reeseboy:
You should've just sent it in for them to fix. The 2 I have both started bootlooping after I unlocked and loaded custom ROM's. LG still repaired them for free for me and I haven't had an issue since... And that was last September.
[T-Mobile LG G4] kpirnie:
Aye.. shoulda coulda woulda ;)

Mine's technically not a tmoblie device... it's a rebranded bl'd inlt version with a newer tmo board :)

Well.. in flashing all day today, I at least figured something out :D :D

Had a user ask about it here to, and now I know why...

The kernel, and not the Rom has to support Magisk in order for it to install... hence why no stock based roms currently can support it :D
[T-Mobile LG G4] Chosen_on184:
Question: If I am coming from Q based rom, can I just wipe and flash, does this rom have all the updated radio etc or do I need to flash stock first then flash this rom >?
[T-Mobile LG G4] Brandon9231:
Op just says to be on 20o... You should be fine clean flashing, though I'd still recommend flashing 20r via kdz, but that's just a personal preference, not a prerequisite. Not sure if the rom includes the updated radios or not (there's been issues with them not updating before when updating via zip) but you'll definitely get them if you flash the kdz first.
[T-Mobile LG G4] kpirnie:
v6 include 20r modem
[T-Mobile LG G4] Chosen_on184:
Okay one last thing, what is meant by "Download version fixes" ? in the installation instructions ?
[T-Mobile LG G4] kpirnie:
not needed
[T-Mobile LG G4] da_reeseboy:
Does anyone have issues with Google calendar?
[T-Mobile LG G4] Brandon9231:
So is this it? It's your phone, and the ROM, dead? Baking the phone didn't fix it this time?
[T-Mobile LG G4] kpirnie:
nah... update was only going to add choice of root... but the kernel doesnt support it... so no dice
[T-Mobile LG G4] Brandon9231:
So...this update flopped, but the ROM itself is still under development?
[T-Mobile LG G4] kpirnie:
Until the next time my phone dies... yes
[T-Mobile LG G4] Brandon9231:
I'm having issues with calls, but there's a chance I caused it myself by debloating a bit too much using a zip from here: https://xdaforums.com/g4/development/debloat-debloatex-v1-nfc-mod-t3342350/page1

Whenever my phone rings there's no dialog for me to answer/ignore it, it just starts running and vibrating until I get a missed call notification. I had to call back and have a conversation with being able to hang up, using just the expanded volume panel to know if I was still in the call.

I'm assuming I have to download a new dialer app or clean flash the room, right? And since this is a pretty big issue, and I'm the only one to report it, I'm guessing I'm the only one having it?
[T-Mobile LG G4] kpirnie:
Most likely what you flashed removed the InCallUI apk.

Dirry flash the rom
[T-Mobile LG G4] bigz1981:
I installed the ROM & the Imperium kernel...v6.7 i believe. I'm getting an error message from all my Google apps that Google Play Services needs to be updated in order for them to run. Google Play is showing I have the latest version of the Google Play Services. Any ideas?
[T-Mobile LG G4] kpirnie:
update Google Play Services.

i got the same thing... tapped on the notification saw 'update' tapped it... all set
[T-Mobile LG G4] kpirnie:
p.s.

the rom comes with imperium kernel 6.7 already
[T-Mobile LG G4] bigz1981:
Hah must have missed that when I skipped through the posts. Oh well. Sure enough once everything was restored, no more issues. And this ROM is LIGHTNING FAST!
[T-Mobile LG G4] NighthawkXL:
So, I'm having an issue of sorts. I've been running this ROM for a few days now and it has worked beautifully. However, it seems now that my battery has finally drained I turned off my unit to fully charge it and now I simply get stuck on the Xperia boot animation. I have the Imperium Kernel installed, and the ROM refuses to boot. The unit was repaired by LG a few weeks back after I had the bootloop defect happen, so it's not that problem. Should I just reflash?
[T-Mobile LG G4] Brandon9231:
Lol getting a refurbished phone doesn't mean you won't get the hardware bootloop again. If you can manage to boot into TWRP then just clean flash the ROM again. Go without mods or extra debloating for a while to make sure you didn't unintentionally cause the bootloop yourself.
[T-Mobile LG G4] NighthawkXL:
Restored from the latest KDZ and went through all the normal motions to reflash to no avail. The ROM at least on my device only works until the first reboot before endlessly looping on the Xperia animation. It's not a hardware issue, as stock, MicroMod's Xtreme ROM, and Genisys work without issue.

Flash order in TWRP was:

Dominion

Imperium Kernel (H811)

SuperSU

In the mean time, I guess I'll stick with MM's Xtreme ROM.
[T-Mobile LG G4] kpirnie:
not sure why you would flash the same kernel and same supersu that come in the rom already mate.

maybe try to stop after flashing the rom only...
[T-Mobile LG G4] Brandon9231:
This. I would get the same bootloop if I tried flashing anything along with the ROM before the first boot.

And, yes both your other flashes are redundant unless you're on the SuperSU beta versions, though because no stock kernels support magisk, might also be redundant. (Could be wrong, I don't actually know any uses for the beta besides SUHide and magisk)
[T-Mobile LG G4] NighthawkXL:
I'll give it a try. I flash the latest versions of stuff out of habit from other devices. Never given me a problem before. I'll just make a quick backup of my current setup and do it when I get home. Thanks.
[T-Mobile LG G4] barcodelinux:
Is there a way to install the stock LG messaging app?
[T-Mobile LG G4] Brandon9231:
Update center in about phone
[T-Mobile LG G4] barcodelinux:
Tried that. Fails to install.

Toast message says: Error Code -112
[T-Mobile LG G4] Brandon9231:
Guess it has to be a system app. Uninstall it and paste the APK in a folder in /system/app or /system/priv-app

There's a thread somewhere in the apps/themes forum here that should have the APK and name to set for the folder. Set the folder to 755 permissions and the APK to 644
[T-Mobile LG G4] barcodelinux:
Thanks! That worked like a charm. Got it from here: LG Stock Apps for LL & MM
[T-Mobile LG G4] nkia2sg:
I installed your rom, everything works fine, install is good. But i'm trying to disable the camera shutter sound, i know the files are in system/media/audio/ui folder, BUT, there is no /ui folder in here...
[T-Mobile LG G4] kpirnie:
I've been looking for that myself. Best I've been able to come up with is a Xposed module that will do it...

p.s. looks like TMO pushed out an update.... gonna KDZ back to stock and see what's up with it. if it's anything but security updates, I'll push out another update here... otherwise we're waiting for Nougat
[T-Mobile LG G4] Prabin Dhital:
Finally I feel like I have found the best rom for my G4. It is an wonderful device with brilliant display and feels good in hand but with other roms, I had battery drainage issues and none of the Lineage OS based rom are working for me either (wifi issues and poor quality camera). Excited to try this one and see how it performs and thanks to the developer for this rom.
[T-Mobile LG G4] kpirnie:
[MENTION=6761862]seetru[/MENTION]

MATE!

Thanks a ton!!!
[T-Mobile LG G4] kpirnie:
v8 Coming Soon.

All Updated Xperia Apps :D :D
[T-Mobile LG G4] seetru:
:good:
[T-Mobile LG G4] theslam08:
I would liked to have tried this, but for some weird reason v8 wouldn't boot up for me. It did 2 odd things.:

1. After aroma finished and asked me if I wanted to reboot [directly from aroma] I selected no. Screen went black, had to pull battery for power button to work. Then;

2. It would not go past 1st LG bootsplash.

My sig is up to date.
[T-Mobile LG G4] kpirnie:
What rom where you on?

What were your wiping procedures?
[T-Mobile LG G4] theslam08:
I was on latest DU using F2FS for all partitions.

When I went to flash this I know F2FS does not work with stock ROMs so I changed all partitions back to ext4. This inadvertently wipes everything completely (including internal SD card/space)

Then only flashed v8 and that's it.

(I don't like posting about other ROMs so my bad) I flashed stock (not debloated) micromod's 20v ROM and it worked.
[T-Mobile LG G4] kpirnie:
Aye, that should "format" the filesystem back.

Did you happen to get a log? Did you happen to try and reboot at the end of the flash? Did you attempt to flash anything with it?

I ask, because without a log, it's pretty impossible to tell what happenned. As it flashed fine for me.
[T-Mobile LG G4] ApokrifX:
At least couple guys wrote, they cannot turn Bluetooth on/off on it. Could you check if it works for you, please? :fingers-crossed:
[T-Mobile LG G4] theslam08:
No, as I stated, when it asked me to reboot I hit no in the pop up dialog and it just black screened on me.

No way to get a log.

When trying to boot it did not boot. It stayed at LG bootsplash.

I don't know what happened, it was very weird

This ROM did not work for me. If you are asking about micromod's ROM > no BT does not work; for future questions relating to that please ask in that thread.
[T-Mobile LG G4] iKeramat:
Thanks For Mention Me
[T-Mobile LG G4] NighthawkXL:
Bluetooth isn't working on this one either. Something has definitely changed in 20v that is affecting seemingly any custom ROM built from it.
[T-Mobile LG G4] ApokrifX:
Yeah, except stock. I’d understand (somewhat!) custom ROM issues, but it doesn’t work even on rooted stock (i.e. very minimal changes)? :confused:

At first I thought, it might due to radio was not updated, but it’s not true apparently...

kevp75,

What’s your situation? Do you use Bluetooth at all?
[T-Mobile LG G4] shri_chanakya:
Looks like calendar storage is removed. Calendars are not syncing. Can you please not debloat this.
[T-Mobile LG G4] kpirnie:
Please go flash something else.

This is my Rom, and it is made the way that I want it.

And the next time I see something like this, I will pull this rom permentanly off XDA

Thus said, calendar sync was not removed in the last 4 versions of this rom.

I do.

No issues with it either.

(attached)
[T-Mobile LG G4] kpirnie:
[MENTION=1007992]everyone[/MENTION]

Anyone remember what APK was the "32 bit Hi-Fi DAC"?

I think that is why Settings FC's when you hit 'Volume'
[T-Mobile LG G4] shri_chanakya:
Thanks for the hard work you are putting and sharing the ROM with others.

I moved to stock rooted and the issue with calendar disappeared. Might be the issue is happening with complete reset by wiping system/data/cache partition.
[T-Mobile LG G4] kpirnie:
Back stepping this a bit.

Will still be 20v, but some of the updated apps are crapping out (could be why the calendar works for some)

Also, updating root, busybox, and my tweaks

Coming soon. Will be v7.1
[T-Mobile LG G4] kpirnie:
v8 Uploading Now
[T-Mobile LG G4] seetru:
Thanks Mate :good:
[T-Mobile LG G4] kpirnie:
All set :D
[T-Mobile LG G4] tsmith154:
Thank you for sharing your rom.

My phone:

H81120r

Ver. 6.0

MRA58K

Security version

MDF v.2.0 Release 2

I normally take a rom and place it on my external SD card then use TWRP to flash. I read the install instructions, downloaded the file from the short cut supplied on the first page using my computer. It placed a zip file in my downloads. But I am confused a bit. I looked for the patch mentioned in the instructions but could not find it to download. I suppose there is none for the V8. I extracted this dowloaded zip on my computer to look inside. I did not find anything about a rom or patch. Should I place this zip on my SD card? and look to see if TWRP recognizes it as a rom to install?

Thanks for any help. Probably a goofy question.
[T-Mobile LG G4] seetru:
yes, just flash as a normal zip, make sure you follow the wiping instructions first, patch was for older version and be patient first boot takes a while

this rom is an excellent debloated base to customize to your liking and is lightning fast - good luck
[T-Mobile LG G4] kessaras:
Many mistakes in your installer bro.

1. remove the su folder. the update binary inside the supersu flashable zip creates the paths.

This is inside update binary :XXXX

"

ui_print "- Creating paths"

ch_con /su

mkdir /su/bin
set_perm 0 0 0751 /su/bin
mkdir /su/xbin
set_perm 0 0 0755 /su/xbin
mkdir /su/lib
set_perm 0 0 0755 /su/lib
mkdir /su/etc
set_perm 0 0 0755 /su/etc
mkdir /su/su.d
set_perm 0 0 0700 /su/su.d

ui_print "- Removing old files"

wipe_system_files_if_present
wipe_data_competitors_and_cache

rm -rf /su/bin/app_process
rm -rf /su/bin/sush
rm -rf /su/bin/daemonsu
rm -rf /su/bin/daemonsu_*
rm -rf /su/bin/su
rm -rf /su/bin/su_*
rm -rf /su/bin/supolicy
rm -rf /su/bin/supolicy_*
rm -rf /su/lib/libsupol.so
rm -rf /su/lib/libsupol_*
rm -rf /su/bin/sukernel

ui_print "- Placing files"

"

2. without pre-having the su folder you can add in aroma an option to choose magisk or supersu

3. make seperate variant folders, give in aroma option for h811 or h815.

4. inside h815 add boot.img , modem.bin and bootloader files and /cust and bang ! you created a rom for all variants.

EDIT:

a fix about gapps odexed. Download the full gapps package from opengapps and just delete those in the rom and add the opengapps inside.

Now gapps are fine.

5. In /system/addon.d the gapps script is missing , for the gapps to survive a half ota. It's important to have that script. That way you can push only an ota and not a whole rom on the next updates

6. build.prop . This one is fine. It may just need to add a couple of commands for h815. That comes afterwards, when it's ready , i test it and we will see.

######

7. sounds folder in /system path. there is nothing linking there. thats a useless folder that only takes space. those sounds must cut/paste them inside /media/audio and inside notifications or whatever every sound is; "/media/" path for boot sounds.

It's like you used /system/sounds as a backup folder. Except if there is an app that uses them ? Maybe that app that imperium has for some extra features is using them ?

#####

8. in updater script remove init.d. Init.d is history. We now use su.d in su or services.d in magisk. Useless features must be remove to reduce lag and cpu load as much as possible, always . The idea always is to stress the phone less.

#####

9. busybox will also be added in aroma. busybox isn't a "must have" to forcefully install it to all phones. it's something people get to choose.

10. Thats a secret :D must have a secret too to let the people later with an open mouth haha.
[T-Mobile LG G4] kpirnie:
Flippin' aroma...

apparently the props arent at

/tmp/aroma

nor

/tmp/aroma-data
[T-Mobile LG G4] grinch247:
Any way to access hidden menu for 811?
[T-Mobile LG G4] kpirnie:
not sure why people are having issues with calendar sync...

it was fixed in v4 and has bee fixe ai ce then...
[T-Mobile LG G4] kpirnie:
hidden menu?
[T-Mobile LG G4] grinch247:
To enable fast dormancy....