heredago's blog

February 18, 2014


Filed under: Uncategorized — heredago @ 20:21

January 12, 2014

Bluetooth adapter to 3.5mm car aux input /// Tasker android app

Filed under: Uncategorized — heredago @ 18:05


It wasn’t as straightforward as I had hoped!

I had to create four profiles

  1. Bluetooth connected (select bluetooth device in car) ->: task in car
  2. Bluetooth NOT connected (select bluetooth device in car) -> task: left car
  3. Power connected -> task: Plugged in
  4. Power NOT connected -> task: Plugged out


In car

  1. Set variable %CAR to TRUE
  2. Display rotation set ON
  3. Keygoard set off
  4. If %PWR = TRUE use Secure Settings plug in to wake device

Left Car

  1. Set %CAR to FALSE
  2. Set Keyguard ON

Plugged In

  1. Set %PWR to TRUE
  2. If %CAR = TRUE use Secure Settings plug in to wake device

Plugged Out

  1. Set %PWR to FALSE




Not gonna lie mine sounds quite good as well. I don’t really notice a difference from using the aux. (htc one). as for the buttons. I keep this loaded up which lets me switch play pause etc simply by waving my hand.




if anyone is looking to get bluetooth setup like his they might also look at this. which is what i purchased and absolutely love.

petard if you use your phone for music you might love this tasker script i use. i use google music to automatically launch and stop my music once it connects into my bluetooth set

heres the code.

Profile -> Set Variable -> %MTRACK

Task -> Flash -> %MTRACK

Profile -> Bluetooth Connected -> GT BT-Receiver (name of my receiver)

Task -> Load App -> App Play Music

Wait -> 6 seconds

Media Control -> Pause

Media Control -> Toggle Pause

google now bluetooth car adapter android nexus 4 blog

Filed under: Uncategorized — Tags: , , — heredago @ 15:49


Yes you can. It’s not too difficult. First launch Google Now, scroll to the bottom and hit the menu button (three dots), Settings, Voice, check the ‘Bluetooth headset’ box. Download a free app called ‘Bluetooth Launch’ from the Play Store. Launch it and it will load a list of all your apps. Go to the Google Search one, expand it, and choose When you press and hold the button on the Kinivo BTC450 you’ll hear a beep after two seconds or so. Your phone will then prompt for you to choose which app to launch. Select Bluetooth Launch and set it as your default. It should now launch a Google Now search box and start listening. You can execute voice commands from here. After the initial setup it’ll just launch the action by default. It works for me even when the screen is off. Just remember to speak loudly and towards your bluetooth adapter because it’ll be listening from that as opposed to your phone’s microphone. The little circle around the microphone will turn red when it actually hears what you’re saying vs grey when it doesn’t.
I initially had a problem with this messing up media that was playing. This was because I originally didn’t check off the ‘Bluetooth Headset’ box in Google Now’s settings.
I hope this helps!
Keep in mind. Single pressing the button is pause/play. Long-pressing the button will trigger that button command.

I’ve noticed on my Nexus 5 that occasionally the microphone on the Google Search bar on the home screen will become hollow instead of solid white. I know that this is normal during media playback so that it doesn’t recognize stuff from songs you’re playing. If I have music playing, long-press that button on this adapter, the music will pause, and then Google Search can hear me and function normally. On some rare occasions the microphone icon will stay hollow despite music not playing. I’m not really sure what causes this but restarting the phone fixes it.

September 17, 2013

how to connect to a VPN server on a TomatoUSB router and then only tunnel the traffic to specific hosts

Filed under: Uncategorized — Tags: , , , , , , , , , — heredago @ 20:48

1- setup openvpn connection on the router


2- ImageImageImageImage




2- only tunnel specific hosts route through openvpn client on tomato

I finally did it 🙂

I’m using v1.28.9054 MIPSR2-beta K26 USB vpn3.6, but should work on others, as it’s networking.

OpenVPN wants to setup all your routing, you’ve got to stop that…

In VPN Tunneling/Client/Basic: Uncheck “Create NAT on Tunnel”

