yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] zephiK:
Sorry for the late release guys, first time building mako so it took awhile. Left my computer on overnight to compile this.

--

So as Chroma becomes more and more stable with every release. Chroma will most likely be shifting from every 2-4 day release to weekly releases.

I was thinking of some ways to give back to the community and one of most powerful features of Chroma in my opinion is the ability to change the theme of the layout.

I feel that people are not utilizing layers to it's fullest potential. Before Chroma included Layers support, we used XXMrHyde's Dark Material skin and it looked amazing.

Jimmy Setiawan created a theme named Timberwolf which is pretty much identical to what Dark Material looked like.

As of this Chroma build (for a month, I will select another Layer Spotlight or maybe keep this layer because I love it), [MENTION=5379942]setiawanjimmy[/MENTION] 's Timberwolf theme will be preloaded with the ROM.

If a user prefers the stock Google lollipop look then they may go to /system/vendor/overlay and delete all the apks in the folder.

This is a win-win because people will further customize their devices on Chroma ROM and be exposed to the tools that Layers offers to us that are not being utilized by users.

You can find the rest of Jimmy's themes @ https://play.google.com/store/apps/developer?id=Jimmy+Setiawan

Have fun & enjoy the weekend.

---

Anyways, enough talking!

Chroma Nexus 4 (mako)

Changelog: https://docs.google.com/document/d/1c7wNrT0khaipv-M0Z35OPQ8sxPHO-e9-Rk945fo4iJE

Download: https://www.androidfilehost.com/?fid=95916177934556399

Retain sepolicy (if you use other than the kernel that comes with this ROM): https://www.androidfilehost.com/?fid=95916177934556396
[Nexus 4 Android Development] Aaron_Knowles:
[MENTION=1978554]zephiK[/MENTION] Boots fine for me, will report back if I find any problems!

Thanks for your continued support on Mako even though you don't own the device yourself, much appreciated by all I'm sure! Hasn't felt like you've been given the credit you deserve due to us all loving what Syko has done for the N⁴. People seem to overlook its actually your ROM! But not to discredit Syko either, both have brought another quality ROM to a "aging" phone.
[Nexus 4 Android Development] zephiK:
Thanks for replying back so fast. It should work as I was 99% confident but it's good to have confirmation :D

And I actually do have the device, one of my family member uses mako but I rarely ever get physical access to it but that's fine. I do all the testing on my Nexus 6.

It's fine :) people in the N4/N5 thread credit Syko more than me but when it comes to the N6 thread I get most of the credit there haha.
[Nexus 4 Android Development] camp70:
Downloading, finally you are gonna make us love you! Thanks
[Nexus 4 Android Development] Aaron_Knowles:
Also really like the transparent app drawer! :D
[Nexus 4 Android Development] MtG92:
I think it comes from the fact that Syko has such a history in the N4 and layers community, everyone "knows" him and is friendly with him, but we know Chroma is your baby, and we're very glad that we can have use it in our phones :)
[Nexus 4 Android Development] sykopompos:
Even though I did a ton of the under the hood work on the n6 too ?
[Nexus 4 Android Development] MtG92:
[MENTION=1978554]zephiK[/MENTION] should we wait for an "anykernel" build, or is it OK to flash other kernels on top? I ask because the dev of the kernel I use always recommends his kernel be flashed over stock kernel, not over kernels with modified ramdisks like Franco's...
[Nexus 4 Android Development] iskandar1023:
[MENTION=1978554]zephiK[/MENTION] surprisingly it boots fine, no problem so far :fingers-crossed:

and the prevent accidental wakeup feature is working i think, need more testing.

thank you very much ;)

i flashed quanta after rom, and after that i flash the retain sepolicy zip
[Nexus 4 Android Development] sykopompos:
That is the stock ramdisk, not Franco's in this build so you are good to go
[Nexus 4 Android Development] elliot2112:
If I set selinux to permissive for Viper then I don't need seo policy, correct?
[Nexus 4 Android Development] HdSht:
Maybe it's a dumb question but better to ask first :p: the retain sepolicy zip is required if I flash an anykernel formated kernel ? (as far as I know it was required only when flashing a full boot image).

