SE-NSE Forums:

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

How A Patch Is Made ?

#1 User is offline   ram_123456789 Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 928
  • Joined: 19-February 08
  • Tutorials Submitted:1

Posted 20 March 2009 - 08:28 AM

can anyone tell me.. how a patch is made ??

can we have source of all patches ??

origin of patches ?

This post has been edited by ram_123456789: 20 March 2009 - 08:29 AM

[url="http://www.4shared.com/dir/6630499/41232d45/sharing.html"]My W550
0

#2 User is offline   justme Icon

  • SVP
  • Icon
  • Group: VIP
  • Posts: 1,376
  • Joined: 09-July 07
  • Gender:Male
  • Location:next door
  • Mobile:Tyra
  • Tutorials Submitted:1

Posted 20 March 2009 - 10:34 AM

Quote

can anyone tell me.. how a patch is made ??

That has been discussed several times, you may use the search ;)

Quote

can we have source of all patches ??

Source? Just open the patch and you'll see which parts of the firmware will be changed.
This signature is a temporary shelter for the poor expelled slobodanski.de smilies

Posted Image
0

#3 User is offline   ram_123456789 Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 928
  • Joined: 19-February 08
  • Tutorials Submitted:1

Posted 20 March 2009 - 02:42 PM

wat abt origin ??

where can get the source of the new walkman layout patch where a walkman1 can be converted to a walkman2.0 ??
[url="http://www.4shared.com/dir/6630499/41232d45/sharing.html"]My W550
0

#4 User is offline   Boysie Icon

  • Member of the year 2009 - Scotsboys' Award winner 2009
  • Icon
  • Group: SE-NSE Awards '09
  • Posts: 9,331
  • Joined: 31-July 08
  • Gender:Male
  • Location:Approx. 6.8 miles down the M3 from cchaos or exactly 268 miles from Corman! :D
  • Mobile:Pimped Wilma!

Posted 20 March 2009 - 02:51 PM

I may be wrong but I would have thought myrzeug would want to keep that to himself! ;)
For helpful posts please use this...Posted Image...Thanks! ;)
Keeping K series modding alive: Amir_82111, mc_kibel & Pro - Respect! ;)
0

#5 User is offline   mojsa Icon

  • SeCrEt PoRt-aL
  • Icon
  • Group: VIP
  • Posts: 2,863
  • Joined: 03-April 08
  • Gender:Male
  • Location:Croatia x)
  • Mobile:w610 & w580
  • Tutorials Submitted:1

Posted 21 March 2009 - 12:30 PM

All is in arm instructions,and I can show you source if you want to :)

:p
0

#6 User is offline   ram_123456789 Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 928
  • Joined: 19-February 08
  • Tutorials Submitted:1

Posted 21 March 2009 - 03:01 PM

can u plz tell the source ?? i am interested ...
[url="http://www.4shared.com/dir/6630499/41232d45/sharing.html"]My W550
0

#7 User is offline   mojsa Icon

  • SeCrEt PoRt-aL
  • Icon
  • Group: VIP
  • Posts: 2,863
  • Joined: 03-April 08
  • Gender:Male
  • Location:Croatia x)
  • Mobile:w610 & w580
  • Tutorials Submitted:1

Posted 21 March 2009 - 07:42 PM

include "x.inc"
;K790 SW-R8BF003
;MediaPlayer to Walkman 2!
;Shows the album cover like in walkman 2 (in the series W)
;(!) Cover image is taken from the path of Current Song Played, and should be called "cover.png"
;Custom position of the cover art: artist / track / album
;Custom position of the icons: cover.png / EQ / shuffle / loop
;EXTRA icons: Artist list / Track list / Album list / Walkman logo
;(!) sysgfx 0xF3B4 = Default cover image
;(!) sysgfx 0xF3B5 = Walkman logo image
;© myrzeug
;v1.1
;Added: Fixed size of cover.png, you can put images with any size and they will be resize to 150x150

patchbody = 0x45BCF000

