yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] mrRobinson:
So I have a manta build on a CFX 4.8 toolchain with O3, strict-aliasing=3, etc.

I have reports of a youtube crash, stock and dolphin browser FC after browsing for a while. I saw the youtube in this thread too and wondering if maybe its one of these optimizations not playing nice. I tried troubleshooting a bit yesterday turning off a lot of build switches I had like

-fipa-cp-clone \
- -fpredictive-commoning \
- -fsched-spec-load \
- -funswitch-loops \
- -ftree-loop-distribution \
- -ftree-loop-linear \
- -fvect-cost-model \

but none of that helped.

So i'll look at sabermod and see if anything is similar that could narrow down a potential cause.
[Nexus 10 Original Android Development] noneabove:
Oh **** developers collaborating? Yes please!
[Nexus 10 Original Android Development] sparksco:
Well you could build SaberMod per the instructions in the FAQ section. I don't know if [MENTION=4617326]jarjar124[/MENTION] wants people posting their own builds here or not but I allow it on my own threads. Sometimes I have time to update git source but not a new build.
[Nexus 10 Original Android Development] jarjar124:
People's build will always be allowed :)
[Nexus 10 Original Android Development] mrRobinson:
I'm actually building aokp. But if same issue is being reported, the similarities are the optimizations. Maybe they are affecting something. I didn't have the issue with 4.7 toolchain. Started on 4.8. I was going to try sabers 4.9 but doesn't seem that'll magically fix it.
[Nexus 10 Original Android Development] sparksco:
The optimizations just by using gcc 4.8 or 4.9 are way better than using -O3 on 4.7... OK well if you decide to build SaberMod let us know. We don't support building of other ROMs here on this thread.
[Nexus 10 Original Android Development] sparksco:
STS Kernel in the making.

-Initial kernel, based on cm kernel

merged with latest Linux kernel.

-Builds with SaberMod toolchain 4.8.2

-SaberMod optimizations

Other changes can be seen on github

https://github.com/SaberMod/samsung_kernel_manta/commits/sm-jb-mr1-wip
[Nexus 10 Original Android Development] skyklg:
Not sure if its written already. Is the stock kernel with this ROM build with linaro optimizations.?
[Nexus 10 Original Android Development] jarjar124:
If you look at the post above you, Sparks already answered your question :)
[Nexus 10 Original Android Development] sparksco:
Testing kernel 1

Deleted
[Nexus 10 Original Android Development] hanspampel:
Ok thx for your work. Booting fine. WiFi works, but no 3G:confused:. Just kidding.:D But i got some random reboots and one freeze.
[Nexus 10 Original Android Development] sparksco:
How long would it stay booted for? Can you get the /proc/last_kmsg with cmfilemanager and attach it here next time it happens? Need to have CMFilemanager in root access mode to get it.
[Nexus 10 Original Android Development] hanspampel:
Ok didnt test a lot at the moment. But after some deepsleeping of my N10, the whole system stuttered like hell. I made a last_kmsg. Maybe it helps.

Other thing, i cant get a connection to my pc anymore. It shows me the on my tab that usb debugging is active, but i cant see my device in win explorer.

Edit: After reboot system runs well, but no connection to my pc. After only 2 minutes system reboots. Mad another last_kmsg. Hope it helps.

Edit 2: After some other reboots after wakeup from deepsleep, deactivate usb degugging and my N10 was shown up on my pc. But at the moment the kernel is very very unstable. If you need your N10, wait for a better one. I reflash trinity in a couple of hours, cause need my n10 at work tomorrow. Hope you sorted it out.
[Nexus 10 Original Android Development] sparksco:
Cant's seem to find out any info from your last_kmsg's. Guess I'll wait for some people to post more (given they have similar issues), before I can determine what the cause is.

Edit: Might have found something in your second last_kmsg

Why you mad bro? Did you not read the warning?
[Nexus 10 Original Android Development] stonebear:
Flashed it, will report with logs if anything happens. :)
[Nexus 10 Original Android Development] hanspampel:
Sorry man. Dont want be rude or something. I respect your work.:good: Maybe i expectet too much.;) I know its the first release with alpha status. I hope for more releases and try to help if i can.
[Nexus 10 Original Android Development] sparksco:
Testing kernel 2

Deleted
[Nexus 10 Original Android Development] stonebear:
Stoopid question but I assume it's ok to flash over test 1?

BTW, no problems with test 1 for me so far.
[Nexus 10 Original Android Development] sparksco:
yes should be fine. Only two things changed. I disabled panic reboot on soft lockups, but on hard lockups (when complete freeze happens), it will still reboot. But I don't think you should have any issues with hard lockups.

