yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] tulen_kobi:
Any difference for you in Google camera? Can you please take log after you try to use inbuilt camera for video?
[G4 Android Development] SeewolfPK:
Google camera works every time.

inbuilt camera did not store the video.

Here the log:
[G4 Android Development] straightup:
Thank you very much [MENTION=976442]tulen_kobi[/MENTION]! Yes i have 6 more months of warranty, but i read even if you relock your bootloader it leaves traces that it has been already unlocked, is that true?

If you can relock it without traces, could you please teach me how or give me a link where it is explained?

PS. Do I need to root the phone in order to flash the rom, bootloader, modem etc.?
[G4 Android Development] tulen_kobi:
Go here

Can you please test if saving video in inbuilt camera is working for you on your setup?
[G4 Android Development] Grizzler89:
No, it doesn't work using the inbuilt camera. Other Camera Apps like OpenCamera have no problems saving videos.
[G4 Android Development] TheBÖB:
I've been a long-time lurker on the forums., First of all, thanx for your work. I'm very thankful someone is taking the time to keep developing for this phone.

To the point: is it possible to still get the previous modem and bootloader (v29 instead of v29a)? My phone worked perfectly for 2 days, then I got a BSOD which I could not record (no other device at hand). From memory it said there was an error in the modem code. Extracting logs could be done by plugging in USB. I've had it 4 times in total. Twice with the NoBanner version, twice with the standard version. First time was after I made a phonecall myself, at the moment I was hanging up. Second time happened in my pocket (pocketdialling maybe). 3rd and 4th were this morning, while using Waze to navigate to work.

1. I would like to check if with the previous modem and bootloader this still happens with my normal use of the phone.

2. Did anyone else by chance encouter this?

3. I need to figure out how to provide logs ;)
[G4 Android Development] tulen_kobi:
1) You can try to use the latest marshmallow modem that is v20p. There are is only one Nougat bootloader and modem from LG sometimes called v29, sometimes v29a.

2) it happened to me once, but I am not able to reproduce it

3) tutorial he to take logs is in the third post.

Edit: it maybe will get fixed in next build. Will need you to test it. But logs will by appreciated, kmsg or dmesg
[G4 Android Development] TheBÖB:
1. Found the v20p and gonna run that a few days to see if I run into the same BSOD or not

3. Thx for the pointer, figured it out.

Attached is my dmesg file. When I try

adb shell cat /proc/last_kmsg > kmsg.txt

I get the following. Will try to see if I do anything wrong and correct if possible

C:\sdk>adb shell cat /proc/last_kmsg > kmsg.txt
/system/bin/sh: cat: /proc/last_kmsg: No such file or directory
[G4 Android Development] TheBÖB:
I just realise that I did things in the wrong order (already installed previous modem/bootloader). I will reinstaller the latest bootloader and if I get a crash, export all logs again. Waaaaait for it.....
[G4 Android Development] Netsab:
I just flashed last bootloader/modem as you recommanded but what can I expect from this update (stability? Performances?)
[G4 Android Development] tulen_kobi:
Better stability, the code is made for the latest modem and bootlader.
[G4 Android Development] Netsab:
Could that explain my wifi was sometime freeze and had to reconnect to work?

Edit : it seems it's not, too bad...
[G4 Android Development] kino13:
Modem issues...

First of all sorry for the off topic, this is not related to the rom really.

I was preparing my phone to install it (I am currently on a Lineage official from last month):

-I have the latest twrp

-I have installed the boot-modem 29 package for the H815, and I have rebooted after it. I have not yet installed the rom.

After booting, I seem to have lost the mobile network (3g/4g/lte). I have voice service but nothing else.

Has anyone had any similar issue? I am looking through the forums now for a boot and modem v20 to apply again to see if that fixes it.

Thanks.
[G4 Android Development] Jirrick:
You have to match ROM and Firmware - either use v20 and Official, or use v29 and Unofficial.

Flashable modem can be found here: https://host.llamasweet.tech/genesixx/misc/
[G4 Android Development] kino13:
Thanks, I wrongly assumed they would be compatible as there was no big change in the android version. Will try and report back.

---------- Post added at 02:07 PM ---------- Previous post was at 01:18 PM ----------

Didn't work reflashing v20... starting to panic a bit.

I am gonna make a titanium backup, and go full unofficial... if I can't go back, I can try go forward, still something looks wrong with the whole situation.

