yashsingh1/xdaforums huggingface dataset:
[HTC Wildfire S] d33ps1x:
Ok. My gfs phone is stock rooted 2.3.5 close enough?
[HTC Wildfire S] no.human.being:
Let's find it out.

I'm just stepping through the HTC unlock process and it requires a Windows PC. *zomfg*
[HTC Wildfire S] theq86:
nah, not at all. fastboot and adb are also available as linux bins on the site.
[HTC Wildfire S] no.human.being:
You have to flash an RUU file and it has the extension *.exe. :D
[HTC Wildfire S] sythe179:
Could run it through wine?
[HTC Wildfire S] no.human.being:
Don't think so. It does low-level stuff on the phone. Windows tells a dozen times that new drivers have been installed while flashing an RUU. I'm very cartain that this won't work on Linux. Another reason for true S-OFF. :D
[HTC Wildfire S] sythe179:
"./patch: permission denied"

...not sure what im doing wrong...
[HTC Wildfire S] no.human.being:
When you're uploading it to the phone from a Windows machine, the file may have its POSIX permissions lost because NTFS does not support POSIX permissions.

When on the root shell, just do "chmod +x /data/local/patch", this will give you permission to execute the file.
[HTC Wildfire S] sythe179:
Bad mode.....
[HTC Wildfire S] no.human.being:
?

How do I get Custom ROM on my WFS? You first have to flash CWM right? And you do this through ROM Manager, right? Now ROM Manager asks me for my phone model and the WFS is not listed.
[HTC Wildfire S] d33ps1x:
Got the dumps.

Posting them on my dropbox for you now. BBIAB
[HTC Wildfire S] bippitybug:
Wildfire S now supported on HTCDEV

Guys check out HTCDEV

Wildfire S is finally supported

regards,

Bippitbug
[HTC Wildfire S] d33ps1x:
Thanks. We had heard. :p
[HTC Wildfire S] sythe179:
Using +x replys bad mode
[HTC Wildfire S] d33ps1x:
Dumped it already using adb for mac. I had no luck under windows either.

Dump links are in a pm to you no.human.being...

---------- Post added at 10:43 PM ---------- Previous post was at 10:23 PM ----------

No it's not officially supported. Alquez's unofficial has to be flashed at hboot or via pc by fastboot
[HTC Wildfire S] no.human.being:
Thanks. I'll do my very best. :D

I just installed it from here, no idea whether it's the same file, but it seems to work.

Don't format the SD with ext though as everyone tells. Format with FAT. The recovery won't mount ext partition. It's weird that everyone says it has to be ext with CWM and then it can't read ext at all.

BTW I'm on CM7.2 now.
[HTC Wildfire S] d33ps1x:
Original and patched

Nevermind. lol (insert 10 characters)

---------- Post added at 10:56 PM ---------- Previous post was at 10:52 PM ----------

I've only heard of formatting partition 1 on the SD with FAT32.

For the second primary parition for Link2SD etc, I use Ext4
[HTC Wildfire S] no.human.being:
F***! Now I know what I forgot to back up. Phone book. :mad:

Well, that's kinda .. bad .. :D

Well .. seems I gotta ask a lot of people for their phone number in the coming weeks. :D
[HTC Wildfire S] csoulr666:
Guys!!!! Things have not ended!!!!!We can get Full S-OFF more easily than before since HTC has unlocked the bootloaders
[HTC Wildfire S] sythe179:
Really........like we dident know...

No.human, are you still working on it, it you taking a break to play around with ya phone?
[HTC Wildfire S] d33ps1x:
Looks like it!
[HTC Wildfire S] eoghan2t7:
The question is how lol. Why would you want s-off now the BL is unlocked its pointless now for s-off I think.
[HTC Wildfire S] d33ps1x:
I'm quite enjoying my custom system, cache and data partition sizes with CM7.2 and I'll continue to enjoy them with CM9. :)

Also digging my simlock being off and not having to go through hoops to flash any RUU I want due to supercid.
[HTC Wildfire S] sythe179:
Maybe Becouse its not unlocked for all versions of the wildfire s?....

