yashsingh1/xdaforums huggingface dataset:
[TG01 ROM Development] cedesmith:
that is probably poweroff.jpg, is in WM part of the rom, there is a thread about debranding.

also i made a post couple of pages before on how to rebuild imgfs with changed/deleted files.

Wen we know for sure that tgtool has no bugs chances of bricking the phone will be almost 0% if you don't drop battery and -chk downloaded rom as tgtool doesn't modify bootloader, and amss and if is tempered with ecc should fail and you would get a warning.

6 now, thanks again to all who donated.

my impression is that people appreciate hard work but are misleaded about where it takes place and who does it.

for that reason now on 1st post next to download there is a copy note :D,

who does not agree with it is free not to use my work on witch i have the copy right. :p

edit: forgot about it: if you search for TG01 in AMSS you will find TG01W TG01C TG02 L01 K01

wild guess it that TG02 L01 and K01 will use same amss so tgtool may work on them too.
[TG01 ROM Development] mfkiwl:
We should really thanks for people working for cooking tg01 rom. All of these people are heroes
[TG01 ROM Development] Hamido123:
@ da mafia

can you make a video of the way how you make custom rom please?....

i also would try it but i can't handle it by myself
[TG01 ROM Development] Da Mafia:
Sorry, only camera I have is my phone, but its pretty simple, I just followed cedesmith's instructions.

tgtool -sp [COLOR="Blue"]TG01WP_5005000176.tsw[/COLOR] tg01_en.nb0
tgtool -mp tg01_en.nb0 [COLOR="SeaGreen"]TG01WP_5005030076.tsw[/COLOR] tg01_en_unbranded.tsw

UK ROM

ITA ROM

Then you just flash the unbranded rom with SDDL+.

The ROM still needs more work to be fully debranded, which I think is a little out of my league but i'm gonna keep playing and post what I come up with.

The best method will be to just add English to the Italian ROM, but as above really, this is my first Windows Mobile Phone so these custom roms are all new to me.
[TG01 ROM Development] l3v5y:
Since there's clearly success going with custom ROM falshing, I'll whip up a quick test ROM and try it...

If that works, I'll see what Leo stuff will work on the TG01!

Or would people prefer WM6.5.3 (23549?)
[TG01 ROM Development] Novembre5:
6.5.3 would be great please.
[TG01 ROM Development] useyourfist:
both please ;)
[TG01 ROM Development] souljaboy:
u can check the "whats bugging u thread" for ideas ... also , sense would be great too , and both 6.5.3 and 6.5 would be also cool
[TG01 ROM Development] DunkDream:
I think people would prefer WM6.5.3 or WM6.5.5. A stable Rom would be very nice.

But what about a WM6.5.3 Rom + working Leo stuff? :)

I'll just wait for a working Rom and hope that more people will donate money to cedesmith...6 Donations for 3 weeks work is unbelievable. We should be happy that he didn't quit the development.
[TG01 ROM Development] jeams:
don't forget multilang if possible
[TG01 ROM Development] l3v5y:
There's no guarantee this will work, so don't get your hopes up yet...

The work I'm trying to do would be nothing without cedesmith, what he has done so far is amazing, and what it could lead to will be even better.

I have a few things I'd like to clear up though...

Is there any way TGTool could modify the file version internally? I tried to flash an older ROM and either SSDL or the bootlader refused it because it was an older version than the one on device. It can be modified with a hex edit, but it would be awesome to have that integrated.
[TG01 ROM Development] Alucard24:
If it's possible we would like a rom with wm 6.5.3 plus Leo customization (including G-sensor driver) together and bugs we discovered like The 20% battery limit removed.
[TG01 ROM Development] DunkDream:
@I3v5y

Could you please keep us users up to date?

Hope the flashing does not make problems.
[TG01 ROM Development] freddypharkas:
new Rom for TG01

Nice to see that that after the donations, long time ago and where ever they are now, somthing proceed. In my sugestion i whould like to have a clean rom, without toshiba ore providers stuff. Then everybody can choose software he wants. I'm not willing to have HTC software, when I want HTC then I by one.

regards
[TG01 ROM Development] l3v5y:
So far, I have a few more things to note...

IMGFSToDump or TGTool corrupt the DSM for the Logo package is corrupt causing an error when building packages.

Doing a straight TSW->payload->imgfs->dump->imgfs->payload->TSW with no changes to the files causes errors. The FAT partition gets lost at some point causing TGTool to fail.

