yashsingh1/xdaforums huggingface dataset:
[Desire HD General] AccessViolation:
Some improvements to make article more noob-friendly

Hello,

Thanks for the article! I had stock ROM S-ON with locked bootloader and now i have a JellyTime:)

BUT there is a BUT it took me about 3 days following this and other articles.

OK, I am a beginer in rooting Android devices. That would explain why it took so long... Less persistent person would just give up. But that does not mean one does not deserve a JellyBean ROM:)

Understand me correctly the article is not bad! It has the right attitude (not like arrogance in ace hack kit[the kit itself is cool, the author.. is not]), the article just needs some minor improvements.

I have a list of proposed changes to Your procedure:

Add step 2.2: reboot into fastboot

Add step 2.3: execute in cmd-prompt "fastboot flash unlocktoken Unlock_code.bin"(because there is no way in hell You will flash recovery if the bootloader is locked!)

Add step 3.2 Make a effen GOLDCARD!!! (this took me a lot of time to realize!!!) You can add a link to some other article there are plenty of those. Even a slight mention about necessity of it would spare me a LOT of time.

In step 4. the command is incorrect it should be "fastboot flash recovery recovery1.img"

Step 6: "adb shell dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img" this command needs root user access I am no big unix expert but i guess the correct command would be "adb shell sudo dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img" (not tested)

Any unix noob will stumble on that!

Same goes for step 7..

Again Thank You for Your article it really helped. Sorry for nitpicking!

Cheers
[Desire HD General] androidmodd:
Guys i was just a guy trying to S-OFF and root a HTC desire for a friend, the process was so long and frustrating that I decided to put a guide together at 6am (the time I finished doing it on that damn phone) hence why there are problems in here.

To access violation, if this is your first time rooting an android device, this is definitely not how most android devices are like to root, eg my new nexus 4 is the easiest thing in the world to root :p

I will try to edit the guide later on when I get time :)
[Desire HD General] AccessViolation:
Actually it was not a first time i rooted an Android device, I have rooted my Samsung Galaxy Tab 2 it was like one-click procedure. Compared to this crazyness with DHD. I guess newer devices are much more easy to root.
[Desire HD General] androidmodd:
There's even quite a lot if older devices that are easy, just HTC devices seem to be especially annoying.

My first android device was a HTC Magic and that was fairly annoying too.
[Desire HD General] Steam.:
Step 4 still says

it should be fastboot boot recovery1.img
[Desire HD General] androidmodd:
Just made these changes
[Desire HD General] AccessViolation:
Sorry for my mistake - You should remove "copy the ROM zip file to your SD card." from step 3 and create step "3.3 copy the ROM zip file to your SD card.", because files should be coppied to sdcard only after the goldcard is created.
[Desire HD General] androidmodd:
Done
[Desire HD General] Sajijun:
emmc

how can i see my emmc version ?

where should i run the cat command mentioned in the OP ?

i have tried with adb and fastboot but does not work :confused:
[Desire HD General] mysterium:
what's the meaning of Make a effen GOLDCARD?

Can you please explain what's the meaning of step 3.2 Make a effen GOLDCARD!!! ????? and how to do it ? Thanks
[Desire HD General] nagarjuna93:
can i follow the method for my carrier unlocked htc desire hd.

carrier is "3" Australia version.
[Desire HD General] Thawapricz:
Help!

i need help get stuck at this. please reply
[Desire HD General] R0yke:
Start with step 1 :silly:

---------- Post added at 11:33 AM ---------- Previous post was at 11:25 AM ----------

Got it..

Took me about ten hours to figure everything out.. but it worked..:highfive::highfive::victory::victory::good::good:

•Adb push boot.img /data/local/tmp <worked>

•adb shell <worked>

root <not necesary.. adb was autimatic on # >

dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img <worked>

EXIT

•adb pull /data/local/tmp/boot.img <worked>

•adb push goldcard /data/local/tmp

•adb shell <worked>

root

chmod 775 /data/local/tmp/goldcard <worked>

•adb shell <worked>

root

cat /sys/class/mmc_host/mmc2/mmc2:*/cid <worked>

take note of the string of numbers and letters that appear.

EXIT

then:

•adb shell /data/local/tmp/goldcard -c <CID NUMBER> -o /data/local/tmp/goldcard.img <worked>

•adb shell

root

dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1 <worked>

EXIT

•adb push misc_version /data/local/tmp <worked>

•adb shell chmod 775 /data/local/tmp/misc_version <worked>

•adb shell /data/local/tmp/misc_version -s 1.11.111.1 I had to repeat this step several times, reboot your phone and try again. to be sure reapeat the two steps above.

