yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Monkeypox95:
Hi kessaras,

You're making such a great work around our poor G4.

Thanks so much !

I have one question about your last build on Oreo.

Does the first page and the download link "Download ROM" are updated? Indeed, the website refers to the 27th December as your last upload and not the 29th as I think it should, no?

Thanks anyway ! ?
[G4 Android Development] kessaras:
its not built yet. its building now. Started clean builds.

in about an hour.
[G4 Android Development] niccotaglia:
Is this new build going to be stable enough for daily use?
[G4 Android Development] Monkeypox95:
It's going to be a stable version so I guess for daily use also... Just can't wait to test it ?
[G4 Android Development] Minto107:
Yep but sensors doesn't work

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] niccotaglia:
Didn't he say he made a build with everything working?

Edit: I just saw the part where he said he still had to fix sensors
[G4 Android Development] Minto107:
Read again, kessaras mentioned that sensors still doesn't work

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] kessaras:
Ok. So we this now we have one of the most stable Oreo 8.1 roms out there since it's new and only a few have made it this far. If you have other phone you may know this already.

Enjoy. I'm going to enjoy these days too and I will fix the sensors and the flashlight tile next week.

Best wishes :

[youtube]g-OF7KGyDis[/youtube]
[G4 Android Development] Monkeypox95:
Can someone tell me which version of gapps did you flash with this latest build ?

I flashed and it's booting (i'm posting under Oreo :) ) but my sim card is not yet recognized after a full wipe.

Edit : Sim card OK after a reboot. Still want to know about the gapps ^^'
[G4 Android Development] Bleuzen:
I tryed out the current build:

Camera works now. Saving pictures and videos, all good.

Only thing I noticed is: it takes up to 6 seconds to open sometimes.

(I guess we need logs here, but since I'm relative new to Android, I currently not know how to get the log of the camera app..)

Another issue I found:

I can't shutdown the phone when it's charging. It shuts down, but reboots after this into the system without pressing the powerbutton.
[G4 Android Development] kessaras:
G4 is like that. When it's connected it boots. Can't change that.

The first time when it boot it takes 6 seconds in order to load all drivers. They are a mix of many phones but they result on a top quality and I can improve it even more.

And no need of logs. I know what I have to fix and I will take it slowly because I'm too tired. It got the best out of me to take g4 to this level of performance.
[G4 Android Development] Lurensu:
Thank you for your awesone job man!!

The G4 is still alive thanks to you!
[G4 Android Development] obvious:
New build is beautiful. Lots more stuff working. Amazing work Kessaras and the team.

Only thing I've noticed straight away is being able to hear myself through the phone during calls.
[G4 Android Development] Bleuzen:
I know that it boots when connecting a power cable. But I meant shutting it down. When having Lineage 14.1 installed, I can shut down the phone with power cable and it stays off after this.

When having the latest aoscp build installed, it directly reboots after shutting down when the power cable is in it.

Then this with the camera is ok. I just found that this seems a bit slow, but ok.. Thanks for making it clear :D
[G4 Android Development] Minto107:
I can't get SIM to work goddamn :D tried rebooting and all that still morning. Will keep trying, I like Oreo haha

---------- Post added at 10:46 PM ---------- Previous post was at 10:44 PM ----------

Nvm rebooted again and it worked :D
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
[MENTION=5461026]kessaras[/MENTION]

Thank you very much. I'm just testing Oreo. Works great, but as expected same camera crash.

Log is attached.
[G4 Android Development] steadfasterX:
Thx that someone is aware that even when kessaras is doing 98% of the work that there are more ppl involved making this a great project ;)
[G4 Android Development] obvious:
Struggling to find any problems at all.

Here's a log of camera opening a bit slowly. Prob sensors though :)
[G4 Android Development] Usraek:
I regularly got 4-6 hour SOT when I was running a MM Rom (it was a mix of roms I modded). Now with N G6 H-Rom I'm getting 2-3 hours. Same battery, daily driver and whatnot, no changes. Even with a LP rom I usually got over 4 hours.

I wonder why the discrepancy? Perhaps Nougat and Oreo are more processor intensive? My screen isn't even my largest battery drain.

I'm curious to try this Oreo, I definitely appreciate all the work you're putting out there for this community, but I may need to drop back to MM for battery life... Though I do have a spare I can swap.

Hmm..
[G4 Android Development] Monkeypox95:
Is the full wipe and flash of the latest build delete TWRP recovery? It may seems a weird question but when I hold down Power+Volume Down and release the power button on the LG logo for 1 sec and the repress Power+Volume Down I access to factory data reset not TWRP.

