yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] 21plays:
caf vs stock

Hey OP. Curious about this caf optimizations. I would like to know more about it, caf vs stock aosp. Got a link? Thanks

Why hasent anyone merged code Aurora with the main Linux kernel?

I read that starting with 4.3, CM started mixing code between CAF and AOSP. They put some CAF features/capabilities into their baselines for AOSP-supported devices (Nexus devices), and started putting AOSP patches into their baselines for CAF devices. This true?
[Nexus 5 Android Development] reas0n:
Probably a CM issue, no bug on my testing build here.

Check the FAQ, second post. Also myfluxi talks a lot about it in the topic i mentioned in OP.

I'll probably release the milestone build today or tomorrow, still working on some things. I want the base to be clean and set up.
[Nexus 5 Android Development] Thunderbolt:
Reason You create only for n5?
[Nexus 5 Android Development] reas0n:
1. I build only for N5. I just got a default Lollipop bootanimation.

2. If someone will build it for own phone, he can just revert the change and use CM Bootanimation or do anything, it's easy. My .pngs didn't work, I'll make my own bootanimation sometime, it's not necessary much.

I'm compiling a milestone build today, if everything will be okay, I'll drop it here :cowboy:
[Nexus 5 Android Development] 21plays:
Please add:

Window/Transition/Animator scale 0.75x

Nav bar height

Traffic upload/download speed

Dark Material theme

I'm not a fan of the weather in QS but if you are gonna keep it their would you please add some options to it in settings

Question, will turning off the weather in qs disable the weather or is it constantly updating in the background?

Thanks)
[Nexus 5 Android Development] montydrei:
A soft reboot cleared up the navbar issue. :)
[Nexus 5 Android Development] 21plays:
Issues

Hang on screen color option

The weather does not show in QS

---------- Post added at 15:46 ---------- Previous post was at 15:45 ----------

Is the kernel using mpdecision by qualcomm or alt?
[Nexus 5 Android Development] reas0n:
I will just disable the Weather by default and that's all for now (after clean flash it's enabled like Doze mode)

Soo updated to-do list:

It's using custom msm_hotplug by myfluxi, tweaked by neobuddy89.
[Nexus 5 Android Development] 21plays:
Thanks for the reply.

What is Doze mode?

Since its using a custom msm should i leave the mpdecision unchecked like it is now in synapse?

---------- Post added at 16:35 ---------- Previous post was at 16:22 ----------

Just wanna say that this is an awesome ROM.

Loving the optimizations

Loving the dev support

Loving the features

The ROM is fast and fluid

Thanks)))))
[Nexus 5 Android Development] reas0n:
Doze mode ===> Ambient Display from Motorola devices.

And yes, leave it.
[Nexus 5 Android Development] 21plays:
Could you also add:

I'm not sure what its called but when you receive a heads up notification from hangouts to have the option of read, reply

Thanks)
[Nexus 5 Android Development] reas0n:
Could You give me the commit or at least show me the ROM which has it? Because I don't know a little what You mean.
[Nexus 5 Android Development] 21plays:
BlissPop has it or no i think dirty unicorns has it. Man i really dont remember. If i find it i will let you know. I think the feature is called quick reply. I dont really care for the quick reply thing but I really loved the "read" button

For example, i get messages from my bank and whatnot, sliding the message away will still have it as unread when you open hangouts. Selecting read takes care of that

Thanks a lot for taking our suggestions seriously. In the end the choice is yours what to add and what not to add/remove)))
[Nexus 5 Android Development] sparksco:
It's just called heads up. I'm not sure where commits are though. Is this what your talking about?
[Nexus 5 Android Development] reas0n:
but Heads Up is default feature in 5.0 lol :p It's about some additional settings for it. For now I'll just release what I want to release, then we will think.

Btw, I added manifest so everyone can compile the ROM (hope so)
[Nexus 5 Android Development] 21plays:
I also experienced the issue with the nav buttons when in landscape mode.. Soft reboot fixed the issue.. Thinking this is a theme engine issue.

