Sunday, February 20, 2011

Murphy's Law for Zynga Poker

1. You will fold your 7-2 offsuit only to see 7-7-7 on the flop.

2. You will complete your inside straight draw right when someone else completes a flush draw.

3. You will flop a set of aces, only to lose to a straight.

4. Your full house will lose to four of a kind.

5. You will get four of a kind, only to have your internet connection crash.

6. You will rush to the bathroom and back, only to find that you have timed out and folded your pocket kings.

7. The aggressive all-in player ahead of you will fold as soon as you get a good hand.

8. The first winning hand you get in a sit-n-go tournament will be when you are short-stacked.

9. Everyone will call your $100K bluff, but fold to your $4K value bet.

10. You will get pocket kings as soon as someone else gets pocket aces.

11. You will buy in to a $1 million sit-n-go, only to realize you have to leave for work in 15 minutes.

12. The good looking person of the opposite gender at the table who is flirting with you will ask you for chips within 5 minutes.

13. The river will only give you the needed card after you've folded.

14. The new player at the table, who goes all-in first hand, wins with rubbish cards against premium ones.

15. The error msgs multiply the closer you get to the end of a 2nd or 3rd round shoot out.

16) you will get a run of busted straights: 4,5,6,7,9. then you will get 4,5 hole cards and the flop will be 3,6,7. at last! but then the next two cards will be the 4 and 5 that you had and the player across the table will have the 8.

17) you have an A and a straight gets dealt. you raise heavily and the rest of the table follows so you think you're on to a decent pot. except 3 other players have an Ace too, the same 3 players who have been raising against you, so you win nothing.

18) a newbie joins the table and whatever cards you have, they have one better. if you have a pair of 7s, they have 8's. if you have high cards A,7 they have A,8.

COMPILED FROM ZYNGA POKER FORUM

Saturday, February 19, 2011

Randomness in Zynga Poker


DOH, this is one of the theory made by me supporting that Zynga Poker is not random.

1. Beginner's luck

Any person who starts playing Zynga poker usually has luck higher than a normal person. This is the reason you see that new player win most of the hands. It is made so that any new player get attracted and gets addicted playing Zynga poker.
U may think that , its the achievement thats adding to one's chip count, but it isn't.
It s beginner's Luck!!!

2. Pre-Determined winner (PDW)

The winner is pre-determined before the game begins. Which means that, no matter what card you have, if all go all-in then u win for sure( if u dont fold) assuming u r the pre determined winner. It is the same with a real Texas Holdem Poker u play with real cards. The 5 cards on the stack cannot be changed after the cards are dealt to players.
Consider that 9 players are playing on the table, there exists a pre-determined winner and a second winner ( in case the pre determined winner folds). So, for every 9 hands u play, in average, u r a PDW once and a second winner once. Therefore ur chances of winning is 2 out of 9 which is approx equaling to 25% and that is what ur winning percent would usually be.

3. Bait

Two kinds of bait exist. One is a simple bait where a player gets cards such as AA, KK, AK etc. He either goes all in or wait till the river to find that some else with a bad hand such as 7 3 off suit would win a flush, straight or a full-house. Awesome!!!
The other kind of bait is not yet named by me, it is same as the other bait but bait is made by normal cards. Something like this in the photo.


4. Luck factor

The % of winning hands is determined by luck factor that Zynga Poker provides u.
The scale is from 0 to 9

0 When playing after getting banned for sending chips.
1-2 Warning of any kind either for sending low amount chips or receiving chips or any other activity that is against the ToS.
2-3 Normal Luck
4 Supposed to be the ideal luck theoretically.
5-6 The extra luck u get when u buy in with more chips.
7 This luck is what i call a beginner's luck.
8 When u buy chips from poker.
9 Practically not possible to have it

So, these things support the discussion about ppl having AA, KK and QQ in the same round. But the one who has 66 wins with a Three of a kind or full house
All this is done just to make Zynga Poker more fun to play. Or else a fair play would yield a winner having pair of 8's or max of two pairs. But here we often see straights, flush full houses which go or doesn't match the odds given to them.

And BTW, if u have more chips and u keep losing them till u reach 0, dont think it s just because u played foolishly trying to recover lost chips by going all in even when u get an Ace, its because, Zynga wants u to lose chips, so that u can buy chips from them