Is this normal?

Edit : Ok I just needed to enter yes twice and it got me to TWRP. But I really would like to know which gapps can I flash without getting error code 20 wrong version of gapps 7.1 or 8.0 instead of 8.1, please help ! :(

Edit 2 : I found the appropriate gapps it's all good. If anyone need them let me know.

The only issue so far is the randomly no SIM card found. Sometimes it's ok and sometimes it's not.

Thanks in advance.
[G4 Android Development] kessaras:
relax i said i know what i have to fix. enjoy it and just watch for updates when you got time to.

Sonsors fixed. Will rebuild later during the day.

https://gerrit.cypheros.co/#/c/CypherOS/device_lge_g4-common/+/2379/

as said already relax and enjoy. everything will be fixed.

About camera,

there is no problem with it, its just asking for tof sensor (added for the next build).

The chromatix libs its looking for if you take a log on boot, they are not even from this phone.

I will add them but its not something that the hardware can take advantage of.

They are stupid errors left now to fix that some libs are asking for and even if they find them they wont change anything for us.

The quality is top, they will only reduce the load time because it won't look for them.

One thing that maybe improves things a little is if i experiment with the media profiles and add any profile more graphic demanding and increase slightly (really slightly) the quality of the images.

As said, !! again !!, relax and enjoy this and only look for any update when you have the time to.
[G4 Android Development] nigxxx:
Keep up the good work, cant wait for stable Oreo build. Take your time
[G4 Android Development] kessaras:
its stable... since yesterday.
[G4 Android Development] nigxxx:
ok, so in a few days we can expect rebuild ZIP file, with this new updates and bug fixes. nice
[G4 Android Development] codeworkx:
It should boot into charger mode. Healthd is responsible for this.
[G4 Android Development] nocio:
Mate, thank you so much for your hard work. I didn't know that here is someone who knows so much about building roms and fixing problem, and yet who is started building just few months ago.

Because of you i'm starting to love again more and more G4.

I really admire you and appreciate for hard work on this old, yet stil powerfull, device.
[G4 Android Development] deejaymarc:
Hey. Will you help me with correct version of gapps for LG G4, i already tried with 3 versions and every time code 20 error.

thanks
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
ARM64 pico works (most probably others will work, too, but I use pico):

https://xdaforums.com/chef-central/android/unofficial-opengapps-8-1-arm-arm64-t3720148
[G4 Android Development] Monkeypox95:
Don't worry, I relax and enjoy the latest build. :)

I wonder if the no sim card issue is related to the sensors in any way ?

Keep up the good work Kessaras ;)
[G4 Android Development] obvious:
8.1 arm64

See if these work. Seem to be updated daily http://test.wloot.club/?dir=opengapps/20171230/arm64
[G4 Android Development] caponex:
Hi guys, i did install the nougat rom and so far everything is OK, love it. I wondered however whether it is possible to alter the navigation bar buttons like the stock. I found it very useful to have that pulldown button and it would be great to have it here too. Also in case i decide to go back to the stock nougat(the one that [MENTION=5461026]kessaras[/MENTION] provided) do i need to do something special or flashing with twrp is enough? Thank you
[G4 Android Development] kessaras:
Wipe data and flash.

Ask for features in aoscp google+
[G4 Android Development] deejaymarc:
Thanks [MENTION=7045718]tqwzUX6fn39GZMEzSnDF[/MENTION] and [MENTION=239639]obvious[/MENTION] 8.1. pico works fine. :D
[G4 Android Development] Frazzy:
Wow kessares, this runs perfect. You are madman working 24 hours a day to supply us with the best possible G4 experience.

Can't wait for the sensor update.

One other thing I noticed, I'm sure it's on your list already, is the power button can't find the camera and it's impossible to disable the shortcut. At least I can't find it.

Thanks again for your persistence!
[G4 Android Development] kessaras:
Settings , down below , in the gestures

And it's working fine here.

The only things I have to fix next week not now, are the flashlight tile with a shim and check why rarely on reboot the sim is not connecting and needs to reboot again.
[G4 Android Development] Frazzy:
Ok, found it. Didn't look in the correct place. It's under system.

The camera error sometimes occurs to when I try to open the camera with the shortcut.

