yashsingh1/xdaforums huggingface dataset:
[Desire General] hudson666:
Failed S-Off on GSM HTC Desire.

Hi, I have a rooted GSM HTC Desire and have just run the Alpharev 1.8 mod for S-Off (via a bootable CD). All appeared to work until step 3, where I got the below error message (screenshot also attached). By this point the phone had rebooted (with the normal HTC splash) to th O/S and appears to be working correctly.

Waiting for flashing to complete...

/home/tc/alpharev.sh: line 331: [: -eq: unary operator expected

/home/tc/alpharev.sh: line 343: [: -eq: unary operator expected

/home/tc/alpharev.sh: line 353: [: -eq: unary operator expected

/home/tc/alpharev.sh: line 361: [: -eq: unary operator expected

/home/tc/alpharev.sh: line 366: [: -eq: unary operator expected

tc@box:~$

Can you advise if any changes have been made? Is it safe to reboot? And what can I do to get the mod working?

Many thanks for any help.

Regards

Mark.
[Desire General] jadephyre:
Any news on this ?
[Desire General] alpinux:
They're working on it and testing is still in progress. IEF will inform us, when everything is ready for public use.
[Desire General] bassjam:
I have s-off with patch for oxygen rom

I would like to test the miui rom

do i have something to do? Or can i flash miui without doing anything?

Thx a lot!
[Desire General] jadephyre:
thanks for the heads-up :)

I guess i'll drop by the official IRC-Channel in a bit, gotta stay on top of things :D
[Desire General] DonBartal:
1.8

Works perfectly, all was done in 5 minutes!

Now I am happyly S-OFFed and going to resize the parts.

Thanks,

Akos

note: Mind you I noticed one thing during the process. My phone is PVT-4 (erasesize 20...) but during the flash it said flashing non PVT4 phone.
[Desire General] mad-murdock:
Flash a different hboot, since yours dots oxygen and oxygen only. N1 is a more flexible aosp table.

Swyped with HTC Desire. Excuse typos.
[Desire General] AlboGio:
One question...

I have redone the AlphaRev procedure with new 1.8 version...

After backup i see that the recovery.img is about 4.7MB...

But the IMG file downloaded from the link is about 3.2MB...

-1.5MB aren't few...

Is damaged file on the server?

More optimization on the file?
[Desire General] finalzz:
hi there, whenever i try to s-off my phone, it always gets stuck after step 1 reboot. is this normal? it says there "waiting for bootloader...." and this has probably gone on for 10 minutes or so? i'm using the virtualbox method.

my hboot is 0.83 btw. thanks
[Desire General] cv1ekas:
you need to install hboot drivers on your pc at first http://www.unrevoked.com/rootwiki/doku.php?id=public:windows_hboot_driver_install

if that didn't helps install htc sync and then try again, taht worked for me
[Desire General] jadephyre:
There are new NAND Tables up on the AlphaRev Site, says they work with the PVT4 Devices.

Didn't test it yet as i'm too drowsy to make flashing attempt tonight though.

Just thought i'd let y'all know (before IEF updates the first post) ;)
[Desire General] DonBartal:
Will there be the .zip versions as well?
[Desire General] hallydamaster:
Just wondering. Has anything changed in the new HBOOT's released as of today? I just S-OFF'ed yesterday, but it seems that the HBOOT's listed now has changed?
[Desire General] Narfx:
No 145/5 HBOOT (or similar). Crap =/
[Desire General] ieftm:
All the HBOOTS are updated as per yesterday, including stock.

Read the first post for details.
[Desire General] bbk:
No change for N1Table ?
[Desire General] m4dm4n123:
Has anybody with PVT-4 (erasesize 40000) boards actually tried new tables ?
[Desire General] mlindert:
I'm currently still S-On. Wading through the posts I wonder the following:

- Are there confirmed bricks using this method ? :eek: (And I don't mean bricks through human error, for example unplugging the phone during the S-Off proces. Besides that, I know the recovery and or/rom can damage but these are know issues which can be fixed. I'm talking about real bricks here where the phone get damaged (semi-)permanent)

- After S-on, the user still have to mount system directories manually before deleting stuff. In theory, can a piece of malware simulate this mounting and delete important things ?

- Besides mounting and accessing system directories "on the fly" and altering splash screens, can someone give more examples of advantages of becoming S-Off ?
[Desire General] AlboGio:
how to be safe to flash the correct HBOOT?

As wrote on AlphaRev site, i checked the size of my Desire (Bravo) backup...

that is about:

system.img 140MB

cache.img 2MB

data.img 55MB

So the iso file that i should flash must be: [Bravo Data++] 180MB(/system) 5MB(/cache) - 252MB(data) right?

But if i flash another one... what i have?

Example for [Bravo Stock 1.8] 250MB-40MB-147MB

i get more space for system app, more for cache, and so lost free space for data? right? :confused:
[Desire General] Anakha56:
Would like to know the answer to this one as well. Google not returning much, just news items...
[Desire General] Droidzone:
Yea, the table should be large enough for your nandroid. So just choose the one with equal or higher capacity..The sum of system+cache+data=constant. You adjust one, it reflects on the other. Math.. :D

Stock rom has a buffer space in system which wont be actually needed until at the time of flashing a radio..Space more than needed for system is dead space. Also if you can remove crappy apps from /system, you can then resize it with the MTD hack to get more for /data.
[Desire General] AlboGio:
Thank you to be my Desire "guardian angel" :D
[Desire General] Droidzone:
lol.... If you try MIUI, you'll save an extra 100 mb or more of space from /system to be used as /data
[Desire General] jadephyre:
I just flashed the N1 Table and i'm on a PVT4 Desire with 40k Erasesize.

CyanogenMod 6.1 is booting right now, will tell you how my memory layout is after it's done booting.

EDIT: It worked :)

thanks again IEF :D (thanked you yesterday already, remember Coridan ?)
[Desire General] andQlimax:
Alpharev site reports to wipe all and then restore the backup, after the hboot flash..is that a necessary step? Can't I just flash the hboot (stock in my case) and rebbot my phone?
[Desire General] Droidzone:
It's necessary..Otherwise you might lose files..When you put the Nandroid back, system would allocate/write it cleanly to take in account the reduced space.
[Desire General] Rastaman-FB:
just update the bravo stock spl to the latest, did md5 check first. flashed fine

wanted this as i mess with roms alot and this is good for potential usb bricks as we can now flash misc as well as radio, hboot, recovery
[Desire General] AlboGio:
Well... i saw it, but i prefer using Defrost and adw.Launcher with no animation...

that seems me faster.

My system iso is so big because i put some app into rom/system image :rolleyes:

original defrost/system is more small ;)

However i have a lot of space for apps with 1GB of EXT4, so i not need "extra" data space on the device internal memory. ;)
[Desire General] Droidzone:
Yea that works too..
[Desire General] m4dm4n123:
Ok, just flashed it, works like a charm. Check md5 sum before flashing, most important step.

