yashsingh1/xdaforums huggingface dataset:
[Desire General] Superchasin:
I want to make my device S-Off. But what Table I gotta use? Now my ROM is Oxygen... but I want the possibility to flash other ROM's too. What should be the best one where I can flash all ROM's with and with the most data space.

And in a short way so I can understand the steps are:

1. Download your HBOOT

2. Burn AS .iso on a CD-R

3. Connect Phone to PC

4. Reboot PC and run from CD

5. Follow instructions and S-OFF

Thanks.
[Desire General] mlindert:
1. No download iso, not hboot

2. burn iso

3/4. No boot cd and connect phone only when instructed. Make sure it has a full battery.

5 don't disconnect the phone until procedure is finished, your phone will reboot a couple of times again DON'T DISCONNECT. Have a look at this movie to see what to expect

After that you're S-Off. Now you can decide whether to change partition tables by downloading and installing an alternative HBoot.
[Desire General] Superchasin:
Thankyou for the explanation. 1 thing I dont fully understand. If I download Oxygen .ISO/.IMG, then I have automatically Oxygen Table? Or do I need to add that Table myself? I understand that I can change Tables without doing the whole process again?
[Desire General] Superchasin:
Sorry, I think I understand now! I download the S-OFF .ISO on top of the page. 24.2MB one. This one I burn, start PC over and start from CD. Follow instructions and done.

Then flash tables if needed. Tables I can flash too with AndroFlasher (or something like that)

Thanks
[Desire General] mauricewal:
Hi guys,

I'am trying to get my Desire S-OFF but with no luck.

Leedroid 2.3D A2SD

HBoot 0.93

BRAVO PVT Ship S-ON

This is the error i'am getting:

USB 1-1:6: device descriptor read/64, error -71

HUB 1-1:1.0: unable to enumerate USB device on port 6

Doenst matter on what USB port i'am connected every time the same error.

USB-Debugging is on, and device is charge only.

I checked the MD5SUM, its oke.

Any idea's what i'am doing wrong?
[Desire General] JonasBom:
Hi,

i want to install the N1 Table, so i took the PB99IMG.zip file and put it on my sdcard.

I started my device in Hboot VolDown+Power and waited some seconds, but then...

CID incorrect

Update failed!

What does this mean? Am i doining anythin wrong?
[Desire General] reddev0:
You have run through the bootable iso to get S-Off first I presume?
[Desire General] rraaka:
where is the actual img file of any table or recovery placed when it is flashed to the phone in fastboot mode before typing in adb -

'fastboot flash hboot bravo_alphaspl.img' (change into the correct filename for the HBOOT you downloaded)

4) 'fastboot reboot-bootloader'

5) 'fastboot erase cache'

how do you boot into recovery from here ?

sorry for noob question

thanks
[Desire General] gamer007:
I got my Desire to be S-OFF recently and I'm wondering if I'm missing an option to get to recovery from the bootloader or if it's normal to just have "Bootloader, Reboot, Reboot Bootloader, & Power Down." I chose not to flash the recovery during the S-OFF procedure (I currently have Clockworkmod 2.5.0.7).
[Desire General] Droidzone:
Hit Bootloader once
[Desire General] mauricewal:
Anyone?

Can it be a broken USB-port? I tried several USB-ports? Or can it be an USB-Brick?

My Device is reconised (i can see device found: HTC Desire)
[Desire General] JonasBom:
No, i did the s-off before.

Is there any tutorial how to flash the n1table with Mac via fastbootmode? I don't really get it. My Mac doesn't find my device when it is in fastboot mode...when android is running its listed...

Is it "./adb fastboot flash hboot name.img"?, on mac?
[Desire General] hallydamaster:
Please describe your procedure as well. Did you use a virtual machine? Did you try with a burned CD, og are you using a bootable USB?