The other thing that changed is a little more tuning in the ARM optimizations for manta's CPU, since manta uses neon-vfp. So the Test2 should work good as well :)

Here's the changes:

https://github.com/SaberMod/samsung_kernel_manta/commit/61359fb8daf9b248109c0bd94a38a78dfbb958fb

https://github.com/SaberMod/samsung_kernel_manta/commit/b852d941d2bdf5b5fb4656622560c03a7c7da6bc

Cc: [MENTION=4617326]jarjar124[/MENTION]
[Nexus 10 Original Android Development] stonebear:
Got a reboot on test 2 five minutes after installing it, and it has just rebooted again while typing this (on my PC, lol). :)

https://dl.dropboxusercontent.com/u/42242524/2013-06-10_23.27/last_kmsg.log
[Nexus 10 Original Android Development] sparksco:
Hmm, so maybe test 1 is better. On the bottom it says "No errors detected". I don't know if the way I'm installing the kernels is the best way. Might want to flash the test 2 over stock ROM kernel. I might just start using the whole boot.img to install instead of the any kernel installer.

Or [MENTION=4617326]jarjar124[/MENTION] can test it in a ROM build to see if that makes a difference.
[Nexus 10 Original Android Development] stonebear:
Yea, I flashed over test 1 so....

The boot.img might be an idea.

Right now I have reinstalled the stock kernel so I will flash test 2 and see what happens.

edit

- it still rebooted within a few minutes, even after flashing over stock kernel.
[Nexus 10 Original Android Development] sparksco:
Thank you for all your help!

One more thing I need to make any kernel installer to work properly.

To dump and write the kernels straight to the boot partition. In terminal or adb type

ls -l /dev/block/platform/dw_mmc.0/by-name/boot

It should say something like /dev/block/mmc...
[Nexus 10 Original Android Development] sparksco:
Like this
[Nexus 10 Original Android Development] stonebear:
No problem. :)

I got this "/dev/block/mmcblk0p3"
[Nexus 10 Original Android Development] sparksco:
Ok I'll have to remove the testing kernels for now until jarjar124 can do more testing. I'll send him the template for the kernel installer with the new partition layout in the updater-script.
[Nexus 10 Original Android Development] stonebear:
I deleted the bit about the safe mode (in last post) as I thought I might have put it in that mode myself, not sure what happened really...but it did reboot by itself.

:)
[Nexus 10 Original Android Development] jarjar124:
[MENTION=2394329]sparksco[/MENTION] this is with the kernel integrated. Will work on this tomorrow with you :) Bummed out by school today.
[Nexus 10 Original Android Development] sparksco:
Lol there's not really much I can do since I can't test. You'll have to test some things out.
[Nexus 10 Original Android Development] stonebear:
If you would like a tester, I volunteer. :)
[Nexus 10 Original Android Development] jarjar124:
I will be posting test builds later :)
[Nexus 10 Original Android Development] sparksco:
I built a htc-7x30 kernel last night with gcc 4.8.2 for the ace. Took like 2 minutes to build lol. Manta kernel probably takes about 5 minutes...
[Nexus 10 Original Android Development] jarjar124:
Yeah. I'm about to push the recents commit to frameworks. then I'll work on kernel :)
[Nexus 10 Original Android Development] sparksco:
Pushing buzzwords now?
[Nexus 10 Original Android Development] jarjar124:
Well, it's the forgetful side of me. Been studying lately for my regents. Forgot to upload build after it compiled. Here's first test build. http://d-h.st/AjD
[Nexus 10 Original Android Development] sparksco:
I'm just giving you a hard time man loll. It's not like a ROM though. Your only running the kernel script not the ROM one right?
[Nexus 10 Original Android Development] jarjar124:
I did the ROM one. From now, I'll be doing the kernel one. Forgot about the kernel script completely and ran the rom script. Don't worry. Once the regents are done, I'll have plenty of time to do this. Been busy lately. Really want to do my best on the finals :)
[Nexus 10 Original Android Development] sparksco:
Oh I see that now it's a full ROM. I assume it has the experimental kernel in it? Hopefully with fixes. Don't worry about github, with test kernels you have like 30 days with GPL to update the source. So take your time. Just want to get the kernel fixed :)
[Nexus 10 Original Android Development] jarjar124:
Yep. Seems like the ROM I posted with the kernel still reboots. Will need to find fix asap

