Hello everyone.
It is possible to modify compiled assemblies useing tools like mono.cecil or the reflexil reflector plugin. According to the paper ".NET Framework Rootkits: Backdoors inside your Framework" (I cannot post links because I have less than 10 posts, please use google) it is also possible to modify and load the core .NET assemblies, like mscorlib.dll, itself. Some of these core dlls are referenced by every application. So after you managed to deploy your modified mscorlib to the global assembly cache (GAC) every .NET application will use this modified version.
Now I wonder if it would also be possible to modify the .NET assemblies that are used by windows phone apps. But as far as I know there is nothing like the GAC under windows phone. I used the OsBuilder tool to have a look at custom roms, but I couldn't find any of the assemblies that are typically referenced by a windows phone app.
So could anybody please explain what happens when a app is started? How are the referenced assemblies resolved? Or where do the .NET dlls reside? And the most interesting point: Is it possible to modify them?
kind regards, Valentin
You should have noticed that GAC exists in WP and all core libs have GAC_* names.
ultrashot said:
You should have noticed that GAC exists in WP and all core libs have GAC_* names.
Click to expand...
Click to collapse
Sorry I cannot find any file with "GAC" in its name. I used the OsBuilder to write the package structure of two different roms (lumiatrix and rainbow) to my filesystem. No file which name contains "GAC" is created. Am I doing something wrong? Where are these files located?
thanks for your help
ultrashot said:
You should have noticed that GAC exists in WP and all core libs have GAC_* names.
Click to expand...
Click to collapse
Is there any result in finding GAC assemblies?
Related
A little help from the cookers out there.. I've seen XIP porting and SYS porting, but what about OEM porting?
I'm not pertaining to the packages in the OEM folders, that one is easy
I'm pertaining to the files in the OEMDrivers folder. Can someone verify my observations/questions/assumptions?
- The OEMDrivers has the same file folder structure from porting XIP (i.e., has imageinfo.bin, imageinfo.txt, S001, S002, etc.) so porting it needs to have some sort of g'reloc. If that's the case, how is it done? (I'm thinking changing the directory to SYS for the meantime and do a g'reloc)
- in reverse to the above assumption you can't port OEMDrivers because it's device specific (some threads I've read this one, but I'm skeptical about this). If so, this thread is useless and don't waste time replying
You are partially right - you can't use all drivers but some of them - e.g. you can use bluetoothsetting.dll from TouchHD in Toch Pro OEM. It's not so easy - you have to check every driver step by step to avoid no boot
qsqa ia right. Also just to add, Greloc works with the .VM module inside the SYS. So renaming the OEM to SYS is not going to achieve anything
Greloc is used to realloc all the modules based on the information in your .VM module
ababrekar said:
qsqa ia right. Also just to add, Greloc works with the .VM module inside the SYS. So renaming the OEM to SYS is not going to achieve anything
Greloc is used to realloc all the modules based on the information in your .VM module
Click to expand...
Click to collapse
BTW - I think that g'reloc is also doing its job in OEM - when I put new XIP module in OEM I can see that number of modules in g'realoc window is increased (but maybe I'm paranoid )
From which device do you want port OEMDrivers (I'm guessing that you're porting to TP?)
qsqa said:
BTW - I think that g'reloc is also doing its job in OEM - when I put new XIP module in OEM I can see that number of modules in g'realoc window is increased (but maybe I'm paranoid )
From which device do you want port OEMDrivers (I'm guessing that you're porting to TP?)
Click to expand...
Click to collapse
lalala...
Yeah I'm porting to TP, just like you are Well when I've tried putting some of the OEM files (the one in the folder) in blackstone but then it's not easy as it seems primarily because I thought you need to reloc also the files, which I would know how to do.
Anyway, if that's the case then I'm not going to bother at all Still happily tweaking OEM package files over and over... btw qsqa you haven't answered my question to your ROM thread-- have you successfully ported the Facebook functionality yet?
I forgot, sorry - still fighting with 1.03
I didn't touch apps which are dedicated fro Touch HD (resolution), first of all I want to port drivers then will look for apps
qsqa said:
I forgot, sorry - still fighting with 1.03
I didn't touch apps which are dedicated fro Touch HD (resolution), first of all I want to port drivers then will look for apps
Click to expand...
Click to collapse
It's not resolution specific but good choice on porting 20757 it's really fast even on stock!
Honestly saying - if you are looking for a stable base, 20757 is better than newer builds like 20931
I was trying to use the visual layout editor and it says "LayoutLib is too recent. Update your tool!" What does that mean?
I'm not 100% certain but it sounds like the visual editor is attempting to do something that your version of Eclipse doesn't support. The visual layout editor should be part of the ADT plugin for Eclipse. I think your version of Eclipse might be backlevel or something? What version are you running? You'll probably need one of the recent releases like Helios or Indigo.
If you have a newer release of Eclipse then you probably need to ask the Google folks that create the ADT plugin what on earth that means...
I had yo update my ADT to 12 (or something like that) so that the visual editor would work with the updated sdk.
need to know waht eclipse version u have because some oldest versions rent supported anymore , other thing u need to update ur adt then , go to help then choose updatesoftware then a new small window will appears , choose add then add this link:
https://dl-ssl.google.com/android/eclipse/
if ur problem persist , send me a pm
Hey, brayann16k, this worked for me! I tried the update function and a few other things I found on the web, but this one worked! Thanks a lot, I'm very new to developing for Android and the visual editor will be of great help finding some important relations and understanding the layout xml structure.
ash.rain said:
Hey, brayann16k, this worked for me! I tried the update function and a few other things I found on the web, but this one worked! Thanks a lot, I'm very new to developing for Android and the visual editor will be of great help finding some important relations and understanding the layout xml structure.
Click to expand...
Click to collapse
One thing to consider when developing is that xml defines the layout, and java determines what each of the elements (buttons, images, etc.) does. Look up thenewboston android tutorials on youtube. Theres 200+ videos and he covers every topic imaginable
OK, sorry for my extreme noob question, but I'm cooking a ROM and in the tutorial is said what I'm gonna ask about.
What's a build??!!??
Yep, stupid question, but read my sig and everything will be clear.
here is
VercettiM said:
OK, sorry for my extreme noob question, but I'm cooking a ROM and in the tutorial is said what I'm gonna ask about.
What's a build??!!??
Yep, stupid question, but read my sig and everything will be clear.
Click to expand...
Click to collapse
yeah dude)))
read this
In the field of computer software, the term software build refers either to the process of converting source code files into standalone software artifact(s) that can be run on a computer, or the result of doing so. One of the most important steps of a software build is the compilation process where source code files are converted into executable code.
In software versioning, the build number is often used as a versioning identifier subordinate to, and more finely graded than, the version number. For example, various iterations of an application might be called "Windows Mobile 6.5.5", but in the "Control Panel>Device Information" dialog, the exact iteration will be identified with a longer, unique identifier that includes both the version number and the build number (for example, Windows Mobile 6.5.5 25654).
While for simple programs the process consists of a single file being compiled, for complex software the source code may consist of many files and may be combined in different ways to produce many different versions.
The process of building a computer program is usually managed by a build tool, a program that coordinates and controls other programs. Examples of such a program are make, ant, maven, SCons and Phing. The build utility needs to compile and link the various files, in the correct order. If the source code in a particular file has not changed then it may not need to be recompiled (may not rather than need not because it may itself depend on other files that have changed). Sophisticated build utilities and linkers attempt to refrain from recompiling code that does not need it, to shorten the time required to complete the build. Modern build utilities may be partially integrated into revision control programs like Subversion. A more complex process may involve other programs producing code or data for the build process.
Tiers of Software Builds: manual compiles on individual developer boxes (tier 1), manual compiles on shared build box (tier 2), automated daily compile (tier 3), automated daily install built using installation software (tier 4), automated daily install deployed to QA boxes (tier 5), and automated testing of the build and automatic creation of an install (tier 6).
Click to expand...
Click to collapse
nurkamol said:
yeah dude)))
read this
Click to expand...
Click to collapse
Thanks, I think I understand it.
VercettiM said:
Thanks, I think I understand it.
Click to expand...
Click to collapse
u r wellcome)
hekp me...
hi my name daniel n i am from indonesia
can any body help me to solve my problem,..
i am using HTc HERM200
window mobile ver 5.0 os5.1.195(build 14955.2.3.0)
ROM ver 1.18.257.2
my problem is that my htc using germany language
does any body can help me to change the language packed to english ver.?
pls...... help me to solve my problem
cikuk said:
hi my name daniel n i am from indonesia
can any body help me to solve my problem,..
i am using HTc HERM200
window mobile ver 5.0 os5.1.195(build 14955.2.3.0)
ROM ver 1.18.257.2
my problem is that my htc using germany language
does any body can help me to change the language packed to english ver.?
pls...... help me to solve my problem
Click to expand...
Click to collapse
I suggest, you better be upgraded with English ROM, so the translation language can work as a whole ! but if you want try language Pack, you can go to get it at http://melgurth.ovh.org/index.php?page=downloads
We decided to start a survey for OsBilder users. The question of it is the following:
What new options/settings/possibilities do you want to have in future releases of the program?
Please leave the detailed description of these options, as well as specify the reason why they so are necessary or desirable for you.
Your ideas and recommendations could be useful for further development of the program.
Do not post requests to implement complete support for building ROMS for some definite device name or brand - Barin cannot buy all the brands available at the market to carry out tests with them.
If you stubbornly want this support – you are free to buy and send a desired device to Barin for testing.
Requests to add one or another program option without giving a reason to do it – won’t be under consideration.
Requests to translate program interface into any language other than English and Russian won’t be answered here. We can only talk about the options related directly to functionality of DumpTool and OSBuilder features.
Concerning bug reports for currently implemented features – they should be also posted in the main OsBuilder thread.
Note about the Rom-Protection feature of OsBuilder for WP7.
The OsBuilder developers and the other members of asusmobile team get a lot of PMs from xda rom-cooking guys with the requests to implement kinda “rom protection” feature for WP7 roms.
Guys and gals!
For the moment only one developer has a real reason to protect his own work. It’s DFT, because DFT makes real development. With unique programs and features included. With new cool possibilities enabled.
But DFT is able to PERFECTLY protect their work without our humble assistance.
The rest of us guys – have NOTHING to protect. All of us have the identical registry tweaks, unlocks etc.
Protection of your personal “eye candy” stuff is considered to be a waste of time – all nice pictures are available in web.
So guys – please stop PM-ing about WP7 rom protection – at least until we all start to really develop WP7 – not just dump stocks and rebuild them moving away some langs and adding some pictures.
One more important thing: dumping DFT PROTECTED roms will NEVER be implemented as DumpTool feature.
Changing the LOGO and SLDR1-2
NK.bin XIP as well as automatic
1: Changing the LOGO and SLDR1-2
thanks
pdaimatejam said:
NK.bin XIP as well as automatic
1: Changing the LOGO and SLDR1-2
thanks
Click to expand...
Click to collapse
Changing LOGO - already implemented. Will be available in the next public version (coming soon).
Base OS.nb file is over 300Mb in the kitchen. So I have to rebuild it into smallest size manually. (after reduced its size about 20Mb)
My suggestion is OSbuilder will auto reduce base OS.nb after run dump/create packages to get smallest kitchen folder size. Thanks so much.
Regards.
nhathoa said:
Base OS.nb file is over 300Mb in the kitchen. So I have to rebuild it into smallest size manually. (after reduced its size about 20Mb)
My suggestion is OSbuilder will auto reduce base OS.nb after run dump/create packages to get smallest kitchen folder size. Thanks so much.
Regards.
Click to expand...
Click to collapse
We are working on it, but we don't have enough info about some data structures in NB to recreate them. If you have all info about them, please PM me. (logical/checkpoint sectors recreation, mapping tables, etc...)
EDIT: nhathoa, thanks for your advice in PM
nhathoa said:
Base OS.nb file is over 300Mb in the kitchen. So I have to rebuild it into smallest size manually. (after reduced its size about 20Mb)
My suggestion is OSbuilder will auto reduce base OS.nb after run dump/create packages to get smallest kitchen folder size. Thanks so much.
Regards.
Click to expand...
Click to collapse
If we get any new *.nbh file then OSBuilder display error, but if we get os.nb.payload from this same ROM, then OSBuilder support this file
Important:
OSbuilder: - In this moment no extract/dump of some files *. nb0 (SAMSUNG), and *.nbh (exam. HTC Spark/Mozart/Mango)
Nokser said:
In this moment no extract/dump of some files *. nb0 (SAMSUNG), and *.nbh (exam. HTC Spark/Mozart/Mango)
Click to expand...
Click to collapse
OSbuilder supports Mozart/Spark stock rom, but do not try to dump DFT protected ROMs.
Btw i've got Mozart and i made the dump with OSBuilder
Guys, this message is about Rom-Protection feature of OsBuilder.
The OsBuilder developers and the other members of asusmobile team get a lot of PMs from xda rom-cooking guys with the requests to implement kinda “rom protection” feature for WP7 roms.
Guys and gals!
For the moment only one developer has a real reason to protect his own work. It’s DFT, because DFT makes real development. With unique programs and features included. With new cool possibilities enabled.
But DFT is able to PERFECTLY protect their work without our humble assistance.
The rest of us guys – have NOTHING to protect. All of us have the identical registry tweaks, unlocks etc.
Protection of your personal “eye candy” stuff is considered to be a waste of time – all nice pictures are available in web.
So guys – please stop PM-ing about WP7 rom protection – at least until we all start to really develop WP7 – not just dump stocks and rebuild them moving away some langs and adding some pictures.
One more important thing: dumping DFT PROTECTED roms will NEVER be implemented as DumpTool feature.
This message will be added to the first post
will ROM protection ever be implemented in future version of OS Builder?
though, i suppose, one knows they have a 'good' ROM when others' 'take' from it.
would like to see...
a. Settings be save-able and imported
b. being able to import .CAB files (i.e. OEM firmware updates)
also, in the current version of OS Builder,
if Expand/Collapse button is Expanded and the content is refreshed, the Expand/Collapse button doesn't revert to Expand even though it is Collapsed.
hope that made sense.
sh4d0w86 said:
...being able to import .CAB files (i.e. OEM firmware updates)
Click to expand...
Click to collapse
We are working on it
Really hope i well see other web viewer like opera or firefox
Maybe we well see a new way to custom our home screen
hossam.salah, heh
I would also like to have new opera and customized homescreen.... And even something else... like new WP7 phone set
Hate to disappoint you, but we discuss here future OsBuilder features. OsBuilder does not provide any new OEM packages or custom screens. It's an advanced tool for creating roms.
So your dreams should be published maybe in WP7 Software development thread...
sh4d0w86 said:
b. being able to import .CAB files (i.e. OEM firmware updates)
Click to expand...
Click to collapse
I would love to see that
IzaacJ said:
I would love to see that
Click to expand...
Click to collapse
Will be implemented in future public
Changing the logo
florirs said:
Changing the logo
Click to expand...
Click to collapse
Implemented already! Since OS Builder V1.3.189 FULL (08.11.2011)
Read changelogs!
http://forum.xda-developers.com/showpost.php?p=19168768&postcount=65
POLL What new features do you want to have in OsBuilder future releases
Hey guys What apps do you use most and are best with HTC HD2?
because we can get widgets made to link these apps on the touchxperince homescreen
mine in google maps with street view
BiapLorScarp said:
Hey guys...
Click to expand...
Click to collapse
Hey guy!
If you are able to explain - what is common between OsBuilder features thread and Google Maps with touchxperience on Leo - we will definitely talk about that....
Otherwise - try to find yourself another topic to talk.
Start point for bulding wp7 for hd2
mb a basic non protected non dft dump?
not sure what i just sayed but i think you understand what i meen.
will Samsung support be coming to OSBuilder?
Hello everybody,
I have the new Clio 4 Medianav system, is based on WinCe 6.0 embedded, i found a lot of application for this windows system...but the majority parts is for ARM processor :crying:
Can you help find me MIPS application?
Offtopic:
I would like to try programming on wince but I have no idea how set visual studio 2008 for do it..
I usually program website, PLC and microprocessor PIC... I know what does it mean the "Programming" word :angel: )
Thank you!
forna91 said:
Hello everybody,
I have the new Clio 4 Medianav system, is based on WinCe 6.0 embedded, i found a lot of application for this windows system...but the majority parts is for ARM processor :crying:
Can you help find me MIPS application?
Click to expand...
Click to collapse
Who should spend the time? DIY!
Just for info:
Windows CE isn't a desktop OS where peripherals use a common set of busses and addresses and a single OS build that knows how to integrate all of these. There isn't a "Windows CE Image" for just any given processor, the OS image must be built for your exact hardware. Memory maps, peripherals, drivers and a load of other things can change from board to board, even with the same processor.
These "differences" are encapsulated in what's known as a BSP or board support package. You generally must have that for your target hardware, then you can generate a new OS image containing the OS features you want for that hardware.
The short of this is, that no one can tell you whether there are applications out there that are compatible with the OS image used on your Medianav system.
Windows CE for devices with ARM CPU is standarized, because the underlaying hardware is mostly identical. So hundreds of applications for this OS image exist. And it's very easy to write your own.
jwoegerbauer said:
Who should spend the time? DIY!
The short of this is, that no one can tell you whether there are applications out there that are compatible with the OS image used on your Medianav system.
Windows CE for devices with ARM CPU is standarized, because the underlaying hardware is mostly identical. So hundreds of applications for this OS image exist. And it's very easy to write your own.
Click to expand...
Click to collapse
I found the technical datasheet of motherboard with cpu processor type and all the hardware (cpu is a AU1320 all exe are programmed for an R4000 cpu) but the problem is one...I'am a noob on windows embedded..I would like to learn it bit I don't think to find too many people who wants teach me it :crying:
forna91 said:
I'am a noob on windows embedded..I would like to learn it
Click to expand...
Click to collapse
Perhaps this Microsoft book
https://www.microsoft.com/learning/en-us/book.aspx?id=11064
takes you one step further.
This practical, authoritative, popular reference now in its fourth edition shows developers how to develop applications for the newest generation of mobile and embedded devices. Focusing on the core operating system of Windows Embedded CE 6.0, this guide covers memory management, files and file systems, registries, databases, notifications, communications, and more. It s based on the author s extensive experience training developers focused on embedded technologies how to use Windows CE to its fullest capabilities, and covers the latest features in Windows Embedded CE 6.0. The book includes a link to a companion Web site with extensive sample applications in Visual C++.
Thank you for this book...now I see if buy it
There are lots of older MIPS apps (CE 3 and older) that can work. A lot of info and many downloads can be found at hpcfactor.com. I have two MIPS devices using a similar processor (Au1250) and a slightly older OS (CE 5.0): the Viliv X5 and Cowon P5, about which I have posted threads in the Windows CE 5.0 section of hpcfactor.com. (I can't post the links because I'm still considered a newbie here, but just go to the forum list on hpcfactor.com and you'll see that section.)
Because a lot of apps in the Windows Mobile forums here at xda-developers.com were written for the .NET Compact Framework 2.0 and 3.5, installing MIPS versions of .NET CF 2.0 or 3.5 (if they are not already installed on your device) may allow many of those apps to work on your device as well. There's some discussion of this as well in the two threads I mentioned above. (Check which version of .NET CF is on it already first, though. If it has 2.0 already, after installing 3.5 make sure that both versions are activated in the registry under HKEY_LOCAL_MACHINE/Software/Microsoft/.NET Compact Framework.)
well thank you for that site!! I found now a regedit...tomorrow i try it because others don't works :crying: fortunatly there is a debug usb in the radio and with visual studio I think that we can read it :good:
Have you had any succes on doing so? I also have the MediaNav Evolution system (v9.1.4) and I have something in mind... But im totally lost!
P.S.: Would you mind sharing the technical datasheet of the motherboard and CPU?