yashsingh1/xdaforums huggingface dataset:
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
[MENTION=2881807]x86cpu[/MENTION]: Did you see my post on the last page concerning the performance of the latest kernel or are you ignoring me for some reason?

It's also worth mentioning that the partition sizes between device variants differ as well (h850, rs988). Currently the los device trees are commonized with values from the h830 with only the system partition size corrected in the h850 tree.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
h850:/ # df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1836100 3260 1832840 1% /
tmpfs 1938256 696 1937560 1% /dev
/dev/block/sda13 4431860 1554048 2877812 36% /system
tmpfs 1938256 0 1938256 0% /mnt
/dev/block/sda14 507848 504 507344 1% /cache
/dev/block/sda17 24427644 23250328 1177316 96% /data
/dev/block/sda12 28144 236 27908 1% /persist
/dev/block/sde18 88016 73408 14608 84% /firmware
/dev/block/sda4 1936 84 1852 5% /sns
/dev/block/sda3 5968 1068 4900 18% /persist-lg
/dev/block/sda2 28144 18384 9760 66% /mpt
tmpfs 1938256 448 1937808 1% /sbin
/sbin/.core/block/loop08 157152 123864 33288 79% /sbin/.core/img
tmpfs 1938256 0 1938256 0% /system/fonts
tmpfs 1938256 0 1938256 0% /system/etc/permissions
tmpfs 1938256 0 1938256 0% /system/app
tmpfs 1938256 0 1938256 0% /system/priv-app
tmpfs 1938256 0 1938256 0% /system/vendor/lib/soundfx
/data/media 24427644 23250328 1177316 96% /mnt/runtime/default/emulated
/dev/block/vold/public:179_1 62505024 62370464 134560 100% /mnt/media_rw/8580-1BEA
/mnt/media_rw/8580-1BEA 62505024 62370464 134560 100% /mnt/runtime/default/8580-1BEA

h850:/ # stat /dev/block/bootdevice/by-name/system
File: `/dev/block/bootdevice/by-name/system' -> `/dev/block/sda13'
Size: 16 Blocks: 0 IO Blocks: 512 symbolic link
Device: eh/14d Inode: 15836 Links: 1
Access: (777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-07-31 11:31:16.706999907
Modify: 1970-01-02 23:18:30.427999998
Change: 1970-01-02 23:18:30.427999998

There you go, man.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Unsure if my TWRP is compatible with Stock, I doubt it. Probably 14.1, but unsure.

Backing up might be due to SD and I/O scheduler, have you tried to change it? Also, what is "old 15.1 kernel"? Date? As some had the changes in, but without full userspace perfd and even some kernel adjustments, EAS was not fully working, so it might have nothing to do with EAS, but other changes.

Google changed the EAS to sched in O vs. schedutil. If you change it fro sched you could have issues as it is tuned for that.

I am aware of different sizes, but what matters it the smallest one. Can you send me the output of the latest /tmp/recovery.log from TWRP flash, as it will have that info in it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
Good news with that, it is working to decrypt stock.

It isn't just an issue with backups; you can even notice a slight UI lag. Do you mean SD card? I only used internal storage. I tried CFQ and BFQ with little difference between them, though BFQ might have a slight advantage. By "old 15.1 kernel" I mean before the large amount of changes that occurred after May/early June which happened to include EAS but I am not sure if it is the culprit. For reference, this fork does not have those changes and performs as well (a littler faster) than the 14.1 kernel.

Do you mean they changed it in O for marlin? I thought that the default scheduler for the Pixel was sched and the Pixel 2, which was only ever on O, moved to schedutil. They telegraphed this shift back in 2016 in a conference presentation as well (bottom of last slide).

Here's the recovery log from when I flashed your twrp build.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I do not notice any lag. If you have ideas, sure. That's a fairly old and outdated kernel link. I merged the latest caf update into it, so there could be any number of things and with 728 commits behind, I am not sure where the issue is.

pixel XL=marlin=msm8996, which is what our devices have and the proper kernel to pull changes from for EAS. The walleye is pixel2, and msm8998 too, which is not the same EAS performance data. Apparently, they never did move to schedutil as indicated in the pdf.

References from google's kernel:

https://android.googlesource.com/ke...reo-m4/arch/arm64/configs/marlin_defconfig#78

https://android.googlesource.com/ke...rlin-3.18-oreo-m4/drivers/cpufreq/Kconfig#115

Oh.. that recovery.log you'll need to flash the latest UNOFFICIAL for the /vendor part to be captured. It'll have the output.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] KCKitsune:
Sorry to be a pain in the hindquarters, but is anyone else having problems with making phone calls with Bluetooth? Clean flash (H850) and I'm having all sorts of static.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
I encourage you to try a benchmark of your own using your twrp build against the last official build or this build which has the old 15.1 kernel. Running a backup with compression and comparing the resulting time works nicely. I would know far less than you regarding the large number of changes that occurred in the past 1-2 months and where a regression may have been introduced.

