yashsingh1/xdaforums huggingface dataset:
[TG01 ROM Development] l3v5y:
I haven't finished my kitchen (it doesn't work reliably at all) so I won't be posting it publicly (I'll be posting it when I get home today, if you know what you're doing, drop me a PM and I'll send you a beta version).

There are two batch scripts, "dump" and "build" (and "verify").

For "dump", you'll need to drop your TSW in \Base, and edit the set INPUT_FILE to reflect the name of your TSW.

From there, just run dump.bat.

You can then edit the OEM/SYS/XIP.

In theory, the MSXIPKernel and MSXIPKernelLTK from ROM\XIPDonor\xip.bin are combined with OEMXIPKernel, WinceNLS and LangDB are taken from ROM\XIPDevice\xip.bin. This does cause some odd errors because XIPPort isn't perfect. I'll try and write some code that dumps the XIP properly and merges the two. XIPPort is used because it builds a map.txt and ROMHDR.txt (these should be buildable with the tools I've got, but haven't finished them)

During the rebuild, both the XIP and SYS\OEM are relocated, based off ROMHDR and the .VM/.ROM, this and XIPPort aren't perfect. They cope with the stock ROM well, but less well with different XIPs/SYSs.

The Build.bat contains

set INPUT_FILE=
set OUTPUT_FILE=

INPUT_FILE is the name of the original TSW file (or whatever you want TGTool to build a new TSW from). It must be in \Base.

OUTPUT_FILE is the name of the output TSW. It will be placed in the root of the kithcen.

Verify.bat (along with the verify folder) are designed for distributing the ROM. Verify runs TGTool to check the tsw, and generates an MD5 for the TSW. Please distribute this with the ROM, so we don't end up with bad flashes.

You flash any ROMs built using this at your own risk.

TGTool is the (excellent) work of cedesmith. Without it, none of this is possible.

Don't use it if you don't know what you're doing.

Without Wen (from WMPU) I wouldn't have had a TG01 for testing, so this wouldn't have happened, and thanks to anyone who donated.

I'm going on holiday tomorrow, so I've uploaded the kitchen here. It may not work, things may go wrong, it's not my fault if they do etc. Download, and use only if you know what you're doing!

(Password is l3v5yTG01Kitchen)
[TG01 ROM Development] l3v5y:
Reserved...
[TG01 ROM Development] l3v5y:
Also reserved.
[TG01 ROM Development] Da Mafia:
Thanks for this, it's nice to just see some progress.
[TG01 ROM Development] scoobydoo2k1:
i will have the uk rom with german lang? can i make this with the scripts and tools?? it´s only the langdb... to change... or???

ps. sorry for my englisch...

greetz

scoobydoo2k1
[TG01 ROM Development] DunkDream:
Thanks I3v5y!

Looking forward to this kitchen and a WM6.5.5 Rom. I don't need a clean WM6.5.0 Rom because that doesn't make my phone faster :( That's why I'm waiting for your Rom.

I also noticed, that you got a problem while flashing your TG01? The pictures shows NAND error.

Did you manage it to get the phone working again? Maybe with the short pin method?

Best regards,

DunkDream
[TG01 ROM Development] mr.mike:
It's look like the error which minhanh_tran got

http://xdaforums.com/showpost.php?p=5920208&postcount=6
[TG01 ROM Development] arag0n85:
I had a NAND error too flashing a .enc with short pin method days ago, but I just restarted and the flashing worked again. I think it may happen when you don't have the bridge over the pins enought time after starting the device. But this can be another thing maybe.
[TG01 ROM Development] Novembre5:
Short pin vs SDDL+

I was wondering why everyone seems to use the short pin method and not SDDL+? I have used SDDL+ to flash different roms as long as tgtool came back with no errors. I have not had much success with an upgraded Windows Mobile 6.5.5 rom, probably because I have been using HTC kitchens. But I have always been able to recovere using the short pin method.

Should I stop using SDDL+ and switch to short pin?
[TG01 ROM Development] Da Mafia:
SDDL+ is fine. Short pin method should only need to be used when you don't have access to SDDL or SDDL+.
[TG01 ROM Development] l3v5y:
I use shortpin when I can't get in to WM to use SDDL+.

I managed to recover. I tried flashing the ROM a few times last night, but then charged it overnight and it worked fine just now. I suspect it may have something to do with battery power.
[TG01 ROM Development] kevinpwhite:
Completely agree. Have been flashing Arag0n85's clean-up Betas repeatedly and works very well. Personally I would avoid the pin short for anything other than when half-bricked and no option.
[TG01 ROM Development] l3v5y:
I'm going on holiday tomorrow, so uploaded a build of the kitchen I have.

It may or may not work, depending on what you put in to it, but I've had a few booting 23554 ROMs out of it! :)

Enjoy!

If you need me, drop me an email or something and I should respond.
[TG01 ROM Development] Alucard24:
Thanks for your work :) .When you plan to release a stable 6.5.5 rom with multilanguage, sense and the correction of 20% battery limitation?I can't wait for it :p .
[TG01 ROM Development] mtwaldman:
Great news!

