yashsingh1/xdaforums huggingface dataset:
[TG01 ROM Development] qinwengui:
we hope he can open tgtool 1.3 source code? Or manually changed it yourself, as like i make the rom for Toshiba g910.

You can look at tgtool 1.1, no encryption,but no function mp.
[TG01 ROM Development] Nokser:
You have this version tool???
[TG01 ROM Development] ijross:
Hi guys,

Thanks for the awesome work. I got the HD2 6.5.3 ROM on my TG01 and it is so much better. quite responsive - even for a resistive touchscreen.

Has anyone made progress with WP7? I saw the one on ebay and it looked real. Also, when comparing specs this phone is almost identical to HD2 and the chipset in theory is supported by WP7.

Any ideas? or any ways to get a NAND Android flash?

PS...I am a bit of a noob :)
[TG01 ROM Development] nikola92:
Dude you mean u flashed a ROM for HD2? Or the rom we have here called HD2 clone rom? Android and WP7 D.E.A.D.
[TG01 ROM Development] DunkDream:
Hey hdubli,

Hmm...You tried SDDL+ hdubli? It's worth a try, but it's more risk to flash with it.

But that's kinda strange. You cooked the original Rom and lost 20MB?! That too much I think...
[TG01 ROM Development] DunkDream:
Hmm...I just tried to repack the original Rom.

So I dumped the payload and used the tgtool to glue anything together again.

tgtool -mp tg01.os.payload tg01.bin tg01_new.tsw

I didn't modify parts of it.

And the tg01_new.tsw file got the same size as the original one :)

original: 253.572kb

new: 253.572kb

So the tools seems to do his work in a correct way. But how did you get the size difference?

I think we need exact this size to get it flashed on the TG01.

The older UK version had also exact the same size.
[TG01 ROM Development] hdubli:
wait.do not try anything.it looks my tg01 is brick..after it went to download mode, then did not wake up, and now not power on or show any power led when put to ac power..

i hope i can revive tg01.
[TG01 ROM Development] bird_9527:
OK

I believe it can revive，donnt worry
[TG01 ROM Development] serialkillazzs:
tg01

there iis a debricking method

hope ur not the first to brick your tg01
[TG01 ROM Development] hdubli:
can u tell me what it is ..how to debrick
[TG01 ROM Development] DunkDream:
Try this:

http://xdaforums.com/showpost.php?p=5405267&postcount=325

The chance is good that you'll resue the phone.
[TG01 ROM Development] bird_9527:
short pin can debrick?

I just want to say as dunkdream.

hope it can debrick your tg01,waiting for your good news,dont worry
[TG01 ROM Development] DunkDream:
And here is a picture where you can see the pins:

http://img689.imageshack.us/img689/9964/img0023lp.jpg
[TG01 ROM Development] hdubli:
that is valid when handset has bootloader..in my tg01 there is nothing, it doesnt even show a charging light when AC power is connected..so most probably bootloader gone bad..i need to find out flash via jtag or something..
[TG01 ROM Development] DunkDream:
Okay, then this won't get as easy as I thought.

Maybe serialkillaz knows some special tricks to recover the phone.

Or should I write a mail to Toshiba? Maybe they're interessted in getting cooked Roms for the TG01 so that they sell more phones?!

I could ask for help and show them this thread...
[TG01 ROM Development] hdubli:
thanks :)

well last development was, that i got "Invalid File error" after that , u know it is dead so far.. :)
[TG01 ROM Development] cedesmith:
crap :(

this is why i said about wen's raised donations for test phone :o

this is why i put all the warnings.

@hdubli

did you file compare with original rom ? is it the same till 050F4000 with exception at 0x20884 and 0x20894?

it bricked right on the 1st test? after the error you said in the morning or latter ? can you tell us more ?

and

can you upload your file and give a link to me so i can take a look and see if i can spot anything wrong. please PM it to me, if u put it public someone may try to flash it.
[TG01 ROM Development] darckreign1984:
helo

I will try to write a new rom

but if something happens ...? someone will give me some money to buy me another one if need be? some of them.. not all
[TG01 ROM Development] hdubli:
i can upload sure no issues may be to media fire..also check your PM :)
[TG01 ROM Development] DunkDream:
I think the first step should have been, that we unpack the Rom and payload and then glue it again together without making changes.

So a rebuilded original Rom. That would have shown us, if the rebuilding of the Tgtool actually works.

I also wrote an E-Mail to the Toshiba support and asked how we can rescue a phone that doesn't boot.

