yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Android Development] followmsi:
As you know .. On stock there were some issues too .. at least with YouTube app.

https://xdaforums.com/nexus-10/help/youtube-reboots-freeze-issues-t3230922

The IMDB app problem are 2 issues for me ..

One is the codec issue itself .. the other issue is the kernel freeze.

Part 1 .. kernel freeze.

Have seen patches for exynos-iommu to remove/change the error handler ..

Wich "should" lead into app crash and not into kernel freeze, still not sure if this is the right way to fix.

As I can see right now the kernel behaves correct .. as kernel gets "wrong" data and the current error handler says "bug" - go for reboot.

In manta kernel the relevant code has not been changed for 6 years.

Btw .. same sources like in stock kernel.

Part 2 .. the codec stuff.

If you fix the codec part the "wrong" data should be handled correctly and we get app crash too - if codec is not supported by Nexus 10.

Or even better it can handle the stream and does not crash at all.

This topic(s) are complex, time consuming and require good coding skills.

Sorry, I do miss the coding skills and the time .. pls ask IMDB to change their code ;)
[Nexus 10 Android Development] followmsi:
Yes. .. only space left for pico version.

Pls be patient if you setup PIN/pattern.
[Nexus 10 Android Development] mckennascole:
No, there was no space even for 8.1 pico here https://opengapps.org/ I downloaded the smaller pico here and it fit https://androidfilehost.com/?w=files&flid=250874
[Nexus 10 Android Development] followmsi:
I just booted into TWRP ..

- Wiped system only and

- installed latest lineage os,

- installed official pico package from today (0525)

- magisk afterwards.

- wipe cache

- reboot

No space issues at all .. pls confirm !
[Nexus 10 Android Development] mckennascole:
-wiped cache, dalvik, system, data, internal storage

- flashed RR-O-v6.0.0-20180523-manta-Unofficial.zip with twrp 3.2.1.0

-flashed official gapps pico for 8.1 arm: got "insufficient space" error

- tried flashing 2 more different small sized gapps: all "insufficient space error"

- flashed gapps pico unofficial I gave link to a few posts ago

- flashed magisk

- wiped cache, dalvik cache

- rebooted

-flashed xposed sdk 27

-rebooted

Working fine except the battery.
[Nexus 10 Android Development] followmsi:
The RR image is bit bigger .. will need to check it next time.

For battery pls open terminal app and type as root..

echo "0" > /sys/kernel/mm/ksm/run

Does battery improve ?

Edit:

Tested RR now .. as you said, current official pico packages do not work.

Used older official version from march 06, was still in my download folder.

Maybe newer versions working too .. But not the one from today.

Strange as free disk space is similar to lineage installation, here it works.
[Nexus 10 Android Development] followmsi:
Battery life

For Lineage .. RR and AOSP the same issue.

KSM (Kernel Samepage Merging) is running like hell.

Pls open terminal app and type as root ..

echo 0 > /sys/kernel/mm/ksm/run

Checked battery monitor app .. before kernel was using approx 15% .. now it's approx. 8 % !

KSM can be disabled on kernel level too.

AOSP has some tuning parameter, maybe we use them instead of disabling completely.

Needs to be tested ..

Pls reoprt any findings ..

Cheers
[Nexus 10 Android Development] mckennascole:
I recharged it fully and entered your command after su - . Let's see what happens
[Nexus 10 Android Development] ipdev:
Did some testing and found that pico will install if you change the opengapps install to Include.

adb sideload urr/RR-O-v6.0.0-20180523-manta-Unofficial.zip
Total xfer: 1.00x

adb push urr/include-gapps-config.tx /sdcard/Open-GApps/.gapps-config
urr/include-gapps-config.tx: 1 file pushed. 0.0 MB/s (132 bytes in 0.011s)

adb sideload opengapps/open_gapps-arm-8.1-pico-20180526.zip
Total xfer: 1.07x

For some reason opengapps default Exclude install errors out on the RR build.

recovery.log is a failed install.

recovery2.log is successful install.