I agree. Also could you check into the GPS cutout issue that has been seen on the debranded Rom? Something seems to be happening to cause the GPS to cutout after 1-2 minutes on the debranded rom
[TG01 ROM Development] Hamido123:
is someone on the way to built a rom with this kitchen??
[TG01 ROM Development] arag0n85:
The unbraded+manila builds that i've released have been done with this kitchen... I also tried a 6.5.5 without succes. It's the same kitchen that he had already released 1 week ago to some of us.
[TG01 ROM Development] Hamido123:
can you publish these bootable roms?...or can someone try to built up a23554 rom?
[TG01 ROM Development] Jonous:
Exactly, i also believe (and wish) this is only software-related problem! Haven't tried 6.1 though to see if the problem persists, i've only used the phone with 6.5 roms installed since i bought it. Can someone confirm that this problem exists in 6.1 roms? :confused:

Maybe try a different gps driver if it's a driver problem and such a driver exists. I don't know the gps chipset used in tg01, maybe a driver can be found from another phone that uses the same chipset. :confused:
[TG01 ROM Development] Nokser:
Hi l3v5y

You are not here to end right.

There are modules with Original MSXIPKernel, you must leave.

That is a rule in Samsung
[TG01 ROM Development] Jonous:
GPS disconnecting

Hmm hadn't tried this before, i always tried GPS in GSM mode and had the disconnecting problem, but yesterday i tested GPS in 3G/HSDPA mode and not a single disconnection, even after a whole hour. Anyone that experiences GPS problems in GSM mode should try this.
[TG01 ROM Development] phillmydiamond:
there has been extensive testing with various roms and the gps issue and it isnt down to the roms.

from what i gather it has something to do with getting a lock on the gps sat first, if you get a crap lock then the signal is intermittent, if you take ur phone outside, get a good lock then leave it running it hardly cuts out and when it does it quickly picks uop again.

also have you gpsgate or other gps apps?
[TG01 ROM Development] l3v5y:
MSXIPKernel is the MS part, as far as I know, nothing changed between WM6.5 and WM6.5.5 in the way MSXIPKernel interacts with the OEMXipKernel.

Some modules can be removed, to keep the new XIP within a set size, though ideally we need tools to resize the XIP properly.

The reloc tool used in this (EXTReloc) should be able to handle the relocating of modules in the XIP, so it should work. It does work, just it takes some effort, and you may need to manually check the virtual memory data after the XIP has been built.
[TG01 ROM Development] Nokser:
Your Kitchen don't get imgfs.dll from orginal Kernel...

And this is the basis for a total of porting XIP ;)
[TG01 ROM Development] arag0n85:
omg, are you back l3v5y? I hope we can work a little more now. Seems that you and nokser know how to work arround porting xip properly, so I hope we can get a ported 6.5.5/6.5.3 soon to work arround building roms over a new sys. Maybe you can help us a little about the RAM usage also. I've disabled many services and programs from toshiba and nothings seems to be gained. The only thing that worked was the reduction in size of the page pool. But as you know that's not a free increase on RAM.... but a 8Mb pagepool size I think it's a good size.
[TG01 ROM Development] Nokser:
You kitchen have a small bug....

I find this problem, and repair... Therefore, no porting XIP :p
[TG01 ROM Development] l3v5y:
I think I need to explain my situation a little better...

Up till now, school work, and life in general has taken a lot more time than I was expecting. I have exams coming up soon, and so have spent more time making sure I know what to do than I had expected. This has left much less time for TG01 ROM development, so I haven't got as far as I can.

Because of that, I have two possible things to do now:

Continue development at a slower pace

Stop development, and send the device I have on to another developer.

Since the device I have was paid for by the community, I don't feel right keeping it if I'm not giving back to the community, having said that, I will try and further ROM development if I still have a device.

The choice is yours!