Another issue is when I connect my jabra move via bluetooth the music is choppy. Bluetooth off/on fixes this
[Nexus 5 Android Development] reas0n:
Another audio issue? damn.. no Viper4Android, anything? If not, could u try the 16/02 build and tell me if the bug still exist?
[Nexus 5 Android Development] 21plays:
No viper or any other mod. I will try the 16/02 build but later. I will update you on this soon
[Nexus 5 Android Development] reas0n:
I have found ppl have bluetooth audio issues on vanilla CAF too. If 16/02 build will be the same, then drop me the logcat.
[Nexus 5 Android Development] 21plays:
I could not reproduce the issue on 16/02
[Nexus 5 Android Development] reas0n:
Oh :confused: Please test the upcoming builds, if the bug will still exist, I'll have to turn off Strict Aliasing.. again.

But still a logcat would be nice.

EDIT: Yaaay, a broken build. But it's a easy fix, I still hope to upload it today.

uploading...

[19/02]

-Disabled Doze by default

-Disabled CM Weather by default

-ro.sf.lcd_density=430 (for req)

-default Lollipop bootanimation (no more Cid)

-a lot of kernel updates in Chaos

-merged latest things from CM

-Strict Aliasing is back again (mess in changelog, it was disabled in 17/02)

-changed bionic cflag from gnu99 to gnu11
[Nexus 5 Android Development] maddes1402:
Thanks for the update! One question concerning the kernel. I'm on Chaos test build from 18.2. Are all new improvements in your kernel as well (advanced color control for example) and just compiled with sabermod?

Regards, Matt
[Nexus 5 Android Development] reas0n:
I update the sources pretty often in overall. And yes, they are there, it's compiled with SM4.8 but I'll test 4.9 for kernel soon.

Ugh. I feel like I broke CM Weather somehow, I need to find out what apk it needs.

btw, [MENTION=4718857]21plays[/MENTION] pls don't edit old posts, because I may not read them lol. Oh, and Dark Material can be achieved with Theme Engine.

From now, please use a Feature Request bookmark, it will be easier for me.

I'll write down future features here to prevent duplicates:

The build is up btw :cowboy:
[Nexus 5 Android Development] 21plays:
I could have sent you the logcat but you specified to send it to you if the problem occurred. Next time I will have a logcat ready because as the saying goes "no logcat no bug"

I will not edit old posts, thanks for the fyi.

---------- Post added at 10:25 ---------- Previous post was at 10:22 ----------

Oh and I think I got the name of the heads up tweak I mentioned earlier, its called "Headsup Options" and Dirty Unicorns have it
[Nexus 5 Android Development] reas0n:
It's not like devs want to be grumpy or something, logs just help to see, what's going on. Btw, Synapse app helps to get kmsg after random reboot, it's a one click.
[Nexus 5 Android Development] 21plays:
understood
[Nexus 5 Android Development] reas0n:
Funny thing, CM Weather isn't working for me even on stock CM :V Seems like It'll be a hard day..

Another funny thing - Screen color options aka PPPreference has a Settings FC too. Seems like settings reorganization broke something.
[Nexus 5 Android Development] szucsgf:
Hi, I just got a random reboot while using Tapatalk. I'm not concerned, but I thought I'd post the logs just in case. No relevant change to kernel settings; I used stock frequencies, voltages, and hotplug, changed only things like vibration and color.

https://www.dropbox.com/sh/l22zj800tyi9ex5/AAC0TSkGWemNUfp7R5VwtjNOa?dl=0

This is my first time using Vivid and I'm impressed so far! Runs very smooth and nice features. Thank you.
[Nexus 5 Android Development] reas0n:
last_kmsg didn't show anything.. also logcat didn't show anything special.. I already reverted disabling JNI, on new build logcat should show more informations.

EDIT: I'm reorganizing optimizations for better results and less bugs, so it may take some time.

