yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy Note II] pppppp:
Bluetooth autoconnect's main feature works for my xperia pro (turn on bluetooth, connect to your selected devices in automatic)

Bluetooth autoconnect's tasker plugin is not working for me. I can use it, sort off, but it does nothing. Like, "Press the button, but there was no reply!"
[Sprint Samsung Galaxy Note II] fenixjn:
Well that is odd. I have a Pioneer unit and my phone connects to it as soon as it detects it in range. Even if I turn off BT and then power it on, the phone automatically connects to the head unit without any intervention on my part. Sounds like an issue with your stereo.
[Sprint Samsung Galaxy Note II] Psychotic-Cerebellum:
No stereo issue. On some of the touch wiz based roms bluetooth DOES NOT auto connect. On most (if not all) aosp roms bluetooth DOES auto connect. Currently on ma7 stock with root and it auto connects. When I was on whomp, jellybombed, and labrats
[Sprint Samsung Galaxy Note II] devilshady:
Bluetooth Connection

Hi Guys,

Im glad i found this thread, im wondering if anyone could help me out.

My scenario is, my bluetooth is connected to my car radio playing files. When a call comes in, i need it to disconnect from the car radio and connect to my bluetooth headset, all without turning off bluetooth ( preferable )

My possible solutions are:

1 ) By using automagic, ive managed to get alot done with this app, but this seems beyond it.

2 ) Getting automagic to start an application when a call comes in which will force bluetooth connection to a specific bluetooth device and disconnected from other devices.

Anyone got any suggestions?
[Sprint Samsung Galaxy Note II] Neflhiem:
not sure of your rom, but both TW and CM allow you to set whether each connection is Media or Phone. put your headset to phone and your car to media only. when you answer the phone the headset should take over.
[Sprint Samsung Galaxy Note II] Ash359:
Could you share how you did this? I am completely confused by the interface.

I am wanting the same setup but also for music player and Pandora

I haven't found an example to follow that even comes close.

---------- Post added at 09:54 AM ---------- Previous post was at 09:43 AM ----------

That helps,

I was going task / setting / Bluetooth

Still not sure how to set the trigger however.

[EDIT]

The first few minutes of that video answered my questions.

Sorry, I partied late last night and still kinda loopy.

Sent from my Jedi MasterX Note 2
[HTC One X] TheMacedonian:
So here is my problem,i have updated my hboot from 1.12 to 1.39 via this program JBFWTOOL21Z and i did everything as in the video tutorial on youtube. Afterwards i unlocked my bootloader , and i tried to reboot the phone and it got stuck on the htc startup screen. I feel as if it is important to mention that i had viper x rom(2.0.6) and it reboots in that rom and its just gets stuck, so can some one help me either completley erase everything(root,custom roms and get it like it came out of the factory) or apply a new custom rom but when i go to recovery i get a red triangle. Please help me and try to explain everything step by step because im a noob, and sorry for my enligsh

edit: i did a factory reset on accident and it just lost all my sd data and i have no rom..... can some one help me the phone boots directly in clockworkmod recovery.. How can i fix it please help i'm desperate
[HTC One X] Mr Hofs:
1: Download a new JB rom of your choice

2: flash a new custom recovery

3: flash the boot.img from the new JB rom

4: make a FULL wipe in the recovery

5: mount the sdcard as a mass storage device in the recovery

6: copy the rom.zip over

7: unmount the sdcard and unhook the usb cable

8: install the new rom

9: reboot
[HTC One X] TheMacedonian:
thanks for the help but..

Thanks for the help but can you explain it to me a bit more noob friendly, because i really dont understand how to make this,i actually flashed a new custom recovery but i don't know how to do the things afterwards,please instruct me step by step :( Big thanks, if you help me fix this im getting out of some really big trouble :cyclops:

p.s. where do i download a new jb rom from ? (and can it be cyanogenmod10.1?)
[HTC One X] Mr Hofs:
Flash a new recovery (cwm 5.8.4.0) put the file in the fastboot folder. Phone in the bootloader.....

Fastboot flash recovery recovery.img

Fastboot erase cache

Flash the boot.img

Fastboot flash boot boot.img

Fastboot erase cache

