yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] ramjet73:
You need to stay away from the casinos. :good:

Have you tried putting it in airplane mode for one night to see if the drain is radio or app related?

Edit: I also suggest upgrading to B22 and ElementalX 2.01 so you have the most current versions and a clean flash is highly recommended in this situation.

ramjet73
[Nexus 5 Android Development] bobby janow:
That's just a little too much although not horrible. Look at partial wakelocks and alarms to find out what is waking your device. I had around the same thing until I saw that Facebook was polling all night as was my BT connection. Once I turned them off / logged out of FB my drop went down to around anywhere between 0.4 and 0.8% / hour. If high accuracy for location is set then you'll get a bunch of nlpwakelocks which I sometimes forget to turn off. Location reporting off, location history off, battery saving or device only should work for you.

As for kernel I'm back on the last version of hellscore I believe it was 4.2L. The 5 version just didn't play well for me. I also believe that syko is working on some things and by the time he pushes a new version hopefully that battery drain misc will be pushed out by Google. Worse case scenario Wednesday should see some activity around here.:D
[Nexus 5 Android Development] donnyp1:
On elemental x, is it prefer regular or express install?
[Nexus 5 Android Development] AndrasLOHF:
I've used the stock kernel, both ElementalX, and a couple Hellscore versions on most of the version of this ROM. Personally I haven't really noticed anything better or worse with any of them. More than likely though because of the miscellaneous drain. I haven't been through one single battery cycle on any versions or builds of the dev previews without seeing it pop up. Even if I do not install or change anything on the phone.
[Nexus 5 Android Development] CyanideIII:
Regular uses aroma installer and you can setup kernel settings

Express use default setup

Try regular
[Nexus 5 Android Development] sykopompos:
Just the stock one right now

Sent from my LG-D851
[Nexus 5 Android Development] edrickmph:
Anyone who has invites left for inbox? Up to now i dont have one. Ill pm my gmail email add.

Thanks!
[Nexus 5 Android Development] supguise:
Pm me.
[Nexus 5 Android Development] edrickmph:
Pm sent.[emoji2]
[Nexus 5 Android Development] duarian:
Looks like r3 is out for our device. Getting closer and closer!
[Nexus 5 Android Development] dwang:
Actually its not, that Aosp r3 ROM in the other thread, the r3 is the ROM version, not the aosp version. Its still r2 based.
[Nexus 5 Android Development] numel007:
I'm sorry if this is already an addressed issue, but is anybody having trouble downloading from the store? I clean flashed B22 and can't update or download. They will start, then hang at random percentages. Each percentage is specific to the app, so hangouts hangs at 76%, Gmail at 56%, SU at 10% etc. Cleared caches and so on. This all happened before I changed any settings so there shouldn't be any conflicts. Flashed with Hellscore and SU zip.
[Nexus 5 Android Development] randman2011:
I have not had any Play Store issues dirty flashing from B21 and using the stock kernel. I would try redownloading B22 and keeping the stock kernel at first before switching to a custom one.

Sent from my Nexus 5
[Nexus 5 Android Development] ptesmoke:
[MENTION=1050103]sykopompos[/MENTION] is being pretty damn quiet...wonder what he's up to...wizard!
[Nexus 5 Android Development] sykopompos:
alright kernel devs, the tool for making compatible boot images for this is done

https://github.com/Android-L-Porting-Team/boot-image-maker

just add your kernel in replacing the stock zImage in /boot

make any edits to the ramdisk that your kernel might use

then type make from the root directory for one nicely packed up boot image

all the sepolicy spam is gone and is fully permissive now as long as setenforce 0 is in the beginning of the init.rc

@ak [MENTION=4450732]CallMeAldy[/MENTION] [MENTION=4950720]hottix[/MENTION] [MENTION=5334172]Gnome[/MENTION] [MENTION=3540189]NineInchNails[/MENTION]

[MENTION=1316336]defconoi[/MENTION] if he decides to do something for the n5
[Nexus 5 Android Development] sykopompos:
speaking of, what happened to [MENTION=6005345]RJT71[/MENTION] ? It shows account currently suspended
[Nexus 5 Android Development] ramjet73:
Hmmm...