EDIT2: SM4.9 + O3 + Graphite for kernel is coming, I feel like the results will blow us away :D
[Nexus 5 Android Development] AirwolfUK:
Anyone else getting FCs in settings?
[Nexus 5 Android Development] reas0n:
Yes, there are some FCs because of Settings reorganization.
[Nexus 5 Android Development] pianistaPL:
Latest build is flying!
[Nexus 5 Android Development] montydrei:
Now this is exciting :D
[Nexus 5 Android Development] reas0n:
I may add a new build today. I have to restore the changes I made in the past in ROM.

Sorry for still not added features. Performance is first here ;) I'll add them after reorganization.

EDIT: Building seems to be good for now, I hope for good results. While waiting, enjoy this masterpiece I found today ;)

[YOUTUBE]watch?v=ioq_t_GHBtg[/YOUTUBE]​

EDIT2: My compiling failed duhh, got a strange lag on laptop. Soo the new stuff is delayed to today.
[Nexus 5 Android Development] reas0n:
Update:

I have a preeeetty nasty bug, no error log, nothing. I have to find out what is wrong. So for now, no ETA (I'm so CM-ish right now lol)

EDIT: [MENTION=4718857]21plays[/MENTION] I probably found that Heads Up thingy, it's from SlimRoms ;)

EDIT2: Okay guys, SM4.9 on kernel is finally working. Only thing for now is to fix the common bugs I had before. Today/tomorrow I may provide a test build without the optimizations (yet). I thrown everything away to find that invisible bug :confused:

New build is being uploaded!

[TEST_23/02]

-kernel built with SaberMod 4.9 (oh God finally.. CAF isn't helping me with it)

-no optimizations in this build, had to find the bug (coming in the next build)

EDIT3: Just having hard time with Java lol. Next build will have some new features :p
[Nexus 5 Android Development] mobvision:
Hi, any update today? Just dont know what to do :P flashing 23.02 build or wait for next one ? :)

Good job mate, best rom ever. Thanks for Your time!
[Nexus 5 Android Development] reas0n:
Okay, but it may (and it is, Heads Up settings are broken) buggy.

[TEST_25/02]

- animation speed seekbar

- LCD density settings

- navbar height settings (it works but needs a menu fix)

- HeadsUp improvements (broken for now..)

- black BatterySaver skin, no more Annoying Orange (lol)

soo I broke Development Settings.. I have to revert HeadsUp and animation speed seekbar to find out what's wrong.
[Nexus 5 Android Development] sryche:
this rom is really fast and battery friendly, but is it possible to add floating window mode for incoming notification.

http://repo.xposed.info/module/com.zst.xposed.halo.floatingwindow
[Nexus 5 Android Development] pianistaPL:
23/02 build is working great! Hope animation speed seekbar will be fixed :D
[Nexus 5 Android Development] maddes1402:
On the latest version synapse support is gone. I don't know if it is rom or app lelated (synapse app was updated yesterday).

Thanks so much for the navbar height settings!! Personally I prefer it a bit smaller [emoji1]

Regards, Matt
[Nexus 5 Android Development] reas0n:
So seems like I have to drop this "hammerheadcaf" name, it causes so much problems. A change in build.prop should fix it. I'll change it in next build

Sorry, but it's kinda meh, also I haven't seen any good implementation of if for Lollipop yet. I know what Omni was going to reactivate their Multiwindow project. But if You'll find something (just don't look on Xposed but on custom ROMs features) let me know.
[Nexus 5 Android Development] reas0n:
I uploaded a new one, no Heads Up improvements for now, but Settings FCs are gone. I forgot about the bootanimations but it doesn't break anything.

For Synapse support I contacted the UKM developer.

Now I'll take care about the optmizations, I'll leave HeadsUp and CM profiles for the future.

[26/02]

-fixed bugs

-updated to latest hammerheadcaf sources
[Nexus 5 Android Development] montydrei:
Dirty flash over 19/02 build seems to get stuck at the boot "animation". I guess I should do a clean flash due to kernel change to SM4.9?

Oh wait, I think it's a problem with a new theme I installed. Nevermind!