Enter the recovery and make a full wipe then install the rom
[HTC One X] TheMacedonian:
Thanks

Thank you very much mate :laugh: just one more question though, why can't i accept calls on the new rom(slim bean 4.2.2 official) and i can't connect to browser and app store(im guessing this is because of the google apps package,that i didn't see that i should install)
[HTC One X] Mr Hofs:
The way to install it, install the rom.zip and then right away the gapps.zip without a reboot in between !
[HTC One X] TheMacedonian:
Can you recommend me some good custom rom(and battery friendly). I wanted the viper x rom but i don't know if its compatible with the hboot 1.39 and if it is can you give me a download link and should i just apply it like a regular rom ? Ty
[HTC One X] Mr Hofs:
The link to the thread with download in the OP

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

Download the full 3.4.0 rom

Copy the rom.zip on the sdcard of the phone. Open the rom.zip and copy out the boot.img into the fastboot folder on the pc

Phone in the bootloader and flash it

Fastboot erase cache

Fastboot flash boot boot.img

Fastboot erase cache

UNHOOK THE USB CABLE

enter the recovery and perform a full wipe, then install the viper rom. After that there is an official viper ota to 3.4.1

:thumbup:
[HTC One X] TheMacedonian:
viper x update

And how do i update my rom without loosing the data ? because you mentioned a full wipe..
[HTC One X] athulele:
Backup data in recovery. You should have backed it up before updating the hboot.
[HTC One X] TheMacedonian:
dude..

i meant the data on the phone, not the rom itself, i meant the apps and the music and the pictures and all of the settings
[HTC One X] Mr Hofs:
Try titanium backup or carbon ! Works fine for alot of people :thumbup:
[HTC One X] TheMacedonian:
help about lockscreen

can you tell me how do i make my lockscreen unlock just with swiping on the three buttons on the screen. I got the AOSP lockscreen and when i swipe my fingers along the buttons it fires my screen but the swipe basically just substitues the power button.. Can i unlock my screen just by swiping on the three buttons ?
[HTC One X] Mr Hofs:
Well there is a swipe to unlock feature in the tweaks app ! Look around for it in there....i never used, i only know it exists :D
[HTC One X] TheMacedonian:
lockscreen

actually there is but when i do the gesture it just wakes the phone like when its locked and you press the power button, but it doesn't unlock it.. There must be a way
[XPERIA X8 Q&A, Help & Troubleshooting] vuiseng:
what is undervolt the cop........it at the performance there.............it has danger for batteries :confused:
[XPERIA X8 Q&A, Help & Troubleshooting] CnC-ROCK:
learn to search instead of making such threads. you can get the answer by using google
[XPERIA X8 Q&A, Help & Troubleshooting] fotak-x:
Undervolt reduce voltage of CPU...battery will last longer but phone will be slower
[XPERIA X8 Q&A, Help & Troubleshooting] stamatis:
Also reducing temperature.:)

The main reason of undervolting is long lasting battery.;)
[XPERIA X8 Q&A, Help & Troubleshooting] cascabel:
^^^this

also, afaik undervolting does not harm your processor. although the performance will suffer a little. just based on experience.

and hai thur mr. mod. ;)

"Just because I don't doesn't mean I can't."
[Windows Mobile Software Development] Quan:
Can anyone post some code snippet to turn ON and OFF the XDA backlight?

Quan
[Asus Transformer TF700] snypa:
tweakalicous...

LOL ... great tut Zen ... ;)
[Asus Transformer TF700] iamborba:
Very nice, thanks Zen.
[Asus Transformer TF700] lucius.zen:
I accidentally stated in Step #3 that "Android saves scripts by default in the 'at' folder in your internal storage"....However, I meant to write "Android Tuner saves scripts...". Changed the OP, just wanted to make sure anyone who has read it already isnt like "WTF ZEN! Where is my damn script! Derpa a derrrr".
[Asus Transformer TF700] lucius.zen:
Breaking News.....

***************IMPORTANT UPDATE - MUST READ BREAKING NEWS*****************

DEY TUK ARRRRR JEEEERRRRRRRBSSSSS!!!!!!!

.....watching too many episodes of SP lately
[Asus Transformer TF700] _that:
Great tutorial!