Edit: Please see post here. Post-850
[Nexus 10 Android Development] mckennascole:
I installed BBS and GSAM yesterday. I don't know how to interpret the stats yet but the second highest percentage of battery utilization belongs to Kernel and third to LineageOS. BBS lists the powermanagerservice.display and powermanagerservice.wakelock as the two highest drainers, almost 40% in total.

I've been using UnleashOS 8.1 on my phone and its kernel is the highest consumer of battery, too. I guess there is a problem.
[Nexus 10 Android Development] followmsi:
Powermanagerservice.wakelocks is the sum total of the partial wakelocks

Powermanagerservice.display is screen-on time

Started a small test series yesterday .. want to check a few things on different OS (level).

Testing battery (drain) too.

First a few full charges on lineage-13.0 .. yes, "historical" marshmallow too .. made a quick build for testing.

I have just switched to lineage-14.1 .. and back to Oreo soon.

My battery is super old and still not replaced. (100% last for 2:45 SOT )

No major battery life differences .. maybe Nougat a bit better as marshmallow.

In all ROMs screen is taking approx. 60% vs. apps/system .. approx. 40% .

Still testing ..
[Nexus 10 Android Development] aheeejd:
Well I know you guys have been talking about YouTube & such but I got all excited when I saw that videos were now playing. So I installed the RR that was linked to & I set it up & I use allot of the channel apps. Such as History Channel go, & Discovery go to stream with & of course 4 minutes of streaming & the screen went black, device rebooted. So back in the drawer it goes probably forever & ever
[Nexus 10 Android Development] ipdev:
Hi all. I just want to point out that I was wrong with the above quoted post.

Pico does NOT install.

Install | Core | - 110432 | 36772
Install | calsync | - 1796 | 34976
Install | googletts | - 22032 | 12944
Install | packageinstallergoogle | - 5692 | 7252
| Buffer Space | - 9216 | -1964
------------------------------------------------------------------
Additional Space Required | 1964
------------------------------------------------------------------

What you actually get is core only.

Install | Core | - 110432 | 30812
| Buffer Space | - 9216 | 21596
------------------------------------------------------------------
Post Install Free Space | 21596
------------------------------------------------------------------

After spending some time in the opengapps thread and rereading the opengapps wiki and faq, it makes sense. I thought pico was the default core but, I see now that it isn't.

I apologize for any confusion I may have created.

SideNote: Now we know how to install OpenGapps smallest unpublished gapps package. ;)
[Nexus 10 Android Development] followmsi:
Thanks for your investigations ..

Buffer Space | - 9216 | -1964

https://github.com/opengapps/openga...58ecdb3c825da71/scripts/inc.installer.sh#L157

If you unzip the pico package and edit the "installer.sh" file .. you will find "buffer_size_kb=9216".

9216 are 9 MB - let's change it to 6 MB (6144) -> "buffer_size_kb=6144"

Zip it again and install full pico version without error message ..

Perhaps I will sync my opengapps repo and make an unofficial pico build including the "6144" value.

I know .. quite dirty solution :)

EDIT:

Here is the "6MB pre-modified" pico package ..

open_gapps-arm-8.1-pico-20180530-UNOFFICIAL.zip
[Nexus 10 Android Development] tetsuo55:
Can you post the last_kmsg after it reboots?
[Nexus 10 Android Development] Hyflex:
Hey,

I'm using the latest ROM with Magisk, greenify and l speed and whenever I try to cast my screen it doesn't work and then crashes the tablet.

Any ideas?
[Nexus 10 Android Development] followmsi:
Screen cast to Google Chromecast ?

Other streaming works ? (YouTube or Netflix) .. Just screen cast does not work ?

Pls provide some logs. (logcat)
[Nexus 10 Android Development] Hyflex:
Other casting works fine, just screencast. How did I really provide you with logcat?
[Nexus 10 Android Development] followmsi:
https://wiki.lineageos.org/logcat.html

Pls test the following lib .. libcsc.so

Mount system partition read/write (as root) and replace the libcsc.so in "/system/lib" folder.

Reboot your device afterwards and test screen cast again .. any changes ?