Got 50MB of space. Moved Dalvik to /cache , got another 50MB, sweet! :)
[Desire General] jadephyre:
how does one move dalvik to /cache ?
[Desire General] AlboGio:
I follow AlphaRev procedure...

Full backup with AlphaRev-CW2.5.1.8... (that i have had already tested in recovery mode)

Now have flashed new bravo HBOOT (i choose Bravo Stock 1.8).

Then i restore with AR recovery...

"my" usual problem: after pin code, all apps give error and the device reboot... :mad:

So, i flash AlphaRev-CW2.5.1.8 recover, downloaded from the site... the same trouble... :(

belive or not belive... :eek:

Guess which recovery has worked well in the Restore? :rolleyes:

yes... the old and last "official" ClockworkMod Recovery 2.5.0.7 :eek::D

Now i reflash new AR-CWM recovery... :rolleyes:

i am very unlucky, or my Device love only the restore of CWMR 2.5.0.7? :rolleyes:

and it's just infatuated with the restore of AR-CWM 2.5.1.8? :D
[Desire General] andQlimax:
Hey i was just posting here the same problem...I got EXACTLY the same..

THE 2.5.0.7 IS THE UNIQUE FULLY WORKING CWM RECOVERY

A consideration: Last day i did a restore with the 2.5.1.8 and it worked, but the difference is that now i did a full wipe (formatted system too)..So maybe something is not restored from the backup..The backup is working, because i restored it with the GREAT 2.5.0.7..

@ ieftm Could you please investigate in this? The Alpharev 2.5.1.8 doesn't work correctly, i think this problem is fully reproducible:

-Backup

-WipeAll (data,cache,dalvik) + format system

-restore backup

When the device boot, all the app give errors (launcher, gmail, market)
[Desire General] Droidzone:
Were you on an MTD partition table adjustment previously?
[Desire General] AlboGio:
"I have understand it..."

However i had other trouble... :o

Looks all ok, but when start a app...

The device, self reboot... :(

Now i am trying to redo a full restore with AR2.5.1.8.... :o
[Desire General] AlboGio:
Sorry, but i haven't understand what you mean... :eek:

Before changing HBOOT, all is working without any kind of problem...

in fact, i am thinking to redo the AlphaRev procedure from ISO image and hoping that will be restored the previously version of HBOOT :rolleyes:
[Desire General] andQlimax:
I dont was on MTD, i was with stock hboot and just flashed the new alpharev hboot stock 1.8..But i dont think the problem is the hboot change..I repeat the problem is fully reproducible with the 2.5.1.8 (backup, wipeall (data,cache,dalvik)+format system), restore doesn't work), later i will try it..
[Desire General] Droidzone:
Well, if you hadnt already modified the Hboot previously (like with an Oxygen Hboot/MTD Hack), flashing the Stock Alpharev shouldnt produce this problem. In fact I am on the same Alpharev CWM that you posted, and I flashed the same Alpharev Hboot..No probs at all..
[Desire General] andQlimax:
Did u wiped all? System too? Ur rom have app2sd+ (app and dalvik cache on sdext) ?

Lets see the difference :confused:
[Desire General] AlboGio:
No, i still use the AlphaRev HBOOT since i rooted/s-off my device...

Good for you :)
[Desire General] Droidzone:
Maybe worth mentioning at Alpharev's IRC.. #alpharev at irc.freenode.net

Edit: IEF has reuploaded the modified PB99IMGs for Alpharev..Should fix the problem you had.
[Desire General] hallydamaster:
I actually flashed the newer 1.8 Stock HBOOT released today using the fastboot console command. I made a nandroid, just in case, but I never needed it.

Android boots fine, and there seems to be no problems at all.

I am using Amon-RA 2.0.1 as recovery.
[Desire General] trucker11:
well i did the same burnt iso started pc from cd started the prog and waited and waited after 20 minutes took the phone off the usb rebooted and had s- off
[Desire General] StuMcBill:
I am currently using the N1table, that I flashed when 1.5 was released.

If I update to the new 1.8 N1table HBOOT, I know you can flash the MISC partition, but can you backup your original MISC partition with it?

fastboot backup misc misc.img perhaps?

Sent from my Amiga 500 using Workbench
[Desire General] Droidzone:
See my thread
[Desire General] andQlimax:
PB99IMGs ? I used the bravo_alphaspl.img, anyway with the clockwork 2.5.0.7, the backup is restored correctly..I think is a problem with the 2.5.1.8 in some unknow conditions
[Desire General] StuMcBill:
Perfect. Just what i was looking for! Thanks.

Sent from my Amiga 500 using Workbench
[Desire General] ieftm:
Sorry, no backup functionality in fastboot, unfortunately.

That would rock, I agree.

Please note it's based on CWM 2.5.1.8. So perhaps the error is in the nandroid restore functionality somewhere.

I'll review 2.5.0.7 source if I can find it.

For reference:

Could you try restoring your backup with CWMAR 2.5.1.8, and then pastebin me a file listing from a shell?

adb shell (after restore using CWMAR 2.5.1.8):

mount /system
ls -l /system

I'd like to see if the permissions are perhaps somehow screwed up. If possible, do the same after restoring the same backup from 2.5.0.7. That would make for a proper comparison.
[Desire General] m4dm4n123:
I had stock hboot and Cyanogenmod. At the installation it detected that there was not enough space in /cache for dalvik-cache and transfered it to /data. I just moved it back to /cache. The procedure is not difficult, but it depends on the ROM you're using.
[Desire General] AlboGio:
Maybe that my ROM was damaged somewhere and so the damaged part restored on the new HBOOT is incompatible...

I have tried to do a full install from zero of the defrost rom and... it's working!

But i want get back to my backup!

So, yesterday i followed this simple procedure to get back the old HBOOT 0.93.0001...

1° Doing a full wipe from recovery.

2° Install a clean Defrost rom.

3° After pin request, Defrost start with USB debug mode.

4° Start AlphaRev1.8 ISO in a VirtualMachine then do the entire procedure

Fortunately the ISO has restored the old 0.93.0001! ;)