It sure looks like it cannot find your USB ports.
[Desire General] qetuR:
ADB and fastboot isnt the same thing. You need to download the file fastboot, and add it in the PATH variable (optional, but makes it so much easier to use in future). If you have ADB configured, the fastboot part shouldnt be to hard to figure out. But I'd try to add adb to PATH first (google it), and then add fastboot the same way.

After that you have added fastboot to PATH, you should be able to use the command:

fastboot flash hboot name.img

Note the missing "./" part in the start. If you dont want to add it in PATH, use:

cd place/on/your/disc/where/you/have/stored/fastboot/
./fastboot flash hbott name.img

I hope this works, never used Mac, but since its Unix compatible, this should work the same way as in Linux. I don't know if you Mac fags have some other kind of fastboot file, but you should definitly read some more.

If your familiar with the differneces between Linux and Mac, I would check this guide out: http://xdaforums.com/showthread.php?t=537508
[Desire General] mauricewal:
I burned the ISO with nero to a cd. (first checked the MD5SUM, its oke)

Then i reboot the pc with cd.

Everthing looks good when booting from cd.

Device is found. But then i get the error as above over and over.

Seems like a problem with USBport, but the device is found (so it must be communicating). And in windows there are no problems.

When i am at home in a few hours i will give it an other try.
[Desire General] hallydamaster:
It could be a compatibility issue with your computers USB ports and the Linux drivers supplied with the alpharev.ISO, so I would say, try it on another computer.
[Desire General] mauricewal:
Tried it again, the same errors appeart, but suddenly the process started.

I was scared that i would brick my phone but i didnt it worked!

Now i'am S-OFF!
[Desire General] wenck:
I tried alpharev 1.8 on my desire but it said that phone is not recognized and in device model nothing says about phone. Or anywhere. Phone is rooted with latest unrevoked and on stock rom as recommended by alpharev web page. Note that phone is new and I didnt install any custom roms.

baseband version : 32.49.00.32U_5.11.05.27

kernel version : 2.6.32.15-gf5a401c htc-kernel@and18-2#1

build number : 2.29.405.2 CL263770

erasesize 00020000

HBOOT 0.93.0001

PVT4 ship s-on
[Desire General] mlindert:
Sorry wrong post
[Desire General] Jazzerath:
Desire PVT4 with 40k... S-OFFed :)

I finnaly did S-OFF my PVT4 40000 erasenand Desire with Cyanogen / Magpie Ap2sd+ ext2 500MB partition using VirtualBox method.

Now I'm wondering which table should I use. From what I see ppl use and talk about is always N1 table, but why not use Sense table with even more data space (217 instead 197MB) and less cache (40 instead 95MB)? Is it OK using it with Cyanogen ROM? Any drawbacks? If I want to use Sense ROM any time in the future should I prefer and use the Sense table also?
[Desire General] Jazzerath:
I think I just find the answer myself, N1 table is the optimal for Cyanogen so I'll try with that one.
[Desire General] HoR77:
appreciate your work !
[Desire General] djshorty:
I think that when you install stock rom, you unroot your desire.and for s-off you have to have root desire.

I am not sure, but you can check
[Desire General] wenck:
Sorry for not clear explanation in my previous post. I am on stock rom and it is rooted with unrevoked.

SOLVED-> I had to reinstall admin rights with this su-2.3.6.1-ef-signed. Solution obtained from alpharev irc support channel.
[Desire General] 3tybagig:
fastboot-mac need help

So I have managed to root and s-off three HTC-Desire phones. Got them all running Gingerbread. Awesome. Thanks so much to this forum!

I want to re-size my /system partition.

I can't seem to get fastboot-mac to work or do anything actually.

Is there a good post where I can read about how to use fastboot on a Mac?

What I can do:

use adb = no problem

I can mount, rm, ls, push ...

What I can't do:

use fastboot at all not even to #fastboot devices

