yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] danarama:
I can edit my zip so it only does this and upload it if you like?
[Nexus 5 Original Android Development] nerotix:
Yeah but that's the repo sync ;) I'm talking about the device tree ofc =p
[Nexus 5 Original Android Development] NaterTots:
I think it will pull the device specific stuff when you start building.

I've never pulled the device tree separately. And I download about 10 gb on a fresh sync.
[Nexus 5 Original Android Development] Jubakuba:
We use roomservice. I.E. it won't sync device-specific stuffz until you lunch your device.

That's fairly quick.
[Nexus 5 Original Android Development] nerotix:
If I only knew what roomservice is, care to elebarate? I'm following this guide: http://xdaforums.com/showthread.php?t=2223690

And the last command I did so far are repo sync and a "git clone https://github.com/SlimRoms/device_lge_hammerhead -b kk4.4 device/lge/hammerhead"

What should I do instead with the roomservice?

Thx !
[Nexus 5 Original Android Development] danarama:
Here you go
[Nexus 5 Original Android Development] quezpr123:
Completely off topic, but I'm going to allow myself to fanboy for a moment. I've been on XDA for about 5 years and I've never said much. I've contributed when I could and I always use the search function. I was a big fan AOKP for a long time, but I haven't really been into their kk development. I've seen Slimrom on and off, but never tried it. Then one glorious day I decided to give it a try. I'm a minimalist at heart and this rom is sleek, slim, and feature packed without being obnoxious about it. This particular thread is well kept, helpful, homey almost. To make things better, one of my favorite devs is part of the team. It was a sad day when he parted ways with AOKP. But today, I rejoice in the splendor that is Slimrom!
[Nexus 5 Original Android Development] nerotix:
come ooooon! xD Gimme some more info over roomservice and lunch, how to build a rom with that. I've never heard of it, I'll be doing some research myself aswell.
[Nexus 5 Original Android Development] Jubakuba:
Skip the git clone bit.

All you need to do is outlined in our platform manifest (once your environment is set up)

https://github.com/SlimRoms/platform_manifest

So...

repo init -u git://github.com/SlimRoms/platform_manifest.git -b kk4.4
repo sync && repo sync
lunch slim_hammerhead-userdebug
make -jX bacon

(I always run repo sync twice since I'm OCD lol. "&&" just says > do this command after that one finishes.)

lunch can also be ran on it's own...

I.E. lunch [hit enter] and it'll bring up a list of devices.

Type the number for your device and hit enter.

The first time you do this...roomservice kicks in and syncs the device stuff for you.

X == number of cores times 2...is the fastest way to sum it up.

Maybe less. Depends on the system. But the higher the number...the more resources the build will use to get 'er done.

Higher isn't necessarily better. Too much strain = bad.

D'awhh<3

I'm on someone's favorite list!
[Nexus 5 Original Android Development] JaylanPHNX:
I would go ahead and flash the latest weekly. There's more features and almost no bugs (none at all for me). The next stable should drop this Sunday/Monday, so if you flash this weekly, you should be okay to dirty flash the next stable.

As for kernel, try stock for a while. They've given it many of the popular custom kernel features, so you may be satisfied with it. You can always try others out later, and then you'd have a baseline for comparison.

Sent from my Slim Nexus 5 with smoothness by Faux.
[Nexus 5 Original Android Development] nerotix:
Thanks a million times! Anyways, I read everything there but doesnt say to use roomservice etc, or how to build with it. Just says how to sync the repo and how to submit patches =o

Thanks again, ill let u know if my 1st build works =)
[Nexus 5 Original Android Development] NaterTots:
It will download the roomservice for you. Just repo sync and build. First one will just take longer.
[Nexus 5 Original Android Development] nerotix:
clemens@clemens-MS-7589:~/AOKPA$ lunch slim_hammerhead-userdebug

No such file: slim_hammerhead-userdebug

O_O

