yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] adamz667:
[MENTION=8902059]UndecidedCarlos[/MENTION]

Go try it by yourself and give it a chance. I'm using it for month or more and I'm really happy with it.
[G4 Android Development] morw:
You might already be aware if this: I felt the same way after flashing the official build and reduced the effect by setting window animation scale, transition animation scale and animator duration scale in the developer options to 0.0

EDIT: Sorry for double posting, took a really long time until the initial post was visible.
[G4 Android Development] #ApolloLiteProblems:
Bluetooth audio will be fixed if the G5 ever gets updated to O

---------- Post added at 09:42 AM ---------- Previous post was at 09:16 AM ----------

Gapps don't seem to work on the 30/1 official build. I tried 3 different versions and all had Google Play services not working. I'm back on the 23/1 build (28/1 gave me problems) and now Gapps are working. Using the Gapps from the OnePlus X guy now. Built 5/1.
[G4 Android Development] sberta:
Yes, that's why I said now

Gapps working for me in the official
[G4 Android Development] johansson:
Hey everyone! What about Titanium BU? Last time I tried restore my apps but it didn't work.. Only the data restoration. (I did a clean install at the time btw)
[G4 Android Development] ThePiGuy:
Is anybody else experiencing extreme battery drain? I have gone from 100% to 65% with 40 mins screen on time.
[G4 Android Development] johansson:
Hey first of all, good job on delivering Oreo <3

I got a status 7 error while installing the official build, how do I get rid of that pls??
[G4 Android Development] ThePiGuy:
Use the latest TWRP beta (go to the XDA thread hosted by steadfasterX)
[G4 Android Development] aha360:
Make sure when you transition to the OFFICIAL build, FLASH THE ROM, AND THE GAPPS PACKAGE, AND MAGISK IF YOU WANT ROOT.
[G4 Android Development] troullis2004:
[MENTION=5461026]kessaras[/MENTION] I got soft reboot twice the moment I connected the phone to opel intellilink via USB cable. After two reboots, I connected it again but it worked fine then. What should I do to get a logcat or something helpful for the bug? Thank you for all this great effort, the rom is super smooth.

To be more specific, the moment the android auto app started automatically after the USB connection, the phone soft rebooted.
[G4 Android Development] kessaras:
I can test that if I ever remember my account there. I used to use it when I thought it was useful.

If you can somehow reproduce the soft reboot when you connect to it, do that:

start a logcat and log in. When it will crash , the reason of the crash will be there.

I hope I can find my pass to test it on my own.

Edit:

Ah and those interested in N. I'm building it now

With January patches. Please keep a system backup before flashing this update , because the patches are for O originally.

If it doesn't boot simply restore system and report it to me to fix it.

EDIT2:

No reboot troulis. It log in fine.

If you still need any help in general to determine the cause of a reboot , just share a logcat
[G4 Android Development] ThePiGuy:
[MENTION=5461026]kessaras[/MENTION] I'm experiencing massive battery drain right now. Power saving isn't too bad but normal mode I got about 40 mins screen on time from 40% battery. Have you got any idea how to improve this?
[G4 Android Development] tambukey:
Check running processes in terminal with commands:

su

top

then use q to quit when you see the issue. Most likely something is running heavy that shouldn't, reboots normally fix that type of thing.
[G4 Android Development] ThePiGuy:
Ok thanks. I'm not rooted, so I don't have a terminal. Reboots haven't fixed it either
[G4 Android Development] tambukey:
For some reason I can't get to page 209 of this thread, XDA gives me a 404 error, but I am getting the emails with the text.

Without root, I'm not sure right now how to check. Can I ask why you don't root? To me being rooted tends to help a lot with troubleshooting/fixing issues. This is very useful especially when using a new rom.
[G4 Android Development] ThePiGuy:
Ok. This is the first custom ROM I have used so I'm new to all the troubleshooting. I don't tend to root though as I don't generally need/want rooted access and it's safer without.

I'll root later to see what is happening
[G4 Android Development] tambukey:
Got ya, for me last night i had a large battery drain due to rild using about 70%cpu. I think it was due to using ril control app and hitting the run button a bunch.
[G4 Android Development] ThePiGuy:
What is RIL?
[G4 Android Development] tambukey:
It's the Radio Interface Layer, its the daemon that runs for the mobile network. It's how your sim talks to your network. Words are hard, it's a required process and it has been giving Kessaras a beating since it doesn't always want to start on boot so someone made the RIL control app to be able to turn start/stop the daemon without having to reboot, but that app requires root.
[G4 Android Development] kessaras:
using adb from PC to communicate with the phone you can do many things without needing root. I'm not rooted either and I can debug everything just fine.

