yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Jubakuba:
Try navigation_bar_height_landscape (dependent on if you have navbar stays on bottom checked or not)
[Nexus 5 Original Android Development] pseudoheld:
nope. in landscape my navbar is on the right hand side (as normal) but as i said in landscape it dissapears

what exactly do you want to see. inside the task there is nothing much to be seen because the chambers code is inside the autoshortcut plugin...so it just says the name of my autoshortcuts

here is my setup:

http://imgur.com/y9goiqZ

In text my autoshortcuts:

Nav W 48: NAVIGATION_BAR_WIDTH=48 (stock i think)

Nav H 48: NAVIGATION_BAR_HEIGHT=48 (stock i think)

Nav W 0: NAVIGATION_BAR_WIDTH=0

Nav H 0: NAVIGATION_BAR_HEIGHT=0

the PIE triggering works fine!

here is the xml file

https://www.dropbox.com/s/jc7rnamxva23fe2/Setting_Changed.tsk.xml

seriously guys thanks A LOT for the help. i hope at least someone else can get something out of my blind stumbling about in the chamber & tasker ^^

EDIT

Also tried using

/**
* Wether navigation bar is enabled or not
* @hide
*/
public static final String NAVIGATION_BAR_SHOW = "navigation_bar_show";

this should be easier with no need to resize each time. but somehow it doesn't toggle (i checked under options-navigation-navigationbar)

EDIT2

now pie isnt turning off...lol

am i being stupid here?

pie_controls=1 (is on)

pie_controls=0 (should be off) right?

it turns on but then doesn't turn off...wtf?! my triggers are working (i check it with tasker displaying a popup each time an action runs)

...this is driving me nuts :D
[Nexus 5 Original Android Development] Marescallus:
I've noticed that if I charge my phone when it's off, the battery percentage that shows up while it's charging is different than the percentage of when it's on. Is this normal behavior?
[Nexus 5 Original Android Development] bobby_sucker:
But the old camera is still there?? I guess the new Google camera will not be implemented into future builds and there will be still a necessity to install it manually?
[Nexus 5 Original Android Development] Phazmos:
Since it can be had from play store, why include it? Especially when slim has it's own camera.
[Nexus 5 Original Android Development] AndrasLOHF:
What would the Chamber of Secrets string be to enable/disable pie and enable/disable nav bar? I've tried a couple combinations but can't seem to figure it out.
[Nexus 5 Original Android Development] Garrykd:
So, i finished my build setup the other day, tried to build and it failed (derp on my part)

Tried again last night and, after 10+ hours I got the following error:

.....
Install: /home/garry/android/out/target/product/hammerhead/system/priv-app/SystemUI.apk
target Dex: Email
target Dex: Exchange2
collect2: error: ld terminated with signal 9 [Killed]
make: *** [/home/garry/android/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1
make: *** Waiting for unfinished jobs....

I looked up the error and it seems to be related to memory? On the last build I did "make -j3 bacon", should I try again with just "-j2" ? Or is there anything else I can do? Is it because I've only got 2 gig of ram?

:(
[Nexus 5 Original Android Development] pseudoheld:
im going down the same road mate.

but it aint working for me aswell :(

the code should be

/**
* Whether pie controls are enabled
* @hide
*/
public static final String PIE_CONTROLS = "pie_controls";

/**
* Wether navigation bar is enabled or not
* @hide
*/
public static final String NAVIGATION_BAR_SHOW = "navigation_bar_show";

maybe it works for you. would be good to know because then i have a problem at my end ;)

i for one can just enable PIE but not disable it.

same seems to go for the navbar. just enable no disable...
[Nexus 5 Original Android Development] danarama:
j2 uses 2 cores. Nothing to do with RAM. Yes, probably is your lack of RAM. 2 GB is not enough. Create yourself a swap partition or swap file. 8 GB.

https://help.ubuntu.com/community/SwapFaq
[Nexus 5 Original Android Development] Garrykd:
I've got a 4 gig swap.....changing it to 8 . We'll see how it goes in another 10+ hours

....somehow I see a new laptop in my future :silly:
[Nexus 5 Original Android Development] danarama:
What swappiness value have you set?
[Nexus 5 Original Android Development] Garrykd:
It's at 60..... shall I set it to 10?
[Nexus 5 Original Android Development] danarama:
I was going to suggest being more aggressive. Maybe 80+ and yeah go 8 GB.
[Nexus 5 Original Android Development] aoaleman:
I think it was not stated the Google Camera would replace Slim Camera but the user could run both.
[Nexus 5 Original Android Development] Garrykd:
Ahh, I see. OK, I'll do that and try again. Thanks ;)
[Nexus 5 Original Android Development] danarama:
Let me know how you get on.
[Nexus 5 Original Android Development] Silentbob999:
Really like that, help me figure out what to do for my Shake2Secure tile, so it can enable/disable shake2lock and also set timer and still reflect change made from outside..

A simple tile that set only lock_shake_secure_timer.

lock_shake_secure_timer = 1 for always secure

lock_shake_secure_timer = 60000 for Shake 1 minutes

lock_shake_secure_timer = 600000 for Shake 10 minutes

lock_shake_secure_timer = 1200000 for Shake 30 minutes

Tasker :

When Receiving lock_shake_secure_timer , if value is 1, tasker set lock_shake_temp_secure to 0

Otherwhise set lock_shake_temp_secure to 1 and save the timer receive in a var

When Receiving lock_shake_temp_secure = 0, set timer to 1,

When Receiving lock_shake_temp_secure =1, set timer to the last saved var

SlimShortcut.prj.xml.txt (remove the .txt, import as project in tasker.)

need more work for when the var is not populated (after reboot or whatever). But its already nice :)
[Nexus 5 Original Android Development] pseudoheld:
nice to see what other people are getting up to with the possibilites of combining this rom with tasker!

dont think i need this personaly but its a cool idea and nice implementation.
[Nexus 5 Original Android Development] CaspaTheGhost:
Default width is 42 mate.

Also, do you actually have them set to those stock values when in use?

Sent from my Slim N5
[Nexus 5 Original Android Development] prairie-dad:
I agree. Both higher swappiness and a bigger swap space seen right.

p-d
[Nexus 5 Original Android Development] dankoman:
in landscape, are you "successfully" triggering pie from the bottom of the screen or the side of the screen?
[Nexus 5 Original Android Development] pseudoheld:
bottom. i have pie set to trigger from the bottom and it does this on portrait and landscape (the bottom being where the floor is not the bottom of the phone ;) )

i can activate pie but i can deactivate it. this also seems to be happening with the taskbar.

setting

pie_controls=0 should deactivate it or am i wrong?
[Nexus 5 Original Android Development] bobby_sucker:
i was writing in the sense that most users like HDR+, and the Slim camera doesn't have it)
[Nexus 5 Original Android Development] aoaleman:
Slim Camera is nice and all, the macro zoom feature is good. But I do prefer the Google Camera now. HDR+, Lens Blur, etc.
[Nexus 5 Original Android Development] dankoman:
so, your profile is actually not working at all, on portrait or landscape. in landscape mode, by default, the navbar is at the right side of the screen, so of course you'd be able to trigger pie from the bottom without seeing the navbar because there is no navbar at the bottom.

i think your problem is somewhere else...

and yes, pie_controls > 0 should turn off pie.

can you try to make this else statement an elseif, using %setting_value ~ 1:
[Nexus 5 Original Android Development] ralpheboyo:
.....this is for the slim team to decide....either way it's not a big issue to install/backup....
[Nexus 5 Original Android Development] pseudoheld:
sent PM.

but the navbar is getting disabled in landscape!
[Nexus 5 Original Android Development] DroidIt!:
For all the builders out there, just thought I'd share this http://xdaforums.com/showthread.php?t=2695242 I'm gonna install on an old laptop today and see how it goes. If anybodie's interested I can report back how it goes as most probably already have their build environments set up. Was just thinking if I setup my environment and something happens with my laptop it would be nice to not have to start from scratch with the bare os. :)

from my N5
[Nexus 5 Original Android Development] Phazmos:
fwiw - I allocate 3.5g ram in my build vm and takes 2 hrs from make (5 yr old i7, but running about 4ghz, drives are striped). Increasing swap should help, but will still be s l o w. There will be a LOT of swapping going on.

Your best bet is going at least 4g ram. Ram is cheap, it will help build times, and your os will love it too. That's a win-win situation.
[Nexus 5 Original Android Development] aoaleman:
You're right!
[Nexus 5 Original Android Development] danarama:
The older a system gets, the more expensive it costs to buy RAM for it. Sometimes buying physical RAM is not economically viable.

Where as its true, there is no substitute for physical RAM, it's not always an option

Slow is better than not building at all.
[Nexus 5 Original Android Development] .jan:
Does this ROM support the Xbox360 wired Controller?