---------- Post added at 02:31 PM ---------- Previous post was at 02:07 PM ----------

After flashing the rom, it took two seconds for the phone to connect correctly. Seems I am gonna have to leave the official builds...

Regards
[G4 Android Development] tulen_kobi:
It is in the same folder as v29. Here phone works fine. But do a full wipe when moving from official.
[G4 Android Development] tulen_kobi:
Deleted
[G4 Android Development] kino13:
Well to sum it all:

A full wipe and install of the unofficial rom worked correctly. Once I had a setup that was fine, I made an image of the system and wiped again, reinstalled the boot and modem, and reinstalled the official Lineage again. It worked correctly, which means there was nothing wrong with the phone but something just broke in the install. I have been dirty flashing the Lineage since the cyanogen days, who knows...

So, I tested the unofficial but the performance was awful in the scrolling. Really awful. I know you have to leave the rom for some time to "settle down" and let it run all the processes but something was definitely wrong there, maybe the scheduler is too aggressive to keep battery?

At the end I went back to the official lineage although I had to still wipe the system to make it work.

I guess I will try again in a few months to see if there has been any change.

(I mean no disrespect to the devs, to whom I am thankful for their work, this was just my experience with my phone)

Regards
[G4 Android Development] kessaras:
he uses titan and yes its tuned to be more battery friendly. but wth , users have access to change that. dont you believe that at least this much you should do it on your own ?

can't you set it up the way you like it ? you know , the default setting can't always be "liked" by all people... every individual has to at least tune his phone the way he likes it.

EDIT:

and besides, this is the only LOS you have up to date to flash. So you like it or not, you will flash it and spend your time to tune it the way you like it. Otherwise stay outdated :P
[G4 Android Development] kino13:
Until my nexus days, I messed around with roms, updates, kernels, schedules... you mention it, I most probably have tried.

I am tired of all that. I usually get two days of time from the battery as it is without changing anything and I am more than happy with its performance (I don't have social media, nor youtube addiction, but I use the gps and mailing a lot).

I will repeat myself: the scrolling was awful in a phone with six ****ing cores. That is unacceptable for me, and I have gone back to the same rom I had.

I don't wanna mess with schedulers, task managers and ****. The phone has enough power and enough battery for my needs. And I know a lot of people got burned by the bootloop issue but for me is the best phone I have ever had. I just don't want it to die because of lack of support and security patches.

Regards
[G4 Android Development] kessaras:
good for you. until you get hacked , enjoy :)

but dont expect me to get the kernel parameters higher to satisfy the other side and dissatisfy another side of people.

after it gets smoother , other will complain for battery drain. So.... Good for you and i dont really care what rom you use :)

me i just advised you + warned you about your security since you like being outdated. Enjoy ~
[G4 Android Development] kino13:
Seriously? Have I said at any point that you need to change it to adapt to my needs?

I have clearly said that "in my phone the scroll is awful". Your experience may be very different to mine, but I have not said at any point that I expect the rom to be changed for that, that is just my reason for going back.

What makes you think I like being outdated? or that I don't value security? why do you think I use a custom rom at all?

Usability is a factor as well, official Lineage OS is one month old at the moment, so I am updated. In a few months obviously I will have to reconsider and review my options again, but for now you can keep the "crying wolf" for yourself.