I'll bet he got suspended for distributing the unauthorized kernel. I didn't think that was going to go unnoticed. :(

ramjet73
[Nexus 5 Android Development] sykopompos:
Well that really sucks, At least I don't embed my builds into XDA so he can still get to the links and can read while not logged into xda.

Maybe I should take a look at that energizer script that you were working on once I get 6 out.

I'm behind were I was planning to be by now.

I still gotta fix the camera on flo, still gotta clean up mako and flo with the sepolicies (even though it should be plenty clean except for one 2 things) redo the updater scripts and finish tracking down this low volume bug
[Nexus 5 Android Development] CallMeAldy:
Gonna try this in a while. Hit me up on hangouts link is in the signature :D
[Nexus 5 Android Development] sykopompos:
Just did and thanks
[Nexus 5 Android Development] ramjet73:
I think I can get the energizer script running by using the same process that the Android Image Studio uses. It starts out with an unpack utility, allows modification of the ramdisk, and then rebacks the bootimg but does it a little differently than the normal unpackbootimg and packbootimg. Here's the output from The Arkenstone kernel I just did:

D:\Android\Apps\Android.Image.Kitchen.v2.0-Win32\Android Image Kitchen>unpackimg taboot.img
Android Image Kitchen - UnpackImg Script
by osm0sis @ xda-developers

Supplied image: taboot.img

Setting up work folders . . .

Splitting image to "/split_img/" . . .

BOARD_KERNEL_CMDLINE console=ttyHSL0 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 earlyprintk
BOARD_KERNEL_BASE 00000000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_KERNEL_OFFSET 00008000
BOARD_RAMDISK_OFFSET 02900000
BOARD_TAGS_OFFSET 02700000

Unpacking ramdisk to "/ramdisk/" . . .

Compression used: gzip
3775 blocks

Done!

Press any key to continue . . .

D:\Android\Apps\Android.Image.Kitchen.v2.0-Win32\Android Image Kitchen>repackimg
Android Image Kitchen - RepackImg Script
by osm0sis @ xda-developers

Packing ramdisk . . .

Using compression: gzip

Getting build information . . .

kernel = taboot.img-zImage
cmdline = console=ttyHSL0 androidboot.hardware=hammerhead user_debug=31 maxcpus=2 msm_watchdog_v2.enable=1 earlyprintk
board =
base = 00000000
pagesize = 2048
kernel_offset = 00008000
ramdisk_offset = 02900000
tags_offset = 02700000

Building image . . .

Done!

Press any key to continue . . .

D:\Android\Apps\Android.Image.Kitchen.v2.0-Win32\Android Image Kitchen>

The parameters that are detected are probably what makes it work where the other tools haven't.

ramjet73
[Nexus 5 Android Development] sykopompos:
From what I saw when I was originally working on it with abootimg and mkbootimg is that I was getting too large of a boot.img with the modifications and it was causing it to hang on the splash.

If you look at the boot image maker, you will see the boot.cfg is modified to allow for a larger boot IMG.

If you try to use the abootimg android binary again, I will get you the commands for it
[Nexus 5 Android Development] ramjet73:
Thanks for the offer but why don't you hold on that.

The Android Image Kitchen has a version that runs native Android (as well as Windows and Linux versions) and I think I can get that to run within an updater-script. The difficult part is handling the custom ramdisk changes for each ROM but as we've already discussed that can be done with if statements within the script once we know what they are.

ramjet73
[Nexus 5 Android Development] sykopompos:
The easiest way to track those down would be to take the stock L ramdisk and diff it against the custom kernel versions. Most likely all modifications would be done in init.rc and init.hammerhead.rc and a couple add binaries into /sbin
[Nexus 5 Android Development] sykopompos:
here is the latest hammerhead build with the cleaned sepolicy and psycho's changes in case anyone wants it

https://drive.google.com/file/d/0By0vn8iv_zrVeHdORkc0aHRKTU0/edit?usp=sharing
[Nexus 5 Android Development] eluspo:
What's new on this one? Its not yet b6 right?
[Nexus 5 Android Development] sykopompos:
Not yet, just working towards it at the moment.

Psycho worked on tracing down on looping code in the system ad fixed it. I cleaned up the sepolicy to rid it of the spam so it should be smoother now
[Nexus 5 Android Development] eluspo:
Okay, will try this one out. What kernel can i use for this?
[Nexus 5 Android Development] sykopompos:
I believe that [MENTION=275009]ramjet73[/MENTION] merged arkenstone in with the latest boot image and I think he posted it
[Nexus 5 Android Development] eluspo:
Will check a few pages back for it. Thanks!
[Nexus 5 Android Development] sykopompos:
That might have just been the boot image that solves the ghost boot though and not the newer sepolicy update.

In any case, the ramdisk is done so kernel devs can do their thing with it. I know gnome said that arkenstone doesn't have any ramdisk changes in it and I believe linear doesn't either so those should be pretty easy to update the boot images
[Nexus 5 Android Development] eluspo:
Okay, i will just wait for someone to post an updated kernel with your new sepolicy.
[Nexus 5 Android Development] sykopompos:
For those that are modifying the mixer_path.xml to edit the sound, are those working for the low in call volume on the latest?

I believe there is an app for it so if someone can mod it for the correct volume for in call and post it, I can merge it in
[Nexus 5 Android Development] sykopompos:
I'm being lazy right now and laying on my bed while charging my phone. I'm trying to decide on going to sleep or staying awake. It is 6:15 in the morning here
[Nexus 5 Android Development] numel007:
I'll try flashing 22 from 21 then. I was going to try stock kernel too. Never had an issue before on previous releases and MD5 didn't seem to be off. Strange.
[Nexus 5 Android Development] 850T5m:
Anyone getting a long delay when clicking on a Google Messenger Heads Up thing?

Whenever I get a text and I click the notification on top, it takes 1-3 seconds to load up the messenger app.

B21, Hells Kernel
[Nexus 5 Android Development] jtwlbz:
B22 is good no problem nova launcher runs fine too
[Nexus 5 Android Development] hellsgod:
Pushed b5.3 in the test folder: http://d-h.st/users/hellsgod/?fld_id=31632#files

If you encouter an issue with it, please refer back to my support thread: http://xdaforums.com/google-nexus-5/general/support-hells-core-kernel-nexus-5-t2873942

To help me find the cause of an issue, I need a log. You can download syslog from the playstore to do that. If a reboot occurs, let the phone boot up, open that app, tick "Last Kernel Log" and upload the .zip file. Please post the bug report and the log in my thread. Thank you :)

