000webhost

Web hosting

Monday, March 11, 2013

Laptop Hacking and Hardware Workarounds

If you've been around long enough sometimes you'll realise that people are sometimes unwilling to pay for the parts required in order to get the job done and you have to make do. A while back someone left me with an Acer Aspire One which had its fair share of problems but I was able to get going.

http://dtbnguyen.blogspot.com.au/2012/08/cleanup-operations.html

However, he neglected to purchase a power switch/cable. Obviously, these are key parts of any electronic device but the cost of them actually constitute a large proportion of the cost of the device itself. I've decided to turn it into an experimental device.

By hooking pins 2/3 of the power connector on mainboard to the the pins corresponding to relevant contact points of a 3.5mm sound socket/plug (a multi-meter with an audible continuity tester is extremely useful but you can also use guesswork, or a battery, some wires, and a standard multi-meter/LED to get around this problem) I've turned the the microphone socket into a a partial solution to power control. The other part involes a microphone plug which is then hooked up to a SPST LED switch.

http://search.jaycar.com.au/search?w=spst%20led%20switch&view=list
http://search.jaycar.com.au/search?w=3.5mm%20stereo%20plug&view=list

While I was in Jaycar I noticed these (SPST switches that require a physical key). Not a bad security option actually... How can you hack something if you can't  power it up?


- clear that this particular machine had poor build quality. Even some basic things like the SD card reader slot needed some more thought/work. Based on personal experience tolerances and physical dimensions of memory cards are not identical and often vary from one manufacturer to another which means that sometimes cards from a particular manufacturer will get stuck and need to be extracted via abnormal means. This card slot erred on the side of being slightly too small. So many extra pieces which were not required. Small number of larger panels compared to larger number of smaller panels more preferable as the smaller ones tend to break more easily. Better to use more screws than snap lock type systems which when breached are often unrealistic to repair in spite of advances in glues, cements, and my experiments with plastic welding.

- if you've ever repaired/modified laptops before you'll realise how specialised how some parts are and how difficult it is to find replacements (which are often expensive as well). This is particularly the case with parallel style cables that are often used for data transfer. I fashioned the required cable by using Scotch tape and filaments extracted from multi-stranded wire from junk electronic equipment. Obviously, this is not easy and could lead to terminal problems. I consider it only a method of last resort because if you don't do the job cleanly it's likely you'll have reached a point of no return and won't be able to go back. Some tips,  remove the clamps which hold the cables in place, clean the connections first, and then attempt to add some solder/flux to the relevant elements which you mean to connect. Then attempt to the final connection. Obviously, too high a level of heat and you could burn away tracks, to low and you won't be able to get the solder to flow and it will increase the difficulty of the job. Not enough solder will mean a loose connection while too much will make it hard to put the system back together without deformities.

- fashioning a cable is not easy. Try to make life easier for yourself. Use maintenance manuals when/where ever possible to find out which connections are superfluous and do not bother with them.

The reason why I say this is because making a cable is far more difficult than you think without a decent lab/equipment (use cables from another laptop if at all possible!). Simple things like keeping the wiring straight and insulated from it's neighbour are an issue. Several options include:

- using a single wire strand and then enclosing it with tape, then wrapping this with the next wire and so on
- using paper to create a backing which you could then begin to glue the wires to
Reaslitically you're limited to creating cables only for:
- speakers
- memory cards
- trackpads
- power
- antennas
Basically anything less than six pins/connections and it shouldn't be too difficult. Any more and you'll require skill/patience/time.