Huge battery drain is because of our batteries. Overall life of a battery is two years. Then it's starting to die day by day.

Here I have 6 hours sot and 1% drain during sleep. So I don't think it's the rom fault.

And ril app is unrelated to the drain.

Ril app of AlaskaLinuxUser is only a button to execute the stop start of the ril daemon. It doesn't have any background activity.

And I see that a lot here in g4. You are all concerned about the battery. Then go buy a new one. It's only 5 to 10 euro the official one and it's worth it.
[G4 Android Development] ThePiGuy:
The battery drain just seemed extreme compared to stock. I am using v20g modem and bootloader. Could this be causing it?
[G4 Android Development] kessaras:
No. Using those you will just get random kernel panic and maybe random ril service crash and maybe slower response when changing from 3g to 4g and reverse.

Really I only got 1% drain over night , so I don't know what's causing it. Don't expect me to know what's going on , I don't have a crystal ball.

And about the stock based roms.

Didn't you ever had a low drain and you were happy about it ? but when the battery was down to 25 suddenly went down fast and at 5% the phone turned off ?

Our stock based roms have crap Hals. That's why. Healthd shows that we have 20% when we really had only 5% for example.

And don't compare Oreo with stock LG rom. Here everything is google. The only LG thing still here is the source(kernel)
[G4 Android Development] tambukey:
We aren't bashing the ROM. But sometimes some background process hog cpu and Android doesn't do anything to stop it. Like I said last night a rild process was sitting at a comfy 70% cpu use as listed in top. I rebooted and it went away. By the time I rebooted though I had gone from 55% to 5% in 20 minutes with the phone in my pocket, screen off, oh and with battery saver auto on at 15%. Android just doesn't always get it right. I charged after that drain and kept it unplugged over night and only lost 2% in 6 hours. The ROM battery life is great and I'm still using original battery that is over 2 years old. It just happens every once in a while that's all.
[G4 Android Development] kessaras:
Lol , don't know. But I'll keep in mind if it ever happens.

And don't root until Oreo is officially released in the world.

Devs now only update their work using logs , they don't own Oreo yet to test and work on their phones.

Even root is not stable enough yet.

These new Hal system really sucks. I wonder how long will they need the official companies like LG , Samsung , and whoever to create their O rom for their brands ?

Some may even skip it and go to P.

Anyway. Just don't trust anything until O is officially out and for many brands. We don't even have gapps yet !

(Unless you want to be a tester and help them all with logs. You know. The usual stuff. Going there on their threads and share logs)
[G4 Android Development] tambukey:
I get that, but so far I have had 0 issues with rooting. I run magisk and about 7 modules right now as well as play store apps that require root. I like to tinker with files and I delete some of the stok /system apps to save room/I hate bloat. Everything is smooth and everything works. The dev of magisk does great work making sure everything works for the newest updates.

And for here in the states, Android Oreo is out for many devices, like a lot. Everyday xda reports on about 2 more devices receiving Oreo. I know it's new, but the community development is fantastic and quick to fixing anything that is thrown at them and believe me you are at the top of my list in terms of speedy response/fixes of anything.
[G4 Android Development] kessaras:
"Some background processes hog cpu"

"Magisk with 7 modules"

"Removed system apps"

Lol ?

Only Xposed missing.

me on the other side I use terminal and adb commands through the other terminal from PC. I don't root and I disable apps.

Free space in system is useless anyway. It's not like we can use that free space to do anything else.

If you want more free space and give the phone more gb , convince [MENTION=5545101]steadfasterX[/MENTION] to alter the partition table gpt , with only half system partition and all these added to data partition, and share it.
[G4 Android Development] tambukey:
You can use that space by flashing zip versions of apps to give them system access if wanted/needed. Regardless though I think root is working fine and it aids in troubleshooting. I actually don't even touch adb any more since I can do everything through phone terminal or twrp terminal.
[G4 Android Development] SeewolfPK:
When I copy or move a file (maybe a picture from MainStorage/DCIM to another place SDCard), the file in the destination directory is shown with 0 Byte. The photo (for example) can be seen but if I then copy the photo to the pc there it also with 0 Byte but it is not the photo.
[G4 Android Development] kessaras:
Don't know :/

I don't have a external sdcard. In internal all is ok.