Hey, Australian WFS still don't even have 2.3.5.....
[HTC Wildfire S] eoghan2t7:
How did you resize your partitions?
[HTC Wildfire S] eoghan2t7:
Oh I see I haven't had a chance to see what stock roms are available ;)
[HTC Wildfire S] d33ps1x:
Muahaha...

Let me find the info and post it.
[HTC Wildfire S] sythe179:
Don't post it here, not on topic..

No.human.being, are you working on your exploit still, or are you taking a break for a while?
[HTC Wildfire S] d33ps1x:
Nope. Making a tutorial for it. Debating on not at all as you can really fubar your phone if you do it wrong...
[HTC Wildfire S] sythe179:
So...guess the unlucky us in aus are back to square one...
[HTC Wildfire S] SavageButcher:
Ok, i need an advice: what are the wise guys doing? Just unlocking the BL through htcdev (therefore voiding the warranty), or are they still patiently waiting for a s-off method that could be undone (so not compromising the warranty)?

And more: i think i read somewhere that unlocking the BL using the HTC supertool would not let htc know you're unlocking it. Is this true? Would this method save your warranty?

Thanks in advance for the answers, guys!
[HTC Wildfire S] sythe179:
Your warrenty could be compromised with both methods, but alas, the devs that where working on this have quit Becouse there devices are covered by the official semi-off method.

So, the rest of us that can't use it due to regions not being covered, are waiting for news of progress in any of the two methods....
[HTC Wildfire S] humzaahmed155:
Just a noob Question

my phone is still locked thanks to my operator who hasnt released 2.3.5 yet thus being in-compatible with the htc dev method. Is it possible to flash this to the unbranded version?:confused:
[HTC Wildfire S] sythe179:
I know how you feel, and no, untill your provider, and htcdev both make a version that matches, you, like another 50,000 people are in the same boat.
[HTC Wildfire S] SavageButcher:
are you sure about this? If i remembeer well what i read yesterday, i think no.human.being is not gonna stop looking for a s-off method.
[HTC Wildfire S] sythe179:
No.human is d33p....
[HTC Wildfire S] sythe179:
To get it to work on Windows, use:

Chown root root data/local/patch

Data/local/patch
[HTC Wildfire S] Nightshadow931:
Just update it manually.
[HTC Wildfire S] sythe179:
Explain....please...