I'm sorry for not being able to get a decent ROM out there sooner.
[TG01 ROM Development] arag0n85:
I understand your situation. Life never goes as expected, it's not your fault as far as you are concerned. By the way, now we are 4 guys developing for the TG01 (without counting you), november5, nokser, ffboy2008 and me.

Nokser already got a device, I'm pretty close to get one (look my signature) and ffboy2008 and november5 had just started to release ROM's. November5 usually works with his device and he was a good betatester for my ROM's, and ffboy2008 seems to be more dedicated to the chinese community. So, I don't know who would be the most suitable guy for the device...

One option might be to resell it in ebay and split the money to cedemish for his tgtool and the cookers that already have a ROM if you really have no time.

In other way, for me it's good to be at the same comunity developing with you. I really apreciate the work you did with your kitchen, and I guess that work should be apreciated also. So I don't think that letting you without device and without "donations", it's fair either.
[TG01 ROM Development] Alucard24:
I have faith in you and I appreciated very much your work here but I don't understand why you are releasing roms for other devices if you don't have free time.Looking to your twitter you are working so hard in different things...please don't betray us :-( .
[TG01 ROM Development] airxtreme:
I'm adding support for the TG01 in osKitchen, I've already got TG01 rom importing working (actually with the latest libnb it broke but I hope Da_G will get it working again) and XIP building to work by:

1) removing the nk.exe and putting HTC Leo's one in place of that

2) launching platformrebuilder that, since NK.exe is not the TG01's one won't crash

3) using xipport to unpack the generated xip.bin, put back nk.exe, reallocate and generate a new xip.bin

I have no idea if that is going to work but from what Da_G told me some time ago it should, it just depends if platformrebuilder has some crazy bugs with sys relocation too.

If that works you can have official support with osKitchen since except for the xipport swapping everything else shouldn't be a problem since tgtool can do all the rom conversion work.

BTW I'm not saying this to advertise osKitchen, I've got requests for TG01 support and coincidentally since I'm adding external xip generation and this phone seems the easiest among the phones for which platformrebuilder doesn't work (all others are chinese phones that require all sort of weird tools) I'm trying to start from this one first. If I can get assistance in getting the XIP building to work it'll be much less work for everybody.
[TG01 ROM Development] l3v5y:
I'm not sure that will work (but I'll try it) as the rest of the XIP will be relocated with respect to the Leo XIP, making it not line up with the TG01 XIP...
[TG01 ROM Development] airxtreme:
That's where XIPPort comes into play. After all when you do manual xip porting all you do is taking a xip that is already relocated for another phone.
[TG01 ROM Development] luv.motogp:
tsw file

Would anybody please let me know how to build tsw file from original raw files?
[TG01 ROM Development] Nokser:
But why the *. raw file?
[TG01 ROM Development] luv.motogp:
Because I got just raw files for stock rom.
[TG01 ROM Development] Nokser:
do so that they are TSW, it will be easier
[TG01 ROM Development] luv.motogp:
I got them with this link.

http://cid-5bf4bd469b8aef18.skydrive...owse.aspx/X02T

I would like to modify stck rom for X02T.
[TG01 ROM Development] Nokser:
Hmm, this is a not TG01??
[TG01 ROM Development] luv.motogp:
Yes, it is. X02T is TG01 for Japanese softbank company.
[TG01 ROM Development] Nokser:
I understand.....

You want cook new ROM??

Come on to my topic:

http://xdaforums.com/showthread.php?t=665448

Write, what have now... any progress etc....
[TG01 ROM Development] super_sonic:
Could you tell us where is the problem? In build.bat...
[TG01 ROM Development] Nokser:
Yes, even two.
[TG01 ROM Development] super_sonic:
So I'm waiting for your answer...
[TG01 ROM Development] Nokser:
Here:

cd Temp

echo Dump bin from payload
..\tools\osnbtool.exe -d os.nb.payload 1 xip.bin

echo Dump IMGFS from payload
..\tools\osnbtool.exe -d os.nb.payload 2 imgfs.bin

echo Delete payload file
del os.nb.payload
[TG01 ROM Development] super_sonic:
Thank You.
[TG01 ROM Development] Nokser:
You see friend, this step from my example:

cd Temp

echo Dump bin from payload
..\tools\osnbtool.exe -d os.nb.payload 1 xip.bin

del os.nb.payload
rename os.nb.payload.NEW os.nb.payload

echo Dump IMGFS from payload
..\tools\osnbtool.exe -d os.nb.payload 2 imgfs.bin

echo Delete payload file
del os.nb.payload

