Tuesday, May 15, 2012

Screen unlock APK coming!

Since the blog "Crack android screen lock and "factory data reset" lock" is the 2nd HOT in my blog, so I put the APK here, as a tool for those who don't know programming. Do hope it can resolve your problem :P

# Special offer: Download the APK
some of you might not familiar with programming, or Android SDK, just download the APK below, follow the instructions to enter your phone again.

#1, Plug in your phone to your PC/MAC

#2, run command to install the APK, then start it
 adb install crack_screenlock.apk
 adb shell am start -n com.test.adm/.UnlockerActivity

#3, you will see the screen lock disappeared. If you will do a lot of operations , you'd better change the screen timeout to a bigger value. Otherwise, you might see the screen lock again..
#4, Make a factory reset, just click the "Reset this phone" button. System will ask you to assign some power to the application. Click "Activate".

#5, After you click "Activate", screen will show "Power off", then phone will run the reset program.

If anything didn't work properly, write comment below.

Friday, May 4, 2012

A strange issue while using MultipleOutputs (Hadoop)

I used MutipleOutputs to store related records separately in each single file. 
The files created every time, but only one file of them came with content, and the file size is 4096 always ...

I printed a lot of logs, tried to find out where the problem is, but it seems everything went to correct places in reduce process.
After double check with the book "Hadoop: The Definitive Guide", I finally find my bug: the output stream was not closed correctly. T

Overwrite method public void cleanup(Context); in the Reduce class, and invoke .close() method to the MultipleOutputs instance. 

^.^ Fixed~