Maybe I get an answer soon :)
[TG01 ROM Development] Da Mafia:
I think that is what was tried.

When rebuilt without changes the files sizes are the same and are almost identical.

Hopefully only minor modifications need to be made to TGtool.
[TG01 ROM Development] cedesmith:
i talked with hdubli and from what i understood 1st rom he made was different from original in size and rejected by phone.

he then made a 2nd one in with he changed welcomehead and rebuild imgfs, payload and rom.

he then tried to flash using pin shortcut, he saw SD Downloader screen with downloading message but then current/battery drooped and phone reset without completing download.

it is still not clear to me what happened but maybe tomorrow he can shred some light on it.

on a side note battery doped once for me with back cover off fortunately i was not flashing or anything.

also as i typed this i did the flowing experiment:

with back cover off hold phone by top (where camera is) with battery side down.

light tap bottom (where keys and zoom bar is) on your other hand finger.

battery dropped.

it certainly seam possible for battery to drop while turning phone with lcd screen up after shoring pins.

my advice is that you duct tape your battery to the phone while you flash using short pins.
[TG01 ROM Development] DunkDream:
Well then this got two sides :(

First - the good one:

Maybe the TGTool works properly and the produced Rom would work correct if the battery were not lust during the flash process.

Second - the bad one:

hdubli bricked his phone only because of this little mistake with the battery :(

Maybe someone should write a mail to the Toshiba support and tell them this problem. I already sent one today, so I cannot send another one :(

Best regards,

DunkDream
[TG01 ROM Development] bib*oops:
Excuse my ignorance:why?

Is that a limited option?

If yes: by whom?
[TG01 ROM Development] mfkiwl:
Can't agree more, a safe way to cook a new rom
[TG01 ROM Development] jeams:
the two updated rom given by toshiba had not the same size. I don't understand with coocker rom must have the same size than the original one.
[TG01 ROM Development] DunkDream:
Are you sure?

The both UK Roms had the same size as I know?

Somebody to confirm this?
[TG01 ROM Development] Da Mafia:
The downloadsw from Toshib are slightly different sizes, but extracted, both UK .tsw's are the same size.
[TG01 ROM Development] DunkDream:
Well you're right.

I sent one more mail to Toshiba.

They should show me if they have a good support.

But normaly I find it not very friendly that I send Toshiba more than one mail per day. Dont know why...

Best regards
[TG01 ROM Development] bib*oops:
A little confused:

what about other ROMs(italian/french/german), are they equal IN SIZES?

I doubt it...
[TG01 ROM Development] DunkDream:
I'm downloading the italian and french rom right now.

I can tell you in some minutes if they have the same size.
[TG01 ROM Development] Da Mafia:
The Italian ROMs are different sizes to the UK ROMS and are also different sizes from each other.

So i'm no sure how or why both the UK ROMs are the same size.
[TG01 ROM Development] bib*oops:
Thx for your answer!

1.

Way to go, bravo...

2.

No offence, if this is your opinion, you are to kind to them, isn't it?;)
[TG01 ROM Development] jeams:
the two french rom have the same size, my mistake
[TG01 ROM Development] bib*oops:
I can confirm :

the italian Roms, old vs. new, are different in sizes for just 1Mb(enough, I suppose, to make a difference).

old=249.476.080bytes

new=249.611.248
[TG01 ROM Development] pipolas:
so we still don't know if tgtool is ok or not...

Maybe we could flash a 6.5.3 rom tomorrow...maybe not!

I hope we're going to have our rom soon!

Keep the good work!!!!!

Thanks
[TG01 ROM Development] Da Mafia:
I've just successfully flashed a ROM to my TG01.

I took the latest UK ROM, extracted and repacked with TGTool.

Renamed it to the original filename, and flashed as normal with the official SDDL.
[TG01 ROM Development] DunkDream:
Thanks for your confirmation!

So the tool acutally WORKS well!
[TG01 ROM Development] bib*oops:
Hihihi;), good news so far...

What's next?
[TG01 ROM Development] DunkDream:
Good question...what's next?

Hmm...I would say it's again to the cookers.

They need to cook a new Rom and we need a test device that is paid with donations, so that we can test on that device.

While flashing we must be sure, that the battery cannot be removed from the phone during the process of flashing.

Then maybe everything will work properly.

But only maybe...
[TG01 ROM Development] Novembre5:
Test Device?

I was just wondering what ever happened to the money that Wen collected? Was that not for a test device and did he not already give someone the money? Also, I think we have not heard from Wen and the cooker who got the money. Correct me if I am wrong. Or, maybe they will be making a big announcement soon.
[TG01 ROM Development] pipolas:
So....the hardest thing you have to do is done, no?

Now, we "just" have to wait cookers ?

Now, we can be sure that we'll have cooked roms?

Good game!
[TG01 ROM Development] DunkDream:
Let's first wait for cedesmith. And yes, the hardest thing CEDESMITH had to do, is done ;) He did all the work.

I think he can tell us what the next steps are.

I think he didn't read that there is one succesfull flash of a TG01 with his tool.

For me it seems, that the tool works and does what is needed for us.

I'm out for today...
[TG01 ROM Development] kevinpwhite:
That is brilliant news !

Validates all the hard work cedesmith has put into creating the TGTool.

Is it possible now to make VERY minor changes (eg. JUST the welcomehead.192.png startup screen image - make sure same filesize as the original), one at a time to build up experience / confidence, BEFORE anyone embarks on a more extensive 'cooking' exercise ?

@cedesmith, looks like you have really come up trumps ! Well done and many thanks :)
[TG01 ROM Development] Da Mafia:
I'd love to try but i'm no cooker or hacker.

The reason I flashed the rebuilt ROM is because it seem fairly low risk. I assumed if there was any problems then the official SDDL would tell me so.

I hadn't seen anybody else say they tried it and figured it would be the first step to just try an unmodifed rebuild.
[TG01 ROM Development] nico101:
hdubli rom had difrence in size... so in rom image may be a section that checks the rom size... or something like that... we must wait till cedesmith looks at hdubli's rom and maybe he will find why his device was bricked but this shows that cooking for TG01 is extremly dangerous and the device is easy to brick we need usb flashing utility in this case... or method to flash rom without touching bootloader etc.
[TG01 ROM Development] mfkiwl:
good point

find a safe way to flash is import, at least we need a backup that won't brick our device
[TG01 ROM Development] DunkDream:
But for me it seemed that hdublis Rom is maybe correct and would work properly.

There was only a little accident. While flashing the phone, the battery dropped out of it. So flashing process stoppend and phone crashed.

We don't know if hdublis Rom is the problem that his phone is bricked now.

That's why cedesmith told us, that we should fix the battery on the phone while flashing with for example a tape.

Let's just wait until we get news from hdubli or cedesmith. Or Toshiba answers my two mails.

Best regards,

DunkDream
[TG01 ROM Development] nico101:
@DunkDream on polish TG01 forum someone dropped battery in first wm6.1 - wm6.5 upgrade and the phone locks on toshiba logo but didn't go further
[TG01 ROM Development] cedesmith:
edit: on different sized rom wmb3 length is not properly set by tgtool so DO NOT FLASH

wow great news.

i went to bad last night after my post as i am relay sick.

Da Mafia you are insane (or not married) ;) i would not try.

