Sunday, March 27, 2016


Introduction

Quick notes on what I had to go through to get P8 flashed.


Why go through the hassle? Because I can't get my P8 updated OTA after its rooted (using TWRP)

Backup - Using Titanium


To backup with Titanium onto SD Card (since onboard is out of storage)



  • Install a good enough terminal software on P8 
  • mkdir /storage/<sdcard1>/Android/data/com.keramidas.TitaniumBackup/
    (source: http://forum.xda-developers.com/showpost.php?p=51303259&postcount=9)
  • Configure Titanium to the new location. It will have the permission to write onto that directory 
  • Backup! (I'll ignore facebook app and spotify since you can always download the latest) 

Backup - With TWRP


  1. Boot into TWRP 
  2. Configure to use SD card 
  3. Backup using TWRP 
  4. Setup the working machine (Windows 10)

Download and Install

  1. Java SDK 
  2. Android SDK 
  3. Huawei Update Extractor

    (http://forum.xda-developers.com/showthread.php?s=8e7acd698984aac2207ac117c2b07dea&t=2433454)
  4. Download the update.zip from the phone(Location: should be your sdcard0/Hw<XXX>) I couldn't remember what XXX was. 

Thursday, December 3, 2015

Getting Mac to do Android Flashing

Introduction

Quick notes for myself to follow to setup Android (adk) on my Mac. Specifically enough to get adb going to root devices etc.

Pre-requsite

  1. Java JDK installed on mac
  2. Download adk 

Steps

  1. Expand the adk package
  2. open tools/android sdk
  3. Select Android SDK Platform-tools, and install the package
  4. Let it install, and then it should be installed in the platform-tools/ directory
DONE

Monday, October 19, 2015

Getting ruby going on Mac - El Captian

These my mental notes for setting up my Mac to do some ruby developments

I hope you'll find it useful

First time I have to setup my mac again in a long time. I decided instead of upgrading to the next OSX version I will install the OS from fresh.

The installation went on without incidents but there was a few hick ups:

1. Remote sharing doesn't work out of the box. You have to turn on sharing from System Preference

So now I have a fresh box, I have to do the following:

1. Install my favourite browser (Chrome and Firefox)
2. Install plugins
3. Install Sublime Text 2 editor
4. Install Xcode, and run the following commands:


Configuring the machines

1. Turn on hidden files:


defaults write com.apple.Finder AppleShowAllFiles YES

2. Turn on command line tools for Xcode:

sudo xcode-select --install
sudo xcodebuild -license 
-- To accept the xcode license

3. Sometimes I might do later:

install rvm

Sunday, April 6, 2014

Rundeck via Chef via Vagrant

This is more notes for myself more than anything else. If you find it useful or other ways to do it you are welcome to leave comments.


20 Apr - I've done some extensive changes to this piece. This should work now.

The background

So the other day we were trying to configure all these rundeck ACL stuff, and trying to really get it to work. So when I got home I thought lets run a Rundeck lab on a VM to try out what we can and can't do.
Whilst downloading the latest ubuntu, to spin off a VM image I got thinking, why am I still doing this the old fashion way?
Old fashion way ...


  1. Download OS image
  2. Run it on a VM
  3. Download Rundeck, Tomcat, Java, etc..
  4. Install it, and try to get it to work.

The NEW way - Vagrant up!

1. Dependancy Vagrant and VirtualBox is installed
2. Get the latest chef-rundeck from github


https://github.com/priestjim/chef-rundeck

3. Download dependancies:

vagrant plugin install vagrant-berkshelf --plugin-version 2.0.0.rc3

** note I had a problem installing 2.0.0 with the dependancy issue with celluloid-io, so we rollback to 2.0.0.rc3. Check https://github.com/berkshelf/vagrant-berkshelf/issues/177 to make sure the issue is resolved.


vagrant plugin install vagrant-vbguest

4. vagrant up! - To download the image. If you are like me and don't have NBN (Australia's National Broadband Network) then it might take a while.


5. I had to setup the local machine to have to setup 172.16.6.2 rundeck on /etc/hosts

6. Web browser points to http://rundeck:4440/

DONE


Reference: 
Download latest VM box. Pick one here:
https://vagrantcloud.com/discover/featured