Today is 365 days since my old phone is running my website !

Project: Resurrecting the GT540
If you have a broken phone, probably it's fully functional except one or two hardware elements. With this post I want to give ideas to others about alternative use of deprecated devices.

The first time I resurrected a phone was my Nexus 4 with the broken replaced display, which is still a super fast smart TV today with advanced abilities:

Before the Nexus 4 I used an LG GT540. I bought it with Android 1.6, I learned rooting, flashing and compiling ROMs and lots of other stuff thanks to that phone. Nowadays it runs Android 2.3.7 Gingerbread, thanks to the aftermarket ROM "CyanogenMod".

If I would allow the stock phone to connect to the Internet, Play Services would be installed taking up all the internal space and CPU power, completely freezing the empty phone. With the custom ROM I was able to customize everything. No Play Services, no apps, no system apps, I only left the pure system.

The phone has a single-core 600 MHz CPU, which is running the Linux kernel (happy 25th birthday btw!), which is running the Dalvik Virtual Machine, which is running a Debian Mini, which is running the lighthttpd webserver. The CPU is around 3% while on idle. I also set the CPU profile from OnDemand to Performance. The low-power ARM CPU makes it ideal for hosting my website from home. The battery keeps alive the system in case of power loss as an UPS.

I also made a stress test what the mobile phone is capable for:
Document Path: /index.html
Document Length: 11278 bytes

Concurrency Level: 5
Time taken for tests: 36.605 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 11537000 bytes
HTML transferred: 11278000 bytes
Requests per second: 27.32 [#/sec] (mean)
Time per request: 183.026 [ms] (mean)
Time per request: 36.605 [ms] (mean, across all concurrent requests)
Transfer rate: 307.79 [Kbytes/sec] received

Enough for a personal site. Pretty cool, huh? :)
Shared publiclyView activity