[HTC One X] Costinutz32:
Hey guys :).

I am a lil worried 'bout my phone.

Just flashed a kernel, everything was ok, booted into the rom and installed some apps.

I was getting nervous because i cannot even delete or move files from or to /sdcard/0/, but i was able to copy files.

The strange part was that if i go to /gata/media/0/ i could see files that i could not see in /sdcard/0/, and i was able to move, delete and so on.

If you didn't get it, i will give ya an example:

I have in /sdcard/0 a folder named Allah.If i want to access it a message appearing tells me that i don't have permission to do that.

If i go to /data/media/0/ i can open "Allah" and see its contents.

It is like /data/media/0/ and /sdcard/0/ are different partitions, but everyone knows that /sdcard/ is in fact a symlink to /data/media/.

Hoping that this is just a minor problem maybe because the partiton got corrupted i went to recovery->mount/storage->format /sdcard.Then disaster: recovery crashed, i think, phone rebooted itself and started bootlooping again and again.

So:

I cannot flash anything, if i access recovery i will end in a bootloop.

I cannot acces my rom, it bootloops and enters bootloader.

I tried reflashing boot.img and recovery.img with no results.

Flashing original recovery.img doesn't help.

Powering down and plugging it into the wall charger makes it start int bootloader.Wth?

I think recovery crashed when formatting my /sdcard, so should i use a command to format it from fastboot or something?

What rom do i use?

AOKP 2.0m.

What recovery do i use?

6.0.2.7 touch CWM.

What phone do i have?

HOX+.I posted here because our comunity is smaller and i need an answer ASAP :D.

My bootloader say it is relocked, i dont know why.Didn't touch it at all.

Also if i try rebooting into recovery/ rom from fastboot, some red lines appear for 1-2 seconds telling:

"this build is for

development only

do not distribute to htc

failed something to any legal bla bla" <- or something like that i dont have time to read it all.

Solution:

If your battery is low, use this to charge your phone:

" [MENTION=279333]ECHO[/MENTION] off
:start
fastboot getvar battery-voltage
fastboot reboot-bootloader
ping /n 6 localhost >nul
goto start
"

Make a .bat and place it where your adb.exe / fastboot .exe is located.

For those who are lazy i made a .rar, check attachments.

Source : http://xdaforums.com/show....php?t=1658084 .

Now let the phone reach 3750mV.After that, close the cmd window opened by the .bat you made.

Open another instance of cmd and:

cd <path to your adb folder>;
fastboot getvar all;

The output will be like this:

(bootloader) version: 0.5a
(bootloader) version-bootloader: 1.35.0000
(bootloader) version-baseband: 3.1204.168.32
(bootloader) version-cpld: None
(bootloader) version-microp: None
[COLOR="red"](bootloader) version-main: 1.17.401.1[/COLOR]
(bootloader) serialno: FA2AKW104376
(bootloader) imei: 353567050449843
(bootloader) product: enrc2b_u
(bootloader) platform: HBOOT-T30S
(bootloader) modelid: PM3511000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 3731mV
(bootloader) devpower: 23
(bootloader) partition-layout: None
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: None
(bootloader) hbootpreupdate: 2
(bootloader) gencheckpt: 0
all: Done!

Now this "version-main: 1.17.401.1" is your main version.

Look in your forums for an apropriate RUU.If your main version is different, dont worry!

Look for a RUU for your version.Don't take an upper one, because you may want to downgrade after that and it will be difficult.

Turn your phone into fastboot and flash the RUU you just downloaded.

That's it !

If your encoutering errors during RUU update, google is your friend :).

Make sure your battery is charged enough.