yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] marioemp2k7:
Yes, there are some things force closing, but that's it. Everything is working as it should.

[MENTION=3514366]travperk[/MENTION] : Take it easy! Your experience is not useful at all. Be more specific and help the developer, don't crash the thread!

[MENTION=3371513]reas0n[/MENTION] : Fast charge would be a very useful feature to add to the CM kernel. Thanks for the good work!
[Nexus 5 Android Development] reas0n:
lol, I don't really know how for one person radio works and not for another... It's very confusing.

As I said, those are builds from staging/cm-12.1 and I hacked device/kernel from 5.0 because I didn't have any other option, so yes, there will be bugs for some time.

The bugs I found out are for sure:

-FC when installing apks (BUT they are installed anyway)

-Alarm FC

-broken CM SMS app

Also, You guys have made the rating of thread worse because I decided to give You a early build and SAID THAT IT WILL BE BUGGY BEFORE? Seems like I have to change my mind.
[Nexus 5 Android Development] zymphad:
Radio also doesn't work for me and have issues on WiFi. Surprised people giving you grief with ratings since these are test builds. CAF is nice idea and hope keep up the work. Will wait for Chaos to catch up and CM 12.1 to mature more.
[Nexus 5 Android Development] reas0n:
I have seen there is a ril-caf update in CM repo, I also added some things (fast charging too), hope it will work.
[Nexus 5 Android Development] keai4le:
this rom is very power saving.I test it today .set the cpu to 14xx MHz and GPU to the 320 .And the experience just as fine as normal.
[Nexus 5 Android Development] ekowanz:
The 5.0.2 rom is really great and super awesome.. I'll just wait until 5.1 became more stable
[Nexus 5 Android Development] keai4le:
+1
[Nexus 5 Android Development] WinterApocalypse:
I did a full 5.1 Factory image flash, then flashed the required CAF recovery and flashed the 5.1 Alpha ROM. I am having radio issues and random FCs. It's strange that some of us are having these issues and some are not. I think we should try to isolate what's causing this behavior.
[Nexus 5 Android Development] inspeckta_dek:
I played around with the APN setting with metropcs n nothing. Definitely radio
[Nexus 5 Android Development] reas0n:
Oh well... I still got something wrong with the LTO flags, I'll work on it, 'cause I really want it to optimize my builds. Also kernel LTO can be improved.

EDIT: I have a nice progress with LTO for ROM, it's compiling nice so far. I hope that ~10% increasing of performance and decreasing of energy consumption and size will be true :D
[Nexus 5 Android Development] patrickph:
Great work [MENTION=3371513]reas0n[/MENTION] , try 4.9.3 with ROM yesterday but libart error can not boot. I try flash your ROM but bootloader error. Will flash 5.1 bootloader and try again late.
[Nexus 5 Android Development] keai4le:
you should change the update script .
[Nexus 5 Android Development] zymphad:
For your stable, is Synapse still recommended for myfluxi kernel?

Thanks
[Nexus 5 Android Development] marioemp2k7:
Synapse/UKM doesn't work with CM kernel. Try Trickster Mod instead.
[Nexus 5 Android Development] keai4le:
it just work fine .
[Nexus 5 Android Development] patrickph:
Hi [MENTION=3371513]reas0n[/MENTION]

I try build kernel with your update, fix all error I can fixed but not this one:

arch/arm/kernel/head.o: In function `__mmap_switched':
(.init.text+0x64): undefined reference to `cr_alignment'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_notifier.lto_priv.18580':
<artificial>:(.text+0x35c): undefined reference to `memcpy'
<artificial>:(.text+0x394): undefined reference to `vfp_save_state'
<artificial>:(.text+0x428): undefined reference to `vfp_save_state'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_cpu_pm_notifier.lto_priv.18579':
<artificial>:(.text+0x50c): undefined reference to `vfp_save_state'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `__vfp_single_normaliseround':
<artificial>:(.text+0x7c8): undefined reference to `vfp_put_float'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_single_fabs.lto_priv.18561':
<artificial>:(.text+0xb10): undefined reference to `vfp_put_float'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_single_fcpy.lto_priv.18560':
<artificial>:(.text+0xb34): undefined reference to `vfp_put_float'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_single_fneg.lto_priv.18562':
<artificial>:(.text+0xb58): undefined reference to `vfp_put_float'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_single_fsqrt.lto_priv.18563':
<artificial>:(.text+0xd1c): undefined reference to `vfp_put_float'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_single_fcmp.lto_priv.18564':
<artificial>:(.text+0xec8): undefined reference to `vfp_get_float'
/tmp/ccMVE2NU.ltrans31.ltrans.o: In function `vfp_single_fcmpe.lto_priv.18565':
[Nexus 5 Android Development] Dr.Pepper:
Wow!

Everything works like a charm!

No crashes, no signal loses!

Evething is more than ok!

Thanks for alpha build!

Running it right now)))
[Nexus 5 Android Development] reas0n:
Actually I'm still working on it, keep calm.
[Nexus 5 Android Development] Dr.Pepper:
Mobile data isnt working(
[Nexus 5 Android Development] reas0n:
I'm uploading ALPHA2:

[ALPHA2]

-some updates (dunno lol)

-added a better LTO interpretation for kernel (not yet for ROM)
[Nexus 5 Android Development] reas0n:
Oh, so it works, nice! I'll check it and test by myself

EDIT: You were right, I see about 95% of the settings so we don't have to do anything. If it won't be enough for someone, that person will just use Chaos kernel (it needs to be supported, right?). I'm back to home (again) and I hope I'll get rid of CM Recovery today. Cheers.

EDIT2: I'm still working on that recovery, but I'll just upload what I got now. The new build is about 60MB (yes, 60MB) slimmer, and I may slim it even more. Uploading.

EDIT3: AndroidFileHost is broken, so get the latest build HERE:

http://www11.zippyshare.com/v/jWRMKkPK/file.html

[10/02]

-debloating #1 (.zip now is ~200MB, not 260MB)

aaand the build is also broken, lol. don't download it.

EDIT4: I'm working hard to fix up things, besides that, It's a little boring to flash new thing every day huh? So You guys will just get a new, stable build when I do what is important ;)
[Nexus 5 Android Development] reas0n:
UPDATE:

I'm working hard with set up things, and also this one will going to be a own ROM, not just a unofficial build of CM. It's still a fork of CM, but I'm going to separate it from CM, just to be clear, that that ROM differs from CM. I hope I'll finish it this week.

Still the same to do:

1. take care of internal optimizations

2. get rid of CM stuff like CM Updater (well, it's CM kang but not CM)

3. add features.
[Nexus 5 Android Development] Dark_Eyes_:
Hey [MENTION=3371513]reas0n[/MENTION], I really like your enthusiasm! I foresee good things with this rom!

And with chaos kernel it's gonna be awesome!

I've got a few features I'd like to see added when you get the time. But for now good luck with debloating cm.
[Nexus 5 Android Development] reas0n:
It IS awesome, because it's already added, just download the latest build :)

And well, the most important things like F2FS and O3 optimizations etc are also added, for now a lot of polishing is left
[Nexus 5 Android Development] AirwolfUK:
hi Reas0n

I would like to try your ROM but would like to know if i need to convert to F2FS partitions first or does it work with EXT4 and auto mount F2FS if you have them already?

Thanks -
[Nexus 5 Android Development] reas0n:
Yes, u only have to have F2FS on those partitions You want to have it. Personally I use /data and /cache on F2FS. Use TWRP to format the partitions
[Nexus 5 Android Development] sparksco:
I heard F2FS was placebo.
[Nexus 5 Android Development] reas0n:
It definitely isn't. If it was, then why would be so popular for example on N7 2012 (sh*tty storage performance) :p

EDIT: new build is up.

[12/02]

-activated -O3 for ART (for further testing)
[Nexus 5 Android Development] AirwolfUK:
OK i took the plunge and formatted /data and /cache. clean install went ok.

ROM didn't seem to have any keyboard installed by default so caused a few problems until i managed to side load the apk

now running smooth and fast.

Looking forward to the new release
[Nexus 5 Android Development] smalss:
What Gapps package you install with the rom?? Might explain the keyboard issue.
[Nexus 5 Android Development] AirwolfUK:
Hi, I installed PA GAPPs stock
[Nexus 5 Android Development] reas0n:
Keyboard? what? :confused: everything is fine for me, never had that issue. strange.

I recommend PA Gapps Pico, it has only those things which are required.

Btw, a new build was here for a while:

[12/02]v2

-turned off some debug in ART (I think I can't squeeze from ART anymore, -Ofast makes my compiler screaming lol)

-got rid of CM Recovery
[Nexus 5 Android Development] Mranggapo:
hi sir [MENTION=3371513]reas0n[/MENTION] any chance you will implement RRO in your rom ? Theme Engine is boring :D, anyway im very interested tring a CAF rom with RRO
[Nexus 5 Android Development] reas0n:
Do u tell about this one? https://github.com/BitSyko

Well, I thought about it a little, and:

1. adding RRO near Theme Chooser will probably break things, it will also make this ROM more 'complicated' which is not a target.

2. is it really worth it? Theme Chooser on 5.0 is quite new, when RRO does something, then TC will probably get it soon too. Besides that, Theme Chooser is more popular.

Anyway, why not to try? But firstly I have to end with internal optimizations.

EDIT: I have read a little about RRO, seems like it's a lot lighter than TC. If it will be possible, I'll see what I can do.
[Nexus 5 Android Development] alsheron:
Hi, just installing this ROM, I noticed after formatting all partitions F2FS including system, after flashing the system partition gets formatted as EXT4. How can I keep all partitions as F2FS including system? Thanks!
[Nexus 5 Android Development] reas0n:
Hmm, interesting. I'll check it after compiling the latest build.

What version of TWRP u have btw?
[Nexus 5 Android Development] alsheron:
Using the new 2.8.5.0. Great ROM btw - nice and clean with good optimizations :) Small q - can I make the launcher icons at the bottom (with the app drawer icon) the standard size? They look smaller to me I think? Thanks. EDIT: Just installed Google Now launcher - all good now.
[Nexus 5 Android Development] reas0n:
Don't expect too much from stock CM Launcher :P Dunno, I'll maybe replace it with Nova in the future.

And about F2FS - right, I have that issue too. It needs to be investigated.

btw, [MENTION=5199016]Mranggapo[/MENTION] I talked with dev of RRO - it's almost impossible on CM. sorry.

EDIT: alright, I think I ended with ART. I couldn't do everything I wanted to, but it still JUST FLIES. :laugh: Uploading! And meanwhile compiling a more debloated one.
[Nexus 5 Android Development] reas0n:
new version is up!

[13/02]

-finished testing -O3 ART

I'm pretty happy with this one. I see a significant difference in smoothness. I hope You guys will see it too ;) Waiting for Your reports.

Future build will come after weekend and it'll be probably quite bigger. Changes I want to do:

-finally do debloating (it caused me some problems)

-adblocker

-pngquant

-fixed F2FS for /system

After it, the internal milestone will be near,so... interface features time then!

But, if I still forgot a nice internal change, then just tell!
[Nexus 5 Android Development] alsheron:
Great stuff! Pngquant looks great, as do other updates but please don't integrate adblocking as it often causes major problems with online shopping websites in my experience. Or maybe make it opt-in? Or reversible. Just something to consider... Looking forward to the smoothboost and f2fs for system! You're really onto something with this ROM. Hope it stays nice and "clean" :)
[Nexus 5 Android Development] patrickph:
Great work....
[Nexus 5 Android Development] keai4le:
where to download gapps for 5.0.2?Pa gapps have been closed
[Nexus 5 Android Development] marioemp2k7:
Here: http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330
[Nexus 5 Android Development] zeppelinmad4:
Pardon my ignorance but is Alpha2 really have the size of Alpha1 or is that a faulty upload/download?

Also, what kernel is everyone using with 5.1?
[Nexus 5 Android Development] reas0n:
Uh upload failed..
[Nexus 5 Android Development] zeppelinmad4:
I thought something seemed funny. No biggie.
[Nexus 5 Android Development] reas0n:
I'm uploading it once again now, but I'll probably make another build soon
[Nexus 5 Android Development] Oscarandco:
Hi, just finish to install the Alpha2 but I have the same problem whith messenger. I can receive a message but can't send one...:(
[Nexus 5 Android Development] reas0n:
I'm building a new one with some updates from CM source, I also seen blobs updates (still no kernel/device for CAF..) but dunno, maybe mobile network will finally work, hope so.
[Nexus 5 Android Development] Oscarandco:
OK thank‘s. I"m waiting your update...
[Nexus 5 Android Development] reas0n:
Good infos guys! I see myfluxi updated device/kernel, so now we will have true CM12.1 ;) I hope I can name it BETA1.

Now I will upload ALPHA3 with updated AOSP source and true LTO for ART (newer build should have it enabled for more modules, I found out why I couldn't have any progress with building with it)

[ALPHA3]

-updated CM/AOSP source

-added LTO for ART at least (more to come in next build)
[Nexus 5 Android Development] socioteq:
How is your build speed? Thanks for looking at those blobs from Chet btw!
[Nexus 5 Android Development] reas0n:
wot, I'm using only CM source, myfluxi updated everything :p

Okay, I moved my changes and I'm building a proper CAF build now, without any hacks, finally more stability! I'm also hoping for some nice LTO results.
[Nexus 5 Android Development] socioteq:
Oh sorry I misunderstood. I spoke with Chet Kener about the LTE handoff problem with sprint and he recommended that you use these blobs: https://github.com/OptiPop/vendor_lge/commit/176201c5899f158e1caa1216a661dfe27b19b75f If you are wanting to fix the problem. It is inline with CM source so it would work with your build setup. Anyway, hope that helps.

Btw, I also wanted to mention that I am having

BLUETOOTH PROBLEMS

lol, I know that is your favorite thing to hear.

Anyway, it connects just fine, but the audio cuts in and out constantly. Besides Sprint data and the Bluetooth problems, everything seems to be looking good systemwise. Maybe all of this will be sorted when itś pure caf, I´ll flash and test as soon as you upload
[Nexus 5 Android Development] reas0n:
deleted
[Nexus 5 Android Development] Mranggapo:
hi sir

i try this rom, but why i cant use mobile data ? even i turn the airplane mode and reboot the mobile data wont turn on :(

i try setting my apn too but no luck
[Nexus 5 Android Development] reas0n:
new build may come today, it will be much more stable.

Actually I activated proper Link Time Optimization flags on the kernel and now I'm trying some OptiPop flags, they have some new things there like fast math flag. And then I'll release that build so You guys won't wait more. After it I'll try to port LTO to more libs and I'll take a longer break lol

EDIT: Sorry guys, ROM was okay but I got some problems with the kernel...
[Nexus 5 Android Development] reas0n:
[ALPHA4]

-FINALLY added proper LTO support

-updated kernel to 5.1 CAF (so no hacks from 5.0.x from now)

-added some OptiPop sauce (-ffast-math flag for example)

-much, much higher stability and performance, just test!

SMS app is still broken.. CM issue. Hangouts is working so please use it

EDIT: Some infos here. I'm pretty close to compile the ROM with LTO. If it will be ready, I will release it as experimental build.
[Nexus 5 Android Development] inspeckta_dek:
Downloading
[Nexus 5 Android Development] socioteq:
1) Sweet, Bluetooth connectivity and intermittent losses in audio seem to be fixed with newest kernel iteration.

2) Still having inconsistent Sprint connectivity. It's okay for me, I'm on WiFi most of the time which works fine.

3) UI, and in particular scrolling is very smooth, LTO on 5.1 is going to be something incredible, I hope everyone is wearing their adult diapers when it is released.
[Nexus 5 Android Development] keai4le:
still waiting for beta:)
[Nexus 5 Android Development] reas0n:
nah, i won't take it out from ALPHA to the time when CM ends with staging/cm-12.1
[Nexus 5 Android Development] ekowanz:
Just a quick heads up.. Im from stable vivid 502. And want to try alpha4, it turns out i can't directly flashing alpha4. I have to flash alpha1 first, then alpha4.
[Nexus 5 Android Development] Kagath:
And the messenger app from google works ?

Your 5.0.2 is so smooth i love it, i'm not sure i will switch to 5.1 for now
[Nexus 5 Android Development] reas0n:
Nope, only Hangouts works at least for me. Dunno, 5.1 seems to be pretty stable. Besides that, I need testers lol
[Nexus 5 Android Development] gptwarrior:
Alpha 4 running smooth for me and I did a dirty flash from 5.0.2 can't believe how speedy its running is this due to LTO?
[Nexus 5 Android Development] CommanderDuplex:
cannot flash with TWRP

it says "error exicuting update zip binary" ?

any solution ?
[Nexus 5 Android Development] socioteq:
Are you using the TWRP that is recommended in OP? If so, and if this error is still present, did you try sideloading?
[Nexus 5 Android Development] reas0n:
How about reading first post?

Probably it's the reason too, but the real benefit is from using LTO for system, I'm finishing working on it.
[Nexus 5 Android Development] CommanderDuplex:
im using the TWRP from OP

extra flashed to try this rom ^^
[Nexus 5 Android Development] reas0n:
[LTO_TEST1]

-Introducing Link Time Optimization for system

When there will be no NEW bugs (please report!) then I will use it as normal. I will also try to activate it on more libs
[Nexus 5 Android Development] gptwarrior:
will give this a try and report back :)

---------- Post added at 05:09 PM ---------- Previous post was at 04:54 PM ----------

booted and running very smooth no issues so far
[Nexus 5 Android Development] ekowanz:
You want to go to alpha4? Try to flash alpha1 first, then alpha4.. It works for me.

I got your error when i flash directly to alpha4
[Nexus 5 Android Development] marioemp2k7:
On clean flash there are no issues.

Latest LTO build is indeed very fast. Good work!

When you're on a "break" can you consider re-adding "animation speed seekbar" and add scrolling cache configurable option?

Thanks a lot!
[Nexus 5 Android Development] CommanderDuplex:
still nothing :/

have to wait for TWRP update i guess :crying:

Edit:

getting this "error message" (Its not my immage! but the error is the same)

http://dl-1.va.us.xda-developers.co....png?key=YH2GD7JwB9BHtFPtMiB5lw&ts=1427824881
[Nexus 5 Android Development] :
I cant connect to wifi, anybody else?
[Nexus 5 Android Development] reas0n:
Flashing is okay, it's not problem by my side.

No issues here.
[Nexus 5 Android Development] reas0n:
[LTO_TEST2]

-activated LTO for bionic and skia parts

-activated pthread back, dunno why it disappeared

[LTO_TEST3]

-LTOed some gpu chromium modules

Btw, if You appreciate my work, You're free to buy me a beer, which I will drink a convert it to upgrade old HDD to SSD lol :p

Here I have to mention and to thank [MENTION=2484358]socioteq[/MENTION] for great donate which will help me so much, You're the man!
[Nexus 5 Android Development] smalss:
Which gapps you guys having the best luck with in regards to the wakelocks.
[Nexus 5 Android Development] CommanderDuplex:
Ok solved ... just delete both lines on updatescript , now it works !
[Nexus 5 Android Development] socioteq:
We just put LTO Test 4 up on the AFH link on OP, please download and test. reas0n will get on when he wakes up to give you a run down of what has changed. This is coming off of my build system, and is why I'm announcing it.

P.S. Enjoy the Microsoft easter egg CM put on the initial boot app optimization screen with this build.
[Nexus 5 Android Development] reas0n:
Well, now every LTO test will be just about adding more modules which work with it ;)

When I finish testing all modules, I may work on the code to at least fix the bionic issue, i really want it to work and it would be a nice thing to show it as my IT project in university :D
[Nexus 5 Android Development] jawz101:
trying this out

btw, this is the only other ROM I've every seen use LTO. Maybe the devs for it might offer advice if you ever need it.

http://xdaforums.com/google-nexus-5/orig-development/rom-lg-nexus-5-codefirex-nightlies-t2631806
[Nexus 5 Android Development] jawz101:
Can you guys remove Adaway from the ROM? It's option to enable a built-in webserver doesn't stay on unless I download it separately and install it as a user app. I don't know why you'd bundle it in the 1st place but whatever. btw- the one that works for me is the one referenced here:

http://xdaforums.com/showthread.php?t=2190753

specifically this one.

Dev Build: AdAway-release_Build-Mar.21.2015.apk

(compiled from source on Mar-21-2015, signed and zipaligned)

Caution! This MAY

only

install on Lollipop 5.x right now. It has merged in the material design updates from @Lozone.
[Nexus 5 Android Development] Dratinire:
Help

Hey guys..

Waiting to try out this ROM!I use Multirom,so can't flash caf TWRP..

I have read the OP links and deleted the first 2 lines of the updater script.It flashes sucessfully.

I set the ROM as my primary ROM and attempt to boot my phone.The phone just restarts and doesn't go past the Google Logo.

Using APLHA1 zip

Any solutions?:confused:
[Nexus 5 Android Development] mobvision:
[MENTION=3371513]reas0n[/MENTION]

Do You think that You can add in smartradio mod from Cataclysm ROM? Your ROM + this mod will make a lot for battery saving.

Thanks for Your work.

(Należy Ci się duże piwo a nawet 10 :) )
[Nexus 5 Android Development] reas0n:
I use this one and it works well

I didn't add Kexec hardboot patch to kernel, I'll consider it.

EDIT: added it, will come in BETA1 version.

Cataclysm isn't open-source..
[Nexus 5 Android Development] mobvision:
[MENTION=3371513]reas0n[/MENTION], then i will try to get same with tasker or i will develop own code for it and will share with You.
[Nexus 5 Android Development] resheph:
I'm getting some problems with the bluetooth on the TEST4. The Bluetooth share keeps crashing.
[Nexus 5 Android Development] reas0n:
You mean LTO_TEST4? newer versions have fixed BT.
[Nexus 5 Android Development] cnnoi33:
How big performance increase does LTO give? Just curious
[Nexus 5 Android Development] reas0n:
In documentations about LTO we can read about 10-15% performance improvement. About REAL experience we can talk after I compile as much modules as possible with this flag. My friend says that the system gets smoother and smoother in every build.

Adding as much modules as possible is one thing, and fixing bionic to be working with LTO is the second. fixing it could give a visible performance boost too. I will try to do that after I add everything what can work without editing the code. In theory most code should be compatible with LTO, maybe besides audio/video/media things.
[Nexus 5 Android Development] jawz101:
looking at your github... where's the part where you say -flto -fwhole-program?

I'm just reading into LTO a little to see how it is enabled.

Do you use the linker plugin thing?

I'm mainly reading these papers/presentations about it

http://arxiv.org/abs/1010.2196

http://gcc.gnu.org/wiki/summit2010?action=AttachFile&do=get&target=hubicka-slides.pdf
[Nexus 5 Android Development] reas0n:
-fwhole-program is worse, I use arter97's toolchain with LTO-enabled binutils so yes, it's this 'linker plugin thing' :p.

Btw, I need Your experience guys, so do u feel the difference between no-LTO and LTO test builds?
[Nexus 5 Android Development] Dr.Pepper:
I have better battery life!
[Nexus 5 Android Development] reas0n:
[MENTION=1813256]jawz101[/MENTION] Here I got a nice article about LTO: http://tomcat.elis.ugent.be/static/elisall/publ/doc.php?file=P104_078.pdf