[Q] - General Questions and Answers

i buy this chines gps from ebay..its running win ce 6.0 ... i use a modified script to acces all my navcore that i instaled. the problem is i don`t know the command for exit...this script was for mio but it works on my gps but the exit button doesent work...the script look like this:
ICONXPBUTTON
x = -8
y = -16
Command = "\Storage Card\MioAutoRun\Programs\Utils\mspower.exe"
SizeNormal = 80
SizePushed = 70
ScaleAlpha = 100
IconNormal = ..\Icons\ff.ico
ScaleAlpha = 100
IconPushed = ..\Icons\ff_.ico
i change the path...still not working....i need the command to exit from a window
i want to be able to exit my script once i hit the exit button

Related

Duke3d ported to PocketPC

Guys,Dukem Nukem 3D is ported to Pocket Pc!!!
Latest version v0.4g
Configuration files for Himalayas,BlueAngel,Universal.
--------------XDA2--------------------
BUTTON: --------------------COMMAND:
Left----------------------------Left
Right--------------------------Right
Up-----------------------------Up
Down--------------------------Down
Pad----------------------------Enter
Contacts----------------------Softkey2
Calendar----------------------Softkey1
Record------------------------Endcall
Volume Up--------------------Volumeup
Volume Down----------------Volumedown
Green Phone button---------Call
TouchScreen-----------------Mousebutton0
Simply download the uploaded .Zip file and extract all in your PocketPc folder or SD! Then use add the .GRP file (you can download Shareware Duke from ftp://ftp.3drealms.com/share/3dduke13.zip ) and run SpvDuke3d.exe!
Universal VGA 0.4f with music support,you need to download Timidity file and extract it to \Storage Card\Timidity
http://www.libsdl.org/projects/SDL_mixer/timidity/timidity.tar.gz
Enjoy!
[Himalayas and BlueAngel file version v0.3b as there are some problems with latest versions.]
[2 Universal versions: QVGA version v0.3b, Landscape VGA v0.4f with music support!]
being for the spv the res is somewhat lower then it would be if it was made for pocketpc i asume
np,the app supports both SmartPhones and PocketPc..
Key codes
unapproachable2kx said:
np,the app supports both SmartPhones and PocketPc..it was rebuilt for that.
But no mapped keys,so I still need know 4 buttons of Xda2.
Click to expand...
Click to collapse
Hi,
Try these:
193 = calendar
194 = contacts
195 = camera
196 = recorder
BR
Doesnt work. :?
I downloaded from that link and it crashes my xda1.
Quiting Duke3d!
I have found a way to quit duke3d! Simply:
change Multi1 = "Call" "" to Multi1 = "" ""
and
change Original_F10 = "" "" to Original_F10 = "Call" ""
(IN Landscape_0)
This should let you close duke3d using the answer button!
Also for better game play choose:
ScreenWidth = 240
ScreenHeight = 180
Rather than:
ScreenWidth = 0
ScreenHeight = 0
There is a big gap at the bottom of the screen but frame rate is greatly improved!
I have not been able to setup the landscape modes but as soon as I do I will post my results!
Below is my .cfg file for the XDAII if it helps anyone.
- XDAII joystick button is crouch and open doors.
- Volume UP/DOWN is strafe left/right.
- Call button quits the game.
- Touching the screen fires
- All remaining buttons is Jump
[Setup]
SetupVersion = "1.3D"
[Engine Setup]
UsingGapi = 1
Platform_Timer_HZ = 100
LandscapeMode = 1
CacheMemory = 2600
ShowFPS = 1
TickRate = 100
TicksPerFrame = 26
ScanCodeMapping = 1
[Scan Code Mapping]
sc_59 = "Escape"
sc_60 = "VolumeUp"
sc_61 = "VolumeDown"
sc_AUX1 = "A"
sc_AUX2 = "Z"
sc_AUX3 = ""
sc_AUX4 = ""
sc_AUX5 = ""
[Screen Setup]
ScreenMode = 1
ScreenWidth = 0
ScreenHeight = 0
Shadows = 0
Password = ""
Detail = 1
Tilt = 0
Messages = 1
Out = 0
ScreenSize = 15
ScreenGamma = 16
[Sound Setup]
FXDevice = 0
MusicDevice = 0
FXVolume = 220
MusicVolume = 200
NumVoices = 4
NumChannels = 2
NumBits = 16
MixRate = 8000
MidiPort = 0x330
BlasterAddress = 0x220
BlasterType = 3
BlasterInterrupt = 5
BlasterDma8 = 1
BlasterDma16 = 5
BlasterEmu = 0x620
ReverseStereo = 0
SoundToggle = 1
VoiceToggle = 1
AmbienceToggle = 1
MusicToggle = 1
[KeyDefinitions]
Move_Forward = "Up" ""
Move_Backward = "Down" ""
Turn_Left = "Left" ""
Turn_Right = "Right" ""
Strafe = "" ""
Fire = "LCtrl" "RCtrl"
Open = "Space" ""
Run = "LShift" "RShift"
AutoRun = "CapLck" ""
Jump = "A" ""
Crouch = "Z" ""
Look_Up = "" ""
Look_Down = "" ""
Look_Left = "Insert" ""
Look_Right = "Delete" ""
Strafe_Left = "4" ""
Strafe_Right = "6" ""
Aim_Up = "2" ""
Aim_Down = "8" ""
Inventory = "Enter" ""
Inventory_Left = "G" ""
Inventory_Right = "M" ""
Holo_Duke = "" ""
Jetpack = "" ""
NightVision = "" ""
MedKit = "" ""
TurnAround = "BakSpc" ""
SendMessage = "" ""
Map = "Tab" ""
Shrink_Screen = "-" "Kpad-"
Enlarge_Screen = "=" "Kpad+"
Center_View = "KPad5" ""
Holster_Weapon = "ScrLck" ""
Show_Opponents_Weapon = "" ""
Map_Follow_Mode = "" ""
See_Coop_View = "" ""
Mouse_Aiming = "" ""
Toggle_Crosshair = "" ""
Steroids = "" ""
Quick_Kick = "`" ""
Next_Weapon = "'" ""
Previous_Weapon = ";" ""
Original_F1 = "" ""
Original_F2 = "" ""
Original_F3 = "" ""
Original_F4 = "" ""
Original_F5 = "" ""
Original_F6 = "" ""
Original_F7 = "" ""
Original_F8 = "" ""
Original_F9 = "" ""
Original_F10 = "" ""
[KeyDefinitions_Landscape0]
Move_Forward = "Up" ""
Move_Backward = "Down" ""
Turn_Left = "Left" ""
Turn_Right = "Right" ""
Strafe = "" ""
Fire = "Enter" ""
Open = "Pound" ""
Run = "LShift" "RShift"
AutoRun = "0" ""
Jump = "VolumeUp" ""
Crouch = "VolumeDown" ""
Look_Up = "" ""
Look_Down = "" ""
Look_Left = "Insert" ""
Look_Right = "Delete" ""
Strafe_Left = "4" ""
Strafe_Right = "6" ""
Aim_Up = "2" ""
Aim_Down = "8" ""
Inventory = "J" ""
Inventory_Left = "G" ""
Inventory_Right = "M" ""
Holo_Duke = "" ""
Jetpack = "" ""
NightVision = "" ""
MedKit = "" ""
TurnAround = "W" ""
SendMessage = "" ""
Map = "Record" ""
Shrink_Screen = "-" "Kpad-"
Enlarge_Screen = "=" "Kpad+"
Center_View = "KPad5" ""
Holster_Weapon = "ScrLck" ""
Show_Opponents_Weapon = "" ""
Map_Follow_Mode = "SoftKey1" ""
See_Coop_View = "" ""
Mouse_Aiming = "" ""
Toggle_Crosshair = "" ""
Steroids = "" ""
Quick_Kick = "`" ""
Next_Weapon = "D" ""
Previous_Weapon = "." ""
Original_F1 = "" ""
Original_F2 = "" ""
Original_F3 = "" ""
Original_F4 = "" ""
Original_F5 = "" ""
Original_F6 = "" ""
Original_F7 = "" ""
Original_F8 = "" ""
Original_F9 = "" ""
Original_F10 = "Call" ""
Multi1 = "" ""
[KeyDefinitions_Landscape1]
Move_Forward = "Left" ""
Move_Backward = "Right" ""
Turn_Left = "Down" ""
Turn_Right = "Up" ""
Strafe = "" ""
Fire = "" ""
Open = "Enter" ""
Run = "LShift" "RShift"
AutoRun = "0" ""
Jump = "A" ""
Crouch = "Enter" ""
Look_Up = "" ""
Look_Down = "" ""
Look_Left = "Insert" ""
Look_Right = "Delete" ""
Strafe_Left = "VolumeDown" ""
Strafe_Right = "VolumeUp" ""
Aim_Up = "2" ""
Aim_Down = "8" ""
Inventory = "J" ""
Inventory_Left = "G" ""
Inventory_Right = "M" ""
Holo_Duke = "" ""
Jetpack = "" ""
NightVision = "" ""
MedKit = "" ""
TurnAround = "W" ""
SendMessage = "" ""
Map = "Record" ""
Shrink_Screen = "-" "Kpad-"
Enlarge_Screen = "=" "Kpad+"
Center_View = "KPad5" ""
Holster_Weapon = "ScrLck" ""
Show_Opponents_Weapon = "" ""
Map_Follow_Mode = "SoftKey1" ""
See_Coop_View = "" ""
Mouse_Aiming = "" ""
Toggle_Crosshair = "" ""
Steroids = "" ""
Quick_Kick = "`" ""
Next_Weapon = "D" ""
Previous_Weapon = "." ""
Original_F1 = "" ""
Original_F2 = "" ""
Original_F3 = "" ""
Original_F4 = "" ""
Original_F5 = "" ""
Original_F6 = "" ""
Original_F7 = "" ""
Original_F8 = "" ""
Original_F9 = "" ""
Original_F10 = "Call" ""
Multi1 = "" ""
[KeyDefinitions_Landscape2]
Move_Forward = "Right" ""
Move_Backward = "Left" ""
Turn_Left = "Up" ""
Turn_Right = "Down" ""
Strafe = "" ""
Fire = "F8" ""
Open = "F9" ""
Run = "LShift" "RShift"
AutoRun = "CapLck" ""
Jump = "A" "/"
Crouch = "Z" ""
Look_Up = "PgUp" "Kpad9"
Look_Down = "PgDn" "Kpad3"
Look_Left = "Insert" "Kpad0"
Look_Right = "Delete" "Kpad."
Strafe_Left = "," ""
Strafe_Right = "." ""
Aim_Up = "Home" "KPad7"
Aim_Down = "End" "Kpad1"
Inventory = "Enter" "KpdEnt"
Inventory_Left = "[" ""
Inventory_Right = "]" ""
Holo_Duke = "H" ""
Jetpack = "J" ""
NightVision = "N" ""
MedKit = "M" ""
TurnAround = "BakSpc" ""
SendMessage = "T" ""
Map = "Tab" ""
Shrink_Screen = "-" "Kpad-"
Enlarge_Screen = "=" "Kpad+"
Center_View = "KPad5" ""
Holster_Weapon = "ScrLck" ""
Show_Opponents_Weapon = "W" ""
Map_Follow_Mode = "F" ""
See_Coop_View = "K" ""
Mouse_Aiming = "U" ""
Toggle_Crosshair = "I" ""
Steroids = "R" ""
Quick_Kick = "`" ""
Next_Weapon = "'" ""
Previous_Weapon = ";" ""
Original_F1 = "" ""
Original_F2 = "" ""
Original_F3 = "" ""
Original_F4 = "" ""
Original_F5 = "" ""
Original_F6 = "" ""
Original_F7 = "" ""
Original_F8 = "" ""
Original_F9 = "" ""
Original_F10 = "" ""
Original_F11 = "" ""
Original_F12 = "" ""
[Controls]
ControllerType = 1
JoystickPort = 0
MouseSensitivity = 32768
ExternalFilename = "EXTERNAL.EXE"
EnableRudder = 0
MouseAiming = 0
MouseButton0 = "Fire"
MouseButtonClicked0 = ""
MouseButton1 = "Strafe"
MouseButtonClicked1 = "Open"
MouseButton2 = "Move_Forward"
MouseButtonClicked2 = ""
JoystickButton0 = "Fire"
JoystickButtonClicked0 = ""
JoystickButton1 = "Strafe"
JoystickButtonClicked1 = "Inventory"
JoystickButton2 = "Run"
JoystickButtonClicked2 = ""
JoystickButton3 = "Open"
JoystickButtonClicked3 = "Crouch"
JoystickButton4 = "Aim_Down"
JoystickButtonClicked4 = ""
JoystickButton5 = "Look_Right"
JoystickButtonClicked5 = ""
JoystickButton6 = "Aim_Up"
JoystickButtonClicked6 = ""
JoystickButton7 = "Look_Left"
JoystickButtonClicked7 = ""
MouseAnalogAxes0 = "analog_turning"
MouseDigitalAxes0_0 = ""
MouseDigitalAxes0_1 = ""
MouseAnalogScale0 = 0
MouseAnalogAxes1 = "analog_moving"
MouseDigitalAxes1_0 = ""
MouseDigitalAxes1_1 = ""
MouseAnalogScale1 = 0
JoystickAnalogAxes0 = "analog_turning"
JoystickDigitalAxes0_0 = ""
JoystickDigitalAxes0_1 = ""
JoystickAnalogScale0 = 0
JoystickAnalogAxes1 = "analog_moving"
JoystickDigitalAxes1_0 = ""
JoystickDigitalAxes1_1 = ""
JoystickAnalogScale1 = 0
JoystickAnalogAxes2 = "analog_strafing"
JoystickDigitalAxes2_0 = ""
JoystickDigitalAxes2_1 = ""
JoystickAnalogScale2 = 0
JoystickAnalogAxes3 = ""
JoystickDigitalAxes3_0 = "Run"
JoystickDigitalAxes3_1 = ""
JoystickAnalogScale3 = 0
GamePadDigitalAxes0_0 = "Turn_Left"
GamePadDigitalAxes0_1 = "Turn_Right"
GamePadDigitalAxes1_0 = "Move_Forward"
GamePadDigitalAxes1_1 = "Move_Backward"
MouseAimingFlipped = 0
GameMouseAiming = 0
AimingFlag = 0
[Comm Setup]
ComPort = 2
IrqNumber = 65535
UartAddress = 0xFFFF
PortSpeed = 9600
ToneDial = 1
SocketNumber = 0xFFFF
NumberPlayers = 2
ModemName = ""
InitString = "ATZ"
HangupString = "ATH0=0"
DialoutString = ""
PlayerName = "DUKE"
RTSName = "DUKE.RTS"
PhoneNumber = ""
ConnectType = 0
CommbatMacro#0 = "An inspiration for birth control."
CommbatMacro#1 = "You're gonna die for that!"
CommbatMacro#2 = "It hurts to be you."
CommbatMacro#3 = "Lucky Son of a *****."
CommbatMacro#4 = "Hmmm....Payback time."
CommbatMacro#5 = "You bottom dwelling scum sucker."
CommbatMacro#6 = "Damn, you're ugly."
CommbatMacro#7 = "Ha ha ha...Wasted!"
CommbatMacro#8 = "You suck!"
CommbatMacro#9 = "AARRRGHHHHH!!!"
PhoneName#0 = ""
PhoneNumber#0 = ""
PhoneName#1 = ""
PhoneNumber#1 = ""
PhoneName#2 = ""
PhoneNumber#2 = ""
PhoneName#3 = ""
PhoneNumber#3 = ""
PhoneName#4 = ""
PhoneNumber#4 = ""
PhoneName#5 = ""
PhoneNumber#5 = ""
PhoneName#6 = ""
PhoneNumber#6 = ""
PhoneName#7 = ""
PhoneNumber#7 = ""
PhoneName#8 = ""
PhoneNumber#8 = ""
PhoneName#9 = ""
PhoneNumber#9 = ""
[Misc]
Executions = 64
RunMode = 1
Crosshairs = 1
WeaponChoice0 = 3
WeaponChoice1 = 4
WeaponChoice2 = 5
WeaponChoice3 = 7
WeaponChoice4 = 8
WeaponChoice5 = 6
WeaponChoice6 = 0
WeaponChoice7 = 2
WeaponChoice8 = 9
WeaponChoice9 = 1
i'm not having much luck with this game
i got the shareware stuff but i cant install it
i get an error no matter which compatility mode i put it in
then when i try just running the duke3d for spv then i get some text black on grey soo fast i cant read what it say
then then i just get a blackscreen untill i softreset
well at one point i could get back without a softreset but the title bars were still black on programs and their close button would not work any more
Rudegar said:
i'm not having much luck with this game
i got the shareware stuff but i cant install it
i get an error no matter which compatility mode i put it in
then when i try just running the duke3d for spv then i get some text black on grey soo fast i cant read what it say
then then i just get a blackscreen untill i softreset
well at one point i could get back without a softreset but the title bars were still black on programs and their close button would not work any more
Click to expand...
Click to collapse
Yup..had you download it on my ftp? it must run well,now all buttons,except Red Phone button are fixed.
(will Upload the new Cfg on a while)
no your site is a bit too italian
i can check the checkbos for the file but pressing any of the 2 buttons one saying aggiorna the other saying scarica dont seem to do anything
also from what i can understand then i need some org gpr file or something but since cant get the shareware game to install on my pc
i cant seem to get hold of that
I have put all Shareware and .exe file into the .RAR so you only have to download and extract to any of your Pocket Pc folder!
Check box and Click to SCARICA,then SALVA.
ok now i somehow got it downloaded i can start it and all but not shoot
from what i can read at pocketgamer this is a known bug
but my problem when i try to close the game i still dont get the titlebar back i tried to run pocket heretic and close it again and i still dont get my title bar back i do seem to get it back if i run the camera but when i close that then my titlebar is lost once more
i'm forced to do a softreset to get my titlebar back
reminds me of pocket tombraider having to softreset to get on with ones life
Rudegar said:
ok now i somehow got it downloaded i can start it and all but not shoot
from what i can read at pocketgamer this is a known bug
but my problem when i try to close the game i still dont get the titlebar back i tried to run pocket heretic and close it again and i still dont get my title bar back i do seem to get it back if i run the camera but when i close that then my titlebar is lost once more
i'm forced to do a softreset to get my titlebar back
reminds me of pocket tombraider having to softreset to get on with ones life
Click to expand...
Click to collapse
You have sumthin' strange.. Have you tryed Fire by tapping the screen?
Also,using Green Phone button,I can exit without problems..had this problem on previous version.. dunno
no havent tried tabing the screen silly me really
i exit the game by using the pickup button
and then when it say y/n i press pickup button once more
maybe it's some of the extre programs i have running
today stuff and vidcomm stack disabled, ms stack disabled, task manager and extPhone
maybe they cause it somehow
when i uninstalled my vidcomm stack because it gave me some trouble
then all of a surden mediaplayer refused to play wma files saying it didint have the right codec
so i tried doing a hardreset and then i wanted to try duke3d on a clean system but it still take my titlebar away when i close the game
maybe it's an qtek 1.66 rom issue
or maybe it dont like being run from the sd card
Just let you know new version is out (0.4b) Rudegar,try it now..I am sure exit bug is fixed!
where is it at ?
i tried getting it from the org place where it's only the basics
and not your bigger version with everything but the one i just gotten the basic one is still only 0.03b
with the latest 0.4 all my problems are solved well duke related problems that is (excluding duke 4ever )