So in recovery (AlphaRevCWM2.5.1.8), i wiped all and then restore the backup image...

All is get back to work, as before updating of HBOOT... :D

But

i not surrender

, so try again: :rolleyes:

Now i have done a full backup with old CWMR 2.5.0.7 and AmonRa 2.0.1 for test...

Upgrade to new HBOOT and restore from CWMR2.5.0.7 that... work...! :D

Ok, the problem is a little (?) bug in AlphaRevCWM2.5.1.8, that however it full working in backup/restore after HBOOT upgrade
[Desire General] andQlimax:
Thanks for the reply.

I attached the results after the restore with the 2 recoveries.

I hope this can help. In the while im using the 2.5.0.7 that seem good.

Thanks again

EDIT: The /sd-ext partition have different permission after the restore, don't know if that make the difference
[Desire General] Anakha56:
So I would just like to confirm the steps for this quickly:

1. Download LiveCD

2. Boot and let the CD do all the work making sure USB Debugging is on and charge is default.

3. Carry on using your normal ROM

Sound about right? I am pretty much going to be only using Sense ROM's so I should not have to flash anything else besides maybe the recovery image or has this part been solved?
[Desire General] Droidzone:
That's all.
[Desire General] Anakha56:
Thank you :). This thing about flashing tables had me worried for some unknown reason. As usual I will make a nandroid before I begin :).
[Desire General] Droidzone:
Alpharev has made the process very safe. Unless u pull the cable or battery yourself, you don't usually have anything to worry about.

