How to relocate & replace modules? - Upgrading, Modifying and Unlocking

Hello,
Today if I'm wish to replace a file (stored as a module) in WM5/WM6, I end up deleting the module and replacing it by a file (stored as a file).
How do you create a module from a file?
How do you relocate a module (for instance if you import a module from another ROM and you don't want to turn it into a file)?
Regards,
--eluth.

So what? Does nobody know how to do that?
Is there no one capable of pointing me in the right direction?
--eluth.

eluth said:
Today if I'm wish to replace a file (stored as a module) in WM5/WM6, I end up deleting the module and replacing it by a file (stored as a file).
How do you create a module from a file?
How do you relocate a module (for instance if you import a module from another ROM and you don't want to turn it into a file)?
Click to expand...
Click to collapse
The "simple" answer is that you can not relocate a module - i.e. into a different memory map location. It was compiled for a specific space in memory, and there it must stay. There are no tools available for this. While something could potentially be written to do this task, the complexity involved would be quite high, and probably not worth the risk/reward/time.
Deleting the module - thereby freeing up the space, and having that space 'reclaimed' by a relocatable file is the only way you can modify/merge the ROMs. Use mamaich's tool to convert the module to a file. There is "no" other way.
Now, having said that, I have (previously) relocated a number of modules in the ROMs I made (TuMa series), however these relocations were MANUALLY done with a HEX EDITOR, and only on very small modules. i.e. I analysed the module, and changed everything necessary (byte-by-byte) to relocate the module. This is a very time-consuming manual process, and not recommended unless ... well ... ok, it's just not recommended period. Let's just say I won't be doing that again unless I really need to.

Tuatara. Many, many thanks for that answer.
This question was here several times, but always without any answer.
Thanks

You're very welcome ...
I forgot to mention that what I meant by "unless I really need to", was during the time BEFORE mamaich made his recmod tool. That tool actually came about because there were so many problems trying to relocate modules and/or find file-based versions of the required DLL's in order to build up a complete ROM. In TuMa v1.1 onwards there were always a number of modules which "previously didn't exist" in any ROM that came before. The things we do!
Anyways ... some day ... when I have some time again (real life has just been very consuming!), I'll be looking into the last few issues with the BA and see what I can resolve. The ROMs which have been made now are fantastic ... kudos to you all!

Tua! Your back How's things going?

Midget_1990 said:
Tua! Your back How's things going?
Click to expand...
Click to collapse
Well ... I actually never left ... I've just been 'lurking'.
Things have been good and things have been busy and things have been very trying. Kind of the 'same old - same old' story of everyone else who has real life take over, and doesn't have any time left to do the things they would like to do. Otherwise though, everything (and everyone) has been great!
I have watched with great interest all of Bepe's ROM Kitchen work, and the ROMs released from Helmi, xplode, baniaczek, yourself and others. With only a few things now causing problems, I think a solid WM5 ROM for the BA is quite possible to achieve ... but some of the last bugs do "bug" me ... so they'll NEED to be fixed. I want to keep using my BA ... nothing else beats it ... yet. (Well, ok VGA screen rocks, but ...)
I'm probably going to look into WM6 for BA at some point myself - just to see if there is anything which can be done. I don't hold much hope, but I'm not sure until I try ... it could just end up being a 'Frankenstein monster' of a ROM instead.
Anywho ... I might be a bit less 'lurker' and a bit more 'around' in the next while. Gotta have some hobbies ... right?

Thanks Tuatara,
This helps and explain why I couldn't find more details.
Best regards,
--eluth.

Related

Modifying the ROM

I've been reading the forum, and based on the information and the tools there I have been able to modify my extended ROM, which is great. Now of course I'd like to modify the main ROM as well, but despite the many hours I've spent searching the forum, I can't find the necessary information to do it. There's always something essential missing, something which probably is obvious to a programmer, but not to a normal user. As I've been able to modify the extended ROM, I guess I should be able to modify the main ROM too. Who can point me in the right direction?
from what i understand it's not even 100% possible with xda1 since people cant seem to make the extracted files back to a nbf file
and there are no tools that i know of that even extract the main rom from a xda2
As I understand it, when you upgrade the operating system, you're actually modifying the ROM. Some people here like to call it to "flash", I think, and there are a lot of messages about it in here. I just haven't found the information necessary to do it. I want to modify the ROM on my XDAII.
no the operating system is the rom which is in a eeprom in the device
when you flash the rom you replace the operating system with the new one
when you say modifying it mean more in the way of exchanging different files inside the rom
but if you just mean flashing the rom with a newer then here is a guide
http://wiki.xda-developers.com/wiki/HimalayaRomFlashing
What does EEP stand for? How many ROMs are there?
I've seen a ROM created here for the XDAI, containing more programs than what the devices normally come with. I would like to have a ROM on my XDAII containing the programs I use, so that I don't need to reinstall them every time the device is hard reset. Isn't this possible?
What does EEP stand for?
Click to expand...
Click to collapse
huh what does EEP have to do with this ?
suppose it could stand for
Executive Excellence Publishing
or
European Environmental Press
how many roms there are i think there are 1.5 1.6 1.66 and 1.72
about extra programs then they are not! in the rom they are in the extended rom any CAB file you copy to the extented will install after automatic after a hardreset
you should take a look at the romkitchens ( specifically for xda1, but can be made for xda2 as well ).
and mkrom, and the other romtools
EEPROM stands for "electrically erasable programmable read only memory".
this is sort of the predecessor of flash memory.
"electrically erasable programmable read only memory" sounds like a contradiction, but thanks for that, it makes more sense than EEPROM.
What about all of us users who don't have a Unix machine? I suppose we're stuck with the original ROM then, and have to install our programs over and over again for every hard reset. Of course you can put a few of them in the extended ROM, but it becomes full too quickly and you're left with installing the rest of them manually.
well you can upgrade to a newer rom as they come out
like i have 1.66 but if i wanted 1.72 i could upgrade
about contradiction heh yeah suppose so but then if it was 100% always READ ONLY then it would be random was what in it as how the transistors randomly set when it was produced
A newer ROM wouldn't contain the programs I want.
no :/ but it could contain bug fixes for ms and radiostack and such
i suspect that extented rom was made so it would be easier for the phonecompanys' and other 3th party resellers to get programs preinstalled fast without having to mess around too much in the rom
this is at the cost of memory though
but then some programs dident like to be in the rom i believe here i mean if setting files were places in the rom aswell and the program could not write to the setting file
mkrom also works on cygwin under windows.
( now I also wrote this in the wiki page )
Isn't that just for XDA I?
it works for windows ce in general.
that doesn't mean that there is no work involved in getting it to work, but it is possible to make it work for the xda2. I use it to build custom roms for the devices we sell, that is why I wrote it in the first place.
What's cygwin?
How much space is there in the ROM to add extra programs? In the ROM that this forum developed for XDA I they added quite many programs from what I could see.
http://www.google.dk/search?hl=da&ie=UTF-8&q=cygwin&btnG=Google-søgning
Thanks for that, Rudegar.
To Itsme: I don't mind the work, but it looks like its written for programmers and that if you're not a fairly skilled programmer, you wouldn't be able to do it.

Cyphol's Diamond Basic Kitchen v1.0 For Newbies Alike.

Since I got many PMs asking for the kitchen I used to cook my ROMs, I've made my decision to upload it here.
Well, the source is not completely mine, but it's also modified from KaiserKitchen and tools from many others.
I've checked it and modified it again today to make it as easy to use as I'd like it to be.
You can modified it to suit your own but remember to learn the process first.
So here it is.
The download link is here
Enjoy.
Regards,
Cyphol.
Thanks for sharing.
^.^
I'm looking forward to testing it.
It's a simple kitchen only.
You have a few repeating points in the cleaning process.
You could make :clean
del, attrib and rd procs.
AFTER it insert a set /p choice
where choice 8: ends with goto 1a, or choice 9, goto 1b.
I'm thinking about replacing the ervius package manager with buildos+package_tool
What do you think about that?
I'm also thinking about adding a rgucomp registry conversion section.
adwinp said:
You have a few repeating points in the cleaning process.
You could make :clean
del, attrib and rd procs.
AFTER it insert a set /p choice
where choice 8: ends with goto 1a, or choice 9, goto 1b.
I'm thinking about replacing the ervius package manager with buildos+package_tool
What do you think about that?
Click to expand...
Click to collapse
Yeah! I know but I did it on purpose. That's how to help other newbies understand the process of cooking. I have another one, clean but complexed,not to be publicize since it's not good for learning purposes. It also mean that your're not that noob.
Well, I think I still am.
^.^
I'm more of a linux user but I still remember basic windows batch syntax.
I only started learning about cooking etc not so long ago (htc cooking; what I did in the past was SE modding).
Still have a long road left ahead of me, but I'm a fast learner.
Anyways, you're right about the kitchen.
Experienced chefs will tend to have their own.
Do you think it's a good idea to add "pause" among critical sections?
Just to have time to check if everything's ok and ready to proceed with the cooking.
1 failed step and you have to analyze what and WHERE it went wrong.
But for example:
echo "Extracting imgfs content complete."
pause
--- continue script
adwinp said:
Do you think it's a good idea to add "pause" among critical sections?
Just to have time to check if everything's ok and ready to proceed with the cooking.
1 failed step and you have to analyze what and WHERE it went wrong.
But for example:
echo "Extracting imgfs content complete."
pause
--- continue script
Click to expand...
Click to collapse
Yeah! You're right. I give you permission to alter the batch file and upload again as yours. So, it will help many newbies understanding the process more and trap the errors before hand.
So, how are you doing with Raphael's ROM. My first impression of it is not that good since it's not for release purpose but it's running pretty good on mine. The release one will surely better than ours here.
The first repack I did worked lke a charm (apart from the internal storage driver issue), though I didn't really have the time to play extensively with it; it was only to check the hardware compatibility, speed and structure.
It really looks like a pre-release.
Like I wrote in one of my previous posts, I'm gonna TRY making a hybrid Raph+diam, though I don't know if it's worth the time investment.
Like most ppl in here, I have a private life apart from playing with tech.
Gotta find myself a doctorate. I just defended my thesis last Monday.
^.^
cyphol said:
Since I got many PMs asking for the kitchen I used to cook my ROMs, I've made my decision to upload it here.
Well, the source is not completely mine, but it's also modified from KaiserKitchen and tools from many others.
I've checked it and modified it again today to make it as easy to use as I'd like it to be.
You can modified it to suit your own but remember to learn the process first.
So here it is.
The download link is here
Enjoy.
Regards,
Cyphol.
Click to expand...
Click to collapse
Nice Release BRO, SORRY FOR this late reply but beeeen busy, if you need help let me know
Many thanks for sharing! I would like to work around a new Italian ROM and it's a great source for starting!
I have yet another suggestion:
Add another option:
ROM dumping.
with lets say option
8a: list partitions
8b: save partitions
Of course, everyone wil have to input their own partition offsets (Implement something similar to read -p)

NOOB's Kitchen

Hi eveyrone.
Background: I have been playing with the new Manilla from XBMod, but in doing so I have had to change my ROM. Previously was on a DUtty v4 ROM which I loved as it was a simple clean and fast ROM.
Now compared to Dutty's all other so far are Bloated and/or slugish (even before I put the manilla2 on).
Anyway I decided to see what it takes to make my own. I looked into it and found a nice simple basic tutorial with video here: http://forum.xda-developers.com/showthread.php?t=413782
Now this is really basic. I do need to learn a bit but I need some help in finding some information. Little things like how to edit the registry or how to change the boot image. Also need to find all the updated HTC apps, and a list of what HTC apps are available and/or ported.
Before someone tells me to use search or "google is your friend" I know that.
I can find out what each package does before I remove them and such. I can also find out how to do allot of these things too, but if you actually use the search also then you will find nearly everything is based on modifying an already installed ROM and not doing it in the Kitchen.
On top of all this I doubt I am the only person looking for a clean fast ROM so I will be releasing this to everyone. I would appreciate any suggestions for what to include and what registry edits to do. And would really appreciate a master chef coming by and helping a new apprentice chef.
Much appreciated for anyones help. (Remember I havn't asked for others to do it, I am asking for some help to learn it.) Lets just hope I don't burn anything...... .
Nothing?
No one wants a Simple Light Upto date ROM??
Kinda funny isn't it.
If I just waited around and asked who had what and all that, I would be flamed to a crisp and get told to read and use search. Just so you know I just used search for "OEM HTC" and got NOTHING.
I have been using the forums for about 6 months now and now I have decided to put my little bit of effort in, no one is interested in helping...
I always say that I only help those whom help themselves. I have and am currently helping myself, but I do need a little hand mainly to point me in the right direction.
Anyone?
Doesn't anyone want a simple ROM that is mearly a set of performance tweaks and updated OS and Updated Default HTC Apps?
Here's you answer - download one of teh full kitchens available (like Sulliers or Mondilv) and make it yourself.
Other way - download latest OEM rom (there's thread for that), ervius kitchen, and cut away to your liking - you will have your "latest light rom".
This is exactly what it is about. Either be ready and donate to the chefs who do such things (cook for demand for payment) or get behind the keyboard and start cooking. it's not that difficult...
This is how I started - got the kitchen, and step by step I go forward. I can't call myself a cook - I only know how to tweak a bit little things, but I'm learning. I suggest you start too
If you are searching for "clean, fast ROM" look no further than Mondilv's kitchen - probably the fastest Rom available now (if we are to trust Pietrucci's benchmarks, and I see no reason why not). Since it;s a kitchen you can do whatever you want to it. And if you are asking "how to edit registry" then maybe your searching skills aren't that good... This like the most basic thing....
Happy cooking!
Good to see people actually read.
At no point did I ask for a ROM. I do recall mentioning that I have downloaded a kitchen and am playing with it.
I did mention that I have searched and my skills in searching are perfectly fine. Considering that fact that I have found the registry information but NOT in XDA.
THe problem with XDA is that if you are to be succesfull in a search you must already know what you want to find (and therefore know the terminology to search for) which then means why search at all seeing you already know. And if you happen to find something you have to read the thread for a week to find the only single post within it that actually gives you an answer.
If you had read my first post properlly and understood it, you would realise I am after information TOO LEARN IT...... but maybe I'll take your suggestion and LEARN it instead.
It really pisses me off when people reply withou fully reading the post, and then tells me exactly what I said I am doing.
For all you know I could be a potential contributer to these threads and you have just destroyed my respect for the people on these threads. Thankyou for your lack of any real help.
Oh and one last thing, I was wrong with the last bit of my first post.
If I ask for the ROM I get flamed, If I ask for help to learn to build a ROM I get told to make a ROM or download one.
Catch 22 around here. Can't ask for help and can't get help. I wanted to build one but if this is the **** I am going to cop just cause I want to learn something and contribute, then its not worth jack ****.
And who are you to say if I have or havn't donated to other ROM Builders.
I would love to try your basic clean ROM, without all the pre installed applications. I have been looking for an up to date naked ROM, but haven't been able to find one.
Good Luck!!!
Well my intention is not a "Naked ROM" but a bare essentials one.
Just updated versions of all the apps that come with a HTC ROM and update OS Core, .NET etc.
Bare Minimum Apps.
good luck man. hope its super fast too.. and stable.
Can someone please point me to an UPDATED list of HTC OEM App Version and hopefully downloads.
I don't mind Ripped stuff, like from TouchFlo2 etc, but I want to leave out beta buggy stuff untill they are are fixed. For example I would want HTC Notifications as it seems to work well (unless I am just lucky) but I won't put in the TouchFlo3D 2 as it is still buggy and unstable.
Oh and VGA versions if possible for my Touch Diamond
Oh and were can I find a 21xxx+ version ROM that I can use?
Hmm, so I want to help, and the best you can do is smirk at my recommendations, and you just carry on:
can you point me here, can I have that or this, and oh, can it be VGA, and possibly with chocolate?
Man, I'm sorry, but there is something wrong. All the info you are looking for IS on this forum. I can't believe that you searched and didn't found. You either search the diamond forum, or use general forum search (which is google) and you just follow the links.
I don't want to belittle you nor argue with you. But just take a second and look at the way how ALL internet forums work. The first thing you do to gain credibility on any forum is to search, learn, then try to help. The last thing you do is to show up, and ask for links "on a platter" in rather demanding manner, and then criticize the answer. I just had a look on your posts and it seems that this is what you do. You repeatedly ask for ready solutions, and when people tell you to search, you are annoyed, or ask "does anybody read posts on this forum?"
I will say just this - google "netiquette" or "how to behave on internet forums".
Good luck in your search for perfect ROM for you.
And here you go not providing any form of help at all.
You say If I did search I searched the Diamond threads or used the Google search..
I have used the google one yes. And I have used the built in search searching for DIamond threads yes.
Now you imply that searching the Diamond is wrong??? I am own a Diamond so why not search the diamond threads.
This is exactly what I am talking about regarding the useless comments of "search the forums" crap I keep reading against any noob.
Instead of pointing people in the right direction you guys just simple say search.
There also seems a limit of more than 3 letter word length to search in the forum search. Cause each time I search OEM or HTC or HTC OEM then it returns No results.
Ontop of all that if and only IF I do actually find something then I have to spend hopurs upon hours readying all the Good job, well done comments before I find the one tiny little comment that actually has the answer. At that rate, for a noob trying his hand at cooking it would take 6 Months to actually find all the answers.
And now you come back and tell me to search, and worst still you tell me that searching for Diamond Rom Development info in the Diamond forums is wrong also. Were was the part that told me were to search?
it seems quite some posts are missing here... xda-developers did a restore from a backup or something after the mess last night? .
Anyway, eangulus. This is what I have so far:
- Started with a stock 2.03 WWE ROM.
- Put in a 21042 SYS + XIP (so it's now 21042 build)
- After that ripped out some stuff:
- NetCF (because it's 2.0 now I installed 3.5 from CAB, we need the OEM for it)
- Manilla
- Opera (I guess we want a newer build)
I also needed to remove it from the 'auto setup' list
- Windows Live
- MP3 Trimmer
- RSS Hub
- AdobePDF
- Cyberon VoiceSpeed dial
- Google Maps (Because we want a newer build or nothing at all)
Also needed to remove it from the 'auto setup list'
- JBedJava
- ZIP
- Office OneNote
- SampleMusic
- SQLCeMobile (Leave the SQLCE engine in)
- Transcriber
The whole thing build nicely, the final .nbh is 86.5mb.
There are a lot of things that can be stripped more ofcourse, and it doesn't have
any 'tweaks' included yet. Stuff I still gotta learn / try out.
Also converting cabs to oem/packages is on the agenda , and see what is easy from
the rhodium / topaz oems to include.
After the flashing and first boot I installed the older STock keyboard (bigger T9) because I still prefer it, installed newer google maps and installed the latest Rhodium Manilla from xboxmod. Runs fine and speedy (still can be faster by cooking it in though).
The notification enhancement works by installed a certain cab afterwards (not the one included in Rhodium Manilla), but Menu Enhancement and the 'manilla start menu' won't work.
My 21038 build that I was working with in the beginning seems just broken or something, because the 21042 XIP/SYS I used worked flawlessy. So I was doing it ok all along, just had broken files .
So, what now from here?
To get you a bit started:
In the end I used bebe's kitchen (http://www.darkforcesteam.com/showthread.php?p=3560). You need to create a user on that forum and wait till they 'approve' you to access the thread though.
In the thread there are a couple of video's posted how to get you started. I watched them, understood them and then started cooking and it worked . I don't know if bepe wants his files freely posted everywhere so I'll let you to get them yourself.
The ROM I used I actually downloaded from the HTC site (http://www.htc.com/www/SupportDownload.aspx?p_id=133&cat=2&dl_id=483). Entered my serial number and got the .exe with the ROM (the ruu_signed.nbh can be extracted by using WinRAR from the .exe).
The XIP/SYS I used are from here: http://forum.xda-developers.com/showthread.php?t=497586
Bepe's kitchen works with a OS.nb files (not .nbh files) so I used NBHUtil to extract it from the .NBH. NBHUtil was included in another kitchen, I got it from there. The kitchen it was included is actually an 'extended' bepe-kitchen, so you might want to play around with that one too: http://forum.xda-developers.com/showthread.php?t=469420.
But in the end, I only used NBHUtil.exe from it .
In his video on how to port a newer build to your kitchen, he uses a complete newer ROM as a starting point. He extracts the XIP/SYS from that. If you do it like me, you don't have a complete newer ROM but only a XIP/SYS downloaded from this forum. They give you a os.nb.payload and a SYS folder. So you skip the part that extract those from a ROM and just instead use the files downloaded.
And that's pretty much it. With those files and the (short!) video tutorial's on Bepe's thread in darkforcesteam.com I managed it make something. (video on starting a kitchen from a ROM, and a video on how to port the XIP/SYS from another ROM to your kitchen). Try it, if you get stuck I'll help you. It isn't hard at all!
..........
sorry
razkal1 said:
..........
sorry
Click to expand...
Click to collapse
or
razkal1 said:
here is .net 3.5
delete your ntcf forlder in sys and replace with this one
Click to expand...
Click to collapse
I actually have it already but thanks for helping out!
Trying out bebe's kitchen and trying an Upgraded OS build as we speak. Not as friendly as some of the other kitchens but with the vid's it is pretty straight forward thou.
Any luck in finding an updated list of HTC OEM Version Numbers and exactly what HTC OEM apps are available for us to package into it?
Im not going to do the manilla yet as I think its still a fraction too buggy. THe main one being atm is being out by 1 hour.
Once its much more stable and bug free then I'll package it. I do want the new notifications and menus thou. they seem to be workig OK.
ALso not sure if this is a HTC app or not but I have seen a new Wifi connection tool. It gives you a list of Wifi available in a Manilla Look, you then just click on one to connect. Do you know what that is called and who does that?
Also do I have to convert the .nb file to a .nbh again?

Gruessle -> Kaiser Froyo Rom

06/16/2011
The screenshots are not important. This is not a theme!
You can install a theme from here, for example if you like.
The theme it comes with is the:
Go Louncher Classical Theme (The new version of it)
The software installed is also not important, because you can remove it.
Google Market is installed, and you can install what ever you like, just like on your computer.
https://market.android.com
This is the actual Android Froyo operating system for the HTC Kaiser
So, stop asking me for screenshots and software installed, it's not relevant.
And the how to install guide is been posted here
Bug reports are welcome, other then that, I don't wont to hear from you.
Don't post a thank you either, there is a bottom for that, and you can also vote on the poll up there, but install and test it first!
Again Bug reports only, please!​
I been working on this for 3 days straight, and figure I'll share what I got.
Everything seems to be working, except the camera is blurry, but that seams to be the norm.
Included is the rom, radio and kernel
ROM: 2.2.1
Kernel: 2.6.25
Radio: KAISER 1.70.19.09
Panel: 2
Key Map: US Normal
Resolution: 240x320
Storage: Nand & Nand
Most everything is installed in userspace and can be uninstalled or upgraded.
Oh got GO Launcher EX installed (Also in user space)
Credits:
I stole ideas from, and used following tools:
Makers of atools
Makers of NBH creator
HTC Flasher
kallt_kaffe
Krazy-Killa
dzo (dzo's posts wore a big help. just wish he would answer his own questions after he found the solution)
n2rjt
and many more.
@todo
Resize NAND partitions to the smaller system size
Original post and download Links are posted on my blog:
http://press.pzzazz.net
Can you write something more about this? Is this your system and kernel(compiled yourself)? Any changes?
MaRekRM said:
Can you write something more about this? Is this your system and kernel(compiled yourself)? Any changes?
Click to expand...
Click to collapse
Yeah witch apps are include. Some yours tweaks or etc... ???
MaRekRM said:
Can you write something more about this? Is this your system and kernel(compiled yourself)? Any changes?
Click to expand...
Click to collapse
That sounds like a trick question.
Yes, at first I compiled everything my self but then to resolve bugs, I looked at other systems and basically stole stuff from them to fix my bugs. In other words, I can't take all the credit, it was a community effort.
Neo2SHYAlien said:
Yeah witch apps are include. Some yours tweaks or etc... ???
Click to expand...
Click to collapse
I removed most everything from the system and installed it in user space. So the system is very lean. You can uninstall what you don't like.
how is the rom?just waiting to see
gruessle ...!! thanks for your efforts in getting this done... I been looking from long time to install Android on my HTC TyTN II. However i was not able to get the proper build...
can you share the screenshots of the build which you provided as well some steps at high level on installing this..
Thanks in advance.
Please, I don't really understand how to go upgrade this. I find it hard to do. Is everything needed packaged in this download, or please can u list things needed to change to android. I'll appreciate your response.
tundelogic said:
Please, I don't really understand how to go upgrade this. I find it hard to do. Is everything needed packaged in this download, or please can u list things needed to change to android. I'll appreciate your response.
Click to expand...
Click to collapse
here is the howto
http://forum.xda-developers.com/showthread.php?t=680518
kkp said:
gruessle ...!! thanks for your efforts in getting this done... I been looking from long time to install Android on my HTC TyTN II. However i was not able to get the proper build...
can you share the screenshots of the build which you provided as well some steps at high level on installing this..
Thanks in advance.
Click to expand...
Click to collapse
The screenshots are not important.
This is not a theme.
You can install a theme from here, for example if you like:
http://golauncher.goforandroid.com/category/themes/
The theme it comes with is the:
Go Louncher Classical Theme (The new version of it)
The software installed is also not important, because you can remove it.
Google Market is installed, and you can install what ever you like, just like on your computer.
https://market.android.com/
This is the actual android froyo operating system.
Anyone else having trouble getting the kernel to install?
I get to 33% and the phone reboots...
Radio installed fine even though I was already using 1.70.19.09, just to be sure I installed everything in the package.
Installed HardSPL 3.34 and a WinMo 6.1 rom (custom) to see whats wrong. Installed L1q1d's kernel and goes right in like it should.
Checked .NBH with NBHCreator and only found 1 thing wrong: kernel set to Eclair instead of Froyo. Changed to Froyo and saved, attempted reflash and still won't go in...
;(Losted);
I also tried to install this kernel but I can't. Flashing in hardspl after few second give folowing error:
00018003
Os Fail
Update Terminate
UPDATE Fail.
Changing parameters in atools not helping. Every another kernel is flashing without problems so it's not phone fault
Gruessle, thanks for your efforts! I want to try your rom but being a noob waiting for more comprehensive list of known errors before flashing it to my kaiser.
Ok, quick "bug report":
After working with the kernel pack multiple times I have come to the conclusion that there might be a bug in the actual kernel file itself, throwing a code back to HardSPL and RUU (how I install).
I first noticed a problem in that the kernel was originally set up for a Polaris and had no resolution set. The size of the file should be unimportant as Scoot's newer kernel is in the order of 3.2-3.3MB in size (with the RIL patch installed it gets even larger), this one is 3,099KB, and l1q1d's is almost always 3,092KB.
The second issue I noticed is with the Froyo package itself... It's split up into many files (open the package in 7zip and you'll see what I mean). Normally, the packer has the files all listed inside the .tgz file, this one has the files inside many other files.
I have thus not installed the system on either phone because (correct me if I'm wrong), the kernel contains the basic directories for where everything is installed, and if I were to try and install this package on say, l1q1d's kernel, the phone would most likely crash because the files would not be found, including /system.
If ANYONE wants to dig deeper into this problem, feel free to message me. Personally, I think we've about finished getting all we can from the Kaiser, and much respect goes out to those who have done all the work in the past, but there's always that glimmer of hope that someone will find a way to pack this into a working rom installable through RUU or HardSPL.
I have one last thing to say:
Gruessle, please do your homework BEFORE posting things like this. There are people out there who still depend on this phone to operate as it is their only phone. I Personally cannot afford to go spend $100-200 on a replacement phone if this one goes down (thats why I have 2 of them). If you post something that does not work on the platform that you say it will, please correct it or move it to the proper forum.
BTW, I call shenannegans on one of the 5-star votes... just sayin'.
Your kernel have fake ;/ . rom works great ;D
sorry for bad english;p
PoXFreak said:
Ok, quick "bug report":
After working with the kernel pack multiple times I have come to the conclusion that there might be a bug in the actual kernel file itself, throwing a code back to HardSPL and RUU (how I install).
I first noticed a problem in that the kernel was originally set up for a Polaris and had no resolution set. The size of the file should be unimportant as Scoot's newer kernel is in the order of 3.2-3.3MB in size (with the RIL patch installed it gets even larger), this one is 3,099KB, and l1q1d's is almost always 3,092KB.
The second issue I noticed is with the Froyo package itself... It's split up into many files (open the package in 7zip and you'll see what I mean). Normally, the packer has the files all listed inside the .tgz file, this one has the files inside many other files.
I have thus not installed the system on either phone because (correct me if I'm wrong), the kernel contains the basic directories for where everything is installed, and if I were to try and install this package on say, l1q1d's kernel, the phone would most likely crash because the files would not be found, including /system.
If ANYONE wants to dig deeper into this problem, feel free to message me. Personally, I think we've about finished getting all we can from the Kaiser, and much respect goes out to those who have done all the work in the past, but there's always that glimmer of hope that someone will find a way to pack this into a working rom installable through RUU or HardSPL.
I have one last thing to say:
Gruessle, please do your homework BEFORE posting things like this. There are people out there who still depend on this phone to operate as it is their only phone. I Personally cannot afford to go spend $100-200 on a replacement phone if this one goes down (thats why I have 2 of them). If you post something that does not work on the platform that you say it will, please correct it or move it to the proper forum.
Click to expand...
Click to collapse
1) The kernel doesn't care where you place the files. Right now I use a debian system with Ferora and Gentoo in a chroot. Both work fine with the Debian kernel.
In other words, if you have a kernel that works for you then use that it should work with the rest of the installation.
2) I don't get what you mean with files are "split up into many files", I am just guessing but you must be extracting it wrong. Maybe it's a windows thing, I haven't used windows in 15 years so I wouldn't be able to help you with that.
3) I have included everything you need to duplicate what I got, which works for me, and it appears to work for others too. Now i don't use that phone much, and there might be bugs I am unaware of, but don't tell me it doesn't work at all, just because you can't get it to work.
barmalini said:
Gruessle, thanks for your efforts! I want to try your rom but being a noob waiting for more comprehensive list of known errors before flashing it to my kaiser.
Click to expand...
Click to collapse
barmalini, it appears that a few people have trouble installing the Kernel, but the ROM seams to work for everybody as far as I can tell.
According to my server records the files have been downloaded over 200 times and I have yet to hear a complain about the ROM.
So I would say try to install the Kernel, but if you can't still use the ROM with a Kernel that works for you.
If you have trouble installing from windows you can also try a live CD from debian or knoppix. I installed everything from a Debian system. (Knoppix is based on Debian)
If you don't know what a live CD is then go here for info:
http://wiki.debian.org/LiveCD
PoXFreak said:
Installed HardSPL 3.34 and a WinMo 6.1 rom (custom) to see whats wrong. Installed L1q1d's kernel and goes right in like it should.
Checked .NBH with NBHCreator and only found 1 thing wrong: kernel set to Eclair instead of Froyo. Changed to Froyo and saved, attempted reflash and still won't go in...
;(Losted);
Click to expand...
Click to collapse
PoXFreak,
you are not the only one having trouble, installing the ROM it appears.
I am wondering, are you also using Microsoft Windows to install the ROM?
If so can you try again with Linux, because it worked fine for me.
If you don't have Linux you can use a Live CD
Also if you can't get it to work, try the ROM with a Kernel that works for you.
Please report, I will check back.

[minnow for whale]USB Video Out Dev&Dig (Status:success)

We all remember at the MIX10 Joe Belfiore projects his phone onto the big screen. Even on the recent XBOX show he did that again.
http://www.youtube.com/watch?v=9IA28wRWAI8
http://www.youtube.com/watch?v=uCDXaJh4bwE
this kind of video out is through micro-usb, normal type one. You can find Joe is using a Lumia 800 in his hand in the XBOX video.
I asked him through twitter and received an answer of "Special Software build".
I did some research and dig into the register keys. Found something.
This is a special driver that only shared inside the MS and normally won't be out anytime soon.
...
(Deleted because they are no longer of any means)
...
----Update on 2012.Feb 9 China Time----
marsrogers said:
Big Step Forward, since the DFT Rom released, the exe can be run in WP7.
One thing I need now is if someone can build an app for me, which calls the changeusbprofile.exe under /windows
Things here is I'm using the Opera mini launcher to call it, but the path is under /application, not under /Windows, and the result is my computer can not detect the phone when the phone reboots. I think this may relates to the path I call.
I'm not a typical tech-man, so I need help here. Thanks!
Click to expand...
Click to collapse
----Update on 2012.Feb 9 23:00 China Shanghai Time----
Today I really thank @GoodDayToDie and @ultrashot for helping so many.
@ultrashot sent me a xap app that does the job, calling the changusbprofile.exe in Windows folder. Although result is the same with yesterday, but now I am more sure that we are one more step closer to our destination. I'll wait my new micro usb cables to arrive and then I'll make a second try. Thank you again!!! Can't reach here without you kind people~~~
----Update on 2012.Feb 10 19:22 China Shanghai Time----
I removed the attachments because the project is now on special stage. I will put them back after the feature works, or after I can't make it work. Either way, I will put them back~~~Don't worry.
----Update on 2012.Feb 12 15:22 China Shanghai Time----
Complete failure....
New cable arrived and still my computer can't recognize the phone in usb video out mode...I changed a computer and till the same...
Will think about next steps...if I can't make figure it out next week, I shall put everything at present stage onto here.
----Update on 2012.Feb 14 10:22 China Shanghai Time----
Think it over, and think there is still a hill in front of us. The changeusbprofile.exe seems just to be a toggle, like a shortcut. But the real port of usb video out hasn't been enabled. On my samsung focus, I checked the *#7284# in Diagnosis Mode before and after I ran the changeusbprofile. The thing changes from Zun to Tethering, while it's not the real tethering mode. I think the changeusbprofile is just doing a job like changing usb mode from zune to tethering or to Diag mode. So that's to say, we haven't really seen the iceberg yet. I'll keep finding and hoping that anyone can get any help on this. This may requires me to dig some post in Windows Mobile age, since some parts between the two system are same.
And I contacted the kind secret person, and get the news that the usb cable doesn't really matters. Any short cables should serve the job. So our attention should move back onto the phone again.
----Update on 2012.Feb 15 15:13 China Shanghai Time----
I figured it out~The changeusbprofile changes the value in Registry Local_Machine/Drivers/USB/FunctionDrivers, DefaultClientDriver=CompositeFn to UFN_VIDSTREAM_CLASS. Every value change here points to a folder in FunctionDrivers.
in Samsung Focus, it is like below:
/CompositeFn;
/CompositeFn_QCOM;
/CompositeFn_SAMSUNG;(This is the one when we choose Diag Mode in Diagnosis App *#7284#)
/MtpClientDrvUsb;
/Samsung_USBSER_Modemlink;
/Serial_Class;
/Serial_Class_Diag_Qcom;
/Serial_Class_Nmea_Qcom;
/Serial_Class_Trace_Qcom;
/USBSER_Class;
/USBSER_Modemlink_Qcom;
There is no UFN_VIDSTREAM_CLASS folder here, so that explains why the changeusbprofile works well while it is no use at all...
Next step, I will try looking for the Setting in Asus E600, if I can find someone who has this device. Maybe Samsung Taylor will do the same.
If you can help, don't hesitate~~
----Update on 2012.Mar 3 15:13 China Shanghai Time----
marsrogers said:
Updated some info
I looked into the Key name, UFN_VIDSTREAM_CLASS, which is very unique way to name.
This belongs to a USB function Driver, and the only thing I saw similar is a UFN_PRINTER_CLASS, which is in Wince 6.0
http://msdn.microsoft.com/en-us/library/ee483856(v=winembedded.60).aspx
And you may check this
http://msdn.microsoft.com/en-us/library/ee485691(v=winembedded.60).aspx
So I'm still waiting for somebody who can offer any help on this. I talked with Mr. Yang Zhongke, who invented RecX prototype, fiinix optimized that, but not the inventor.
His way is not quite efficient and seems can't go further. But he will do some work for this in a foreseeable future.
Any one has a Asus E600, plz contact me, will keep your name secret.
Thanks!~
Click to expand...
Click to collapse
----Update on 2012.Mar 6 1:02 China Shanghai Time----
Project suspended, cuz according to a source, WP8 will have Remote desktop support.
"The ability to take screenshots (via Remote Desktop, no less) will be a feature of Windows Phone 8. I don't see anything changing before that."
Click to expand...
Click to collapse
"Only that you will be able to remote desktop into the Phone, which should allow you to create videos and/or screenshots from a PC."
Click to expand...
Click to collapse
The source is quite trustful, and I have no reason to doubt that.
So just be patient, and it will come. No need for this project to keep going.
At last, use my words in the email I talked with the source.
Me:Really puzzled why MS doesn't release such a cool and convenient feature. Haven't they realized that when people use this feature, they are promoting WP7 for free...(Actually I've promoted in this way for Android as a "side effect" in the company I work in for three months and as a result more than 20 Samsung Galaxy SII were added during this period. Google and Samsung should thank me...)
Click to expand...
Click to collapse
---Update on 2012.August 17 14:21 China Shanghai Time---
A very kind man has sent me the 7003 LG Panther ROM, which has the necessary file, and we successfully got them out. But I just lost my sell phone, so it may take some time to buy a new WP7 Samsung focus. Maybe next week. Very close to the final line. God bless us. Cheers.
Click to expand...
Click to collapse
Good luck!~
--Update on 2012.August 20 22:37 China Shanghai Time--
I tried to make it work while it still failed. The computer recognised my cellphone as WM7VIDSTREAM while the PC side app still does n't work.
I think this could be related to that the PC side app is for mango and the cellphone side is grabbed from 7003. I uploaded the VSD folder which contains what I think are the everything we need for now.
If anyone wants to build an rom, now it's the time.
Click to expand...
Click to collapse
--Update on 2012.August 23 17:42 China Shanghai Time--
One friend, who you will know someday later, gave me a home-make cab which includes the pkg file from Microsoft. Right now it is not for public for now. But it is successful.
Although I started this project, but as it always be, not a technique project but a sociology one. So there are many things and many people's benefit to consider. So just wait for some time, it is there when it is there.
For technique part, the pkg file includes as same as the VSD.rar in the attachment.
Cheers
Click to expand...
Click to collapse
--Update on 2012.August 28 19:43 China Shanghai Time--
Check here, you have what you want. http://forum.xda-developers.com/showthread.php?t=1856509
This is a long story, and finally it ended beautifully.
"Always be closing"--Glengarry Glen Ross (1992)
To me? Yeah, this project closed.
Regards,
marsrogers
Click to expand...
Click to collapse
Well, I can tell you a little about the thing you found (good investigation, by the way!)
First off, that's a module - it's kind of like a file (and shows up in the filesystem) but is baked into the ROM and can't be opened, much less modified, like a normal file.
There are tools that are supposed to be able to re-assemble modules, such as recmod. I haven't been able to get them to work, but maybe I'm just doing it wrong. In theory, it should be possible to create a "normal" DLL out of the components of a module.
The next trick is getting that rebuilt DLL onto the phone. This can be done pretty easily on Samsung, and is possible on interop-unlocked HTC, but on LG/Toshiba/Fujitsu/Dell/Nokia we don't currently have a way.
After that, you'll need to "install" the driver. Now, there's a registry entry for doing this. The problem is, I only know that the entry is required - I don't know if it's sufficient, or if there's also a database or something that must be updated. In any case, any phone where we can put a file into the Windows folder, we can also do registry editing.
Then there's the thing of actually getting the UI for this feature (the Settings "app" to control it). It's vaguely possible that the retail ROMs include it, but this is doubtful, so you'll probably need to pull it out of that old ROM. It's probably an EXE, so it's unlokely you can make a XAP for it - instead, you'll need to install it into the phone directly, including putting in the registry entried to launch it (this is a guess, I've never tried).
It's worth noting here that it's probably *WAY* easier to just pull that feature out of your old ROM and bake it into a custom ROM. This should be pretty straightforward, however, then it's only useful on custom ROMs, which in turn are only possible on HTC phones (right now).
GoodDayToDie said:
Well, I can tell you a little about the thing you found (good investigation, by the way!)
First off, that's a module - it's kind of like a file ...
Click to expand...
Click to collapse
Thanks for your reply. I did something with the recmod, but the dll it packed is only 1kb, apparently it's not useful. I guess it is because there is no imageinfo.bin inside the dll folder. I used some tools recommended by Da_G who started to try modding WP7 on the first day. Like nbsplit.exe to creat a IMGFS.bin, and use xidump to dump it. Just like what they have done before, I got the dll folders as same as I got at the beginning.
You may be right for the part that it's rather easier to build a new rom. There are tools to repack the whole IMGFS from files while I didn't find any good ways to pack a specific folder.
May ask more people all over the world (thx to the internet) cuz I just moved from android. In android, I use cygwin to pack the Odin Tar files, but it's totally different of course.
Anyway, doing this research is just for fun~ All is because MS is moving too slow...not to mention the NFC function I already have for a year on my Nexus S~~
Thank U again!~
This would be awesome good luck
Really a good find! Found that reg entry some time ago but I didn't care about it...Now that you bring up that thing again I also think that this could be very useful (even if you want it just for fun and not for business purposes). But note that the DLL file doesn't have to be in the /windows folder. It could be somewhere different, too.
@-WP7User-: That's an interesting idea, and might enable this to work on LG phones (where we have registry but not filesystem control). The registry value that speicies the path to the driver binary only ever gives the file name (example:
[HKLM\Drivers\Builtin\HTCFileUtility]
Dll="HTCFileUtility.dll")
However, it might work to specify a full path instead of just a relative one (relative to the \Windows folder, one must assume, since that's where the files in question are located).
However, there's still the issue of actually getting the phone to load the driver correctly. Just adding or editing the registry value for Drivers\Builtin didn't work for me - it did something (the driver stopped working when I chancged the value for an existing driver) - I wasn't able to make a user-added DLL work (even a different version of an official driver).
any news on this?
The old Recmod doesn't work on WP7 files. I believe there is a patched version for WP7 floating around XDA somewhere. Have to check my files, could of swore I downloaded it once.
EDIT: Here you go.
I have get the source code for creating the dcTNONE_ANALOGTV.dll, they are .c file and .def file.
My Problem is I don't know how to build them.
And I have got the changeusbmode.exe and the xml file with it. Figuring an idea to put them in.
marsrogers said:
I have get the source code for creating the dcTNONE_ANALOGTV.dll, they are .c file and .def file.
My Problem is I don't know how to build them.
And I have got the changeusbmode.exe and the xml file with it. Figuring an idea to put them in.
Click to expand...
Click to collapse
Download the FixRecMod.exe above I posted. Drag the dctNONE_analogtv.dll folder with the "s000 s001 s002 s003 s004" files in it over the exe. Now you'll find the actual DLL file inside the folder. Any problems, just upload the folder & I'll do it for you.
drkfngthdragnlrd said:
Download the FixRecMod.exe above I posted. Drag the dctNONE_analogtv.dll folder with the "s000 s001 s002 s003 s004" files in it over the exe. Now you'll find the actual DLL file inside the folder. Any problems, just upload the folder & I'll do it for you.
Click to expand...
Click to collapse
I have made the dll successfully. But when I put the dll into the /Windows folder in my Samsung Focus, nothing happened even after a reboot.
And another interesting thing is in WP7 Root Tools, when exploring the /Windows folder, all single file has a "ROM Module" or "ROM File" written blew, but the files I moved in has nothing written under it.
I tried to check the usb mode in diagnosis *#7248#, still there are three options to choose, nothing new.
I personally don't see the future of this project for now.
However, You have done a lot to help, it's very kind of you, thank you so much!
marsrogers said:
I have made the dll successfully. But when I put the dll into the /Windows folder in my Samsung Focus, nothing happened even after a reboot.
And another interesting thing is in WP7 Root Tools, when exploring the /Windows folder, all single file has a "ROM Module" or "ROM File" written blew, but the files I moved in has nothing written under it.
I tried to check the usb mode in diagnosis *#7248#, still there are three options to choose, nothing new.
I personally don't see the future of this project for now.
However, You have done a lot to help, it's very kind of you, thank you so much!
Click to expand...
Click to collapse
It wouldn't have ROM FILE/MODULE under it as it wasn't cooked in. You probably need some registry for it to work. Also, try opening the DLL in PEexplorer & checking to see it it has a cert attached.
Example of a DLL/EXE with a cert;
Gonna cook it into my rom and try it out...Do you have an idea which reg entry it could need?
I think of something for the settings page. Because if you haven't got a settings page for it, how can you activate it?
And maybe another entry which points it to the DLL file...?
-WP7User- said:
Gonna cook it into my rom and try it out...Do you have an idea which reg entry it could need?
I think of something for the settings page. Because if you haven't got a settings page for it, how can you activate it?
And maybe another entry which points it to the DLL file...?
Click to expand...
Click to collapse
Next weekend I may upload the dcTNONE_ANALOGTV.dll folder which I found in the leaked ROM for HTC Surround even before the WP7 was officially to public, the source code which is .c and .def for it, which is to remove some limits for QSD8250 CPU, and the changeusbprofile.exe and changeusbprofile.xml from Asus E600 (the only dev phone has the display mirror feather in 7720 for now)someone Mr X, who I am very grateful to gave me.
I ain't major in this level of computing techs, so I think in order to make the project alive, it's better to share what I have to those who has the ability to do it. Let them holding in my hand is a great waste at present stage.
The QSD8250 is a very old cpu, so there should be no problem with NDA.
P.S
There should be a manual installed usb driver on PC and a client application on PC but I don't have them right now. If you have friends or friend's friend who is a dev, holding a e600 dev phone, try ask them to share something, appreciated.
drkfngthdragnlrd said:
It wouldn't have ROM FILE/MODULE under it as it wasn't cooked in. You probably need some registry for it to work. Also, try opening the DLL in PEexplorer & checking to see it it has a cert attached.
Example of a DLL/EXE with a cert;
http://i105.photobucket.com/albums/m240/drkfngthdragnlrd/Untitled-31.png
Click to expand...
Click to collapse
I've uploaded all my files so you can make the check yourself.
After all I'm major in management not IT techniques so I don't want to pull the path down.
Thank You for the help you offered!~~~
Thanks for uploading your files. But it seems like I can't find the reg key...
There isn't a single reg entry which points to the uploaded .dll. At least not in the official Mango Update for the HD7.
But if you post the whole entry, I could try to cook the .dll into my rom and see what happens.
-WP7User- said:
Thanks for uploading your files. But it seems like I can't find the reg key...
There isn't a single reg entry which points to the uploaded .dll. At least not in the official Mango Update for the HD7.
But if you post the whole entry, I could try to cook the .dll into my rom and see what happens.
Click to expand...
Click to collapse
has this registry something to do With that ? :
Local Machine\Drivers\Display\TV\
PanelDLL=string:"dcTNONE_ANALOGTV.dll"
-WP7User- said:
Thanks for uploading your files. But it seems like I can't find the reg key...
There isn't a single reg entry which points to the uploaded .dll. At least not in the official Mango Update for the HD7.
But if you post the whole entry, I could try to cook the .dll into my rom and see what happens.
Click to expand...
Click to collapse
Just like @tessut posted. It's it. And I think you'd better try to build the dcTNONE_ANALOGTV.dll yourself from the source, it should be more reliable than using fixedRecmod. I can't do that cuz there seems to need many head files that do not exist in computer even I have vs2010...
Sent from my SGH-i937 using XDA Windows Phone 7 App
Okay, if someone wants to try that, too: The exact reg key (just copy and paste) is
[HKEY_LOCAL_MACHINE\Drivers\Display\TV]
"PanelDLL"=string:"dcTNONE_ANALOGTV.dll"
Didn't flash the rom on my device yet, but that's soon going to happen
The dctNONE_analogtv.dll is in the windows folder, the changeusbprofile.exe and .xml are in there, too. I hope it works!
EDIT: Didn't work at all...The ChangeUSBProfile.exe didn't get installed (although I'm 100% sure that it is there and of course in the right folder). Wasn't there a license xml around or something? Because normally a Windows Phone 7 App needs a license file to get installed when starting the phone for the first time. Don't know if this applies to .exe files though.
Has someone got an idea?
-WP7User- said:
EDIT: Didn't work at all...The ChangeUSBProfile.exe didn't get installed (although I'm 100% sure that it is there and of course in the right folder). Wasn't there a license xml around or something? Because normally a Windows Phone 7 App needs a license file to get installed when starting the phone for the first time. Don't know if this applies to .exe files though.
Has someone got an idea?
Click to expand...
Click to collapse
Thanks for the work! Is it possible if we extract the official .cab update file to get a licence and patch it to the exe?
I used a PE Explorer to open the changusbprofile.exe and found a license called"Windows Mobile TCB signing cert" in it.
Another thing is I used a way to open .exe in IE (use IE in WP7 to open this thread and download the usbvideoout.zip and you can have the chance to open changeusbprofile.exe directly) but it failed in Mango. Maybe we should try this in 7004 because this is really an old file. Or we should find a .cab file that contains a exe file in it and this .cab must be announced after mango update.

Categories

Resources