I only use Google + internal.
[G4 Android Development] Lurensu:
I'm using root with magisk as well without any issue, mainly just to use flashlight-fix, ril-app, and youtube red.

Guys, if anyone is having issues with USB connection (mainly PC connection, but this could be related to charging as well, I don't know), like the phone not being detected by your computer, THIS IS AN OREO ISSUE, since a lot of pixel/nexus/oneplus users have this problem (but strangely not everyone) after upgrading to 8.0/8.1. Google will eventually come out with a fix (I hope).

See here:

http://piunikaweb.com/2017/09/26/pi...ues-with-usb-file-transfers-post-oreo-update/

So sorry [MENTION=5461026]kessaras[/MENTION] if I've annoyed you with this bug, it's definitely not related to this rom.
[G4 Android Development] bedencic:
why use usb connection at all, i now mainly use wifi ftp to copy data (if it works)

on my more than 10year old router with 54mbps, i get 500mb in 2min (a bit slower than usb i think, but not so bad)

question for kesseras: will you soon implement wifi ftp tile as in N aoscp? (i dont bother using wifi ftp app, but its nice feature to have it in tiles)
[G4 Android Development] #ApolloLiteProblems:
Same as me. Probably crappy battery. I only got 3hrs SOT on official and now it's 2 and a half so makes sense.

---------- Post added at 04:56 PM ---------- Previous post was at 04:55 PM ----------

Did exactly that.
[G4 Android Development] Lurensu:
Well I just would prefer to have it working...

And I can't use adb if it's not recognized
[G4 Android Development] aha360:
MiXplorer has that feature, and you can enable those tiles once you have that app installed. I use it every now and then for such purposes

---------- Post added at 04:03 PM ---------- Previous post was at 04:01 PM ----------

Hmm, I don't know what to suggest then, except a clean flash, and using Pico GApps.

---------- Post added at 04:05 PM ---------- Previous post was at 04:03 PM ----------

Exactly - if you cannot connect your phone via USB, you can't use ADB or fastboot commands, which is silly. As for file transfer though, MTP is a huge pain in the ass as the new files never show up unless I restart my phone twice or three times, and this isn't a ROM issue by the way.
[G4 Android Development] kessaras:
you dont need interface crap software :D

adb pull only .

you can make a script to question the path you want on tap and adb pull them :D

its so much faster.

anyway, he said he can't connect not even with adb, what can i say.......

i dont even have usb3 ports, the developer is poor , lol
[G4 Android Development] morw:
Hi guys,

I flashed the official (30.01) from the homepage yesterday and everything works great, all minor bugs have already been in here.

Would you advise still changing the bootloader and the modem to kessaras' versions? I honestly don't know what my current version is.

I came from stock V20 -> Lineage OS 14.1 -> crDroid 7.1.2 -> aoscp

What would be the benefit of flashing them? Also, if you do advise to flash it, can I just flash them via twrp without a clean install of the rom?

Thanks
[G4 Android Development] #ApolloLiteProblems:
Tried again, works now.

---------- Post added at 06:52 PM ---------- Previous post was at 06:46 PM ----------

No harm in trying. Usually I think you'll only get N bootloader if you've installed stock v29a. I'd say go for it.
[G4 Android Development] ThePiGuy:
Is the v29a bootloader compatible with the v20g stock (would it work if I restored my TWRP backup of v20g)
[G4 Android Development] #ApolloLiteProblems:
I don't know, I'm sorry but I never tested. You might have to test that one.

---------- Post added at 07:13 PM ---------- Previous post was at 07:12 PM ----------

Are the A57s disabled in the official build?
[G4 Android Development] tambukey:
I thought this was just me. It doesn't always happen either. Maybe some logs will shed some light on it. For me zips seem to do it the most(or it's the type i move most). Moving through TWRP works though, that has been my work around when I need it done quickly.
[G4 Android Development] bedencic:
if you mean mi file manager by xiaomi, i installed that app, but didn't get option to append tile for wifi ftp
[G4 Android Development] kessaras:
only if you backup modem and bootloader and boot and restore them all.

ofc not ! no reason to disable cores

no. you will find it here in xda and on PS too.
[G4 Android Development] #ApolloLiteProblems:
Oh ok. They weren't showing up in Kernel Auditor before but they are now. They're stuck at 960mhz though
[G4 Android Development] kessaras:
god....

they are not stuck. thats my coding.

my way of monitoring the cpu.

when load goes to 0 , monitor stops.

