yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] oLf06:
sorry i have to say that....

" error mounting /data ! "

and the method of eclipse didnt take effect as well... just used the dd command without errors but still in hboot version 6.98 :(

edit : tried to flash another rom ( cynogen ) this faled because of ( status 1 )

... does this have something to do with ext3 or ext4 ? because virtous unity is ext4 ... ( dont know what this even means ... )

edit 2 : okay.. the ruu creates a rom.zip .. which i can flash at hboot,right ? what if someone would take the boot-images out of the .zip ?
[HTC Desire S] amidabuddha:
There are some news around - try the Factory Reset option on your hboot and flash a custom ROM.

If no joy try to flash the rom.zip from the SDCard:

Rename the rom.zip to PG88IMG.zip, copy to SDCard and reboot to bootloader (hboot). It will search for the update image and will ask to update.

To have the rom.zip read this
[HTC Desire S] ben_pyett:
Tip of the day - Don't Panic and try again!

Whats so annoying about this problems is the inconsistency of these problems and how one solution doesn't ever seem to work for all. :confused::mad:
[HTC Desire S] oLf06:
already tried that... if i remember right it stuck on bootloader or something like that.... maybe try again today i dont think this will work because of my hboot version. ( it is very difficult for to delete a pg88img.zip without full boot .. because i don't know how to enter recovery before hboot tries to flash the image :/ )

edit : thats because i thought about deleting those boot-images from rom.zip and then trying to flash it .. .is this a stupid idea ? or is there a possibility that its gonna work ?
[HTC Desire S] Tectas:
Why you want to prevent flashing the image? Let it be^^ then after that reboot (not into bootloader, just hit the power button when it says you should) after that go to adb and type:

adb devices

adb shell

cd /sdcard (if this failes: mount /sdcard before cd)

rm pg88img.img

exit

adb reboot recovery or adb reboot or adb reboot bootloader (depends on where you wanna go next^^)
[HTC Desire S] oLf06:
Okay sorry i did not know those commands.

I want to prevent flashin the boot images because i thought this were the ones who are responsible for error during flashing the rom.zip do you understand what i mean ?

( if rom.zip stops at " bootloader " i thought it would be possible by this way to skip this step and force the rom.zip to install the system directly. )
[HTC Desire S] Tectas:
Ah, sry a rainy friday morning, i'm still sleeping^^

Try it, at the end maybe you found the fix yourself :)
[HTC Desire S] oLf06:
But is it even possible that it works ? If so i need to know which image i have to delete to prevent rom.zip flashing my bootloader/hboot

edit :it would be very interesting too if anyone can make a suggestion how the phone reacts with system etc.. but without stock hboot/bootloader
[HTC Desire S] Tectas:
Isn't a hboot.img or boot.img file in the rom.zip present?
[HTC Desire S] amidabuddha:
Open rom.zip, delete hboot-xxxxxx.img, save and close. Flash the zip.
[HTC Desire S] oLf06:
okay i am at home in 3 hours...

then i will first try factory reset in hboot and flashing a new rom.

if that does not work i will try the rom.zip without hboot-xxxxx

keep fingers crossed :) thank you for helping me so far . You can come to germay if you want and have a beer with me or two :P
[HTC Desire S] Tectas:
Should be no different reaction, it only skips (or even doesn't try) to flash the hboot.

Edit:

If you are interested in the Unix/Linux Command shell, here's are reference to Busybox and the given commands.

Not all of them will work within the adb shell but most of them.
[HTC Desire S] oLf06:
the factory reset did not work i think ... i think it did not even reset... i choosed the option .. then nothing happened... and the phone did not react... then i went out for 2 hours and when i came back the battery was empty.... now i am trying the rom.zip method
[HTC Desire S] oLf06:
the pg88img still tries to flash the boot after deleting the boot-xxxx.img ... .should i dlete the boot-signed.img too ?
[HTC Desire S] Tectas:
Yes, you should try it.
[HTC Desire S] oLf06:
now it gets stuck at "splash1" .. which is the first point ....
[HTC Desire S] amidabuddha:
delete the splash1.nb0 from the zip. This is the picture (HTC logo) that appears on boot

(you can remove recovery as well since you have one)
[HTC Desire S] Abaddon:
I have the hboot 0.98.2000

what hboot is this? can I try the new one? sorry Im kinda new to DS forums.

and I'm a bit confuesd in these new hboot thingy :D
[HTC Desire S] amidabuddha:
Your bootloader version is ok. You can notice that I am using the same version in my signature :) This is an Engineering Bootloader that allows you to do everything from this forum related to a system alteration. There is no need to change or Upgrade to hboot 2.0.2002 except you are running the Stock OTA ROM, that came out recently...
[HTC Desire S] amidabuddha:
Download an overwrittable bootloader (PG88IMG.zip) from here. Extract the engHBOOToverARX.img from the archive, rename it to hboot.img and copy it to the folder where your fastboot command is.