IMGFSFromDump creates an IMGFS file that's significantly smaller than the input one, guess it's to do with compression, but it's not an uncompressed input file.

Using OSNbtool doesn't give this error, though the payload is a different size, due to the smaller IMGFS.

Much like HTC devices, the TG01 doesn't charge during ROM flash, you must have a relatively full battery, else you're utterly screwed.
[TG01 ROM Development] cedesmith:
i don't know why it bottlers me so much every time, i should get used by now. Again: i have nothing to do with that. my work is my own don't give credit for it to someone that has no merit in it.

tgtool just dumps OS part of the ROM so i doubt it corrupts it.

IMGFSToDump don't think it does.

I'm noob to this but i think 6e5c0a4c-639b-4632-9955-d24c173e6415.dsm does not contain any reference to a file so Logo package is empty (just .dsm) so how can it be corrupted, is more likely that it made that way by tosh and current package tools don't handle it correctly.

I guess we can compare the .dsm with one on device.

I posted long time ago that ervius kitchen crash on Logo package .

yep, posted about it, it is IMGFSToNb that drops FAT , tgtool require a valid OS file with all partition there.

maybe at some point i will modify it to take FAT partition from original ROM.

different size does not matter. tgtools rebuilds ROM OS part from payload MBR that is why you could swap IT with UK os even tho they are different size. if payload file is valid and bootable tgtool should generate a valid bootable rom leaving more free space for user files.

i think that TG01 will not start flashing unless battery fully charged. at least there are some messages in amss about battery level beeing to low "Battery too low!!".

NOPE, leo G-sensor will never work, simply different connected hardware.

If i ever get barred and keep my TG01 will write a HTCSensor.dll wrapping TG01 gsensor functions. but that is completely another project and story.

20% buttery limit could only be removed if is a windows service that checks for it, if it is in radio rom... bad luck

My wishes for a new rom are a little more simple:

- most stable wm 6.5.3 or 6.5.5 ( didn't see that yet ) version

- a clean rom

- free memory, i mean my TouchDual has 80Mb ram and 40 free, my tg01 has 200MB and 65MB free :eek:

- maybe spb mobile shell as tg01 come with it (tho only 3.0.1 and unbranded versions)

I said maybe spb as very much depends on Toshiba's deal with spb, i am a supporter of respecting copyright rights and other fellows work. that is why i am not a supporter of sense on tg. if you want sense buy a htc.
[TG01 ROM Development] arag0n85:
I built a package with all the tools needed for a custom ROM on the TG-01.

http://www.megaupload.com/?d=DQOSCQBJ

This package contains the latest release of the TGTool created by cedemish and a custom version of ImgfsFromDump that allows ROM sizes up to 512MB.

The package description is:

-TGTool 1.3.19

-OSNBTOOL 1.59

-IMGFS Tools (Custom version up to 512Mb)

-Package Tools

-Xidump beta

That's all you need to create custom roms on your tg01. The knowledge is not included :P
[TG01 ROM Development] Novembre5:
arag0n85 have you tried to create a custom rom? If so was it successful? Thanks.
[TG01 ROM Development] arag0n85:
Yes, I created two 6.5.5 roms but I haven't tested them yet.

For the first 1 I used the latest WM package with the TG01 drivers. So it may be an empty rom ready to install what anyone would like to.

The second one is a based on an WM 6.5.5 HTC HD2 ROM, using TG01 Drivers.

Both are in spanish because that's my country and I'm looking for a laboratory rat to test them in risk of his TG01. Once I know they work I will release them for public usage and I will try more kind of roms and optimizations like RAM usage, ROM space abalible, etc.

If you are ready to give it a try with a high chance to brick your device send me a PM.

Also if they work I will release a full guide to create your ROM's using the tools on the package, and the .bat's that would automatize most of the steps. The next one would be to create a UI to handle the process much easier.
[TG01 ROM Development] DunkDream:
Did you already check both Roms with the chk option of cedesmith's tgtool?

Didn't it show you errors?

Someone posted a picture of his white TG01. It's cover was damaged. Maybe he can risk the try of your Roms because he can use his warranty because of the damage his phone has. Maybe...But there's no warranty for that.

Best regards.
[TG01 ROM Development] arag0n85:
Yes, i cheked both with the -chk options without warnings.
[TG01 ROM Development] pipolas:
What are approximately the chance to brick our device?

50%?

60%
[TG01 ROM Development] arag0n85:
Unknown, I will not lie you. While the -chk is succefull, there is no warranty that the -chk options works 100% properly. While boot it's not important the possibility to load a working rom back with the pin method it's a must be for ROM developers. Anyway novermber5 is giving it a try I guess, wait for his results, there is no sense yo test it on more than 1 device.
[TG01 ROM Development] pipolas:
Allright...

So..whe have to wait Novermber5!

Thank to cedesmith, thanks to you, and thanks to novermber5...!!
[TG01 ROM Development] Novembre5:
Flash did not work

I tried flashing the rom using SDDL. I renamed your file to original file name and copied it to prg folder. I ran SDDL and got error message SD Downloading failed. restarting phone. :confused:

:) Good news is phone restarted and was working as if I never ran the upgrade.
[TG01 ROM Development] arag0n85:
You need to use the SDDL+ or pin method to flash it I guess. Anyways, It's good news that the SDDL handled properly the ROM.
[TG01 ROM Development] Novembre5:
Exact error message

