Jump to content


Redraw VolumeControl GUI


  • Please log in to reply
191 replies to this topic

#181 OFFLINE   farid1991

farid1991
  • Members
  • PipPipPipPip
  • Makes Se-nse

  • 305 posts
  • Gender:Male
  • Location:Indonesia
  • Mobile:G502 R1FA037, K550 R8BA024, K800 R8BF003
  • Twitter:@irwan_farid

Posted 25 April 2012 - 12:01 PM

 diezil, on 28 March 2012 - 08:04 AM, said:

Yes, I have private version of patch running fine on w580, no reboot in java =)

------------------------

@bl (type is offset at 0x20 in book)

extern "C"
int NEW_VOLUMEONPAGENTER( void *mess, BOOK *book )
{
	VolumeBOOK *VC = (VolumeBOOK*)book;
	if ( VC->type == 1 )
	{
		DEFAULT_VOLUMEONPAGENTER( mess, book );
	}
	else
	{
		.... whatever code you have in your function
	}
}


can you give me W580 R8BE001 dumped VolumeBOOK (VolumeControllerBook)   :newhere:
SE-indo.net
RESPECT: Mike006, K790Alex, blacklizard, anarkes

#182 OFFLINE   diezil

diezil
  • VIP
  • SVP

  • 1,647 posts
  • Gender:Male
  • Location:Newcastle Upon Tyne, England
  • Mobile:w800i, w810i, w580, w850, k770, k800, k850i, c902, xperia u
  • Tutorials Submitted:4

Posted 25 April 2012 - 12:11 PM

there is a suspend flag in VolumeControlBook that is set when in java/sleepmode is activated etc to stop the phone creating the VolumeControl gui, patch resets the flag so that gui will be created =)

 farid1991, on 25 April 2012 - 12:01 PM, said:

can you give me W580 R8BE001 dumped VolumeBOOK (VolumeControllerBook)   :newhere:
I don't have it anymore lol, I can give you patch to dump BOOK*/GUI*/DIDP_OBJ*, give me time to have a cuppa and i'll upload it for you :)

EDIT: addresses are for w800 R1BD001 but can easily be ported across platform (see VolumeControl_Active_Page)
port addresses in "asm/GENERIC.asm"/"xcl/GENERIC.xcl" and structs will be dumped when you press a volume button when audio is playing :)

he is written in iar, compile like elfpack after addresses are ported :)

DON'T forget to change the file output dir's in VolumeRedraw.c !!!

Attached Files


Edited by diezil, 25 April 2012 - 12:25 PM.

System sends: 0100100101100100011001010110111001110100011010010110011001111001
User responds: 011001000110100101100101011110100110100101101100

diezil: born 9-12-1998 laid to rest 2-8-2012 you'll always be loved, never forgotten.

#183 OFFLINE   farid1991

farid1991
  • Members
  • PipPipPipPip
  • Makes Se-nse

  • 305 posts
  • Gender:Male
  • Location:Indonesia
  • Mobile:G502 R1FA037, K550 R8BA024, K800 R8BF003
  • Twitter:@irwan_farid

Posted 25 April 2012 - 12:19 PM

 diezil, on 25 April 2012 - 12:11 PM, said:

I don't have it anymore lol, I can give you patch to dump BOOK*/GUI*/DIDP_OBJ*, give me time to have a cuppa and i'll upload it for you :)

Thanks, but i need dumped file mate  :welcome:

btw, nice patch  :byebye:
;G502 R1FA037
;skip VolumeControl suspend check
;create VC GUI in places like java/sleepmode
;(c) diezil
;(p) farid
116DFB30: 205C002812D1 00252554C046

SE-indo.net
RESPECT: Mike006, K790Alex, blacklizard, anarkes

#184 OFFLINE   diezil

diezil
  • VIP
  • SVP

  • 1,647 posts
  • Gender:Male
  • Location:Newcastle Upon Tyne, England
  • Mobile:w800i, w810i, w580, w850, k770, k800, k850i, c902, xperia u
  • Tutorials Submitted:4

Posted 25 April 2012 - 12:29 PM

 farid1991, on 25 April 2012 - 12:19 PM, said:

Thanks, but i need dumped file mate  :welcome:

btw, nice patch  :byebye:
;G502 R1FA037
;skip VolumeControl suspend check
;create VC GUI in places like java/sleepmode
;(c) diezil
;(p) farid
116DFB30: 205C002812D1 00252554C046
thanks =)