From another universe
[Desire General] Rastaman-FB:
and ALWAYS check the MD5
[Desire General] Anakha56:
MD5 hash does match :). Just want to charge the phone first, think it would be a bad idea to do this with only 35% battery life :). I dont have to worry about losing my recovery image because this recent revision has its own recovery image and will replace mine right?
[Desire General] JonasBom:
I want to install the PB99IMG.zip but i cant...when i start my device in bootloader mode it checks the PB99IMG.zip but gives me no option to flash it...any idea?
[Desire General] shozzking:
I would also be interested in the answer for this. I tried using fastboot to push it onto my desire but it gave me a failure of "remote: signature verify fail". The CD option isnt working for me either.
[Desire General] Droidzone:
Have you done s off before? To confirm, sure that you're rooted?

From another universe
[Desire General] shozzking:
I have not done s-off before but I am rooted and I'm running oxygen 2.0 RC6. Would I flash the zip using clockwork?
[Desire General] Droidzone:
You can use fastboot or pb99img only if previously soff. Otherwise only cd method. Which step is the cd failing for u? And post the error code.

From another universe
[Desire General] shozzking:
So I've downloaded the .img file and burn it to a CD using iso. When I try to boot off of it then absolutely nothing happens and windows boots normally. I have set the boot order to boot from CD first and I know that it detects it because it says "booting from CD" or something like that.
[Desire General] Droidzone:
U burned the img? Or the ISO? It's something to do with ur pc bios configuration or wrongly burning the image. Nothing with the procedure as such. Try another cd, or burn it using the bootable usb option. Tiny Linux should boot up.