"SD Downloading failed. varient is invalid!! Your phone is restarting."
[TG01 ROM Development] arag0n85:
Did you use the SDDL+ or the toshiba's original SDDL?
[TG01 ROM Development] Da Mafia:
"Variant Is Invalid" normally means its a different language to the 1 currently installed, so you would need to use SDDL+
[TG01 ROM Development] Novembre5:
Toshiba's original SDDL
[TG01 ROM Development] arag0n85:
Yup, SDDL+ is needed. You can find it here:

http://www.4shared.com/file/167840790/d080a3b/tg01_sddl.html
[TG01 ROM Development] Novembre5:
What is the difference?
[TG01 ROM Development] souljaboy:
sddl+ skips the check that was blocking you , its just wat u need , if u want to go for it
[TG01 ROM Development] arag0n85:
The SDDL+ doesn't check your device country and allows you to flash roms from other countries or languages.
[TG01 ROM Development] Novembre5:
Will it also increase the chances of bricking my phone?
[TG01 ROM Development] souljaboy:
its like your looking at the devil straight in his eye

i havent heard of anyone totalling a phone just becuz flashing with sddl+ instead of original , a lot of ppl changed languages that way , so it shouldnt add any risk imho
[TG01 ROM Development] Novembre5:
I tried running SDDL+ but my battery is not fully charged, so I am getting that error message telling me this. I will have to keep it charging and then try when battery is 100%
[TG01 ROM Development] Novembre5:
I flashed phone and when phone restarted I keep seeing Telefonica Movistar flashing on and off on my screen.
[TG01 ROM Development] DunkDream:
Is it possible that you show a video of what happens with your phone?

But since it boots, I think everything is alright and you can at least recover it with short pin method.
[TG01 ROM Development] seifer89:
yes i think that too .the phone can restart after flash with SDDL+ but there still error in Rom.
[TG01 ROM Development] pipolas:
It seems that the problem is because of the rom, something bad is in it, but tgtool seems okay, no?

OUF, it boots, so no problems during the flash...
[TG01 ROM Development] arag0n85:
Yes, I think the very same, so the rom is not working but seems to have been correctly flashed. I will have to go to work again :P But I have no clues about what may be happening, but it may validate my rom creation procedure. Now the chances to recover if the 6.5.5 that I sent you doesn't boot are higher.
[TG01 ROM Development] Novembre5:
No problems during flash. Phone restarted and then this logo http://www.nokialatino.com/blog/wp-content/uploads/2010/02/telefonica-movistar.jpg keeps flashing on and off as phone restartes. It goes in and out for about a second on and then off.
[TG01 ROM Development] souljaboy:
u mean its after the toshiba logo rite ?
[TG01 ROM Development] Novembre5:
No, that is the first thing that shows on my screen. Was this logo used to replace the original logo?
[TG01 ROM Development] arag0n85:
No, that's the original logo from the branded Movistar ROM. In order to raise the chances of succefull booting i've used spanish drivers with an spanish rom in order to avoid problems related to the file system organization (Program Files vs Archivos de Programa).

I will give a try again this time with an english version. If you can flash back your rom, plz try the other ROM. I'm pretty sure you can recover your phone from this one too if it's not starting.

