yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Tennic:
A big question difficult :p

According to you, technically it is better to use this ROM with a AOSP version of the kernel (for example Franco or Hells Core or Faux, is indifferent), or CM11 OFFICIAL with the CM version of these kernel? :confused:

Obviously, the question only applies to those kernels that have the AOSP version and the CM version :)

In practice, it works both ways, but I wanted to understand what is technically better :)
[Nexus 4 Android Development] razi914:
Had a random reboot, last kmsg http://pastebin.com/aQEKycti
[Nexus 4 Android Development] bruce2728:
Thanks for the kmsg but it doesn't look like there is anything out of the ordinary in there.
[Nexus 4 Android Development] bruce2728:
The only way to find out is through testing, I can't really test other kernels as I have to make sure the one I am releasing is stable.

The main goal for me building this ROM was to make it possible to use non-caf kernels, there might be some incompatibility with caf kernels as I have not used any of the caf based hardware layer drivers which interact with the kernel.
[Nexus 4 Android Development] bruce2728:
I've been very busy with family stuff, had just enough time to repo sync and start building before going out, then uploading when I get home.

New builds for today are uploading now.?
[Nexus 4 Android Development] razi914:
Beautiful widgets crash when tap on weather icon in widget, logcat : http://pastebin.com/C0RygrJE ,, no problem on the other rom
[Nexus 4 Android Development] dark8899:
Otg working?
[Nexus 4 Android Development] evcz:
I had enabled the knock to wake option when it was appearing into the options... Now it's gone and cannot disable it anymore.

Has it been moved somewhere?
[Nexus 4 Android Development] bruce2728:
Should be, I have no cable to test it.
[Nexus 4 Android Development] bruce2728:
It is enabled in the init.d file 99kernel, just change the value to 0 to disable it.
[Nexus 4 Android Development] evcz:
Thanks!

Disabled it in kcontrol ;)
[Nexus 4 Android Development] richardddd:
Latest build does not boot
[Nexus 4 Android Development] psycho693:
[MENTION=1617770]bruce2728[/MENTION] Thanks for the great rom! Keep up the great work. And [MENTION=2855239]richardddd[/MENTION] Can you be a little bit more descriptive? maybe a log. you saying what you said is very not helpful!
[Nexus 4 Android Development] zagzag99:
Latest build works fine for me.
[Nexus 4 Android Development] richardddd:
Maybe i messed up something in the install process but couldn't get past boot logo :/

Edit: it was the 27 build that didnt work. The latest one works.
[Nexus 4 Android Development] dEX2340:
Don't know if normal but had 6% battery left (build 23/01). Launched the default camera app. Before I could even see the camera app, phone was shut down and didn't boot anymore as battery empty.
[Nexus 4 Android Development] dEX2340:
Timely FC

Hi Bruce, with build of Jan 30 I get a FC with app Timely. Both on boot and when launched manually.

I attach the log.

Playstore doesn't work ('no connection') even after a few reboots.

Also got a FC on Google+ while not in the app.

Or should I wait a bit longer? Didn't have those FCs with prev builds.
[Nexus 4 Android Development] bruce2728:
Thanks I'll have a look when the kids go to bed.

I think cm have been merging caf stuff into framework, I tried the official nightly and I get fc's on that too.

I'll try merging a few bits into the kernel from other cm kernels that have already been updated but I will try to keep it as non-caf as possible.
[Nexus 4 Android Development] bruce2728:
ROM updated, I've added otg charging and I've fixed a few games that fc on startup, which were mostly ea games and GTA.

The ROM is now a bit snappier, been getting higher benchmarks in all apps.

I've made a few changes to the kernel, I'll push my source tonight once I've got all the commits sorted
[Nexus 4 Android Development] Luigi_2:
thank you.
[Nexus 4 Android Development] dEX2340:
Bruce, with the new build I have again no connection to Play Store + regular FC on Google+ and Timely.

Any idea why + solution?
[Nexus 4 Android Development] bruce2728:
Which gapps are you using?