(really, what part of "I am thankful to the devs" you didn't get?)
[G4 Android Development] kessaras:
Understood.

But maybe it's not your phone. In any case , If you ever feel like it and update and if you still lag while scrolling , share a logcat. It may help to check it ;)

Ah, and framework side yes it's up-to-date . But kernel ? Los official kernel is 2 years old just like the blobs used there too. So it's partially secured.
[G4 Android Development] kino13:
Please understand that I am not even saying that it is a fault with the rom, maybe is some piece of crap of a program that I am using or some config combination that does not suit it. It is my specific use case. All other parts I tried, even if only for a day seemed to be fine.

As I said I will stay with this for now, and check back in the near future.

Thanks!
[G4 Android Development] raptorddd:
agree i even tweak it more for battery. use differnt schedule ect . i think he only needed to raise the input boost fewq core 1 from 600mghz to 1200mghz . i play with it. start from 600 then going up till i find it the right spot. this is using FB app and messenger wich requires more power am sastisfied.
[G4 Android Development] TheBÖB:
"Finally" I had a BSOD again. From the screen I could write down the following (there was more, but it's hard to read, and this seemed the most appropriate):

Sybsystem Crash! : modem (subsys-restart: Resetting the SoC)
DemiGod Crash Handler: Subsystem Crash! : modem (subsys-restart: Resetting the SoC)

Reset Reason
reboot_reason: 0x6d33002 gcc_reset_status: 0x0 pan_pan:0x2000000200a0

Error in file lte_ml1_dlm_ca.c, line 8567
Error message: Assert ca_data_ptr->scc_id_conv_table[cc_id_in -1].tbl.valid = TRUE failes;

Again, I couldn't find a last_ksmg file, but here is the dmesg file from immediately after the reboot
[G4 Android Development] polfrank:
Hello! I started using this ROM, and I wanted to report a thing or two. Unfortunately, I cannot take a log right now.

The problems are:

Gallery app cannot open any photos. It creates the previews but after some seconds it behaves strangely and crashes.

Also google photos cannot delete photos from sdcard even if it is granted access through permissions.

Can anyone reproduce these? Thanks!

Edit: Never mind, the gallery problem was fixed after a reboot. Just trying to fix the permission thing of google photos.
[G4 Android Development] measle:
SafetyNet

Can anyone help me to explain how to get this ROM to pass SafertyNet check : it fails ctsProfile. with Magisk installed or without.

Thanks
[G4 Android Development] tulen_kobi:
About the last_ksmg file, it is now at /sys/fs/pstore/console-ramoops-0

I uploaded the new build that should fix this issue. Please report back if you still have this problem.

The new build is from today and it contains updated Titan and LOS code.

I highly recommend taking TWRP backup before flashing. You can safely dirty flash, no need to wipe.

EDIT: Anybody interested in H811 build?
[G4 Android Development] TheBÖB:
I've had no more BSOD's since the last one, but thx for the location of the file. If needed, now I know where to find it.

Installed the latest version, great job!
[G4 Android Development] TheBÖB:
I'm getting incredible battery life with this version. I disconnected it from the charger 25h ago and I'm still at 50%. Wifi and 4G are disconnected during the night, NFC and Bluetooth are always inactive. GPS was running all the time.

Shortly after installing it, I've had a spontaneous reboot (sorry, no chance to export logs at that time) and issues with Google logging me out. Completely stable ever since, so I'm not gonna blame the rom :p
[G4 Android Development] Simon360:
Installed the ROM today, so far so good just wondering if there is (maybe i missed it) a possibility to apply themes? or if its coming?

Thanks so far for keeping us up to date tulen_kobi
[G4 Android Development] tulen_kobi:
I can try to add support for substratum themes. As far as I know the cm themes are discontinued.
[G4 Android Development] Simon360:
It is what it is, it's not a priority. Saw a review on youtube of the "stock nougat" where he applied a black theme and it looked really smooth.

Running the rom now for 2 days and nothing but love, no errors, no random reboots, battery life has greatly increased, snappy all around.

Very very well done sir!
[G4 Android Development] TheBÖB:
Two spontaneous reboots and one BSOD later...

The reboot both happened when battery was below 30% (I think between 20 and 25%) and I wanted to take a picture. The phone rebooted and battery was displayed at 3% after the reboot. The second time it took me a while before I could charge and I saw it at 8% when I plugged it in. Sadly, neither time I had the occasion to export any logs.

Just a few minutes ago, I had a BSOD. I made a picture with my tabled and managed to export logs.
[G4 Android Development] tulen_kobi:
The first look more like battery problem. As it fails deliver enough energy for the phone. The percentage drop is normal on old batteries.

I will look into the modem crash logs, thanks for them.
[G4 Android Development] oldsmartphone:
Yesterday I flashed the ROM. Perfect!

I also flashed the bootloader and the modem. How do I know if bootloader and modem have been updated successfully?

Current baseband version is 992FAAAANAZM-1.102416.2.104734.1

Sequence:

1. full wipe

2. flash bootloader + modem

3. flash ROM

Small note: If you disable location permission of playstore app, the playstore does not work anymore and the playservices crashed off. Workaround: Enable location permission for playstore app and disable location permission in settings. But i think i saw this behavior already in another thread.
[G4 Android Development] toub74:
Hi, thanks for the work on this ROM! Is a dirty flash over the latest LOS (November) a risky business or should it work?
[G4 Android Development] Netsab:
I already answer that, it seems to be risky and should not work.
[G4 Android Development] tulen_kobi:
You can't flash over official.
[G4 Android Development] toub74:
Sorry, my bad, I'm mixing up one ROM with another. Dirty-flashing a titan kernel over a standard is a silly idea. Now, do I have the courage to go through a full wipe again, that's the new question but only I can answer... :)
[G4 Android Development] digitalfree:
Try Footej Camera. For me, this one works best at the moment. I tested nearly all apps in the store and from a photographers point of view this is the only one I can recommend.

UPDATE: Footej Camera doesn't work with the unofficial build on my phone. Worked fine on the official one.
[G4 Android Development] digitalfree:
Hope this is the right place for this: On my phone the option to(de) activate the Sync for Google Apps is missing.

There is an other Issue with Google Keep. It is not possible to invite Coworkers. It tells me to enable Autosync but there is no such option. On my Nexus 4 running Lineage it is working and if I invite someone on this device, he is shown on the G4 a moment later. So Sync should work.
[G4 Android Development] digitalfree:
Sorry for the probably stupid question. I am kind of new to the topic. I managed installing you Los build but Kernel says nothing about TITAN. It is 3.10.84-ga02d85b

So I probably did something wrong? It was difficult for me to find and collect tutorials how to get things done on the G4. Probably I have overlooked something? If I have the wrong Kernel installed this might be the problem for the issue decribed above?

Thanks a lot for help and I am very thankful for the work! Happy New Year folks.
[G4 Android Development] tulen_kobi:
The kernel gets installed together with the ROM. However, you probably installed different ROM, probably official LOS as your kernel version is 3.10.84 and should be 3..10.108. The latest build is from 9th of December.
[G4 Android Development] digitalfree:
I just used the OTA Update function. Last update was 11.07.17. Thought I downloaded and installed this build. So there is something to do today, hmpf.

Thanks a lot
[G4 Android Development] Jirrick:
Hello, I'm trying to build rom like this. How to change kernel in build? I only know how to attach vendor files from github. Can you post local manifest used to build this rom?
[G4 Android Development] tulen_kobi:
Everything needed for build is in the Suicide Squirrel repo here: https://github.com/Suicide-Squirrel

My local manifest is here: https://github.com/Kobtul/g4-lineage-localmanifest

The cm-14.1 branch of device tree is not tested recently as all effort is to make Oreo AOSCP stable.

If you want to help us to make ROMs better, we have a developer telegram group where I can add you if you want. You can get quicker responses there. PM me if you want.

(You can write in Czech in PM :) )
[G4 Android Development] digitalfree:
I downloaded an installed the unofficial files now. Seems to work fine so far. I am just wondering if something went not completly right, 'cause I get an orange Typo-splash-Screen on Restart with an unlocked warning. Thought the file Modem_and_Bootloader_no_splash.zip would avoid this? Or did something go wrong? (Maybe I used the regular "splash" one first only and afterwards flashed all three files in a row.... childs were crying and stuff like that... was not a good moment to focus o stuf like this %-) )