PS Don't mind the path im in, its just something random :P I'll be sure to change it after 1st build succeeded =)
[Nexus 5 Original Android Development] Jubakuba:
. build/envsetup.sh <--------- run that first lol, whoops

Just run lunch [hit enter] and try the number.
[Nexus 5 Original Android Development] pkelly517:
And, if you brunch, then you don't have to make bacon.
[Nexus 5 Original Android Development] NaterTots:
It's interesting how many ways there are to build. I do, breakfast hammerhead && make installclean && time brunch hammerhead.

No real reason it's what someone showed me a long time ago.
[Nexus 5 Original Android Development] benthian89:
Head over here http://wiki.cyanogenmod.org/w/Envsetup_help

where the room service is explained
[Nexus 5 Original Android Development] nerotix:
What do u mean? Bacon is the command that tells it to build right? What does brunch do? Or breakfast? What's different in those compared to bacon or lunch etc.

Edit: nvm, I was to lazy, I've read up about it. Basicly, brunch lets u select what to build and also builds it. And if I'm saying it correct, breakfast keeps a list of officialy and unofficialy supported devices.

Please tell me if I'm wrong, I'm learning ;)

---------- Post added at 01:32 PM ---------- Previous post was at 01:23 PM ----------

Oh and btw, isn't it suppose to be mka bacon instead of make bacon? That's atleast what the Envsetup help says =o Or is it the same? Cuz it claims mka is way faster then make.
[Nexus 5 Original Android Development] dankoman:
all it took to finally consider himself a developer was being on a team who respects and appreciates his many talents :highfive:

and i quote:

---------- Post added at 09:03 AM ---------- Previous post was at 08:46 AM ----------

bingo. mka is going to be a lot faster because it uses sched_tool to properly utilize all the threads (cores) of your processor to build much more efficiently. this effectively saves you hours of build time, unless you have a crap processor.
[Nexus 5 Original Android Development] Jubakuba:
I still don't consider myself a developer =P

But...I've decided to keep that on the down-low since 99% of everyone on XDA is a developer if they compile a rom from source...

I used to be called a developer for my "Ultimate Root Guides" lol. So...yeah. I'm not going to say "Nu-uh! Am not!" knowing that nobody else with a general lack of development knowledge will do so.

But +1. Much happier here =]
[Nexus 5 Original Android Development] yellowdie:
No, this ROM is so stable, you never want to flash the actual "Stable" because it's old and outdated (lol). Always go for the newest version (in this case 3.10), but the new 4.0 Stable should be coming out this weekend, so you may want to hold off for that and just start fresh there. And I've always run Franco. I recommend him (personal preference). Just know that if you flash a custom kernel, you need to flash SuperSU in recovery as well (you can get the latest here: http://download.chainfire.eu/supersu). Enjoy!

:):D:laugh::good:
[Nexus 5 Original Android Development] Jubakuba:
Edit: XDA took a doo-doo on me. 10 minute gap double-post lol.
[Nexus 5 Original Android Development] nerotix:
I typed mka -j2 bacon but it gave some error, do I need to install something or lose the parameter? Also I just used make instead of mka.. can I just safely cancel it? ctrl + z and redo it with mka?

Thanks<3
[Nexus 5 Original Android Development] dankoman:
i don't buy that, dude. you take your own ideas and the suggestions of others and turn them into pure java sex. you code, you innovate, you contribute, you bugfix, and best of all, you communicate with us.

