Thursday, June 11, 2015

How to install THEOS on your mobile device 2015

If you have been curious about developing tweaks for Jailbroken iOS devices. Weather for fun or personal challenge. You need to install THEOS on your mobile device. I'll show you how to get it up and running in no time.
You'll need to be Jailbroken (obviously). Add the following two repos:
  • http://nix.howett.net/theos
  • http://coolstar.org/publicrepo/
Now, you need to install the following dependencies and programs (I prefer to do it one by one):
You are almost there. To check if THEOS was installed correctly, fire up your mobile terminal app and enter the following:
  • $THEOS
The program should display:
  •  /var/theos: is a directory
If not, install THEOS again. Open Cydia again and check the recently installed tab. Check for missing items from our list and install them.

Now we need to install/download/ an iOS SDK. Choose a folder to download the file in. The easiest choice would be Documents.


Here's option number one:
Open up your terminal and type:
  • cd /var/mobile/Documents
Then to download the SDK file type (it's about 23MB):
  • wget http://iphone.howett.net/sdks/dl/iPhoneOS8.1.sdk.tbz2
If want to you can download the file without using a terminal app. You need to head over to:
  • http://iphone.howett.net/sdks/
Here you need to look for the newest one. At the time of this post is 8.1. And download it to your 'Documents' folderAre you having fun yet?

Now, we need to place the SDK inside the THEOS directory. Fire up your flavor of mobile terminal and follow these steps:
We need to create a folder inside the THEOS directory call sdks, type this:
  • mkdir $THEOS/sdks
We need to move the SDK file to the newly created folder inside the THEOS directory, type this:
  • mv /var/mobile/Documents/iPhoneOS8.1.sdk.tbz2 $THEOS/sdks/
Now, we need to extract the SDK files, type this:
  • tar xjvf iPhoneOS8.1.sdk.tbz2
Clean up time. We need to the delete the archive file we downloaded/moved/extracted. (unless you want to keep it. You hoarder), type this:
  • rm iPhoneOS8.1.sdk.tbz2



Here's option number two:
If you went to:
  • http://iphone.howett.net/sdks/
And downloaded the SDK file (8.1 at the time of this post). Move the file to:
  • /var/theos/
Using Filza or Ifile extract the file. (inside the theos folder) then delete:
  • iPhoneOS8.1.sdk.tbz2
There's is an issue with ARM64 devices, to fix this we need to fire up your mobile terminal. We need to create symlinks, to do that enter the following:
  •  ln -s $THEOS/makefiles/platform/Darwin-arm.mk $THEOS/makefiles/platform/Darwin-arm64.mk
  • ln -s $THEOS/makefiles/targets/Darwin-arm $THEOS/makefiles/targets/Darwin-arm64
That's it. Congratulate yourself.
Next up is how to create a tweak from a FLEX patch.

Friday, May 29, 2015

One password to rule them all or not.

A friend recently told me she uses the same password for everything. After nearly shocking to death from this horrible confession. I told this heathen she had many options. This post is for you, master of the P@55w0rd.

There are may password managers applications and software available. Here's my comparison of (what I believe are) the most popular choices.

KeePass Password Safe is a free, open source and it's OSI certified. Cross platform. There are many mobile apps. I tried these for iOS and Android. But the choice is yours.


PROS
  • Open-source. Currently there are two versions
  • Mobile apps available
  • Lots of plug-ins
  • Portable (optional)
  • Syncs with Dropbox
  • Lightweight
CONS
  • Very manual compared to others.
  • Not an official mobile app
  • Many of the apps have poor support or lack features (mainly iOS)
  • Confusing which is the better options/choices of add-ons and mobile apps

#2 LastPass
Lastpass is one of the cheapest password managers available for about $12 a year or $1 a month. They have apps for Android, IOSWindows phone and Blackberry (yes, blackberry still a thing). It also works on Linux, PC and OS.


PROS
  • Works everywhere (Syncs with multiple devices and platforms)
  • Has plugins for many browsers (Chrome, Firefox, Opera and Safari)
  • Ask to save new usernames and passwords as you log in (if not in database)
  • Backup your password on their servers
  • Passwords are encrypted locally
  • Create as many entries
CONS
  • The mobile app feels unpolished (Android and iOS)
  • Support E-mail only
  • Passwords are kept on their servers

1Password is a multi-platformfreemium proprietary software password manager. And one of the most polished options in the market. It is feature packed and user friendly.


PROS
  • Mobile app for Android and iOS with *finger print unlock. *(Feature coming soon for Android)
  • Can sync with Dropbox, WIFI, iCloud
  • Constant updates to both mobile app and computer program
  • Great costumer support
  • Many mobile apps support form-filling from within the log in menu
CONS
  • NO Windows Phone or Blackberry apps
  • Pricey, a separate license has to be purchase for mobile, OSX or Windows to unlock all features
  • If you change you Master Password it does not change on all synced devices


Conlusion
I haven't even scratch the surface when it comes to password managers, your options and their features. These are the programs I find most useful for the most users. I personally use one of the ones I mentioned here. Password manager programs are not for everyone. Some people prefer to have their log in information written down. In reality not one method is better than the other. It's more about convenience and a sense of security.

Thursday, May 28, 2015

iOS bug: CoreText. How a single line of text can turn off your device.

A user on the popular Reddit platform posted about a phenomenon that occurred, when a text message was received with a specific set of characters. As seen on the original post here:

 Um... Can someone explain this phenomenon??

But is this a new type of bug, is everyone at risk?
If you remember iOS 6 had a similar bug. A specific sequence of Arabic characters would create a fatal error on any application using WebKit engine in iOS and Mac OS.

What is this new bug?
When you receive this specific characters in iMessage, your device tries to decode the (unicode) message. Sending your device into a loop. It's using all of the available memory until it becomes overwhelmed, and then it blocks itself (in the sense that you can't do anything about it while it happens) and turns it off/rebbots. You don't even have to open the  notification center. It can happen as well in the lock screen, the device would reboot. That also includes when the device is locked.

Thomas Finch a jailbreak developer provided a crash-log, which blamed CoreText as the reason for the crash. Shortly after developer Mokhlas Hussein what posted that he had created a fix. as well as developer Karen AKA angelXwind. Some users have reported that these 'fixes' DO NOT fix the issue if you're on iOS 6.

If you're one of those users on iOS 6. There's a fix that works, thanks to developer Fillipo Bigarella. This particular iOS 6 bug is not the same as the new one. However the patch works.

Open source fixes:

GlyphPatch fix for iOS 6

AntiEffevtive fix for iOS 7-8