I'm using the one from the cm wiki page and everything works as it should here.
[Nexus 4 Android Development] dEX2340:
PA Gapps like you advise in post #1. Now flashing latest PA Gapps ...
[Nexus 4 Android Development] bruce2728:
Yes sorry my first post needs updating, I'll do that later today.
[Nexus 4 Android Development] dEX2340:
OK, flashing newest PA Gapps solved it. Also reinstalled Timely.

First time I'm using ART, no issues. Difficult to assess difference with Dalvik.
[Nexus 4 Android Development] dEX2340:
Can I ask if anyone activated 4G/LTE on their Nexus, with Bruce's ROM? If yes, which radio?

I tried following steps found on Google but it caused a lot of issues + didn't work.
[Nexus 4 Android Development] tekanina:
I use the .33/.98 hybrid. With the all in one LTE enabler. Here's a link I uploaded. Just flash in recovery and change APN to LTE.

https://www.dropbox.com/s/igk6tjhto4389vf/33_98hybridLTE_enabler.zip
[Nexus 4 Android Development] dEX2340:
Request: Bruce, any chance to impement LTE/4G (activated by default) in the ROM?

http://xdaforums.com/showthread.php?t=2358931
[Nexus 4 Android Development] bruce2728:
Yes I can do that, it's just 3 lines in the build.prop. as long as it doesn't affect things for people without LTE.
[Nexus 4 Android Development] dEX2340:
To be on the safe side, probably better to have 2 ROMs (different radio needed as well?), no? But I understand that would take too much of your valuable time.
[Nexus 4 Android Development] bruce2728:
No I won't include the radio anyway but the build prop tweaks just set the preferred network type so it should just fall back to HSDPA or GPRS if no LTE is available.

I'll test it and post the results later.
[Nexus 4 Android Development] evcz:
Half of the time I try to watch a YouTube video I get blackscreen (but audio works)

Still haven't found the exact pattern but it happened to me a few times.
[Nexus 4 Android Development] dEX2340:
I had this issue as well (after flashing a new build without full wipe). A full wipe makes everything work properly again.
[Nexus 4 Android Development] evcz:
Ouch, I would rather not do a full wipe... Will try to wait for the next black screen :-\
[Nexus 4 Android Development] :
Thanks for the great ROM!

I installed the nexus 7 (2013) latest and OTG worked great so it drove me to install the Nexus 4 latest but OTG doesn't work for me here, is it a different implementation between the Nexus 7 and Nexus 4?
[Nexus 4 Android Development] tekanina:
For the Nexus 4 you need to have an otg cable that allows you to plug in your charger. It has to be externally powered.
[Nexus 4 Android Development] Luigi_2:
Bruce, i need you for my Nexus 5, can you blind build it, please.
[Nexus 4 Android Development] bruce2728:
Yes but can't build until tomorrow, have to spend time with the Mrs tonight.

I have found the code that messes with the colour so I'll just remove that and build from cm source. I'll give you a mention when it's done.
[Nexus 4 Android Development] bruce2728:
New mako build will be up tomorrow. Been very busy lately.
[Nexus 4 Android Development] Luigi_2:
Happy to hear that :victory:
[Nexus 4 Android Development] bruce2728:
[MENTION=2923845]Luigi_2[/MENTION] hammerhead build is up for you, I compiled with aosp kernel and display libs to make it custom kernel friendly.

Let me know if it works please.
[Nexus 4 Android Development] TheDarkDefender:
Bruce, did you ever get a chance to fix that build error I got?

Edit:

P.s. I'm from the flo thread. Just didn't realize this is the mako thread. Following both.

Sent from my Nexus 7²
[Nexus 4 Android Development] bruce2728:
Sorry, I forgot, if you place the missing file from the last bricked flo ROM in a folder named device/asus/flo/modules it will fix the build.
[Nexus 4 Android Development] TheDarkDefender:
Umm. Thanks but, i don't understand. It said something like..no rule to make target.... So i guessed it was something with the definition of the make file ?