hells
[Nexus 5 Android Development] jtwlbz:
What are changes?
[Nexus 5 Android Development] The Remedy:
Would y'all consider this good use of the battery ...I'm on hells kernel ..

Verde™
[Nexus 5 Android Development] wigginst:
Exactly how i feel!
[Nexus 5 Android Development] ptesmoke:
I have a sneaky suspicion [MENTION=1050103]sykopompos[/MENTION] is working on something big ;)
[Nexus 5 Android Development] hellsgod:
Some fixes here and there, nothing special to mention. You can have a look here to see what exactly I changed in this build ;)

https://github.com/hellsgod/hells-Core-N5/commits/l-preview-next

hells
[Nexus 5 Android Development] Wagedroid:
Probably still tracking and squashing bugs
[Nexus 5 Android Development] Doktaphex:
I have a sneaky suspicion that sykopompos is having a well earned rest. :D

At least I hope he is.
[Nexus 5 Android Development] ptesmoke:
that kid doesn't sleep! lol although I hope he is....he works like a BEAST
[Nexus 5 Android Development] theghazi:
What is inbox invite. I don't want to ask here but I need an invite too.
[Nexus 5 Android Development] daeshawn:
i gave up on invites lol but its for googles new inbox apps the runs in line with gmail etc
[Nexus 5 Android Development] wund3rground:
Check your pm
[Nexus 5 Android Development] daeshawn:
Thanks!
[Nexus 5 Android Development] sykopompos:
Napping, getting ready for a all nighter :D

Sent from my LG-D851
[Nexus 5 Android Development] ptesmoke:
ima grab my vodka, some popcorn, and enjoy the show! my body is ready.

are you on any irc chans [MENTION=1050103]sykopompos[/MENTION]?

oh and I have to install Ubuntu...got too smashed last night...couldn't find USB hole.[emoji38]
[Nexus 5 Android Development] sykopompos:
I stay off the irc channels for the most part, I get distracted way too easily with them

Sent from my LG-D851
[Nexus 5 Android Development] ptesmoke:
haha fair enough well I'll stay tuned here tonight if you need any testing
[Nexus 5 Android Development] execute_method:
Can confirm. You're too smashed if you can't find the hole.