I have coppied the files Vendor_045e_Product_0291.kl and Vendor_045e_Product_0719.kl to /system/usr/keylayout/ with chmod 644, but even after a restart the controller is not recognized.

After that I coppied the Key Character Mapping files as well to /system/usr/keychars. Then again restart with no success.

Controller just blinks with no response to buttonpress.

Thanks for your help!
[Nexus 5 Original Android Development] DiamondBond:
Probs asked 69 times every week of the day but i tried searching, :), AOSP based kernels or CM based kernels? again sorry for the useless question, ;)
[Nexus 5 Original Android Development] Phazmos:
Hmm, $50 for a couple gigs ram for my 5 yr old machine. It practically pays for itself in power savings over a few builds!

Now if you're looking for like pc-100 ram, well, you have a much bigger issue, as in you shouldn't be building on a wheel chock.

Sorry, I just had to!
[Nexus 5 Original Android Development] prairie-dad:
Saves me a lot of work, as I was thinking of trying to do an Arch-based distro with the same purpose. Thanks!

Edit: Maybe worth noting that bbqlinux is not listed in DistroWatch's database of 700-plus distributions. It appears to be pretty new...prior to a release in the middle of March (2014) it was only getting a download or two a month...the latest release has about 350 downloads.
[Nexus 5 Original Android Development] pseudoheld:
What search did you use? Searching AOSP or caf got me the answer on the first page

lol

AOSP

Even though I shouldn't even have answered ;)
[Nexus 5 Original Android Development] DiamondBond:
Im on my Nexus 5 atm which is running Slim so the xda in browser is, well.. lets just say not so robust, lol, anyways thanks bro for answering my useless question, ;)
[Nexus 5 Original Android Development] DroidIt!:
Not a problem. Just getting ready to dig in myself. Pretty nice day outside here though, so might get some stuff's done outside first, but got pretty excited when I stumbled across that. Been meaning to start building myself. I'm a tech addict in general, so I can't resist anymore. :)

---------- Post added at 12:42 PM ---------- Previous post was at 12:21 PM ----------

Oh and I had read, I think in that thread, that sombody said that it didn't even show up under a google search. That's why I offered to let other's know how it went. Figured most here already had build environment's, etc. set up, so I could let any interested know how it runs, how stability is etc. so you guys would know if it's ok for future use. :)
[Nexus 5 Original Android Development] likonvampire:
First time happened on slimkat latest weekly , while listening to music the music won't pause if a call is incoming . Phone is in vibrate mode and viper audio mod is installed . any ideas guys ?
[Nexus 5 Original Android Development] DigitalUnderground:
Tapatalk dude

Yes it really is that easy
[Nexus 5 Original Android Development] mendozaram:
WOW... Thanx bro... Done ;)
[Nexus 5 Original Android Development] DiamondBond:
Yeah i have tapatalk, its messed up, long explanation short, wifi i was on was public, messed up alot of things, only browser worked, ;)
[Nexus 5 Original Android Development] endomatic:
Audio Problems

I know I have seen a post recently about audio stuttering to the point of not be playable, but I can't seem to find it. The reason I mention this is I experienced this today with clean flash of 4.6 and I was using google play music. Every song would stutter, skip and distort with channels fading in and out etc. I noticed a less irritating version of this on one of last weeks unofficial builds that was posted which had minor skipping etc.

I just flashed the kernel [MENTION=1277872]dankoman[/MENTION] posted in post #11449 (kufi_take_2) and everything seems fine now. No skipping, no distortion.

Anyone else experiencing this?
[Nexus 5 Original Android Development] pseudoheld:
Incase anyone is interested here is how i ended up getting my taskbar to auto hide and pie to auto enable once i switch to expanded desktop.

thanks [MENTION=1277872]dankoman[/MENTION] and [MENTION=3087740]Jubakuba[/MENTION] for helping me out with this!

Im just going to assume you have opened the chamber of secrets and have tasker/llama running and autoshortcut installed..

Add Tasker Profile:

Received Intent > Action: com.android.systemui.CHAMBER_FIRED > Fire Task "Setting Changed"

In Task "Setting Changed":

Add "If" %setting_key matches expanded_desktop_state

Add "if" %setting_value matches 0 (this acts as soon as you enable or disable the expanded_desktop mode)

- Autoshortcut "navigation_bar_show" set to "1" (this turns on the nav bar)

