De-peado-ifying Japanese Google Market App

I’m not a free-marketeer but the amount of protectionism on Google Play (Market) is bewildering, not to mention the child porn as well. Every time I open the Play app and see the “Books and Reference” section I just lose hope for the future of this country.

So here’s how to get rid of child porn and have access to all apps on your android device, hypothetically of course (but only if you’re running a userdebug or a rootable custom ROM):

adb root
adb remount
adb pull /system/etc/
echo -e "while true ; do
  setprop gsm.sim.operator.numeric 23410
  setprop gsm.operator.numeric 23410
  setprop gsm.sim.operator.iso-country gb
  setprop gsm.operator.iso-country gb
  setprop gsm.sim.operator.alpha o2-UK
  setprop gsm.operator.alpha o2-UK
  sleep 60
done" >>
adb push /system/etc/
adb reboot

Now open Play’s preferences and make sure content filtering is turned off by checking all the boxes.

This would drain the battery so once you’re done installing the apps you need:

adb root
adb remount
adb push /system/etc/
adb reboot

Adb over TCP/IP

One thing I have had problems with my TF101 is that I can’t charge it while connected to the PC via USB – I have to charge it using the mains adapter thingie they provide. This means that I cannot adb into it whilst charging. This is a bit rubbish since I wanted to run scheduled Jenkins jobs to sync files automatically.

With a bit of searching on xda, I found that I can solve the problem by letting adbd listen to TCP/IP port instead of USB.

  1. Gain root-access – because everything requires root-access.
  2. Make sure your device is connected to the WiFi network.
  3. In root-shell, execute the following:
    setprop service.adb.tcp.port 5555
    stop adbd
    start adbd
  4. On your host PC/Mac, connect to the device via:
    adb connect
  5. You can now use adb shell, etc, via WiFi

To disable it and return ADB to listening on USB:

setprop service.adb.tcp.port -1
stop adbd
start adbd

If you have USB access already, it is even easier to switch to using WiFi. From a command line on the computer that has the device connected via USB, issue the commands

adb tcpip 5555
adb connect

To tell the ADB daemon return to listening over USB

adb usb

Ramblings January 2012

Things that pissed me off recently

  • Old Japanese guys who stops right on the top of escalators, and, if you tut behind them, get angry and demand respect just because they are old.
  • People who stand right next to the train doors just after they get on
  • Mum drivers who go 1 ft over the centre line on narrow streets.

Music Dump

Most of my music can be found on my myspace page.

The Divine Right of Destruction is a spoof of the Symphony X tune “The Divine Wings of Tragedy”. I think ┬áit was in the first year of uni, when one of my mates challenged me to create something like a Symphony X tune, ’cause I just wouldn’t stop complaining about the over-use of sequencer and multi-tracking. Of course, this was before I actually saw their live performances.

Double-sided was created around a simple chromatically descending bassline with heavy distortion on it. At the time, I was ecstatic about my new GT-09B bass multi-effector pedal, like a small child with a new toy.

Tik-Tak Calypso-style jazz number