It's like people don't think that we might have tryed the easy things...
[HTC Wildfire S] humzaahmed155:
see, but the thing is that we cant flash this without an un-locked device, and getting this unlocked will have already unbranded it!
[HTC Wildfire S] d3tr0:
phone no future, need to sell this marvel :(
[HTC Wildfire S] imlgl:
Time to revert back to stock and look into getting a new phone now. The scene is dead
[HTC Wildfire S] arkatis:
I told you....."Sweet dreams" :mad:
[HTC Wildfire S] akshayf:
Time to just throw this phone away and never ever touch an HTC again.
[HTC Wildfire S] Mazer.one:
Je regrette vraiment mon hd2 ...

Sniff :(
[HTC Wildfire S] :
Wow guys, not so fast! :eek::eek:

It's not because this thread has moved that development is dead! ;)

Other phones have moved also, like htc chacha, galaxy ace, hero ...

I would bet when there was a software unlock, you would become back immediately!

Rom development is growing, theme support also (thanks to me). Even CM7 is here! Jikanturu left, but others went over here. Alquez is still going strong :p

Just get that xtc clip! Use ebay, the official site or other ways!

Some help for the lazy person, hit thanks!

My WFS is such a super smartphone, even a friend said it. :cool:

According to him, the screen is gorgeous, 10 times better than original wildfire.

And he has a desire s!

For all that sell or throw away this device because of the message:

you shouldn't be here, you had enough money to buy a higher end smartphone before!!
[HTC Wildfire S] m4rk84:
Listen to this guy! I paid twenty quid to get my WFS unlocked in a phone unlocking shop, they used an xtc clip and made it s-off in the process. It cost £20. Hardly breaking the bank, and think of the hassle it will save you compared to having to sell your device and find another 'cheap' smart phone with a good dev scene. So what if Jikanturu left the scene? The rom's he posted were solid.

WFS is a nice handset. Good luck getting a software s-off.
[HTC Wildfire S] *se-nsei.:
This is pretty **** no doubt, but it's not the end of the wildfire S. I never use the main plate forum to visit this place anyway, it's bookmarked. As is for all of you I'm sure. :)
[HTC Wildfire S] Aef 101:
Too right, I wouldn't have known if it wasn't reported in here, bookmarks are the way to avoid trawling through crap.

Sent via Tapatalk
[HTC Wildfire S] d33ps1x:
Not showing up in Legacy yet on my Tapatalk. Lucky I have General and Dev sub forums as favorites. :)

This status has to change though. I am steamed.
[HTC Wildfire S] qzfive:
Whereabouts in the UK are you? Everywhere I tried where I live (Newcastle/South Shields) don't know what the XTC Clip is :/
[HTC Wildfire S] m4rk84:
get yourself to the metro centre. the phone shop opposite the cinema did mine. £20. pm me if you need more info or whatever
[HTC Wildfire S] intel007:
£20 is to much, should only cost a tenner. (£10)
[HTC Wildfire S] sunnymiu:
I am not a dev but I am joining all of you. S-OFF is highly required for keeping a phone last forever!
[HTC Wildfire S] :
And a post here also!

For s-off you need xtc clip!

An xtc clib buy group with 25 pages is in my signature, just click on it and search your country!

Hit thanks if I helped you!
[HTC Wildfire S] *se-nsei.:
bump bump bump !
[HTC Wildfire S] No.12:
No use of bumping.

We are not on the first page of Portal, transferred to old devices. Nobody visit this forum except us, the WS users, and it looks like there is not enough qualified persons among us who know how to solve this problem.

Sent from HTC
[HTC Wildfire S] *se-nsei.:
It still comes up on search, and new posts button.
[HTC Wildfire S] m4rk84:
£20 is what it cost. Simple. And I know the guy can do it. Another tried to charge £30 just to unlock. Robbery. Regardless, £20 to be able to stop pining for s-off and have more space, speed and fun. I know its the principal of the matter..but screw it, enjoy your hand set to its full potential ....

Sent XDA App
[HTC Wildfire S] d33ps1x:
3 little things...

Totally agree.

We need two things to keep this development and forum alive:

Well three.

1/ Stop obsessing over HTC's unlocked bootloader. We need FULL S-OFF and SIM card unlock

2/ Shake out your pockets and get your devices XTC-Clipped. For the cost of it vs the effort put into moaning about it. What is YOUR time worth? I know mine is worth more than the time I spent trying to software S-OFF this thing. If it happens great! Until then we need a bunch of S-OFF'd phones and developers to not be relegated to the boneyard.

3/Focus on what we CAN change soonest. Getting back on the main forums. This is the most likely thing to happen with the least effort to keep us current and visible to other WFS users and developers looking for a home.

So get through wasting time on item 1, spend some money on item 2 and let's all work on petitioning for item 3.

So check out the threads in my signature and find your local XTC Clip owner and let's get this forum moving.

Thanks to all those still making development efforts and efforts to raise awareness of this great little phone that could.

Cheers.

B
[HTC Wildfire S] no.human.being:
I'm still working on it .. well kinda. I'm actually preparing for the exams in my studies in computer science, so I'm not having much time to look into this at the moment, but I'll definitely keep the work up at a minimum (and probably return to "full capacity" as soon as the exams are over mid February). Don't wanna give up, now that we have come so close.

From the legal point of view, you're compromising the warrenty in both cases. But probably HTC won't be able to easily detect a "true" S-OFF, but they'll certainly check the device serial against a "blacklist" of devices that were officially registered for unlocking at HTCdev.

What has surprised me was that, even on an unlocked device, you still need to install a custom recovery (CWM) first and to install this recovery, you still have to use a goldcard. And before unlocking, you have to perform a Radio update.

I thought that the bootloader unlocking would enable you to simply flash Custom ROMs using stock recovery, but it does not. The only thing it does is make replacement of the recovery possible. Then you install CWM and then you can flash Custom ROM. So you still have to modify the phone to a great deal, it's not as "click and go" as I expected it to be.

Not that this was any problem, but just for information, you still need lots and lots of custom tools to install Custom ROM, even with the bootloader unlocked. So they only opened up the absolute minimum that was neccessary to make replacement of recovery possible.
[HTC Wildfire S] Lt.Win:
Check out my tutorial in the general section on how to upgrade to 2.3.5 manually. Good luck! :D
[HTC Wildfire S] *se-nsei.:
I guess the first post needs quite a bit of updating huh. :p
[HTC Wildfire S] no.human.being:
Yep, the exploit code is outdated too. Better just link here instead of quoting it all. This code will probably change again and again as the exploit is developed. :D
[HTC Wildfire S] ONeill123:
no.human:

So this script will s-off the phone, if u compiled it?

If it is so, i will think, that u make the same like alpharev with beta keys. So if anyone say, that it brick the phone, you can stop generating beta keys. Think this is better then publish the code under gpl. Maybe i can help you with this.

I can program under Delphi and webscripts. Maybe we can create a group working on this exploit.
[HTC Wildfire S] *se-nsei.:
okay, sure ;) I've gotta say I love the determination and work you've put into this mate. Shall update the first post in a while, got a lotta coursework shiz to get done lol.
[HTC Wildfire S] Lt.Win:
<3 HTC for atleast this lol. No.human, you're sh*t genius. Teach me. Lol.