what you see is a fake number , its not stuck, its just that cpu load is 0 and freq is down and cpu rests and there is no reason to monitor a sleeping core
[G4 Android Development] #ApolloLiteProblems:
Ah got it. Performance seems to really slow down whenever I open anything remotely intensive (AnTuTu, subway surfers even)
[G4 Android Development] kessaras:
Latest O Updates

Since all changes are in kernel level and in ramdisk, this is the update.

They will all be a part of the next build anyway, but if you don't want to wait until next official build, flash this.

I fixed a big part of the screen bug. Still needs some work

Improved more ril. Sadly this rare bug is always there but now ril is at his best. Can't improve anything else there.

Different Panel Algorithm.

Many missing sepolicy rules added to fix system denials.

Improve time daemon

Fix watchdog

Allow ip bind , needed by wifi hals.

And lastly this one :

https://gerrit.cypheros.co/#/c/CypherOS/kernel_lge_msm8992/+/3029/

This one needs testing. If you see the flashlight not shoting at the moment it should, tell me with a log.

Unzip it

adb reboot bootloader

fastboot flash boot boot.img

fastboot reboot
[G4 Android Development] aha360:
No - I DID NOT mean "Mi File Explorer by Xiaomi" - I meant THIS ONE HERE - yes, the names can be confusing, but just click on the URL below:

https://xdaforums.com/showthread.php?t=1523691

I've just installed the boot.img file via TWRP, by choosing "Install Image", selecting said image, and then installing it to the "Boot" partition when asked to do so.

Also, to anyone out there, if you're rooted, remember to re-root your phone after doing this.
[G4 Android Development] obvious:
Flashlight tile is there. Should it be working at the moment? (It's not for me)
[G4 Android Development] kessaras:
And yeah it just happened. In 2 hours I got from 60% to 10%. I just restarted the ril daemon and it's ok again.

But I really need to be using logcat at the moment it will occur otherwise I can't find out why....

So strange crap happen sometimes.....

If I get lucky... it's not like I can stay connected 24/7 with logcat running until it happens
[G4 Android Development] johansson:
I couldn't see my post until today.. But I needed to edit it as I've found a workaround. I'm a using the latest TWRP which is why I was confused. As for Titanium backup, it didn't work when I had SuperSu installed, but worked when I switch to Magisk. Anyway, thanks for the answer
[G4 Android Development] McRoy:
[MENTION=5461026]kessaras[/MENTION] What's the DPI in O?
[G4 Android Development] kessaras:
why don't you press wm density ?

560 same as everywhere here. im bored to edit crap :)
[G4 Android Development] McRoy:
Thanks for fast feedback!

I don't know wm command. Just used now to change density so fast!!! :D
[G4 Android Development] Frazzy:
Just a question out of curiosity...

Is the Bluetooth calling issue solvable like the camera issue? Can we use blobs from a different phone using the same chipset? Or is it really tied to this phone?
[G4 Android Development] SeewolfPK:
I did it the same way. After reboot I have no ril.

RIL-Control use many times - did not help

---------- Post added at 10:30 AM ---------- Previous post was at 10:27 AM ----------

Problem with external SD-Card:

Every time i move via Explorer or let an App store on it - the stored file has 0 Byte

It can use on phone but can not copy to PC.

If I copy back to internal the file has the correct Byte and can also be copy to PC.

Is this a new Oreo-Feature? :)
[G4 Android Development] sperelli:
same here.

:confused:
[G4 Android Development] kessaras:
the open source hals and blobs only work since we dont have LG O.

and they dont show any error which i can follow to fix it. so it definately needs lg stuff.

Already said i dont have a external sd card to solve this issue
[G4 Android Development] tambukey:
Good information for any one having boot loop issues. LG is extending warranty for a lot of phones.

https://www.xda-developers.com/lg-arbitration-suit-bootloop-settlement/
[G4 Android Development] SeewolfPK:
I found a way: Disconnect the SD-Card and reconnect. Then the filesize is correct and the file(s) can also move to PC
[G4 Android Development] kessaras:
is that something i should know about ? [MENTION=5545101]steadfasterX[/MENTION] ?

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

Does this commit means i can build them O too ?
[G4 Android Development] steadfasterX:
not yet. its a test balloon.. I currently use that in TWRP to see if i can fix a TOUCH issue for the h818 after flashing UsU.

I will let you know when we can build for other devices ;) well I would setup just jenkins for that ;)