org patchbody
_getbooks:
		PUSH	{R0-R4,LR}
		LDR	R0, _isneededbookaudioplayerbook
		LDR	R1, _findbook
		BLX	R1
		LDR	R0, [R0,0x74]
		LDR	R4, [R0,4]
		ADR	R5, aCover_png; "cover.png"
		ADDS	R0, R4,	0
		ADDS	R1, R5,	0
		MOVS	R2, 0
		LDR	R3, _intfstat
		BLX	R3
		CMP	R0, 0
		BEQ	_imageID
		LDR	R2, _loadwalkmanimage
		B	_notequal
; ---------------------------------------------------------------------------

_imageID:			; CODE XREF: ROM:45BCF01Aj
		ADDS	R0, R4,	0
		ADDS	R1, R5,	0
		MOV	R2, SP
		LDR	R3, _getimageID
		BLX	R3
		MOV	R4, SP
		LDRH	R2, [R4]
		MOVS	R5, 0
		CMP	R2, 0
		BNE	_notequal
		LDR	R2, _loaddeficon

_notequal:			; CODE XREF: ROM:45BCF01Ej
				; ROM:45BCF032j
		B	_movecover
; ---------------------------------------------------------------------------

_loadimages:			; CODE XREF: ROM:45BCF0A0j
		CMP	R5, 0
		BNE	_move4newimages
		CMP	R4, 0
		BEQ	_move4newimages
		LDRH	R0, [R4]
		LDR	R3, _ImageID_Freet 
		BLX	R3

_move4newimages:			; CODE XREF: ROM:45BCF03Aj
				; ROM:45BCF03Ej
		POP	{R0-R4}
		MOVS	R0, 0xA5
		MOVS	R1, 0x3A
		BL	_drawingimage
		LDR	R2, _artisticon
		MOVS	R0, 8
		MOVS	R1, 0xA3
		BL	_drawingimage
		LDR	R2, _trackicon
		MOVS	R0, 8
		MOVS	R1, 0xBA
		BL	_drawingimage
		LDR	R2, _albumicon
		MOVS	R0, 8
		MOVS	R1, 0xD2
		BL	_drawingimage
		LDR	R2, _walkmanicon
		MOVS	R0, 0xA1
		MOVS	R1, 5
		BL	_drawingimage
		POP	{PC}

; =============== S U B	R O U T	I N E =======================================


_drawingimage:			; CODE XREF: ROM:45BCF04Cp
				; ROM:45BCF056p ...
		PUSH	{R3}
		LDR	R3, _drawimage
		MOV	R12, R3
		POP	{R3}
		BX	R12
; End of function sub_45BCF07A

; ---------------------------------------------------------------------------

_movecover:			; CODE XREF: ROM:loc_45BCF036j
		PUSH	{R7}
		BL	_getdisplay
		ADDS	R7, R0,	0
		ADDS	R1, R2,	0
		MOVS	R0, 0x96
		PUSH	{R0,R1}
		ADDS	R3, R0,	0
		MOVS	R2, 6
		MOVS	R1, 7
		ADDS	R0, R7,	0
		BL	_putchar
		POP	{R2,R3,R7}
		B	_loadimages

; =============== S U B	R O U T	I N E =======================================


_getdisplay:			; CODE XREF: ROM:45BCF086p
		LDR	R3, _get_DisplayGC
		BX	R3
; End of function sub_45BCF0A2


; =============== S U B	R O U T	I N E =======================================


_putchar:			; CODE XREF: ROM:45BCF09Ap
		PUSH	{R3}
		LDR	R3, _voidputchar
		MOV	R12, R3
		POP	{R3}
		BX	R12
; End of function sub_45BCF0A6

; ---------------------------------------------------------------------------
_loaddeficon	DCD 0xF3B4		

_artisticon	DCD 0xECC5		
_trackicon	DCD 0xECC9		
_albumicon	DCD 0xECCC		
_walkmanicon	DCD 0xF3B5		
_drawimage	DCD 0x45318D5C+1	
_isneededbookaudioplayerbook	DCD 0x44F0EB3C+1	
_findbook	DCD 0x4526A354+1	
_intfstat	DCD 0x44E62654+1	
_getimageID	DCD 0x44E16CAC+1	
_ImageID_Freet 	DCD 0x44E16CA0+1	
_get_DisplayGC 	DCD 0x4531D8A4+1	
_voidputchar	DCD 0x4531E37C+1	
aCover_png	du "cover.png",0