Thanks
[Nexus 10 Android Development] followmsi:
Any Chromecast owner here ? ;)

Pls test the lib above and report if screen cast is working now.

Just use root explorer .. etc. to replace the current libcsc.so - and reboot afterwards.

I would like to include the lib into next build, if its working.

Thanks
[Nexus 10 Android Development] wfm_de:
I tested it, but no success, sorry.

When I start streaming, the TV gets dark, but no picture comes up.

Finally the tablet hang.

Installation is ok because other tablet does streaming(Samsung Tab S2)
[Nexus 10 Android Development] followmsi:
Thanks for testing .. pls post logcat when you try to cast your screen.
[Nexus 10 Android Development] wfm_de:
Here it is https://drive.google.com/file/d/1gip8a5gz2ing5tAsSk6WtHhhrrk6dInA/view?usp=drivesdk
[Nexus 10 Android Development] followmsi:
Sorry .. can't get the file.

Pls share again.

Thanks
[Nexus 10 Android Development] wfm_de:
Please try this one:

https://drive.google.com/file/d/1MLRnmJSM1Jfunq2syilmd7KoecmRbaw6/view?usp=drivesdk
[Nexus 10 Android Development] wfm_de:
In the last log streaming begins with the app googlehome and following actions. There is not more.
[Nexus 10 Android Development] followmsi:
June 2018 ..

lineage-15.1-20180611-UNOFFICIAL-manta.zip

Changes:

- Google June 2018 Security updates

- Latest Lineage changes

- init: set KSM values

- use some more prebuilt Nougat libs

- kernel -> minor config changes and removal of overclocking stuff

Enjoy :p
[Nexus 10 Android Development] followmsi:
I have included a few more libs into June release .. another exynos5 device had similar Screencast problems - the lib replacement did fix it.

Not sure about Nexus 10 .. pls test and report.

Pls post new logs too.

Thanks
[Nexus 10 Android Development] mckennascole:
no RR?
[Nexus 10 Android Development] followmsi:
Pls be patient ;)
[Nexus 10 Android Development] followmsi:
Fresh RR version too .. 6.1 now !

RR-O-v6.1.0-20180611-manta-Unofficial.zip

Changes:

- Google June 2018 Security updates

- init: set KSM values

- use some more prebuilt Nougat libs

- kernel -> minor config changes and removal of overclocking stuff

- Latest Lineage & RR changes

Enjoy :p
[Nexus 10 Android Development] Faakarna:
Sounds great.

Is it not possible to oc on latest version?

And why?

Thanks for the great work you are doing.
[Nexus 10 Android Development] wfm_de:
Tested. No positive change, sorry.

Here the log : https://drive.google.com/file/d/1rRrH88RhwcAtHIZZxiPahxUPqbRMMAHi/view?usp=drivesdk
[Nexus 10 Android Development] mckennascole:
Thanks. Again, too large for gapps pico :(
[Nexus 10 Android Development] KNGPN Q w Q:
Please read this post, hopefully it'll help you.

https://xdaforums.com/nexus-10/deve...4-1-20170216-unofficial-t3557735/post76659067
[Nexus 10 Android Development] mckennascole:
Thanks. That's the solution they came up with after I have reported the problem for the prior version.
[Nexus 10 Android Development] onoakino:
Aside from security patches, is 15 worth the trouble of upgrading from 14? Performance-wise, is 15 less laggy than 14?
[Nexus 10 Android Development] tim-scrap:
My experience is that 15 is close to 14, but 14 still a little better in therms of less laggy.
[Nexus 10 Android Development] followmsi:
Not up to 2.1 anymore .. seems to improve battery life a bit.

Inside the kernel folder, 20180604 version is the same kernel but with OC included.

20180606 is the current kernel used for June ROMs, without OC.
[Nexus 10 Android Development] followmsi:
Would have been nice .. the same workaround.

Did you test Screencast (Chromecast) on Nougat ROM ?

On which Nexus 10 ROM does it work for you ?

Are there known problems on older ROMs too ?

Right now I don't see a big chance to make it working .. will need more infos, logs and testing.

Would need to compare with working logs .. etc.

This kind of "remote testing" makes it very complicated too.

Maybe .. after summer season I buy a Chromecast just for testing all this stuff on all my Android devices. ;)
[Nexus 10 Android Development] followmsi:
CM-14.1 - June 2018 release !