If u have any theories of ur own which i would have missed then pls reply

Tuesday, March 2, 2010

Dead S1 MP3 Recovery guide

Dead Recovery Guide

1. Identify the player : Discover you board ID

If you killed your player, you'll need a firmware that works with your player's hardware. To know with Firmware file will work on your player, you must get the board ID. It's the only safe way to identify your player. Chip numbers, external look, models or brand names can't unequely identify a hardware set.

To get the board ID, you must disassemble your player. If you don't know how to disassemble your mp3 player, read on.

You can find out more about board ID here : Board ID: device real identification, and once you've found your board ID, you may see if there is any tested firmware for your player at the Firmware list.

2. Disassemble the s1mp3

screw driver position

Attention: In case you have a "XO style" case (or a different style of case), this guide does *not* apply to you. -J-@D!- has written a guide to open it on the forum

(Written by Crunchy )

  1. Find a clear table / desk to work on, make sure the floor is not to messy. It'll be a LOT easier to find back those tiny little screws / plastic buttons that tend to fall out exactly the wrong way
  2. Stick a screwdriver/knife/needle between the USB plug and the bottom plastic part (the one that holds the battery) . Any gap large enough to fit a sharp edge in will do.
  3. Lever the bottom plastic of the rest of the player. It's not welded or glued tight, so it'll come of easily. Be forceful, but gentle, if necessary. Don't worry if you hear plastic "snapping" it's just the clips coming loose, you are not breaking anything.
  4. In the four corners of the PCB (the print board with all the chips) you'll find four screws, find a screwdriver that fits, and unscrew them. Put the screws in a container!just don't loose the screws!! You can now lift off the main PCB. Be careful, as the LCD connector cable (brown flat cable) is quite fragile. Don't break it! Anything will do, from an egg holder to Tupperware to an ashtray,
  5. You can now safely remove the chrome/silver/shiny ring from the player. Note how it fits under the main PCB, and how the LCD connector cable goes through it. This bit is a bit tricky to reassemble later, so if you remember how everything was in the first place, It'll be easier to put it back together.
  6. You can now see the back of the LCD board. there should be two screws in it. Again, take your screwdriver and unscrew them. Put these screws in a (different) container! Again, Don't lose the screws! You need them. Put them in a different container to make sure you don't mix them up with the four "main PCB screws", as that will cause trouble when you put the player back together. After all that, you can take the LCD board from the front of the case. Remember, the brown LCD connector cable is fragile, don't break it!
  7. Congratulations, you have now disassembled your S1MP3 player! To reassemble it, just follow this guide in reverse order. Extra attention to see if the buttons are well fit on the case, for not to force then while closing the case.

3. Install drivers and make windows detect the player

First, uninstall the "mp3 player tools" you have installed previously. Install the 1.46 version available at the Tools.

Unplug the player and remove/uninstall all the drivers related to USB at the device manager. (Control Panel > System > Hardware tab > Device Manager). Here is a screen shot.

Now, click "scan for hardware changes" button. Finally after the USB drivers are installed, plug in your player.

If you have problems with drivers, they may be obtained at the place you've installed the MP3 player utilities(Program Files/MP3 Player Utilities/) At folders "Windows98Drv", and "Dissipate/drivers".

If you follow all this steps and windows still can't recognize it, you may try to push ALL the buttons while connecting it to the USB hub. Try every button, and keep the button hold. You may also try to plug it on another computer. Also, make sure driver signing is not set to "block"(screen shot).

If nothing works, don't get desperate, you can still try to short-circuit the memory chip to make it run the "recovery mode"(ADFU server).

4. Install a compatible upgrade programback to top

Skip this step if the updater program is working correctly on your machine.

Firstly, make sure you have done the previous steps, and disable any anti virus/anti spy wares.

Try to plug your device with and without the batteries, and see if holding the buttons solves the update program start errors.

If you are still getting errors like "UNKNOWN FLASH TYPE", "FLASH NOT RESPONDING", "DEVICE NOT DETECTED", "DEVICE IS BUSY", etc, you should uninstall you current updater program and try other versions. (see the MP3 Player Utilities)