Edit: Nvm. Removed link
[Nexus 10 Original Android Development] sparksco:
Ok guys. Since jarjar124 is very busy I'm going to help out. Complete rebase of the kernel. Test kernel #3. Should be more stable than the previous test kernels. Let us know how it goes. If this kernel goes well I will also post a new ROM build with changelog and kernel included :good:
[Nexus 10 Original Android Development] noneabove:
Reboot after opening YouTube on newest kernel. For what it's with everything else is smooth!

http://db.tt/r6YATSBW
[Nexus 10 Original Android Development] sparksco:
Disable hw overlays in development settings. Should fix that.
[Nexus 10 Original Android Development] noneabove:
Alright, done, however there's still issues with opening apps and multitasking and such , just doesn't really work much :/

As in, sometimes hitting a different open app will result in a black screen, others multi tasking just won't open, the button doesn't react

Right now my n10 is stuck in xda app, can't click anything in app, the navigation keys light up and cause vibration but don't yield any results
[Nexus 10 Original Android Development] sparksco:
What do you mean problems?
[Nexus 10 Original Android Development] noneabove:
(Edited to portray what I meant realizing I was being very cryptic lol)
[Nexus 10 Original Android Development] espionage724:
Not really an ideal fix though; last I checked, disabling HW overlays on manta caused pretty much every animation and general 2D/3D performance to drop with noticeable stutter :/
[Nexus 10 Original Android Development] sparksco:
So just fix the YouTube bug with the kernel then its all good?

Cc: [MENTION=4617326]jarjar124[/MENTION]

BTW I ported over some fixes from my mako kernel so let me know when you guys are ready for a new test one.
[Nexus 10 Original Android Development] noneabove:
I'm good any time. However in addition to the youtube bug there's what I described above with the software buttons not replying and multitasking making apps appear blank, HOWEVER those might be one and the same issue. Or it could have been caused by disabling HW Overlays
[Nexus 10 Original Android Development] aaron.bufc:
I'll hold out for 4th test build if your going to be uploading soon...looking forward to give it a go, mako kernel has always worked very well for me.
[Nexus 10 Original Android Development] noneabove:
Any more tests ?
[Nexus 10 Original Android Development] jarjar124:
Compiling now. Fell asleep.
[Nexus 10 Original Android Development] noneabove:
That's a pretty fair excuse. :P I've got my 10 ready to test it for you :)
[Nexus 10 Original Android Development] sparksco:
There's two branches to the kernel now. So the ROMs will use the stable branch with gcc 4.7.4, and the experimental branch will be for the gcc 4.8.2. This way the ROMs will always have a stable kernel in it, and the test kernels can be provided separately.
[Nexus 10 Original Android Development] noneabove:
Sounds good to me, will the features between the two be the same with just the improved optimization of 4.8.2 separating them? Also what will the features be?
[Nexus 10 Original Android Development] sparksco:
Right now it's just a enhanced stock kernel. So yeah, some minor optimizations. Based on cm kernel.
[Nexus 10 Original Android Development] jarjar124:
Here is the latest kernel which should be stable. I did a little video test (leaving it on a youtube video for 15min) and no freezes or reboots for me. Just want to make sure it is for everyone so Sparksco and I will include it in the next build for manta :) Here it is http://d-h.st/hqO
[Nexus 10 Original Android Development] noneabove:
Everything super smooth so far! :)
[Nexus 10 Original Android Development] stonebear:
Seems ok so far. :)
[Nexus 10 Original Android Development] sparksco:
Any improvement over stock? Or is it hard to tell lol?

There's been about 10 changes added.

https://github.com/SaberMod/samsung_kernel_manta/commits/sm-jb-mr1
[Nexus 10 Original Android Development] jarjar124:
It's noticeable while scrolling.
[Nexus 10 Original Android Development] stonebear:
Hard for me to tell really, the stock kernel on the Manta is actually very good imo.

A lot of people seem to think OnDemand works better on the Manta than Interactive, I wonder if you would consider including it next time for testing purposes?

From what I have read around the forum, there are a lot of increments getting up to the 1.7Ghz with Interactive that make things feel less snappy than Ondemand.
[Nexus 10 Original Android Development] noneabove:
Main place I see more smoothness is immediately after turning on screen, playing with the notification and quick settings panel
[Nexus 10 Original Android Development] stonebear:
Actually I am noticing a big improvement when scrolling pictures, if you have a collection of biggish size wallpapers in a folder and open them with Solid Explorer (or other file manager) and scroll from side to side between them, there is a lot less lag than with the stock kernel. There is always some lag due to the size of the pics. So, yea Scrolling is definitely better. :)

Also I have set the Interatctive tunables that Osmosis came up with for Franco's kernel with Interactive Governor.

They make things a bit snappier imo.
[Nexus 10 Original Android Development] sparksco:
Getting to technical for me in device specific tunable parameters like governors and such.