Here you go :) Enjoy :)
0

#8 User is offline   ram_123456789 Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 928
  • Joined: 19-February 08
  • Tutorials Submitted:1

Posted 27 March 2009 - 03:56 PM

is there any IAR type file..

i mean the whole project ?
[url="http://www.4shared.com/dir/6630499/41232d45/sharing.html"]My W550
0

#9 User is offline   mojsa Icon

  • SeCrEt PoRt-aL
  • Icon
  • Group: VIP
  • Posts: 2,863
  • Joined: 03-April 08
  • Gender:Male
  • Location:Croatia x)
  • Mobile:w610 & w580
  • Tutorials Submitted:1

Posted 27 March 2009 - 09:13 PM

Nope :) All for that patch currently is in asm,(vkp) :)
0

#10 User is offline   ram_123456789 Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 928
  • Joined: 19-February 08
  • Tutorials Submitted:1

Posted 28 March 2009 - 05:49 AM

View Postmojsa, on 2009-03-28 02:51, said:

Nope :) All for that patch currently is in asm,(vkp) :)


thanks for repling..i am just a noobie. can u help me out ?

if i wana port the patch for my w550.. i need to port all the offset ??
using adv patch porting ...

using winhex i found the hex values in these offset..
W550 SW-R4CB020
;Change the Walkmans layout
;Configurable by ini
;In /usb/other/ini/walkman/
;create icons.ini and labels.ini
;(!) HeapShift (0x4C268E8F)
;v.1.4
;© Mike006
; (p) miguel8e
;www.se-developers.net
;Original idea by MaaTrrIxx
+440a0000 
10DED54: 01B41298390409148C460021 014B98470BE0FFFF11EE6C45
10DED82: 01B41298390409140027 014B98471CE055EE6C45;10DEDA8
10DEDD2: 01B401A90020095E1298 014B98470DE073EE6C45
10DEE10: 011C11980022875E6846F36B 011C301C014B984720E0FFFF
10DEE1C: 326A4088 91EE6C45 

10DEE72: 00220006000E8F5E011C6846F36B 0006000E321C014B98471EE0FFFF
10DEE80: 726A4088 D1EE6C45
10DEED2: 00220006000E8D5E011C6846F36B 0006000E321C014B98471EE0FFFF
10DEEE0: 326A4088 0FEF6C45


wat abt these things .. am i need to prt using adv patch porting.. i mean making asm for each line and finally making a big asm...