Ty in advance and a bigger thanks to the devs :good:.
[Nexus 4 Android Development] readon1:
Somehow I can't see gamma control in FKU/kernel aduitor with the latest update and it's kernel. Can someone confirm?
[Nexus 4 Android Development] Benjamin_L:
I get a com.android.phone crash when trying to import a podcast list ino antennapod. Logcat goes here: http://pastebin.com/a90bULCh
[Nexus 4 Android Development] zephiK:
The kernel that comes with the rom is stock right now, I was too lazy to bundle Franco Kernel in as ramdisk needs to be incorporated in and properly tested. Franco Kernel will be restored in the next build.
[Nexus 4 Android Development] sykopompos:
The sepolicy fixes go beyond just viper, I just added viper support in the last round of fixes
[Nexus 4 Android Development] s0ur0v:
:o downloading new one....:o
[Nexus 4 Android Development] readon1:
Of course! Thanks for the reply :). I read the changelog and it said Franco kernel was included, but thanks for the clarification.
[Nexus 4 Android Development] ferrocene:
I'm having problems getting viper to work. Even in permissive mode it installs the driver, but doesn't do any actual processing.

4/13 is running amazing though with quanta. I have faux sound back! Can't wait to try 4/17.
[Nexus 4 Android Development] zephiK:
You have to use the kernel that comes with the ROM.

If you use a custom kernel, you have to flash the sepolicy retain zip. Otherwise, viper won't work in enforcing.
[Nexus 4 Android Development] _imac_:
Could you please tell us, why it is better than cwm?? Except theme support...

Today I flashed latest twrp and tried to make a clean install this ROM, after this I got permanent boot..

Back to MIUI.
[Nexus 4 Android Development] Benjamin_L:
E.g. it supports encrypted filesystems which disqualifies cwm for me
[Nexus 4 Android Development] zEr0Punk:
Sorry for sounding stupid, but am new to all custom roms + kernels, more new to kernels because I've flashed a lot of customs roms on my friend's phones.

I just love V4A, and I have no trouble using it with 04/14 with Permissive mode, and I saw new build came today 04/17, and in changelog it said I can use V4A with Enforcing mode,

but I also saw in About Phone it's stock Kernel, and I think it's draining more battery when standby, but am not sure.

Now is there any security flaw when using Permissive mode over Enforcing?

If there is none, would be better to use 04/14 build than 04/17?

And sorry is this question irritates you, but you said you'll be bringing franco in next build, do you know ETA on new build?

If now would be better for me to use 04/14 build?
[Nexus 4 Android Development] hmillos:
I'm sorry to ask this question guys :(

When should I do this? Before or after flashing?

Edit: NVM, indeed it was a noobish question :P I suppose you have to use a root explorer to delete these apks after flashing.
[Nexus 4 Android Development] Benjamin_L:
Just use the layer management app https://play.google.com/store/apps/details?id=com.lovejoy777.rroandlayersmanager
[Nexus 4 Android Development] sykopompos:
This question gets beat like a dead horse. Why is twrp better then cwm, why should I use twrp.

Cwm is a outdated project that no longer gets active development nor even lollipop support. If you have issues with something in cwm, most devs and other users will ignore it because you are using outdated discontinued software.

It is like complaining new software doesn't work on windows xp when xp has been outdated and officially discontinued
[Nexus 4 Android Development] sykopompos:
Permissive mode is literally turning off the security granted by having selinux except it just logs your security flaws to laugh at you (permissive mode should only be used for diagnostic use or for making a policy and not normal use)

You can pretty much use any kernel other then a Franco kernel because most n4 and n5 kernels use the anykernel method which modifies the existing rom specific ramdisk non evasively vs the dinosaur way of providing a patchwork ramdisk.

If you are going to use Franco that you have to wait for zephik to update the sepolicy in the after flash zip
[Nexus 4 Android Development] TA123:
Could anyone recommend a nice light theme? For some reason most of the themes I've come across are dark.
[Nexus 4 Android Development] zEr0Punk:
Aha, thank you for explaining me SELinux, and so if I were to flash some other Kernel I would need to flash Retain sepolicy for V4A to work?

And if so, what Kernel do you recommend?
[Nexus 4 Android Development] zephiK:
https://play.google.com/store/apps/details?id=bitsykolayers.Elixium is nice.

Yes you'd have to flash the retain sepolicy zip. I recommend Franco Kernel, Franco Kernel will be bundled with the ROM again in the next update.
[Nexus 4 Android Development] MtG92:
I've been using CF Lumen from [MENTION=631273]Chainfire[/MENTION] for quite a while, but since the last 2 5.1 Chroma builds it hasn't been working at all, and it's only on Chroma builds. Could this be due to enforcing SELinux policy and [MENTION=1050103]sykopompos[/MENTION] 's work on it? Is it possible to fix it, like viper4android? Thanks.
[Nexus 4 Android Development] ferrocene:
I ran retain sepolicy and viper4 works! You guys are the best. I think it's donation time...
[Nexus 4 Android Development] steviemch:
Latest build with Hellscore B-72 is running fantastic! Really liking the included Layer, the transparency effect in the launcher is particularly cool. Awesome job!
[Nexus 4 Android Development] s0ur0v:
I am using B71. I cant find B72 Hellscore U2D. Can you share it please?
[Nexus 4 Android Development] steviemch:
No problem, link here.