I'll have to leave that up to [MENTION=4617326]jarjar124[/MENTION] to add things like that if he wants to :beer:
[Nexus 10 Original Android Development] jarjar124:
New build is up. check third post for changelog. For lazy, http://www.mediafire.com/download/92jjpm0yc4j4hsc/sm_manta-1.0.1-1371078845-0612.zip

I will work on the kernel after my finals during the next couple of days. Maybe [MENTION=2394329]sparksco[/MENTION] can help fill in with test builds while I'm busy :) I will stop by once in awhile. I just won't be compiling.
[Nexus 10 Original Android Development] sparksco:
Actually since I don't own a manta I'm done with the kernel. Guess we'll have to wait til after your finals to see what things you can add to it ;)
[Nexus 10 Original Android Development] jarjar124:
Alright then. :)
[Nexus 10 Original Android Development] stonebear:
Great. :)

Does this have the test 6 kernel in it?

If not I will flash it anyway.
[Nexus 10 Original Android Development] jarjar124:
Yes.
[Nexus 10 Original Android Development] stonebear:
Recent apps button not working for me with latest build. :eek:

http://db.tt/XEVCM6E2
[Nexus 10 Original Android Development] sparksco:
Hmm, what is doing? Probably related to this.

https://github.com/SaberMod/android_frameworks_base/commit/90e6acdcc57cf5dae83b39202103b918f3ea2e4b
[Nexus 10 Original Android Development] sparksco:
Deleted. Wrong thread :x
[Nexus 10 Original Android Development] lynnux:
Scrolling is noticeably smoother for me. It's ridiculously smooth.

My recent apps button is working.

Sent from my Nexus 10
[Nexus 10 Original Android Development] sparksco:
So the button is just on the bottom now right?
[Nexus 10 Original Android Development] lynnux:
It's always been only on the bottom. Can it be somewhere else?

Sent from my Nexus 10
[Nexus 10 Original Android Development] jarjar124:
Uploading new build to fix recents not working apparently. Was working for me. How is it not working for you guys? It shows up and holding onto it does what it is supposed to do. Hmm...
[Nexus 10 Original Android Development] noneabove:
Back with one of the previous test kernels I had it opening up apps with a black screen on recents and then after that having the software keys not working at all.. I'll wait for your fix to be up download it and let you know
[Nexus 10 Original Android Development] jarjar124:
Never experienced that.. Check media fire. It should be up now.
[Nexus 10 Original Android Development] noneabove:
Will do, I didn't experience it after that kernel version, running test6 with no problems, however will update and let you know ;)
[Nexus 10 Original Android Development] stonebear:
Flashing test 6 with previous rom version, recent apps worked for me.

Dirty flashed new rom containing test 6, recent apps button was there but didn't work at all, didn't bring up black screen, just did nothing.

Will download new version. :)
[Nexus 10 Original Android Development] ikenvape:
I just found a pretty solid rom. Already nand'd and don't mind testing around. Thanks for your hard work guys!
[Nexus 10 Original Android Development] stonebear:
No problem with new version for me. :)
[Nexus 10 Original Android Development] ikenvape:
Recents is functioning and complete on this side. :victory:

Loving the crt animation. Nice touch.
[Nexus 10 Original Android Development] aaron.bufc:
Recents working perfectly for me also...all quite smooth so far.
[Nexus 10 Original Android Development] stonebear:
Yea this is nice, kernel working well. :)
[Nexus 10 Original Android Development] VertigoOneX:
Newest ROM with provided kernel. Recent works until you hold the button. After that recent doesn't work anymore.

Edit: Didn't notice there's a 13th version. I have the 0612 installed. Going to test the new one now.
[Nexus 10 Original Android Development] jarjar124:
It works here. I really never had the issue people are having. Holding it clears cache for me and it still works after that.

Can someone try and flashing testv6 which was posted a page back or two to see if that fixes the problem?
[Nexus 10 Original Android Development] VertigoOneX:
I thought test 6 was already included in newest ROM?
[Nexus 10 Original Android Development] jarjar124:
Yes but stone bear mentioned that he flashed v6 separately and it was fine.
[Nexus 10 Original Android Development] VertigoOneX:
I see. Still have to flash the new one (fixed) though and see if it works.
[Nexus 10 Original Android Development] stonebear:
It does. :)
[Nexus 10 Original Android Development] jarjar124:
That's odd. Maybe that's why it's working for me too..
[Nexus 10 Original Android Development] stonebear:
lol, yes I reckon so. :p
[Nexus 10 Original Android Development] sparksco:
[MENTION=4617326]jarjar124[/MENTION] so what's the verdict on clear recent button? Can we revert the fix?
[Nexus 10 Original Android Development] jarjar124:
Yep. For some reason it was the kernel doing it. I'll just post that people will need to flash the test zip to fix it. :)
[Nexus 10 Original Android Development] sparksco:
OK its back to the way it was before now :)
[Nexus 10 Original Android Development] sparksco:
-O3 optimizations might work now...I can post a test build later today of a unofficial build if anyone wants to test it.
[Nexus 10 Original Android Development] lynnux:
Flashed the latest and my recent apps button... is still working.