The scheduler shift makes sense then, if you're trying to stay closer to related upstream. It just seemed strange coming from using schedutil in 14.1.

I'm still running 14.1 and don't plan to upgrade yet, so I'm not sure what you're looking for in the log.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Known issue for h850/rs988...and all Broadcom 43455 chips, which also include other g6/v20 variants too.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
I confirmed the issue is with the caf merge in b82f87a. I am not sure what exactly in that commit caused a performance regression, but a kernel built right before it does not have the issue.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
That has the CAF merge. 327 files changed. If you have time, track it down, and/or submit a gerrit review to fix it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] YannikM:
[MENTION=2881807]x86cpu[/MENTION]

My device is a european H850
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lotan_rm:
For me the last showstopper before trying out this rom is mobile tethering.

According to #2, this is still an open issue.

Is there anything I can do to help get it working?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
No problems here on the h830.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
5g is an issue, 2.4g works fine.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
There seems to be a general WiFi problem, when switching from one frequency to the another it disconnects. As you can't do it within android, I've disabled it on the router, was a problem in 14.1 too, therefore most likely Kernel related.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
WiFi tether? 5g/2.4g in wifi works fine. The WiFi Tether 5f does not work. Never heard about any other issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Turned 5ghz back on, it disconnects every now and again, it reconnects almost immediately therefore it's difficult to notice or capture in a logcat. It has been documented before too. I've noticed this with cell lately too, neither appear to be signal issues.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
Can't say that I've had any trouble with wifi at home. Inside, it is mostly 5GHz, with connections at about 200Mbps. Out in the garden it switches to 2.4GHz. The wifi management interface shows my phone having been connected for 6+ hours. (Ubiquiti APs.)

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Maybe it's just a problem associated with BT homehubs.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
https://github.com/Rashed97/android...mmit/ded85b27bed7e0cfa32882d13143f38e97e61edf

https://review.lineageos.org/#/c/LineageOS/android_device_lge_msm8996-common/+/222249/

Interesting.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Yes, were testing a bump to EAS 1.4. If things go smoothly I should hopefully have some builds next week. So far for me it did increase deep sleep from about 50% to 75%. Not sure you'll get good benchmarks as eas limits how things run as a trade-off for battery life and performance.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jaggyjags:
Do you have any private channel for testing? I would love to test out and report any things I encounter. Stability, performance... Whatever.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Unfortunately no. I built it for my daily driver right not. I build for 14 devices, so it can just use a bit to get that built for it all. The process is streamlined, but it still takes a while to do. Soon.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] drizzt:
please delete this
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mie_ayam:
https://xdaforums.com/project-trebl...ment/rom-android-p-developer-preview-t3816659

Anyone can port this rom?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Not reliably yet. Post #2
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Possibly.... plans are in motion, but it is not a simple thing
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
I still haven't managed to get the assistant working, I noticed that the assistant and Google icons lead to the same program, is this correct?? I thought they were separate apps??? It may have something to do with installing pico instead of nano or higher as you have to manually install it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Noob question: Does the official Oreo release for the V20 help with development with LineageOS for the G5?

By the looks of it, if/when LG release Oreo for the G5, it would be for the carrier models first (H830/H820). Would these releases still help with other G5 variants, specifically RS988 (which is what I have)?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jaggyjags:
We have kernel sources for LG G5 Korean version which I thought would help with development as well.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
We could re-partition /system and shave off 500mb and create a /vendor that is 500mb. This would allow us to go treble and with some tweaking allow GSI roms to be flashed too. Obviously, the risk is that if something goes wrong, it may not be recoverable without using a .kdz image. It would also occur during a flash. The script is already in the latest builds, but right not it just calculates things and logs it to the recovery.log in TWRP. The switch would make it happen and do the actual re-partitioning. I do not see this as a minor risk even, it is done all the time using Linux tools, so it is fairly common for doing this method. There are numerous safety checks to prevent any issues from occurring and aborting.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jaggyjags:
When you say not recoverable you mean literally non recoverable? Total brick if something goes wrong?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
This sounds a bit hacky. Would it even be allowed in official los builds? It seems like it would be better off as a side mod/project.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Possibly. In recovery it might be, but it recovery was lost or the entire partition table was lost too. A full .kdz might fix it as that would put the partition table back too.