I'll wait for the next release with the sensor fixes. Maybe it's related.
[G4 Android Development] straightup:
wow so to understand that the only problems with Oreo are the flashlight and the random SIM detection? Nothing else?
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
Screen orientation (landscape mode) doesn't work for me. Anyone else having this?
[G4 Android Development] Frazzy:
All sensors aren't working in this build. Wait for the next build.
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
Acc. to my understanding from [MENTION=5461026]kessaras[/MENTION] post at 8:15 ( https://xdaforums.com/g4/development/g4-cypheros-t3680102/post75010854#post75010854 ) sensors are fixed in current build (2017-12-30 9:53 -> http://droid.binbash.it:8008/aoscp/oreo/h815/ ).
[G4 Android Development] kessaras:
Ye. But no big deal. It's just that I want to enjoy this week a bit. I'll fix later in the next week

Ah I hadn't test orientation. That too. For later.

Ye sensors are fixed.

EDIT:

Damn, this didnt work.

https://github.com/Suicide-Squirrel...mmit/bacaa929b4ca6b7eaacb3a56db86db3e898f2055

sensors config folder is missing lol. will fix now that

__

Sorry. corrected it and rebuilding.

https://gerrit.cypheros.co/#/c/CypherOS/device_lge_g4-common/+/2382/

[MENTION=7045718]tqwzUX6fn39GZMEzSnDF[/MENTION] will work now. ill build now new.

i had forgotten the damn $ dollar symbol there :D
[G4 Android Development] A_Kirsh:
I've been using the Oreo build for a day, and it's mostly great. What's missing for me is the battery stats tile (or maybe it was removed in aosp?)
[G4 Android Development] kessaras:
ah dont ask for missing things now. oreo is new. not even the maintainer list is there , lol.
[G4 Android Development] A_Kirsh:
OK, I'll wait then.
[G4 Android Development] kessaras:
release date of oreo 8.1 (stable) was 1 or 2 weeks ago.

8.0 was developer preview to fix the million bugs it had
[G4 Android Development] Lurensu:
I think it was removed in Oreo, now there's only the battery saver tile
[G4 Android Development] kessaras:
re-added todays build. in 10 minutes h811 too.

With sensors fixed. Sorry it was a little typo error i didnt notice
[G4 Android Development] Frazzy:
I dirty flashed the latest build and can confirm the sensors are working. Great job!

Can't wait for the January build. Have a nice weekend and a great New year's party!
[G4 Android Development] Lurensu:
Could somebody tell me how performances and smothness are compared to stock Nougat (v29a), please?

I'm just curious, my G4 is performing very well with Nougat and I don't know if I should try Oreo (I don't care about camera and other stuff, just about performance)...
[G4 Android Development] Frazzy:
Haven't noticed any difference in smoothness witch I mean positive.

Runs like you can expect from a kessares ROM and the extra Oreo features are great.
[G4 Android Development] kessaras:
Frazzy, on dirty flash Gapps survive fine ? Or we still have to dirty flash gapps too ?

Haven't tested on Oreo
[G4 Android Development] Termehansen:
Just dirty flashed and google play will not open, so guess it's not surviving.

What about advanced reboot menu? Also I maybe find home button a bit to "lazy" to pick up all my pushes - on the other hand I often falsely pushed it from keyboard before (on RR).

Also a big thanks from me (and deep respect) for all your hard work.
[G4 Android Development] niccotaglia:
So now everything works except for the flashlight tile? Will third party flashlight apps work?
[G4 Android Development] Frazzy:
Play store opens fine here. Did you reflash Gapps after flashing the ROM update?

Looks like the home "button" got smaller in Oreo. You have to get used to it. I like it better this way because the accidental presses you mentioned to.

Advanced reboot is a mod. I thing it will be added later? I use reboot to recovery from the play store. Perfect solution while advanced reboot is missing.
[G4 Android Development] kessaras:
We will see along the way what we will add. For now as I said earlier Oreo is too new to expect features already. Advance reboot menu ok it's one thing will be added for sure.

Yup work. And if you have root you can also fix the tile. Me I don't root yet.

There is a playstore app that can fix it until I fix it.

It's called: flashlight tile fix kenzo
[G4 Android Development] Minto107:
Home button is smaller only in portrait orientation, in landscape(ie youtube) it's fine

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] Frazzy:
I tried a third party app and it worked
[G4 Android Development] Termehansen:
Yes flashed gapps and still problem getting google play store to work... Guess I'll do a reflash of all.
[G4 Android Development] Minto107:
Well mine doesn't boot any more after dirty flashing newest update. **** this sh1tty phone ffs. It pissed me so damn off during those last days

Sent from Galaxy Tab A10 with 7300 battery ;)))

