yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] hartleyshc:
I agree.

I did that mod back when that thread first came around. And have since replaced the thermal paste from generic paste to arctic silver.

The phone still "feels" hot. There's times I can still feel it after gaming through my ringke fusion case. Temps are always fine though. Rarely go above 65° unless there's kernel bugs. Rare enough that I remove thermald all together when I build a kernel. Even when I'm using my own kernel, its rare to hit 75 when OC @1.728/1.836, with GPU @ 450/487.
[Nexus 4 Android Development] villemann:
Same here. Battery goes down very fast. The heating was a problem before only just after flashing new kernel or Rom. Never ever before while normal usage.. I'm on 22s but on previous l's it was the same.
[Nexus 4 Android Development] adstraylight:
How much space do you have? Tried deleting some stuff?
[Nexus 4 Android Development] 22sl22:
Don't have this issue here. Did you do a clean flash or a dirty flash?

If you are out of space, use this app and scan /Data for teh most accurate results :good:

https://play.google.com/store/apps/details?id=com.google.android.diskusage
[Nexus 4 Android Development] fr3quency:
I'm pretty sure you had dirty flashed the rom. ;p
[Nexus 4 Android Development] DJBhardwaj:
I did it with my previous N4 too, showed a very little improvement. But, not of much use because there are aspects we cannot change :cool:
[Nexus 4 Android Development] dr_jerremy:
No,clean flash.Before b21 everything was perfect :S
[Nexus 4 Android Development] sykopompos:
Alright. I traced down most of the issues that are going on in aosp builds for the n4 and n5 so I guess I will be compiling tonight after I fix them so frank might get an update late late late tonight along with a test aosp build just to see where we are with it

Sent from my LG-D851
[Nexus 4 Android Development] DJBhardwaj:
And you just kicked in! Made my sleep go away!!! :cyclops:
[Nexus 4 Android Development] sykopompos:
First a nap though, I haven't gotten much sleep the past couple days and I woke up earlier then planned today to go do a power supply replacement job that was pushed off by them till tomorrow

Sent from my LG-D851
[Nexus 4 Android Development] DJBhardwaj:
God! I will curse myself for giving you that nap idea :p
[Nexus 4 Android Development] brsclkr:
Pls do not apply and publish this method, i saw a guy did this and cause of heat transfer to display, glass collapse and split from methal frame. He had to change whole front frame and glass
[Nexus 4 Android Development] sykopompos:
Get your sleep, I'm talking about hours and hours from now.

Percy has been doing a lot of work setting up the repos and pulling in the latest aosp so I gotta sync and fix the errors in both and compile both which is a 6 hour timeframe just compiling

Sent from my LG-D851
[Nexus 4 Android Development] sykopompos:
Definitely was your idea

Sent from my LG-D851
[Nexus 4 Android Development] DJBhardwaj:
Should be fine for me :highfive:

See you then, night night :)
[Nexus 4 Android Development] miku3191:
That's true [MENTION=3998397]DJBhardwaj[/MENTION], but it's working here. I don't know how !
[Nexus 4 Android Development] Jack'O:
Pm me your address, I'll send you 1 Kg of my favourite Italian coffee and the boiler to let you sleep even less.

:D:p;)
[Nexus 4 Android Development] DJBhardwaj:
Read this:
[Nexus 4 Android Development] miku3191:
Oops ! I missed that.
[Nexus 4 Android Development] sykopompos:
I wish I could drink coffee but every time I do, I get really sick from it and my dad is the same way.

It isn't the caffeine in it but something else, maybe I am allergic to it or something

Sent from my LG-D851
[Nexus 4 Android Development] adstraylight:
http://m.youtube.com/watch?v=F3Cty-q73wk

Had this stuck in my head, had to share...
[Nexus 4 Android Development] Dryblow:
And I can send 1 kg of "cannoli" from Sicily for eat with 1kg of coffee.
[Nexus 4 Android Development] Jack'O:
Forget it then. :o
[Nexus 4 Android Development] sykopompos:
Send me cases of monster!!!

Actually I think I need a keg of it or something else in a very large quantity

Sent from my LG-D851
[Nexus 4 Android Development] adstraylight:
The guy in the video needs a pair of playboy bunny ears and a can of monster though....
[Nexus 4 Android Development] googleygoggles:
Wow... Im still on B15!