Data card (optical drive and hard drive in particular) cables should definitely not be attempted by those who don't have good hands and technical knowledge. As I've discovered many odd things that can result which with cause/effects relationships that are not immediately clear when making custom modifications. In my case, the Aspire One works perfectly fine if you leave the switch in permanently. Remove it and re-insert (or any other electronic devices such as USB devices) while the power source remains intact and the machine may not boot properly next time (fiddle around with the ordering and it will work again though. Need more time to understand the bug compeltely...).  Like I've said though it's a hack and does minimal/no permanent damage to the system (I was considering drilling but there's little room to work with as it is. The recording socket seemed like the most obvious option since it is rarely used unlike network and USB ports).

- use dollar/discount store as a place from which to extract parts from toys which you can not find elsewhere. Membrane type switches are a constant source of pain for me and often I find that just breaking it off from another device is the only way that I can find one (creating one is also possible but also requires skill/time/patience. Possibly more than that required of creating a cable)

BIOS hacking introduction/roundup for those who are interested (a continuation from some of my previous posts/work obviously. Even if it is related to compliance issues there are surely better ways around this than a hardware whitelist?).
http://forums.mydigitallife.info/threads/20223-Remove-whitelist-check-add-ID-s-to-break-hardware-restrictions-mod-requests
http://www.sbbala.com/DellWWAN/Whitelist.htm
http://forums.lenovo.com/t5/General-Discussion/WWAN-and-wireless-card-BIOS-whitelists-Lenovo-COME-ON/td-p/952681
http://www.prizepony.us/2010/12/hacking-the-hp-nx5000-bios-whitelist/
http://www.insanelymac.com/forum/topic/140664-whitelist-bios-for-dv2000-dv2710us/
http://www.endeer.cz/bios.tools/bios.html
http://www.tomshardware.com/forum/54350-2-laptops-blacklist-whitelist-nics-bios
http://forum.notebookreview.com/panasonic/703862-cf-52-wifi-bios-whitelist.html
http://www.tomshardware.co.uk/forum/forum2.php?config=tomshardwareuk.inc&cat=20&post=58770&page=1&p=1&sondage=0&owntopic=1&trash=&trash_post=&print=0&numreponse=0&quote_only=0&new=0&nojs=0

Freezing issue on an Acer. Interesting how many tangets they took.
http://ubuntuforums.org/showthread.php?t=1702462
http://www.notebookcheck.net/Review-Acer-Aspire-One-522-Netbook.50481.0.html
http://www.umpcportal.com/2011/03/acer-aspire-one-522-upgrade-how-to-and-tests/

Linux on the Toshiba AC100. A so called 'Smartbook'.
http://code.google.com/p/cm-paz00/downloads/list
http://www.tabletroms.com/forums/ac100-rom-development/3562-android-4-0-toshiba-ac100-firmware-review-installation-ice-cream-sandvich-4-0-a.html
http://wiki.debian.org/InstallingDebianOn/Toshiba/AC100
http://kotelett.no/ac100/README/
http://pole.su/Toshiba-AC100-Ubuntu-2.6.37-install-ENG.htm
http://pole.su/Toshiba-AC100-Fedora-2.6.37-install-ENG.htm
http://www.umpcportal.com/2010/10/hacked-toshiba-ac100-ubuntu-10-10-is-running/

Interesting articles on power management/consumption under Linux and how to re-pack a laptop battery.
http://www.overclock.net/t/1205257/overclock-cpu-in-linux-necessary-program-names-given
http://www.codinghorror.com/blog/2006/04/how-much-power-does-my-laptop-really-use.html
http://www.murga-linux.com/puppy/viewtopic.php?t=67965&sid=2965074f1377886634859c9c48f0dd77
http://www.linuxjournal.com/content/rebuilding-laptop-battery

Disabling cores doesn't really help with power saving and may even increase it in some cases.
http://pundiramit.blogspot.com.au/2010/07/how-to-disable-cpu-cores-in-multicore.html
http://www.absolutelytech.com/2011/08/01/how-to-disable-cpu-cores-in-linux/
http://www.tomshardware.com/forum/318586-28-solved-disabling-cores-save-energy

Disappearing Optical Drive Fix
http://support.microsoft.com/kb/314060

- as usual thanks to all of the individuals and groups who purchase and use my goods and services
http://sites.google.com/site/dtbnguyen/
http://dtbnguyen.blogspot.com.au/

Saving Money (without Sacrificing), Random Stuff, and More

- use price matching when you can to get an extra discount. Note, a lot of companies advertise low prices just to get you through the door. ...