Arg. Feel so useless. I have adb running no problem. I have downloaded fastboot-mac and placed it in /android/tools/ along with adb and the rest but when I run:

#cd ~/tools

#fastboot-mac devices

I just get command not found.

Do I need to "make" fastboot-mac?

I'm not a total noob with Linux either so I should be able to do this.

Anyone can point me in the direction of a good post where I can read about getting fastboot running on a mac?

I'd really appreciate the help.

Sorry for my noobness.

Ty
[Desire General] TheGhost1233:
To get fastboot working go here, download the zip and place fastboot-mac, for convenience, in the platform-tools folder of the sdk (or tools if you use a older version, just put it in the same folder as adb). The cd to the folder and type:

./fastboot-mac

This is what works for me, it might be that you don't need the "./" but I do.
[Desire General] 3tybagig:
@TheGhost1233

Thank you. That worked just great.

The Fastboot I got from below did not work

http://developer.htc.com/adp.html

Seems to not be an executable.

The one you posted works.

Thanks so much for your help.

Ty
[Desire General] Jazzerath:
S-OFF story

I just want to share my (good) experience with S-OFF and the repartition to the N1 table.

I finnaly did S-OFF my PVT4 40000 erasenand Desire with Cyanogen / Magpie Ap2sd+ ext2 500MB partition using VirtualBox method.

I did not revert to stock ROM, and I left my AP2SD+ ext2 partition as it was.

Everything went flawlessly. I use Amon Ra 2.0 recovery and I didn't select Yes for the Clockwork recovery during the S-OFF process. I didn't find any notice for this step before I started the process so for the newbie (or noob) is always confusing when such thing pop up out of nowhere.

I repartitioned using N1 table flashing PB99IMG_bravo_n1table.zip file

The step by step guide on the alpharev.nl is not completely clear and a bit hard to follow (no matter how simple it looks as the steps and real life options are named differently ) but OK, I survived and luckily I wasn't able to repeat all the steps. I was even sorry I manage to do one (clear (user) Cache) as I realized that it wasn't needed. After clearing the user cache phone boot it self and I thought I messed things up but the phone booted with all the apps and everything else on it just fine, instead of my user data of course so I restored that (partially as you can't backup all the system options and stuff) and let the phone syncs with contacts and Voila!!! Without doing the unnecessary steps the whole process would take 15 mins. And no need to clear/wipe anything. Now I do not and I can't recommend that, I just say that is possible and it works just fine.

Magpie AP2SD+ + N1 table = cca 60 extra MBytes of space for me, finally a little air to breath ;). It will differ from user to user as that depends about the number user data (contacts, ... without user data there were 130MBs extra) and of course apps u have installed.

BIG thanks to all the contributors. Shame on HTC for such terrible design.
[Desire General] TheBlueRaja:
Hey all,

Quick question, i've completed the S-OFF using virtualbox method, its now sitting on a screen (on the phone) saying that the procedure completed successfully and that

Alpharev will now reboot your phone into FASTBOOT

It is now safe to reboot into FASTBOOT with BACK and POWER.

So Alpharev hasnt rebooted my phone and when i try BACK (which i presume is the key next to search) and power it doesnt reboot?

Sooooo, what should i do?

Just to reiterate, everything shows OK and that the flash was successful.
[Desire General] colonia27:
Pull battery and reboot in recovery for restoring your backup or flash a ROM... or try normal boot
[Desire General] willy792003:
does anyone know how to create custom hboot to customize partition table size (system, cache, data)? not by mtdpartmap btw.
[Desire General] tehabe:
I always assumed that the Desire has 512 MB internal memory, but all those tables only allocate 437 MB. Is the remaining 75 MB fixed for something or does they not exist?

I hope somebody can answer me that question.
[Desire General] gutsbn:
Yes, the first page has a link to the alpharev page

This says (my bold)

You read *past* this to the table...

Ever noticed raw vs formatted on your PC hard disk? Same cause...
[Desire General] phitx:
Dear all