.
[G4 Android Development] kessaras:
Is it possible you or someone get me a logcat while you copy a file to external sdcard and then copy it back in internal sdcard ?

I'd love to see if it sais anything about that error
[G4 Android Development] SeewolfPK:
Here it is
[G4 Android Development] kessaras:
thought so.... its security issue again.

the file explorer app is not allowed to read, write, open, getattr , setattr, and more, in the mmcblk1p1 partition.

I try see if i can allow those and we will see how it goes.

I'll tag you when i will build a kernel .img again (policies are in ramdisk)

It went somehow good. Only one never allow there.
[MENTION=5127552]SeewolfPK[/MENTION]

And the rest who have external sdcard, try this kernel image.

Unpack

adb reboot bootloader

fastboot flash boot boot.img

fastboot reboot

<if you are rooted , hardware combo key directly or adb reboot recovery at early boot and re-flash your root method>

Sorry for using you, i don't have a sd.

Please send me again a log to see how did it go and if it needs further more policies to add now that it has access.
[G4 Android Development] cartman_73:
Maybe this is my same issue, if I move file from internal SD to external SD with ES FIle Explorer the files goes copied but if they are already presents they are not overwrite, they are write with a duplicate name like "*(1).tar".

I attach a cutted logcat during a copy, please can you see if it's the same behaoviur.

Thanks.
[G4 Android Development] kessaras:
ok, flash the kernel i said and send afterwards logcat. can't add policies one by one.
[G4 Android Development] SeewolfPK:
I make it. First time i did not again root my device. Copy also 0 Byte and Catlog in Mainstorage 0 Byte

I install magisk and try again:

Copy to SD- File has 0 Byte

Catlog here
[G4 Android Development] SeewolfPK:
Update: I try copy again. This time with the stock Filemanager and not my favorit SX.

I works !!!

I now try to copy to PC

Edit:

Copy to PC = 0 Byte

stock Filemanager show 4,5 MB File (also the original file in mainstorage)

FX show 0 Byte

new connection to SD - FX show 4,3 MB (also the original file in mainstorage)

download this file to PC works (4,29 MB)
[G4 Android Development] kessaras:
It's all about security. When I'm back I'll check log and add what else is needed. And then again the same procedure.

Imagine here I did more than 500 builds and more than 1200 reboots until I make it boot the first time.

[MENTION=5127552]SeewolfPK[/MENTION] , same thing again ! round 2 !

hoping to be the last or at least semi- last
[G4 Android Development] Minto107:
Guys who have problems with SD, can you flash this(if using magisk)? https://drive.google.com/file/d/1c2aSqauF-LW40GyA31OABMP6C3GKWKRM/view?usp=drivesdk

---------- Post added at 09:20 PM ---------- Previous post was at 09:16 PM ----------

It should be accessible now, sorry I thought GDrive was smart enough [emoji23][emoji23][emoji23]
[G4 Android Development] ibby665:
Will unlocking bootloader and flashing this ROM fix WiFi issues (slow wifi something ipv6)
[G4 Android Development] Klussenpunt:
Installed AOSCP latest version with 8.1 Gapps micro. When I try adding an Exchange account there is simple no option to choose a excahnge account. Is there an idea why this is so?
[G4 Android Development] #ApolloLiteProblems:
Works for me, though I'm on stock GApps. Try stock and then tell me if it works or not.
[G4 Android Development] Minto107:
Try it yourself and report back, I never had such issues
[G4 Android Development] ProfessorGumby:
Great work on this ROM. Seems like this could be the main hope to keep the old G4 chugging along a little while longer.

Couple of issues I'm having:

(Installed from total wipe of the device. Latest ROM version. Only other things installed are Magisk 15.3 and gapps)

I can't get SafetyNet checks to pass - I'm guessing this is why Android Pay won't work. I notice that SELinux is permissive by default - could this be it? Any tips?

If USB is attached to a computer, I lose SIM connectivity (No SIM message) - whatever connection mode I'm in, and whether I have USB debugging enabled or disabled. USB charging from a wall socket is fine. Unplugging and rebooting fixes.

Sometimes the device takes ages to wake up from sleep - About 5-10 seconds.

EDIT: I've seen somewhere in this thread that SELinux will be set to permissive during development of this ROM. Has anyone got SafetyNet checks to pass? Initially, I had basicIntegrity passing and ctsProfile failing. But now I have both failed. Will reflash later to have a play.
[G4 Android Development] SeewolfPK:
Sorry, not the last.

File always 0 Byte

Log here