eta: For posterity, to solve my bootloop, I did the following:

1. Reboot to recovery (TWRP 2.8.5.0)

2. Go to Advanced > File Manager

3. Navigate to /data/system/theme

4. Tap Select

5. Tap Delete and swipe to confirm

6. Reboot phone normally

7. Go to Themes app and make sure all boxes for System (default) theme are checked

8. Reboot to recovery and dirty flash new ROM version
[Nexus 5 Android Development] opssemnik:
hi, first of all thanks for your rom, i never thought of running cm again but i had to try your rom and has been running great, but may i ask you something? could you revert the LCD Density changes to the cm / aosp ones? (just if you want ofc).

i find it that breaks some of the apps i use (no method found android.res.Resources.blabla) + there is no stock dpi option (480) neither the real-lcd one (445)
[Nexus 5 Android Development] reas0n:
480 and 445 u say? Okay, I'll look at it. Btw good idea about changing it to real-lcd as default.
[Nexus 5 Android Development] sparksco:
Is this ROM considered a CM ROM? Thought that confusion was taken care of in previous posts... I suppose because it says CM based in the OP that would make sense to assume that.
[Nexus 5 Android Development] opssemnik:
i know caf isn´t cm, it isn´t about that, but the dev syncs its sources (and forked them) from cm

Thanks, looking forward to it.
[Nexus 5 Android Development] reas0n:
Here's the Chaos kernel with some optimizing flags. It'll be in future builds. Enjoy.

http://www50.zippyshare.com/v/Ct7M5oyy/file.html
[Nexus 5 Android Development] zeppelinmad4:
I am using TWRP v2.8.5.2 and am getting the error:

I wiped Dalvik, cache, and data before trying to flash. I checked the md5 and they match. This is a new one for me.
[Nexus 5 Android Development] reas0n:
There are some bugs between hammerheadcaf and TWRP.. I'll check that now. It's strange btw, 'cause I'm uploading the ones I test by myself... I could upload the wrong one.

EDIT: I uploaded the right one. Strange. Try to change updater-script in ROM .zip, change the first line with that one:
[Nexus 5 Android Development] zeppelinmad4:
Thanks for the very quick reply. I tried that and it was the same thing. I saved a recovery.log and opened it (which I should have done in the first place). Seems like I was on the 5.0 bootloader and now the 5.0.1 bootloader. So I downloaded the newer bootloader and it flashed fine. I am now finishing up the install. Sorry for any trouble.
[Nexus 5 Android Development] montydrei:
I am a dumb babby, but do I flash this in fastboot mode using command

fastboot flash boot Vivid_Chaos-2702.img

?

Maybe I'll just wait for the next build :o
[Nexus 5 Android Development] reas0n:
TWRP now has ability to flash IMGs
[Nexus 5 Android Development] zeppelinmad4:
I just flashed the chaos kernel with the optimized flags, UKM, SELinuxModeChanger, and Synapse. I changed the mode to permissive and opened Synapse but app is saying 'Device Not Supported'. I'm not sure if it is because of the kernel I just flashed? I saw on the UKM link that there's a permissive boot.img to flash but I figured that would override my kernel. Please forgive me as I am very new to the world of CAF ROMs.
[Nexus 5 Android Development] montydrei:
After flashing the optimized SM4.9 kernel, I had to reflash SuperSU for root. Maybe this is related to your issue?
[Nexus 5 Android Development] reas0n:
About Synapse:

http://xdaforums.com/android/softwa...sal-kernel-t2736986/post59099930#post59099930

Also, I'm compiling a new build right now, hope it'll work, I added some optimizations to ROM (nah and forgot about that DPI thing).
[Nexus 5 Android Development] opssemnik:
running the 26 nightly, so far its running great, and the 27th kernel fixed the random reboots (at least i didn´t see them), but two things i noticed:

1 - dialer crashed when opening it up from a missed call notification (googling it seem that it is a cm bug tho, but maybe you can keep eye on cm´s gerrit, and once i get another missed call, i give you a logcat)