In VPN Tunneling/Client/Advanced: Uncheck “Redirect Internet Traffic”

Custom Configuration, add the line: route-nopull


In Administration/Scripts/Firewall, make sure you have:

iptables -I FORWARD -i br0 -o tun11 -j ACCEPT
iptables -I FORWARD -i tun11 -o br0 -j ACCEPT
iptables -I INPUT -i tun11 -j REJECT
iptables -t nat -A POSTROUTING -o tun11 -j MASQUERADE

Reboot, and viola, you got nothing…

Then, in a VPN up script (Best choice), or if you have your VPN start with WAN, put in your Administration/Scripts/WANUP

sleep 30
ip route flush table 200
ip route flush cache
ip rule add from lookup 200
ip rule add from lookup 200
VPN_GW=`ifconfig tun11 | awk '/inet addr/ {split ($2,A,":"); print A[2]}'`
ip route add table 200 default via $VPN_GW dev tun11

This probaly isn’t the “best” or “proper” way to do it, but it works. Now only and192.168.2.13 will go through the OpenVPN tunnel. All other devices, and their traffic will go local.

This was extremely important for me, as i didnt want my Transmission torrent traffic going over the VPN. Some guy like SgtPepperKSU is looking at this and probably laughing… Anyway, from one Routing noob to another…

September 3, 2013

reddit best treks trek lp lonely planet

Filed under: Uncategorized — heredago @ 16:47

more for the reddit comments

Recover deleted files (reddit)

Filed under: Uncategorized — Tags: , , , , , , , , , , , — heredago @ 16:37


Was the format the last thing that she did? It’s extremely vital not to write anything on that drive.


[–]NoSleepReader [S] 3 points 9 hours ago (4|1)

Yes. Formatting was the last thing she did.


[–]king_of_blades 15 points 9 hours ago (18|3)

Then I’d say that there’s almost 100% chance that she will be able to restore the data. That should make her panic less. That said, if it’s so important for her business I’d go to a data recovery company.

I probably would be able to help you if you know your way around a computer, but I’d really advice you get some professional help.


[–]NoSleepReader [S] 1 point 9 hours ago (5|4)

I’d say I know my way around a computer. When googling a lot of people recommend downloading programs. Are these of any use?


[–]TheBigC 13 points 7 hours ago (15|1)

I would reiterate King’s comments. Unless this is something you have done in the past, take the drive to a professional. They will charge $100 but your mother will likely get every single picture back. Then setup a proper backup and consider yourself lucky. The reason I say professional is that yes many utilities will recover deleted files, you may only have one opportunity to do it right. Do it wrong, or use a poor tool and you are done.


[–]TheBigC 3 points 1 hour ago (4|1)

I would add if you or your Mom thinks $100 is too much money, then the pictures aren’t that vital.



[–]king_of_blades 5 points 9 hours ago (5|1)

I assume that the drive is connected to a functional PC. She didn’t delete her OS? While it’s theoretically possible to fix the drive “in place”, meaning to make the deleted files appear on the drive again, I’d try to avoid modifying the drive in any way. That will let you seek professional help it you can’t restore it yourself.

Do you have another drive with enough free space to restore the files to it?


[–]NoSleepReader [S] 2 points 9 hours ago (3|1)

Yea we also own a 3TB external hard drive.

The drive is connected to a functional PC and the only thing deleted was everything on the 1TB external hard drive.

I’m very tired. It’s 2AM, I’m going to go to sleep. I will be sure to leave everything as is and follow up with you in the morning. I appreciate the help.


[–]king_of_blades 7 points 9 hours ago* (8|1)

Awesome. Download Testdisk.

If you use Windows this would probably be the best version to use.

EDIT: Didn’t notice that bit about going to sleep. It’s 2 PM where I live, so I can’t promise when I’ll be able to reply, but I’ll do it as soon as possible.


[–]princeofcash 1 point 7 hours ago (1|0)

Aside from it being free I’ve never tried TestDisk how does it compare to ontrack or to GetDataBack


[–]king_of_blades 2 points 7 hours ago (2|0)