Sent from my Nexus 7²
[Nexus 4 Android Development] bruce2728:
No that just means the file is missing, I'll upload it to github now for you.
[Nexus 4 Android Development] TheDarkDefender:
Thanks a ton. I just downloaded the rom zip too :) btw, just a suggestion. Building with the prebuilt aosp kernel for flo, like you did for hammerhead would be great :)

Sent from my Nexus 7²
[Nexus 4 Android Development] bruce2728:
I'm uploading a build now with the cm kernel but with the caf colour stuff removed and dt2w added.

PS github for flo updated.
[Nexus 4 Android Development] bruce2728:
And we are still waiting for cm to merge 4.4.2_r2
[Nexus 4 Android Development] Luigi_2:
Thank you, does it have the optimizations you did to flo, mako build? Bricked included

I'll install it as soon as I get home :fingers-crossed:
[Nexus 4 Android Development] bruce2728:
No but you should be able to flash a custom kernel.

I just wanted to see if it booted first.
[Nexus 4 Android Development] Luigi_2:
Yes, up and running fine with stable bricked version for n5 :fingers-crossed:
[Nexus 4 Android Development] bruce2728:
Great, I'll compile with bricked next time and start a thread later in the week, I would do it today but it's my birthday ☺
[Nexus 4 Android Development] Luigi_2:
Wow, happy birthday then :P
[Nexus 4 Android Development] TheDarkDefender:
Happy birthday Bruce! ?

Sent from my Nexus 7²
[Nexus 4 Android Development] TheDarkDefender:
Bruce, it errored out again. :(

log http://textuploader.com/1hdl
[Nexus 4 Android Development] bruce2728:
It looked like you are using the wrong toolchain.

You need to compile the kernel with linaro 4.7 from http://releases.linaro.org/14.01/components/android/toolchain/4.7

Just place it in the folder prebuilts/gcc/linux-86/arm/arm-linux-androideabi-4.7-linaro/

You will also need to make small changes to build/envsetup.sh

https://github.com/bruce2728/android_build/commit/59e8cd7f1bdc3ebffd618f1bce3e7d8ef7c879e2

And to build/core/tasks/kernel.mk

https://github.com/bruce2728/android_build/commit/5ecdcfd0091f9ca66ca2a6a6aea0c40b1c1567b1

Now it should definitely build.
[Nexus 4 Android Development] TheDarkDefender:
Thank you :) Yes, I never changed away from the default toolchain. Following your advice now.

Edit : yay! It built.
[Nexus 4 Android Development] dEX2340:
4G/LTE

Happy birthday Bruce!

Any chance for that 4G/LTE implementation?

I don't want another ROM than Bruce's. Any1 have 4G/LTE working with this ROM?
[Nexus 4 Android Development] bruce2728:
Thanks, tomorrow's build will support lte, you will have to flash the latest hybrid radio though.
[Nexus 4 Android Development] tekanina:
Here's a link to an app called Nexus 4 Modem Flasher that will flash any Nexus 4 radio including the hybrids and also enable LTE. Its made by the same Dev that maintains the AIO LTE enabler thread.

https://play.google.com/store/apps/details?id=com.bpear.makomodem
[Nexus 4 Android Development] bruce2728:
ROM updated...

4g LTE enabled.

Double tap to wake now only works if you tap in the centre of the screen to avoid turning the screen on by mistake when picking the phone up.

The dt2w setting is now in display settings.

I've removed s2w for now.