*Edit* Hells is waiting for feedback before pushing it to U2D, so the above link is for the zip file.
[Nexus 4 Android Development] mrmysterious:
Crazy battery drain here :( 5 hours from 100% to 15% with 45 mins of screen on.
[Nexus 4 Android Development] sykopompos:
Can you get a log and a dmesg? I have no clue what would be causing it without one.

I didn't restrict any access in the policy, only added new policy rules (I don't want to be the one locking the policy down more and have people crying I broke apps (I'll let google be the evil one there ? ))
[Nexus 4 Android Development] sykopompos:
Maybe the next one depending how much time you give me to get work done on it
[Nexus 4 Android Development] svnhvn:
Did volume rocker seeking music tracks working for you guys? Mine not.
[Nexus 4 Android Development] sykopompos:
I'm the last person to ask about kernel stuff. I use the prebuilt kernel myself because I'm always working on something and that is one less variable
[Nexus 4 Android Development] criminalzen:
I would assume an obvious pick would be performance ...
[Nexus 4 Android Development] Subhojit:
System FC loop after changing DPI to 240.

Clean flashed ROM with GApps and SuperSU only.

First time used PA GApps and then recommended Banks GApps (although it shouldn't matter).

:cyclops:
[Nexus 4 Android Development] SevenSonics:
It hasn't let me down either! I've had mine since 2013 and it has protected my nexus 4 entirely! I don't have a single scratch on my phone.

I've trying to find another black one to replace mine... any Ideas where to get it? No luck with Amazon/Ebay.
[Nexus 4 Android Development] sykopompos:
Idk, mine has been on there since day 1, I had the same case on s3 so I already had it ordered before I received my n4
[Nexus 4 Android Development] sykopompos:
Alright. Figured out the cause of the system ui crash upon a reboot and be ready for a really silly fix.

Set a wallpaper through your gallery. Doesn't matter what it is, take a picture and set it as the wallpaper
[Nexus 4 Android Development] HiM@L:
awesome.....but I just use Nova launcher. :p
[Nexus 4 Android Development] sykopompos:
Well that was the cause. There was no stock wallpaper. Zephik has a preloaded 1440 wallpaper for the n6 so that is why it wasn't being a issue there
[Nexus 4 Android Development] bankai03:
Amazing

:) I have no problems with your ROM, really none, everything works perfectly.

I pushed commits, I translated it into French.

it would be possible to merge ;)

[MENTION=1978554]zephiK[/MENTION] [MENTION=1050103]sykopompos[/MENTION]
[Nexus 4 Android Development] robygt:
I'll use this!
[Nexus 4 Android Development] 22sl22:
Thanks for the fix, I thought it was a Gapps issue. When I first flashed the rom I did it the normal way, rom, gapps su. The rom didn't boot so I flashed hellscore kernel and it was fine. Tried again for testing purposes, clean flash, rom + su only, boot first, then gapps. This gave me SystemUI failure. Then I tried another gapps package (Clean flash) and everything was fine, except for the random reboots I got of course shortly after (Posted logs a few pages back, not sure whether you've seen them or not).

Anyway, glad to see you've got it sorted, the only issue I had apart from random reboots was lots of spam in the Logs, from Touch Boost failure but from what iv'e read it doesn't affect performance :good:
[Nexus 4 Android Development] sykopompos:
That comes from a extra file that custom kernels bypass so without removing that file, it spams the logcat.

Now off to find out why the wallpaper picker isn't working but supplying a wallpaper will get us around this issue
[Nexus 4 Android Development] gabidiesel:
Hi everyone... I have no deep sleep...only 26%....
[Nexus 4 Android Development] 22sl22:
Yeah I knew about that file already, deleted it and it stopped but the reboots persisted so I went back to frank 16.

Good luck with the wallpaper issue, if anyone can figure it out, you can :)
[Nexus 4 Android Development] icu64:
Yo, so how's chroma been working for you?
[Nexus 4 Android Development] zephiK:
workaround: turn ambient display off.

working on fixing this with ambient on.
[Nexus 4 Android Development] kahila:
Hi, really appreciate that you still support Mako!