Source: been there personally.
[Nexus 5 Android Development] ptesmoke:
haha still a laugh trying though! lol
[Nexus 5 Android Development] theghazi:
I have send one pm
[Nexus 5 Android Development] Wh1t3Rose:
Don't recommend reinstalling when you are hammered. Especially if you run multiple OS's on one drive like I do. End up wiping wrong partitions :(
[Nexus 5 Android Development] ptesmoke:
hahah I am...windows 10 and Ubuntu soon on same partition...lol
[Nexus 5 Android Development] devilsadidas:
This was a really easy install for me. Although getting to boot menu after windows 10, so I could boot from cd, confused me for a min
[Nexus 5 Android Development] todorcim:
I gave up on windows myself, Ubuntu has my heart lol
[Nexus 5 Android Development] ptesmoke:
Did you have windows 10 installed first? What's your boot menu like after Ubuntu? Do you get a grub menu? I have Ubuntu on USB ready but waiting until kids in bed before I get into it.

---------- Post added at 07:58 PM ---------- Previous post was at 07:56 PM ----------

I feel the same other than the wife has no idea how to use Ubuntu so my primary has to remain windows... That and windows somehow still works better as a dlna server for my media
[Nexus 5 Android Development] devilsadidas:
I hear ya. Windows 7 was good. 10 is good to but built for the masses of idiots..... I shouldn't have to search for the control panel please just put it in settings, same with device manager. I really do like ubuntu but need more time with it and also my laptop has just never ran it as fast as I imagine it should.
[Nexus 5 Android Development] ptesmoke:
I have control panel and start menu..just like windows 7. Don't remember if it too some black magic or not after install....was a blurry night as well going from 8.1 to 10 lol!
[Nexus 5 Android Development] donnyp1:
Where you get 10?
[Nexus 5 Android Development] devilsadidas:
Well I had windows 7 and an older copy of ubuntu. After windows 10 installs it completely disregards anything but itself. So yes I use the grub menu that Ubuntu always gives. Also I always install Ubuntu second because it is way more friendly to dual boot.

Edit: just reread your setup. I wouldn't install anything on the same partition as windows. Back up your files and set up Ubuntu partitions properly and give windows its own as it does not play nice.
[Nexus 5 Android Development] ptesmoke:
There's an open developer preview...lemme find the link. http://windows.microsoft.com/en-us/windows/preview-iso

---------- Post added at 08:04 PM ---------- Previous post was at 08:04 PM ----------

Ahh seen...been the way I do it too, was just curious ?
[Nexus 5 Android Development] devilsadidas:
http://windows.microsoft.com/en-us/windows/preview

Here is the link but it isn't available right now.
[Nexus 5 Android Development] execute_method:
10+ year Linux veteran here.

You guys need to quit riding the fence. You'll be much happier in the long run, if you embrace Linux 100%. Screw Microsoft and Apple for that matter.

Also, rolling release distros are where it's at. #archlinux ftw. I've been on arch for 6 years now. When I found it, my distro hopping stopped.

YMMV.
[Nexus 5 Android Development] ptesmoke:
I completely agree and I'd love to, but like I said a few niggles still keep me dual booting ?
[Nexus 5 Android Development] devilsadidas:
I have tried mint, fedora and Debian and wasn't really a fan. None ran as smooth as ubuntu. I would ditch windows but my son is 10 and uses my PC for school work on occasion. When I get around to building a media box for the TV it won't have windows.
[Nexus 5 Android Development] sykopompos:
I have so done that before :(

Sent from my LG-D851
[Nexus 5 Android Development] execute_method:
Niggles, as in annoyances? I found that it was tough to let go at first, but it didn't take long for me to realize I could never go back. Also, most of linux's quirks are actually quite advantageous.

If you mean niggles, as in children, I have 3 (4,10,14) and all of them are completely comfortable using the Linux and can easily get by on Windows at school.

I use bspwm standalone, no desktop environment, and they know all the keybindings. My wife, however, had trouble going from openbox to bspwm (tiling wm). She had no problem moving from Windows to gnome then openbox, though.
[Nexus 5 Android Development] Wh1t3Rose:
I can't stand Ubuntu. Especially the Unity interface. So gross. Arch Linux with Cinnamon all the way.

The thing that's so different with arch Linux is nothing is there that you don't want to be. You build your own distro. You know what's under your hood
[Nexus 5 Android Development] todorcim:
I'm new-ish to Linux, Ubuntu is my first roll into it I guess. Some other guy were telling to try kubuntu also.
[Nexus 5 Android Development] Wh1t3Rose:
You need to try the new Ubuntu with the mate desktop
[Nexus 5 Android Development] todorcim:
I'll check it out for sure, I really have no clue what I'm doing other then it's way easier to flash my phone with Linux then windows. I'm eager to play around though.
[Nexus 5 Android Development] execute_method:
I use my main desktop as a media server. As chromecast gets better, I like this solution even more. I can stream anything from my pc using plex and chromium. I can control the media server (plex) from my phone, as well as Netflix, Hulu, YouTube, etc, etc.

Plex is a great media server, BTW.

I cut my cable about 5 years ago and it's great. I can watch ANY (within reason) show I want without spending an arm and a leg. Check out "Let me watch this" and "ss-plex" channels for plex media server.
[Nexus 5 Android Development] Striatum_bdr:
Agreed with you, I have a debian server with plex and other goodies (owncloud for example).
[Nexus 5 Android Development] Doktaphex:
If cinnamon still looks like it has always done, then I just can't deal!

I'm in the 1% of folks that are happy with, and get on well with "Unity"! It works for me.

EDIT: just looked at mate desktop. Reminds me of windows XP. :(
[Nexus 5 Android Development] PhoenixPath:
Right click the start button. Device mangler and control panel are right there. :)

Took me a bit, but I an loving 10 so far (hated 8).
[Nexus 5 Android Development] cjwaggsrx8:
Running super smooth on b22!! Much appreciated my man..
[Nexus 5 Android Development] theesotericone:
That's why Linux is so good. Choices. Free choices. And lots of them.
[Nexus 5 Android Development] devilsadidas:
Holy hell thank you
[Nexus 5 Android Development] ptesmoke:
anyone watching the halo invitational on twitch? I just realized twitch is messed on my n5 lol
[Nexus 5 Android Development] sykopompos:
So should I go the chainsfire way of root or permissive for selinux on aosp? I already got most of the things fixed now including google play store device compatibility, GPS, DRM for movies, backup restore (still gotta get all the right props in)

Sent from my LG-D851
[Nexus 5 Android Development] ptesmoke:
well, chainfire has always been the right way to go...he is the grandfather of root access. but its your choice...what's the pros/con's of the two choices? either way I'm ready to flashymcflash
[Nexus 5 Android Development] sykopompos:
Permissive leaves most of the system open while chainsfire's way only allows root apps that go through the app and request permission to go through.

Permissive allows more root apps through like you are enjoying with frank

Sent from my LG-D851
[Nexus 5 Android Development] ptesmoke:
would the permissive route complicate kernel development down the road? or does chainfire also utilize the same method but control it differently?

I would say choose what will make your life easier down the line..or if its not that big a deal... choose whatev :)

just managed to install Ubuntu...trying to figure out how I used to modify grub so it didn't look like a bag of hammers
[Nexus 5 Android Development] sykopompos:
Bags of hammers is the best way to go!!!

Sent from my LG-D851
[Nexus 5 Android Development] devilsadidas:
I'm by no means a Dev and can't help but I'd def prefer the chainsfire way. I want to control what has access.
[Nexus 5 Android Development] ptesmoke:
lol it doesn't bother me but the wife has no idea wtf to select hahah

also on my list to do: plug in a CCTV hard drive and hack access password, since the want to charge a service call for a forgotten password [emoji16]

syncing source ;) oh man its been a long time!
[Nexus 5 Android Development] theesotericone:
Man that's a hard question. I guess it depends on how worried about security you are. Since KK android itself has moved to enforcing. Chainfire figured out how to make SSU work with that. Now he's working on making it work with the other "security" enhancements bought in 5.0. Ultimately the decision is yours. If you do keep it set to permissive just post that in big, bold letters in the OP. You and I both know that all systems are vulnerable to a breach but SElinux was developed for a reason.