You understand difference?

Not writen new imgfs to new system.... insert only xip.
[TG01 ROM Development] super_sonic:
Not sure: here it's just dump ROM and not write/create new ROM. You said that you can keep old xip.bin and just update imgfs.bin?
[TG01 ROM Development] Nokser:
You wanted to errors, then gave it to you ....

These are the commands for create OS
[TG01 ROM Development] super_sonic:
I think there is something I don't understand: these are command to dump ROM; you dump old old xip and new imgfs and when you create new ROM, these 2 last parts will be include? Is that right?

Anyway, thanks for your help...
[TG01 ROM Development] Nokser:
Yes, you have right, must only add this diff. two lines in build.bat from this kitchen ;)

Cheers
[TG01 ROM Development] Kilihari:
Appologiez for being a newB

Ok, so I will use this ROM kitchen ... hehehehee. So I tried dumping your the new ffboy2009 Windows Mobile v6.1 ROM using l3v5y's ROM Kitchen. I had to disable my PC Tools Spyware Doctor and Antivirus as it reported some virus or something, but I don't assume there is a virus.

Anyways, I put the rom in the "build" directory and then edited the the "1. dump.bat" to reflect the name of the ROM file in the "build" directory. After I had run "dump.bat" there was a newly created a separate file in the "build" directory called "os.nb.payload."

Now, I would like to add a small package to my "os.nb.payload" and then reload my "build" the rom right? How do I go about adding a separate pre made package? What should I read? I apologize for being a newb eheheh, but damnitt I just don't wanna screw up. Then after I add the package to the nb file then I build it and check it and then it is done.

Then flash...

But how do I add the package to the nb file?

-Kilihari.
[TG01 ROM Development] bib*oops:
Are you preparing a (surprise) ROM?

Nice idea btw...

Success... and cheers!
[TG01 ROM Development] Kilihari:
EHEHEHEH A Surprise!!! :D

Well.. not really a surprise however... I just think the clean roms lack just one important thing... a start-up animation, or a animated boot splash screen just before it goes into windows. I really just want any kinda animated splash screen... I have one in mind, it is so cool... it simulates an old computer booting up and then it says of course windows mobile 7 at the end. It was originally made by this dood Wajk, you can check it out here http://xdaforums.com/showthread.php?p=4731963. If we just had a boot animation, then everything would be a-ok.

Also, my end goal is to edit that animated gif file and change it to reflect the TG01 phone and stats, also I am going to see if i can find a hard core machine/robot sound coming to life, and change the default sound. It is going to be the final finishing touch on my tg01, this is going to be great I tell ya.

-Kilihari!
[TG01 ROM Development] Nokser:
Working this for you or not??
[TG01 ROM Development] bib*oops:
I bet on you... ( [like outsider, I mean it, no offence]& your ROMs of course, just go for it!)
[TG01 ROM Development] Pere:
Ha! ha! very nice the Start-up animation simulating a PC!! I'd like to have it on my device!!!!! Come on!!
[TG01 ROM Development] Kilihari:
Thanks man.... but but but...

Is there some tutorial how to use this rom kitchen... I don't understand how to use it... i just ehhehhe.. I would like to RTFM but I don't know where the FM is! :D .... where is the directions on how to use this rom kitchen? HEHEHEHE. :D

Your friend..

-Kili.
[TG01 ROM Development] EVEALEX62:
It's a very good work, easy to modifie ROM ;)

I have just one question : What I must do to port xip ?

I'll try with ffboy's Kitchen but after can't dump with this kitchen ...

Thanks a lot for answer ;)
[General Questions and Answers] highfish91:
Hi,

i think quickgps is only working for htc mobile phones. i tried several quickgps versions but never found a working one..

Could anybody make me a version of quickgps which works for the sunno hdi with windows mobile 6.5?

It would be great :)

Greets

highfish91
[General Questions and Answers] highfish91:
Could anybody make a fix?
[HD2 General] -TNS-:
At first I am sorry for my bad english... :p

I have a huge problem with the HTC Sense... especially with the Facebook integration. My Mobile-Provider is Vodafone and I use a in Germany called "Vodafone-Internet-Flat" which only supports an WAP internet connection. But that's not all... U can only use Port 80 for free (Proxyserver)

For that reason all internet based windows mobile apps work perfectly on my HTC HD2... (also the "normal" facebook app which can be downloaded).

But the facebook app which is integrated in HTC Sense doesen't work... so i can not connect my friends with the facebook account... And there aren't any settings for changing the port for the data connection (facebook [sense])...