The universal convention is to use a numeric prefix from 00 to 99, but in reality the name can be anything and the scripts are simply executed in alphanumeric order - digits come before "A". I recommend using two-digit prefixes as intended.

Note that the UV_mV_table has a completely different format when reading or writing the file - one reason why I hate this interface. But it's the "standard" that was established by whoever hacked the first implementation, and user mode apps expect it like this.

To repair this, boot into recovery, connect via adb shell, and do the following:

(if needed:)

mount -o remount,rw /system

chmod 0666 /system/etc/init.d/50myevilscript

This will remove "execute" permissions for the script, which will effectively disable it.
[Asus Transformer TF700] TunedFish:
Say I tested and am currently using 10 scripts, how do I create a .zip recovery file so I can flash/install the scripts at once, every time I reflash or factory reset my rom?
[Asus Transformer TF700] SynnyG:
Thanks for your awesome tuto ! But I've a question concerning the gpu governor: it's possible to set this governor with command line too ?
[Asus Transformer TF700] LetMeKnow:
[MENTION=4849931]lucius.zen[/MENTION]

It is a nice write up and great tutorial. I am enjoy reading it and keep up the good work... :good:
[Asus Transformer TF700] lucius.zen:
[MENTION=5313285]LetMeKnow[/MENTION]

Thanks a lot dude very much appreciated, makes me miss contributing to xda. I made a lot of promises and left too much work unfinished. I haven't been on for 6 months because I have been dealing with some pretty serious mental health issues. Apparently I am mildly schizophrenic with comorbid anxiety and attention issues. Been super fun times lol. Hoping to get back in the game this holiday season, would be sweet to share some tweaking/optimization ideas, I havent had much of a chance to check out your tweaks but I have heard great things.

All the best,

Lucius
[Asus Transformer TF700] LetMeKnow:
Thanks for a kind word...:) It sounds like that you need to take of yourself a little better before worrying about the contributing to xda. You do a lot for the community already and hope you will get very soon. Please let me know whenever you have time to talk about tweaks and more than happy to share what I know.

Cheers and get well,

LMK
[Asus Transformer TF700] 00shakey00:
Missing Files

Hi,

Using the guide I came up with the following script:

#!/system/bin/sh

#CPU Tweaks
echo "1350 1320 1280 1240 1200 1150 1100 1050 1000 950 900 860 820 780 750 720 700" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo "20000" > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo "1900000" > /sys/devices/system/cpu/cpufreq/interactive/max_boost
echo "1900000" > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo "85" > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo "85" > /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load
echo "40000" > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time

but I received an error for hispeed_freq and go_hispeed_load claiming "No such file or directory". When I checked the /sys/devices/system/cpu/cpufreq/interactive/ directory, the two files are missing. Are they supposed to be present on the TF700?