I'll be unlocking tomorrow, I swear I won't be able to sleep right now lol xD.

No.human, you said avradio upgrade is required for the unlock, how do I update the radio?
[HTC Wildfire S] d33ps1x:
Naw man we are two different people. I'm already S-OFF and I haven't given up on helping get it for you and others.

No worries ;) Give people a few days to enjoy their win here and then it will be back to business looking for S-OFF patch. Be happy for them.

They deserve a little break to actually try some of the things they have been sitting on the sidelines watching. Unfortunately for you you didn't get your ticket to the party this time but it's coming in the mail. ;)

Cheers

DS
[HTC Wildfire S] no.human.being:
I've already posted a compiled version. It's in this post. The post also explains what you need to prepare in order to run the exploit. If you were to run it on your phone, it would just dump your "/dev/mtd/mtd3" to a file called "dump.img" on the SD card, then patch it to a file called "patch.img" and then stop. I've run it on my phone and it takes about 6 minutes to complete both, the dumping and the patching. The last section, which flashes the patched image back to the phone NAND, is commented out, as the offsets where the patching occurs are from the Desire S, not the Wildfire S.

I've done a binary comparison between a stock dump and a patched dump on my phone and the offsets are almost certainly incorrect (e. g. where the exploit patches the SuperCID in, there is definitely no CID stored in the stock ROM). If you were to comment the last section (the one that flashes the patched image back to the phone NAND) in and compile and run this on the phone, you'd probably brick as the exploit were basically overwriting more or less arbitrary data on the ROM during the patch process, but you definitely won't get S-OFF at this point. So basically the patching should work. I'm just not sure about where to patch on the Wildfire S. If we get these offsets right, we should be done, basically.

I would have to set up a web server for doing so and code all the authentification stuff. No I will definitely release it under GPL so that I can no longer stop you from S-OFFing your phones (e. g. by taking down my server, etc.). I don't want to have the power to take your freedom away. I just don't want the responsibility and I don't want you to depend on me. That's why I publish the code regularly, even though it's still unfinished, so that a new developer may overtake this if he were not confident with what I'm doing. This is true open source development people. Strive for decentralization. :D
[HTC Wildfire S] d33ps1x:
Any luck in finding the offsets with my dump?
[HTC Wildfire S] no.human.being:
I considered to start looking for the xtc-clip's "SuperCID" first, as this is probably the easiest to find. It's an ASCII string of "11111111", so as long as it is stored as a zero-terminated value (as a C string) it's probably 0x313131313131313100 hexadecimal.

This pattern can be found on the following offsets on my stock image:

0x057eef20
0x08b8cf56
0x098a5778

And on the following offsets on your (xtc-clipped) image:

0x0065c778
0x00afcf56
0x01b9ced8

These offsets all look pretty arbitrary though. On the Desire S, the CID is stored at offset 0x00000200, which is a much more "beautiful" number. :D

I'm not sure if it's really a zero-terminated string though. If they omit the termination byte for some reason, my utility currently won't be able to find it.

I have yet to find a tool that enables me to search for arbitrary binary patterns in files, not just zero-terminated strings. If there ain't such a thing, it should not be too difficult to code. Just load the image to RAM, move a sliding window over it and do binary comparison.