The good news for us is that I've not used all the files from the OEM directory and I used a HTCHD2 base to create the ROM, so the device may be restarting cuz driver conflicts or missing drivers. The other rom may have much higher chance to boot if the SYS that I placed is correct.
[TG01 ROM Development] pipolas:
If you want, i can test your rom (the other rom, not the hd2 :) ) this WE (of course, if novembre5 doesn't want to!).

It seems that flashing is okay, and i have a backup of my actual system...so, if i can help, let me know!
[TG01 ROM Development] seifer89:
I think it seems to be dangerous but actually that is such interesting.But do you think the reason that the phone can't go to homescreen because the drivers isn't compatible with windows 6.5.3 ?
[TG01 ROM Development] arag0n85:
Yes I do. The HTC HD2 ROM I used has it's own drivers, so there is high chances that I missed to delete some HTC HD2 driver or missed to add something from TG01, so the chances are high. Anyways that may have been caused from an error packing back from imgfs or from the payload to the tsw file, but hey, That was my first rom! Give me a break :P
[TG01 ROM Development] Novembre5:
While using the short pin method I am receiving error message. Am I doing something wrong.
[TG01 ROM Development] arag0n85:
Wich error do u read?
[TG01 ROM Development] Novembre5:
"SD Downloading failed. varient is invalid!! Your phone is restarting."
[TG01 ROM Development] seifer89:
do you use official rom ?
[TG01 ROM Development] Novembre5:
Yes. But I forgot to rename my .tsw to .enc to circumvent operator/country check. SD Downloader is downloading as we speak.
[TG01 ROM Development] arag0n85:
That's a good thing, because it will mean that the SDDL part of the phone is correctly flashed. There seems to be a problem caused because the ROM language. I remember reading that you need to chance the .tsw file extension to .enc to allow the pin method to flash the rom without checks.
[TG01 ROM Development] arag0n85:
So, we may announce we are facing the first custom rom flashed properly, booted improperly and recovered?
[TG01 ROM Development] seifer89:
that means it run now ?
[TG01 ROM Development] Novembre5:
Phone just successfully reflashed to original rom.
[TG01 ROM Development] seifer89:
Thanks for your confirm and your courage.That means we can flash cooked rom and get it back when something go wrong :D
[TG01 ROM Development] arag0n85:
That's the most important thing we needed to confirm I guess ^^, more important than a working rom itself!

Can you check the other rom file I sent to you novembre5?
[TG01 ROM Development] pipolas:
Great!

I think YES!
[TG01 ROM Development] Novembre5:
Happy I could help a little.
[TG01 ROM Development] seifer89:
Aragon85 : that's a total new rom ,that you have just cooked or that is the rest from 2 Roms that you have cooked ?
[TG01 ROM Development] pipolas:
I hope it's gonna work!

So, now, there is less risk to brick our phone, now that we know we can recover is there's any problem ?
[TG01 ROM Development] arag0n85:
I've cooked the room by this way:

Depacking the SYS/OEM/XIP from the spanish ROM.

Building a clean SYS 192 DPI, 800x480 RES and Spanish Lang of 6.5.5.

Placed the OEM files from the spanish rom with the SYS that I built.

Repacked the ROM files.
[TG01 ROM Development] arag0n85:
I had the work, you had the GUTS! l3vy seems to have flashed a 6.5.3 properly so.. I Will Work to have a bootable version of 6.5.5 before he posts his version :P
[TG01 ROM Development] DunkDream:
Now that you saw that your Roms don't brick the TG01's you also can try them yourself right? :)

I'm very curious if you will release a WM6.5.5 Rom before I3v5y does ;)

At the moment I just hope, that more people realize how important the TGTool is so that they make some donations to cedesmith...6 donations aren't not nearly enough for the work he did for all of you.
[TG01 ROM Development] Alucard24:
I see...thanks for the explanation.So I hope that the 20% limit is only a Windows service and to see one day your HTCsensor.dll :) .

I hope to see soon two cooked roms, one clean for you and one with sense for me :) .
[TG01 ROM Development] kevinpwhite:
Absolutely resonate all those sentiments; also on a practical level I'd rather NOT include somthing like SPB MS simply so that my existing registered copy can be easily updated cleanly as / when a new version is released, rather than having residual files sitting in the ROM. For that reason have advocated removing Core Player .cab as part of the soft debrand routine.

Also, and most importantly, I'd echo the many other positive comments of thanks to cedesmith for his sterling efforts in getting the whole community to this stage - and clearly despite a lot of frustrations along the way.