Thanks for this rom. I tried a few others, none as smooth as this, now more than ever. I appreciate that you keep it simple and keep trying to improve its performance.
[Nexus 10 Original Android Development] noneabove:
Go for it
[Nexus 10 Original Android Development] sparksco:
Building now. Should be uploading it soon.
[Nexus 10 Original Android Development] sparksco:
New test build with -O3, (hopefully fixed now). Please test.

http://developer.clockworkmod.com/downloads/293/4960/sm_manta-1.0.1-1371172465-0614.zip
[Nexus 10 Original Android Development] noneabove:
Downloading, will let you know how it goes in 15 min, not much time for testing before I sleep though

---------- Post added 14th June 2013 at 12:12 AM ---------- Previous post was 13th June 2013 at 11:54 PM ----------

Browser still crashes :(
[Nexus 10 Original Android Development] sparksco:
Hmm OK. Think I need to look into this browser crash more cause it seems to be happening on other devices too. Sometimes, its very random on mako though. Doesn't happen very often. Google search works though?
[Nexus 10 Original Android Development] noneabove:
Sadly I must check in the morning as I've begun powering down devices, however it will be one of the first things I do!
[Nexus 10 Original Android Development] b1g.p0ppa:
I dirty flashed over 6/13 (wipe system, flash ROM then gapps from OP, wipe cache/dalvik) and neither browser nor Google search crash for me. Noticeably snappier too, btw. :good:

I'll be sober(ish) for a little while longer so lemme know if you'd like it tested some other way.

(first post in the manta forums!)
[Nexus 10 Original Android Development] stonebear:
Downloading.
[Nexus 10 Original Android Development] shaker2k:
I dirty flashed and I can't make it crash. I played nfs, you tube: with app and browser(fire fox and android). Surfed Facebook and used Google now, Played plasma sky. No lag at all!

Anything else I can try?
[Nexus 10 Original Android Development] stonebear:
The Brwser crash happened very rarely for me and the extra speed from the 03 made it worth it, lol.

However I did get a bug were pages wouldn't load in the aosp browser and that was more troubling.

That was in the previous roms though, not the new one. Only just started testing that.

It's so fast, I love it. :D

edit

my recents button isn't working again. :(

http://db.tt/4LVZHCKN
[Nexus 10 Original Android Development] stonebear:
I flashed test 6 to see if that fixed it but it didn't.
[Nexus 10 Original Android Development] VertigoOneX:
The 0613 works without bugs for me, neither recent button nor browser problems anymore. But the new version with -03 optimizations crashes the browser again.
[Nexus 10 Original Android Development] sparksco:
New test build coming today. It won't be as late of a update as yesterday. Should be up in about-5 hours when I get home. There will be test build every day until its fixed, which it will be lol!
[Nexus 10 Original Android Development] jarjar124:
Thanks for filling in while I'm busy with finals. Only got one more test to go next week :D
[Nexus 10 Original Android Development] sparksco:
New test build up. I can't make the browser crash anymore on my N4 like it was on the last build. I'll continue to test more. Enjoy and report. That way jarjar124 won't have to keep switching back and forth from -O2 to -O3 and rebuilding clean builds every time too.

http://developer.clockworkmod.com/downloads/293/4963/sm_manta-1.0.1-1371251369-0614.zip
[Nexus 10 Original Android Development] stonebear:
I used the 0313 gapps and voice search immediately force closes, recents is working, not tested browser yet.

http://db.tt/DeVH1Tms

Edit

Updated Google search at Play Store and it no longer force closes.:D
[Nexus 10 Original Android Development] b1g.p0ppa:
I used the 0301 gapps but dirty flashed so already had the updated voice search and got no crash. No problems with browser either.

---------- Post added at 08:41 PM ---------- Previous post was at 08:05 PM ----------

Bummer, spoke too soon. Browser crashing on http://tinyurl.com/yupq6a in both portrait and landscape (if that's even pertinent).
[Nexus 10 Original Android Development] sparksco:
Strange I just tried it and had no issues. Are you trying to use flash player or something?