Delete lingering repository in xcode project

Sometimes the Xcode remove repository doesn’t work at al. Use this powerful command linked here.

cd to/dir/where/you/want/to/start
find . -type d -name '.svn' -print -exec rm -rf {} \;

 

Check your website restores carefully

This site aronnelson.com was out of space for many months. It was using a whopping 50GB on the hosting server. It never occurred to me that the restore from a previous hosting company was taking up way too much space. I am using another company now and the restore took 16GB instead of 50GB. A huge difference!

Making calls from your Mac with Yosemite/iPhone 6

I have no idea why it’s not configured to work right away, but you need to go to settings->FaceTime and set iPhone Cellular Calls to ON on the iPhone.

Also, make sure you have Bluetooth set on with both devices. You may have to pair them together as well. In Messages, make sure you have your iCloud.com account in preferences->Accounts.

Android SDK directory on Android Studio

After installing Android SDK into “Development” in the account root. You need to point the Android Studio SDK directory to it or you will not be able to create an Android AVD or use the emulator.

Android Studio->File->Project Structure->Android SDK location

 

Details… Details…. Hey Siri

OK Google != Hey Siri.

Update: Google took a huge step forward. (Do they read my blog!?) You can now do OK Google from any screen. Yes, even a locked PIN screen. It’s clunky but it works. Now, they need to get Google Now closer to Siri in terms of common things like directions and make it less specific with keywords. Siri is still much better for common language commands.

OLDER:

Most Android phones cannot do much from a PIN locked screen. A good exception is the Moto X which really can do this from a PIN locked screen and indeed can implement this feature while sleeping.

In iOS8 with the available hardware as of this date, can only do this while plugged in.

The OnePlus One is rumored to do this, but hardly anyone has one of them.

 

 

Kronos and stuck notes

If you use a Yamaha type damper/sustain pedal with the Korg Kronos and it ever goes bad, watch out. You can get stuck notes on the Kronos and there’s no way to stop the stuck sustaining notes and continue to play the keyboard. You are screwed.  Sure, you can stop the notes by pressing COMPARE or switching sounds, but you cannot play the keyboard without the notes getting stuck.

The only thing you can do is restart the machine. Wait 2 1/2 minutes minimum to restart. By then you are mad, the song is over and maybe the entire day is ruined.

There is a work-around to a restart. Load this MIDI File and have it in the sequencer for an important gig. If you ever have the problem – pull the sustain/damper pedal, press play on the sequencer and the notes will shut off. Then continue to play.

Suggestion: Buy a Korg sustain pedal.

CM11 with HTC One S and T-Mobile

Visual voicemail that works with CM11.

Fix for headphone mic not working/fading in and out.

Edit build.prop and change “persist.audio.handset.mic=digital” to “persist.audio.handset.mic=analog”

You may need to do the following to fix the constant switching between 3G/H+ and loss of data:

Edit build.prop value: (default was 1)
ro.ril.fast.dormancy.rule=0

Add this entry:
pm.sleep_mode=1

S-OFF HTC ONE S (or other variants) using Ubuntu and moonshine with Mac

Here is how to achieve S-OFF (security off) for an HTC ONE S or other HTC variant using Ubuntu.

First, create a bootable live USB version of 32 bit Ubuntu. Follow the instructions. 64 bit Ubuntu doesn’t work with  moonshine.

Once you have the live USB created – you need to find a Mac that will boot it. The only one that would boot from USB was my retina display Macbook Pro. You insert the live USB version and then restart and hold down option. Then you select the USB install and boot off of it.

Then:

Make sure you have everything set correctly on your phone.

1: Use 32 bit Ubuntu desktop (13.10) – 64 bit doesn’t work. (Ubuntu 13.10)
2: Enable wifi and join your wifi network. (Go to System settings ? Software sources ? Additional drivers and enable your wifi card)
3: Download moonshine and then extract right into the Downloads folder. IT MUST BE EXTRACTED THERE!
4: CTRL-ALT-T to bring up Terminal.

5: The missing link – CD to Downloads – you must do this! (You MUST be in the Downloads folder and have the extracted files in that folder)

5: Connect your HTC One S via USB. (If you want to be sure things work, type adb devices and information should appear in the terminal. If nothing appears you need to fix adb first).
7: type sudo ./distiller

Follow the prompts and skip all of the suffering and pain that led to this post. If you can get this live USB version to work it’s easier than Windows. No need to install drivers such as adb and fastboot etc..

 

Good Android Software

I have found the following programs to be extremely useful for an Android phone.

Waves Tuner – very simple. Very accurate. I really like this one. Only $3.

Camera ZOOM FX – Decent camera app. Has stable shot feature which is very cool. Free and Paid version.

CamScanner – very decent photo to PDF app.

Easy Battery Saver – yep, saves your battery!

Mr. Number – block calls.

Themer – Makes your phone fun looking. Great themes, and easy to use!

SOL Calendar – Very nice calendar

Root, Brick, RUU, TWRP etc…

Android learnisms

Nandroid will not always save you

TWRP will not always save you

If you can, HAVE your RUU (Rom update utility) for your phone. IT will save you – unless you have a hardware problem.

If you have an HTC – please have S-OFF before you do anything, because S-ON will not save you.

USB Debugging cannot be turned on once the phone is screwed up. (Turn USB Debugging on before doing anything)

Cautious when flashing boot.img – make sure you have a stock boot.img to go back to. I recommend for HTC devices doing S-OFF so you don’t have to flash the boot.img separately.

ABC’s of Android

What is root, s-off, unlocked boot loader?

Another web site explaining root etc…

Root and S-OFF.

Even more….

or…. pay someone to do this for you because it’s painful.

The RUU (ROM update utility ) allows you to go back to stock on your HTC device. Note that you must lock the boot loader again if it is unlocked when running the RUU. You can run any RUU that is equal to your ROM or newer.

How to run an RUU.

HTC ONE S last RUU (at bottom – download)

http://www.htc.com/us/support/htc-one-s-t-mobile/news/

Sometimes you get stuck in a boot loop (HTC logo with red text anyone?) and need to boot up again with the original boot image. Here’s how to get the boot.img for the original ROM. Get to fastboot mode over usb (HTC) and then fastboot flash boot boot.img (note: not needed if you have S-OFF)

How to extract boot.img from RUU

Apparently HBOOT is stored in the firmware.zip file with is in the RUU. So if you want to downgrade HBOOT (from 2.16 to 2.15 etc..) flash the firmware.zip with S-OFF.

Get adb and fastboot easily for OS X. (After installing you should restart and BTW quit HTC Sync Manager if it’s running).

To check a downloaded file – download  the file, then open terminal. Type md5 and then drag the file onto terminal to insert the path. Then press enter. Compare the checksum to what you see on the download page.

ADB sideload with TWRP – caught in a boot loop with HTC device (HTC screen with red text)? This link could certainly help you out.

Accidentally pressed Reset Factory Settings in Bootloader when you have custom recovery? You need to flash the stock recovery back on to the phone and then choose Reset Factory Settings again. Then you can put back TWRP or CWM by flashing the custom recovery back.

Install custom recovery TWRP – this is so that you can install ROMS or backup your system.

Here is CWM custom recovery – another very popular recovery.

superSU to grant your apps super user (i.e. root).

 Root, unlock, recovery HTC ONE S

Another thread on unlock, recovery and root.

 Possibilities with s-off.

How to extract Kernel from ROM

Build environment with OS X

Another link re: building with OS X and another