7.If this is all fine boot into bootloader again.

From bootloader go to fastboot.

Go back to the cmd window on your PC from earlier, type in:

•Fastboot oem lock Phone reboot, quickly remove battery and go back to fastboot

Then type:

•fastboot oem rebootRUU <worked>

•fastboot flash zip firmware.zip <worked>

•fastboot reboot-bootloader <worked>

unlock the bootloader again using the Unlock_code.bin you got from HTC:

•fastboot flash unlocktoken Unlock_code.bin <worked>

then flash boot.img in ace-tools folder: <worked>

•fastboot flash boot boot.img <worked>

next:

•fastboot flash recovery recovery.img <worked>

8.boot to recovery again then:

•adb push gfree /tmp/ <worked>

•adb shell chmod 775 /tmp/gfree <worked>

•adb shell /tmp/gfree -f got several failures with emmc not restarting. repeating the above steps several times made it work. When the above step shows you a large list of radio's youre good. if this does not happen, try again.

reboot to bootloader and you should see it says S-OFF at the top of the screen, if It does congrats your done. YEAH :D

---------- Post added at 11:54 AM ---------- Previous post was at 11:33 AM ----------

Google you bold part!!!

http://www.youtube.com/watch?v=d2ETQuLr1vM
[Desire HD General] Thawapricz:
Q

in witch map ace tool map or? becasue i wirte in that in terminal as C:\ace-tools and i just got error after i push: adb shell
[Desire HD General] R0yke:
Adb.exe and fastboot.exe are not present in the ACE tool zip.

But if you start with step 1, and follow the instructions fronm the HTC site you know where to get them.

If you start half way the tutorial it is not going to work!! SO AGAIN!!!

:silly::silly:START WITH STEP ONE!!!!!!!!!:fingers-crossed::fingers-crossed:
[Desire HD General] Thawapricz:
Dude

i stuck at this now

•adb shell

root

dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img can i copy and paste this in cmd?

when i did i got this C:\ace-tools>adb shell

root

dd if=/dev/block/mmcblk0p22 of=/data/local/tmp/boot.img$ root

root: permission denied

$
[Desire HD General] R0yke:
Read my first post.

about the third line..
[Desire HD General] Thawapricz:
Q

i dont understand why i need to start over and over again i did it 7 times now and its goes to same problem. are this forum for help or for people to call anyother noob? :crying::confused:
[Desire HD General] R0yke:
Do not type root

just the dd...................

if ther is a # if there is a $ then SU first then type dd command..

Not calling you a N00B just telling you to read carefully.

It took me about then hours just reading and trying. Yes frutrating, but reading and trying out and UNDERSTANDING what happens helps you figure out problems. If we just tel you do that, and you copy paste it you do not learn. if you do not want to learn and just copy paste something don't ask help in a developer forum. :good:
[Desire HD General] Thawapricz:
TY

this i wanna sE:D
[Desire HD General] xdagee:
Help!!!

Hi xda-members,

well i got stacked in the same way cos i cant unlock my bootloader it says my rom is not supported!
[Desire HD General] robbo1:
Fristly, thanks for the guide and your and everyone else's patience helping people through this!!

:good::good::good:

Please note that for the commands running a program or script on the telephone, I had to put a "." in front of it's name.

E.g. instead of this:

adb shell /data/local/tmp/misc_version -s 1.11.111.1

I ran this:

adb shell ./data/local/tmp/misc_version -s 1.11.111.1
[Desire HD General] vshoot88:
Kindaa worked ...

Alright so i got to the stage where you say " fastboot flash zip firmware.zip " and this is the error that CMD gives me..

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmware.zip

sending 'zip' (18223 KB)...

OKAY [ 3.075s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

FAILED (remote: not allowed)

finished. total time: 6.013s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash zip firmwaree.zip

sending 'zip' (18223 KB)...

OKAY [ 3.064s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

FAILED (remote: not allowed)

finished. total time: 6.003s

Note: I renamed the file on the 2nd try to see if it would make any difference, but it didn't. I'm still S-ON and older version of ROM has been installed.
[Desire HD General] pat99:
Help me out.

I've faced so far 3 PROBLEMS in here this process. i have HTC Inspire 4g from AT&T,it was locked with 2.3.5 and sense 3.0 then it was rooted and now i have manage to install europian version of 2.3.5 stock 3.0 and current baseband version:12.69c.60.29U_26.09.13.17_M.

following problems i have faced while downgrading and making S-OFF:

1)adb shell dd if=/data/local/tmp/goldcard.img of=/dev/block/mmcblk1 -->no such directory found something like that shown!

2)Fastboot oem lock --> after hit enter phone rebooted automatically infect command to reboot is next to this one!