I JUST DOWNLOADED B22 FRANK AND YOU ARE ALREADY MAKING ANOTHER ONE??

Boy, I guess when I wake up tomorrow I'll get a new build to flashicake! Mmmm caaake
[Nexus 4 Android Development] RomyRodriguez:
Take that nap and i hope you dream with frank right next to you giving u good ideas to add him a couple of bunny parts.
[Nexus 4 Android Development] as007:
My avast and Gdata alarming, that in rom zip is virus. What is it?
[Nexus 4 Android Development] flopower1996:
Mostly a fail alarm...
[Nexus 4 Android Development] Sierra35:
Same to me, not enough time to follow the threads, downloading always latest ROM and kernel, now if I have time before sleep, I have to clean my onboard storage [emoji13] , lots of Roms, kernels, nandroids and tibus [emoji334] [emoji333] [emoji482]
[Nexus 4 Android Development] as007:
I know, I have the same problem in my HTC. Gdata write, that ManagedProvisioning.apk is virused, but Avast write that this rom have Android Banker Z Trojan.
[Nexus 4 Android Development] djsubterrain:
IT'S ALIVE!!!​

​

​
[Nexus 4 Android Development] googleygoggles:
Dude... That is just WRONG
[Nexus 4 Android Development] brsclkr:
i know its off topic and a noob question

you know nexus 9 has a feature "double tap to wake" by default and i wonder did they publish those codes or hidden? i still have some problems with kernels including stratosk's dt2w (i dont wanna blame anyone pls do not offense) like no screen wake up after ending call and unresponsive screen sometimes. may be those codes from google help to increase stability
[Nexus 4 Android Development] Dpat09:
No way?! Was planning to do this after if I had bought the N6 as a fun project. (N6 pricing turned out to not be what I expected, might get an n5?)
[Nexus 4 Android Development] djsubterrain:
...but it feels so right! :p
[Nexus 4 Android Development] googleygoggles:
Hi guys, could anyone explain the compiling process of AOSP? I know there are a billion, qazillion "guides" on how to compile but no one ever explained this to me (more in depth), like why do you have to hunt down drivers, binaries, and whatever else.

Also, what is that whole "syncing" process that [MENTION=1050103]sykopompos[/MENTION] talked about getting stuck in? And why do you devs use Ubuntu/Linux instead of any other OS???

This seriously saddens me since so many people know this stuff and no one seems to care to explain!
[Nexus 4 Android Development] LeoPosas:
Reported as Malicious...very strange.. [MENTION=1050103]sykopompos[/MENTION] are you spying us with a Trojan? :(

ManagedProvisioning.apk from the last build report -> http://apkscan.nviso.be/report/show/0af72d9d7802dd73e530f21753e1262f

Analyzed this one after -> https://github.com/Android-L-Portin...rking/system/priv-app/ManagedProvisioning.apk

Report -> http://apkscan.nviso.be/report/show/c6a90cd65d170266d29844c4e7d6b9c0

Seems OK!
[Nexus 4 Android Development] k1l:
the official android guide is a good way to start: https://source.android.com/source/building.html

syncing means to get the code from the google servers. when they release the code there are a quadrillian users downloading so the speed my be not the fastest.

ubuntu is a easy to setup and easy to use linux. so why make the life harder than it should.

---------- Post added at 10:20 PM ---------- Previous post was at 10:17 PM ----------

whats the app managedprovisioning.apk for?

---------- Post added at 10:20 PM ---------- Previous post was at 10:20 PM ----------

whats the app managedprovisioning.apk for?
[Nexus 4 Android Development] oliver7:
so, there are issues in the Android5.0_AOSP_withGAPPS_Nexus4.zip? i'm still on b19s which is running great, but of cos i cant stop to flash on ;), but currently i'm not sure what to choose and why. cos it's probably a good thing to have the n6 stuff inside?! but zip above is probably close or same like factory image?!
[Nexus 4 Android Development] k1l:
whats the app managedprovisioning.apk for?

seems like some enterprise user setup stuff from android L:

http://developer.android.com/about/versions/android-5.0.html#Enterprise
[Nexus 4 Android Development] rpiton:
I'm using B15.P and my phone gets hot even doing simple stuf, like using twitter APP or simpling using gmail. Is it normal? Whats the best kernel?

Or I should go to B22???

Thanks.
[Nexus 4 Android Development] googleygoggles:
Thanks! Can't believe I didn't take a closer look at the official guide... I don't trust official... Why do you think I'm with syko and Frank?

Just one problem...

I'm gonna have to do this in a VM! I can't do that! I don't have enough RAM for 2 OS's! Google is asking for 8 minimum dedicated to the VM, meanwhile my computer only has 6GB total :*(
[Nexus 4 Android Development] DJBhardwaj:
The first thing will be to setup your build machine. Recommendation is Ubuntu (widely support, easy and also preferred by Google itself), or use any other Linux-based OS which you find reliable and have sufficient knowledge to tackle issues occurring relating the same.

1) Setup build environment: XDA-University Guide

2) Syncing the work tree (source code), which is easy but a long process to follow: Android Official Guide

