Easily Root Noir A8!

A week back, QMobile surprised (rather shocked) everyone in the tech world by launching QMobile Noir A8. It’s a dual core 1GHz phone running Ice Cream Sandwich, PowerVR SGX 531 GPU, 4.3 inch capacitive screen and 1GB usable internal memory (total 2GB). All these great specs just for the price of PKR 14,500.

It runs on MediaTek MT6577 chipset (SoC) which is a respectable hardware platform and includes the above CPU/GPU. This same chipset is also running on several other Chinese phones like Lenovo A789, Haipai X710d, Bird v1277, HDC S3 clone etc.

The best thing for you is, it already has been rooted! Bin4ry at XDA-Developers has created a universal rooting script for ICS and Jelly Bean devices, and it should be able to root your QMobile Noir A8 as well. Here’s how to root Noir A8:

Steps for rooting QMobile Noir A8:

  1. Download and extract this archive.
  2. Go to Settings->Security and check “Unknown Sources”.
  3. Set phone to USB debugging mode from settings and connect to PC. When Windows ask for drivers, manually choose the location of the folder Noir A8 USB ADB drivers and install the drivers.
  4. Remove the cable, turn off your phone. Connect again to PC while it’s off, it will again ask for drivers. Now install driver from the folder “Noir A8 preloader VCOM”. (Thanks to max414 from PG for driver.)
  5. Now turn it on, still keeping it in debugging mode. Navigate to folder “Root_script_by_Bin4ry_v15” and open Runme.bat. Follow the instructions (choose normal mode) and you’ll have a rooted Noir A8! Check for superuser app and it should be in the app drawer.


Now, what you intend to do with this powerful beast for its price is up to you! You can modify it the way you like, install custom launchers and many more fun stuff! If you’re running out of internal memory (though 1GB is quite a lot for apps), you can always use Link2SD with microSD card.

If you have any more questions or corrections, please comment below! Thanks.

Geo-target Landing Pages: City or Zip Code Level

No matter if you’re running AdWords/Facebook PPC campaigns, media buys, or using CPV (PPV) marketing–using targeted landing pages is a sure way to shoot up your conversions!

One of the best ways to laser-target your landing pages is to include the visitor’s city name on your landing page. How you do it depends on your creativity. For example, “special deal only for Austin visitors! ;-)”. There are also certain other cases where it helps immensely, e.g., ad approval on AdWords.

This PHP script performs IP to city and IP to zip code lookups using MaxMind GeoLiteCity database, which is about 95%+ accurate.


  1. Download this file. Click on File->Download or just press CTRL+S.
  2. Extract it. You should get three files; geoipcity.inc, geoipregionvars.php and index.php.
  3. Upload them to your web host. Place them either in the root directory (like example.com) or in a sub-directory like example.com/landigpage/.
  4. Download this file. You should get GeoLiteCity.dat file after extracting.
  5. Upload this file to the same directory where you uploaded the previous three files.
  6. Open index.php file in your file manager. You can edit it according to your needs, I have given hints inside this file.

You can modify index.php to do the following tasks:

  • Display visitor’s city name or postal/zip code. Embed the code in your landing page with rest of the HTML code.
  • Redirect based on city
  • Redirect based on postal or zip code

If you want redirection for more cities, just add them in the script. Comment below if you need any help! 🙂

DIY: Mini UPS for DSL Modem and WiFi Routers

Load shedding and power outages: For those who can’t live without their computers and internet for any or no reason, this situation is a worst nightmare.

This is a rough, simple and not a sophisticated solution, but works in keeping your devices powered on! It can power not only DSL/WiFi routers, but also any other appliance that can work at 9V or 12V. Keep the internet alive, and use it on your laptop or cell phone, 24×7!

I use it to power my PTCL DSL ZXDSL 831CII DSL router and a TP-Link WR740N WiFi router. PTCL router’s ratings are 12VDC 500mA, TP-Link’s 9VDC 700mA.

That’s why I’ve taken two outputs.

Circuit Diagram – DIY UPS for DSL Modem/WiFi Router:


UPS for DSL Modem/WiFi Router
Click to Enlarge



  • One 12V 7AH lead acid battery.
  • One 16 or 18V laptop charger, max 2-2.5A current to charge the battery.
  • Five 1N5404 diodes.
  • One LM338T linear voltage regulator with a heatsink.
  • One 0.1uF ceramic capacitor.
  • One 1uF electrolytic capacitor (note the polarity of capacitor).
  • Two resistors. R1 = 2.6kOhm, R2= 250 Ohms.

Things that you need to note:

  • Make sure you check the specs of your appliances, in this case, router/modem first.
  • If you are only using a single router, just remove the respective part from circuit diagram. E.g., if you are using a 12V router, you don’t need those 4 diodes and 9V output jack.
  • You need to attach a DC pin to the outputs of the circuit. The same pin that is connected to your adapters, which go into your modem. Now, you don’t need that adapter. Just buy the same pin from market.
  • You can give input from a laptop charger of 16V to 18V. Keep in mind the current rating of the charger, as higher current ratings can damage the battery quite quickly. Even 2A current is too much for a battery of 7AH. It should be around 700mA, but that will also cause slow charging.
  • You must also attach a heatsink with LM338T IC. It gets extremely hot during operation!

I used a veroboard to build the circuit. You can use either that (will have to solder things), or use a breadboard.

Thanks to folks at Wiredpakistan like Ijaz, jhagra and Asad for their help.

Breadboard Simulator

Well, its late but not too late! Still have a few hours left in Circuits & Systems-I Lab exam! Time to practice what we didn’t do the whole semester, that is, to implement the circuits on a breadboard, LoL! Its funny how the exams force us to complete the whole course content of a semester in one day; in many cases, just a few hours 😛

So in pursuit of finding a virtual breadboard, I found this extremely useful breadboard simulator, which you can use to implement circuits of your choice, and it lets you see how the actual circuit will look like.

That is, you make the connections on a breadboard, and it will show you its circuit diagram and how all the components are connected – very handy because you can get confused at times while connecting components on the board and can’t figure out what part is in series, in parallel or is it even connected or not!

The software is called Fritzing. Download it from HERE

The PSpice circuit simulation software can be downloaded from: HERE

Projection of Lines and Planes – Engineering Drawing Presentations

    Engineering Drawing and Graphics

  • Projection Of Planes – Inclined to one plane, inclined to both the planes
  • Projection of Lines – inclined to one plane, inclined to both the planes

These topics can be confusing for many engineering students who are taking the engineering drawing course. Key to understanding these concepts is to VISUALIZE them. I know visualization of such things is not very easy, as I too have gone through this. It was very confusing for me, and it still is! But once you manage to visualize them, it becomes somewhat easy to solve any problem given to you.

These presentations / power point slides will help immensely in visualizing and grasping the concepts involved.

These presentations include:

Projection of planes
Projection of lines.


Click here to download the slides

P.S. I must say thanks to Umair Khan who helped me in understanding the projection of lines – inclined to both the planes ! 🙂