I want to get S-OFF in my Desire. I have burn iso file and run it

But I get stuck for more then 30 minutes in step 3

I unplug battery and power on ( only push power button ). It back to HBOOT.

I try many time always like that.

So I try to get recovery mode

I flash with new ROM. After finish everything back to normal

I almost desperate with this. Cause last month my Desire brick cause I update radio

from recovery :(

I returnd to service center and it back at 2nd week this month

Now I also failed to get S-OFF and my Desire almost brick ( I think )

This description of my Desire

Bravo PVT4 Ship S-ON

HBOOT-0.93.0001

MICROP-051d

TOUCH PANEL-SYNT0101

RADIO-5.11.05.27

Aug 10 2010, 17:52:10

I run ROM StarBurst 1.1.7

Did anyone can help me how to get S-OFF in for my Desire

Please advise.

Thanks
[Desire General] rraaka:
try with a different rom which doesnt have data2sd feature. like leedroid no a2sd
[Desire General] phitx:
but after I get S-OFF can I use rom which have data2sd ?
[Desire General] Droidzone:
I think I've described what you want in StarBurst thread itself..

Do this:

Do a complete Nandroid backup from Recovery (This will backup your StarBurst Data2SD configuration)

Wipe everything.

Install StarBurst Main Rom

Do not flash the Data2SD installer.

Boot into Android on your phone

Boot PC with Alpharev ISO

Alpharev should work perfectly now.

Once you have S-OFF, go back to recovery and Nandroid restore the things you backed up

Done! On rebooting you should get back StarBurst with Data2SD, and the S-OFF will remain in place too
[Desire General] rraaka:
of course, nothing to stop ya ;)
[Desire General] phitx:
OK finally I can get S-OFF in my Desire :)

And now I can update my radio also

Thanks for advise :)
[Desire General] benko286:
I have an interesting problem with my Desire, I have my Desire since it came out, rooted too, HBOOT is 0.75, and security was off(S-OFF). Suddenly fater flashing a new ROM [ROM][New Sense][26 JAN] Cool Z/HD ROM v2 Stable FIT IN 250MB NAND A2SD & DATA2EXT my Desire went S-ON!

As far as I know flashing ROM cannot activate security, but what than happend to my Desire, am I possible now to flash new radio (via recovery) since my Desire is S-ON?
[Desire General] APC73:
HBOOT 1.5 to 1.8 (0.93.1000)

I have s-offed my phone with AlphaRev 1.5

To update the HBOOT do i just need to

1: download PB99IMG_bravo_stock and rename to PB99IMG

2: put on sdcard

3: power on holding vol down

4: ??? auto? flash with recovery?

Is it as easy as that?

I have not changed any partition tables

Is there a MD5SUM for PB99IMG_bravo_stock

Thanks
[Desire General] mattharris26:
Hi,

I think I am going to s-off my phone this weekend but I have a question before I try it.

I have downlaoded the alpharev iso and used hashcalc to check the md5 sum but I have then burned this onto a CD to use the livecd method. Is there a way to check the md5 of the livecd to ensure that it burned ok? I don't want to brick my phone because of a bad burn.

Cheers
[Desire General] TheIntruder:
How can the checksum have changed by burning? Lol

Too much thinking mate, just do it ;-)

Sent via smoke signals
[Desire General] diggedy:
this doesnt work for me no matter what I do. Has anyone managed to get this feature to work?
[Desire General] andQlimax:
"this doesnt work" mean nothing..what is the error?

That procedure work if u already have s-off from alpharev iso, after run the iso and successfully got s-off, u can flash ur hboot u want to increase the data partition for example
[Desire General] diggedy:
I have S-off and im able to change my partition table via adb without any issues, I have the latest 1.8 alhparev too. But when I rename the PB99IMG-whatever file to PB99IMg.zip (and i havent got it .zip.zip) it just gives the usual message of file not found (the same message oyu get when you havent got one on your SDcard). Its not detecting the PB99IMG file at all. Ive tried all of them and none will work
[Desire General] andQlimax:
Thanks..Now is clear..But honestly I didn't tried the PB99IMG method, I usually use fastboot..I have no idea why that doesn't work for you..Maybe someone else can help you..