For those that don't know SElinux stands for Security Enhanced linux. It was created by the NSA. If you want to better understand it google it. It makes for some really interesting reading.

Whatever way you decide to go just know that your kernel was a huge step forward in getting all the things that most users here want from 5.0. So the balls in your court.
[Nexus 5 Android Development] sykopompos:
4.4.4 only had critical services protected under selinux which wasn't a lot of things. The way selinux is now in 5.0 is a whole different ballgame and covers every single process and what this can and can't do.

I'm not sure what way other devs and chainsfire are going to go so the intent is to go with the crowd there so everything plays happily across different Roms but at this point it is too early to tell and most things are not worked out yet either

Also, I didn't go permissive in the kernel, I made it permissive in the sepolicy itself so different kernels could be flashed :D

Sent from my LG-D851
[Nexus 5 Android Development] theesotericone:
I'm glad I checked this thread today. You've got me reading my ass off right now. Is it still possible to use adb to set SE to permissive? Getting that from here:

http://source.android.com/devices/tech/security/selinux/validate.html

If that is possible would it also be possible to build it into the ROM? So a user could choose to go permissive for some tasks then switch back to enforcing?
[Nexus 5 Android Development] sthbr82:
I prefer chainfire's way, that way everything isn't permissive, that means some root still won't work, until it gets updated to workaround with new selinux policies enforced in kernel.
[Nexus 5 Android Development] sykopompos:
Yes you can switch it to permissive with switching to su as it is part of the su domain. I could tap into the su domain and give SuperSU the context to go in through it but I assume that is the way chainsfire is gonna use then his supolicy can take over from there. I gotta look how he is doing 2.19 and see if that is what he is doing. If not I can play with the contexts and see if I can hook into it

Sent from my LG-D851