Nexus Q LED and Cyanogen - Nexus Q Q&A, Help & Troubleshooting

Is there any way to control the LEDs with Cyanogen installed?

AstroPuls3 said:
Is there any way to control the LEDs with Cyanogen installed?
Click to expand...
Click to collapse
i noticed that too. Seems to be missing a service that qremote uses.

I would just at least like it to pulse different colors, or at the very least I would like to have control over which color the ring is..I wonder if anything is in the works

AstroPuls3 said:
I would just at least like it to pulse different colors, or at the very least I would like to have control over which color the ring is..I wonder if anything is in the works
Click to expand...
Click to collapse
i know anthony was talking about leaving them pink when he was developing cm10 for the q. might search or ask him. there are (or were) some commands that could be issued to change the colors.

I'd also like to be able to just turn them off. I'm pretty sure LightFlow is able to control the LEDs as normal because I noticed the other day my ring was white from a notification.
I think setting it to 255 255 255 might do the trick if we can figure out a way to set a persistent value.
Sent from my Nexus 4 using Tapatalk 2

Malnilion said:
I'd also like to be able to just turn them off. I'm pretty sure LightFlow is able to control the LEDs as normal because I noticed the other day my ring was white from a notification.
I think setting it to 255 255 255 might do the trick if we can figure out a way to set a persistent value.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
So I tried Lightflow, and it disabled the Q from adjusting the volume with the sphere, and it didn't change any colors. I have to find something..