If you still can't make it work, you can try to short-circuit the memory chip to make it run the "recovery mode"(ADFU server).

5. Put device on recovery mode (short-circuit)

Why/how does it work : On boot time, the BREC (boot loader, written on ATJ2085) checks if the FWIMAGE (with is on the NAND flash) is damaged. If it is, it enters on the recovery mode (ADFU SERVER). If you get a dead device, the invalid/incompatible FWIMAGE present at the NAND flash could not be detected as corrupt or incompatible, because all of it headers are valid. To make the ATJ2085 run the recovery mode, (so we can override the broken FWIMAGE and write code) we short-circuit the memory chip during startup to simulate a broken fwimage header. Off course, if you have a device with the damaged BREC code, there is no way for us to write code on the device, so it's really gone to heaven ... :)

You must disassemble your mp3 player. If you haven't done this yet, check the disassemble the s1mp3.

Recognize the memory chip, near the ATJ2085 chip. It's usually a samsung chip, and it's the biggest silicon on the board. To help identifying the device components, check the Internal overview of standard s1mp3. We have seen players with 2 memory chips, too. If you have one of those, you have to short the memory chip nearest to the ATJ2085.

Now, without the batteries, with a flat screwdriver, touch 2 or more of any of the 8 IO legs of the memory chip. Then, KEEP the screwdriver shorting the pins, and connect the player to the USB.

memory chip schematic

Keep trying this procedure until you are successful. You may need to do this procedure lots of time before getting a successful short. When you are successful, windows will recognize your s1mp3 as an ADFU server device (you may check it on the system tray) and then, when you start the firmware update program, you'll be warned that the device is on recovery mode, and you will finally be allowed to flash a (FULL) compatible firmware file. If you try to flash a dump, you will get an error message.

If your device is not detected AT ALL, even doing this procedure, you got a permanently damanged S1mp3, probably because a corrupt firmware flash operation. The only hope is a hardware flash via ICE, see the ICE howto wiki article.

Now, let windows install the drivers. After this, you may flash any firmware to the player, after finding a compatible update program.

6. Find the appropriate firmware for your mp3 player

With your board ID in hand, check the Firmware list . If you find a firmware compatible with your board, your 're lucky, try it.

If you are on recovery (ADFU) mode, and the firmware for your board haven't worked, or if you are trying to flash a dump(incomplete firmware), one thing you might do is to flash another (random) firmware, until you get a working usb flash disk. Then, flash your player in the normal way, with your incomplete firmware(without doing any short-circuit). Incomplete DUMPS won't work on ADFU mode, remember that!

If you don't find your board there, them you will have to find it yourself, by attempt and error. We unhappily CAN'T help you hunting. (Google can.)

All the firmwares we have collected so far are on the forum, get them and start trying. Post your complete experiences on the forum, so, with some time, we will catalog all the FW files.

If you have a friend with a identical player it's easy, just ask him to extract the bin file from his player using Wire's tools. And don't forget to send us the firmware for we to catalog it on the page.

7. Help! I still can't recover my player!

Note that this procedure is the same for ATJ2085, AMP2085 and ATJ2051 chips.

If you have SURE you have made all the steps above, post on the forum describing with as much details as possible, what is going wrong, maybe we can help you. But all that is known are on this page, the people probably won't be able to help much. Please, don't post asking for firmwares!!

If you are getting a persistent error like "UNKNOWN FLASH TYPE" after trying everything suggested here, it's likely that there is a bad solder on your memory chip or the memory chip itself is physically damaged. You might try to re solder it.

The most important is to keep hope, LOTS of people already recovered their players!

Reverse Engineering tools

Reverse Engineering tools


Credits should be given to the original up loader.

Archive Packs / Direct Links

