Android HTC - Hacking explained en

By Cruz on Saturday 7 May 2011 21:36 - Comments (9)
Category: Willekeurig, Views: 7.854

Background:
I tried to root and "S-OFF" my HTC Desire and it resulted in the phone not booting anymore :P Having no experience in the Android hacking field at all, I was pretty much stuck, and then there's only one thing to do: Google up.

As I spent the next 4 hours getting a basic understanding of how Android phones work and what the different hacks and tools are, I needed a way to keep notes. Notepad wasn't going to cut it and I figured that a more 'attractive' method may serve as a good reference for other people who are interested in Android hacking. Adobe Illustrator it was.

I managed to get my phone working again but continued googling and asking smart people stupid questions to keep getting a better understanding of the subject. At this point I've learned everything that I wanted to learn. Not that I'm an expert but I know just enough about everything to fool others into thinking I am one :P I'm making the information public, if there are errors or omissions please inform me and I'll fix it.
Android HTC - Hacking Explained
In order of best to worst quality:
Download the PDF (3.7MB)
View the PNG version (1.5MB)
View the JPG version (1.0MB)

Volgende: Laser + ogen : Aftermath 07-'09 Laser + ogen : Aftermath

Comments


By Tweakers user Booster, Saturday 7 May 2011 21:52

That's a good way to share information. I imagine a lot of people doing what you did, without writing it down. Now others can benifit from this.

I don't even have a android device but I was interested anyway :)

[Comment edited on Saturday 7 May 2011 21:52]


By Tweakers user Sebazzz, Saturday 7 May 2011 22:00

Interesting, but please note this differs for each phone. HTC phones usually have a HBOOT, but Motorola phones (for example) use a whole other way of booting and use a somewhat different filesystem. More can be found here: http://and-developers.com/

Also, at least on my Motorola phone, /system is a different flash chip, and therefore the main filesystem cannot be repartitioned because the partition is physically separated from the data partition.

You also say the dalvik-cache is similar to the Windows registery. This is not true! Try wiping your Windows registery and then rebooting. Dalvik-cache stores optimized application code (and some other stuff), if you wipe it, your Android device will take a long time to boot but it will boot eventually. Also note that read activity does not wear out SD card memory (as your statement "Since there is a lot of read/write activity towards this cache, it may wear out your SD-card prematurely." suggests)

[Comment edited on Saturday 7 May 2011 22:11]


By Tweakers user bl0m5t3r, Saturday 7 May 2011 22:08

nice overview of the android system!
good to see all this info nicely formatted in one place.

By Tweakers user Cruz, Saturday 7 May 2011 22:11

@Sebazzz : Thanks! Will update it and call it 'Android HTC's - hacking explained' :)

By Tweakers user Kwastie, Sunday 8 May 2011 01:06

Nice overview of the android boot process, although a bit HTC specific. :)

Did you manage to fix your phone?

My HTC desire is currently being fixed, overheating problems :'(

By Tweakers user omgwtfbbq, Sunday 8 May 2011 08:15

Nicely done! Very much information in a good way :) You should post it on XDA Developers forums!

By Tweakers user TD-er, Sunday 8 May 2011 09:43

When you're also outputting it to some image format, next to the PDF, please use png for this kind of 'line-art' images. Jpg will distort the text and cause artifacts around sharp edges typical for text and graphs.

By Tweakers user SpaceK33z, Sunday 8 May 2011 12:53

You should contact xda-developers, I'm sure they are interested to make a blog post about it.

By Tweakers user Cruz, Monday 9 May 2011 16:27

@Kwastie:
Yeah I managed to install Cyanogenmod 7 on it, and am using it with S2E... But I already have two reasons to re-install: There's a new version of Cyanogenmod that contains a security fix, and I want to try alpharev again (which broke the phone the last time) and resize the partitions.

And a colleague of mine with the HTC Desire also has overheating problems, seems to be battery related: he got his overheating & rebooting Desire replaced but kept the same battery, and in the 'new' Desire (worked fine) the battery died so now his phone is broken again.

@TD-er:
I thought JPG would offer better compression but I'll see about PNG :)

Putting it on XDA-developers is a good idea, when the suggestions are processed I'll make an account there and link it.

Comments are closed