Thanks
[Asus Transformer TF700] lucius.zen:
Everything looks good in the script. Not sure why those parameters are missing. What kernel are you using?
[Asus Transformer TF700] graphdarnell:
Forgive the digression, I couldn't help wondering: I don't mean to slight the condition in any way, but zen couldn't tackle it so you had to go the physical route?
[Asus Transformer TF700] lucius.zen:
Sorry I am having trouble understanding what you are asking. Are you wondering if I medication is more effective than meditation?
[Asus Transformer TF700] Thibor69:
Here we go off topic already ... but just had to throw in my 2 cents. I have many conditions that have been treated for 30+ years (I am in my 50's) I had Chronic Severe OCD that was almost debilitating in my mid 20's. I also have A.D.H.D. (A.D.D) along with boughts of narcolepsy and severe panic attacks (were I end up on the floor or in the ER) anyways, I am a mess or I use to be. I did ALL the drugs Adderall (Amphetamine, Dextroamphetamine Mixed Salts) / Ritalin / Zoloft / bupropion / Xanax all at MAX DOSE. They all relieved some of the systems, but caused other issues to arise

(addiction being one

). I got into TD and Zen Yoga 10 years ago. 90% of my symptoms went away the first year, and I only take medication for my high cholesterol now. I feel great and work 10 to 13 hours a day. What this has to do with Init.d scripts .... *shrug* .... Pharmaceuticals just suck .

Now back to the Init.d scripting. Great job on the guide !! if this is not pinned it should be !!

Thank you for creating it.

Thibor69
[Asus Transformer TF700] lucius.zen:
Thanks dude! They tried to prescribe me an antipsychotic for my schizophrenia but I try to avoide pharmaceuticals. I agree that meditation, yoga/exercise work really well, as does tailoring my diet, etc. Glad things are going well for you now.

All the best,

Lucius
[Asus Transformer TF700] graphdarnell:
Actually I was asking if Zen would not suffice that you need to take medication. I don't see that drugs would do anything other than suppressing symptoms. Nothing is done about the root-cause, and that's how they get you hooked for life.

My own experience is that body is a reflection of mind and vice versa. The dichotomy is simply false. However, given the ingrained ruts one needs to obliterate, diet for the body must be watched as much as mediation must be practiced for mental well-being. You ever studied Oshawa? Much more than just a regime, the way I see it.

Sorry, I won't digress any further.
[Asus Transformer TF700] iZLeeP:
Great guide, thanks for the tutorial. One question, regarding the order of execution of scripts, does it matter if two or more scripts share the same prefix (1st 2 characters), for example 99SuperCharger and 99Supersudaemon, and 98KickAssKernelizer and 98Fly-On, 94engineflush and 94governor, and etc.? I combine scripts from different devs by editing their code to arrest any conflicts when they get executed, though, I don't change the script's name. Never had any problems, just curious on the sequencing of init.d scripts.
[Asus Transformer TF700] sbdags:
No it doesn't as they get executed alphabetically but it looks a mess and there is little room for ordering. ;)
[Asus Transformer TF700] iZLeeP:
Agree, as the scripts themselves get sorted out eventually when placed in init.d folder. I'll just leave it like that since everything works just fine. Anyway, thanks for confirming.
[Asus Transformer TF700] :
stumbling block

lucius.zen hello,

appreciate this thread, hope it isn't dead

i am in need of some sorcery

can an init.d script given top priority halt the loading of userspace apps/environment? and

some how kick my tab to a console with out stopping drivers

and/or in someway run a shell scipt that would act in a grub-ish manner

off-topic- do you know anything about FUSE?

thanks either way
[Asus Transformer TF700] lucius.zen:
delte
[Asus Transformer TF700] gvsukids:
Sorry to hear of this. For me the tablet is still sluggish so a performance boost would be nice. I doubt it could ever match the iPad, but the screen quality is great, nevertheless. I have f2fs implemented on my data partition but having simple one-click ways to boost the tablet performance and smoothness would be my plea.
[Asus Transformer TF700] lucius.zen:
Not to rain on your parade but a "one-click" way to boost performance and smoothness isn't exactly feasible. You could write a script, compile a kernel/edit existing kernels to boost performance but a "one-click" boost option doesn't really make sense - the click would have to run some script that has been proven to improve performance, it would make more sense to just run it at boot. The best way to boost performance is to learn how various elements of the system work, as in, what parameters lie between the software and hardware that modulate how the hardware responds to requests made by software/user input and then optimize the values of these parameters through tweaking and testing. That's how performance optimization works :). What ROM/Kernel are you running? I have done alot of performance optimization for the tf700 in the past to much success, back in May I could do anything Android was capable of without any lag and very rarely experienced any dropped frames, pretty much ran at a smooth 60fps all the time (never did any gaming tho), I figured things would have gotten even better by this point. The only aspects of the system I rdidn't really touch were dalvik (sdbags already had a lot of mods for the dalvik vm in his scripts) and the process scheduler because while I could read many of the values controlling parameters within the process scheduler for some reason I was unable to write any new values to these parameters. I am running CM11 on the tf701 at the moment and haven't really looked into whether I can mod these parameters but I should, dont know if it was the ROM/kernel I was using back when I was on the tf700. However, I might not be able to do it without compiling my own kernel which is definitely outside of my knowledge base. Regardless I am going to have to do some research because it has been a while since I tried to do any process scheduler tweaking and learning how the the linux CFS scheduler worked was by far the most difficult thing I have ever tried to learn with respect to technology.

Thanks for the feedback,

Lucius
[Asus Transformer TF700] wnerw:
Ohh Lucius, I am so happy to hear from you after all this time. You're right, "feels like eternity"... I'm sorry that your life didn't go as you expected, but it's still good to see you here :)