LEDs
Actually, looking at the CM 10.1 source for steelhead - there's some pretty easy to understand code in there for the LEDs - and even a clue about the LEDs - try doing a setprop on 'persist.sys.ringcolor' - set the value to the _integer_ value of the RGB you want (default is 14428 - aka 0x00385C - pale blue in RRGGBB) - and reboot. I'm going to start work on something a bit more interesting - maybe even an audiotap that will let you know the audio on the LEDs (like the Q did) - or set them with a visual tool (child's play).
---------- Post added at 11:07 PM ---------- Previous post was at 10:51 PM ----------
BitVenom said:
Actually, looking at the CM 10.1 source for steelhead - there's some pretty easy to understand code in there for the LEDs - and even a clue about the LEDs - try doing a setprop on 'persist.sys.ringcolor' - set the value to the _integer_ value of the RGB you want (default is 14428 - aka 0x00385C - pale blue in RRGGBB) - and reboot. I'm going to start work on something a bit more interesting - maybe even an audiotap that will let you know the audio on the LEDs (like the Q did) - or set them with a visual tool (child's play).
Click to expand...
Click to collapse
Actually - I just did the tests - and indeed, you can just live set that prop and it will change. I wish the author had thought to support 0xRRGGBB format (dude, check the string for 0x!) - but it's a start. All kinds of fun projects will come from this...

BitVenom said:
Actually, looking at the CM 10.1 source for steelhead - there's some pretty easy to understand code in there for the LEDs - and even a clue about the LEDs - try doing a setprop on 'persist.sys.ringcolor' - set the value to the _integer_ value of the RGB you want (default is 14428 - aka 0x00385C - pale blue in RRGGBB) - and reboot. I'm going to start work on something a bit more interesting - maybe even an audiotap that will let you know the audio on the LEDs (like the Q did) - or set them with a visual tool (child's play).
---------- Post added at 11:07 PM ---------- Previous post was at 10:51 PM ----------
Actually - I just did the tests - and indeed, you can just live set that prop and it will change. I wish the author had thought to support 0xRRGGBB format (dude, check the string for 0x!) - but it's a start. All kinds of fun projects will come from this...
Click to expand...
Click to collapse
I have no idea how to do that, is there a link that can help me, or a tutorial? lol Sorry, not that skilled with code yet.

AstroPuls3 said:
I have no idea how to do that, is there a link that can help me, or a tutorial? lol Sorry, not that skilled with code yet.
Click to expand...
Click to collapse
If you were able to install CM10.1 - you shouldn't have any issue with that...
Just in a terminal prompt - much like installing CM10.1 - with adb:
adb shell
su
setprop persist.sys.ringcolor 14428 (DEFAULT color!)
setprop persist.sys.ringcolor 8288 (0x2040 - so in RGB - that's blue with a bit of green)
Experiment with the values you set to get the right color for you. I'll be working on an app for this soon enough...

Thank you!
If anyone wants to turn the LEDs off:
setprop persist.sys.ringcolor 0
I think I'm going to make a Tasker toggle on my phone to connect to my Q via network ADB and change the color.
Sent from my Nexus 4 using Tapatalk 2

I am glad I am not the only one who sort of wanted to do something with the LEDs. I get you can customize it and flash, but are there any apps that allow you to change it on the fly? Are any apps Q enabled such that they can manipulate the LED ring? I was hoping Play Music would at least have a visualization that might do it.
I love the added functionality of CM (google pretty much killed what little was there out of the box by now) but I kind of feel the ring might as well not even be there as it doesn't do anything anymore.
Ben

I use Lightflow to control the LED.
Sent from my Nexus Q using XDA Premium 4 mobile app

Does that app mimic the original functionality of the visualization of the LEDs while music is playing?
Sent from my DROID RAZR using xda app-developers app

BitVenom said:
Actually, looking at the CM 10.1 source for steelhead - there's some pretty easy to understand code in there for the LEDs - and even a clue about the LEDs - try doing a setprop on 'persist.sys.ringcolor' - set the value to the _integer_ value of the RGB you want (default is 14428 - aka 0x00385C - pale blue in RRGGBB) - and reboot. I'm going to start work on something a bit more interesting - maybe even an audiotap that will let you know the audio on the LEDs (like the Q did) - or set them with a visual tool (child's play).
---------- Post added at 11:07 PM ---------- Previous post was at 10:51 PM ----------
Actually - I just did the tests - and indeed, you can just live set that prop and it will change. I wish the author had thought to support 0xRRGGBB format (dude, check the string for 0x!) - but it's a start. All kinds of fun projects will come from this...
Click to expand...
Click to collapse
is there anything to set other than ring color? maybe the individual ring leds or the mute button?

animal24 said:
is there anything to set other than ring color? maybe the individual ring leds or the mute button?
Click to expand...
Click to collapse
So... About that. There is a binary called "avrlights" that exists in standard CM10+ that allows for settings LEDs, but it's far from perfect. Seeing the flaws with this, I've rewritten avrlights (source file lightsctl.c) to allow for the setting of each LED in the ring along with the mute LED. For now, this is just a program you run from a shell.
My end goal is to basically have the original LED functionality of the Q restored. To this end, I'm working on some other handy bits. If you're interested in trying it out, you can pull the changes from my Github and build yourself. I'll throw up a link to a few build zips some time.

mcsaucy said:
So... About that. There is a binary called "avrlights" that exists in standard CM10+ that allows for settings LEDs, but it's far from perfect. Seeing the flaws with this, I've rewritten avrlights (source file lightsctl.c) to allow for the setting of each LED in the ring along with the mute LED. For now, this is just a program you run from a shell.
My end goal is to basically have the original LED functionality of the Q restored. To this end, I'm working on some other handy bits. If you're interested in trying it out, you can pull the changes from my Github and build yourself. I'll throw up a link to a few build zips some time.
Click to expand...
Click to collapse
Ah, so just avr lights from a prompt or adb shell? Is there an avrlights help in shell?
Also, throw up a link, I want to buy you a beer for even trying.

animal24 said:
Ah, so just avr lights from a prompt or adb shell? Is there an avrlights help in shell?
Also, throw up a link, I want to buy you a beer for even trying.
Click to expand...
Click to collapse
There is no help functionality, unfortunately. I think I'll add that in today. I'll put up a link once I can actually post them.
EDIT:: just added a usage message complete with examples
EDIT #2:: and now that I can post links, you can find my current build at http://daedalus.csh.rit.edu (uptime not really guaranteed). The most up-to-date version is in "untested" and includes the help documentation.
EDIT #4:: I've started marking the most up-to-date version current for the sake of convenience. Play with avrlights and hsv2rgb if you're feeling it.

mcsaucy said:
There is no help functionality, unfortunately. I think I'll add that in today. I'll put up a link once I can actually post them.
EDIT:: just added a usage message complete with examples
EDIT #2:: and now that I can post links, you can find my current build at http://daedalus.csh.rit.edu (uptime not really guaranteed). The most up-to-date version is in "untested" and includes the help documentation.
Click to expand...
Click to collapse
10.2?

animal24 said:
10.2?
Click to expand...
Click to collapse
Yup. I plan to take a stab at CM11 next.

mcsaucy said:
There is no help functionality, unfortunately. I think I'll add that in today. I'll put up a link once I can actually post them.
EDIT:: just added a usage message complete with examples
EDIT #2:: and now that I can post links, you can find my current build at http://daedalus.csh.rit.edu (uptime not really guaranteed). The most up-to-date version is in "untested" and includes the help documentation.
Click to expand...
Click to collapse
Thanks for this, I am having way too much fun! Hope this can get merged in the CM source tree.
Heres a nice bouncing rainbow script for anyone who wants to mess around.
http://pastebin.com/nd0Bpnus

Related

[Widget]blue neon clock done, batt. meter help needed - public dev

PUBLIC DEV
============
dont call me a windows fanboy, but I really wanted this windows widget on my phone. I have the same clock on my wall. Something to work with any clock app... I like alarmclock Xtreme.
EDIT: original .pngs attached
EDIT 2 : V1 of neon clock posted (thanks to Kaik541)
EDIT 3 : V2 attached "alarmclock xtreme with modded clock" and "deskclockgoogle" versions (below) post 11 for details
EDIT 4 : V3 (final??) attached. stand alone 1x1 clock. MicroNeonClockWidget (below) post 12 for details.
**TO DO: *****HELP NEEDED
- find artist/programmer to change neon "ring" into battery meter...
- add second hand.
View attachment 533210
EDIT: added original .png images. shouldnt be hard from here..
Unfortunately, the source images are pretty tiny (130 px by 130 px) and upscaling them creates an obnoxiously blurry image so I have included here a widget that will work (though looks a bit tiny). Push the apk to /system/app (it may work in /data/app, didn't test though) and add the widget like any other
note: the above image was created with a DPI setting of 200 instead of the standard DPI of 240, may look a bit different on your screen. also, the widget in this apk does not use a seconds hand, that's why there isn't one shown.
thanks man actually that will work perfect see screenshot of where i put it...
but i think you forgot to attach the file, thank you again
Trusselo said:
thanks man actually that will work perfect see screenshot of where i put it...
but i think you forgot to attach the file, thank you again
Click to expand...
Click to collapse
then this may not actually be all that helpful to you. I plugged it into the deskclockgoogle.apk which makes it take a 2x2 square even if the actual image isn't that big and I'm unsure of how to change it
either way, thank you.
Trusselo said:
either way, thank you.
Click to expand...
Click to collapse
no problem, just hit me that you could, of course, be using a launcher that supports resizing widgets dynamically (launcherpro plus/adw) and it wouldn't matter, so good luck with it, hope it fits your needs.
actually using launcherpro plus i was able to re-size the widget and it didnt scale the image, so i have 1x1 perfect.
EDIT: gotta love timing...
is there any way to Untie it to alarm? so i can use it with alarmclockextreme?
Trusselo said:
actually using launcherpro plus i was able to re-size the widget and it didnt scale the image, so i have 1x1 perfect.
EDIT: gotta love timing...
is there any way to Untie it to alarm? so i can use it with alarmclockextreme?
Click to expand...
Click to collapse
hmm, to be honest I have no experience with modifying market apps. I know that standard taking apart and putting back together doesn't work because it breaks the key signing. there are probably some guides on how to resign the application properly, but for now it is beyond my grasp, sorry =/
Kaik541 said:
hmm, to be honest I have no experience with modifying market apps. I know that standard taking apart and putting back together doesn't work because it breaks the key signing. there are probably some guides on how to resign the application properly, but for now it is beyond my grasp, sorry =/
Click to expand...
Click to collapse
we're all learning, thats what we're here for.
thanks again
here is a version of the free alarm clock xtreme available on the market with the above neon clock as the analog clock. remove any version installed from the market before attempting to install this and then install like any normal apk.
ok, I think I finally have something that could suit anyone's needs. Here is a widget that is permanently 1x1 (which can be scaled up with a launcher that resizes, but it looks best at this size given the resolution of the PNG's anyway, so it'd be kind of pointless). This is a modded version of this app:
http://www.appbrain.com/app/micro-clock-widget-1x1/factory.widgets.Micro available for free on the market. I have changed the name so they can be installed side by side in case you wanted multiple clocks. Unfortunately, clicking it doesn't open anything, so it's just a standalone 1x1 widget analog clock. Install like any other standard apk.
edit: wow I spent too much time on this, but now I know how to edit market apps yay learning experiences.
a few hours in a single night is fast for learning, it would have taken me at least 2 or 3 days to get there. i dont even have the sdk installed.
your work is really appreciated.
just thought of a great final feature, but it is out of the scope for me and Kaik541,
need to find an artist/programmer to convert the neon ring into a battery meter.
bump... due to |OP| update...

			
				
Wow...very nice Kaik. Great work.
sent using a phone.
very nice Kaik. a keeper.

franco.kernel ksatta changes pre-release

I will release my changes to the franco.kernel in this thread before franco includes them in his kernel for the upcoming releases. So this is a "pre-release" thread for franco.kernel, for the changes I'm making.
v2 (included in [16 SEP] franco.Kernel)
- Speakerphone echo fixed. Works with normal calls, not with Skype (or other voip apps probably). Skype still works like before, echo with speakerphone mode.
The fix can be disabled with
Code:
echo 0 > /sys/module/snd_soc_msm7kv2/parameters/speakerphone_echo_fix
You can post in this thread how it works. It always uses speaker_mono_tx instead of speaker dual mic broadside dev.
- Removed some logging from msm7x30.c (left there by Huawei. They must have a logging fetish or something )
mod_v1 (Included in [11 SEP] franco.Kernel)
- "Use phone's mic with headset"-feature is now user configurable.
By default uses phone's mic with headset/headphones/line-out. So if you want that, no configuration is needed.
To use headset's mic create a file called "10headsetswitch" in "/system/etc/init.d/" and paste the following to it:
"echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch"
Future plans
- Fix speakerphone echo in Skype. Investigate the volume problems (max. volume is too high, etc..).
Flashing instructions
- Boot to recovery
- install from zip
- choose francokernel_X_ksatta_vX.zip.
Notes for devs
The latest franco.kernel has logcat disabled by default, to enable it put this in .config:
Code:
CONFIG_ANDROID_LOGGER=y
To enable kernel debug messages (can be seen with dmesg):
Code:
git checkout 0c1adc36ed u8800-kernel/kernel/printk.c
NOTE: disable logging again before releasing anything, probably slows down the phone quite a bit when logging is on.
Credits
ksatta - use phone's mic with headset
stockwell - user config for headset mic setting
franciscofranco - the franco.kernel
Thanks
wmi543
genokolar
And everyone else if I forgot to mention someone.
Files
franco.kernel-sep11+ksatta_v2.zip - Zip file to flash phone.
franco.kernel-sep11+ksatta_v2-src.zip - V2 source for devs. msm7x30.c file is from u8800-kernel/sound/soc/msm. Also includes compiling instructions.
To make it set to using the phone mic at boot, save the following script into /system/etc/init.d/. Call it whatever you like just with a two digit number at the start (ie. 10headsetswitch)
Code:
echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch
As mentioned this is already configurable in Miui using x5 settings so you don't need to worry about making the script yourself but the voice quality might not be very good (will be fixed for the next version) unless you use the kernel attached from ksatta.
Please could explain how to install this kernel? Because I read the file that you have attache and in the end I finish like in the begginign without knowing how to do it.
Is only need to do by the recovery with the zip file ans what about the secund zip file the smaller one?
Sorry but Ian sure that I am not the only o w that is asking this.
Sent from my u8800 using XDA App
vlc_marcos said:
Please could explain how to install this kernel? Because I read the file that you have attache and in the end I finish like in the begginign without knowing how to do it.
Is only need to do by the recovery with the zip file ans what about the secund zip file the smaller one?
Sorry but Ian sure that I am not the only o w that is asking this.
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
Yeah I was a bit unclear, sorry. To flash boot to recovery, install from zip and choose my zip.
edit: Updated first post, flashing instructions
ksatta said:
Yeah I was a bit unclear, sorry. To flash boot to recovery, install from zip and choose my zip.
Click to expand...
Click to collapse
Ok thanks. And for what is the small zip file?
So I will use in this last miui without any problems correct.
Will I get battery problems?
Sent from my u8800 using XDA App
vlc_marcos said:
Ok thanks. And for what is the small zip file?
So I will use in this last miui without any problems correct.
Will I get battery problems?
Sent from my u8800 using XDA App
Click to expand...
Click to collapse
Sigh man, I'm growing tired of your questions everywhere in every thread you can find. This is just my kernel compiled with a different file to make this "Use phone's mic with headset"-feature is now user configurable." avaliable.
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Sorry for the smallish OT ksatta, it ****s me reading stupid questions everywhere.
Very nice job like I told you before
franciscofranco said:
Sigh man, I'm growing tired of your questions everywhere in every thread you can find. This is just my kernel compiled with a different file to make this "Use phone's mic with headset"-feature is now user configurable." avaliable.
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Sorry for the smallish OT ksatta, it ****s me reading stupid questions everywhere.
Very nice job like I told you before
Click to expand...
Click to collapse
First of all Ian not from your family so stupidity is not in my genes. Secund if you are tired go to sleep.
I didn't ask to you, so you don't need to react like this. Don't be a small kid.
When I don't know I ask.
So Franco don't give me your ****y opinions when I don't ask for then.
Thanks
Sent from my u8800 using XDA App
franciscofranco said:
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Click to expand...
Click to collapse
I think it's a fair question, I was wondering why my phone wasn't making me coffee
vlc_marcos said:
Ok thanks. And for what is the small zip file?
So I will use in this last miui without any problems correct.
Will I get battery problems?
Click to expand...
Click to collapse
You can already do this in Miui, have been able to for a while. Flashing this version should make the voice quality better though.
Yeah, like franco said, the v1 is just user-configurability for the headset mic thing.
For anyone else wondering, I will report any changes I make in the first post. So the zips here won't have any other changes compared to franco.kernel, except the ones I report in the first post.
vlc_marcos said:
Ok thanks. And for what is the small zip file?
Click to expand...
Click to collapse
I updated the first post to be less confusing. the smaller file is only the source file, only needed by devs.
franciscofranco said:
Sigh man, I'm growing tired of your questions everywhere in every thread you can find. This is just my kernel compiled with a different file to make this "Use phone's mic with headset"-feature is now user configurable." avaliable.
No it won't take coffees for you, no it won't explode your device, no it won't turn it into an airplane and fly in circles above your head, and no it won't make you rich beyond imagining.
Sorry for the smallish OT ksatta, it ****s me reading stupid questions everywhere.
Very nice job like I told you before
Click to expand...
Click to collapse
Mate, you seriously need to get a grip and settle down. Maybe lay off the espresso a bit. I know you are doing good things with your kernel and everyone appreciates that and is grateful. However, almost every post you make is aggressive and condescending. Ok so you have it all figured out, that's great. But the majority of us are just struggling and muddling along enjoying Android and trying to learn and contribute as we go. When you attack and belittle most posters it just make you look like a wanker.
May I suggest: if you don't wish to assist then simply don't respond. Someone else will or maybe no one will in which case the post will recede into the past and the poster will look elsewhere.
Maybe you, or anybody here can write me pm with very short info how to compile kernel [what parrameters should pass to it] and make zip package to be installable to phone? Once i tried to compile but image was 2x times bigger than original realese so i was afraid to test it
GolfCranK said:
Mate, you seriously need to get a grip and settle down. Maybe lay off the espresso a bit....
Click to expand...
Click to collapse
it's PASSION man! Who wants to read nice post i want to read **** words man!
Tommixoft said:
Maybe you, or anybody here can write me pm with very short info how to compile kernel [what parrameters should pass to it] and make zip package to be installable to phone? Once i tried to compile but image was 2x times bigger than original realese so i was afraid to test it
Click to expand...
Click to collapse
Maybe you were looking at the uncompressed Image file? zImage is the correct file. But anyway the -src.zip contains compiling instructions, I created them today with a fresh install of Ubuntu 11.04. If you test my instructions and have any problems, inform me and I'll update the instructions.
Before you edited you asked about what v1 does, there's a whole lot of text in the first post, but yes, it only makes the headset mic switch user-configurable Future releases might have more changes
Actually my version uses phone's mic by default. I made it default because franco.kernel has been using phone's mic by default. So, to avoid confusion:
If you want to use headset's mic use "echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch" in the script.
If you want to use phone's mic, don't do anything
edit: This applies to the v1 kernel in this thread, miui uses headset's mic by default. Reason above.
Man, this kernel fixed the only issue I had with Oxygen, and call quality is even great! Now I won't change ROMS ever in the next months (unless Huawei releases official Gingerbread). I'm not gay but this is true, I LOVE YOU!!!!
ksatta said:
Maybe you were looking at the uncompressed Image file? zImage is the correct file. But anyway the -src.zip contains compiling instructions, I created them today with a fresh install of Ubuntu 11.04. If you test my instructions and have any problems, inform me and I'll update the instructions.
Before you edited you asked about what v1 does, there's a whole lot of text in the first post, but yes, it only makes the headset mic switch user-configurable Future releases might have more changes
Click to expand...
Click to collapse
MAN! Thanks! finally someone wrote how to properly compile. THANKS!! You're awesome
ksatta said:
Actually my version uses phone's mic by default. I made it default because franco.kernel has been using phone's mic by default. So, to avoid confusion:
If you want to use headset's mic use "echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch" in the script.
If you want to use phone's mic, don't do anything
edit: This applies to the v1 kernel in this thread, miui uses headset's mic by default. Reason above.
Click to expand...
Click to collapse
lol sorry I edited it now.
My theory about the speakerphone echo is that the audiolibs in 2.3 roms use the wrong routing. They're probably now using the same microphone dev. id. as normal mode, when they should be using the "speakerphone mic" dev.id.
I wasn't able to confirm this yet, didn't get my debug messages out of the kernel yet Normal logcat works, but the kernel debug messages don't show up in it. Also I couldn't find a syslog file.
But I'll continue another day.
Ksatta i see you good with freaking linux stuff and sound So can you make that recording audio and video - audio quality to be good not some arm ****?
I found that codec is here arch/arm/mach-msm/qdsp5v2/audio_amrnb.c How to make that system uses different codec or this but with better sample rate ant bit rate, i can change this in file but i can't find the specification of this codec so maybe it's not supporting 44.1Khz sample rate or even 16Khz.
Thanks ksatta for this ! Was exactly what needed. Btw instead of setting that init script couldn't just change the value from 1 to 0 or it is restored after every reboot?

Aurora Performance Tips/Tricks/Tweaks

In this thread we should share our own little tweaks to this amazing ROM.
I'll add to this first post any stuff that is proven to increase speed or makes using the ROM easier or more enjoyable
Note, this isn't intended to include mods and addons, as there is already a great thread for that
IMPORTANT:
Always backup stuff! And reboot after teaking!
Please note that, the ones I've found more useful, I add a USEFUL tag in front of them
____________________________________
BUILD.PROP tweaks
With root explorer or any other method of your liking, go to /system/ and edit the file build.prop.
- To increase max fps limit possible, add:
Code:
windowsmgr.max_events_per_sec=150
I'm not sure this one is really useful, I think android already sets this already to around 1.5x screen refresh rate. The gains could be negligible.
- Disable error checking, add:
Code:
ro.kernel.android.checkjni=0
- USEFUL Stop debugging icon from appearing in status bar (doesn't disable adb), add:
Code:
persist.adb.notify=0
- USEFUL Force home launcher into memory, add:
Code:
ro.HOME_APP_ADJ=1
_______________________________________________
OTHER TWEAKS AND TRICKS
- VERY, Extremely, Mega-USEFUL - Go to:
Code:
/system/lib/elg
Open egl.cfg and delete the 1st line (0 0 android), reboot the phone.
Everything should be much smoother, I notice this especially opening folders with a lot of icons in Apex Launcher. I think this disables the default android software rendering method and uses only GPU. Don't ask me if this is different than setting composition mode to gpu in build.prop, I don't know, I just know everything is much faster
USEFUL - Only works with Aurora 2.07+ and synaptics screen - Tweak your screen duplicate filter, like in x5settings for .32 kernels.
Go to:
sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity
Open the file "sensitivity" and tweak the value. Default is 4. Higher values reduce screen flickering/jitter but screen can become less sensitive, lower values, the contrary. Personally I use 8, works very good for my fingers, adjust you value accordingly. Note, this takes effect immediately, but doesn't stick after a reboot. To make it stick after a reboot, go to "/system/etc/", open one of the scripts, I recommend "ini.qcom.post_boot.sh", and add this at the end:
Code:
echo 8 > sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity
where 8 is the value you want. Save, reboot and check is the value is there, in the "sensitivity" file.
- USEFUL - Great tips on how to save battery without turning everything off (bonus, doesn't use BS calibration myth):
http://www.androidcentral.com/keeping-your-charge-how-improve-battery-life-your-android-phone
Works AMAZINGLY thank you
Edit1: Also may i ask what CPU settings do you use? any overclocks/governor?
Edit2: I got that funny text glitch just before, i decided to wipe cache and dalvik and i haven't had it again yet. Ill get a screen shot if it happens again but im pretty sure you know what i mean, all the text for apps look like squiggly lines/really odd ive seen this happen normally in previous versions of aurora but oh well ill come back with more info if anything else happens thanks again!
thank you mate. Two quick questions. If i disable kernel debugging will this affect logcat? And what cpu composition does?
Cheers
Sent from my U8800 using xda premium
spirosbond said:
thank you mate. Two quick questions. If i disable kernel debugging will this affect logcat? And what cpu composition does?
Cheers
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Regarding the logcat, yes, probably disables that functionality, I've read in other sites, it just disables checking for errors, thus performance improvements. When I have time, I'll check if logcat is still there... the composition thing I think it tells the OS to always use GPU no matter what, I see a great improvement with that one, don't know if anything is affected, but so far, everything is great
EDIT: these tweaks were from here:
http://forum.xda-developers.com/showthread.php?t=1578065
Sent from my U8800
Here are some more:
http://www.freeyourandroid.com/guide/build-prop-modifications
If you try some, please post results, to add to first post.
spirosbond said:
thank you mate. Two quick questions. If i disable kernel debugging will this affect logcat? And what cpu composition does?
Cheers
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Logcat still works
Added synaptics TS setting like there was in X5settings app (Touchscreen Filter).
fjsferreira said:
Added synaptics TS setting like there was in X5settings app (Touchscreen Filter).
Click to expand...
Click to collapse
hi there, i have changed it right now to value 10 and its the same, its trembling...
i have kernel v3 from Dzo 2.0.5 rom.
and have restart the phone too
r1c4rd0 said:
hi there, i have changed it right now to value 10 and its the same, its trembling...
i have kernel v3 from Dzo 2.0.5 rom.
and have restart the phone too
Click to expand...
Click to collapse
Yes, I think so, maybe it was just placebo... also, it doesn't stick after a reboot, the ROM would need init.d startup script support and a script to change the value everytime... try change it to 40 or something, and report, it it still trembles, I'll remove from the first post...
fjsferreira said:
Yes, I think so, maybe it was just placebo... also, it doesn't stick after a reboot, the ROM would need init.d startup script support and a script to change the value everytime... try change it to 40 or something, and report, it it still trembles, I'll remove from the first post...
Click to expand...
Click to collapse
will try it right now
edit: changed the value and no diference... then i restart and no diference too...
I think it doesn't work... I've changed it to 1 and notice no difference... I'll remove that thing from front post and post here if anyone wants to study it...
- Something to try, it seems not to work... - Improve synaptics screen sensitivity!
Do you miss x5Settings setting about touchscreen filter? I've been studying x5settings source code and found out what file needs to be changed to achieve the same result in Aurora. Go to:
- sys/module/synaptics_i2c_rmi_1564/parameters/
Edit the file "sensitivity" and set a value appropriate for you. I've set it to 8 and touchscreen seems better now. Maximum value I think is 64, and that works great too. I think this isn't placebo Pinch to zoom in pics doesn't "tremble" when holding the fingers on the screen as it did before, here.
EDIT: it doesn't stick after a reboot! And values change by itself, don't know why, maybe it doesn't even work... Try it for your self
fjsferreira said:
- Something to try, it seems not to work... - Improve synaptics screen sensitivity!
Do you miss x5Settings setting about touchscreen filter? I've been studying x5settings source code and found out what file needs to be changed to achieve the same result in Aurora. Go to:
- sys/module/synaptics_i2c_rmi_1564/parameters/
Edit the file "sensitivity" and set a value appropriate for you. I've set it to 8 and touchscreen seems better now. Maximum value I think is 64, and that works great too. I think this isn't placebo Pinch to zoom in pics doesn't "tremble" when holding the fingers on the screen as it did before, here.
EDIT: it doesn't stick after a reboot! And values change by itself, don't know why, maybe it doesn't even work... Try it for your self
Click to expand...
Click to collapse
hey fjsferreira if you want stick after a reboot, you must to paste this command "echo 8 > /sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity" (without the quotes) into 1 of the files in /etc/init.d
number 8 is choise by us... but make 8 for this example
r1c4rd0 said:
hey fjsferreira if you want stick after a reboot, you must to paste this command "echo 8 > /sys/module/synaptics_i2c_rmi_1564/parameters/sensitivity" (without the quotes) into 1 of the files in /etc/init.d
number 8 is choise by us... but make 8 for this example
Click to expand...
Click to collapse
The problem is, there isn't an /etc/init.d :S maybe it can be added to one of the scripts in /etc/
fjsferreira said:
The problem is, there isn't an /etc/init.d :S maybe it can be added to one of the scripts in /etc/
Click to expand...
Click to collapse
yes it can...
r1c4rd0 said:
yes it can...
Click to expand...
Click to collapse
Yes, it did, thank you... now I'm waiting to see if dzo responds in Aurora thread confirming this is working. I have a sense it works somehow, damn placebo is powerful!
fjsferreira said:
Yes, it did, thank you... now I'm waiting to see if dzo responds in Aurora thread confirming this is working. I have a sense it works somehow, damn placebo is powerful!
Click to expand...
Click to collapse
yes it works, but i think its related to his new v3.0 kernel...
in .35 kernel, if i´m not worng, we can change that value.
i think placebo dont work with me lol
fjsferreira said:
Yes, it did, thank you... now I'm waiting to see if dzo responds in Aurora thread confirming this is working. I have a sense it works somehow, damn placebo is powerful!
Click to expand...
Click to collapse
I tried 8 and 10 but the flickering didn't reduce. Thanks for the tip though. I hope you get it working...
Question:
What is the difference between the mod:" get rid of cpu composition" and setting the line
debug.composition.type=gpu
at build.prop?
By making the above change doolde jump graphics where improved
Cheers
You have ro.HOME_APP_ADJ=0 to force the launcher into the memory, but wouldn't the right value be 1?
FlashTH said:
You have ro.HOME_APP_ADJ=0 to force the launcher into the memory, but wouldn't the right value be 1?
Click to expand...
Click to collapse
Correct. I've fixed it, thank you!
Sent from my U8800
i dont know if you notice, but wen the phone is charging touchscreen feels more jumpy...
can anyone confirm this?
maybe this will interest dzo in the ics port? in this site there are the amtel and synaptics drivers:
port ics input drivers
drivers from HTC Legend touch the same as desire:
drivers synaptics from htc
thanks

[Q] LED device control path

Hey guys, I want to use Tasker to make some LED fades and stuff, but unfortunately the default "LED" controller won't accept variables from a FOR loop.
SO, I decided to "run a script" (command), which was going to be something like "echo 225 > /etc/devices/virtual/sec/led/led_r"
As it turns out, I was reading a tutorial for the Galaxy 4 or something and, as my luck would have it, no such similar directory exists on my Nexus 4.
Can anyone point me to the file I'm looking for to set the brightness of the RGB LED? (or of course another way to script it in Tasker )
[Nexus 4, 4.2.2 stock -> rooted]
Thanks in advance!
browner87 said:
Hey guys, I want to use Tasker to make some LED fades and stuff, but unfortunately the default "LED" controller won't accept variables from a FOR loop.
SO, I decided to "run a script" (command), which was going to be something like "echo 225 > /etc/devices/virtual/sec/led/led_r"
As it turns out, I was reading a tutorial for the Galaxy 4 or something and, as my luck would have it, no such similar directory exists on my Nexus 4.
Can anyone point me to the file I'm looking for to set the brightness of the RGB LED? (or of course another way to script it in Tasker )
[Nexus 4, 4.2.2 stock -> rooted]
Thanks in advance!
Click to expand...
Click to collapse
Welcome to xda. To make your stay here less painful, post in the correct section!
Hopefully someone else can answer your question, because I cannot.
Edit: Oh, you aren't completely new, just first time posting.
waffleman911 said:
Welcome to xda. To make your stay here less painful, post in the correct section!
Hopefully someone else can answer your question, because I cannot.
Edit: Oh, you aren't completely new, just first time posting.
Click to expand...
Click to collapse
Thanks, sorry. I figured I couldn't go too wrong posting in a "general" forum
And yes, apparently I'm not new. I went to register the other day to post this question, and it said my username was taken, so I tried it with my (ex) typical password and voila!
Well after an entire night of setting up a development VM with the Android SDK etc and building an app to set the LED color (which would respond to Tasker scripts), I loaded the code onto my device.
However since I didn't have a launcher icon (it was supposed to be more of a GUIless command line interface kinda thing), I couldn't find it on my phone's file system to run it. Derp.
As I was searching for it I came across /sys/class/leds/(blue|green|red)/brightness. Echoing a 0-255 to this file adjusts my LEDs. A lot of work to find those files!
Cheers all

Joying Intel Head Unit Android 6 Update

Android 6 update is available below...
PLEASE NOTE: This is a one way street, no downgrading to android 5.
https://www.carjoying.com/Joying-blog/59.html
Jeep and TL123 (toyota) model are the only ones which use the low resolution ROM
Considering this was released today please be careful what risk you are taking.
I will be doing some tests and will report if I find any issue.. please send your bug reports to carjoying so they can be fixed.
Also we need an INTEL subcategory in the forum under Android Auto
--- updates---
Passwords:
3368 for settings
8086 launchers
5768 menu backlight
Root and debug on
https://forum.xda-developers.com/showpost.php?p=72057022&postcount=12
- method 2 still work for root and SU
Google voice response works without hacking.
audio_policy.conf now supports usb dacs without modification
TomTom GO works without risky bootloader mod.
Viper4Android installs correctly
-with removal of deep buffer section in /system/etc/audio_policy.conf as per https://forum.xda-developers.com/showpost.php?p=72060811&postcount=35
- https://forum.xda-developers.com/showpost.php?p=72064749&postcount=41
The pull down white text color issue is fixed with play music and other apps
New Recovery
If you need to RE-FLASH the 6.0 firmware, you MUST rename 5009_20.zip to 5009_60.zip , otherwise the firmware will throw an error! yay! I just tested it and it WORKS!
Enable wireless adb https://forum.xda-developers.com/showpost.php?p=71616884&postcount=273
Enable split screen settings in debugging mode then you can split the screens from the task manager (post #84 & #103)
updated "no-kill" https://forum.xda-developers.com/showpost.php?p=72102580&postcount=87
task killer removed and will call the google voice search from the 'SRC' button https://forum.xda-developers.com/showpost.php?p=72153510&postcount=159
ADB enable easier way post #160: in the downloaded ROM zip,
"config.txt" inside the root firmware directory , just add "service.adb.tcp.port=5555" to the last line.
Spotify notifications work
google from any screen by velvet apk post #206 https://forum.xda-developers.com/showpost.php?p=72179874&postcount=206
the CPU works a lot nicer, spending a lot of time at lower freqs when power is not needed
.when you get out of sleep the selected apps are no longer in split screen
you can't read the PMIC temperature anymore
when you set the DPI to 240 the upper bar gets huge and the apps still don't scale well
the bar gets white on Deezer, annoying at night,ugly looking (bug) picture attached
the iGO/Waze bug that makes the unit sleep after 5 minutes (instead of the normal 1 minute) from the moment the engine is off is still present. drawing .01-.05amp for that 5min.
MAY 8 2017 UPDATE
BUG Fixes , Bluetooth Issues solved and working well
========
Steering wheel key customization
https://forum.xda-developers.com/an...-units/joying-2gb-steering-wheel-key-t3543390
Tips and Tricks link:
https://forum.xda-developers.com/an...roll-joying-2gb-sofia-mtcb-mtcd-tips-t3555249
tomtom go
doctorman said:
Android 6 update is available below...
PLEASE NOTE: This is a one way street, no downgrading to android 5.
https://www.carjoying.com/Joying-blog/59.html
Considering this was released today please be careful what risk you are taking.
I will be doing some tests and will report if I find any issue.. please send your bug reports to carjoying so they can be fixed.
Also we need an INTEL subcategory in the forum under Android Auto
Click to expand...
Click to collapse
It works tomtom go?
Again no detailed change log. Incredible.
I'd keep away until a few people have tried this.....
Beta release? Don't think I'd risk this on the head unit and end up without a working unit until they actually fix it.... "Fix some bugs" seems to be the extent of most of their change logs... hehe
someone guinea pig it
Looking forward to someone having the balls to flash this.
As a side note...why is everyone so excited about Android 6 on this unit...I don't see any features that would even make me update.
CadillacMike said:
someone guinea pig it
Click to expand...
Click to collapse
Install went very quick, it wipes all applications and data.
I have not yet been able to access via wifi / ADB, so no rooting or mods as of now
> adb connect 10.0.0.26
unable to connect to 10.0.0.26:5555: Connection refused
gustden said:
Install went very quick, it wipes all applications and data.
I have not yet been able to access via wifi / ADB, so no rooting or mods as of now
> adb connect 10.0.0.26
unable to connect to 10.0.0.26:5555: Connection refused
Click to expand...
Click to collapse
That would be simply terrible if it can't be bypassed.
CadillacMike said:
someone guinea pig it
Click to expand...
Click to collapse
doitright4 said:
Since it wiped everything, did you remember to enable usb debugging? (which really means adbd)
Click to expand...
Click to collapse
KamaL said:
That would be simply terrible if it can't be bypassed.
Click to expand...
Click to collapse
USB debugging was enabled.
It looks like they missed persist.adb.tcp.port=5555 in the properties. It can be enabled by the following:
1) download a terminal program ( Terminal Emulator for Android )
2) enter the following command: setprop persist.adb.tcp.port 5555
3) reboot
I just, installed supersu and seems to be working
doitright4 said:
That's a great point, and it is really... sad? stupid? FREAKING RETARDED!!!! that they would bother wasting time to build 6.0 so long after 7.0 (and 7.1 even!!!) are already available.
7.x of course, adds in split screen mode, which would be a GREAT benefit to car radios.
There is one thing, however, that could make the 6.0 build good, especially an early or beta build... they've had less time to destroy it than they've had to destroy 5.x. So its probably a faster, more stable, and more respectful build than what we've previously seen.
Click to expand...
Click to collapse
Yeah split screen might be useful...otherwise it just runs navigation/music/videos in cars mostly...which any version of Android can do.
mirror up for 1024x600 version:
pending
extracted files here
pending
gustden said:
USB debugging was enabled.
It looks like they missed persist.adb.tcp.port=5555 in the properties. It can be enabled by the following:
1) download a terminal program ( Terminal Emulator for Android )
2) enter the following command: setprop persist.adb.tcp.port 5555
3) reboot
I just, installed supersu and seems to be working
Click to expand...
Click to collapse
Great to hear that.
Are there any noticeable changes so far?
So how's the update?
Is it faster/slower than android 5?
Did you find some bugs?
@gustden mind checking if the apps are still the same as in 5.1.1? Especially around the server app if the kill switch is still present
bogdi1988 said:
@gustden mind checking if the apps are still the same as in 5.1.1? Especially around the server app if the kill switch is still present
Click to expand...
Click to collapse
All the apps are still the same. Not seeing much difference, other than in the settings. So far, it seems fast and stable.
Sofia-1-C9-Server-V1.0.apk looks the same ( and still kills everything on standby). Hope to have time to remove the app killer and add the other mods over the weekend.
gustden said:
All the apps are still the same. Not seeing much difference, other than in the settings. So far, it seems fast and stable.
Sofia-1-C9-Server-V1.0.apk looks the same ( and still kills everything on standby). Hope to have time to remove the app killer and add the other mods over the weekend.
Click to expand...
Click to collapse
Thanks! I'd love to see an updated Server with the standby-kill removed, the source button -> google search hack and the mute-alarms feature removed so we can have the voice output for Google searches - if possible please?
gustden said:
I just, installed supersu and seems to be working
Click to expand...
Click to collapse
Way to go man !
Thank you !
---------- Post added at 05:24 PM ---------- Previous post was at 05:22 PM ----------
bogdi1988 said:
@gustden mind checking if the apps are still the same as in 5.1.1? Especially around the server app if the kill switch is still present
Click to expand...
Click to collapse
Good point ! It would be nice to be able to use the mods from 5.0.1 ... or at least some of them....
---------- Post added at 05:26 PM ---------- Previous post was at 05:24 PM ----------
gustden said:
All the apps are still the same. Not seeing much difference, other than in the settings. So far, it seems fast and stable.
Sofia-1-C9-Server-V1.0.apk looks the same ( and still kills everything on standby). Hope to have time to remove the app killer and add the other mods over the weekend.
Click to expand...
Click to collapse
Is the notifications bar still broken ? (white text and buttions on white bar)
And the most important question, any changes regarding the Bluetooth module? Does it still cover the screen during calls without the ability to minimize?
KamaL said:
And the most important question, any changes regarding the Bluetooth module? Does it still cover the screen during calls without the ability to minimize?
Click to expand...
Click to collapse
Based on what @gustden said, it looks like all the apps are the same so I would assume that issue is still present.

Categories

Resources