---------- Post added at 08:04 PM ---------- Previous post was at 08:00 PM ----------

Nvm booted after pulling it's fing battery off

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] kessaras:
You are a special case always ?

Dirty flashed over what ?

++++++++++++++++++++++++++++

Latest news:

Official will launch on January

https://plus.google.com/+ChrisCrumpSirhc/posts/indqcALjyuD

We are ofc in the supported devices list. We made it in time for everything
[G4 Android Development] Minto107:
Yeah I'm always that special guy haha. It's pretty damn laggy right now but it works, sensors work well too ;)

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] tqwzUX6fn39GZMEzSnDF:
Nice. Will this require clean flash?
[G4 Android Development] Minto107:
I'd say it will recommend clean for sure ;)

Sent from Galaxy Tab A10 with 7300 battery ;)))
[G4 Android Development] niccotaglia:
What versions of Magisk work on 8.1?
[G4 Android Development] kessaras:
well..... i don't know :D

it's the first time we get official aosp since years (more than 12 months for sure) , lol
[G4 Android Development] Frazzy:
If you are on Android N I'd do a.clean flash wiping data and system. If you are on a O ROM you can dirty flash. It didn't give me any problems
[G4 Android Development] Minto107:
Did we have official version in the past? Didn't even know that [emoji14]
[G4 Android Development] Frazzy:
Will the official status mean we get ota's to?
[G4 Android Development] kessaras:
yeah.

here http://get.cypheros.co/

but i dont know if it boot :D

when AOSCP server will start auto building it in schedule, yes it will boot. You are already running on it now.

yeah.

Btw , i could schedule ota's too, but i'm bored to edit the ota apk lol

yes always latest. can't rollback time, lol.

Latest is always with new fixes comparing with the previous
[G4 Android Development] niccotaglia:
Which build on the download site is the one with the fixed sensors? Is it the Dec 30 one (the latest I can see)?
[G4 Android Development] obvious:
I can't relax. I enjoy testing new stuff too much :)

Managed to catch a null pointer exception / seg fault while testing Google maps navigation.

Attached log.
[G4 Android Development] Minto107:
Yep ;)
[G4 Android Development] niccotaglia:
Which build has the fixed sensors? Is it the latest one currently on the server or is it not live yet?
[G4 Android Development] RogerBoy123:
If I update:

1. I always wipe Cache + Dalvik/ART Cache,

2. I flash the updated ROM (I wipe cache + dalvik/art cache again, don't know why)

3. I flash the latest GApps (I wipe cache + dalvik/art cache again)

4. And finally I flash Magisk for root. (I wipe cache + dalvik/art cache again).

5. I reboot.

This method for updating has never failed me if the update is simply an updated build of the same ROM with the same android version.

But if I update to a different ROM and/or different Android version, then I do a clean wipe (System, Data, Cache, Dalvik/ART Cache), then I do step 2 - 5. :)
[G4 Android Development] Minto107:
That's my exact method man ;) years of flashing and practise ;) my G4 is just f***ing with me [emoji14] I'm glad it booted without needing me to do some magic or starting from scratch(I'm so pissed at this phone that I'd most likely would go back to my beloved S3)
[G4 Android Development] RogerBoy123:
If I would give you a tip, I'd say to NEVER dirty flash, cause I never tried and would never risk it. Always go for at least cache + dalvik/art cache for small updates and all of us will be fine. ;)
[G4 Android Development] kessaras:
haha, nice !

Actually the safe method is wipe system only and dirty flash rom and gapps.

The only changes if i have done any , they would be in boot (ramdisk or kernel), system ofc course.

Changes in ramdisk only lurk in at a very early state of development when i make many changes. Now its ok.

Data only needs wipe if i say so. I'll warn for that or tell you exactly which app to wipe its cache from settings.

Dalvik not important. they get auto-re-built when there is a change in an app
[G4 Android Development] niccotaglia:
Is the aroma package (from the Oreo Gapps link) going to work well? Or should I use a smaller package?
[G4 Android Development] kessaras:
too many questions today, lol.

it should work. [MENTION=5545101]steadfasterX[/MENTION] has updated his twrp just fine.

the only issue with aroma installers sadly are at my stock based Freedom rom because its a huge aroma installer and needs twrp to have the graphic lag fixed
[G4 Android Development] RogerBoy123:
Guess I'm trying too hard to be 'failproof' then... :eek:

Anyways, a huge thanks and big respect to you and your awesome development! Will be trying Oreo once you released the planned rebuild. Happy new year in advance! ;)
[G4 Android Development] kessaras:
nice log. this kind of logs are useful.

it just happened randomly when u were in maps.

12-30 19:06:37.054 F/DEBUG (17547): pid: 11227, tid: 11317, name: thermal-engine >>> /system/vendor/bin/thermal-engine <<<

12-30 19:06:37.054 F/DEBUG (17547): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20

12-30 19:06:37.054 F/DEBUG (17547): Cause: null pointer dereference

thermal engine crashed. will fix it but after we all enjoy these days. next week ;)

Why not me ? ?

Long pressing doesn't work. But that's google problem or launcher problem . We will fix it in time.

But Using the button it works.
[G4 Android Development] Frazzy:
Can someone, not kessares ?, try to add a website to the home screen using Google chrome? It isn't working on my phone.

Edit: Isn't working with chrome beta to.
[G4 Android Development] Minto107:
Yeah never dirty flashing is really good. ROM always work that tiny bit better and you're sure it's going to work 100%
[G4 Android Development] niccotaglia:
For some reason the rom doesn't recognize the carrier (The SIM works, it's just the carrier name that doesn't work)
[G4 Android Development] cartman_73:
I'm using 15.1
[G4 Android Development] Minto107:
For me it shows carrier as unknown and it doesn't show carrier in QS or on lockscreen but in same place as you are I can see it
[G4 Android Development] niccotaglia:
For me it doesn't show anywhere. Maybe the ROM doesn't like 3 ITA
[G4 Android Development] Minto107:
FYI advanced reboot is available in this ROM
[G4 Android Development] obvious:
Where? Can't see it
[G4 Android Development] Minto107:
Hold reboot option. It'll ask you first then it's available after holding reboot option ;)
[G4 Android Development] obvious:
Nice :)
[G4 Android Development] KingKron:
Can't get more than 2 pics before phone crashes. Have to pull battery to reboot. Happened 4 times.

Can send longer logcat from before crash if needed
[G4 Android Development] AlaskaLinuxUser:
Is that with flash on or off?
[G4 Android Development] KingKron:
Auto
[G4 Android Development] AlaskaLinuxUser:
Does it happen with flash turned to off?
[G4 Android Development] KingKron:
Flash off it takes pics but speaker makes odd sounds like distortion.
[G4 Android Development] AlaskaLinuxUser:
Just to be clear, with the flash off the phone can take many pictures, but makes an odd sound.

With flash on, after 2 pictures it crashes the camera app.

Correct?
[G4 Android Development] KingKron:
That's correct
[G4 Android Development] codeworkx:
On N we had to do some hacks there.

When flash is set to auto and it gets fired there's a parameter "low-luminance" which will be set to "true". In this case the preview has to be restarted.
[G4 Android Development] kessaras:
really ? here is my log where i get 3 photos and in only a couple of seconds.

so.........

send it to repair center. i cant fix something thats fixed.

only flashlight tile is left to fix and a few small details, like the carrier name thats unknown and a crash of thermal manager when the phone is using gps and maps for some time

EDIT:

flashlight tile crashes the camera server : E mm-camera-sensor: sensor_pick_fill_expected_data:410ex_w:5312, ex_h:2988,ex_mode:1, ex_fps:30.000000, ex_clk:0, ex_ar: 177

carrier: E ConnectivityService: Carrier Provisioning Urls file not found
[G4 Android Development] Usraek:
Could anybody test the dark theme for me? I turn it on then as soon as I go back to home screen with button it resets, wondering if anyone else has this issue.

The theme is set in Settings -> Display -> Advanced.

Substratem is working, but it's more than I really want, I like the plain in-built theme.

Cheers,
[G4 Android Development] Termehansen:
Same here, other color themes seem to work though...
[G4 Android Development] kessaras:
Oreo 8.1 is 2 weeks, its new. Theme is even newer.

it may have some issues. for now.

keep yourselfs up to date and everything will get fixed.
[G4 Android Development] obvious:
Repeated forced camera flash working fine here
[G4 Android Development] bedencic:
sim not detected, any solutions?

using twrp 3.2.1 (n) 85

and latest oreo, with gapps provided
[G4 Android Development] Minto107:
Dark theme works correctly if you have DARK wallpaper

Just reboot. It'll detect sim after few reboots. For some 1 is enough, my phone needed like 3