USB DUN: a working wvdial.conf for ATT?

Hello I have a Fuze with the stock ROM and am trying to get USB DUN working on GNU/Linux with wvdial. I have tried the following wvdial.conf and some variations of it all with the same problem. I keep getting error code 16 "The modem has hung up" when dialing. If anyone could post a working wvdial.conf for their ATT phone that would be great. I can post the exact error log or anything else if needed. Thanks.
Edit:
Same problem as in this thread:
http://forum.xda-developers.com/showthread.php?p=2609673
[Dialer Defaults]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = ATZ
Init2 = ATZ+CGDCONT=1,"IP","ISP.CINGULAR"
Init3 =
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99#
Phone1 =
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Dial Command = ATDT
#Ask Password = on
Password = CINGULAR1
Username = [email protected]
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on
Now this is what I call a bump.

242 click root - obtain root via shell script

Inspired by rage against the cage, I thought this exploit should be possible by shell script. Wanting a nice simple one liner like:
Code:
:(){ :|:& };:
But this uses too much memory per forked process and does not persist when controlling terminal exits.
After much hacking:
f(){ trap "exec sleep 900" 0; trap echo HUP ; sleep 1; while true; do sleep 1 | sleep 1 & done } ; ( f & ) ; ( ( trap f HUP ; while true ; do cat ; done ) & ) ; ( trap "exec kill -1 -1" 0 ; while true ; do echo z | echo z ; sleep 10 ; done )
Code:
f(){ trap "exec sleep 900" 0; trap echo HUP ; sleep 1; while true; do sleep 1 | sleep 1 & done } ; ( f & ) ; ( ( trap f HUP ; while true ; do cat ; done ) & ) ; ( trap "exec kill -1 -1" 0 ; while true ; do echo z | echo z ; sleep 10 ; done )
Tested on emulator and froyo galaxy tab but should work on any froyo android or earlier.
This only requires an android terminal, eg jackpal's android terminal emulator(based on original android sources)
Simple type it in at the $ prompt. The terminal will automatically end. On my froyo galaxy tab it autorestarts but other systems may require you to restart the terminal.
If your not keen on your 242 clicks copy the shell command into a text file and save/copy to /sdcard/z then simply at prompt
Code:
$ . /sdcard/z
This does not require adb, busybox or anything else, you don't even need usb debugging on.
Enjoy.
Richard.
Any chance it would work on Honeycomb 3.1? The Toshiba Thrive hasn't been rooted yet so we're looking for a way.
I doubt it. It uses the same exploit as rage against the cage. Fixed in gingerbread, and I am pretty sure honeycomb as well. This is not a new method of getting root just a novel way of reimplementing an exiting one.
Richard.