Well done and thank you !
[TG01 ROM Development] WenWM:
I am not sure about that. I think I3v5y already did his ROM.. a WMPoweruser ROM... he twitted about it. Ill talk to him and see :D well guys it seems its now down to mare days.. or even hours still you'll be basking in the Flashing game.
[TG01 ROM Development] Alucard24:
Great news Wen, does it have sense 2.5 and bugs solved?I'm so happy, thanks cedesmith for what you did for us, thanks to all guys.
[TG01 ROM Development] Novembre5:
arag0n85 any luck with a new wm 6.5.5 rom.
[TG01 ROM Development] arag0n85:
I'm on the work, I flashed it but doesn't boot either. I think it's a problem rebuilding the XIP.
[TG01 ROM Development] Hamido123:
can someone make a video that explains tg01 rom cooking for dummies?...i also want to try to make a cooked rom....
[TG01 ROM Development] okokur:
does anybody realy flashed a cooked rom here?

i mean the part between this

tgtool -sp TG01WP_5005000176.tsw tg01_en.nb0

...cooking .... cooking .....

tgtool -mp tg01_en.nb0 TG01WP_5005030076.tsw tg01_en_unbranded.tsw

or between this

tgtool -sp tg01.tsw tg01.os.payload

osnbtool -d tg01.os.payload 2 imgfs.bin

imgfstodump imgfs.bin

...cooking .... cooking .....

ImgfsFromNb OS.nb.payload imgfs.bin

ImgfsFromDump imgfs.bin imgfs-new.bin

(the between's are in red and called now "red-part". sorry my english)

since last year december (end december, very end :-) i could only to come until the "red-part" (with reading direct from device as *.raw-files).

but the part after "red-part" is not possible.

it comes so early an error .... before i make me here as an idiot, i will test one last thing ....
[TG01 ROM Development] okokur:
i quote me self ....

i find the error ...

if cooking without creating oem/sys than NO-ERROR.

but cooking without oem/sys makes too much brain-errors.
[TG01 ROM Development] arag0n85:
Well, I'm not glad to say it but... I lost :P I won't be able to release an stable build of a 6.5.5 ROM before tomorrow morning. Manually creation it's not working, most sure because I lack the knowledge to rebuild manually the XIP and it's not working using the XIP from another non TG01 ROM like expected, and I can't make work the PRB to help me cook something. I just keep geting -10048798465 error all time.

I have tones of guides to create the XIP directory from xip.bin, but seems that it's a one way path.

Tomorrow with the info from l3v5y I will give it another chance.

PD: After flashing 4-5 ROM's using pin method without any succes I guess that the TGTool has proven to be reliable to create recoverable roms.
[TG01 ROM Development] cedesmith:
Thanks Novembre5 for your tests. It was a important step. My hart was beating like crazy while i was reading the post.

Now i think that chance of bricking the phone are a lot smaller but only time will tell.

Don't take this a encouragement of flashing the phone !!!
[TG01 ROM Development] arag0n85:
Well, I detected some rubish files that may help us to improve the ROM space abalible, and might help also with RAM usage:

Orange UK 10Mb Help Video

Arround ~12Mb from toshibas keyboard

Arround ~15Mb from Toshibas strip menu

Arround ~6Mb from random useless files.

There is also other work arrounds not including myphone, windows live, messenger, marketplace... well... almost any program that usually comes by default to strip down the rom size another couple of MB. I guess we can expect reduction sizes from 40Mb up to 80Mb.
[TG01 ROM Development] strike-down:
cedesmith, as soon as the easter holidays are over and i know what funds I have left (after my girlfriend has attacked my wallet on holiday :rolleyes: ) I'll be sending you a fairly hefty donation. You have done some fantastic work here!!! The donations are well deserved! Thank you :D
[TG01 ROM Development] cedesmith:
ty.

so far 10 ppl donated about 110euro, some more some less. thank you all i relay appreciate it.
[TG01 ROM Development] l3v5y:
Can I suggest we keep kitchen related stuff to the kitchen thread you made?

Cedesmith, you truly are a genius! Will send you some $$ when I get home. :)
[TG01 ROM Development] Hamido123:
will there also be a german rom??

i think there are many xda deve users from germany with tg01
[TG01 ROM Development] okokur:
hope today or tomorrow.

needs organize the last night.

looks good ... and cool WARNING-feature from tgtool. it says "no" to me, its not what i want to hear, but its better than "help, brik my phone ..."
[TG01 ROM Development] Mangasora:
+1 I hope more people get involved.:)

best regards