Oreo was a bit later and Nougat is a bit earlier ..

https://review.lineageos.org/#/q/topic:n_asb_06-2018

lineage-14.1-20180611-UNOFFICIAL-manta.zip

Changes:

- June 2018 security level

- Latest lineageos changes

Sources:

https://github.com/followmsi/manifests/tree/manta-lineageos-cm-14.1

https://github.com/followmsi/android_kernel_samsung_manta/tree/followmsi-nougat

Enjoy :p
[Nexus 10 Android Development] onoakino:
Sorry for the dumb question, but if i flash this update, should i do a wipe first?

I'm using twrp. I hope i won't lose my applications after flashing?
[Nexus 10 Android Development] followmsi:
Depends on your previous system .. no need to wipe fi you upgrade from one of the previous Nougat builds.
[Nexus 10 Android Development] dahawthorne:
I've tried maybe half a dozen Oreo ROMs on my N10, and each time I've had to revert to Nougat - because of what looked like a non-working PIN or black screen or whatever other problems which I considered were too important to ignore.

However, having read many recent comments particularly about giving the PIN time to stick, I tried again this morning, and I hope that this post will encourage others to take the leap.

After a full wipe (not internal) I flashed the new LineageOS 15.1. As expected, the PIN looked as if it was freezing, but after about five minutes the device went black - I can't remember now if it rebooted or if I had to manually reboot, but I got the normal PIN screen, which accepted my new PIN.

Unfortunately all I got then was the nice astro desktop with a single "return" button on the navigation bar. After a while it went black and unresponsive. I rebooted several times with the same result, and finally tried tapping the screen to keep the device awake. Eventually I got a dialogue box saying that Google Services Framework had crashed, which was presumably the cause of the black screen. The next reboot got me into what looked like a working home screen, so I quickly cleared the Google Framework cache, and the device has been running perfectly ever since.

So if you're hesitant about trying one of these new builds, do a backup, strap on your best patience, and have a go. It's well worth it.

Great work, followmsi - thank you very much.
[Nexus 10 Android Development] drewski_1:
You can also use something like "smallbuffer" in the config file for reduction to 2MB or something. It's what I do on this device (flashing a reduced Stock package to remove AOSP equivalent apps)

---------- Post added at 05:07 AM ---------- Previous post was at 05:03 AM ----------

It's Wi-Fi that's more stable on older versions for me. I went back to 13 / M
[Nexus 10 Android Development] followmsi:
Fresh build(s) ..

Actually I did miss the June security patches for framework_av repo in last build .. whoops :)

Lineage made changes in bionic repo a few days ago .. the changes break the HW graphics shim libs for manta !

For now I will track own bionic repo until this issue is fully solved.

And one last try to "calibrate" LOW_MEMORY_KILLER .. medium profile for better multitasking.

lineage-15.1-20180616-UNOFFICIAL-manta.zip

Changes:

- missing framework_av security patches for June 2018

- track own platform_bionic -> shim libs issues

- set medium profile for LOW_MEMORY_KILLER -> improve multitasking a bit

And the same changes for RR as well ..

RR-O-v6.1.0-20180616-manta-Unofficial.zip

Enjoy :p
[Nexus 10 Android Development] mckennascole:
Which Marshmallow ROM did you go back to? I really want to go back to stock as soon as I learn how to because of these battery drainage, wifi issues, etc. But before the hassle I might try a marshmallow
[Nexus 10 Android Development] drewski_1:
LOS 13 from their official builds
[Nexus 10 Android Development] mckennascole:
Couldn't find a working link. Can you point me to it?
[Nexus 10 Android Development] drewski_1:
https://www-lineageosdownloads-com....ds.com/download-official-nexus-10-lineage-os/
[Nexus 10 Android Development] mckennascole:
Thanks, I can google, too ?.