Decompiler/Disassembler Archive - (479k - 490,557 bytes).
Sebastien Apel's InstallShield Script CRC corrector, Wisdec, Wise Install Decompilers.
Key Generator Source Code Archive - (427k - 437,901 bytes).
Collection of key generator source codes in various languages, ASM/C/C++/Java/Pascal/Perl/Win32ASM.
HEX Editing Archive - (849k - 869,884 bytes).
HEdit v2.1.11, Hex Workshop v3.01 & Hiew v6.15 Key Generator's, Hiew 6.55 full, Implant.
HCU Tools Archive - (201k - 206,393 bytes).
Dasm (requires PERL), FrogsICE v0.43 source code + FrogsICE v1.07.3/v1.08.5, Iceman's SoftICE Helper VxD, Letter Opener & SoftDump (courtesy of Quine).
Miscellaneous Tools Archive - (518k - 531,307 bytes).
ASCII Table v2.01, Flu[X]'s File Utils & Key Generator Functions, GPatch v1.2b, ICEPATCH v2.0, InstallShield v5.5 Cabinet Utilities, i6comp v1.03beta, Matt Pietrek's PEDump, Package For The Web Cracker, PE Rebuilder v0.96b, PkCrack v1.2, SoftICE DevStudio Serial # Generator.

DataRescue - You know, believe it or not ;-), the freeware version of IDA is still more than adequate to get you started in this game.
http://asm.deformed.us - Home of UnderNet #asm, at the moment (read that carefully) they have everything you might ever wan't in the latest versions, as this URL gets better known expect things to get trickier for the files to remain intact, but for now.....
ExeTools - Aaron's home page has everything you might ever need to download, however for most you need to be provided access to the FTP, at the time of checking ftp.txt was a 404, you might need some luck to get access. Since the host is in China, the links might survive for a while.
Links - Try combing/perusing sites I've linked too.
ProTools (Programmers Tools) - Once upon a time, a great tooling site, now more of a news archive of 'latest releases of various protectors' and unpackers, its still worth the visit and Kaparo keeps it very up-to-date, but don't expect to find IDA or SoftICE here.


Assemblers

