[REVERSING] Old Android stuff - Miscellaneous Android Development

Hey guys!
Just figured out that with the new Android Developer page, Google made all the oooooold releases of the SDK available, including the ancient Milestone 3 and Milestone 5 (Astro Boy and Bender) releases. These are the ones what had the original Cylon style boot animation, and I decided to grab it.
Problem is: none of the current APK reverse tools support or even recognize the old magic header. The dex header is the following:
Code:
64 65 78 0A 30 31 33 00
This is for Milestone 5.
I really want to reverse this, only for the Cylon code, so if ANYONE knows a solution, please, post it!

Related

MSN Pocket Messenger Emoticons found (almost, need help)

NOTE: only for wm2003 and wm2003se version
I am trying to solve the emoticons puzzle from MSN Messenger.
I got messenger from another rom. Perhaps I am missing a
resource dll.
First step is to enter in the registry:
HKCU\Software\Microsoft\MessengerService
"ShowEmoticonsUI"=dword:00000001
Start Messenger and goto the menu Tools > Options...
You will find a new option checkbox "Emoticons"
This will create a new binary value ShowEmoticons 01 00 00 00
in the key mentioned above.
From instmsgr.exe you get the following text:
emasl.bmp
(?)
emhugrt.bmp
(})
emhuglt.bmp
({)
emcake.bmp
(^)
emcat.bmp
(@)
emmusic.bmp
(8)
emstar.bmp
(*)
emcuffs.bmp
(%)
(Z)
emmale.bmp
(z)
(Y)
emthup.bmp
(X)
emfemale.bmp
(x)
(W)
emwilted.bmp
(w)
(U)
emunlove.bmp
(u)
(T)
emphone.bmp
(t)
emsleep.bmp
(S)
(P)
emphoto.bmp
(p)
(N)
emthdown.bmp
(M)
emmessag.bmp
(m)
(L)
emlove.bmp
(l)
(K)
emlips.bmp
(k)
(I)
embulb.bmp
(i)
(H)
emhottie.bmp
(h)
(G)
emgift.bmp
(g)
(F)
emrose.bmp
(f)
(E)
ememail.bmp
(e)
(D)
emcocktl.bmp
(d)
(C)
emcup.bmp
(c)
(B)
embeer.bmp
(b)
;-)
emwink.bmp
emangry.bmp
:[email protected]
emcry.bmp
:'(
:-[
emvamp.bmp
emsmilep.bmp
:-O
emsmileo.bmp
:-o
:->
:-D
:-d
emsmiled.bmp
:-<
:-(
emsad.bmp
:-|
emdgust.bmp
:-s
emcrook.bmp
:-S
emsmile.bmp
Click to expand...
Click to collapse
(note: this forums engine draws some of the text above as emoticons)
So I thought creating some bitmaps in the windows folder and case closed.
But they don´t show in Messenger when typing the Emoticon codes, only white space and the text gets a little messed up.
Anybody that can help me out with these Bitmaps?
width/height, Bits per pixel, RLE?
I used the emoticons from Windows Live beta, but they are PNG 19x19 pixels. Converting them to BMP did not work.
Cheers.
Did you try creating just any BMP image with that size and putting it in the right folder? (since you're unable to convert from PNG to BMP)
Yes, tried everything: every size from 8x8 up to 19x19 pixels, from 8 bits per pixel to 256 to 16k and RLE. In the windows folder you name it. It is hard to determine (using IDA) with decompiling INSTMGR.EXE where they are loaded from. If only there was a tool like sysinternals FILEMON for WINCE.
Another possibility is that the BMP´s must be inserted into the INSTMGR.EXE in a BMP resource section, which is not the case now.
So this is going to be hard...
I don't think inserting BMPs into the executable is a nice idea to be done on a PPC software. You don't really want to load this much data.
I think it's just an unfinished feature and it won't work. However, try putting the files in \program files\msn messenger or \my documents\. If that doesn't work, I don't advise you to waste more time on it
Or you could give up, since the new Windows Live Messenger for Windows Mobile is out soon (currently in beta) and supports smileys.
As usual when they release an updated client, the old client will cease to function after a short while.
Also, nearly every other IM client that supports the messenger protocol supports smileys too.
I don't think Pocket MSN Messenger will be blocked from accessing the service, because WM2003 devices can't use Windows Live Mobile.
Anyway, yeah, time for upgrade I've been trying WLMM for hours and it refuses to connect

.DSM files?

Whether you are building a ROM with or without a 'kitchen' there are lots of .DSM files. Some of these are 0Bytes, others are tiny (2-3Bytes). What are they? I understand the .RGU files (registry entries), but the .DSM files I don't yet understand. I thought they were referenced by the 'option.xml' file in the \SYS folder (in most kitchens anyway?), however some are, others aren't.
Anyone have any details on this?
Thanks
Andy
ADB100 said:
Whether you are building a ROM with or without a 'kitchen' there are lots of .DSM files. Some of these are 0Bytes, others are tiny (2-3Bytes). What are they? I understand the .RGU files (registry entries), but the .DSM files I don't yet understand. I thought they were referenced by the 'option.xml' file in the \SYS folder (in most kitchens anyway?), however some are, others aren't.
Anyone have any details on this?
Thanks
Andy
Click to expand...
Click to collapse
I dont know what they are, but i do know 100%, that you delete these and you will kill your rom! These holder data that is needed in some case but in other not!!
funman said:
I dont know what they are, but i do know 100%, that you delete these and you will kill your rom! These holder data that is needed in some case but in other not!!
Click to expand...
Click to collapse
I don't want to delete them, however I am trying to resolve my L2TP/IPSec issue and I am now grasping at straws......
Andy
Good morning class, today we will be learning about dsm files...
Q:What are dsm files?
A:dsm files are thought to contain important encrypted information about file association.
eg What files are associated with the bluetooth function of your device? Well there's btdrt.dll, bthlink.dll, bthutil.dll, configmanager.dll, configmanager2.dll and so forth. We know this because we've researched the functioning of bluetooth with much detail, using such high tech methods as "What happens if i remove this file...**** my bluetooth doesnt work anymore...."
But how does your device know what files are associated with bluetooth functioning? Well in addition to the info contained in the .exe files it looks inside associated dsm files and decrypts the info thats in there.
Q: This seems confusing, is there some organised way of knowing what dsm files i have? or are they all just randomly put in my rom?
A:.dsm files are referenced by packages.sof. All of them are inside packages.sof
Q: packages.sof looks like a mess, how on earth do i read that?
A:the dsm filenames are just rearranged,
eg
9a6a05e1-cfde-4d32-9a82-85052c4d9de7.dsm appears as
E1 05 6A 9A DE CF 32 4D 9A 82 85 05 2C 4D 9D E7
So basically starting from the left side of the file name you split the first section of the dsm file name into pairs then swap the outside pair, then swap the inside pair.
eg 9a6a05e1 = 9a 6a 05 e1 = E1 05 6A 9A
Then you take the next section and swap the order of the pairs.
eg cfde = cf de = DE CF
Leave the next section alone
eg 9a82 = 9A 82
The last section isnt rearranged either. Its just split into pairs.
eg 85052c4d9de7 = 85 05 2C 4D 9D E7
So adding up all our sections we see that 9a6a05e1-cfde-4d32-9a82-85052c4d9de7.dsm is represented by E1 05 6A 9A DE CF 32 4D 9A 82 85 05 2C 4D 9D E7 inside packages.sof
Q: But how do i know what files are associated with my .dsm files?
A: A mysterious and clever man known only as bepe, gave us some tools. Some say that bepe fell from heaven, others say he was raised by a pack of wild german ladies with boobs as big as car tyres. Ask your history teacher about bepe.
Homework
Write a two-page report detailing why some dsm files (eg b50d833e-7d3f-44ac-615f-2da2c715cd93.dsm) appear in packages.sof but apparently dont reference any files....
Class dismissed, if anybody wants to ask me any questions, i'll be at the bar drinking beer.
Disclaimer: I wrote this with my best intentions, just a bit of fun. This is what i know about dsm files, it is immensely far from being 100% proven theory yet. I know the theory is flawed but it is a work in progress. If you think im wrong then feel free to correct me.
peter petrelli said:
Good morning class, today we will be learning about dsm files...
Q:What are dsm files?
A:dsm files are thought to contain important encrypted information about file association.
eg What files are associated with the bluetooth function of your device? Well there's btdrt.dll, bthlink.dll, bthutil.dll, configmanager.dll, configmanager2.dll and so forth. We know this because we've researched the functioning of bluetooth with much detail, using such high tech methods as "What happens if i remove this file...**** my bluetooth doesnt work anymore...."
But how does your device know what files are associated with bluetooth functioning? Well in addition to the info contained in the .exe files it looks inside associated dsm files and decrypts the info thats in there.
Q: This seems confusing, is there some organised way of knowing what dsm files i have? or are they all just randomly put in my rom?
A:.dsm files are referenced by packages.sof. All of them are inside packages.sof
Q: packages.sof looks like a mess, how on earth do i read that?
A:the dsm filenames are just rearranged,
eg
9a6a05e1-cfde-4d32-9a82-85052c4d9de7.dsm appears as
E1 05 6A 9A DE CF 32 4D 9A 82 85 05 2C 4D 9D E7
So basically starting from the left side of the file name you split the first section of the dsm file name into pairs then swap the outside pair, then swap the inside pair.
eg 9a6a05e1 = 9a 6a 05 e1 = E1 05 6A 9A
Then you take the next section and swap the order of the pairs.
eg cfde = cf de = DE CF
Leave the next section alone
eg 9a82 = 9A 82
The last section isnt rearranged either. Its just split into pairs.
eg 85052c4d9de7 = 85 05 2C 4D 9D E7
So adding up all our sections we see that 9a6a05e1-cfde-4d32-9a82-85052c4d9de7.dsm is represented by E1 05 6A 9A DE CF 32 4D 9A 82 85 05 2C 4D 9D E7 inside packages.sof
Q: But how do i know what files are associated with my .dsm files?
A: A mysterious and clever man known only as bepe, gave us some tools. Some say that bepe fell from heaven, others say he was raised by a pack of wild german ladies with boobs as big as car tyres. Ask your history teacher about bepe.
Homework
Write a two-page report detailing why some dsm files (eg b50d833e-7d3f-44ac-615f-2da2c715cd93.dsm) appear in packages.sof but apparently dont reference any files....
Class dismissed, if anybody wants to ask me any questions, i'll be at the bar drinking beer.
Disclaimer: I wrote this with my best intentions, just a bit of fun. This is what i know about dsm files, it is immensely far from being 100% proven theory yet. I know the theory is flawed but it is a work in progress. If you think im wrong then feel free to correct me.
Click to expand...
Click to collapse
OK, thanks for that. That is the first time I have seen that........
Another couple of questions then if you will oblige me?
1. In the various Kitchens that are out there, there is usually an 'option.xml' file in the \SYS directory that describes the various system packages that can be included in the ROM so they can be selected or excluded. The file is broken up into sections - transcriber, Enterprise, Games, Office etc. Listed in each of these sections are GUID's with a type and a GUID. Type is either 'p' or 'i'; 'p' references the .RGU file containing the registry settings. However the entries with the type 'i' don't seem to reference any GUID-named files I can see? I have applied the conversion logic you detail and the .DSM files don't tie-up with the GUID references, these may be unrelated though? For example the Autoupdate section:
Code:
<Item name="Autoupdate" group="System" checked="true">
<Guid type="p">8be73c02-3437-4c06-88c9-0a2e25bfaf2c</Guid>
<Guid type="i">c05687f7-7d0a-4738-9ecd-e043658f40cd</Guid>
</Item>
I can see the .RGU file (8be73c02-3437-4c06-88c9-0a2e25bfaf2c.rgu), however the second .DSM file is '89fc53c1-ec65-4648-9972-24afb3dcad3c.dsm', if the conversion logic you list is correct it should begin with c153fc89? Unless of course these are unrelated, however the number of GUID's listed always ties-up with the number of .DSM/.RGU files in each package (in different folders - e.g. Autoupdate, Autoupdate_Lang_0409).
2. How do you read the packages.sof? It just appears as few lines of unreadable characters in either Notepad or Wordpad?
3. Can .DSM files be transferred between ROM sources? In my quest to get L2TP/IPSec VPN working in the 5.2.1413 ROM I have been transferring the Enterprise files (ipsec.dll, ipsecsvc.dll, scard.dll & winscard.dll) from earlier ROMs (and other device ROMs) but have not had any (much?) success. Is there some logic to transferring files between ROMs?
Thanks
Andy
1. At this point in time I have no explanation as to why there are absent dsm's. I cant locate the dsm file you describe in any rom, i can only locate references to it. I can only speculate about why this is so.
2. Use a hex editor.
3. Yes you can trasfer dsm files but with mixed results. I have swapped some dsm files but when i did i moved the files associated with them as well. I had mixed success doing this.
I have exams on at the moment so I will look into this matter further towards the end of the month. Sorry my answers to your questions are so short. Good luck with your L2TP/IPSec VPN.

WormsWorldParty Button Fix

How to fix the button issue with games like worms world party on pocket pc
Install buttonfinder (freeware) on ppc and use it to get the codes for each button, when you press them one by one. (codes are like oxC1, just write down the last 2 digits.)
Install Skhexed (trial) and open it. open wwpsave.dat file from the worms directory on your pda.
the file need to be edited to make the game understand device buttons.
Find line 104 (or 109 for some devices especially hp). the line would seem like that:
---> 104 00 00 C1 C4 C4, (if line 104 seems like that: ''104 00 01 00 00 00'', then you have to search for an other line with the codes C1 etc ,and that would usually be the line 109. In that case the line 109 looks like this: 109 00 C1 C3 C3 00)
the 3 codes (Cx, x=number) would be usually in the last 3 colymns but maybe in the inner 3 ,like above. Those codes represent the buttons codes, used for fire, jump and jump2. (from left to right) and we have to change those codes with the codes we had written down from buttonfinder.
Save the changes and enjoy!
On some devices (especially HP like mine, but other brand also) that may dont work, or work for one or two buttons. in that case,the codes need to be changed with CC instead of C1, CD instead of C2 etc.
Click to expand...
Click to collapse
I have uploaded the .dat file modded for Universal,simply download it and replace the one you have on pda.
Feel free to post for other devices as well.

How to make skins/themes?

Well I want to make some themes for so many applications but how? I know for every application it's different. But I don't know from where to start. Should i extract files from .cab than replace and repack or create a new .cab file that interacts with the program or every program has it's own file extension and guides how to make theme. How it's done. Some of the apps I want to make theme for are Iconsoft phone ex, resco photo manager, resco contact manager and there are more but from where to start?
Well, first you would want to have some skill with photoshop!
Then as you said the easiest way to start is to look at other skins and modify them to your needs. Once you get the gist of how to that program's skins work you can create them from scratch.
If you want details for skinning a specific program or feature of windows mobile then let us know and i'm sure you will get a reply!
Moved as not theme release.
Ok guys I want to skin/rework Omnia Lite applications:
http://www.modaco.com/content/i9x0-.../b7300-omnia-lite-applications-for-i900-i910/
I've learned that a .cab program must be open with WinCe Cab manager. I've started with the Audio manager. In the program there were just two dll's. I've extracted them and opened them with Res Hacker. I've though i would se some common Script Language but no...
Just some things like:
0000AB14 E9 03 02 00 FE FF 40 9C 04 00 10 00 05 00 00 00 й•••юя@њ••••••••
0000AB24 FF FF FE FF 41 9C 04 00 18 00 E8 03 00 00 00 яяюяAњ••••и••••
There weren't any pictures in the cab probably none are used in the audio manager but I wanted to at least change colors. But I can't understand anything inside. Oh and one guy said to me that I must sign my dll's what did he mean what is that and how it is done. Thanks for the help!

GTA: Vice City Mobile Modding

GTA: Vice City Mobile Modding​
While the Android version of GTA: Vice City has yet to be released, that shouldn't stop us from preparing for it. Below is what we know so far about the iOS version and most of it should be interchangeable between both iOS and Android. Update: The Android version has been pushed back till sometime next week.
.SET file modding
The gta_vc.set file contains many graphics settings that you can edit. Find your gta_vc.set file and edit it with hex editor like XVI32.
--
View Distance
Offset: 0x5D1
Options:
"66 66 E6", Maximum drawing distance
"66 66 DE",
"66 66 D6",
"66 66 CE",
"66 66 C6",
"66 66 BE",
"66 66 B6 ", *
" 66 66 AE ", Medium drawing distance
" 66 66 A6 ",
" 66 66 9E ",
" 66 66 96 "
" 66 66 8E ",
" 66 66 86 ",
" CC CC 7C ",
" CC CC 6C ",
" CC CC 5C ",
" CD CC 4C ", Minimum drawing distance *
" CC CC A4 ", iOS A4 chipset drawing distance (some sort of custom value)
" CC CC AC", iOS Custom Value (From a GTA3 3GS set file)
* denotes a tested value. Other values may or may not work
Found by Gamerzworld
Click to expand...
Click to collapse
--
Car lights, Traffic lights, Lamps and Flashing Lights
Offset: 0x6E5
Options:
00 = off,
02 = on
Found by Gamerzworld
Click to expand...
Click to collapse
--
Detailed Shadows and Blood
Offset: 0x6E1
Options:
00 = off,
01 = on
Found by Gamerzworld
Click to expand...
Click to collapse
--
Debris
Offset: 0x6E6
Options:
00 = off,
01 = on
Found by Gamerzworld
Click to expand...
Click to collapse
--
Frame Limiter
Offset: 0x5D7
Options:
00 = off,
01 = on
*Can't really test if it still works or not as my 3GS is a frame limit in of itself The game does seem different though when enabled. Should be able to properly test the value when the game releases on Android.
Found by Gamerzworld
Click to expand...
Click to collapse
SCM
Additional opcodes are needed decompile and re-compile original mobile main.scm. Add the following to your VICESCM.INI file in your copy of SannyBuilder.
Code:
VERSION=2.2.Mobile
PUBLISHER=ThirteenAG
DATE=06.12.12
[OPCODES]
03A8=1,save_float_to_debug_file %1d%
03A9=0,save_newline_to_debug_file
0454=3,useless_store_debug_camera_position_to %1d% %2d% %3d%
0463=3,useless_store_debug_camera_target_point_to %1d% %2d% %3d%
0488=1, *model %1o% exists
04B0=2, *%1d% > %2d%; $ > any
04B1=2, *%1d% > %2d%; @ > any
04B2=2, *%1d% > %2d%; any > $
05A9=1,get_debug_state_to %1d%
05AA=1,%1d%
05AB=0,unknown
05AC=1,%1d%
Thanks to ThirteenAG and SilentPL.
Click to expand...
Click to collapse
Great! Can't wait for it to be released!
Sent from my HTC Sensation Z710e using xda app-developers app
The game will be released next week as reported by few blogs. I really thank your for this effort. I'm waiting to buy it.
arafat21 said:
The game will be released next week as reported by few blogs. I really thank your for this effort. I'm waiting to buy it.
Click to expand...
Click to collapse
Yeah it's been confirmed by Rockstar on their website. Kinda disappointing but oh well. I'll try doing some more modding this weekend, I've got a few papers to write for class that are due tomorrow.
This should come in handy for people with devices that aren't as powerful as some of the newer models
GTA
Who know, there is txd files on gta3.img. I think it on gta3img.dxt.dat and other dat files, but how open this?
vice city best
very tanx,vice city is best
I copied with iFunBox files of GTA VC (iPhone4) to the hard drive but on Sanny Builder 3 after adding Additional opcodes, is it looking for a GTA SA Directory and is not accepting GTA VC backup from my hard drive( Documents, gta3vc.app, Library,... in a Folder). Im using VICESCM in VC Folder of C:///Sanny Builder
I want the car lights
greetings
I dont get it, why the porters are disabling light effects for A4 devices. I already enabled all on gta III and there were no laggs
https://www.youtube.com/watch?v=M_-mZa_2an8
Can someone provide a maxed out settings for android device?
thanks in advance.
I got the game but theres too many bugs
Sent from my SGH-T989 using xda app-developers app
This might be a pipe dream, but anyone here remember the PC mods for this game? I wonder if they still have a big IMG file with all the models and textures... if that was accessible and compatible with all the existing car and weapon mods... that would be spectacular!
BlindLemon77 said:
This might be a pipe dream, but anyone here remember the PC mods for this game? I wonder if they still have a big IMG file with all the models and textures... if that was accessible and compatible with all the existing car and weapon mods... that would be spectacular!
Click to expand...
Click to collapse
I remember it... I spent hundreds of hours modding it
There is no gta3.img file. It has been split into few smaller containing txtures. models etc.
I hope someone could look into the Marina car garage mod, that one is so nice! I only can't seem to get it in GTA VC...
Edit: I tried decompiling the main.scm in SannyBuilder but I have to choose a 'valid' game directory which I can't seem to set... Can anybody help me?
how can i edit keyboard layout?
Hmm. Well there is a gta3.img file is the good news, but it only has .dff files, no txd texture files. I cant seem to find any archives (that i know how to open) with the txds! =[[ i WILL make it work haha. i hope.
For galaxy y??
$eNt FrØm JeLLy BlA$T 3.4
WaItIn FoR NemESiS...!!

Categories

Resources