Never used them. It’s a console application, so the learning curve may be a bit steep, but it does work. It seems to focus more on recovering lost partitions than on recovering individual files.



[–]capn_untsahts 2 points 7 hours ago (2|0)

Haven’t used those other programs but testdisk is very good at retrieving data, but it isn’t particularly user-friendly. Not super-complicated though.



[–]NoSleepReader [S] 1 point 8 hours ago (2|1)

Ok I downloaded it. Now what?


[–]king_of_blades 3 points 8 hours ago (3|0)

See my edit to my previous post. Go to sleep if you need, the whole process will take a few hours. Most of it just waiting for files to copy, but still.


[–]NoSleepReader [S] 2 points 8 hours ago (2|0)

I want to start it before I go. Do I open testdisk or photorec exe?




[–]excolatur 4 points 1 hour ago (4|0)

Before you use any of the file recovery software people are suggesting, the first thing you need to do is make a bitstream image of the drive using software like FTK Imager. And then you use the recovery software on that image.


[–]Lilday 1 point 3 minutes ago (1|0)

FTK Imager also has the function to export any files found…although I think you’d have to do them all one by one.



[–]garrettskj 4 points 8 hours ago (5|1)

As soon as you recover it…

Seriously best $60.


[–]NoSleepReader [S] 1 point 8 hours ago (1|0)

I appreciate this. I will look into this for sure!



[–]xKhanix 3 points 8 hours ago (3|0)

Be aware that if she has many pictures, songs …etc then all will be without names. Due to the way windows partitions save the names of files. (I have done a few disk recoveries in my days)



[–]fongaboo 3 points 5 hours ago (3|0)

I have had great results with R-Studio.



[–]YoshiMagick 2 points 1 hour ago (2|0)

I recommend DMDE to rewrite the file structure.

Hard Drives usually keep backups of the file structures in the last 128 sectors of the drive, and they can usually be recovered after a format.

You can use recuva as well, but DMDE would retain most of the names of the files as well as the folder structure. Recuva will probably give them all back to you unnamed and in one folder.

DMDE is a rather techie tool though. I recommend reading the manual or googling some guides.

Just keep in mind that the more unsuccessful tries you have with software the less of a chance you will get more of your files back. Also, after this is over, you might consider making a back up or two.



[–]almyz125 1 point 5 hours ago* (1|0)

I’ve tried recuva with no luck. The link above has worked for me. It’s not free though…

one of the tools in the link above is specifically for lost or corrupted photos. ^

There is also some open source tools for linux.



[–]unabletofindmyself 1 point 19 minutes ago (1|0)

I’ve used Restorer Ultimate (and other older versions of it) many times over the past 6-7 years to recover multiple TB of data across many drives and my even a crashed RAID-5 array, granted it didn’t restore everything, but it got about 85%.



[–]jstarlee 1 point 1 minute ago (1|0)

Please drill the concept of backing up data into her head for everyone‘s sake.

Good luck.

June 2, 2013

This 7-Minute, Research-Based Workout Exercises Your Whole Body

Filed under: Uncategorized — heredago @ 21:04


Don’t have an hour or even twenty minutes to exercise each day? You might not need it. This routine of 12 exercises is a complete workout based on the latest fitness research—and it only takes 7 minutes.

As with other short, but highly efficient exercises, this routine is based on interval training, where you’re combining intense activity with brief recovery periods. We’ve seen interval training touted before as the most efficient type of exercise. You could do it with cycling, but this workout is an alternative guide and you can do it basically anywhere with almost no equipment.

The routine was posted in the May-June issue of the American College of Sports Medicine’s Health & Fitness Journal and highlighted by The New York Times. In this program:

The exercises should be performed in rapid succession, allowing 30 seconds for each [with a 10-second rest between exercises], while, throughout, the intensity hovers at about an 8 on a discomfort scale of 1 to 10, [director of exercise physiology at the Human Performance Institute] Mr. Jordan says. Those seven minutes should be, in a word, unpleasant. The upside is, after seven minutes, you’re done.