158ee10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0B5B14F01233B700027B1A5B3A600F0
158ee20: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF B8F801B4281C311C00230004001437F4
158ee30: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 99FE01B0BCA5BFA600F0ABF8381C01B4
158ee40: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF D44A281C311C00230004001437F48AFE
158ee50: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 01B0F0BDF0B5A8A5AAA600F09AF801B4
158ee60: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 281C311C00230004001437F47BFE01B0
158ee70: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0BDF0B5A6A5A9A600F08BF801B4281C
158ee80: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 311C00230004001437F46CFE01B0F0BD
158ee90: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0B5041C0906090EA9A5ABA6ACA700F0
158eea0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 55F868464088B84A8C4B0FB489199B19
158eeb0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 7F30090409140004001403B4206D2A04
158eec0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 12141B041B14391C37F43EFF06B0F0BD
158eed0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0B5011C141CA0A5A1A6A3A700F036F8
158eee0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 68464088A94A7D4B0FB489199B197F30
158eef0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 000400140904091403B4606D1B041B14
158ef00: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2A041214391C37F41FFF06B0F0BDF0B5
158ef10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 011C141C96A598A699A700F017F86846
158ef20: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 40889B4A6D4B0FB489199B197F300004
158ef30: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 00140904091403B4A06D1B041B142A04
158ef40: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 1214391C37F400FF06B0F0BD1FB5281C
158ef50: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 614900220A7000F033F80025854202D0
158ef60: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 6D1C8542FCD1301C00F02AF800268642
158ef70: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 02D0761C8642FCD1381C00F021F80028
158ef80: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 03D0012803D0022702E0002700E00127
158ef90: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 1FBD1FB5281C504901220A7000F010F8
158efa0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0025854202D06D1C8542FCD1301C00F0
158efb0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 07F80026864202D0761C8642FCD11FBD
158efc0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0B5061C002490B00020009029A16846
158efd0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 6CF714FB404F3F78012F01D032A100E0
158efe0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 37A16CF70BFB684621A100F035F8C0B0
158eff0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 051C2AD02B1C0122FF210131684600F0
158f000: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2FF8281C00F030F8311C0022684696F6
158f010: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 41FF051C782100F01BF800280FD00130
158f020: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 021C002013783B2B08D0402B00DB0933
158f030: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 1B071B0F000118430132F3E7041C281C
158f040: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF A0F67AFF201C50B0F0BD002050B0F0BD
158f050: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 004F3847D552E244004F384769A61045
158f060: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 004F384749A11045004F3847FD9E1045
158f070: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 726200002F007500730062002F006F00
158f080: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 74006800650072002F0069006E006900
158f090: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2F00770061006C006B006D0061006E00
158f0a0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2F0000000000FFFF6C00610062006500
158f0b0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 6C0073002E0069006E00690000000000
158f0c0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 690063006F006E0073002E0069006E00
158f0d0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 690000000000FFFFB05F2F4C000000FF
158f0e0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5B49434F4E3031585D0000005B49434F
158f0f0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 4E3031595D0000005B49434F4E303258
158f100: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5D0000005B49434F4E3032595D000000
158f110: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5B49434F4E3033585D0000005B49434F
158f120: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 4E3033595D0000005B49434F4E303458
158f130: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5D0000005B49434F4E3034595D000000
158f140: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5B415254585D00005B415254595D0000
158f150: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5B4152545D0000005B54524B585D0000
158f160: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5B54524B595D00005B54524B5D000000
158f170: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 5B414C42585D00005B414C42595D0000
158f180: FFFFFFFFFFFFFFFF 5B414C425D000000
158f188: FFFFFFFF FFFFFFFF;color artist (white)
158f18c: FFFFFFFF FFFFFFFF;color track (white)
158f190: FFFFFFFF FFFFFFFF;color album (white)
158f194: FFFFFFFF 12EA0000;icon

[url="http://www.4shared.com/dir/6630499/41232d45/sharing.html"]My W550
0

#11 User is offline   mojsa Icon

  • SeCrEt PoRt-aL
  • Icon
  • Group: VIP
  • Posts: 2,863
  • Joined: 03-April 08
  • Gender:Male
  • Location:Croatia x)
  • Mobile:w610 & w580
  • Tutorials Submitted:1

Posted 28 March 2009 - 12:19 PM

Yes,asm is the best for adv patches :)

You need to port all :)
0

#12 User is offline   ram_123456789 Icon

  • Se-nse-ual
  • PipPipPipPipPipPip
  • View gallery
  • Group: Members
  • Posts: 928
  • Joined: 19-February 08
  • Tutorials Submitted:1

Posted 28 March 2009 - 01:17 PM

i need to port all lines or only the one i duscussed above ..
thanks again for reply...
and can i port from w810 to w550 ?? both have different base address ??

This post has been edited by ram_123456789: 28 March 2009 - 01:56 PM

[url="http://www.4shared.com/dir/6630499/41232d45/sharing.html"]My W550
0

SE-NSE

#13 User is offline   mojsa Icon

  • SeCrEt PoRt-aL
  • Icon
  • Group: VIP
  • Posts: 2,863
  • Joined: 03-April 08
  • Gender:Male
  • Location:Croatia x)
  • Mobile:w610 & w580
  • Tutorials Submitted:1

Posted 28 March 2009 - 08:44 PM

Yes,you can port, :)
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic
  • Bookmark

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users