Let me know how this all works for you please.
[Nexus 4 Android Development] bruce2728:
Just quoting you so you can test the LTE ☺
[Nexus 4 Android Development] tekanina:
Can confirm LTE is working. I do not use stock kernel so I cannot comment on that. Thanks for this fantastic ROM Bruce. Has been my go to ROM for a couple months now.
[Nexus 4 Android Development] bruce2728:
Which kernel do most of you guys use? Maybe I could set up a poll and include the most popular one.
[Nexus 4 Android Development] bruce2728:
Thanks, I don't even get 3g where I live so couldn't test myself.
[Nexus 4 Android Development] tekanina:
I use T-Mobile in the US which supports band 4 LTE. I feel for you having no 3g support. That sucks. My phone seems to really like Semaphore. I get the best battery usually close to 5 hrs SOT best was 6 with about 18hrs on battery.
[Nexus 4 Android Development] Luigi_2:
Franco, semaphore, bricked, faux are the most premium kernels.
[Nexus 4 Android Development] bruce2728:
That's the kernel I've been looking into and where I cherry-picked dt2w to work from the settings menu, so that setting should still work if you flash semaphore.
[Nexus 4 Android Development] bruce2728:
I like bricked but it isn't updated very often these days.

I've not really looked at Franco or faux for a while, semaphore seems like a good kernel but some people will want oc.
[Nexus 4 Android Development] tekanina:
Can confirm that dt2w works from settings with semaphore. Last time I flashed Franco it broke the built in superuser.
[Nexus 4 Android Development] vishal007:
Excuse me,

Does this rom support screen video recording?
[Nexus 4 Android Development] bruce2728:
It has the screen cast option in the display settings menu. I've not tried it but it should work.
[Nexus 4 Android Development] bruce2728:
Thanks, I've never had much luck with Franco kernel myself. Always used faux or bricked.
[Nexus 4 Android Development] Luigi_2:
I think semephore is the way to go, too, very battery friendly and performance is top notch. Really like that kernel and according to the dev, he doesnt modify any thing system related so anyone can flash another kernel on top of his kernel without any issues.

I've been using it for months and totally satisfied
[Nexus 4 Android Development] bruce2728:
I'll fork the kernel to my github later as I will need to make a couple of small changes to get it to build with cm, but that is just 1 line in 2 files that won't change anything.
[Nexus 4 Android Development] bruce2728:
Changed thread title and first post to reflect recent ROM changes.
[Nexus 4 Android Development] dEX2340:
Thanks a lot Bruce. I believe it works. I only had 4G once where I live. Tested different places.
[Nexus 4 Android Development] dEX2340:
I don't find the d2w option in 'Display and lights'?
[Nexus 4 Android Development] bruce2728:
Thanks, hopefully by the time my contract is up in October they will have 4g in my area, my only regret from moving away from London is the bad phone signal.
[Nexus 4 Android Development] bruce2728:
Are you on 19th nightly? You will have to be on the included kernel or semaphore for it to work.
[Nexus 4 Android Development] dEX2340:
My bad, all is fine.
[Nexus 4 Android Development] tekanina:
Faster than my in home WiFi lol. Thanks again Bruce. Also love the LTE symbol used to just say 4G.
[Nexus 4 Android Development] dEX2340:
Mmmh, I didn't have that LTE or 4G sign, not even when I reached 19 Mbit/s. For info: I'm in Begium.

With my home WiFi I reach 44.
[Nexus 4 Android Development] tekanina:
I was wondering why it said h+ but I figured you may have ran Speed Test in a different location. I get 13 on h+ and about 25 on WiFi.

Edit. Nexus 4 only supports band 4 LTE. You should check with your carrier to see if it supports it. HSPA+ supports up to 42 Mbps.
[Nexus 4 Android Development] dEX2340:
I saw it mentioning HSPAP, currently it shows HSPA. For info by using *#*#INFO#*#*
[Nexus 4 Android Development] tekanina:
Today's build is incomplete only downloads to 33mb and 15mb on the mirror. I tried to download about 5 hours ago and figured it may still be uploading but it's still saying 33mb.
[Nexus 4 Android Development] bruce2728:
OK thanks for letting me know, I'll fix that now.