I don't know how I could solve this problem :(
[HD2 General] airwater9:
Wait, I want FB in sense. How did you get this to happen?
[HD2 General] vicstarman:
fb in sense

Facebook is automatically installed as a major icon / app on the US T-mob version of the HD2. It's NOT a good app, tho. In the last 2 days, they fixed it or something because it works MUCH better now (it barely worked at all since Mar 24 release until pretty much today). But it is on there. In settings, if not set as a favorite app on the front page icons
[HD2 General] tomallen35:
I'm seeing some weirdness with my HD2 when I connect the headphone socket to my car's stereo (via an aux in that I have soldered onto my head unit). Basically, as soon as the jack is connected, the phone resets itself and then works perfectly until i disconnect the jack (when it resets again).

I know the connection to the car is OK as I've tried it with other phones and MP3 players, but for some reason, the HD2 doesn't seem to like it.

Possibly worth mentioning that the phone is also connected to the car's handsfree kit via bluetooth, but this doesn't support A2DP so need the headphone output for music. Also, normal headphones seem to be OK, it's just the line in that doesn't appear to like!

Anyone else seen something similar or (even better) have a solution?!

Thanks :)
[Touch Pro2, Tilt 2 Android Development] tekgurl:
I want to first say that I am completely blown away with the developers here at XDA. This Android Development is AMAZING!!! I'm having a problem. with the newer build. When I first installed the new build, used the update wizard and ran Android the splash screen worked fine. I even got the Gallery to work, albeit slowly, but it worked. But, all the subsequent times I booted Android the splash screen was missing and the gallery doesn't work anymore. The line "hw3d.force=1" is still removed from the start up text. There seems to be some relation to the splash screen working and the gallery working.

Touch Pro 2 Unlocked

AT&T Tilt
[Touch Pro2, Tilt 2 Android Development] psyopstt:
gallery works in the 3/31 build. I've tested both with 3d enabled (hw3d.force=1) and disabled(hw3d.force=1). The first time you load gallery it take forever and a day this is because its building up a database and thumbs, after that it should load a little smoother.

As to the Nexus splash screen if hw3d.force=1 you will not see it as stated in the changelog.
[Touch Viva, MDA Basic ROM Development] gp.triple:
is possible flash our device with linux?
[Touch Viva, MDA Basic ROM Development] claudio8:
ciao..

ho visto che sei italiano, ma rispondo in inglese....

is very difficult to flashing with Linux.

you can find something in this post ..

http://xdaforums.com/showthread.php?t=628917

[I did not understand the question now I corrected ...]
[Touch Viva, MDA Basic ROM Development] jagan2:
He asked in english, could you reply in english?
[Touch Viva, MDA Basic ROM Development] gp.triple:
i know wing linux project

but my question was if is possible tu flash a new rom using a linux pc...
[Touch Viva, MDA Basic ROM Development] MusikMonk:
I think that it's not possible because currently the linux kernel can't read/write on the device storage. Which is the reason wing-linux must be installed on external storage.

But I can't remember where I've heard this. It was probably on IRC, however I can't find the exact reason in my logs (only a reference that it can't be used). So I can't say if it'll ever be possible any time in the future.

Also, I did a quick search to see if anyone did such a thing on any device (to understand what's involved) and I didn't find anything. Might be cause I didn't search too much.

And if flashing a *nix ROM is possible, you'll definitely need to have a different bootloader. I've been told about a bootloader called EOL, some people on the linwizard project are using it. I didn't get the chance to try it but I've been told that it'll be needed to modify the *nix installation so that it would be able to start radio (it currently relies on WM doing that). And that is supposedly not that difficult.

So it might be a good step to check that bootloader.

Right now, your best bet for an easy/quick linux boot is using a very lite (completely stripped) ROM with this integrated:

http://xdaforums.com/showthread.php?t=623792

Perhaps something similar to this one:

http://xdaforums.com/showthread.php?t=623048

There was also an even lighter ROM with a pretty much non-functional WM but I can't remember for what device it was.

EDIT:

SORRY! I should have read the thread before answering, I've only read the title and posted.

I should post that in the project thread instead.

As for your question, look at this one:

http://xdaforums.com/showthread.php?t=399762

It didn't work for me when I tried but it was long ago so it might work now.
[Touch Viva, MDA Basic ROM Development] gp.triple:
tanks a lot for all info ;)

do you know if is possible do the hard spl whit linux pc

i'm a debian user and don't have a windows pc