- Tasker Action "Wait 2 Seconds" (I needed this because whithout it I couldn't disable the navbar or slimpie due to a safety feature built into the rom, so that you dont end up without ANY navbar)

- Autoshortcut "pie_controls" set to "0" (this turns of pie)

else

- Autoshortcut "pie_controls" set to "1" (this has to come first because without pie enabled you cant disable navbar)

- Tasker Action "Wait 2 Seconds"

- Autoshortcut "navigation_bar_show" set to "1" (this turns off the nav bar)

end if

end if

Picture of the task:

http://imgur.com/HT5zNsb

Here is the tasker xml to import: (I would advise to set it up on your own though because you will probably learn a thing or two ;) )

https://www.dropbox.com/s/t0syhm5lkzbxs2i/Setting_Changed.tsk.xml

hope this helps some people!

i know [MENTION=5052420]AndrasLOHF[/MENTION] was trying to get this working aswell.

looking forward to finding more uses for the chamber :D
[Nexus 5 Original Android Development] Silentbob999:
Since you need 64bit I doubt he had pc-100 :P

Envoyé de mon Nexus 5 en utilisant Tapatalk

---------- Post added at 03:24 PM ---------- Previous post was at 03:02 PM ----------

EDIT. ok understand, you need a tile that look specifically at a setting for the intent to be sent.

Any plans for a work around in the future?

... Edit end...

Enabling / disabling shake 2 Secure from settings do not send lock_shake_temp_secure

on com.android.systemui.CHAMBER_FIRED

Actually flashing %setting_key = %setting_value show that there is not that much setting in the ui that trigger it atm...

Or maybe it's something I need to do on my side. At the moment I receive intent for the shake timer and settings changed from chamber shortcut only.

[MENTION=3087740]Jubakuba[/MENTION]

Do you plan to add this to more settings in the future or for "security" reason it need to stay as it is now?

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] Circaflex:
glad im not the only one thought someone was wrong on my phone, unroot went completely stock and it worked flash slim again no data thought it was bad dl downloaded again still same. lol glad im not crazy. im sure next build will be fine
[Nexus 5 Original Android Development] Jubakuba:
It needs to be on an advanced custom toggle for tasker to resolve the setting.

If you don't want to set up a custom toggle for it, System Settings for Tasker can do the same thing.
[Nexus 5 Original Android Development] akarol:
I tried searching this thread for the answer, but couldn't find the required module.

Anyways, is there an easy way to disable the volume buttons switching when screen is rotated? It seems counter-intuitive to have this enabled by default. I searched everywhere for the settings for this to no avail.

Thanks in advance...
[Nexus 5 Original Android Development] danarama:
No.
[Nexus 5 Original Android Development] akarol:
Well, that's ****ty. =/
[Nexus 5 Original Android Development] DigitalUnderground:
http://xdaforums.com/showthread.php?p=51139454

Please refrain from disrespecting our developers and please search before posting questions. I searched "volume rocker" and this post came up. So no... You didn't search to no avail

If you don't like it... Feel free to use another ROM
[Nexus 5 Original Android Development] danarama:
Not really. It makes sense like this. In all software, volume up is always up or right . It makes sense that hardware buttons follow the same rule.

It takes time to re-adjust because previously you've been conditioned to mentally work out which key is volume up and press it. This mod means you have to undo that conditioning but once it's undone it makes more sense.

It's just a case of unlearning the mental workaround we all had to put in place to work out where volume up was. Then it's just a case of up or right
[Nexus 5 Original Android Development] dankoman:
well that's a rude thing to say :p

anyway, there's a workaround. xposed mod available, assuming you're on dalvik runtime:

http://xdaforums.com/xposed/modules/mod-swap-volume-keys-default-orientation-t2475013

---------- Post added at 04:15 PM ---------- Previous post was at 04:11 PM ----------
[Nexus 5 Original Android Development] akarol:
Just realized it is always RIGHT no matter what landscape mode you're on. That's neat. I would still rather it be left alone though. We use our phones vertically most of the times and the top volume button during that time increases volume. Just leave it alone, you know?!

You are a scholar and a gentleman! :) Thanks!
[Nexus 5 Original Android Development] dankoman:
i'm hardly a gentleman...

and a scholar? if you thought that was scholarly, you should take a lesson from my signature. seriously, the search feature on xda is amazing!
[Nexus 5 Original Android Development] akarol:
I went as far as searching this thread. Searching XDA is not an option. NEVER! :P
[Nexus 5 Original Android Development] james11417:
Meh, I actually like that feature, but it doesn't work for apps like Netflix and WWE Network. So the volume button is inconsistent for me.
[Nexus 5 Original Android Development] dankoman:
you apparently didn't do either, because if you searched this thread for "volume rocker" as [MENTION=4880617]DigitalUnderground[/MENTION] pointed out above, you would have been presented with a page of results all talking about this exact topic.