My ftp client must have crashed in the night, I started the upload then went to bed.
[Nexus 4 Android Development] bruce2728:
[MENTION=5067895]tekanina[/MENTION] it will be up on the first link in 10 - 15 mins.
[Nexus 4 Android Development] tekanina:
Okay awesome. I always look forward for your updates. Probably the longest I've ever stayed on one ROM.
[Nexus 4 Android Development] evcz:
Getting no space left error message when trying to install any app. Is that a known issue?
[Nexus 4 Android Development] bruce2728:
Might need to clear data for playstore and googleplayservices. If that doesn't work a fresh install should fix it.
[Nexus 4 Android Development] evcz:
Something is messed up on my phone... Got a reboot while scrolling the applications list... And some of them where showing 0 space used (play store being one) :(
[Nexus 4 Android Development] evcz:
Reverting to cm11 official m3 build seems to cure the 0 size and market issues...
[Nexus 4 Android Development] tekanina:
I'm also having Play Store problems. Also get force closes after install on certain apps like Greenify, GPS Status and a few others. Already tried a clean flash and problem still persists.

---------- Post added at 10:12 AM ---------- Previous post was at 10:05 AM ----------

After reboot I get Android is optimizing apps like when dalvik and cache is cleared.
[Nexus 4 Android Development] mymeatb18:
Thanks [MENTION=1617770]bruce2728[/MENTION], i remember ur ROM from the sensation forums. I too had a problem with all my installed apps after flashing but rebooting fixed it. Also unable to download from the play store. I used the pa gapps stock package. Other than that this ROM is great and happy I can use basically any kernel

Edit: reinstall of play store and reboot fixed it but I also noticed 2 reboots while looking in settings>apps
[Nexus 4 Android Development] tekanina:
After you reinstalled Playstore are you still able to download apps with no force closes or insufficient storage warnings? I too reinstalled the PS and I also noticed a reboot fixes the force close notifications but when I install another app I get it fc's again and the insufficient storage remains. When I reboot I get Android is optimizing apps or upgrading or whatever it says. Seems like its not building dalvik when installed and rebuilds on reboot. Also getting random reboots.
[Nexus 4 Android Development] mymeatb18:
I had to reboot after reinstalling PS to even use it. Then all was fine installed an app. Had a second reboot from settings app but never had the "upgrading". I was in dalvik. Is there an earlier build that doesn't have these small issues? Im sure Bruce is working on it though.
[Nexus 4 Android Development] bruce2728:
I'll fix that in the next build, I cherry picked something to speed up boot that has broken the app installer a bit. Give me a few hours and I'll post when it's up.
[Nexus 4 Android Development] dEX2340:
Build 23 Feb is up I see (can't download yet as on 3G).

Do others have the below issues or is my Nexus 4 dying (only 1 yr old!) due to excessive custom ROM flashing:

* power button doesn't respond well, screen doesn't always turn on when I press power button

* sometimes, when I turn on the screen, no reaction at all when swiping, tapping screen. Only turning phone off and on fixes the issue

* proximity sensor not calibrated well. Often, during a call, phone hangs up because (I guess) my cheek touches the screen (hang up-button).

Quite annoying as these issues occur more and more frequently.
[Nexus 4 Android Development] bruce2728:
I have the proximity sensor issue but I think that is actually the cm dialer app as they have been messing with it and split it into 2 apks. I think I might try to use the Google dialer from the factory image.

I don't have the other problems though, my n4 was one of the first batch in Nov 2012 so my battery needs replacing other than that all is fine here.
[Nexus 4 Android Development] mymeatb18:
Would flashing the Google dialer mess anything up? I know it messes something up in PA. Maybe the aosp stock dialer?
[Nexus 4 Android Development] bruce2728:
Maybe, I'll have a go later and see what happens.
[Nexus 4 Android Development] HanaPoulpe:
I noticed that dt2w is not as responsive as it was before, I had one bsod, everything worked fine (led notification turned off when I read an email on my computer) but no way to turn screen on except reboot
[Nexus 4 Android Development] bruce2728:
You have to tap in the centre of the screen for dt2w now, works for me every time.

Can you get a logcat next time please otherwise there is not much I can do.
[Nexus 4 Android Development] HanaPoulpe:
No prob for the crash, for dt2w I didn't know, thanks.
[Nexus 4 Android Development] dEX2340:
Bruce, tx for the new builds. However, I think something is wrong with the one of Mar 1. It stops downloading at 160 MB.
[Nexus 4 Android Development] Luigi_2:
get it from the mirror, running fine :)
[Nexus 4 Android Development] bruce2728:
Thanks, my ftp client keeps crashing, think I need to reinstall linux
[Nexus 4 Android Development] ibrahim54:
CMMode

Hi Dev, fantastic rom,smooth and give 4 hrs sot on custom kernel ( default setting)..just updated to 6th march build.:good:
[Nexus 4 Android Development] bruce2728:
New build uploading..

I've added USB fast charge to the kernel and added a toggle to set it in device settings.
[Nexus 4 Android Development] ibrahim54:
FC

Hi Dev, had screen fc and reboot on last update ( 9/3 )...not sure y, i was on hellcore. will update to 11/3 tonite.....:good:
[Nexus 4 Android Development] zagzag99:
Been having similar cases, I think it's last two releases of HellsCore that cause this.

Doesn't happen when I'm in ROM's original kernel
[Nexus 4 Android Development] ibrahim54:
latest nightly

Hi there. Rom is fantastic...smooth and good battery life.

Notice that only hellcore and hell doctors kernel work with the Rom. No problem just curious.
[Nexus 4 Android Development] bruce2728:
Thanks. All aosp kernels should work, I'll look into it.

If there are any features you would like added to the kernel let me know. I am a bit behind in pushing to my github but I have done a lot of work on the cm kernel, I'll push my changes tomorrow so you can see what's been added.
[Nexus 4 Android Development] ibrahim54:
s2w

Thanks Bruce, frankly i only need slide to wake ( dt2w is too sensitive imo ) in kernel, main reason i flash custom kernel.
[Nexus 4 Android Development] bruce2728:
New build up...

Now mirrored on goo.im the link is in my signature.
[Nexus 4 Android Development] bruce2728:
I've just done some testing and every aosp kernel I have tried boots with this ROM.

I tried latest faux, semaphore and bricked and all run perfectly.
[Nexus 4 Android Development] bruce2728:
Build updated to KVT49L 4.4.2_r2

Up on goo
[Nexus 4 Android Development] fabian.m:
Sweet, thanks!

edit: Goo's slow as hell today :( In fact my download won't even finish today anymore haha :/
[Nexus 4 Android Development] bruce2728:
OK I'll put it up on the first mirror, will take about 30 mins though.
[Nexus 4 Android Development] fabian.m:
You're awesome, thanks! :good:
[Nexus 4 Android Development] evcz:
Is there any known issue with the light sensor? Mine is not working and I'm thinking it's broken on the hardware side :-\
[Nexus 4 Android Development] bruce2728:
Working fine for me. If I put brightness to main or Max then enable auto brightness it will adjust itself to the right level.
[Nexus 4 Android Development] evcz:
ok thanks.

I think my sensor is gone then. Got issues with proximity too a few days ago, but that solved by itself. This one seems like gone for good :(
[Nexus 4 Android Development] evcz:
Light sensor fixed! Was an hardware issue ;)
[Nexus 4 Android Development] bruce2728:
Glad you got it working, did you have to get it repaired?
[Nexus 4 Android Development] evcz:
Ehm... Last weekend the phone dived into fresh snow... Proximity sensor died... But then resurrected... Noticed the light sensor was not working... Then remembered the jump in the snow thing so I put it into a rice bag for a night and that took care of it :D

Had almost ordered a nexus 5 to have a phone while waiting for it to be fixed! Glad it resurrected as I prefer the design of the 4 :D
[Nexus 4 Android Development] bruce2728:
ROM updated, now with QuickBoot.

When powered off in QuickBoot mode the divice will turn on in 1 - 2 seconds. You can enable it in development settings.
[Nexus 4 Android Development] dEX2340:
Bruce, why not enabled by default? Are there disadvantages?