You download and burn alpharev.iso only. Not the img.

From another universe
[Desire General] shozzking:
when I download it then I get bravo_alphaspl-oxygen.img. How do I get the .iso out of it?
[Desire General] Droidzone:
You don't! Go back to the site and find the link to the file alpharev.iso.

From another universe
[Desire General] shozzking:
i feel like an idiot now, I didnt even notice the link for .iso download. As you can probably tell, I'm not a software guy. I can build my own computer, install a custom WC loop and OC it like crazy. Here I was thinking that .img and .iso were the exact same thing, lol.
[Desire General] Droidzone:
:) well there is an img for burning cds in windows. But in case of android, img more commonly means a partition image.

From another universe
[Desire General] bassjam:
I'm selling my phone

I want back to s-on

Is it possible?

Thx!
[Desire General] reddev0:
Just flash an RUU
[Desire General] bassjam:
nothing else to do? whaouuu thx

do you recommend flashing official RUU?

Or can I flash a new rom like leedroid 2.3d

Thx
[Desire General] andQlimax:
Just search what is an RUU..There are only official RUU

An RUU restore all in ur phone (hboot, radio, kernel, recovery, rom)...An RUU format all ur data..

LeeDroid is "only" a rom (+ kernel)..

The s-off is applyed to the hboot..So to come back with s-on u need flash the original hboot..the easy way of do this is run an RUU (SEARCH the correctly one, lot of threads)..After run the RUU u will lost also the root permission because as said this restore all
[Desire General] nakah1:
Hi, I put "Bravo Sense" 180M 40M 217M from AlphaRev and afterwards I install Leedroid 2.2d and my phone will not starts. The only I can see is picture of AlpaRev. Then I installed Oxygen and my phone works again.