You are asking what we are lacking... That's a hard question to answer properly, but let me give a try.

You asked it here, so I'm going to answer it from tf700 perspective.

CAF kernel. I'm an One+ One user and we have great devs there that strongly incorporate CAF kernel mainline into their projects. I wish we had some CAF goodies for tf700 too...

Kernel from further releases. I know it may be too much to ask for, but our kernel is still 3.1.something. Google went for 3.14 in Lollipop release and I fear that we won't even get 3.4 for Infinity.

Well, I can't really tell what we will lack tomorrow. Android just got new release and it all depends on how Infinity will be supported in Lollipop reality. Nowadays sbdags is still doing wonderful work, but we miss some crucial stuff. I use _that kernel on CM11 CROMBi-kk, but it's still a stock kernel with different ramdisk. I hope CM will still support tf700 by porting Lollipop for it. If not, then, well... I think things won't go much further than what they are now. As I said - developing newer and better kernel releases based on CAF mainline would push Infinity development further, imho.

So, Lucius... If you're planning to stick with Transformers then ask yourself what are you best at, or what would give you satisfaction. If I were you I'd go for tweaking other devs projects as you did before. But you can try kernel development if you think it's something for you.

I wish you all the best and hope you will live the life you want to live :fingers-crossed: With some xda engagement or not, as long as you're happy.
[Asus Transformer TF700] _that:
Last time I looked, CAF was for Qualcomm devices. Not sure what we could expect from CAF on a Tegra 3.

NVidia removed Tegra 3 support from their later kernels, and a proper merge of the NVidia/ASUS kernel where we have no commit history with a later version would be a lot of work.

That's simply not true, look at the commit history. It's derived from the stock kernel, but that's the case for all TF700 kernels.
[Asus Transformer TF700] wnerw:
Ohh kay, sorry for any bull**** in my posts :( In spite of all my experience in Android from 3 years (since I bought Infinity actually) and all my skills, my ignorance according dev knowledge is still disturbing and gets me embarassed very often :o To be honest, anything I see on gtihub is some sort of elvish to me...

About CAF - I thought it was some sort of project by CM team to put newer features from original linux kernel into their source. As you can see I was terribly wrong. I got that info from some googling around, so I must missed Qualcomm part of it...

About your magnificent kernel - sorry for any mistakes. Yeah, "derived" was something I was probably thinking about. I didn't intend to say it is stock kernel, I'm not that stupid for sure :p What I meant was that your kernel is for stock-based roms and is compatible with cm11 base by ramdisk fiddling by sbdags (right? or I'm wrong again?). There is nothing wrong with that, for sure! I'm using your kernel on CROMBi-kk for a reason, and that's because it's simply the best what I can get.

About merging with later versions... I know it's a lot of work. Don't get me wrong - I'm not expecting anyone to do it! And I'm not lessening anoyone's valuable work simply bacuse it's not based on later kernel base. Still, you can't deny how good it would be to have a proper kernel source for tf700 based on 3.4 or anything newer... Treat my statement as a foolish dream, not as a noob's imagination please. I even remember someone trying to merge 3.4 (or 3.3?) source with Tegra 3. Do you remeber? It was a guy posting in Android Development section long time ago, but all in all nothing big really happened.

Again, sorry for my stupid mistakes. Thanks for correcting me, it's good to improve my knowledge from time to time ;)
[Asus Transformer TF700] gvsukids:
I'm using omni-kang where I was using cm11, both with f2fs on data; but still sluggish. I've disabled "he overlays" and "forced gpu rendering"
[Asus Transformer TF700] _that:
That's true, now I understand what you meant before. The only reason for that is because I still use (a de-bloated and slightly tweaked version of) the stock ROM on *my* TF700, and that's all I care about. :) I refuse to use a ROM where I can't reach the "back" button with my thumb. The phone SystemUI is just stupid for tablets.

Yes, I remember. I think it was almost finished, but I've never tried to compile or run it.