Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts

Thursday, July 05, 2007

Linux on HP Ipaq h2200

http://www.handhelds.org/moin/moin.cgi/HpIpaqH2200

How to change language of ipaq 2210

1) Download this Rom from here (if you want the english one, just
change for whatever model PDA and language you want!!!):
http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=US&prodTypeId=0&prodSeriesId=322908&swItem=PSG_I20498-104313&mode=4&idx=1
"HP iPAQ Pocket PC h2200 Series ROM Update"

2) Open the ROM with a hex editor and delete the first 32 bytes. The
save the file as nk.nb0

3) Hold button 2 and the power button simultaneously and press the
reset button. You should now see a screen with "Serial" at the top.
Cradle the device and the it should now display "USB"

4) On the host PC, kill activesync (win9x: ctrl+alt+del > select
wcescomm and click "End Task", winnt/2k/xp: right click the task bar
and select "Task Manager" > click the processes tab, find wcescomm,
right click it and select "end process tree")

5) Download this program http://www.pc-counselor.com/bin/romupdate.zip
(the romupdate program and the nk.nb0 should be in the same folder)

6) Run the romupdate program. Select "\\.\WCEUSBH001" from the
dropdown list (if you dont see this activesync is probably still
active). You should now see a white screen. press enter to display the
"USB>" prompt

7) Type this command lnb nk.nb0 and Hit Enter

8) Wait until the process has finised and take your PDA from the
cradle and press the reset button. It will then start in the new
language )

Monday, April 02, 2007

Wednesday, March 07, 2007

VIM intellisense

Ingrediente:

vim 7 @ http://www.vim.org/download.php
exuberant ctags @ ctags.sf.net
omnicppcomplete @ http://www.vim.org/scripts/script.php?script_id=1520
(unzip in ~/.vim)

In .vimrc

set tags=~/work/3.0/axigen/tags
map :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q
~/work/3.0/axigen/


Tuesday, March 06, 2007

Mplayer on Arm linux

http://lists.arm.linux.org.uk/pipermail/linux-arm/2005-February/009391.html

The following is my working note, I really got runnable binary, but the description is some ambiguously as I am not good at English.
So, good luck :-)


fetch tarball from
http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre5try2.tar.bz2

untar it, and compile on x86 platform, we need this step because we
need codec-cfg(a executable binary)

./configure
cd libavcodecs
ln -s ../config.h config.h
cd ../libmpcodecs
ln -s ../config.h config.h
make

rename codec-cfg to sth else, for example codec-cfg.x86

and now we compile for ARM
./configure --enable-static --prefix=./install --enable-runtime-cpudetection --cc=arm-linux-gcc --as=arm-linux-as --target=arm-linux --enable-fbdev --enable-ossaudio --disable-mpdvdkit --disable-tv --disable-tv-v4l --disable-tv-v4l2 --disable-tv-bsdbt848 --disable-dvdread --disable-libavformat --disable-x11 --enable-linux-devfs --disable-sdl --disable-mencoder --enable-mad --enable-libavcodec --disable-win32
make

when the ERROR occurs, rename codec-cfg.x86 back to codec-cfg and continue with "make"

/********************/
I found the codec-cfg is wrong.
we should run
"make codec-cfg CC=gcc"
first and then run
"make"
/********************/


ARM Linux

Some resources for ARM linux development:

http://www.arm.linux.org.uk
http://nihilisme.ca:8080/arm/

Thursday, June 15, 2006

Restoring sim lock for C600



Re: Locking back the phone








Quote:







Originally Posted by mstanescu

Hi



You wrote this in a posting



"Sim Lock -you may look 0x1C80: 0000000000000000 if all
0000000000000000 that blocking sim no . But this facility does not
allow to change this area -if you know programming -you may change the
program -a principles alike -otherwise use SPV Services for removing
Sim Lock."



I have a c600 phone sim locked. I would like to load i-mate but i would
like to be able to restore CID and sim lock after this in case i want
to sell it or in case of mallfunction. Do you think that if i save
sector 0 and then restore would my phone be locked again?



Thx

Mihai








Save old Sim and CID this is identified the area CID.

pdocread -n 1 0x000000 0x10000 -b 0x4000 old_cid.nb

You simply save the area CID - in this area SIM lock and CID lock.

If you want to return back you it is enough will write back file by command

pdocwrite -n 1 old_cid.nb 0x000000 0x10000 -b 0x4000

Friday, March 10, 2006

Fwd: "Windows cannot display Windows Firewall settings" error while accessing Firewall settings in Windows XP Service Pack 2



Symptoms
  1. When you open Services.msc applet, the Windows Firewall/Internet Connection Sharing (ICS) service may not be available in the listing
  2. Windows Firewall/Internet Connection Sharing (ICS) service is available in Services listing, but you are unable to start the service
  3. You receive the following error message while accessing the firewall settings (firewall.cpl)
Due to an unidentified problem, Windows cannot display Windows Firewall settings.

Cause

This happens due to missing or corrupt SharedAccess reg key, which represents the Windows Firewall Service.

Resolution

Download {sharedaccess.reg} (only for systems running Windows XP Service Pack 2) and save to Desktop. Then double-click the file to merge the contents to the registry. The Services entry will be created. Restart Windows (mandatory step, otherwise the following NETSH command will display an error message).

After restarting Windows, run this from Command Prompt (cmd.exe)

NETSH FIREWALL RESET

Launch firewall applet from Control Panel, and then configure your Windows Firewall settings.

If nothing helps, as a last-resort solution (before reinstalling Windows XP Service Pack 2), give these two commands a try. Click Start, Run and type:

rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%\inf\netrass.inf

Restart Windows, and then run this command (from Command Prompt):

NETSH FIREWALL RESET

Attempt to start Firewall applet. Start the Windows Firewall service if prompted.

save this to a .reg file and run

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess]
"DependOnGroup"=hex(7):00,00
"DependOnService"=hex(7):4e,00,65,00,74,00,6d,00,61,00,6e,00,00,00,57,00,69,00,\
  6e,00,4d,00,67,00,6d,00,74,00,00,00,00,00
"Description"="Provides network address translation, addressing, name resolution and/or intrusion prevention services for a home or small office network."
"DisplayName"="Windows Firewall/Internet Connection Sharing (ICS)"
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
  00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
  6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
"ObjectName"="LocalSystem"
"Start"=dword:00000002
"Type"=dword:00000020

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]
"Epoch"=dword:00002cd0

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
  00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
  69,00,70,00,6e,00,61,00,74,00,68,00,6c,00,70,00,2e,00,64,00,6c,00,6c,00,00,\
  00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications\List]
"%windir%\\system32\\sessmgr.exe"="%windir%\\system32\\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedApplications\List]
"%windir%\\system32\\sessmgr.exe"="%windir%\\system32\\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Setup]
"ServiceUpgrade"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Setup\InterfacesUnfirewalledAtUpdate]
"All"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Enum]
"0"="Root\\LEGACY_SHAREDACCESS\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001