Connect your device and reboot to bootloader (Vol Down + Power).

When in fastboot (FASTBOOT USB mode) type in cmd (make sure that your path corresponds to the folder where your hboot.img is (e.g. C:\android-tools):

fastboot devices

(your device should be listed. If not reinstall the USB drivers)

Then type:

fastboot flash hboot hboot.img

Code:

fastboot reboot bootloader

now your hboot version should be different than 6.xx.xxxx

Make sure that you are in FASBOOT USB mode. Start RUU.exe on your PC
[HTC Desire S] oLf06:
C:\Users\oLf\tools>fastboot flash hboot hboot.img
sending 'hboot' (1024 KB)...
OKAY [ 0.183s]
writing 'hboot'...

stuck there for 20 minutes... now i am leaving my room for 2 hours.. hope i get a message when i get back :) thank you for not giving up !!!

by the way : deleting splash did not take effect... still stucks at first point .. no matter what the first point is
[HTC Desire S] amidabuddha:
do not interrupt it until it finishes. it can take a long time

if not working (error message) try the following

fastboot erase cache

then try to flash the hboot again
[HTC Desire S] oLf06:
both failed with FAILED (status read failed (Too many links)) :( trying another usb slot now....
[HTC Desire S] amidabuddha:
please tell me what was the error exactly...this will help a lot
[HTC Desire S] oLf06:
this was the wohle error message .....

found this about the problem ( see last page.. ) thats why i am trying to use antoher usb port now ... not sure what to do with the "usb deview" tool ...

also found that tool is this more safe ?
[HTC Desire S] amidabuddha:
this is only a graphic user interface for the fastboot command. it makes the same...

I remember that you have access to adb...

open cmd an type

adb devices
adb shell
su
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img

then connect your phone to PC in recovery (mount sdcard) or something similar, copy the misc.img to your computer, upload it somewhere (you can create account @Dropbox, put it in the Public folder and get a Public Link) and paste the link here

Edit: do the same with

dd if=/dev/block/mmcblk0p18 of=/sdcard/hboot.img

Thanks, I think that we have some hope here, but I have to verify
[HTC Desire S] oLf06:
https://rapidshare.com/files/2205939769/test.rar

~ # dd if=/dev/block/mmcblk0p18 of=/sdcard/hboot.img
dd if=/dev/block/mmcblk0p18 of=/sdcard/hboot.img
2048+0 records in
2048+0 records out
1048576 bytes (1.0MB) copied, 0.066738 seconds, 15.0MB/s

(why is there 1mb copied but 0kb on my sdcard ? )

~ # dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
dd if=/dev/block/mmcblk0p17 of=/sdcard/misc.img
512+0 records in
512+0 records out
262144 bytes (256.0KB) copied, 0.743628 seconds, 344.3KB/s

edit : i thought fastboot flash isnt even possible because i got revolutionary hboot
[HTC Desire S] amidabuddha:
Hey man you are on branded O2 UK ROM. What we tried so was is not making any sense in this case.

Download RUU_Saga_O2_UK_1.31.206.1_Radio_20.28b.30.0805U_38 .03.02.14_M_release from here

Reboot in FASBOOT USB mode and start the RUU from your computer.

Post feedback here, if this is not working there are some other options :)
[HTC Desire S] oLf06:
dont i need a goldcard?
[HTC Desire S] amidabuddha:
The RUU has to be an exe file that you will run from your computer. Nothing will go on your SDcard...just try it this is not dangerous
[HTC Desire S] ben_pyett:
Even though revolutionary hboot isn't stock ENG and can't be easily down graded, my understanding was that they had patched it to contain same functionality as the ENG hboot, although you'd IMO you're still better off to have stock