This is fairly common in Linux environments. Even other vendors have released updates on a phone that need a different size, so it is adjusted as it is flashed. Or resizing a partition to accommodate something new.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AutinDroid:
Instead of repartitioning, phhusson created no-vendor quite a while back that can implement treble without any repartitioning. I'm not sure how well it works, but it could be an alternative to a repartition.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] shunjou:
This isn't a typical "Linux environment". This is an embedded device with fewer recovery paths than the average system. LOS in general tends to shy away from modifications like this being bundled by default for a reason. Exceptions exist for various devices, but I'm not aware of any for the purpose of implementing pseudo-treble.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jaggyjags:
If flashing a .kdz fixes any partitioning defect I see no reason to not try it out.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
IMO if a kdz fixes it then it's not too big of a problem, but something like that shouldn't come with official LineageOS, or even with an unofficial rom. Great as a side, optional for users project though.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] rfrazier:
My inclination is to say "go for it!!", but I've got a couple of questions.

1. How sensitive would the part of the code tree used to make the parition be to changes in other bits of the code tree? If, once it gets stable it is robust against changes in other areas, and the only real risk of having to try difficult recoveries is to "early adaptors" aka "guinea pigs", that's one thing. If the partition is recreated during every flash (rather than, say, its existence being checked for) and that part of the code tree is sensitive to changes in other areas, that's trickier.

2. My understanding (limited) is that this is a way to force abstraction between vendor stuff and the rest of the rom (google stuff and android stuff). Is the vendor partition needed for this abstraction? Can it be done using less risky methods? (It looks to me as though there has been a big move towards abstraction in the code tree anyway.)

Best wishes,

Bob
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
It would not be created each time, as once it is done it is permanent unless a .kdz puts it back. Here's the code, I'm open to any suggestions or fixes..

https://review.lineageos.org/#/c/LineageOS/android_device_lge_msm8996-common/+/221553/ See the current "scripts/vendor.sh" file.

In order to be "treble", a /vendor has to exist and hold all the vendor library, start ups, etc.. Also the GSI Images need to run system-as-root, which means system is now /, vs. /system. The boot.img which typically holds the ramdisk and / is now just the kernel portion. In other words, /vendor working as a separate is an abstraction. It could even allow non-Lineage GSI images to run using a /vendor Lineage for the devices. ... of course this is all in theory.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] totalnoob34:
I very much appreciate your effort, but I have a question:

Once the /vendor partition is in place, its content would have to be set up so that it matches the GSI requirements, right? Would that adaptation be difficult?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
Yes, I don't believe so, we might almost be there with some things.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20180806-X86CPU

lineage-15.1-20180806-X86CPU

Updated (not August security patches yet).

Kernel updated to EAS 1.4, brings back schedutil as the default. These changes might interfere with gamma kernel, be careful.

http://bit.ly/2vlvjMc -- Picks

(no /vendor support yet) This might be the last one for a while now that Android Pie has been released.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] optionalmgrr.la:
I'm for re-partitioning for Treble, it will make G5 last years longer, the battery can easily change so it will extend life tremendously, users of Lineage are expected to be proficient with custom ROM stuffs so I think with proper check and rollback mechanism (e.g. kdz), everything will be fine.

thanks [MENTION=2881807]x86cpu[/MENTION]!!!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wolf45801:
I can't seem to find the new builds for the g5 are they not ready for our devices?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
You don't see them here?

https://drive.google.com/drive/folders/1y7RF3TXz7YteUdepY1uMZV257ekhNzwe
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wolf45801:
Only build showing up is 7/26

---------- Post added at 03:24 PM ---------- Previous post was at 03:11 PM ----------

Nvm it was my stupid drive app wasn't updating lol
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] DRAWNBOX:
Whenever I download things from the Play Store, or Google Drive with WiFi the download speeds start fast but then after about a few seconds the Play Store says "Waiting for WiFi" for a bit and then it starts the download again but at ~40kB/s. In Google Chrome I don't have this issue and files download at a consistent 4-5MB/s. I even tried downloading a file from google drive through chrome and their was still no problem. I've tried updating and reinstalling Lineage, and Open Gapps, but those didn't solve anything. Do any of you know what might be wrong?

Running a speed-test shows 5MB/s on wifi, and on mobile-data download speeds are normal

Also my phone is an H830
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] wolf45801:
I also have that problem with WiFi same model of phone also
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] tavocabe:
Never had that problem

Always have this one tho lol
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] poruid:
Wouldn't it break compatibility with flashing the official LOS 15.1 once that one is released ?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mie_ayam:
God news. . heheh:good:

---------- Post added at 02:38 PM ---------- Previous post was at 02:29 PM ----------

can treble run on LG G5 now
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goumingxuan:
I tried your vendor.sh and it worked . it did make a vendor partition . and I modified TWRP which could mount vendor partition. But I don't have a vendor.img and boot.img . just used KDZ to recover my phone.Thanks for your efforts.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
Great to hear confirmation that it works and a kdz fixes it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mie_ayam:
Vendor part is link from vendor on system. And cnt be mounted. if we wipe the system. Does the vendor partition join delete?