But the real question is about the soft reboot bug in 5.1 (N4), have you gotten it out? I've tried 3 different 5.1 roms and everyone of them has the bug.
[Nexus 4 Android Development] zaclimon:
Have you tried to greenify the app? It could also be related to the play services.
[Nexus 4 Android Development] elliot2112:
What kernels are people using on this? Semaphore working well for anyone?
[Nexus 4 Android Development] sykopompos:
Speaking of locking down the policy.

I will actually be doing that somewhat.

Currently SuperSU to work on stock, uses supolicy to turn the init domains permissive (supolicy side steps the selinux normal policy by injecting rules into it and loading directly into the kernel).

I will be purposely breaking this functionality by blocking access for it to do that while refining the init domains to provide proper kernel access to things like CPU control.

obviously these will be test builds and not official builds while I collect data on the things that break, patch them and then move on to the next thing so I can have selinux working properly and closing those security holes up.

If you plan to run these test builds, please know how to get logs and dmesgs so I can patch them in properly (I prefer people use pastebin since they are really easy to read even mobile)
[Nexus 4 Android Development] MtG92:
Absolutely. It's 1am here in Edinburgh, so I'll get those logs tomorrow morning. I wasn't blaming you btw, I only "summoned" you in my post because I know you were working with SELinux policy in the ROM :)
[Nexus 4 Android Development] sykopompos:
I'm one of the few people who actually understand it and is working on it ?

Take your time on them, I won't be able to look at them till late tomorrow night or sunday
[Nexus 4 Android Development] hmillos:
I'm having reboots when using this app https://play.google.com/store/apps/details?id=com.jwork.spycamera.free&hl=en, does it happens to anyone else?

I can provide a logcat in case you're interested, but please tell me how to get it using catlog because I didn't find the option to do that.
[Nexus 4 Android Development] bladebuddy:
Open the app press the 3 dots on navigation bar , press record , run faulty app e.t.c., press dots , press save, then press send or navigate to the folder on sd card containing log then send.

You can also just cut the error out of the log so its smaller then send.

You will easily understand what I am saying once you have tried.
[Nexus 4 Android Development] gtanner00:
I really like this idea of spotlighting different layers themes in weekly releases. As someone who wouldn't normally do theming I will be looking forward to seeing these built into the ROM.

Also [MENTION=1050103]sykopompos[/MENTION] I remember when Layers was being initially developed there were plans to take it beyond just teeming but I never heard of any use cases for it. Is that something still worthwhile to develop further or did the process not have enough flexibility in the end?
[Nexus 4 Android Development] sykopompos:
It still does, just have been busy with a lot of other things that I haven't gotten around to it yet.

I was talking to dankoman earlier about how trds works and we were discussing ways to extend layers with it so gonna play with it a bit and see about an extension of layers using the same concept like where themes could be switched on the fly or day and night themes added into layers
[Nexus 4 Android Development] Aaron_Knowles:
That sounds like a really neat idea. Concept reminds me of f.lux for PC. So for example, could this be something where users could set timings (@9am the layer of my choice would automatically change, and same at 7pm) or would it always be a button to press? Like a quick toggle. Either way, look forward to see what layers is truly capable of in the future.

Sky is the limit with you, syko ;)
[Nexus 4 Android Development] patil.ketan:
Not sure if already reported, but the system UI crashes when battery saver is turned on. This on 04/14 build. Other than that super smooth and fast!!

Now installing the latest build.
[Nexus 4 Android Development] iskandar1023:
I notice Android System is using more cpu than in 3 or 4 builds back. What can i do for reducing this? I tried to remove cLock but no change.

Or i must accept this ?

7 hours uptime

posted by mako
[Nexus 4 Android Development] fr3quency:
Guys, I pulled "/system/framework/framewok-res.apk" and decompiled it. I tried navigating to "\framework-res\res\values\config.xml" but the config.xml file didn't exist at all. Am I doing something wrong? I'm trying to change the config "config_webViewPackageName" to "com.google.android.webview" in order to make the ROM use Google's WebView and not the AOSP one.

The instructions say either "frameworks/base/core/res/res/values/config.xml" or decompiled framework-res.apk's "res/values/config.xml﻿". I don't know wtf this thing in the first sentence is, but there's no config.xml inside the framework-res.apk

Any help? :S
[Nexus 4 Android Development] coffeecore:
Damn haha

http://bgr.com/2015/04/17/iphone-vs-android-fans-stabbing/
[Nexus 4 Android Development] mhejek:
Install latest build.funny thing.I can't install bbm from playstore
[Nexus 4 Android Development] MrRisan R:
Hi

