You are currently browsing the Batista R. Harahap posts tagged: Android


Rooting and Installing Custom ROM on S-ON HTC Sensation

At the moment, I’m doing some weekend project coding in Android and since a Galaxy Tab does not qualify as a phone, I switched gadget. An iPhone for an HTC Sensation with my uncle. One thing I quickly miss is iPhone’s Retina Display, however the performance of the Sensation is sensational compared to my iPhone. Was happy until the battery keeps on dying out too soon. I figured HTC Sense played a big part, so I went hunting to get a Sense-less ROM.

The HTC Sensation I have on me is already running Ice Cream Sandwich, was updated OTA. This is good news for me because from some readings here, virgin ROMs are easy to be rooted. For the sake of clarity, here are some links that you’d find most useful in doing the we’re about to do.

  • Stock ROMs to revert back to factory defaults, here.
  • HTC Sensation/XE/4G AIO Tool (Windows based), here.
  • Virtuous Inquisition ROM, here.
  • Fastboot, just Google this.

Because we’re rooting and installing Custom ROMs with S-ON, there is a limitation on what is possible and what is not. First of all, you can only use ROMs that are based on HTC firmwares meaning that you CANNOT use ROMs that are coming from AOSP, CyanogenMod or any of those sort. However, there are some tricks you can try but I’m not responsible for any wrongdoings.

Before anything else, you should root and install a custom recovery. If you’re lucky enough to have your hboot version less then 1.18 then you should go ahead and visit Revolutionary.io, follow the steps there and you even get S-OFF and therefore the limitation in the previous paragraph does not apply to you. However if you’re not that lucky, use the AIO tool from the links above and run it to root your device.

You could actually do S-OFF with the AIO tool BUT you’d have to do it my meddling with some hardware. Since this is a borrowed unit, I’m not doing it. Now that you have root and custom recovery installed, you can go ahead and install a ROM.

  1. Download an HTC based ROM like the one I put above at the links section.
  2. Copy the ROM to the root directory of your device’s SD Card.
  3. Turn off the device.
  4. Unplug the battery and replug after a few seconds.
  5. Hold down Volume Down + Power buttons until it shows a white screen.
  6. Press Volume Down to select RECOVERY.
  7. Once you’re in the Custom Recovery, choose Install from a ZIP
  8. Select the ZIP file you downloaded earlier.
  9. Confirm the ROM installation
  10. Next you must Wipe Data and Wipe Cache + Dalvik

Now for the next part, since we’re still S-ON, the ROM script to overwrite boot.img will not work, it’s still protected by the device. What you can do now is to repeat steps 3 to 5 above. In your laptop/computer, unzip the ROM’s zip file and copy the file boot.img from kernel/pyramid/boot.img to somewhere you’re comfortable.

  1. On the device, select FASTBOOT by pressing the Power Button.
  2. If your device is properly connected with your laptop, the device will say FASTBOOT USB.
  3. Open up a terminal and do fastboot flash boot /path/to/boot.img
  4. Restart the device by doing fastboot reboot

Now you have an S-ON device with a custom ROM :)

Android Ice Cream Sandwich on Galaxy Tab 7

After a long break, I thought I wanna write about Android. This time it’s Ice Cream Sandwich on a Galaxy Tab P1000. As always, for smartphone hacks, everyone should first go to XDA-Developers.com and have a look if one of your gadgets has sub-forums. There’s a specific thread for Galaxy Tab 7 First generation and ICS love is there.

This blog post is a confirmation that ICS works beautifully and incredibly fast and snappy on a Galaxy Tab P1000. It is as if you are having a multi-core Android device. Have look at [ROM][ICS] AOKP (Android Open Kang Project) for P1000/L/N here. Follow the installation routines and you’re good to go.

Here are the steps I took to get ICS working:

  1. I reflashed the Tab with a Gingerbread ROM and ClockworkMod Recovery using ODIN
  2. Downloaded Milestone #4 ROM for P1000 which is listed on the thread
  3. Downloaded Gapps from the link on the thread
  4. Downloaded a ClockworkMod flashable kernel for P1000 from the link on the thread
  5. Went into ClockworkMod Recovery (Power + Volume Down)
  6. Mounted USB Storage and copied ROM, Gapps and Kernel packages
  7. Unmounted USB Storage and flashed ROM, Kernel and Gapps last
  8. Wiped Cache, Data and Dalvik Cache
  9. Rebooted the system
  10. I got an incredibly smooth ICS working on the Galaxy Tab
  11. The ROM’s performance was the best of any ROM I tried but the kernel kept nullifying the RIL stack, I downloaded HumberOS P1000 Kernel here and the problem disappeared
  12. A HAPPY GUY

Performance throughout the whole experience immediately alleviated by the ROM, not only the slick UI/UX had a welcomed boost but the Tab’s performance itself is just amazing. I was on a rooted Stock Gingebread version previously and this update made my day!

Graphics & 3D performance are amazing, everything is GPU Accelerated so it is a very smooth experience indeed. Gmail for ICS is also very relaxing!

ICS SettingsGmail for ICS

Augmented Reality Browser in 10 minutes with Wikitude API

This blog post is a simple tutorial to demonstrate how easy it is to set up a full fledge Augmented Reality browser with Wikitude API. It will only take 10 minutes of your time in its most simplest form, ready to be customized with your own needs. It should be easy enough to let you innovate on your own.

For this to happen, I assume you already have these items ready with your setup:

  • Eclipse (Preferably Indigo)
  • Android Developer Tools for Eclipse here
  • Android SDK here
  • Wikitude SDK here

The project is live at Github: https://github.com/tistaharahap/ARBrowser

I believe codes will speak louder than words ;)

Jajan for Android Open Sourced at Github

Jajan for Android is now Open Sourced at Github a few hours ago. I personally hope that by looking at the source code provided, more and more developers will sync to the tune of how easy it is to create an Android application. I wrote most of the codes 7 August 2011 in under 4 hours. Using ready made libraries already available within Android and also other third party libraries, it helped to ease the complications.

The source code is NOT perfect, there’s a lot of places where it could be optimized aggressively even more. More of the optimization will most definitely lie within the ListView. At any case, it will load 100 search results, you can make this endless by loading an incremental of your choice.

The codes are available at https://github.com/tistaharahap/jajan/.

Excerpts from the README shown below:

JAJAN by Urbanesia
==================

Jajan is a simple app to showcase Urbanesia's API v1.0 and how you can extend for your own apps.

As of this writing, the initial commit is at sync with Jajan's binaries at Android Market which is version 1.1.1. Upcoming Jajan versions will NOT be published from the codebase here in Github, this repository is treated as an example for future third party apps by you.

Jajan is available in multiple platforms, go to , if your device is one of the supported platform, it will redirect to your device's application store or it may have you download a binary for your platform.


photo of Batista Batista R Harahap [email protected]
Jl. Bango II/29C, Pondok Labu
Cilandak , DKI Jakarta , 12450 Indonesia
62817847023

This hCard created with the hCard creator.