Do you have any idea why I can`t install Leedroid 2.2d?
[Desire General] bassjam:
ok

I'll test with RUU_Bravo_HTC_WWE_1.21.405.2_Radio_32.36.00.28U_4.06.00.02_2_release_126984_signed

Thx for your answer!
[Desire General] andQlimax:
Maybe LeeDroid requires more space thatn 180M on the /system parition..U need the stock/default desire one: Bravo Stock 1.8
[Desire General] reddev0:
If your device is SLCD rather than AMOLED then make sure you choose a Froyo RUU, as older ones do not support SLCD. The update will work, but you will have a blank screen, hard to recover from. Froyo RUU's are WWE_2.*
[Desire General] bassjam:
My device is amoled

Do you recommend a froyo ruu?

Thx for the caution!

Éditions: is this one ok -->

http://xdaforums.com/showthread.php?t=869048
[Desire General] andQlimax:
I think u can just flash the latest

http://shipped-roms.com/shipped/Bra...9.00.32U_5.11.05.27_release_159811_signed.exe

All the WEE rom are for no brand desire..If ur device is branded, u need to find the ruu for ur brand
[Desire General] bassjam:
Very Big thx! I'll try your link and tell you if everything worked
[Desire General] icrazy:
Hi Lee,

Any ideea , if I flash the latest Hboot from Alpharev , the bravo sense version

/system 180 /cache 40 /data 217 would the rom work ?
[Desire General] andQlimax:
Just extract the zip of the lee rom, if the system folder is less than 180 then is ok
[Desire General] icrazy:
Just noticed that I wrote in wrong topic , was suposed to be in lee;s thread . But that is a good ideea , I ll check asap. thanks.

Later edit: system has 238mb so wont work for sure.
[Desire General] bassjam:
after having an error code 152 during the flash, I raised the flash and it's good!

I can sell my phone now, thanks to you!!
[Desire General] himem:
trying from live cd.

stuck on pc "waiting for flashing to complete..."

HTC Desire is black with some info, last line is: "Flashing new bootblock: OK"

what can / should I do ?

edit: fixed, just rebooted
[Desire General] najar360:
If want to s-on back with lee droid

Yes you can. But must run RUU first then root then flash lee droid. That's the way.

If want s-off+lee droid,

Just flash lee droid on recovery

Send using New Age Device
[Desire General] djshorty:
Same thing i am stuck at that screen for abot 40 mins.What should i do?? i know is not smart to reboot desire my self??
[Desire General] stothy862:
Right I have just reflashed to N1table, all went smooth but now I am stuck on the Alpharev logo on reboot.... help?!
[Desire General] bazza_1988:
noob here, s-offed and trying to flash a new hboot but get a cid failure when trying to use the PM99.zip.any ideas on how to resolve this?
[Desire General] jadephyre:
you will have to flash a ROM after flashing the N1Table.

Flashing a new Table is like re-partitioning the Harddrive in your Computer, you lose all data doing that.

Same thing with our mobile phones...
[Desire General] ieftm:
http://alpharev.nl/instructions.txt

Did you do the rest of the instructions? Just reflashing the table isn't enough.

Read the website.

Your handset is branded. Use the fastboot flash method instead. Make sure to verify the file you downloaded first.

For reference, please state what CID your phone has, you can find it from /proc/cmdline.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Problem?YES!:
1. Everytime i lock my phone i have to enter my phone lock code to unlock it... can i set the phone lock to activate after a certain amount of time instead of entering the code every time i lock it? i thought that the prompt box would do it but i set that to different times and i still have to unlock it with the code everytime.

2. using gyrator 2, how do i disable the lockscreen from rotating all over the place but keep gyrator rotating all of my other apps? i tried creating a new event to enable/disable rotate for the lockscreen but the lockscreen wasn't in the list (and i am not using bsb tweaks because i dont like it).

3. even though i have edited the volume overlay so that system volume is default... when listening to music with the phone locked when i use the rocker keys it changes the ring volume instead of the system volume... how is this solved?

any help would be much appreciated!!!

cheers.
[Hero, G2 Touch General] xAdaM--:
Saw a video of the MIUI 2.2 ROM being used on HTC Evo (New Sense). Was wondering if anyone is currectly porting it to the Hero. It looked unbelievably amazing overall. Could do with a bit of customisation (maybe give possiblility to keep App Drawer) but it does look great. Anyway if there is anyone porting...Good Luck!!:)
[Hero, G2 Touch General] lifepr00f:
Miui for HTC Hero G2

Hi,

I've been searching for 4 days this rom for hero. No luck. But may be some smart, genius, bravehearth guy will come and port it to hero.

:)))

Best

D.
[Hero, G2 Touch General] pulser_g2:
I am not aware of any hero ports, since it seems to be for HDPI devices with ARMv7 CPUs. That means the libs wouldn't work.

Perhaps if source code were available it might be possible?
[Hero, G2 Touch General] brat.haneq:
I saw this ROM in desire section I think. Perhaps some devs over there have sources ? Just a wild guess :)
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Problem?YES!:
was wondering if there was a reg edit to change how much the volume increases/decreases on one press of the volume buttons... i think it changes three bars on one press of either button, any way of making it one bar per press of the buttons... three is too much, for me anyway...

cheers
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] Archer:
Just press one of the volume buttons so that the volume dialog comes up and then use the screen to change the level. You can go up and down 1 bar at a time, rather than 3.
[HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting] rkrims:
You can have up to 16 levels (instead of 6) with Volumex

http://volumex.jdbp.mobi/

Plus other great volume related features.