Cover this up, next is yet to come. Remember we still don't have binaries or vendor props, we are only confronted with the raw code, which is extremely experimental to handle.

---------- Post added at 03:10 AM ---------- Previous post was at 03:09 AM ----------

Try and split the HDD, spare around 120 GB or more.

RAM is enough :good:
[Nexus 4 Android Development] PsychOlli:
got 3 hrs SOT with b21 + unleashed 92a6 + Journaling Off + some battery tweaks

and still got 28% remaining :)

My best SOT of all the Betas i've used. And my batterys status is okay only :)
[Nexus 4 Android Development] johnb380:
Screenshots or it didn't happen!
[Nexus 4 Android Development] googleygoggles:
Thanks, gotta remeber that..

Also, 120 GB of HDD space lol, I can give it WAY more than that! (Not that I would use it :P)

So RAM is fine? Why is google asking for 8GB+ for VM?
[Nexus 4 Android Development] DJBhardwaj:
Sure then give it a lot more than that, would turn out to be helpful. And if you've so much of space, give a bunch to SWAP to, it will increment the build speed, a bit.

Yes, RAM is fine if you Install Linux alongside Windows. I used way more than 6 GB RAM when i built using VM. But, dual booting is a bliss :good:
[Nexus 4 Android Development] d9ny:
Do clean flash from b21 to b22, got led notification issue maybe can be fix on next release...thanks...overall i love it, feel buttery and smooth
[Nexus 4 Android Development] DJBhardwaj:
Try disabling and finally enabling "Ambient display" under Settings > Display
[Nexus 4 Android Development] bladebuddy:
Amazing eye opener. Big BIG thanks from me.
[Nexus 4 Android Development] ktomov:
Well 8 GB is too much. You can build on 2 GB or even less, but I haven't tried it. There is a SWAP in linux, which is how to say it easier to understand - virtual ram from your hard drive. Yes it's slower if you haven't got an SSD, but it still does the trick. While you install Ubuntu, you'll have to partition the drive, there you could set your swap partition to 2/4/8 GB.

Keep in mind, that the bigger problems are the hard drive space and the cpu - you'll need ~32 GB free space on the had drive just for the sources and as many during the compilation. Then there is the cpu. I'm building on mine i7 4702MQ which have 4 cores and hyperthreading, which means that I can run 8 processes simultaneously (make -j8) and for clean build it takes up to 3 hours. On dual core machine it could take more than 8 hours. So be prepared :)
[Nexus 4 Android Development] bpye:
This has been fixed I believe.

---------- Post added at 10:17 PM ---------- Previous post was at 10:16 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:18 PM ---------- Previous post was at 10:17 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:20 PM ---------- Previous post was at 10:18 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:22 PM ---------- Previous post was at 10:21 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:23 PM ---------- Previous post was at 10:22 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:24 PM ---------- Previous post was at 10:23 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.

---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.
[Nexus 4 Android Development] r3dpuma:
I reverted to factory kk. I'm waiting
[Nexus 4 Android Development] bpye:
It's a good idea, would make it easier for users to move across. I'll see what I can do, do people ever use the TiZip or w/e it is? perhaps that'd be a better way to deal with it.
[Nexus 4 Android Development] k1l:
like the others told you already: dualboot is better than running in a vm. so you have more ressources for the compiling. (you saw others talking about 16, 32 and more GB ram and using 8-core cpus. and you want to even split in half what you got)

dualboot means you can choose at the boot-screen if you want to run windows or ubuntu.

on that way you will see, that linux is not the terminal OS for nerds, living in the basement :)
[Nexus 4 Android Development] manulemaboul:
Have you fixed that one ?