hdubli said when he bricked his phone it was using rom with same size as original, he modified welcomehead and rebuild. i am still waiting for him to log in and confirm/tell more.

also he said he doesn't know if he has warranty as toshiba had not released tg01 on his region. if power dropped while flashing bootloader (and it seams the only logical explanation after DaMafia's test) he was still in original rom section so no way to tell he was flashing modified rom.

btw Thosiba: No matter what ?

it and en file size is different because imgfs is different.

there is no requirement for the file to be exact same size. if it is same file header is unmodified. if is not same there should be 2-3 changes in file header at 0x20884 and 0x20894.

same file size thing was a good idea as we now know that works.

next step would be to remove from original rom some things and rebuild.

i don't encourage nobody to try it and if someone does try is on his/her risk. there are serious chances to brick the phone.

to build a modified rom i used:

tools\osnbtool.exe -d tg01.os.payload 2 imgfs.bin
tools\ImgfsToDump.exe imgfs.bin > nul

del /F /A:HS dump\HSSelectorInstaller.CAB
del /F /A:HS dump\Monopoly_World_Demo.cab
del /F /A:HS dump\NFS_Undercover_Demo.cab
del /F /A:HS dump\Orange_WMP-Filter.cab
del /F /A:HS dump\OrangeHomescreen_en.CAB
del /F /A:HS dump\OrangeTVPlayerSetup.CAB
del /F /A:HS dump\SetWallPaperCab.CAB
del /F /A:HS dump\Help.wmv