2 - wifi wakelocks are huge, i went to sleep, woke up, and there was a 4 hr deep sleep, and a 1 hour wifi wakelock, and my connection is really strong (3-max bars), and BBS didnt told any app waking up the phone too much (on Partitial wakelocks, the higher one is NLP with 7mins)

3 - Sometimes, some animations aren´t really 60fps (i noticed the navbar button animation on recents view), i just thought of sharing, because overall for me this is the fastest rom so far (including KK) that i used, so i found weird this one since it dosen´t happen on another roms. don´t get me wrong, they don´t stutter, its just not 60fps, not smooth

Aside from all of this, great rom and thanks for your hardwork, once i get intl card i drop you some coffe :P

PS: http://imgur.com/cRQzFc4,K5UpM4J,s2H8waI
[Nexus 5 Android Development] reas0n:
Wakelocks are most likely Your apps or Wifi advanced settings. Check them. Also check AppOps for apps wakelocks.

Also some source updates are coming in next build.
[Nexus 5 Android Development] zeppelinmad4:
So, basically it will be supported in Synapse's next update? Can definitely live with that.
[Nexus 5 Android Development] reas0n:
Yup, and TWRP update also should come.

I'm fighting now with Graphite, it somehow breaks the build without giving any error..

I'm also trying to add it to kernel (with LTO).

Because the build was broken, meanwhile I changed the DPI to default, I had seen that DPI settings are using it to calculate the values.
[Nexus 5 Android Development] Dr.Pepper:
Lol,no hdr+

---------- Post added at 07:47 PM ---------- Previous post was at 07:22 PM ----------

Fixed hdr

Just flashed latest kernel from myfluxi's build
[Nexus 5 Android Development] sparksco:
hdr+ is in the ramdisk. Probably missing from the ramdisk in this rom.
[Nexus 5 Android Development] reas0n:
Will be fixed in coming update, also flashing kernel from myfluxi's unofficial builds (he sometimes add uncommited changes) may break things. You're also losing features and optimizations.
[Nexus 5 Android Development] reas0n:
Update time!

Okay guys! Today's changes are pretty big, hope You'll enjoy :cowboy: The build will be on AFH in 5-10minutes.

[01/03]

-fixed bootanimation

-a try to fix LCD density settings values

-updated to latest CM sources

-device/kernel CAF updates

-added Graphite and loop nest optimizations to kernel (LTO coming soon)

-added Graphite and -O3 back to ROM + added PThread

-SaberMod Bionic and ART improvements
[Nexus 5 Android Development] maddes1402:
Thanks for the update! Phone is flying, hdr+ is back, synapse is supported again [emoji4] ! Just one thing; I'm not able to use undervolting. Leads in a constant reboot.

Regards, Matt
[Nexus 5 Android Development] reas0n:
As neobuddy89 told me, CAF kernel has lower voltages than AOSP one. Maybe that's why.

TIP: If You guys still don't have HDR+, just clear the Google Camera app data.
[Nexus 5 Android Development] llevo3:
just install this rom and I must say I'm impressed. will play for a while. :good:
[Nexus 5 Android Development] reas0n:
Aaand the new build is uploading :p

[01/03]v2

-added 445 and 480 dpi values to settings

-added more ROM optimizations: Krait tunings, loop nest optimizations, pipe, -O3 for clang and -O2 for Thumb

(that's why the ROM got bigger, it's not optimized for size anymore, but for performance)

-some device/kernel updates
[Nexus 5 Android Development] llevo3:
I noticed that when you change navbar buttons dpi (40dpi for example), buttons actually shrink by height
[Nexus 5 Android Development] choihanoh:
wow

fast good thanks ;)
[Nexus 5 Android Development] reas0n:
u wot m8? :confused: I completely don't understand. It just does what it's supposed to be doing.