3)c:\ace-tools>adb push gfree /tmp/

2916 KB/s (722728 bytes in 0.242s)

c:\ace-tools>adb shell chmod 775 /tmp/gfree

c:\ace-tools>adb shell /tmp/gfree -f

--secu_flag off set

--cid set. CID will be changed to: 11111111

--sim_unlock. SIMLOCK will be removed

Section header entry size: 40

Number of section headers: 44

Total section header table size: 1760

Section header file offset: 0x00015398 (86936)

Section index for section name string table: 41

String table offset: 0x000151df (86495)

Searching for .modinfo section...

- Section[16]: .modinfo

-- offset: 0x000011cc (4556)

-- size: 0x000000c4 (196)

Kernel release: 2.6.32.21

New .modinfo section size: 196

Attempting to power cycle eMMC... Failed.

Module failed to power cycle eMMC.

Still some how managed to get recovery.img and using device over wifi,i really want to use how to able to make S-OFF!!!

Please anyone has idea to solve the matter then let me know. i would be really thankful to them.

Thanks in advance.

---------- Post added at 03:47 PM ---------- Previous post was at 03:38 PM ----------

Here's i how did:

If your device is rooted earlier then no worries you can install it just like another custom rom. but before do that i would advice to make a nand backup of your current ROM.

flash this custom rom boot.img from fastboot via "fastboot flash boot boot.img"

then "fastboot reboot" once this done. then do following.

Make Full data wipe + Full cache wipe + Full dalvin wipe + Full battery states wipe.

And install your rom from sd card.

That's it.
[Desire HD General] rhygo123:
no sound after root

i followed all the steps here and it was successfull but my phone doesnt have any sound. it just vibrate. can you help me fix this?
[Desire HD General] scotty1223:
Run a new ruu to update your firmware. That isue is common and not permanent.
[Desire HD General] uranium:
success! it was pretty hairy at times but I think it worked out for me. Thanks to the threadstarter.
[Desire HD General] AdCrys20:
stuck!

Hi ... can I get some help please?

I'm stuck here!
[Desire HD General] scotty1223:
You have not successfully changed your main version. We cannot help because you have not included that section of your session. You need to show the entire process.
[Desire HD General] androidmodd:
Aahk2 is out please use that method instead, fully automated and much easier :) :

http://xdaforums.com/showthread.php?t=2367322
[Desire HD General] DaviDelaroche:
Full HTC Desire HD guide to root, S-OFF/Sim Unlock (ERROR)

PLEASE HELP ME, WHAT HAPPENS??? EVERYTHING BUT GONE BAD FOR THIS POINT 6 - Adb push boot.img /data/local/tmp.

Error msg: cannot stat 'boot.img': No such file or directory:mad::crying:

Where i can get/download/create the request files "BOOT.IMG" and where this destination: /data/local/tmp? on SD Card or My computer?:D

PHONE: HTC DESIRE HD

ThankX Lol
[Desire HD General] Pilsner12:
boot.img get from rom which you want to flash - oupen zipped rom and in main folder you will find boot.img. Copy to folder where you have adb files and then go to bootloader - click to fastboot. Run command prompt in folder where you have adb and boot.img ant type:

fastboot boot boot.img
[Desire HD General] RAFELO1:
Htc Inspire 4G

help me!!!!!

"C:\ace-tools>adb shell /data/local/tmp/misc_version -s 1.11.111.1

--set_version set. VERSION will be changed to: 1.11.111.1

Misc partition is "/dev/block/mmcblk0p17"

Patching and backing up misc partition...

Error opening input file."
[Desire HD General] RAFELO1:
C:\ace-tools>adb shell /tmp/gfree -f

--secu_flag off set

--cid set. CID will be changed to: 11111111

--sim_unlock. SIMLOCK will be removed

Section header entry size: 40

Number of section headers: 44

Total section header table size: 1760

Section header file offset: 0x00015398 (86936)

Section index for section name string table: 41

String table offset: 0x000151df (86495)

Searching for .modinfo section...

- Section[16]: .modinfo

-- offset: 0x000011cc (4556)

-- size: 0x000000c4 (196)

Kernel release: 2.6.35.14-cyanogenmod-g34e3a7a

New .modinfo section size: 216

Attempting to power cycle eMMC... Failed.