tools\ImgfsFromDump.exe imgfs.bin imgfs-new.bin
tools\osnbtool.exe -c tg01.os.payload 2 imgfs-new.bin
tools\tgtool -mp tg01.os.payload.NEW tg01.bin tg01-new.bin

note that:

i used osnbtool v1.59

osnbtool -c creates tg01.os.payload.NEW.

output should be 223838208 bytes

if it works congratulation first cooked rom flashed :)

else hope short pins works and can be debricked

else sorry for you, i told you not to try :D.
[TG01 ROM Development] mr.mike:
@cedesmith:have you over look t01A-rom? we hope that you can figure out the reason why t01A can't flash tg01 rom although it's just the japanese version of tg01 (same hardware?)

http://update.toshibamobile.com/update/t01a/wm65/T01A_to_SP50_wm65.exe
[TG01 ROM Development] cedesmith:
t01A seams to be encrypted with other KEY and does not decrypt.

i didn't discovered the key for tg01 or know how to.

sorry
[TG01 ROM Development] khil:
In terms of servicing the phone on warranty, as long you have the purchase receipt, it should be possible for somebody in the country the phone was sold in to turn it to phone company (for example o2 branch in Germany). My TG01 stopped booting for no reason (probably cold though) and it was before the discovery of bootloader pins, so I when I was going through Germany (in my country there is no Toshiba whatsoever) I just dropped to random o2 shop and waved the receipt I got from ebayer. No questions were asked really (like how it happened :D ), they took it and sent back 2 weeks later (to my friends in berlin, who forwarded it to me)

My advice would be to find somebody nice from forum and ask for help.
[TG01 ROM Development] mr.mike:
Ok,i know...

But i have a question ,if we can find the key for t01A ,would you like to release a Tg01 tool version for T01A?
[TG01 ROM Development] bib*oops:
:p... He got balls...

Hai, ca i-ai zis-o...
[TG01 ROM Development] okokur:
please, let us the chance to broke our device by experiments and give download free, please.

look to picture, this was made on first day, if device arrived.
[TG01 ROM Development] cedesmith:
if you wish to brick your phone here is your chance ;) new version on 1st post.

but don't forget to tape the battery to the phone and maybe record whole thing so if it goes wrong we can look at what happened.

here's a thought to make a it unbranded uk, it inserts uk en OS into it unbranded.

is a bigger step then unmodified rebuild and i think there is no need to say it could brick your phone.

tgtool -sp TG01WP_5005000176.tsw tg01_en.nb0
tgtool -mp tg01_en.nb0 TG01WP_5005030076.tsw tg01_en_unbranded.bin
[TG01 ROM Development] DunkDream:
Isn't it possible now that someone cooks a new Rom and provides it to us?

With this new options that are added to the tgtool it's worth a try to flash a phone.

Or maybe we should wait until someone develops a rescue method for bricked TG01's.

I thought Wen got a test device. Why does he not try a flashed Rom on it?

Thanks cedesmith for the new upgraded tool!
[TG01 ROM Development] Da Mafia:
They're both right ;)

I tried what you said and I get Invalid Variant error.

So I tried it the other way around and I got it to flash fine with the official SDDL, so now I have an Orange branded phone in Italian.

That means that there should be no reason why the UK Unbranded wouldn't work with SDDL+ or shorted pins.
[TG01 ROM Development] cedesmith:
it is worth only if you are a adrenaline addict. is no way safer it was before.

it is worth only if you afford losing your phone and don't feel sorry for it.

changes will probably make phone accept a different sized rom (previous you would get a Invalid file error and reset back to WM as hdubli reported), but don't reduce by any means the risks.

there is no rescue if short pin don't work or at least not for most of us as it requires unsoldering of flash chip, hardware for flashing chip, flashing chip and soldering it back.

or disassemble phone, locate cpu jtag pins/island solder wires to hardware jag interface, load bootloader directly into cpu, make it load amss, flash chip.

eater one of this requires hardware tools and a lot of knowledge.

you could have better luck with warranty.

i hope it will do but my guess is he didn't know what he was getting into :D
[TG01 ROM Development] cedesmith:
@Da Mafia

can you explain more what you did ?

you tried with delete dump\Help.wmv and the rest and got Invalid Variant error ?

the you tried variant from last post and it worked so now you have a orange branded italian rom :eek: ?

it is possible you did in wrong order ? split TG01WP_5005030076 and merge into TG01WP_5005000176?

it would be the only thing that made sanse if you have orange it :)