people who think they are devs because they know how to copy and paste a couple lines into linux terminal and have it poop out a build are only fooling themselves. (besides, that would make jenkins a developer too, wouldn't it?)

we all know you do much much more than that, regardless of what you humbly consider yourself not to be :angel:

---------- Post added at 09:37 AM ---------- Previous post was at 09:35 AM ----------

try mka bacon (without the -j2)
[Nexus 5 Original Android Development] nerotix:
After this is done, is there anything else I should do? Or will this produce a flashable zip? Sorry for asking but 1st time, learning as much as I can. Also reading guides etc. It's running now btw ;) Thanks, so the j2 parameters is only for make, lesson learned.
[Nexus 5 Original Android Development] FormeriPhoney:
I didn't realize flashing a kernel lost Root? So if I flash any kernel I have to flash SuperSU on any rom?

I guess I've been kinda happy on the ROM included Kernel on my Nexus 7 Roms that I forgot procedures[emoji2]

Only final question I have is regarding color profiles. It's the one thing I'm disappointed with on the nexus 5. I feel like the colors are a bit washed out.

Does this rom have the option for that, or do I need to use francos FK updater or Nexus color app to adjust those (or choose a preset profile)
[Nexus 5 Original Android Development] dankoman:
this will produce a flashable zip. congrats, you are now a developer ;)
[Nexus 5 Original Android Development] nerotix:
ROFL hell no.. everyone with some linux knowledge can do this if taking the time. I'm just learning it in steps. Next I wanna know is how to setup my personal repo with slimkat repo's in, so I can cherry pick stuff for example. Once I know that, I wanna learn how to fix errors or bugs etc. And so on =p
[Nexus 5 Original Android Development] chikimonke:
Hey [MENTION=3087740]Jubakuba[/MENTION], just thought of something else that you could add to quiet hours. Could you add the option that the phone needs to also be plugged in? That way if it happens to be a late night out (not that those happen much for me these days, see avatar for proof) you still get your notifications and such, and then when you go home and throw the phone on the charger it then turns quiet hours on.
[Nexus 5 Original Android Development] b_rangel29:
Slim kernel supports gamma but you will need a third party app. Bricked, faux, Franco apps all have gamma control built in. If you do decide to flash a custom kernel you will already have the corresponding app to adjust it, if you so choose.
[Nexus 5 Original Android Development] Phazmos:
My understanding is mka will adjust threads for processor used, kinda has the j switch built in.

But for a zip, I believe you have to use otapackage, as in

Make otapackage

I used that with -j7 for my old i7 and build was under 2 hrs. Cpu was maxed enough to push my so so cooling to the max (I am oc'd to 4ghz though).
[Nexus 5 Original Android Development] nerotix:
So after this I have to type "mka otapackage"? To produce a flashable zip or will it be done after "mka bacon"? Or am I confused with what you're saying?XD
[Nexus 5 Original Android Development] Silentbob999:
Cool. I never thought about just removing the file.

There is also an xposed module if anyone interested. You can customize more thing about wireless charging :

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

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] dankoman:
explanation here:

so, either one will yield a flashable zip.

[MENTION=3826624]nerotix[/MENTION], you don't need to do anything else if you're already doing a make -jX bacon or mka bacon.
[Nexus 5 Original Android Development] prbassplayer:
Why bother with mka? Just do make -j# bacon. That will create OTA package and squish to flashable zip.
[Nexus 5 Original Android Development] nerotix:
Ah I see, perfect. Thanks a ton. So if something is merged @ gerrit, and I build slimkat after that merge, with a new repo sync ofc, I will have the newly merged stuff also right?
[Nexus 5 Original Android Development] danarama:
No you cant remove the file. It still sounds if you do that. You must replace it with a silent file of the same name.
[Nexus 5 Original Android Development] nerotix:
Well because I've read mka is faster with building? And people here seem to confirm it aswell.
[Nexus 5 Original Android Development] Silentbob999:
Yes I saw, I open your zip a second after posting. I could rephrase that. "I never thought of messing with a zip file for that " :p

The xposed module is still great for that. The only thing I see about wireless charging that it doesn't do is related with Daydream, other than that, in combination with Rom feature that cover pretty much any else you may want related to that (fill gaps at least) . Daydream stuff can easily be handled with Tasker.

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] prbassplayer:
Eh not really. Just assign how ever many threads to the job. Afaik mka just uses sched_batch and will make sure your Cpu works on the command as much as it can possibly can. If you have a Intel quad core with 2 threads per core just do - j8. Of course I could be missing something else.
[Nexus 5 Original Android Development] dankoman:
with make, you tell it how many cores to utilize. mka does it automatically, kind of.