Also consider removing your dumps from dropbox. I have no idea what kind of remnant data might be contained. I have moved them to an encrypted storage and will definitely securely dispose of them (perform ATA "Discard" on the corresponding sector ranges on the SSD storage) when I'm through with them.

Please don't expect too much for the coming weeks. I'm actually extremely busy at the moment and this has nothing to do with my unlocked phone. I won't let you down though, I'll definitely pick this up when I'm having more time. If someone has the offsets for whatever reason, please post them here and I'll be quick to build the rest of the exploit. If not, then finding them will probably be the big challenge. Patching should be quite straight forward once we know where to patch. :D

Remember we need three offsets:

- 1. secu_flag itself

- 2. CID

- 3. SIM lock
[HTC Wildfire S] pihug12:
Silly question : are the offsets the same with HBOOT 1.08.0000 and HBOOT 1.08.0099 ?

We know that "Secu_flag resides in the radio NVRAM and HBOOT reads the secu_flag".

Do you need a dump with the new HBOOT ?

Just for my culture, what's in "/dev/mtd/mtd3" for the Wildfire S ? ROM (/system), bootloader and Radio ?

So kernels (/boot) and recoveries (/recovery) are in another blocks ?

There should be a page in the wiki for these basic things. :(
[HTC Wildfire S] d33ps1x:
/system based on the size (272.6 mb)
[HTC Wildfire S] no.human.being:
There is no "/boot" directory on Android. I must admit, I actually have no clue where the main kernel is located on Android. I expected it to be somewhere inside "/system", as "/system" and "/recovery" are the partitions that secu_flag is protecting, but I have never actually come across something that looks like a kernel (a "vmlinuz" or "bzImage" or something like that).

POSIX standards require the kernel to be located either inside the root of the file system hierarchy ("/") or inside "/boot", but it doesn't seem to be there on Android.
[HTC Wildfire S] BeciMester:
It is a zero-terminated string, it must be. At least in the hboot .nb0 image, every single string is zero-terminated, and padded with further 00's into 4-byte blocks. Although if the XTC clip puts "11111111" on the phone, I'd be surprised if you found it in your stock image.

Try Frhed, it's invaluable if you like to tinker with software. It can load files partially, and search for pretty much anything: binary, hex, strings etc. Oh, and open source too. ;)
[HTC Wildfire S] meanmug:
[Request] Thread closure

Well guys we got what we wanted for our phones, so I would like to request to all OP's that we start asking the mods to close the s-off threads. We fought a good battle, but if we dont close the threads they will spin off into something else.
[HTC Wildfire S] Nightshadow931:
Some people still want/need S-OFF.

no.human.being is still willing to work on that, so I don't see why this thread should be closed.
[HTC Wildfire S] BeciMester:
@meanmug: I don't understand. Just because you're happy with what you got, everyone else should be, too?! You don't have to watch the progress if you don't want to. Enjoy your 'unlocked' phone.

Desire-Oxygen2.3.2 | WFS-stock
[HTC Wildfire S] sythe179:
Ok....guess i'll upload a system dump when it finishes uploading.

No.human.being, is it possibe to start a phone framework initialization?

Might be able to set rw permittions through that?
[HTC Wildfire S] d33ps1x:
No thanks...

I know everyone's in their glory that got unlocked today but it also left a lot of people out and many would like to see a successful software s-off exploit developed.

With all due respect the people involved in these threads are going actually continue to do so. :)

I've been hardware s-off for many months and I'm involved because I want others to experience the TOTAL freedom to install what you want, when you want.

If you look at all the issues today, many of them would have been alleviated by having an S-OFF solution.

This unlock is a partial and limited solution, albiet a lot of fun for a lot of people.
[HTC Wildfire S] sythe179:
ok, heres a basic (file) system dump.

not sure if it will help, but should give a basic layout of the system for you.

Also should help to show supported adb shell commands, and where specific things are without using ls to the max...

(three sites wouldent let me upload this....to big/to many folders in it...)

(also compressed it as best i could)

https://rapidshare.com/files/3678103153/system.7z

No.human.being, is it possibe to start a phone framework initialization, boot initialization, or system initialization?

Might be able to set rw permittions through them?