---------- Post added at 04:19 PM ---------- Previous post was at 04:07 PM ----------

Cant mount vendor. " mount /vendor". If wipe system. Does vendor part join wipe?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
lineage-15.1-20180808-X86CPU

lineage-15.1-20180808-X86CPU

Updated, mostly missed a large kernel wakelock that snuck back in.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jaggyjags:
I bought a usb hub with hdmi output I wanted to use on my holidays but sadly no hdmi output on this rom or any lineage variants ive tried. Works like a charm on stock roms, detected instantly with no configuration at 1080P 60fps.

Am i missing something? Can I make it to work on lineage? I hate stock. Thanks! The rest of the ports on the hub work with this rom, no problem reading usb sticks or sd cards. Just the hdmi doesn't seem to work.

[MENTION=2881807]x86cpu[/MENTION]

Using this one btw. https://www.amazon.es/dp/B075FGQ988...75FGQ988&linkCode=df0&hvdev=m&hvnetw=g&hvqmt=
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
Nope doesn't work, I've tried it before myself, only way is via cast.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I know it does not work as of yet, I just have not had time to dig into it.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Goumingxuan:
Nope
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Artimostu:
Official?

Is there going to be an official 15.1? I did see the failed merge on gerrit 218593 but what else is standing in the way of this becoming official?
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] jaggyjags:
These are all the log files after plugging/unplugging adapter with Hdmi if you have the time to look into it. Thanks, great job.

View attachment 2018-08-09_20.53.zip
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] BEELEY:
I'm having problems backing up my LG G5 H850 Lineage 15.1 to the SD Card in the simm/SD Card caddy. I have tried two cards without success. Earlier versions of Android have backed up without problems. Attached screen shots of relevant info. Can anyone suggest what I am doing wrong to make the backup fail on the system image please?

View attachment 4568331

View attachment 4568332

View attachment 4568333

View attachment 4568334
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Jolt151:
You don't need to back up the system image
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] BEELEY:
Thanks for such a quick reply
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] x86cpu:
I had no idea there were more. Probably not at the moment, not sure.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Sorry to ask again, but is this issue even fixable? Do we have to wait until the official Oreo gets released?

It's really the only issue I have with this ROM that actually kind of bothers me. But I understand it's present in all Oreo ROMs so I'm just wondering.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] NextDroid:
If you're backing up your Lineage install, you don't need to include System Image. System alone will do.

Tapatalk を使用して私の LG-RS988 から送信
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] lesterp0310:
Hi [MENTION=2881807]x86cpu[/MENTION]

First of all thanks for this rom and the effort you're putting on it.

And now, do you have a link for the previous builds?

The 08/06 and 08/08 are very laggy for me. Even with a clean install most of the apps are crashing or frozen for a few seconds, this happens every few minutes, even apps like WhatsApp or the keyboard.

I don't know if I'm doing something wrong, but the previous builds were working great for me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] pedro1977:
May need to go back to stock, I noticed a few lags a build ago but it's cleared. Try clearing cache/ data/ reinstalling app first though as this data is pulled down on a clean flash.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mie_ayam:
Foe me smooth
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] djskribbles:
Yeah I haven't had any performance issues either.

I did have some very minor performance issues like ~4 builds ago, but it was just that build. and it was again very minor. Have been dirty flashing since late June (RS988 variant).
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] TheBiggestNoob:
[MENTION=2881807]x86cpu[/MENTION] I have a spare H830 that I can use to test the most unstable code you can come up with, granting it comes with instructions since I'm not a modder. Let me know if there is a Treble build. I'm excited with the possibility of this phone ever getting generic Android 9 because of it. It's currently running TWRP with your August 8th 15.1 build. Thanks for your efforts!
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] AutinDroid:
If treble was ported to the G5, I wouldn't get my hopes too high for P. From what I've read, legacy P builds require 8.1 blobs (I've heard some people say that 8.0 works), and the sGSI needs at least 8.0 I believe. Getting nougat blobs to work with P (and maybe even Oreo). When it gets Oreo, maybe treble will be more feasible. I'm no expert in this sort of stuff though, x86cpu definitely knows how to do this better than me.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] mie_ayam:
My redminote 4 Don't get an oreo update. But it can support trible by using the lineageos oreo base vendor. And this is minimal

bug. I am a non-developer user.
[LG G5 ROMs, Kernels, Recoveries, & Other Developme] Kye2000:
Phhuson who does the treble gsi stuff said he is making one to work for 8.0 vendors which many devices have atm even the official treble ones so it would definitely work for us. Plus the H820 (AT&T) kernel sources have been released in case anyone didn't know