MASM32 v8 - Maintained by hutch-- and Iczelion, this compilation is one of the best ready-made Win32 assembly resources you can download.
Turbo Assembler v5.0 - Full version of Borland's TASM (original installation disks). You'll need this to assemble and link most of the assembly language source codes on my site. Disk 1, Disk 2, Disk 3. TASM v5.0r patch (minor update 152k).
Turbo Assembler v5.3 & Resource Compiler v5.4 - Updated files taken from Borland Developer Studio (1.31Mb's).

Decompilers / Disassemblers

BDASM v2.5 - Lightweight disassembler, an alternative to W32Dasm (1.84Mb's).
DeDe 3.50.02.1619 - Delphi decompiler by DaFixer.
Eltima Flash Decompiler v2.9.9.360 - Flash Decompiler (6.58Mb's).
InstallShield 6 Tools - Further continuation of fOSSiL's great i5comp (121k).
Interactive Disassembler Pro (IDA) v4.30a - Masterpiece from Datarescue (32Mb's) (since this link seems to disappear or be actively removed, I suggest you make note of the name 'ida430a.rar' for future searches ;-) ).
Interactive Disassembler Pro (IDA) v4.51.770 - A later version of IDA (29.2Mb's).
Interactive Disassembler Pro (IDA) v4.9 SDK - for making your own plugins (6.37Mb's).
isDcc v1.22 - Very capable InstallShield script decompiler by Andrew De Quincy.
palmdeMON - Carpathia's experimental Palm Pilot disassembler, abandoned in 2003 or so.
V-Communications Sourcer 7 - Old but worthy sourcering tool which deserves a place in any reversers archive (986k - 1,010,214 bytes).
V-Communications Sourcer 8 - Latest version (1.62Mb).
VB Decompiler Pro 3.4 - GPcH Soft's Decompiler (2.12Mb).
Visual Basic v3.0 Decompiler - from DoDi (1.28Mb).
W32Dasm v8.93 - Good disassembler for starting out, superseeded by IDA a while back.

Debuggers

Debugger Archive - MeltICE, SoftICE v1.54 (Windows 3.1), SoftICE v2.62 (DOS), SoftICE v2.8 (DOS), SoftICE ATI Driver Fix (621k - 636,249 bytes).
NuMega SoftICE v4.05 (Windows 9x) (filename si405w9x.zip) & NuMega SoftICE v4.05 (NT) - (filename SI405WNT.zip) Debugger of choice, alternative link here (NT).
NuMega SoftICE for Windows Millennium Beta (120k).
OllyDbg - 32-bit code level debugger (useful for environments where SoftICE doesn't perform so well).
SoftICE Cover v1.0 - Tool for hiding SoftICE against well-known anti-debugging tricks (9.61Mb's).
Syser v1.93 - Very capable and recent SoftICE alternative (3.55Mb).
TRW 2000 v1.22 - LiuTaoTao's capable (if slightly buggy) SoftICE alternative (453k).


Resource Editors

Borland Resource Workshop v4.5 - The original installation disks for this very good (if aging) resource compiler/editor.
Resource Hacker - Freeware resource editor.
Symantec ResourceStudio v1.0 16/32 bit - Alternative to BRW.

Reference

HelpPC v2.10 - Invaluable quick ASM reference.

Spying

APISpy32 v2.5 - A poor man's BoundsChecker, of limited use (255k).
File Monitor, Registry Monitor & VxD Monitor - Capable file, registry and vxd monitoring tools with source code by Mark Russinovich & Bryce Cogswell.
Forms Spy - A hard to find tool for spying on applications using forms, e.g. VB and Delphi programs (129k).
OpenTrap v1.2 - Another recommended file system activity monitor for Windows 95/8 (323k).
Win-eXpose-I/O v3.00 - A very useful I/O monitoring tool (1.81Mb).
Win-eXpose-Registry v1.00 - A capable registry monitoring tool (1.12Mb).

Useful Tools

Byte Parser - Tool written by me for parsing dumps into text (well I think its useful anyway ;-) ) (16k).
FrogsICE - Useful anti-debugging tool for Win9x/WinME (please note his page is MSIE hostile).
Hex Workshop v3.0x
- HEX editor from Breakpoint Software.
Hiew - Another great HEX editor from Sen.
IceDump
- The tool that NuMega forgot with a neverending array of options, study the source code, for all common versions of SoftICE 95 & NT, highly recommended.
j0b's DeShrink v1.6 - Latest version always available here, j0b has now fixed the problems with Shrinker v3.4.
ProcDump v1.6.x - The last ever version of G-RoM, lorian & Stone's very capable OO unpacker.
Snippet Creator v1.05 build 2 - Iczelion's handy programming tool.
WinManage v1.0 - 605k.

Sony Ericsson joystick ways for W700i

Many of you would suffer from faulty working of joystick i.e., it works just two side and enter. Don't worry as you can solve this problem by sparing few minutes on repairing it. It work for many model of Sony Ericsson phones which have same joystick module.

Causes: It is caused by dust or the dead cells from your finger to enter into the joystick. Proper covering of joystick can prevent dust entering into it.


Solution: Now we now the exact reason why it is not working. All we need to do is to clean the joystick. But how??? The joystick is too small to actually clean it??? would be your question.
For this you need to have a spray called Electronic contact cleaner with a needle or a tube in front of it.

Procedure:
  1. Disassemble your phone. (Not covered in this post). This is a very tough thing to do as there are many parts waiting to be damaged due to improper handling. Visit or google about the ways of disassembling your phone.
  2. Now with your main board in sight and also the joystick, spray the cleaner into the core of the joystick. Don't worry about the cleaner that runs down your board. It'll evaporate after some time.
  3. Repeat step 2 until all the dust is out. I mean, until you are satisfied that it has been cleaned.
  4. Wait for the cleaner or that solution to dry or else you'll end up short circuiting your phone.
  5. Assemble the phone and you woud have notice the way your joystick works now i.e,. like almost a new one. If not then try again 3 to 4 times.
If this does not work then you have to solder a new joystick.

The joystick ways is given in the picture below. Please be careful as bad soldering will cause your joystick or/and phone not to work properly.


Saturday, February 13, 2010

S1 MP3 Player


Chinese made S1 MP3 Players are based on action chip sets. The simplest digital audio player does the job at a low price. Though all the player looks similar the variations in the firmware has caused a lot of problems with the unnecessary FW upgrade.
The player has Z-80A 8-bits chip that is fast enough to play songs and switch compared to the other Apple or Sony players. Easy to use and longer battery life has made it popular along with the price in many countries like China, Japan, Russia and many Asian countries including India.

For more info visit s1mp3.org