You can see the floor through my thigh and the couch, it's weird as f***. Do I have to file a bug report to Google or to the twilight zone ? :p

Meh, probly just a glitch in the matrix lol.

I hope it's not because someone killed my grandpa in the past or something tho, I dont want to disapear XD.
[Nexus 4 Android Development] r0han_dav:
I have 3 lots of invites pm for one

Franked
[Nexus 4 Android Development] ferrocene:
This is an amazing post.

Guess I should add, after the last time Windows 7 crashed on me, I went full Linux and haven't turned back. I can't play half of my steam games, but I only play dota2 and tf2 anyways, so linux works for me!
[Nexus 4 Android Development] Vinnom:
Hmm, i'm not sure if understood what you said hahah

Tizip means titanium backup native backup extension? I saw in my titanium backup folder and I have it gziped (tar.gz) and files with apk.gz.

Did I understand?[emoji16]
[Nexus 4 Android Development] ktomov:
Glad that it helps. It's nothing more than the basics, and still there could be said a lot more on that topic. Pity that this kind of threads are not discussed more widely in the forum, or at least a haven't come across such questions like [MENTION=5598551]googleygoggles[/MENTION]. Most of the people are looking for pure tutorial on how to copy/paste commands and don't care about the things that are used/needed, and most importantly why.

You can still play games on linux, moreover with SteamOS coming into stable state soon (yep debian based once again!). It takes a bit of time to get used to it, but you have way more opportunities. If you have the hardware though.

For instance if you have vt-x and vt-d (for intel cpus), you can even make a gaming rig out of your linux machine. Virtualization is involved though, which means that you'll need serious resources.

Just an example - you can run any linux distribution and use KVM for virtualization hypervisor, which allows you to dedicate system hardware to specific virtual machine, the PCI videocard for example. So for example, your integrated VC (intel XXXX series) could be used for your linux, and your 840GTX video for your windows virtual machine. This way, you wont even need to dual boot. But still, this means that you need serious CPU and 4 GB of ram at least.
[Nexus 4 Android Development] googleygoggles:
Damn... I just keep getting more discouraged to try...

(I have a dual core 2.4 GHz, 4 threads but with hyperthreading included)

WHY CAN'T THIS TAKE LESS SOURCES????

CPU, average... HDD, horribly slow... RAM, average.. May need to resort to SWAP space... HDD, Big enough.. More than 250GB free...
[Nexus 4 Android Development] DJBhardwaj:
Dude you have it all set. When i first compiled, i hate 2 gigs of RAM, merely 80 GB HDD and a single core CPU :D

Don't get discouraged, just get on the way.

---------- Post added at 04:54 AM ---------- Previous post was at 04:51 AM ----------

I agree completely, everyone just comes up, view a guide, copy/paste and compile. There's no learning in that, moreover there is no fun in it. Failure and success both are different faces of the same coin, one is useless without the other ;)
[Nexus 4 Android Development] googleygoggles:
I know... I've dualbooted before, but I can't dualboot OS's with a different boot menu/sector (whatever it called) ATM.

If I could I would have done that a LOOOONG time ago
[Nexus 4 Android Development] TheNerd:]:
The first time I tried to set up a build environment, I failed, terribly. I kept getting stuck on one problem for hours; tried multiple guides. I was so discouraged, and there's so much stuff to learn. Thanks a lot for helping to clear stuff up
[Nexus 4 Android Development] ktomov:
Lol! You lucky one! My first touch to compilation was on Pentium 3 Celeron, clocked at 700 MHz, on 256 mb of ram. Yep linux kernel. It took, enough time to grow beard, literally! :)

What is a minimum for me, to successfully build a rom currently:

HDD: 80 GB of space

RAM: 2 GB

SWAP: 4 GB