Does anyone know a page to download the actual, official, unsupported, LineageOS 13 for manta rom file?
[Nexus 10 Android Development] onoakino:
Have you tried followmsi's?

It's not the "official" build, but at least you still have him to ask if ever you have questions about it.
[Nexus 10 Android Development] onoakino:
CM Nightlies from archive dot org.

https://archive.org/download/cmarchive_nighlies

CM 13 for Manta

https://archive.org/download/cmarchive_nighlies/cm-13.0-20161219-NIGHTLY-manta.zip

Please report back about your experience on using cm13 and/or LOS13 build of followmsi. Maybe through private message as I think I'm going way off-topic already. Thanks.
[Nexus 10 Android Development] mckennascole:
Thanks. I will.

Apologies for off-topic posts, too.
[Nexus 10 Android Development] mazsuper:
You don't get better than followmsi ROMs for manta ...... Check router has all WiFi standards enabled to get best WiFi , fixed mine
[Nexus 10 Android Development] wfm_de:
SELINUX is disabled on lineage-15.1-20180616-UNOFFICIAL-manta.zip .

Security is weaked tells Trust.
[Nexus 10 Android Development] followmsi:
Yes, it's disabled in all lineage builds. (cm-14.1 and lineage-15.1)

For AOSP Oreo it's disabled too.

Only the AOSP Nougat version had active selinux.

Still on the to-do list .. but not planned for next time.
[Nexus 10 Android Development] wfm_de:
But message popped up the first time.
[Nexus 10 Android Development] followmsi:
Trust is new lineage security tool .. Not sure if it was part of first June release already.

Selinux is and was "permissive" all the time.
[Nexus 10 Android Development] onoakino:
Hi followmsi!

Have you looked at this post in here here? Basically the author said to integrate his work on a kernel to prolong battery life by preventing the battery to charge at a higher voltage?
[Nexus 10 Android Development] followmsi:
I use similar patch, taken from EX kernel, for the "AOSP Classic" version kernel for Nexus 7 (flo/deb).

https://github.com/followmsi/androi...mmit/40861c769cb5e54c812d549bbc363ca6641ab252

Actually I did use the "sdcardfs" filesystem code for manta Oreo kernel from 3.4 google msm kernel for flo.

The file system is not hardware related code.

But stuff like battery/charging is hardware related.

All the code needs to adapted for manta hardware.

As well you need the coding skills to implement correctly.

All the stuff like DoubleTap2Wake/Sleep SwipeToWake/Sleep is similar .. depends on certain hardware.

And needs to be re-done for other hardware/chips.

You may have a try to port the BatteryLifeExtender code from Nexus 7 kernel into Nexus 10 kernel .. ?

I am happy to implement your solution.

Cheers
[Nexus 10 Android Development] followmsi:
July 2018

lineage-15.1-20180707-UNOFFICIAL-manta.zip

Changes:

- Google July 2018 Security updates

- disable bionic linker warnings

- Latest LineageOS changes

New RR version will come in the next days too ..

Due to holiday season the August releases will be delayed !

Enjoy :p

EDIT:

And the new RR build ..

RR-O-v6.1.0-20180707-manta-Unofficial.zip
[Nexus 10 Android Development] patzzz:
I have installed your Resurrection Remix build based on Oreo and it's working like a charm.

Thank you very much.
[Nexus 10 Android Development] noisy_lightning:
I have flashed your RR build and love it so far. My only problem is on a clean flash that I cannot install gapps as my system partition has not enough space, even for pico gapps.

Any advise? It seems that its not possible to increase the system partition that I know of.

Running the latest official TWRP for Manta.
[Nexus 10 Android Development] dahawthorne:
https://xdaforums.com/showpost.php?p=76659067&postcount=851

Here is the "6MB pre-modified" pico package ..

https://drive.google.com/drive/folders/1IY1JrNDlkk7OjXutlX3zGeASfWpSsRdl
[Nexus 10 Android Development] noisy_lightning:
Thanks I will give that a go.