Just wanted to make shure everthing is installed the right way before I start to configure everthing new and clean

thx
[G4 Android Development] CavacoIT:
Can I install this ROM over MM custom rom? Or I have to install stock rom before? Thanks

Inviato dal mio LG-H815 utilizzando Tapatalk
[G4 Android Development] tulen_kobi:
That is just cosmetic thing, if you do not like it flash the no splash variant.

No, you need to do clean flash. Follow the instructions in OP.
[G4 Android Development] Schwarzie2k:
Do i read this corrently as "a Android 8 Rom is comming soon[tm]"?

Also, if the riginal maintainer of the G4 LOS bailed, any chance that you become the next one?
[G4 Android Development] tulen_kobi:
New build

New build is UP! It contains security patches from December.

Also, there are a lot of changes in device tree so it may be less stable than the last one. As always, make a TWRP backup before flashing.

Please report bugs if you encounter any.

I build also for h811 now, so builds for h815 are in folder h815 and same for h811.

EDIT:

Bugs:

No boot animation

Some sensors do not work.
[G4 Android Development] gippus:
App Pressure Tracker not working - Sensor Error

and BootAnimation all black

:(
[G4 Android Development] tulen_kobi:
Switch your SE Linux to permissive to temporally fix the problem. Or revert to the previous build or restore the TWRP backup.
[G4 Android Development] kessaras:
Do a logcat , copy paste the code below and open your app and do what you do.

adb logcat|grep denied > logcat.txt

And send it here so we add the missing sepolicy because someone was in a hurry to change the selinux to enforcing. I wonder who ??

If you are on Windows and windows don't understand the grep command, do the logcat in phone terminal.

logcat|grep denied > /sdcard/logcat.txt
[G4 Android Development] gippus:
Tes i have file logcat.txt.

What do I have look for?
[G4 Android Development] tulen_kobi:
Please post it to hastebin, but generally the lines with: avc: denied
[G4 Android Development] digitalfree:
Quick Charge does not work.
[G4 Android Development] ralawa:
Hi,

I just switched from official LOS to your last unofficial release and I'm very happy to have an up-to-date old G4.

I don't have any issue right now. If I find an bug I will report it here.

Thank you very much for your job.
[G4 Android Development] deltabetacooper:
Auto rotate, or rotation of any kind for that matter, is not working for me on the latest build for the H811.
[G4 Android Development] dr4gony0shi:
Auto rotate and reading music files with a music app (stock and backplayer) doesn't work on the latest build for the H815. Rollback brought back everything to normal. I didn't make a logcat, sorry.

Also, I can't hide the navbar in any unoffical release, the option is remplaced with a led brightness option (on a G4???).
[G4 Android Development] Jirrick:
Posting new builds on behalf of OP [MENTION=976442]tulen_kobi[/MENTION] : https://drive.google.com/drive/folders/12nZRUG3CZZsoO4B-ISvfcivwyGZuzwQX

Please make sure to do a full TWRP backup before installing this build just to be safe. Reverted to older device tree to fix the selinux issues. Still trying to figure out what was wrong with previous build.

EDIT: H811 build is up. Please note that this is my first build for H811 which I cant test myself.
[G4 Android Development] tulen_kobi:
Thanks [MENTION=3783862]Jirrick[/MENTION] for building the last build for me. I updated the OP with the link to the new build.

This build is based on the old variant of the device tree and should not suffer any major bugs. I currently do not have the hardware to build on so this is why I asked [MENTION=3783862]Jirrick[/MENTION] who is now helping us.
[G4 Android Development] lbnd:
Thanks for the build! Clean flashed, and I can say that several quirks (such as broken share menus, cameras not having access to the gallery, no boot logo and overall lagginess) and one major problem (compass not working and unreliable, jumpy gps) are gone. Sorry for not providing logs for the earlier build despite said problems, going through a quite busy time.
[G4 Android Development] Jirrick:
Thats OK, the issues are reproducible so we can get the logs ourselves anytime.
[G4 Android Development] Jirrick:
I've updated my Drive folder https://drive.google.com/drive/folders/12nZRUG3CZZsoO4B-ISvfcivwyGZuzwQX with new builds containing January 2018 security update.
[G4 Android Development] :
good job! :)
[G4 Android Development] TheBÖB:
I had been running the version without the boot logo ever since it was published and now the 2018-01-14 since yesterday and I've seen none of the BSOD's I had before.

Thank you all for your work to keep my phone up-to-date :good:
[G4 Android Development] digitalfree:
this happens sometimes. active screen resizes
[G4 Android Development] SmokeTooMuch:
That's Lineage's one hand mode, isn't it?
[G4 Android Development] digitalfree:
lol, shame on me. it's not a bug it's a feature. didn't know that there is such a thing.... girls mode. ??
[G4 Android Development] tambukey:
If you didn't figure out how to get into/out of that swiping across the navigation buttons is how it operates. I remember the first few time I accidentally did that and I said the same thing about it being a bug.
[G4 Android Development] Wuddelchen:
Say I still have the last official LOS build installed, do I need to do anything besides the wiping, resetting and flashing the new unofficial build, especially the modem? What is this about using the "nougat bootloader"?
[G4 Android Development] Jirrick:
If you are on official LOS you need to do complete clean flash. Steps:

Do a backup

Flash V29 (nougat) bootlaoder and modem

Flash new TWRP

Do a full wipe

Install ROM and GAPPS

You can't dirty flash because different build signature (official is signed, this isn't). You must flash new bootloader because this build is using parts from beta Nougat firmware