CPU: Dual core at least (If it have HT, well it's better).

Bandwidth: 30 MB/s

Why I'm saying this:

HDD: Sources are huge, and you need free space for compilation. If you use CCACHE, you need even more space, because it's caching the compiled results from your first build and use them after that as a result (less time for second build)

RAM: I have had a lot of problems with java (well i was running without swap), it's ram hungry monster. More ram - faster builds.

SWAP: This depends on the RAM. If you have 8 GB ram, you don't even need swap, it'll slow the things down.

CPU: On this depends the build time - faster cpu, more threads, more cores = faster build.

BW: Downloading 30 GB with 100 kilobytes/s will take you couple of days. If you don't have dedicated machine just for building, and second internet line just for it, it'll mean that you wont be able to use anything from your pc/phone/anything connected to your router.

Exactly! Shame, but it's still some kind of learning. Not enough, but still. Most of the people won't even know what Ubuntu is if there were no desire to build their own android rom, even though, they've touch it. And yes I'm almost from the same type, not a developer.

You have no idea how many installations I've failed till now :) It's not easy, but it's not too hard. Reading, learning, repeating. This is the formula :)
[Nexus 4 Android Development] ferrocene:
I should look into this. I have a GTX 970 which works great in linux for TF2 and dota, and an intel CPU with onboard video that I don't even use. I use virtualbox for my own server VM, but never thought of dedicating the 970 for it's own VM....how would this work with monitors? Does it all output through the NVidia monitor, or the Intel one?

Edit: found this: http://www.tomshardware.com/forum/336186-33-full-gaming-virtual-machine

My CPU has VT-d, so maybe I"ll give this a shot.
[Nexus 4 Android Development] DJBhardwaj:
Wow! Impressive eh. Mine took 7 hours to build. It was not easy back then ;)

Anyways, he can compromise on a factor or two. Since he has got enough HDD, Swap and CCache are solved, 6 GB of RAM is way enough and his PC config is good too. Shouldn't take an hour even to compile.

My spare with same CPU, 4 GB RAM and total 140 GB linux partition compiles in nearly 1 hour 20-30 minutes ;)
[Nexus 4 Android Development] ktomov:
Take a look at this http://goo.gl/M2dJSP

Keep in mind that your CPU/MB should support VT-X and VT-D. I only have the first, so can't do it. Pity but, well for a working machine, gaming is not what interests me :)

BTW: We are on serious offtopic here. I know and I love how the thread goes, but still, we are taking a lot more space for something that is not so in the android dev section :)
[Nexus 4 Android Development] DJBhardwaj:
Also, the source size for only mako is 14 GB. It is upto 31 GB for all the default devices in the manifest ;)
[Nexus 4 Android Development] spider623:
rule n1 never use swap on ssd, rule number 2 never have a bigger swap partition than your ram, rule number 3 use xeon or any amd, don't bother with cheap Intel cpu
[Nexus 4 Android Development] ferrocene:
True. I found this:

"The guest will output its display directly from the connected monitor (not visible from the host!), so you need two monitors or one with two inputs (one plugged into your host GPU, one into your guest GPU). You need a separate keyboard and mouse for the guest only (they are exclusively used by the guest) OR you could use device-sharing solutions like VNC or Synergy. "

Wow. Maybe some day.
[Nexus 4 Android Development] ktomov:
Rule #1, no matter what you do, you'll have to replace your SSD after couple of years.

Rule #2, you can set you vm.swappiness=0 so you won't use your swap at all, but on the machines that don't have enough RAM, this is the only way to give what is needed, withouth hardware upgrades.

Rule #3, get cheap INTEL cpu instead of the AMD. Why? The cheap Intel cpus currently gives better performance than server pointed AMD cpus. Well it's not currently, it's been like that for the last 4 years. Lol :D
[Nexus 4 Android Development] ph37rd:
a green were-rabbit?
[Nexus 4 Android Development] spider623:
learn to use threading, Linux kernel 20 minutes on hdd with fx8350 and - j8

Intel is dead after the old celeron series, there is a reason xeon series don't sell as much anymore, they introduced parts from the I series that a monkey though that it was a good idea to Base on atom.... there worst architecture.... the 2006 xeon series out preform the current one, wtf Intel?
[Nexus 4 Android Development] sykopompos:
You would completely lock up under 4 GB without a healthy amount of swap these days and it isn't pretty. Idk about on L but on kit Kat, the reason for all the ram was just to build webview (something like that i know I'm wrong there but it was something like that, chrominuim or something ).

Also on that i7, you would do j9 for n+1 threads, it will cut you down a half hour compiling

Sent from my LG-D851
[Nexus 4 Android Development] spider623:
that is the problem with Intel, for compiling you need i7, the good i7 start at 350 euro, fx8350 at 199......
[Nexus 4 Android Development] sykopompos:
Amd's definitely hold their weight compiling and are cheaper.

If I was building a build bot, I would go amd on it

Sent from my LG-D851