Is this Rom use the old 5.01 blobs ?
[Nexus 4 Android Development] Dor-b:
AFAIK it uses the 5.1 blobs
[Nexus 4 Android Development] LolHacker17:
I have that too im charge my phone to 100% then i put aside me during i playing computer with wifi connect,,then the battery go done about 1% for 20 min without im running any internet apps so i think this is bug shall we give [MENTION=862715]Syko[/MENTION]mpos know to fix in next build :)
[Nexus 4 Android Development] Dor-b:
You should use wakelock detector to see what's waking your phone up or using too much CPU.
[Nexus 4 Android Development] ebsbow:
I'm guessing it's the gpu.

Keeps hanging at full trottle. Also drains the

battery really, really, really fast..Even conservative and 200mhz gpu.

In Normal use the battery life is good though.
[Nexus 4 Android Development] mistersixt:
*push*

I am having the same issue also with the latest version 0417, exclamation markt next to the wifi signal (tested with two different routers, D-Link and AVM Fritzbox 7390), with the Nexus-4 still being connected to 3G, please find the latest logcat here (pastebin again). It was fine with Omnirom 4.4.4, and it is fine with my Nexus-5 running Euphoria for now (yeah, going to switch this one, too, soon).

Anybody please? It is really annoying :( ...

For the records: I did a full wipe before flashing 0414, with a dirty flash to 0417 yesterday, using twrp 2.8.6.1 and the latest radio .06 (with no difference to the previous radio version).

Regards, mistersixt.
[Nexus 4 Android Development] Benjamin_L:
Fritzbox 7360 and build from 17th working fine here
[Nexus 4 Android Development] tonyking:
To dev and other xda users first i m not blaming anyone but i need help on serious issue :(

from last few days whenever i tried custom rom my device start doing weird things means whenever i search any app in play store or use any third party app it start touching thing its own even i don't use it, it star clicking any app in play store without my touch it seems like a ghost who is touching any place in my device does any body having this kind of weird and creepy thing in your device or does any body have solution for it :silly:

it's only in any custom rom with custom kernel but not with stock google factory image as i tired new 5.1 rom and every thing is seems fine no usual touch nothing :rolleyes:
[Nexus 4 Android Development] 22sl22:
Hi there,

Correct me if i'm wrong but I believe it is in strings.xml because things work differently fom source, int terms of file names and things. Look at line 86, I can create a flashable zip for you if you want. Hope I helped :good:

<string name="config_webViewPackageName">com.android.webview</string>
[Nexus 4 Android Development] TA123:
It's a nice theme but still dark. I mean backgrounds are black and stuff. I'm looking for something with light background and a bit brighter colours, but not acid like quite a lot themes. Am I too picky? ?
[Nexus 4 Android Development] Dor-b:
https://play.google.com/store/apps/details?id=prime.blue

This is quite bright..
[Nexus 4 Android Development] fr3quency:
Thanks for your reply. You'd be a lifesaver(and I wouldn't had wasted 2 hours) if you had replied earlier. Hahaha. :P

I was Googling all the terms I could, till I found this thread: http://xdaforums.com/google-nexus-5...le-cm-roms-t3081507/post60093460#post60093460

I download his .zip file and decompiled his framework-res.apk. Then I searched within Windows Explorer for "config_webViewPackageName" and surprisingly it was located in strings.xml. I was like "wtf is going on? What should I do?" Eventually, I edited the string.xml and recompiled the .apk. I'm now testing. If everything goes well, I'll paste the modified framework-res.apk here for anyone who wants to have official WebView.

Mind if I ask you how can I see which WebView is running(Google or AOSP)? Is there any command or something that let's me view it?
[Nexus 4 Android Development] 22sl22:
Better late than never :p

Sorry but i'm not sure of any way to tell because it's just an automatic process. I'm no dev and Webview is for dev's who build apps that use webview so maybe try asking some dev's?
[Nexus 4 Android Development] sykopompos:
I came up with a different way after that and yes, depending on how the app is made if it will have time based but it is possible with the new way I came up with
[Nexus 4 Android Development] t181:
Hey guys,

Is the order of flashing zips matters if I'd like to use custom kernel?

Latest Chroma, (GAPPS), (UKM), (SuperSU), repack-n4bootimg-flash-after-kernel-f2fs-04-17-2015 and custom kernel.

Is this right?
[Nexus 4 Android Development] coffeecore:
I always do ROM + Gapps and then let the system boot up and set everything the way I want it, after that reboot to recovery flash kernel, ukm, supersu.