if you're not multitasking or anything while you're building, by all means you should use make, because you can tell it to use all processor threads for building continuously. either one will get the job done, it's just that make gives you more control.

---------- Post added at 10:27 AM ---------- Previous post was at 10:26 AM ----------

yeah, what he said ^ :D
[Nexus 5 Original Android Development] prbassplayer:
Also I'd like to point out that assigning all your Cpu to compiling doesn't always mean "OMG" fast. Some internal testing made by our server guy on a hexacore Intel noticed that the difference between j7 to j13 was only seconds. Also there is the problem if your planing on doing anything else on that machine assigning to much of the cpu to make anything else super slow and negatively affect compile time, vs assigning some threads to make and keeping other threads available for everything else (basic os handling or anything you might want to do while it compiles)
[Nexus 5 Original Android Development] nerotix:
I see thanks alot for explaining.

Also, fun times.. time to find out what this is:

make: *** [/home/clemens/AOKPA/out/host/linux-x86/obj/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot.arm] Error 1

make: *** Waiting for unfinished jobs....
[Nexus 5 Original Android Development] shreddintyres:
Got a quick suggestion for slim recents, though I'm not too certain how feasible it is, would it be possible to have applications that have been favorited in recents not only persist across clear actions but reboots as well? I have a feeling it's not possible because of how android handles it's recent menu.

Otherwise still loving recents and the general directions slim is heading. Keep up the good work y'all

-Cheers
[Nexus 5 Original Android Development] DigitalUnderground:
I think I'm gonna fire up my Ubuntu laptop and start trying to build again. I have my build environment setup and tried building aosp before, but kind of took a "I give up" break when it was building openmaster builds with weird build numbers and whatnot. Maybe I'll try again but build slim instead since its my favorite ROM
[Nexus 5 Original Android Development] dankoman:
right, which is why i pointed out the multitasking bit above. if you do indeed plan on doing things in the background while the build is compiling, mka will adjust threading accordingly, while make dedicates the number of threads you tell it to (multitasking is still possible to some extent in this case, but new tasks have to wait in line).

correct me if i'm wrong, but this is my understanding of it.

---------- Post added at 10:56 AM ---------- Previous post was at 10:55 AM ----------

i took my "i give up" break from building while saving up for a solid-state hard drive :laugh:
[Nexus 5 Original Android Development] Jubakuba:
I have 250gigs of SSD space sitting empty <_<

WIndows wants it...and I've been inclined to keep it there since I keep convincing myself I'll one day be a h4x0r1337PCGamer.
[Nexus 5 Original Android Development] nerotix:
/home/clemens/AOKPA/out/host/linux-x86/obj/STATIC_LIBRARIES/v8_tools_gyp_v8_base_arm_host_gyp_intermediates/v8_tools_gyp_v8_base_arm_host_gyp.a(lithium-allocator.o): In function `v8::internal::LAllocator::BuildLiveRanges()':

/home/clemens/AOKPA/external/chromium_org/v8/src/lithium-allocator.cc:1335: undefined reference to `v8::internal::HLoopInformation::GetLastBackEdge() const'

collect2: ld returned 1 exit status

make: *** [/home/clemens/AOKPA/out/host/linux-x86/obj/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot.arm] Error 1

make: *** Waiting for unfinished jobs....

Any1 has an idea by any chance?
[Nexus 5 Original Android Development] dankoman:
i think you're looking for functionality similar to aokp's ribbons. there are multiple sidebar launchers available in the play store that can give you this functionality, but i don't think this is what the recents panel is intended for.
[Nexus 5 Original Android Development] Jubakuba:
I don't even want to hear the word Quiet Hours for a goddamn month :mad:

Big bug found...

Big but partially squashed.

Small bug says hi.