As you can see from the chart at the top of this post, all you need is your own body weight and a chair to get “maximum results with minimal investment.” However, this was designed for people with pretty sedentary lives, so if you’re starting out somewhat in shape, you should probably do this a few times in a row. Hit the link to read more.

The Scientific 7-Minute Workout | The New York Times

May 26, 2013

bbs betterbatterystats

Filed under: Uncategorized — Tags: , , , , , , — heredago @ 18:09

Process shows which apps consume the most CPU time. Most apps should never go past a minute or so for a single battery charge. (Unless you’re using them ALOT or they are 3D games)

Partial Wakelocks shows processes that keep your phone awake even if the screen is off. They are using resources in the background. If you’re playing podcasts with the screen off… They will show here as AudioOut or something similar. Background data transfer, processing, etc…

Other misc data about phone state… How long wifi was on… how long the phone’s been awake… screen on… phone talk time… etc

Kernel Wakelocks things that the kernel is doing to keep the phone awake. Dragons be here. Partial wakelocks usually lets me find the culprit apps.

Alarms this is how many times each app has woken up your phone to do something. Apps that are ranked high are waking your phone up all the time. Llama with polling sometimes hits into the thousands for me.

In the end each of these panels is just a tool to point you in the direction to look. By combining all of the data and doing some trial app uninstalls you can usually find out what’s killing your battery pretty quick.



March 4, 2013

Automatic Local Backup Software

Filed under: Uncategorized — Tags: , , , , — heredago @ 17:21


I use ‘Cobian Backup’ — lightweight and runs as a service.


Here are the options I like best:


SyncBack[1] if stuff is large and on you want it on another local HDD



Roadkil’s Unstoppable Copier – througha task is easy enough.



February 19, 2013

Android Apps for IT Professionals

Filed under: Uncategorized — Tags: , , — heredago @ 07:16

I’ve yet to see, nor find, a thread that lists useful apps for an IT professional or techs. Here’s some that have been recommended to me, and that I use personally. Add yours below and I’ll update the list. Please specify if it requires root access.

Directory Services


  • Rhybudd[3] – Viewing Zenoss alerts from your phone
  • aNag[4] – Nagios monitoring tool
  • Core Temp Monitor[5] – Monitor node temperature



  • Cam Scanner[7] – Create a PDF via a picture of a document


  • SQLTool Pro Database Editor[8] ($2.99) – Connect and manage MySQL, SQL Server, PostgreSQL, Sybase, and Oracle databases from your Android device.

External Storage

  • Nexus Media Importer[9] ($2.99) – Allows you to connect an external storage device via a USB OTG cable. Requires the device to have USB host control natively installed. [LIMITED COMPATIBILITY]

File Browsers

  • Solid Explorer[10] ($1.99) – Great file browser that can also do SMB, FTP, SFTP, and Cloud connections
  • ES File Explorer[11] – Also does FTP, SMB, and cloud connections
  • X-Plore File Manager[12] – FTP, SMB, Cloud connections, and some other functionality



Network Utility Apps

  • Wifi Analyzer[15] – Self explanatory
  • Landroid[16] – Basic networking tools such as ping, tracert, etc. from your phone
  • CIDR Calculator[17] – Subnet calculator
  • Wifi Kill[18] – Disable internet connection for a device on the same network [REQUIRES ROOT]
  • Shark Rooted[19] – Capture packets on Wifi and mobile data [REQUIRES ROOT]
  • Shark Reader[20] – Read pcap files
  • Android PCAP Capture[21] – Uses an external NIC connected via an OTG USB cord to capture network traffic
  • Fing[22] – Large package of network tools

Note Taking

  • Evernote[23] – Cloud based note taking

Password Storage

  • LastPass[24] – Password storage/auto fill. Syncs with other devices and desktops/laptops
  • KeePassDroid[25]


  • Pinout[26] – Diagrams of cable pin types

Remote Access


  • dSploit[34] -Multipurpose security tool with: Wifi cracking, port scanning, deep inspector, login cracker, kill connection, injection, vulnerability testing, and a lot more. [REQUIRES ROOT]


Sync Tools

  • FolderSync[39] – Backup selective folders with different methods



Older Posts »

Create a free website or blog at