Install Android 5.0 (Lollipop) on Nexus 7

Update: Lollipop is now available OTA on Nexus 7!

Why? Why not? This will remove any custom boot loader and wipe the tablet. I did this from Windows 7 – in Linux its pretty much the same but doesn’t require the Google USB driver and you can obviously extract the image using tar from the command line.

Download the Android SDK, run the Android SDK Manager and install Google USB Driver (from Extras) and Android SDK Platform-tools (from Tools). The former are installed to AppData\Local\Android\android-sdk\extras\google\usb_driver by default. If you’re unfamiliar with USB drivers Google have a guide.Google USB Driver

Your device’s boot loader needs to be unlocked then boot in to the boot loader (hold down power and volume down button when turning on).

Download the image for your device (I have a 2012 WiFi – codename “nakasi”). Uncompress the tgz file and then the resulting tar file – 7-zip will do the trick on Windows.

Add the location of the Android SDK platform tools to your path will speed up the command line part. Open a command prompt and go to the folder you extracted the image to.

Check that the device is recognised by typing fastboot devices – if there is an output then all is well. Now run flash-all.bat – this takes a while (159.617 seconds on my Samsung RV511), when it is complete it will reboot the tablet. Rebooting took around five minutes on the first boot.

Training in El Centro

Just  got home from three months working in El Centro, CA. I wanted to thank the Morales Brazilian Jiu Jitsu Academy for being so welcoming and for teaching me so much.

Me, Rob Morales and Butters 2014-05-17 10.47.15Made some good friends and thoroughly enjoyed myself. Hopefully I’ll get to come back on that exercise again soon. Looking forward to training there again but until then, I’m going to find a club in the UK and continue there.

For the next week, regrettably, I will be studying my ass off for the M269 exam!

Developing concurrent distributed systems (M362)

I’ve just started this Open University module. From the module description’s computing requirements:

If you have an Apple Mac or Linux computer – please note that you can only use it for this course by running Windows on it using Boot Camp or a similar dual-boot system.

I started with the OU in 2008 and it’s good to see things have changed – back then it wouldn’t have mentioned Linux at all.

Joking aside things are changing. Algorithms, data structures and computability (M269), which I’m taking concurrently, has Linux software available with instructions on how to install and configure. I can understand why M362 staff would want specific versions of NetBeans and the JDK installed – the forums are already filling up with questions about various incompatibilities and conflicts and that’s just with Windows.

Fortunately the University has a Dreamspark Premium membership – so I was able to download Windows XP and a license key to install in a VirtualBox instance.

Virtual Box running OU software

I hope we continue to see progress with regards to platform neutrality – I’d like to spend more time learning computer science and mathematics and less time worrying about my choice of operating system.

Samsung RV511 backlight and Fedora 20

Put Fedora 20 on my Samsung RV511 yesterday, everything worked out of the box except the backlight. Using the keys or the slider moved the animation but didn’t change the brightness – which was set to nuclear eye ball toasting mode.

Both the slider and the key combinations change the values in /sys/class/samsung/backlight. I know that the ACPI BIOS can provide interfaces but not always methods to control brightness, so I added acpi_backlight=vendor to the GRUB_CMDLINE_LINUX entry in /etc/default/grub and the back-light is working fine.

Don’t forget to grub2-mkconfig -o /boot/grub2/grub.cfg.

Problems updating Nexus 7 (grouper) to Android 4.4.2

Latest update failed (4.3 to 4.4.2 I think) – just a forever spinning Nexus logo. Overwrote the tablet with a stock Nexus 7 (nakasi) image and all is well, besides needing to reconfigure everything and put my files back on it (thankfully Moon Reader Pro syncs positions with Dropbox/Google Drive).

You need the Android SDK installed (remember to add it to your path) and to have rooted the device – both covered in an earlier post. On the device hold down the power, volume up and down keys until the rescue screen appears.

Connect with USB and open a command prompt/terminal then type:

adb reboot bootloader

Download a stock image from Google – the Nexus 7 (nakasi) is this one. Decompress it and go to that folder in the command prompt/terminal, run either flash-all.bat (Windows) or flash-all.sh (Linux) and follow the prompts.

Thoughts on Web Technologies (TT284)

TT284 Web Technologies is a level two Open University module now in its second year of presentation and compulsory on the solutions development pathway of BSc (Hons) Computing and IT (B62). From the module description:

This course will give you an insight into architectures, protocols, standards, languages, tools and techniques; an understanding of approaches to more dynamic and mobile content; and demonstrate how you can analyse requirements, plan, design, implement and test a range of web applications.

Continue reading Thoughts on Web Technologies (TT284)

Word 2013 stopped saving

Wasted a good chunk of last night and today farting around with Microsoft Office 2013 after it decided to crash every time I saved. No idea what caused it, other than that it started after I had pasted some Python code from an editor.

Control Panel, Programs, Programs and Features. Select Microsoft Office 2013 and click Change. Quick repair didn’t work but full repair did.