edit: even if you only searched for the word "volume," you still would have gotten your answer about twenty times over if you weeded through the search results.
[Nexus 5 Original Android Development] DigitalUnderground:
If you searched this thread u would have found the answer I linked you too 7 posts down. That was from searching THIS thread for "volume rocker."

Let's go ahead and drop it now.
[Nexus 5 Original Android Development] danarama:
They do. There are only 2 ways to hold it in landscape... Unless you're including looking at the back of the phone.

Portrait, earpiece up. Volume up is on the rocker pointing up.

Portrait, earpiece down. Volume up is on the rocker pointing up.

Landscape, earpiece right. Volume up is on the rocker pointing right

Landscape, earpiece left. Volume up is on the rocker pointing right

Up and right. Up and right. Just like every piece of software on every other device that doesn't have hard mapped buttons.

Not really relearn. Technically unlearn. We use up and right on every other device. We originally had to relearn on phones because it was hard mapped to specific buttons before we had touchscreens. Then we had soft volume controls to match everything else, which was up and right.

If you can't afford to fix your car, so you have to continually rev it to 6000 rpm, you learn to drive like that. Ever other car can idle much lower. fixing the car doesn't make it wrong. You just need to learn to drive properly

Some do, some don't. Videos are 16:9 or ocaissionally 4:3 which tends to lend itself to landscape mode. You shouldn't have to look at your device, look at the volume rocker, associate its position to the earpiece to determine which key is volume up.... You do this all in your head silently. Instead it's Just up or right.

You speak as if this is wrong. What you're failing to realise is with phones its always been wrong and now it's right, youre not used to it.

No need to be like that.
[Nexus 5 Original Android Development] akarol:
See, that's there the problem lies. Just because people didn't search for the correct terminology to grant the necessary results, doesn't mean they didn't search. I actually did search and I found some reference to a module, which you pointed out. However, finding this module from that result was the issue.

Regardless, if everyone searched for answers and nobody ever posted repeated questions and answers, XDA would be a fraction of the size and much much poorer. You know, it's all business. Clickity-click-click!

Just look at all the activity and page impressions that XDA received with my question and the process of all you guys answering and criticizing. We're contributing to XDA much more than someone who would have searched and left.
[Nexus 5 Original Android Development] veedubrocks:


I have a VW... As well it does it in my car.

Sent from my Nexus 5
[Nexus 5 Original Android Development] dankoman:
try this: http://xdaforums.com/showpost.php?p=52128106&postcount=12176

---------- Post added at 04:47 PM ---------- Previous post was at 04:42 PM ----------

you got what you wanted, didn't you? take your own advice and "Just leave it alone, you know?!"
[Nexus 5 Original Android Development] danarama:
Okay now :)

What's next?
[Nexus 5 Original Android Development] DigitalUnderground:
4.8....... Then Stable 5 [emoji48]
[Nexus 5 Original Android Development] letmedanz:
I just got Slim'd ;)

very happy about it
[Nexus 5 Original Android Development] danarama:
Awww. 3 row pie?

;)
[Nexus 5 Original Android Development] Silentbob999:
Ah I forgot about that app, it is in my wish list.

I will probably need it because as right now my tasker profile is to control 1 tile that control 2 settings (shake2secure disable, shake2secure enable & xx timer). For the profile to work I have to create a second tile that only do enable/disable the shake.

If I understand the app correctly it really does replace the extra tile, I just have to set the settings to monitor and change the intent I listening too in my profile.

It's crazy the control you get with this and the chamber.

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] ecnahc:
Defaults issue

Running latest stable, clean install.

I notice that frequently I get asked to pick defaults for things like phone or maps or youtube links. Even after selecting always. Any ideas?

Additionally, about half the time I get an expanded desktop notification, I get that blue tip saying 'Swipe to dismiss'. It seems like when I dismiss it, the setting that should get flagged not to pop that up again gets unflagged.
[Nexus 5 Original Android Development] dankoman:
yup, plus it's got a built-in settings.db explorer so you can see all the current values w/o a SQL viewer...
[Nexus 5 Original Android Development] Clark Joseph Kent:
Sir, Understood and Noted.....now lets move on. Thanks.