Swyped from my Desire S using XDA Premium
[HTC Desire S] BeDesireS:
Hi guys!

As I can see you are familiar with the hboot, I have a short noob question:

I came from revolutionary s-off and flashed the new Hboot 2.00.2002 yesterday.

As I could read, the new hboot will create a new partition for /system/lib

But in my partition table there are still just the old partitions as you can see on the attached picture.

Btw.. I am currently on proxusers new RhymeS ROM with provided stock Kernel.

Now I am wondering why my partition table hasn`t changed.

Could it be that something went wrong during flashing new hboot, or is this related to ROM/Kernel?

Or am I just to stupid to get it right!? :D

Thanks!

Thorsten
[HTC Desire S] amidabuddha:
First: the lib will not be shown in the Recovery. To check the mounted partitions use the command 'df' in adb shell or Terminal Emulator directly on your phone.

Second: the lib partition will be mounted and shown only with the ROMs that are supporting it (for this purpose you have to flash also the lib.img that is attached in the 2.00.2002 flashing guide). Most of the ROMs here are not supporting this, only the pure OTA, but I doubt you will find it the most attractive

Third: because of the mentioned in the "Second" you actually do not need the new hboot 2.00.2002, so better flash 0.98.2000 (there is a link to it in my signature) and you will have 150 MB more in your /cache partition :p
[HTC Desire S] BeDesireS:
Thx for the good explanation! I think I understood now!

Are there any other advantages that the 0.98.2000 hboot has compared to 2.00.2002, excluding the more free space?
[HTC Desire S] ben_pyett:
Not necessarily but I'd say at the moment if you haven't already upgraded to 2.xx.xxxx then don't bother.......I'm hoping that there will be a time when the custom roms will make use of the new hboot structure (seperate LIB) and the extra SYSTEM space but that's a while a way and I imagine will involve sense 3.5!
[HTC Desire S] BeDesireS:
Okay! Then I think i will stay with the 2.00.2002 for now!

Thanks for clarifying!
[HTC Desire S] amidabuddha:
They are more or less the same...as far as I know the difference is the new partitioning style that comes with 2.00.2002 and you actually do not need...

and most probably will spare you the corruption of the /cache partition is some cases (like updating several apps from the Market simultaneously) but there is a cure for this so you can stick to 2.00.2002, just to avoid additional flashing that comes with a risk of bricking your device
[HTC Desire S] BeDesireS:
I have displaced the fact of bricking my device, after flashing ROM`s so many times!

I remember the first few flashes, I was trembling all the time till the Homescreen appears! :D