In next build I'll end optimizations, maybe clean up the ROM a little... And my student life starts again. So from now I'll just release the builds with updated sources from CM etc., maybe I'll be adding the additional features which aren't in CM, if someone will write here about it. Well, this ROM has to be fast, lightweight and once again fast, what else can I do? :cowboy:
[Nexus 5 Android Development] llevo3:
Sorry, only the back button
[Nexus 5 Android Development] reas0n:
oh, I see now, It wasn't like that before.. I'll check what I can do
[Nexus 5 Android Development] Dr.Pepper:
3 hours of SOT and 43% left!

Tomorow will test v2:)

Nice rom,thanks for you hard work!)
[Nexus 5 Android Development] reas0n:
Update

The newest build has a bug with Synapse/UKM, it should be fixed in next build.

About ugly back button - I probably found the bug, it appearead after CM update.

And I also see I have to fix LCD density values again, lol.

Btw, do anyone want to join and take care about this project? :p
[Nexus 5 Android Development] sparksco:
Your ending optimizations because of the navbar???
[Nexus 5 Android Development] reas0n:
LOL no! :D Of course I'm not ending, I already fixed the navbar.

I'll end=finish of course!
[Nexus 5 Android Development] zeppelinmad4:
Been baffled with how great of battery life I've been getting. Definitely can't wait to update when you post the UKM fix.
[Nexus 5 Android Development] montydrei:
Just out of curiosity, what kind of battery life are you getting? I seem to get about 24 hours per charge, but that's probably due to some app or other configuration weirdness on my phone that's draining a bit too fast. :)

ETA: Is anyone else's Maps crashing when trying to get directions and navigate? Also, Calendar crashing when trying to add a location to a calendar event by selecting the "at..." option when typing in the name of the event? Running Vivid build 20150301_v2 and PA GApps Modular Mini 20150301.
[Nexus 5 Android Development] zeppelinmad4:
I got a little bit over 24 hours with around 4 hours screen on time. Which means a lot for me. I'm normally around 2.5 hours screen on time.
[Nexus 5 Android Development] reas0n:
I have to think what can be wrong. Does this bug exist on myfluxi's vanilla CAF?
[Nexus 5 Android Development] montydrei:
Thanks, reas0n! :)

After a flurry of fiddling with the DPI settings (went from 408 to 445 to 480 and now back to 408) and wiping the app's data and cache and wiping all data and cache and then wiping system and reflashing the ROM and PA GApps, Maps seems to have stopped crashing. However, Calendar still crashes when I type in the event name and then select either the "at... " or "with..." options. Thanks for all your hard work on this beautiful ROM!
[Nexus 5 Android Development] reas0n:
Okay, so once again, is it the same on myfluxi's CM? and do u have any logcat? (just adb logcat *:E -v long > nameoffile.txt).

I checked both Google and CM Calendar (u didn't say which one) and everything works. Strange..
[Nexus 5 Android Development] montydrei:
Oh sorry, didn't see your edit where you added your question. I am not sure how to check if this issue exists on myfluxi's vanilla CAF (my Google-fu is also weak). The app in question is Google Calendar (I assumed it was clear when I mentioned I was using PA GApps, but that's what I get for assuming). I'm attaching my logcat as well.

Thanks for your patience with a dumb newb like me :)
[Nexus 5 Android Development] reas0n:
Well, so when u want to add a place or people to event, then the app crashes? do i understand it right?
[Nexus 5 Android Development] montydrei:
That's correct.
[Nexus 5 Android Development] reas0n:
Seems like a random bug. I don't have this issue. We will check it again on newer build, I'm editing some flags.
[Android Q&A, Help & Troubleshooting] dillons:
I connected my Moto E (4.4.2) to Windows 8 (64 bit) with a USB (debugging enabled) and clicked on the 1-click rooting of Wondershare's MobileGo.

It has been stuck on the Get Root Access screen now for two hours saying:

"Getting root access, please wait..."

It also says Please do NOT disconnect your device.

Should I still be waiting? I'm guessing it's stuck in a loop.

If there is a problem, how can I disconnect safely? Surely if I disconnect I'm left with a brick?

Any advice or thoughts? Thanks