Edit/Update:

So I modified a newer realise of pico gapps using the 6mb buffer mod and it installed perfectly. Thank you so much!
[Nexus 10 Android Development] followmsi:
Later in August we may start a new RR Oreo thread .. including all the related infos in OP.

Enjoy the summer .. ;)
[Nexus 10 Android Development] noisy_lightning:
On the RR build.

So I have run into an issue in that I can connect to WiFi networks and am assigned an ip address but cannot get Internet access no matter what I do. I have tried on three networks and created hotpots on my phone to try, but no luck with any of them. I have been busy with work the last few days so hadn't tried to use the Internet till today.

Any ideas?

Edit:

Just flashed your LOS15.1 build and have the same problem with that. I also restored my CM 13.1 backup and that works on WiFi. Is there some newer firmware somewhere I can use with newer OS builds?
[Nexus 10 Android Development] followmsi:
Did you test 2.4 and 5 networks ? ..same problem ?

Hidden and unhidden ssid ?

Did you test any Nougat ROM too ?

Did you test 3.4.113 kernel on Oreo ROM ?

Sorry .. can't replicate this issue.

Pls send some logs .. in the next time I will be not available due to holidays but I will have a look afterwards.

As more Infos I get as better I can try to fix the issue.

Cheers
[Nexus 10 Android Development] followmsi:
CM-14.1 - July 2018 release !

https://review.lineageos.org/#/q/topic:n_asb_07-2018

lineage-14.1-20180724-UNOFFICIAL-manta.zip

Changes:

- July 2018 security level

- Latest LineageOS changes

Sources:

https://github.com/followmsi/manifests/tree/manta-lineageos-cm-14.1

https://github.com/followmsi/android_kernel_samsung_manta/tree/followmsi-nougat

Enjoy the summer :p
[Nexus 10 Android Development] McFrego:
Much laggy and slowness

First of all, thank you so much for your hard work. I can give my Nexus 10 a new life :)

No other people are getting my problem with last builds in this forum, but I have tried LOS 15.1 and it's laggy and slow. Also RR 6.1 (but a little less). I've tried with and without Gapps, just using the builds above.

Any help ? Thanks in advance :)
[Nexus 10 Android Development] patzzz:
Probably, you will see your problem in logcat.
[Nexus 10 Android Development] tylerdurden83:
I find all the oreo roms too laggy for me, but the lineage 14.1 seems to run pretty smoothly!
[Nexus 10 Android Development] followmsi:
August 2018

lineage-15.1-20180814-UNOFFICIAL-manta.zip

Changes:

- Google August 2018 Security updates

- Adjust DRM blobs

- ro.opa.eligible_device=true -> Google Assistant

- Latest LineageOS changes

Enjoy :p
[Nexus 10 Android Development] followmsi:
CM-14.1 - August 2018 release !

https://review.lineageos.org/#/q/topic:n_asb_08-2018

lineage-14.1-20180817-UNOFFICIAL-manta.zip

Changes:

- August 2018 security level

- Latest LineageOS changes

Sources:

https://github.com/followmsi/manifests/tree/manta-lineageos-cm-14.1

https://github.com/followmsi/android_kernel_samsung_manta/tree/followmsi-nougat

Enjoy the summer :p
[Nexus 10 Android Development] suaksoz:
hey [MENTION=5480152]followmsi[/MENTION],

Great support! Appreciated! I'm so glad! This is an old tablet with brand new OS release. So, my tablet having minor performance issues sometimes. Is it normal right? Do you have similar problems? For example; simplest one is: my statusbar-items menu come down not with buttery movement. Is it perfectly normal? Thanks!
[Nexus 10 Android Development] mr.natural:
No problems here
[Nexus 10 Android Development] goodflood:
Hello!

My question is not specifically manta related but applies... I have an app that I want to run on it... but the error (paraphrased) is that the app is not supported. What can I do to the app (unpack, make changes) so that it run on my manta? Any suggestions / link to guide appreciated!

Thanks!
[Nexus 10 Android Development] followmsi:
Works fine ..