Module returned an unknown code (No such file or directory).
[Desire HD General] pascuals:
Try other usb port (one on pc's back)

Enviado desde mi Nexus 4
[Desire HD General] FredAlderine:
htc desire hd

hello..i have a htc desire hd 3.13.707.4 firmware which i follow every step to root n unlock bootloader but its seem useless when nothing happening..no root obtain..can you guide me to root this htc?this is different than other android i have successfully root n install custom rom such as LG,Samsung all type includes new one samsung s5,Sony xperia all type n motorola...what did they put inside this htc when its hard to be rooted...damn...help please...im no hacker....
[Desire HD General] roheed:
my phone goes into boot loop when battery is completely drained and a powerup is attempted. the phone works only after re-flash.
[Desire HD General] nyqust:
how can i s-off?

hi,

i cant s-off my htc. its 'temporarly rooted' but cant s-off with this method or any method.
[Desire HD General] kilerek3:
im getting error ;/

"Attempting to power cycle eMMC... Failed.

Module failed init, check dmesg."
[Desire HD General] sourav sachdeva:
Flashing a custom rom on htc desire hd.

Here are the details of my htc desire hd phone

***RELOCKED***

ACE PVT SHIP S-ON RL

HBOOT-2.00.0029

MICROP-0438

RADIO-26.14.04.28_M

eMMC-boot

Dec 22 2011,14:28:19

The link in the line below isn't working and i am not able to understand the effen goldcard thing .Please help:laugh::laugh:

Download this and unzip it somewhere (reccommend C:\ root folder): http://www.multiupload.nl/MXW371YT87

I'm stuck with white logo after trying to flash many times I'm ready to follow any guide you suggest
[Desire HD General] heopi:
Hello.

I have HTC Desire HD (a9191) with ROOT and S-ON. (DHD_WWE_3.12.405.1_STOCK_rooted_by_nitr00)

I want s-off and install miuiandroid_ace_3.10.18_MK_jb-4.2.rar

Information from FASTBOOT

*** UNLOCKED ***

ACe PVT SHIP S-ON RL

HBOOT - 2.00.0029

MICROP - 0438

RADIO- 26.14.52.27

eMMC-Boot

Dec 22 2011

What should I do first ?
[MDA, XDA, 1010 Software Upgrading] gilicomps:
Hi !

I bought a tmobile pocket pc phone and need to get it unlocked

My ver. is 3.14.40 (Radio 6.18 pro' 324e4) so I can't use xdaunlocker.exe

Also, can't use developer's 1.2 (or 1.1,1.0) cause my version is old !!

Don't have a flash card, so I need an exe that will update my rom to any ver. which is unlocked. All other benefits of developers ver. will be nice, but it's not the main thing .. :)

Can anyone help ?

I'm also @ gili4u@013.net.il

Thanks \!!
[MDA, XDA, 1010 Software Upgrading] Kaputter:
Just buy a serial cable and use the xda-manipulator. With that you will keep your original software and your xda gets unlocked.

Greetings, Kaputter :shock:
[Desire HD Q&A, Help & Troubleshooting] qtek_metanol:
Is there a software able to detect and test the available COM-Interfaces on the phone so that a posibilty exits to do a function test without having android installed. Since the last ROM update from sabsa v9.0 to v15.0 works my wlan anymore.

THX in advance

Metanol
[Nexus 7 Q&A, Help & Troubleshooting] Za_RO_Maniac:
Hi guys,

First of all these are my specs

N7 WiFi 16GB - 4.2.2 PA

Yesterday I tried to turn on my N7 but no go... so i thought: no battery since I didn't used my N7 for 2-3 days. I put it on charge a few hour but then when i tried to turn it on, again... nothing, so i tried to reset and hard reset but no effect... afte letin it a few more hour on charge I tried yet again and noting... i tried to keep power button presed for 30 sec, 60sec, etc... nothing...

Then i conected it to my PC and realized that nor W7 nor W8 recognized my device... It says "USB device not recognized" and also in device manager it says "Unknown device"

The thing is that when I Hard reset it conected to the PC it seems to restart since i get the "disconnected device" sound from windows and the then message "USB device not recognized" appears again...

I want to make this clear MY SCREEN NEVER TURNS ON! so i can't get in recovery or bootloader mode :(

Also fastboot doesn't see it :(

And yes I have the correct drivers on my PC on both W7 and W8...

So PLS...ANY Idea would be appreciated!!

Sorry for my English, I hope I was clear enough so that you guys understand my problem and what i did about it until now.
[Nexus 7 Q&A, Help & Troubleshooting] jt.one:
the fact that you cant even get the screen to turn on doesn't sound promising...

are you sure the battery is holding a charge?
[Nexus 7 Q&A, Help & Troubleshooting] Za_RO_Maniac:
As far as I can tell there is battery, so that is not the problem ...

Probably would be best to send it to warranty and see what they say ...

TY for reply :)
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
Since the screen never comes on in any circumstance, what do you mean by "as far as I can tell"?