Anyway, if fastboot work..well continue to use that method.. :p
[Desire General] diggedy:
I would like to be able to do it without access to a pc thats all. no biggy but it would be handy
[Desire General] willy792003:
How do u change ur partition table via adb?
[Desire General] diggedy:
sorry got myself confused. I mean via terminal whilst loaded into bootloader
[Desire General] APC73:
Thought i would give it ago.

rename to PB99IMG put on sdcard, power down, power back on holding down vol

The phone found the update and asked if i would like to apply the update. After applying asked if i would like to reboot

Worked first time :)
[Desire General] diggedy:
this is strange. I know im not the only person having trouble. .... Do you have your card partition or anything like that?
[Desire General] diggedy:
my hboot is showing as HBOOT 0.93.0001. yet the website tells me the latest version is HBOOT 0.93.1000.. could this be the issue?
[Desire General] Mixy:
Hi!

Quick question. I have S-OFF with the oxygen partition sizes (90m for system), how do i know if this is enough for another ROM, and what would happend if i tried flashing something that requires more space?

Thinking of testing some Sense HD roms, i guess these are too big?
[Desire General] andQlimax:
U are not s-offed..

Sent from my HTC Desire
[Desire General] ieftm:
HBOOT scans the first partition, which should be VFAT at all times.

No. Sounds to me like HBOOT either can't read your sdcard at all (which would indicate a problem with your sdcard. Repartition or wipe it, and try again, or try a different one if need be.

You do need to be 100% certain that you are using the proper filename, ofcourse.

Show us a 'ls -l /sdcard/*.zip' from adb shell to verify.

Yes, these are way too big. Extract the zip for a rom, and check the size of /system. Simple as that.
[Desire General] diggedy:
ok thanks ill try wiping my card and repartioning to see if that works. You say Vfat but I assume you mean FAT32 rather than old regular Vfat?

andQilmax, im definitely S-off, im running with the bravo sense patition table now, its only the flashing from the SDcard thats giving me issues.

Ill show you the adb reading later today, however I dual boot my PC with windows and linux, mainly using linux for Gparted and all my android stuff is on windows. I loaded up gparted this morning half asleep and went ahead and wiped my windows partition instead of my SD card so it will be a while before I have it all back :D

(proper facepalm moment)
[Desire General] Mixy:
Thanks for the fast reply ieftm.

One last question though, the PB99IMG flashing, is done like ROMs and radios in recovery with nandroid ofcourse?
[Desire General] ukanth:
Dear community,

I've some questions regarding s-off on my desire. I've rooted (unrevoked) desire with CWM recovery and running LeeDroid 2.3d A2SD.

I wanted to S-OFF my desire. I am clear about all the steps.But should I need to revert it back to stock rom or ROM without these a2sd features before I try to run this method ?

Or will it work with my current rom(leedroid 2.3d a2sd) ?

Thanks.
[Desire General] rraaka:
it should work with your present rom. the s-off process gets complicated only with roms with data2sd feature. even with ap2sd rom its always best to have as few apps on your rom as possible.

making a nandroid prior to s off is always advisable.
[Desire General] ukanth:
Thanks @rraaka , I'll give it a try today ;)
[Desire General] :
can anyone give me a hint? which would be the best hboot for me? N1 Table?

Using GingerVillain 0.9
[Desire General] EViollet:
N1 works everywhere (except on Sense ROMs), so I guess you should be safe with it.

Oxygen HBOOT is a bit risky...
[Desire General] diggedy:
I tried formatting my card and repartitioning it with clockwork recovery rather than gparted and now the message I get is "update failed CID incorrect"