Go away small bug.

Found root of big bug issue...

Fix root of big bug issue.

Small bug says hi.

Go away small bug.

"Lul I'm still here, silly bear"

alkdjfklasdfj off small bug!

Fine.

Annnnnd...we're ready for stable there.

But...yeah, that sounds cool. I'm just Quiet Hours shell-shocked at the moment haha.
[Nexus 5 Original Android Development] nerotix:
[MENTION=3087740]Jubakuba[/MENTION] Any input perhaps? I'm reading about it aswell.. I find someone saying it could related to a missing libz? So I "sudo apt-get install zlib1g-dev" and I'm not sure if that solved the whole thing tbh.

PS Also read something about something pointing to java7 which I found in 2 lines:

clemens@clemens-MS-7589:~$ ls -la /etc/alternatives/java* && ls -la /etc/alternatives/jar

lrwxrwxrwx 1 root root 39 mrt 28 08:45 /etc/alternatives/java -> /usr/lib/jvm/java-6-oracle/jre/bin/java

lrwxrwxrwx 1 root root 45 mrt 28 08:45 /etc/alternatives/java.1.gz -> /usr/lib/jvm/java-6-oracle/man/man1/java.1.gz

lrwxrwxrwx 1 root root 36 mrt 28 08:45 /etc/alternatives/javac -> /usr/lib/jvm/java-6-oracle/bin/javac

lrwxrwxrwx 1 root root 46 mrt 28 08:45 /etc/alternatives/javac.1.gz -> /usr/lib/jvm/java-6-oracle/man/man1/javac.1.gz

lrwxrwxrwx 1 root root 38 mrt 28 08:45 /etc/alternatives/javadoc -> /usr/lib/jvm/java-6-oracle/bin/javadoc

lrwxrwxrwx 1 root root 48 mrt 28 08:45 /etc/alternatives/javadoc.1.gz -> /usr/lib/jvm/java-6-oracle/man/man1/javadoc.1.gz

lrwxrwxrwx 1 root root 45 mrt 3 16:04 /etc/alternatives/javafxpackager -> /usr/lib/jvm/java-7-oracle/bin/javafxpackager

lrwxrwxrwx 1 root root 55 mrt 3 16:04 /etc/alternatives/javafxpackager.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javafxpackager.1.gz

lrwxrwxrwx 1 root root 36 mrt 28 08:45 /etc/alternatives/javah -> /usr/lib/jvm/java-6-oracle/bin/javah

lrwxrwxrwx 1 root root 46 mrt 28 08:45 /etc/alternatives/javah.1.gz -> /usr/lib/jvm/java-6-oracle/man/man1/javah.1.gz

lrwxrwxrwx 1 root root 36 mrt 28 08:45 /etc/alternatives/javap -> /usr/lib/jvm/java-6-oracle/bin/javap

lrwxrwxrwx 1 root root 46 mrt 28 08:45 /etc/alternatives/javap.1.gz -> /usr/lib/jvm/java-6-oracle/man/man1/javap.1.gz

lrwxrwxrwx 1 root root 42 mrt 28 08:45 /etc/alternatives/java_vm -> /usr/lib/jvm/java-6-oracle/jre/bin/java_vm

lrwxrwxrwx 1 root root 41 mrt 28 08:45 /etc/alternatives/javaws -> /usr/lib/jvm/java-6-oracle/jre/bin/javaws

lrwxrwxrwx 1 root root 47 mrt 28 08:45 /etc/alternatives/javaws.1.gz -> /usr/lib/jvm/java-6-oracle/man/man1/javaws.1.gz

lrwxrwxrwx 1 root root 34 mrt 28 08:45 /etc/alternatives/jar -> /usr/lib/jvm/java-6-oracle/bin/jar

clemens@clemens-MS-7589:~$

lrwxrwxrwx 1 root root 45 mrt 3 16:04 /etc/alternatives/javafxpackager -> /usr/lib/jvm/java-7-oracle/bin/javafxpackager