Normally - if the device is powered off - the bootloader (or some other low-level firmware?) displays a charging animation in the display when you plug the device into a charger. If the battery is completely discharged, it will show up as empty (all black with a white outline), and then display a "filling up" animation. If the battery is mostly charged, that animation starts with the battery icon almost full (mostly white) and the animation shows a "topping off" display.

In any event, if you can see that animation, you will know the exact charge state of the battery: the percentage of the battery charge is shown as the percentage of the battery which is white at the beginning of that animation.

But, since you are saying that you are seeing nothing, then you have no idea whether the battery has a charge unless you pull off the connector and measure the battery voltage: discharged is ~ 3.5v and fully charged just shy of 4.2v.

The thing you are seeing on the PC is probably APX mode. It is usually a sign of serious trouble - but only if you have positively verified that the battery has a decent charge.

Anyway, my point is that you kneed to know unambiguously whether the battery has a charge or not before you proceed any further. A discharged battery looks identical to a hard-bricked device.

BTW, I suppose that in APX mode the device is drawing a small amount of current; this means it will inevitably discharge the battery again if it is left in that mode.

So, here is one suggestion:

Take the back cover off the device and unplug the battery. Let the device sit for ten minutes or so with the battery disconnected. (If you have a voltmeter, you can measure the battery voltage at this time so long as you are able to do it safely - don't accidentally short it! - and without damaging the connector. If not, don't worry about it). Press the power button once or twice during this time to dissipate any stored charge in the device.

Then, reconnect the battery pack, but do not attempt to start the device yet! Just plug the N7 onto the charger and see if you observe the charging display. If you see the charging display, don't get all excited and try to start the device up right away! Let it charge for a couple hours before attempting to start it. If you don't see anything at all, it still might be a good idea to leave it sit on the charger for a few hours before attempting to start it up.

good luck
[Nexus 7 Q&A, Help & Troubleshooting] Za_RO_Maniac:
I was referring to this yes : "The thing you are seeing on the PC is probably APX mode."

So ill try your advises and come back with feedback !

TYVM
[One (M7) General] skwieradee:
Hi everybody, I am new to xda forum. I have been waiting for black one already long enough but today it pissed me off when been told that "news". Firstly a guy from buymobilephones.co.uk told me that they actually have. blackones in stock but they didnt pass their quality check procedure due to body paint coming off. I went then straigjt to Three shop where i have been told exactly the same! Does anybody heard anything about? anybody managed to get a black one in contract in uk?
[One (M7) General] rotchcrocket04:
I know there was one guy that posted yesterday (I believe) that received his black One. Hopefully some more people can jump in and comment as I'm going to be holding out for black as well.
[One (M7) General] Xperia23:
I anticipated as much mate. Main reason I went silver.
[One (M7) General] mang0:
A number of people have received and posted pictures of their black One in the thread following the black preorders:

http://xdaforums.com/showthread.php?t=2198281
[One (M7) General] bleary:
Mine has issues. Black sim free from P4U.

Screen isn't flush to the unibody one one side of the device. Not really noticeable unless you look closeup side-on, but it is indeed faulty.
[Galaxy S III Mini Themes and Apps] iKlutz:
Just sharing this and confirming it works for our s3 mini for those who pay =P

https://play.google.com/store/apps/details?id=com.eightsoft.amoledThree

Sent from the dark side using my gt-I8190
[Galaxy S III Mini Themes and Apps] maulana98:
thankss:D
[AT&T Samsung Galaxy Note II] boothcr79:
Does anyone know how to change the default for MMS pictures to not show in slideshow? I had it set that way on my GS3, but it was a ROM feature (the devils reject). Is there any way to do this on a note2?

Thanks in advance.

Edit: Thank you enewman17 for the answer!

Adding this into system/csc/feature does the trick.

<CscFeature_Message_EnableMmsOnePageViewer>true</CscFeature_Message_EnableMmsOnePageViewer>
[AT&T Samsung Galaxy Note II] stewbuntu:
:confused:

Do you add a text file to the folder or do I need to figure out how to open the system in a terminal? I am familiar with terminal in Ubuntu, but have not taken the time to root or learn android particulars as all the features I want are already available. Maybe I need to learn to get rid of bloatware.

A quick step by step would be great if you have the time. With thousands of people trying to get rid of the slide show mms why the hell is it still around? I hate it on the Note 2 and my Atrix didn't have it.