edit: if whoever try again plz make pictures/video as exact error messages are very important. if you decide to take the risk at least we find something
[TG01 ROM Development] mikiril:
l3v5y is going to try a cooked rom soon ;) See http://twitter.com/l3v5y
[TG01 ROM Development] Da Mafia:
I followed

tgtool -sp TG01WP_5005000176.tsw tg01_en.nb0
tgtool -mp tg01_en.nb0 TG01WP_5005030076.tsw tg01_en_unbranded.bin

and the official SDDL gave the invalid variant error, just like trying to flash a normal Italian ROM to a UK phone.

So because I wanted to try and use the official SDDL, I did the above in reverse, and now I have an Italian ROM with Orange branding.

The reason I did it this way is because I figured it would be slightly safer using the official SDDL.
[TG01 ROM Development] cedesmith:
ye, probably as soon as tgtool is stable and know not to brick anything.

so i will quote a painting on a wall TO ALL VIRGINS: THANKS FOR NOTHING

if you read wen's new thread you would see will use tgtool for rom creation (tho i would prefer it linked and named in the post not my name).

what really bother me is that wen raised donation for a test device and where is really needed users like Da Mafia and hdubli risk their phone.

what really bother me is that they leave impression that they are working on something, l3v5y doesn't even know recovery methods ?? WTF ?

what really bother me is that they don't give me proper credit after all i worked like crazy for 3 weeks on this, i think proper lines would be "thanks to cedesmith efforts on tgtool we are close to release a rom" for example.

i only continue to work on this because of peoples like Da Mafia hdubli and 5 peoples who donated and i feel in debt to all of them.

and if some moderator minds about me writing WTF again i only have to ask where ware you when wen broke xda policy and rised donations in advance and promoted his website (WMPoweruser.com) on xda ?

when tgtool is working there will be a lot of roms and kitchens, chefs will **** for devices they have and will test roms, will be no need for a test device. now it is needed. i cannot tell you how much Da Mafia's tests mean and how important they are.

without tgtool (or another tool that does same thing) there will be no cooked.PERIOD.

hell if current version is not working i miight release next version only to selected chefs so they can release nothing and even blind peoples can see how hard wen and his men are working
[TG01 ROM Development] Da Mafia:
Just flashed the UK Unbranded ROM using SDDL+. Worked fine, no Orange Statup/Shutdown logos, but still contains Orange software, althought this can easily be removed manually.

Also want to thank you cedesmith for the time and effort you've put into this.
[TG01 ROM Development] pipolas:
Waooo, great news no?
[TG01 ROM Development] cedesmith:
well i vented a bit ... :p

sorry but it really bothers me that peoples don't understand how hard work it is and think that i am toying while.... look Wen will have a rom soon and don't understand that they can't nail this without a hammer(tgtool).

on the other hand Da Mafia's post means that probably tgtool is finished and working.

creating a rom from 2 different parts is same as a cooked rom with the exception that ingredients are well known.

kids do not try this at home.

don't use sddl+ i think it is risky as it skips some steps, there is info that renaming .tsw to .enc skips it/uk/ro/de checks when used with short pins.

also there is info that .bin work with shorting pins also and no language check is done.

i think tg01_sddl.exe and short pins are safer (if you duct tape battery) because it is made by toshiba and not a hack.
[TG01 ROM Development] Da Mafia:
My mistake, there is still an Orange logo on shutdown, but not on boot up, but as you say, this at least shows that TGTool works.
[TG01 ROM Development] DunkDream:
Thanks for this confirmation!

We need more users like you! For me it also seems that you know what you're doing! Keep your tests up but don't risk too much!!!

@cedesmith

So it really seems that your tgtool works just perfect cedesmith!

At the moment I placed a bid on ebay for another TG01 :)

Yesterday one was sold for 120 Euro. I would pay that for a test device :)

If I get the device, I can test some Roms with it. But like you said before, I also don't have the courage to risk my phone :(

I can understand your rage about what happend....

And btw. you only received 5 Donations?!?!?!

That's in my opinion a bad joke. People seem to not appreciate your work, what I can't understand...
[TG01 ROM Development] souljaboy:
thats how it should of been ... donation for devices ... now device is bricked and donation is elsewhere
[TG01 ROM Development] gmx333:
6 now. Sorry for the delay cedesmith !
[TG01 ROM Development] pipolas:
7 friday, 'cause i'm waiting for my income :)

Soon, we'll have our room...! YIHAAA

Thank you!