S-OFF and Jellybean on the HTC Desire HD (Ace)

I acquired a secondhand HTC Desire HD, a nice phone (albeit a bit heavy). Comes with Android 2.3 (Gingerbread) and Sense. I’m personally not much of a Sense fan, and I wanted to move to a newer Android release, so I looked around on how to achieve S-OFF.

In the end, it’s fairly easy, thanks to the Advanced Ace Hack Kit (AAHK now for short).

Requirements for the adventure:

First, read the “effen manual” that comes with the AAHK. Find the code, and once you’re in the menu, pick option 1 – “Hack Ace”.
Wait a bit.
See the phone reboot some.
Wait some more.
*poof* you’re now S-OFF!

The next thing I did was flash a new recovery (I’m a big fan of 4Ext Recovery), and after that downloaded the radio and the lastest version of JellyTime and the accompanying Google Apps and flashed those. A reboot later: JellyBean on the HTC Desire HD!

Reset android lockscreen to slide

You’ve just reconfigured the security lockscreen settings on your (rooted) android phone, and then forgotten eg. the PIN code to unlock it? It happened to me yesterday.

Luckely(?) there’s an easy way around it, if you have adb activated:

Connect your phone to your computer, and do this:

adb shell
su
rm /data/system/locksettings.db*
reboot

This will basically delete the lockscreen settings database, which will make it revert to the default setting (slide to unlock).

This does mean that if you have adb enabled by default on your phone, the lockscreen is defeated very easily. So don’t depend on it with your life.

phptelemeter 1.36-beta3 released

I’ve just released phptelemeter 1.36-beta3. This version includes the following changes:

  • Added the NEWS file to the files to check if there’s a configuration issue
  • Added a default for argv=empty array if not set, to avoid another warning (Thanks to jorgo from userbase.be)
  • Updated telemeter_web (updated website)
  • Fixed telemeter4tools for FUP meters
  • Fixed telemeter_web for FUP meters

As per usual, you can download it from SourceForge.

My history in gadgets…

This gallery contains 19 photos.

As a geek, I’ve always been quite the gadget freak. The fact that my father was also interested in the newest toys didn’t help.

A quick list of my gadgets and phones over the years:

PDA history:

Psion Siena
Psion Siena

This … Continue reading

Fixing the ACPI DSDT of an Acer Ferrari One 200

Last year I installed Debían on my mother in law’s network (an Acer Ferrari One 200). The thing ran fine, but gave some “firmware bug?” warnings. Since no new BIOS’ were available at that time, I left it at that.

When doing my yearly checkup and update round, there still wasn’t any new BIOS to be found. Annoying Acer! So I went around started digging in the ACPI DSDT tables to see if I could fix anything.

To dump them, you can either use the acpidump tool (acpidump -b --table DSDT > /tmp/dsdt.aml) , or just do a cat /sys/firmware/acpi/tables/DSDT > /tmp/dsdt.aml
Next, and decompile the thing with the iasl (Intel ACPI compiler/decompiler): iasl -d dsdt.aml. This should yield a file called dsdt.dsl, which is human readable. Sortof :p
First thing to fish out is to see whether the syntax is correct. To find out, we can just try to recompile it with the command iasl -tc dsdt.dsl.

In my case this didn’t exactly work:

ASL Input: DSDT.orig.dsl – 10886 lines, 405784 bytes, 4948 keywords
Compilation complete. 21 Errors, 6 Warnings, 18 Remarks, 1759 Optimizations

 

Amazed that this thing even booted!

(the reason for these mistakes is that many manufacturers use the Microsoft compiler which is a lot less strict when it comes to the DSL syntax. Intel’s compiler is less forgiving.)
Continue reading