lrwxrwxrwx 1 root root 55 mrt 3 16:04 /etc/alternatives/javafxpackager.1.gz -> /usr/lib/jvm/java-7-oracle/man/man1/javafxpackager.1.gz

That point to java7, I guess I should change it to java6?

I removed java7 and added a libz dev, as mentioned at the start of this post and will try again.
[Nexus 5 Original Android Development] DigitalUnderground:
Once I got my Dell XPS 18 for my windows needs, I took my Sammy Quad Core 500GB laptop with 4GB (or maybe 8GB) RAM and removed windows 7 so Ubuntu has the whole thing to itself
[Nexus 5 Original Android Development] chikimonke:
Sorry to drum up all those bad feelings. ☺
[Nexus 5 Original Android Development] Grondinm:
So this is kinda off topic but anyone use themer? I tired it and I know that with slim DPI most if not all themes will not look right but even when I set the DPI to stock (480) using app settings from xposed they still don't look right. Am i just out of luck?
[Nexus 5 Original Android Development] luisangel89:
Try using Root Browser. Go to system/build.prop scroll down and change LCD dencity to whatever you want to change it to. Save and reboot. Works every time.
[Nexus 5 Original Android Development] Grondinm:
i don't want to change the entire system DPI i like slim DPI but i would also like to use themer. that's why i'm trying to do it with app settings module to change DPI only for themer app....
[Nexus 5 Original Android Development] kufikugel:
Hehe

I think similar story was the reason that jubakuba came to slim....he tried it and fell in love :D

It depends on the kernel. As long the kernel just modifies the stock ramdisk or replaces the ram disk with a new one which have the su bit included all will stay. If it is not the case you will loose root. But easy....flash the kernel. Boot up. Check if you have root. If not flash supersu or superuser from recovery

Lol not so negative :p

Timeline was

Silentbob999 did an amazing job on providing logs and test

Kufi tried to fix it and recoded a bigger part which solved that but only due of the optimizing no anr showed up anymore.

Kufi introduced for that another new bug lol. Well not that critical like the old

Due of this jubakuba found the real cause of point 1 ...... So fixed it = we have now optimized code + the real anr fix even if it causes no anr anymore but but but good code = good quality

Well and another derp from me about something unrelated to the bug itself juba showed me something new

Result:

All fixed. All nice. All optimized. Something new learned :D

Aosp is only compilable with java 6. To compile it with java 7 a lot needs to be fixed up in aosp source....honestly Google can do. To much work to do for not much benefit.

Who needs windows :p do not have it since 2 years anymore. Completely fired it after years as second os on my computer :D

@ all for self builder code is final since one hour so repo sync and go ahead.
[Nexus 5 Original Android Development] DigitalUnderground:
Yeah... But the wife and kids aren't as technology savvy. And I mean really... Its an 18" full PC tablet. Even with windows that's pretty friggin sweet
[Nexus 5 Original Android Development] Nebucatnetzer:
Yes and WIP commits can be cherry picked.

---------- Post added at 06:40 PM ---------- Previous post was at 06:39 PM ----------

Wasn't it like that for all of us?

I have to atm :(, my Arch installation is broken and I hadn't had time to fix it.

Maybe tomorrow :)
[Nexus 5 Original Android Development] meatlocker:
Weird Location/Wifi Bug

Here's a goofy one. For the past few weekly builds, I have noticed my wifi speeds have been atrocious. Researching this, I ran across some info that says to change the location settings to not use 'low power'. I couldn't find that setting in 'Location', so I turned off location entirely in settings...and now it won't turn back on, no matter what I do. The slider moves to 'on', but just slings back to 'off'.

I'm on 3.10 at the moment with the issue.
[Nexus 5 Original Android Development] nerotix:
Yeah no idea how to cherry pick stuff into a build yet, 1st time doing this so I'll be glad if it builds without errors.. then im gonna learn how to add cherry picks ^^