At least its picking the file up now anyway but any idea what this is?
[Desire General] p5x:
I did s-off via CD method, everything seems to have worked ok but now the phone just boots into the fastboot menu when I power up.

Do I need to go into recovery and restore the nandroid backup that I made prior to s-off?
[Desire General] mikep99:
Simple answer, yes.
[Desire General] APC73:
The phone should find the update at the start, before the menu for fastboot, recovery etc
[Desire General] p5x:
Ended up going into a bootloop after I did that, managed to sort it in the end after performing a full wipe but now the desire doesn't seem to recognise the sd card
[Desire General] sianzb0i:
i just s-off-ed...can i run a2sd+ on original stock ROM?
[Desire General] MrDevil:
yes you can if the rom supports it. a2sd+ is a rom feature not s-off.
[Desire General] ukanth:
Thanks guys! s-off'd my desire. Big Thanks again . I'll send my donation today !
[Desire General] giuvilas:
PANIC.

My Desire is with security off from a couple of days..and today i flashed the hboot "bravo_alphaspl-sense.img"

then i clear data etc..but now..restarting my phone..it holds on jocker screen..seems blocked!

what can i do?

PLEASE
[Desire General] TheGhost1233:
It's not that bad if you consider that you act without knowing what you do.

At this point there is no rom installed on your phone and I doubt that AuraxTSense will fit the sense hboot. Unless it mentioned specific in the thread you either need to slim it down yourself before flashing or revert back to Bravo Stock hboot.
[Desire General] giuvilas:
Ok. So i changed again the HBOOT in the oxygen one..

then i flashed oxygen rc7 (gingerbread)..

but the phone reboot continously

Can you please me show a HBOOT version with a rom supported? just an example for sense and non-sense rom

thx
[Desire General] TheGhost1233:
I don't think there are any sense roms that, without modification, will fit on any other hboot that the bravo stock. For the rest of the roms you have to find out yourself how big the uncompressed system part is.

But if you follow the instructions on the AlphaRev site and instead of restoring the nandroid you flashed oxygen there shouldn't be a problem. Do you have signature verification turned on so that a corrupted download isn't causing the bootloop.
[Desire General] mattharris26:
Hi,

Is there an MD5sum for PB99IMG_bravo_oxygen? Just for if I wanted to update HBOOT using this method.

Cheers
[Desire General] colonia27:
I'm getting this:

user@ubuntu10:~/Downloads$ md5sum PB99IMG_bravo_oxygen.zip
4f19784ae373fbfd8c2e5de6d32696a0 PB99IMG_bravo_oxygen.zip

compare.
[Desire General] mattharris26:
I'm getting the same so guessing that's all good.

Cheers :D
[Desire General] mattharris26:
Didn't actually work as I got CID error, but I read elsewhere this is to do with having a branded handset. So I just flashed using the fastboot commands which was straight forward anyway.

So now I have S-Off...and I'm loving it. All my 100 apps stored on internal memory and no need for an EXT partition...awesome!
[Desire General] hsv23:
s off not working

Hi everyone.

Here is my problem the boot cd wont work i get this error.

<--- usb1-2: device not accepting address 2 error - 110

usb1-2: device not accepting address 3 error - 110

usb1-2: device not accepting address 4 error - 110

hub 1-0:1.0 unable to enumerate usb device on port 2 -->

I downloaded the alpharev iso checked the md5 sum. Burnt the cd on the lowest speed. Booted the pc from the cd, then it goes through a couple of screens and then when it gets to the screen where it says what the s off is all about and it says press any key to continue i get the above error msg.

I havent even plugged my phone in yet because it hasnt said to.

Any ideas of what is going wrong ?

im running 32-bit win7 aswell

Thanks
[Desire General] mlindert:
The problem is probably with your pc. Why not try it on another one ?