but I don't have any dumps, I deleted them :(, don't be lazy patch is for IAR there is only 4 addresses to port, the rest are in elfpack lib :p
System sends: 0100100101100100011001010110111001110100011010010110011001111001
User responds: 011001000110100101100101011110100110100101101100

diezil: born 9-12-1998 laid to rest 2-8-2012 you'll always be loved, never forgotten.

#185 OFFLINE   farid1991

farid1991
  • Members
  • PipPipPipPip
  • Makes Se-nse

  • 305 posts
  • Gender:Male
  • Location:Indonesia
  • Mobile:G502 R1FA037, K550 R8BA024, K800 R8BF003
  • Twitter:@irwan_farid

Posted 25 April 2012 - 03:14 PM

 diezil, on 25 April 2012 - 12:29 PM, said:

thanks =)

but I don't have any dumps, I deleted them :(, don't be lazy patch is for IAR there is only 4 addresses to port, the rest are in elfpack lib :p

but i wanna compare W580(DB2020) and G502(DB3150)

i'm already know how to dump :p
SE-indo.net
RESPECT: Mike006, K790Alex, blacklizard, anarkes

#186 OFFLINE   diezil

diezil
  • VIP
  • SVP

  • 1,647 posts
  • Gender:Male
  • Location:Newcastle Upon Tyne, England
  • Mobile:w800i, w810i, w580, w850, k770, k800, k850i, c902, xperia u
  • Tutorials Submitted:4

Posted 25 April 2012 - 04:06 PM

I'm a little busy at the minute writing my own volume skinner patch and editor so don't really have the time to dump books in w580 as my attention is in w800/c902, from what I seen there is very little/no difference in books in DB2010/2012/2020/3150, I'm using same BOOK* struct for all platform in my patch :)

// not sure of his actual size
typedef struct _VolumeBOOK
{
	char unk[ GUI_OFFSET ];
	VolumeGUI* gui;
	int unk1;
	char suspend;
	char unk2;
	unsigned short timerID;		//0x22
	
	// ... more data
}VolumeBOOK;

System sends: 0100100101100100011001010110111001110100011010010110011001111001
User responds: 011001000110100101100101011110100110100101101100

diezil: born 9-12-1998 laid to rest 2-8-2012 you'll always be loved, never forgotten.

#187 OFFLINE   crisbeto

crisbeto
  • Members
  • PipPipPipPipPip
  • Se-nse-ible

  • 523 posts
  • Gender:Male
  • Location:Bulgaria

Posted 24 July 2012 - 09:54 AM

I know it's been quite a while since the last reply in this thread, but did anyone manage to fix that restart in java bug?

#188 OFFLINE   Boysie

Boysie
  • Super Moderators
  • Mrs Miggins

  • 37,166 posts
  • Gender:Can't decide
  • Location:Between a rock and a hard place
  • Mobile:X10 (CM10.1 v10) - K800
  • Tutorials Submitted:One or two

Posted 24 July 2012 - 10:11 AM

Yes. There is patch by diezil ;)

See above.

Personal messages that have no need to be private will not be answered. We have a forum for asking questions so please use it.


#189 OFFLINE   crisbeto

crisbeto
  • Members
  • PipPipPipPipPip
  • Se-nse-ible

  • 523 posts
  • Gender:Male
  • Location:Bulgaria

Posted 24 July 2012 - 01:06 PM

I cant seem to fint it  :confused:

#190 OFFLINE   andwie

andwie
  • Super Moderators
  • Retired GFX Porter

  • 1,950 posts
  • Gender:Can't decide
  • Mobile:SE J105, LG E400, BlackBerry 9300
  • Twitter:@ndwtf
  • Tutorials Submitted:-

Posted 24 July 2012 - 01:12 PM

This one :rolleyes:
;skip VolumeControl suspend check
;create VC GUI in places like java/sleepmode
;(c) diezil


#191 OFFLINE   Kanibal

Kanibal
  • New Members
  • n00b

  • 1 posts

Posted 27 October 2012 - 02:51 AM

Hi,
blacklizard, i been read the post and nice elf,
great idea,
but i see have problems with DB2020, i have
a v630i@w660 and if ported to my phone it works fine?

Thanks

#192 OFFLINE   andwie

andwie
  • Super Moderators
  • Retired GFX Porter

  • 1,950 posts
  • Gender:Can't decide
  • Mobile:SE J105, LG E400, BlackBerry 9300
  • Twitter:@ndwtf
  • Tutorials Submitted:-

Posted 27 October 2012 - 03:35 AM

Yes if you port them correctly (including the fix patch)


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users