Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

Saturday, August 11, 2012

Parallel Port SPI Flash Programmer (and Unbrick via WM8650 tablet)

28 comments
When using spipgm, you might encounter parity error or similar other error. Mostly, it means that the chip is not recognized because of various factor, such as bad connection. This issue has already been answered by Martin Rehak on its own web page. You can see them on SPIPGM FAQ.

Flashing EON EN25F40

The first time I use this software, I too had encounter parity error. So I want to share how I solved this problem and flash successfully the chip (unbrick WM8650 tablet).

Read More...

Sunday, July 22, 2012

Sending file through UDP Socket

15 comments
Introduction
(THIS is a repost, original post can be found on DNX Group blog)
User Datagram Protocol or UDP is a simple protocol. This protocol is unreliable - when a data packet is sent, it cannot be not known if it will reach its destination or not. There is no acknowledgement, retransmission, or timeout. When multiple data is sent at once, the order which they arrive cannot be predicted. They might be out of order. The data that is sent with sequence 1,2,3 might be recieved as 2,3,1. So, sending files through UDP socket is a bit difficult.

Read More...

Saturday, July 14, 2012

Using modem/router as a TTL Serial cable

19 comments
Hi all,

Ok here the story. I have another bricked unknown WM8650 android tablet given to me for repair. According to the tutorial found on some forum, first I need to check if the bootloader is still alive or already dead by using serial interface. So I get my Nokia DKU5 cable which were previously showing dead/damaged USB devices symptom - "USB Devices not Recognized" and plug it into my computer hoping that the cable will be detected by windows. Unfortunately windows does not detect it and show the error instead.
Read More...

Thursday, April 7, 2011

How to start program/game without explorer.exe

4 comments
Introduction
First of all, this is just a random tutorial.
Sometimes while using your computer, your explorer may unexpectedly crash. This usually caused by explorer extension or something else. For example, winamp shell extension or WinRAR Shell Integration crashed and since it sits on explorer.exe, it will crash its parent process too. When explorer crash, it usually restart itself automatically, but sometimes, it won't start and you need to start it manually either by restarting your computer or using task manager to create a new task.

Read More...

Friday, March 25, 2011

Solving old games graphics problem on Windows 7 and Vista

66 comments
Introduction
Old popular games such as Age of Empires, Starcraft, Worms and Diablo that runs on windows 7 and vista is suffering palette problem which caused the game graphics color messed, color problem, palette stolen, etc.

VOS - Color messed (rainbow) and it's not black actually.

Recently, I wanted to play some old game and one of them are Virtual Orchestra Studio, the color messed but doesn't influence the game. I played normally without doing any trick or methods that solve the color issue. Suddenly, one day while playing Virtual Orchestra Studio, the color that supposed to be blue turned white and almost the entire screen turned bright including background!
Because the game is about pressing the key at the right moment and since I cannot see the note fall because the note and the background looks the same. It make me think to write some tools to solve this issue because almost all people talk about the solution to this problems is to terminate explorer.exe and then start the game, but I don't like this method.


Read More...

Wednesday, March 16, 2011

Making passcode application in C#

5 comments
This is a tutorial making a simple passcode application in C#
Video tutorial is included :)

Requirements:
  • Visual Studio with C#
  • Basic knowledge of C# and Programming

Quick step-by-step:

Step 1: Create a new project
  • Start Microsoft Visual Studio 2010
  • In Menu, click File - New - Project
  • Select Visual C#
  • Select Windows Form Applications
  • Name your project, eg. Passcode
  • Click OK

Read More...

Tuesday, March 1, 2011

Unbricking Gome/Fake FlyTouch Android tablet

31 comments
Update2:
See this post too: http://write-code.blogspot.com/2012/08/parallel-port-spi-flash-programmer-and-unbrick-wm8650.html
Update:
This blog post about total bricked Fake Flytouch - bootloader failed to start. If the devices turned on, the Blue LED will lit but the screen will remain black.
If you flash the wrong firmware, it might not fully bricked. Try to flash with new firmware, see comment post for the download link.

Introduction:
I bricked Gome/Fake? FlyTouch when upgrade its firmware by accidentally removing microSD card when upgrading w-load/u-boot in process. I don't know the exact name as the device itself doesn't have anything written on it except MID written on box.
It looks exactly like in this post: http://www.androidtablets.net/forum/gome-flytouch/1411-help-detecting-model-device-2-6-29-00236-g4f8dbbb-dirty.html#post8372


Reading through this thread, i found an interesting post about using LPT or Parallel port to reflash the bootloader IC using SPIPGM by Martin Rehak/RayeR. The SPIPGM can be found here: http://rayer.ic.cz/programm/programm.htm#SPIPGM

Read More...

Monday, August 16, 2010

How to make a simple virus/malware scanner

89 comments
Making a working antivirus is a very hard thing because of several reason:
  1. You need to get virus/malware sample which is not easy to get.
  2. Most virus infect the executable file and some use polymorphism making it harder to detect.
  3. Most antivirus use heuristics scan which analyze the file and if the file look suspicious it will flag it and ask the user what to do. This is hard to implement and poor heuristics scan can result many false-positive.
  4. Need a driver which will monitor the system like file read/write.
  5. etc...

Today, I'm going to show you how to make a simple malware scanner (not antivirus) in MSVC2008 C/C++ which use hash to compare file with database. This methods only works on some kind of malware, eg. worm, trojan, or any file which doesn't change itself because we will hash the whole file content.

Read More...

Recover Corrupted User Registry Hive

12 comments
Everytime I start my computer, my folder settings and folder view reset itself to default. I set it back and do it everyday and after next reboot, it reset folder settings back to default again. After opening Events Viewer, I found out that my user registry corrupted in and registry recovery occured on each boot.

It says,
Event 5, Kernel-General:
{Registry Hive Recovered} Registry hive (file): '\??\C:\Users\<username>\ntuser.dat' was corrupted and it has been recovered. Some data might have been lost.

Read More...