[DEV] Dumping out the kernel, ROM, etc.

Let's discuss how we could dump out the kernel, ROMS, etc. from Galaxy R:
The following command would help to dump the kernel out (need su)
Code:
cat /dev/block/mmcblk0p9 > /sdcard/boot-i9103.img
The following command should help to dump the /system/ out (need su)
Code:
cat /dev/block/mmcblk0p2 > /sdcard/system-i9103.img
legion1911 said:
If you dump with su you have su in the dump, no?
How about a temporary root solution?
Click to expand...
Click to collapse
Yes, dumping out the /system/ will contain su
But what it means is just dumping the /bin/su and /system/app/Superuser.apk inclusively.
After dumping out, one can remove the su & superuser.apk to make a 'non-rooted' ROM, if necessary.
ardatdat said:
After dumping out, one can remove the su & superuser.apk to make a 'non-rooted' ROM, if necessary.
Click to expand...
Click to collapse
Please explain how to do it on Windows 7.
Sense this device is tegra we can use nvflash to dump almost any kind of stuff from device, but my problem is that when i try to read or read raw from device nvflash hangs, on this weekend i will try and see what i can debug from usbmon and maybe then i will have some clue, until the only good way is to raw copy of block partitions like you mentioned
by the way if this helps this is what i get in my bct file (dumped with bct_dump for chromeos but worked for me)
Code:
Version = 0x00020001;
BlockSize = 0x00004000;
PageSize = 0x00000200;
PartitionSize = 0x01000000;
# Bootloader used = 1;
# Bootloaders max = 4;
# BCT size = 4080;
# Hash size = 16;
# Crypto offset = 16;
# Crypto length = 4064;
# Max BCT search blocks = 64;
#
# These values are set by cbootimage using the
# bootloader provided by the Bootloader=...
# configuration option.
#
# Bootloader[0].Version = 0x00000001;
# Bootloader[0].Start block = 224;
# Bootloader[0].Start page = 0;
# Bootloader[0].Length = 1345716;
# Bootloader[0].Load address = 0x00108000;
# Bootloader[0].Entry point = 0x00108000;
# Bootloader[0].Attributes = 0x00000004;
SDRAM[0].MemoryType = NvBootMemoryType_LpDdr2;
SDRAM[0].PllMChargePumpSetupControl = 0x00000008;
SDRAM[0].PllMLoopFilterSetupControl = 0x00000000;
SDRAM[0].PllMInputDivider = 0x0000001a;
SDRAM[0].PllMFeedbackDivider = 0x00000258;
SDRAM[0].PllMPostDivider = 0x00000000;
SDRAM[0].PllMStableTime = 0x0000012c;
SDRAM[0].EmcClockDivider = 0x00000001;
SDRAM[0].EmcAutoCalInterval = 0x00000000;
SDRAM[0].EmcAutoCalConfig = 0xe0a61111;
SDRAM[0].EmcAutoCalWait = 0x00000000;
SDRAM[0].EmcPinProgramWait = 0x00000000;
SDRAM[0].EmcRc = 0x00000012;
SDRAM[0].EmcRfc = 0x00000027;
SDRAM[0].EmcRas = 0x0000000d;
SDRAM[0].EmcRp = 0x00000006;
SDRAM[0].EmcR2w = 0x00000007;
SDRAM[0].EmcW2r = 0x00000005;
SDRAM[0].EmcR2p = 0x00000003;
SDRAM[0].EmcW2p = 0x0000000b;
SDRAM[0].EmcRrd = 0x00000003;
SDRAM[0].EmcRdRcd = 0x00000006;
SDRAM[0].EmcWrRcd = 0x00000006;
SDRAM[0].EmcRext = 0x00000003;
SDRAM[0].EmcWdv = 0x00000003;
SDRAM[0].EmcQUseExtra = 0x00000006;
SDRAM[0].EmcQUse = 0x00000007;
SDRAM[0].EmcQRst = 0x00000004;
SDRAM[0].EmcQSafe = 0x00000009;
SDRAM[0].EmcRdv = 0x0000000d;
SDRAM[0].EmcRefresh = 0x0000045f;
SDRAM[0].EmcBurstRefreshNum = 0x00000000;
SDRAM[0].EmcPdEx2Wr = 0x00000004;
SDRAM[0].EmcPdEx2Rd = 0x00000004;
SDRAM[0].EmcPChg2Pden = 0x00000006;
SDRAM[0].EmcAct2Pden = 0x00000008;
SDRAM[0].EmcAr2Pden = 0x00000001;
SDRAM[0].EmcRw2Pden = 0x0000000f;
SDRAM[0].EmcTxsr = 0x0000002a;
SDRAM[0].EmcTcke = 0x00000003;
SDRAM[0].EmcTfaw = 0x0000000f;
SDRAM[0].EmcTrpab = 0x00000007;
SDRAM[0].EmcTClkStable = 0x00000007;
SDRAM[0].EmcTClkStop = 0x00000002;
SDRAM[0].EmcTRefBw = 0x000004e1;
SDRAM[0].EmcFbioCfg1 = 0x00000000;
SDRAM[0].EmcFbioDqsibDlyMsb = 0x00000000;
SDRAM[0].EmcFbioDqsibDly = 0x2f2f2f2f;
SDRAM[0].EmcFbioQuseDlyMsb = 0x00000000;
SDRAM[0].EmcFbioQuseDly = 0x2f2f2f2f;
SDRAM[0].EmcFbioCfg5 = 0x00000282;
SDRAM[0].EmcFbioCfg6 = 0x00000002;
SDRAM[0].EmcFbioSpare = 0x00000000;
SDRAM[0].EmcMrsResetDllWait = 0x00000000;
SDRAM[0].EmcMrsResetDll = 0x00000000;
SDRAM[0].EmcMrsDdr2DllReset = 0x00000000;
SDRAM[0].EmcMrs = 0x00000000;
SDRAM[0].EmcEmrsEmr2 = 0x00000000;
SDRAM[0].EmcEmrsEmr3 = 0x00000000;
SDRAM[0].EmcEmrsDdr2DllEnable = 0x00000000;
SDRAM[0].EmcEmrsDdr2OcdCalib = 0x00000000;
SDRAM[0].EmcEmrs = 0x00000000;
SDRAM[0].EmcMrw1 = 0x0001008a;
SDRAM[0].EmcMrw2 = 0x00020004;
SDRAM[0].EmcMrw3 = 0x00030002;
SDRAM[0].EmcMrwResetCommand = 0x003f0000;
SDRAM[0].EmcMrwResetNInitWait = 0x0000000a;
SDRAM[0].EmcAdrCfg1 = 0x00070303;
SDRAM[0].EmcAdrCfg = 0x01070303;
SDRAM[0].McEmemCfg = 0x00100000;
SDRAM[0].McLowLatencyConfig = 0x80000003;
SDRAM[0].EmcCfg2 = 0x00000403;
SDRAM[0].EmcCfgDigDll = 0xe0000413;
SDRAM[0].EmcCfgClktrim0 = 0x00000000;
SDRAM[0].EmcCfgClktrim1 = 0x00000000;
SDRAM[0].EmcCfgClktrim2 = 0x00000000;
SDRAM[0].EmcCfg = 0x0001ff00;
SDRAM[0].EmcDbg = 0x01000020;
SDRAM[0].AhbArbitrationXbarCtrl = 0x00010000;
SDRAM[0].EmcDllXformDqs = 0x00000010;
SDRAM[0].EmcDllXformQUse = 0x00000008;
SDRAM[0].WarmBootWait = 0x00000001;
SDRAM[0].EmcCttTermCtrl = 0x00000802;
SDRAM[0].EmcOdtWrite = 0x00000000;
SDRAM[0].EmcOdtRead = 0x00000000;
SDRAM[0].EmcZcalRefCnt = 0x00000000;
SDRAM[0].EmcZcalWaitCnt = 0x0000001b;
SDRAM[0].EmcZcalMrwCmd = 0x000a0056;
SDRAM[0].EmcMrwZqInitDev0 = 0x800a00ff;
SDRAM[0].EmcMrwZqInitDev1 = 0x400a00ff;
SDRAM[0].EmcMrwZqInitWait = 0x00000001;
SDRAM[0].EmcDdr2Wait = 0x00000000;
SDRAM[0].PmcDdrPwr = 0x00000000;
SDRAM[0].ApbMiscGpXm2CfgAPadCtrl = 0x77ffc000;
SDRAM[0].ApbMiscGpXm2CfgCPadCtrl2 = 0x08080040;
SDRAM[0].ApbMiscGpXm2CfgCPadCtrl = 0x77fffff8;
SDRAM[0].ApbMiscGpXm2CfgDPadCtrl2 = 0x00000000;
SDRAM[0].ApbMiscGpXm2CfgDPadCtrl = 0x77fffff8;
SDRAM[0].ApbMiscGpXm2ClkCfgPadCtrl = 0x77ffc000;
SDRAM[0].ApbMiscGpXm2CompPadCtrl = 0x01f1f008;
SDRAM[0].ApbMiscGpXm2VttGenPadCtrl = 0x00005500;
---------- Post added at 02:13 AM ---------- Previous post was at 01:59 AM ----------
legion1911 said:
Please explain how.
Click to expand...
Click to collapse
I think by mounting this image like a loop device in linux and deleting unneeded files from what i know SGR uses ext4 file system
Welcome SPLESH!
1) Please give us a download link for the nvflash you use and let us know about your progress.
2) "I think by mounting this image like a loop device in linux and deleting unneeded files from what i know SGR uses ext4 file system"
I do not use linux. How I do it in windows?
---------- Post added at 04:40 AM ---------- Previous post was at 03:41 AM ----------
ardatdat said:
Let's discuss how we could dump out the kernel, ROMS, etc. from Galaxy R:
The following command would help to dump the kernel out (need su)
Code:
cat /dev/block/mmcblk0p9 > /sdcard/boot-i9103.img
The following command should help to dump the /system/ out (need su)
Code:
cat /dev/block/mmcblk0p2 > /sdcard/system-i9103.img
Click to expand...
Click to collapse
Nice. How I do that on Windows 7?
legion1911 said:
Please explain how to do it on Windows 7.
Click to expand...
Click to collapse
on Windows 7 How?
Hi
Ok I will look to find a way to extract and pack it back or at least modify image itself (I do not have Windows and I will have to install it in virtualBox)
Look in this thread about magiciso (rfs and maybe ext4):
http://forum.xda-developers.com/showthread.php?t=879569
And of cause Linux reader (I can not verify it with image but i used it for real PC disk partitions):
http://www.diskinternals.com/linux-reader/
About nvflash, this thread have much info about it (it is for G Tablet but work as well on SGR, or maybe not so well but i will research more on it):
http://forum.xda-developers.com/showthread.php?t=861950
---------- Post added at 10:27 AM ---------- Previous post was at 10:06 AM ----------
To put device into nvflash mod you need:
unplug USB cable
turn device off
remove battery
press VOL_UP and VOL_DOWN and hold them
insert USB cable
press HOME for 1-2 sec
press POWER
verify device (windows should detect new device, on linux run lsusb and see for Nvidia Inc device)
release POWER, HOME, and VOL keys
on Windows install APX driver from post, on Linux run lsusb and look for Nvidia Inc device remember ID XXXX:XXXX (first part is vendor and do not change) and create udev rule for it with this line: SUBSYSTEM=="usb", ATTR{idVendor}=="0955", ATTR{idProduct}=="7f20", MODE="0660", GROUP="plugdev"
now you can run nvflash --sync (with out bootloader) just to verify it can connect
SPLESH!
I am so glad you are in this forum.
Greetings to Crimea!
May be I need use nvflash with USB JIG to be able to operate it will make one and try to operate with it on this weekend and will share my results with you guys
Hi
Can some one who rooted device but did not changed stock kernel post output of after su:
adb shell cat /sys/firmware/fuse/odm_production_mode > odm_production_mode.txt
adb shell cat /sys/firmware/fuse/sec_boot_dev_cfg >
sec_boot_dev_cfg.txt
adb shell cat /sys/firmware/fuse/sec_boot_dev_sel > sec_boot_dev_sel.txt
and probably all content of /sys/firmware/fuse will be useful for my investigation
I understand that this may be different among devices but just for reference this info will be interesting to look at
Some thought about partitions layout
Code:
mmc0->cid=15010056414c30304d11593326177e00
mmc0->csd=d02701320f5903fff6dbffef8a404000
mmc0->name=VAL00M
mmc0->type=MMC
mmc0->oemid=0x0100
mmc0->serial=0x59332617
mmc0->manfid=0x000015
mmc0->preferred_erase_size=524288
mmc0->erase_size=524288
mmc0->date=07/2011
mmcblk0->dev=179:0
mmcblk0->range=8
mmcblk0->ext_range=255
mmcblk0->removable=0
mmcblk0->ro=0
mmcblk0->size=15104000
mmcblk0->alignment_offset=0
mmcblk0->discard_alignment=0
mmcblk0->capability=50
p0->size=??? /bct,/pt,/flags
p1->size=24576 /efs ~11Mb
p2->size=1228800 /system ~503Mb
p3->size=638976 /cache ~307Mb
p4->size=7865344 /sdcard ~3Gb
p5->size=4096 radio? ~2Mb
p6->size=4194304 /data ~1Gb
p7->size=32768 radio? ~15Mb
p8->size=10240 recavery ~5Mb
p9->size=16384 boot ~8Mb
p10->size=16384 hidden? ~8Mb
p11->size=1048576 factoryfs? ~500Mb
It is more than a month since I played with this, but if I remember correctly, p8 is recovery, p9 is boot.
These 2 partitions need special scripts to unzip. Check here:
Code:
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images
System partition is probably a standard Linux partition and is easy to mount on any Linux system.
I used dd to dump them, which essentially does the same thing as cat but with more options.
Yes you are correct and p5 and p7 are both radio related so the first 10 or so mb are for low level hboot/fastboot, partition table and etc
Sent from my GT-I9103 using XDA App
Sorry did not read the kernel code p5 is MISC partition
I lost ability to play with flash (some thing happend with VOL keys) it is good that i rooted it and instlled cwm just a day beffore (we had snow and ice no the road and I fail and paranty damedjed buttons) but I will continue to work on kernel until i will get it repared (new year, and etc)
SPLESH said:
I lost ability to play with flash (some thing happend with VOL keys) it is good that i rooted it and instlled cwm just a day beffore (we had snow and ice no the road and I fail and paranty damedjed buttons) but I will continue to work on kernel until i will get it repared (new year, and etc)
Click to expand...
Click to collapse
Did you open your device to check the electronics? Because I doubt you could damage the buttons permanently by software.
No i did it in more bad way also dameged side of device not so raw but this thin thing which they use for buttons is broken i did open it and removed broken pice of plastic and fexible pcb with buttons on it glad it at least work cause i was thinking it is it will have to replace this two parts
Sent from my GT-I9103 using XDA App
---------- Post added at 05:32 PM ---------- Previous post was at 05:11 PM ----------
This part "KEY FPCB-VOLUME KEY(GT-I9103) GH59-11005A" and plastic button part they should not cost much but it is little inconvenient for me now
SPLESH said:
Some thought about partitions layout
Code:
mmc0->cid=15010056414c30304d11593326177e00
mmc0->csd=d02701320f5903fff6dbffef8a404000
mmc0->name=VAL00M
mmc0->type=MMC
mmc0->oemid=0x0100
mmc0->serial=0x59332617
mmc0->manfid=0x000015
mmc0->preferred_erase_size=524288
mmc0->erase_size=524288
mmc0->date=07/2011
mmcblk0->dev=179:0
mmcblk0->range=8
mmcblk0->ext_range=255
mmcblk0->removable=0
mmcblk0->ro=0
mmcblk0->size=15104000
mmcblk0->alignment_offset=0
mmcblk0->discard_alignment=0
mmcblk0->capability=50
p0->size=??? /bct,/pt,/flags
p1->size=24576 /efs ~11Mb
p2->size=1228800 /system ~503Mb
p3->size=638976 /cache ~307Mb
p4->size=7865344 /sdcard ~3Gb
p5->size=4096 radio? ~2Mb
p6->size=4194304 /data ~1Gb
p7->size=32768 radio? ~15Mb
p8->size=10240 recavery ~5Mb
p9->size=16384 boot ~8Mb
p10->size=16384 hidden? ~8Mb
p11->size=1048576 factoryfs? ~500Mb
Click to expand...
Click to collapse
If I use this for BoardConfig.mk , how can I convert the sizes to hex values/bytes ?
EmoBoiix3 said:
If I use this for BoardConfig.mk , how can I convert the sizes to hex values/bytes ?
Click to expand...
Click to collapse
this values are taken from:
Code:
/sys/devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0
Code:
adb shell cat /sys/devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0:0001/block/mmcblk0/mmcblk0p*/size
And this sizes is in blocks, 2048 byte each.

BlueStacks ADB HELP, please & TY

Code:
local $results, $h, $PID, $BlueStacks_Path
$BlueStacks_Path = @ProgramFilesDir & "\BlueStacks\"
$BlueStacks_Path = StringReplace($BlueStacks_Path, "\\", "\")
$h = Run($BlueStacks_Path & "hd-Adb connect localhost","","",$STDIO_INHERIT_PARENT)
sleep(1000)
$PID = run($BlueStacks_Path & "HD-Frontend.exe Testing")
WinGetProcess($PID)
sleep(1000)
Do
$result = run($BlueStacks_Path & "HD-Adb shell getprop sys.boot_completed", "", "", BitOR($STDIN_CHILD, $STDERR_MERGED))
ConsoleWrite("$result: " & $result & @CRLF)
sleep(1000)
until $result = 1
Hi ALL, I am really knew at this and I am trying to figure out why I get an infinite loop when I am checking to see if BlueStacks is open.
If I do everything command line based, everything WORKS as above, but when I put it in AutoIT it just LOOPS & LOOPS & LOOPS. When I do the consolewrite, it's like it is giving me a PID# rather than return 1.
What am I doing wrong?

Categories

Resources