But at the moment I don`t realy care about bricking it!
[HTC Desire S] amidabuddha:
ok then IMO go for 0.98.2000
[HTC Desire S] BeDesireS:
Okay! Than I will give it a try this evening!
[HTC Desire S] oLf06:
now tried the RUU from o2 uk... it says " rebooting bootloader" for about 15 minutes now .. think it stuck again ,didnt it ? the RUU sayss that it can take up to 10 minutes ...

if it got stuck ... how to reboot my phone now ? ... bootloader does not react anymore
[HTC Desire S] amidabuddha:
let it run

btw what have you done when was flashing the previous RUU (Europe 1.28 and 1.47) and it was stuck at rebooting too?
[HTC Desire S] oLf06:
waited about an hour then plugged out the device because i thought it failed..... this question makes me afraid ..
[HTC Desire S] amidabuddha:
Anyway your last resort is to bring the device to a repair center where they will probably replace the eMMC. So you cannot brick it more than now :)

Can you boot to bootloader after the RUU?

If yes go to Recovery, connect to PC, copy this file to the SDcard and type in the cmd:

adb devices
adb shell
su
dd if=/dev/block/mmcblk0p17 of=/sdcard/backup.img
dd if=/sdcard/misc.img of=/dev/block/mmcblk0p17
reboot-bootloader

when in bootloader go into FASTBOOT USB mode and flash the O2 RUU again. Tell me is it working
[HTC Desire S] oLf06:
but when should i stop the ruu i am loading now ?
[HTC Desire S] amidabuddha:
if it is still saying "rebooting to bootloader" you can stop it now

if it says something else better let it running and post the message here
[HTC Desire S] oLf06:
used your misc.img ... did not work :(

edit : still " rebooting to bootloader " after about 1 hour now ... no error message or anything else
[HTC Desire S] amidabuddha:
Ok. Any errors?

let's restore then

delete misc.img from the SDcard

rename backup.img to misc.img

flash with the same command as before

there is only one thing left to try...I will post in a minute
[HTC Desire S] oLf06:
no errors :( recovered my misc.img as you said .

i could try to flash the rom.zip of the new o2 ruu using hboot ? ....
[HTC Desire S] amidabuddha:
wait I have the solution

just have to calculate something...
[HTC Desire S] oLf06:
do you calculate the price of a new chip :P ?
[HTC Desire S] amidabuddha:
Ok last try. If this is not working that your next step is the repair center.

Download this misc.img

flash it like explained several posts above (mmcblk0p17)

Reboot to bootloader.

When in fastboot (FASTBOOT USB mode) type in cmd:

fastboot devices

Then type:

fastboot oem mw 8d08ea0c 1 31302E30

Code:

fastboot reboot bootloader

Make sure that you are in FASBOOT USB mode. Start O2 RUU.exe on your PC

2nd option - I hope that this time it will work, so will eventually tell you later. Good luck.
[HTC Desire S] oLf06:
C:\Users\oLf\tools>fastboot oem mw 8d08ea0c 1 31302E30

...

(bootloader) [ERR] Command error !!!

OKAY [ 0.013s]

finished. total time: 0.014s

should i try running the ruu and ignore the error ?

now :

C:\Users\oLf\tools>fastboot reboot-bootloader

rebooting into bootloader...

nothing happens.. is the solution again : waiting ?
[HTC Desire S] amidabuddha:
Run the RUU. If it gives an error on rebooting bootloader do not close ruu screen unplug the usb and plug again. If still nothing try to flash the eng hboot again and then RUU. When you try everything of this without success you only have one option - to go to repair cenret. Do not worry if something goes wrong and the phone does not boot. Then they cant know that your hboot is custom and you can claim your warranty if you have one of course. At this point I am out of ideas so this is my last advice. Good Luck!
[HTC Desire S] amidabuddha:
Just found that this error can be caused by your fastboot version. Download the one from my signature and try again the oem command with it!
[HTC Desire S] oLf06:
does this have something to do with it ?

rebooting into bootloader...

FAILED (status read failed (Too many links))

finished. total time: 108.185s

everytime i try to make a fastboot command i get this error

edit : tried with your fastboot ... same error :

C:\Users\oLf>fastboot oem mw 8d08ea0c 1 31302E30

...

(bootloader) [ERR] Command error !!!

OKAY [ 0.028s]

finished. total time: 0.029s

i wanted to try that too but same error ( status failed , too many links )
[HTC Desire S] amidabuddha:
have you checked your hboot version. is it still 6.98.1002?
[HTC Desire S] oLf06:
yes it still is

edit : whats with the " too many links - error "

are my drivers installed wrong ? i dont think this has something to do with my phone .
[HTC Desire S] amidabuddha:
I guess you are right but I cannot diagnose this from a distance. Sorry.

You have a PM
[HTC Desire S] amidabuddha:
post here the output of:

fastboot oem listpartition

In the meanwhile: go to adb shell and type:

su
cat /proc/emmc

your system should be at mmcblk0p25 (if on other modify the command below):

mke2fs /dev/block/mmcblk0p25
reboot recovery

do not pay attention if error message comes out.

Try to restore again
[HTC Desire S] oLf06:
C:\Users\oLf>fastboot oem listpartition
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.012s]
finished. total time: 0.012s

as i said... there is a problem with my fastboot commands which i cannot explain :( already used another cable, your fastboot.exe and downloaded a tool called " usb deview " but didnt really know what to do with it :/

edit :

cat /proc/emmc
dev: size erasesize name
mmcblk0p17: 00040000 00000200 "misc"
mmcblk0p21: 0087f400 00000200 "recovery"
mmcblk0p22: 00400000 00000200 "boot"
mmcblk0p25: 22dffe00 00000200 "system"
mmcblk0p27: 12bffe00 00000200 "cache"
mmcblk0p26: 496ffe00 00000200 "userdata"
mmcblk0p28: 014bfe00 00000200 "devlog"
mmcblk0p29: 00040000 00000200 "pdata"
~ #

...

system is at mmcblk0p25

still same error at restore
[HTC Desire S] oLf06:
what does it mean "behaves like stock" and .. yes made your command from shell before trying to restore
[HTC Desire S] amidabuddha:
There is a successful solution for a problem like yours in another forum. We can try it.

I need to know what happens when you are in adb shell an type:

su
parted
[HTC Desire S] Tectas:
Step back and watch yourself, now the fault gets chopped ^^

But I think parted has to be pushed to start rocking ;)
[HTC Desire S] oLf06:
sorry tectas my english is not that good ...

what the hell do you mean ? should i try this ?
[HTC Desire S] Tectas:
For sure, I just said that everyone should be careful cause parted is a mighty tool, just as a joke ;)

The second sentence just meant that I think, parted isn't present at the moment because of this you maybe have to download it and push it via adb to /sbin, but first try it out like he said ;)
[HTC Desire S] oLf06:
C:\Users\oLf>adb shell
~ # su
su
/sbin/sh: su: not found
~ # parted
parted
Error: No device found
Retry/Cancel?
[HTC Desire S] amidabuddha:
wow

is your device connected?

type adb devices to check
[HTC Desire S] oLf06:
if my device is not detected.. how could i have used adb shell ? ... it is connected and running in recovery
[HTC Desire S] amidabuddha:
ok so you do not have parted

Now I need the output of the command "mount"

after a minute you will have a download link and instructions
[HTC Desire S] Tectas:
Within recovery, you are rooted what the # indicates and cause of this there is no su binary present, cause there is no need for it ;)
[HTC Desire S] amidabuddha:
Download the archive from here and extract it.

Put the sdparted folder on your C: drive (you will have C:\sdparted)

now open cmd and type:

cd C:\sdparted
adb push e2fsck /sbin/
adb push mke2fs /sbin/
adb push parted /sbin/
adb push resize2fs /sbin/
adb push sdparted /sbin/
adb push tune2fs /sbin/
adb shell
cd /sbin
chmod 0755 e2fsck
chmod 0755 mke2fs
chmod 0755 parted
chmod 0755 resize2fs
chmod 0755 sdparted
chmod 0755 tune2fs

now we need for the mount output for the next step
[HTC Desire S] oLf06:
here you go ... the output of the command " mount "

C:\Windows\system32>adb shell
~ # mount
mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
~ #
[HTC Desire S] amidabuddha:
so your data, system, cache are not currently mounted (not present on the system which fails to mount them for some reason, probably the same that is not allowing to format them)

no in adb shell type

parted mmcblk0
print

post output here
[HTC Desire S] oLf06:
sorry but ...

C:\sdparted>adb push e2fsck /sbin/

1729 KB/s (428664 bytes in 0.242s)

C:\sdparted>adb push mke2fs /sbin/

651 KB/s (30680 bytes in 0.046s)

C:\sdparted>adb push parted /sbin/

1692 KB/s (346680 bytes in 0.200s)

C:\sdparted>adb push resize2fs /sbin/

837 KB/s (22304 bytes in 0.026s)

C:\sdparted>adb push sdparted /sbin/

602 KB/s (16047 bytes in 0.026s)

C:\sdparted>adb push tune2fs /sbin/

839 KB/s (22364 bytes in 0.026s)

C:\sdparted>adb shell

~ # cd /sbin

cd /sbin

/sbin # chmod 0755 e2fsck

chmod 0755 e2fsck

/sbin # chmod 0755 mke2fs

chmod 0755 mke2fs

/sbin # chmod 0755 parted

chmod 0755 parted

/sbin # chmod 0755 resize2fs

chmod 0755 resize2fs

/sbin # chmod 0755 sdparted

chmod 0755 sdparted

/sbin # chmod 0755 tune2fs

chmod 0755 tune2fs

/sbin # cd ..

cd ..

~ # mount

mount

rootfs on / type rootfs (rw)

tmpfs on /dev type tmpfs (rw,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

~ # parted

parted

Error: No device found

Retry/Cancel?
[HTC Desire S] amidabuddha:
parted /dev/block/mmcblk0
print

sorry my miss
[HTC Desire S] oLf06:
~ # parted mmcblk0

parted mmcblk0

Error: Could not stat device mmcblk0 - No such file or directory.

Retry/Cancel?

thank you for not giving up on me the second time btw
[HTC Desire S] amidabuddha:
check my previous post

I cant wait to see the result so I rush a bit. Sorry for that

I edited the command now should work

we are almost there

---------- Post added at 08:22 PM ---------- Previous post was at 08:02 PM ----------

ok, if you want to continue your magic command is:

parted /dev/block/mmcblk0 mkfs ext3

it will ask your to confirm, do it

when it finishes type

quit

go to recovery and flash a fresh ROM
[HTC Desire S] oLf06:
~ # parted /dev/block/mmcblk0 mkfs ext3

parted /dev/block/mmcblk0 mkfs ext3

Error: Can't have a partition outside the disk!

~ #

sorry it took so long i was eating a pizza
[HTC Desire S] amidabuddha:
:)

in adb shell

mount -a
[HTC Desire S] oLf06:
~ # mount -a

mount -a

mount: mounting /dev/block/mmcblk0p27 on /cache failed: Invalid argument

mount: mounting /dev/block/mmcblk0p26 on /data failed: Invalid argument

mount: mounting /dev/block/mmcblk0p25 on /system failed: Invalid argument
[HTC Desire S] amidabuddha:
it seems that is not going to work

take the recovery.img from the backup that I sent you and flash it

fastboot flash recovery recovery.img

reboot to recovery and try toformat the system, data and cache with it (this is the latest 4EXT Recovery that is much better than CWM)
[HTC Desire S] oLf06:
1. what do you mean with format ?

2. this is a fastboot command... guess this is not going to work...
[HTC Desire S] amidabuddha:
this will replace your recovery

in the 4EXT recovery you can see what type are your partitions (ext2, ex3, ext4 or none) and format accordingly. This will make the picture much more clear than now
[HTC Desire S] oLf06:
tried maaaaany times and ways to flash 4ext recovery.... nothing worked... dont know why ....

C:\android-tools>fastboot flash recovery recovery.img
sending 'recovery' (8701 KB)...
OKAY [ 1.496s]
writing 'recovery'...

how long should i let him "write" ?

edit : installing the 4ext zip in recovery ends without errors but dont seem to have any effect

the only thing which ever showed results was the fake flash method ( honestly i forgot how to make that ) ... i did see the 4ext screen directly after fake flash but was not able to direct in the menu and when i restarted the phone clockwork was back...
[HTC Desire S] amidabuddha:
cd C:\android-tools
fastboot boot recovery.img
[HTC Desire S] oLf06:
should i stop writing and type that command instead ?
[HTC Desire S] amidabuddha:
probably it will give you too many links again, so yes

I remember also that your hboot was with size 0. Probably pointless but here is an original 6.98.1002. Rename to hboot.img, copy to SDcard and try to overwrite from adb shell

adb devices
adb shell
dd if=/dev/block/mmcblk0p18 of=/sdcard/backup.img
dd if=/sdcard/hboot.img of=/dev/block/mmcblk0p18
reboot-bootloader