yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] Kangie:
(1) What does unlocking the bootloader mean?

Unlocking the bootloader allows you to load an image that isn't signed by HTC. Essentially, you can load a custom ROM or Recovery

(2) When I unlocked the bootloader, my phone completely reset. Is that normal?

Yes. The bootloader will wipe your device as a security feature - It's to prevent someone unlocking the bootloader and getting the info out of your phone that way if it's otherwise locked when lost or stolen.

(3) The tutorial continues as if your phone didn't reset. Should I reboot back into the fastboot mode and plug back in to the comp to continue the tutorial?

Probably. It depends on the tutorial. Any more info that you can provide?

(4) By unlocking the bootloader, will I receive OTAs from ATT?

Yes and No. Unlocking the bootloader removes some preloaded apps that are stored on the 'Data' partition. It's a known bug. Until those files are restored, the OTA update fails as it can't find those files. It's an odd check.

There's a thread somewhere around here that has a backup of the apps, so you can restore them and hopefully run an OTA update.

(5) If I root, will I receive OTAs from ATT?

Yes, provided that the above mentioned apps are restored. You might lose your root over an OTA update though - It just means that you have to repeat the process to re-root the device.

(6) If I root, how can I still use the stock OS and just get rid of the ATT bloatware?

Persionally, I'd install Titanium Backup and remove the apps from there. It might prevent OTA updates though, I'm not sure.

A safer option is to 'Freeze' the apps. They'll still be there, but they won't be visible to you, nor will they run in the background.

(7) I see things talk about "NAND backups" before one should root. What are those?

a NAND (nandroid) backup is essentailly an image of your device that can be restored via the bootloader or custom recovery. It allows you to restore your device to the state that it was in when you performed the backup if the process of rooting causes issues.

(8) What are RUUs?

I don't remember. Pass. Pretty sure that it has to do with the version of the software on the device.

(9) What does "Odexed" and "De-Odexed" mean...?

From memory, Odexed apps essentially store all of their components in the one file, where as a deodexed app seperates out a lot of the customisation details and allows for theming of apps.

Feel free to correct me if I'm wrong here, guys.
[One (M7) Q&A, Help & Troubleshooting] tfouto:
What apps are removed from the Data partition? the thing is how can one make a backup before unlocking the bootloader? Is is possible to insert a stock rom after unlock the bootloader and regain the lost apps...

I cant find that thread.

Edited: I found that thread and the apps, so i dont need an answer, now :)

http://xdaforums.com/showthread.php?t=2200628
[One (M7) Q&A, Help & Troubleshooting] Dthorny:
M7 vs at&t htc one

DO the mods and ROMs for the international version htc (m7) work on the at&t htc one? what are the differences?
[One (M7) Q&A, Help & Troubleshooting] rexaze:
as for me i learned the basic of rooting, unlocking, flashing recovery, ROM, and kernel. have been using blade since the day i started viewing this forum. still am. cheers

http://xdaforums.com/showthread.php?t=2027029&highlight=blade+mod

---------- Post added at 02:53 PM ---------- Previous post was at 02:46 PM ----------

oops.. jz realized i'm in the wrong forum.. hahaha
[One (M7) Q&A, Help & Troubleshooting] omar01709:
My issue is that I want to flash the 1.29 OTA onto my EE-branded UK 4G HTC One. I've downloaded this version: OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.z ip from this thread: http://xdaforums.com/show....php?t=2207874. I have attempted to Flash my own recovery, but am unsure as to which .img file to use and also which option in the bootloader to select. I've searched all throughout these forums, but to no avail.

Also, having unlocked the bootloader, will I be able to receive future OTAs?

If anyone can help, it would be much appreciated.

Many thanks
[One (M7) Q&A, Help & Troubleshooting] matt95:
you can't flash the OTAs as long as i know, you can only use the firmware.zip inside of it to upgrade the bootloader. If you are unlocked you can receive OTAs updates only if you have a stock rom and a stock recovery
[One (M7) Q&A, Help & Troubleshooting] ClydeB1:
It's really great to see some old familiar faces (or names rather ;)) here - Fallen Spartan, Kid Carter, Lucky Thirteen and matt95. I'll be joining in in the next week or so once I get my shiny new One :D

If you have an EE branded device you probably would not be able to flash the 401 (ie HTC WWE - Europe) OTA. In fastboot mode run the command fastboot getvar version-main. This should return a string similar to 1.28.401.7. If yours does not contain the 401 portion then you can't flash any 401 OTA or RUU to your device without s-off and would need to use ones that match your region code.

Also if this bootloader is similar to the One X (I'm assuming it is as I don't have my One yet) then you also can't readily flash an OTA, but rather you need to return to your original stock rom and stock recovery and then download the correct OTA for your device (assuming that one is available for your CID) and let that do the update. Also having unlocked your bootloader wipes certain original HTC apps from the internal sd card and these need to be restored before the OTA would work. So for you the best would be to find the correct RUU for your device, then relock bootloader and flash the RUU which will revert your phone to stock and also flash back the original recovery. I'm also assuming that the RUU would revert the deleted apps, but if not then those would also need to be restored before you can successfully update your device via OTA.

You can still receive OTA's with an unlocked bootlader BUT you can't install it with the bootloader unlocked.
[One (M7) Q&A, Help & Troubleshooting] kave2:
Hi, my girlfriend is thinking about HTC One, however it would be from carrier(Vodafone Ireland) and there would be some bloatware. Can I flash unbranded firmware to get rid of the bloat? If yes how do I do it?
[One (M7) Q&A, Help & Troubleshooting] matt95:
ohhh :D now the old One X team is complete :D glad to see you too Clyde ;)
[One (M7) Q&A, Help & Troubleshooting] ClydeB1:
You would need to first unlock the bootloader and root the device. Once that is done you can remove some of the bloat software using an app like Titanium Backup or you can flash a custom bloat free rom.
[One (M7) Q&A, Help & Troubleshooting] KidCarter93:
RCs everywhere :eek:

Just from that alone, we can tell that this is the phone of the year :D

Now for a question - I'm running the AOKP nighties at the moment and I tried to flash faux kernel, as I used that when I was on stock. Even though I flashed it correctly, it failed to boot. I believe I read somewhere that certain kernels will only work with certain ROMs (if the ROM is stock based).

Is that why faux kernel won't boot?
[One (M7) Q&A, Help & Troubleshooting] fenstre:
In general, no. Check out this section: http://xdaforums.com/htc-one-tmobile
[One (M7) Q&A, Help & Troubleshooting] devilsdouble:
Guys I am absolutely new in hTC world and have no idea about the root process. So could you tell me how could I root my M7, the simplest method will be welcome. Also I have heard about S-Off and stuffs, what is that? With Samsung I just used to install Odin on my PC and load a .tar file and it was very easy to flash. What are the steps with hTC? I don't know anything about ADB, so kindly help this idiot with the simple processes.

PS : I have been reading a little bit and it seems like you need to unlock your bootloader? Is that a must? I have an off contract phone.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok well first step you need to unlock your bootloader HTC very kindly provide this service @ HTCdev.com.

You will need to use adb/fastboot in this process to get your unlock token. Easiest way to obtain adb/fastboot is to install the android sdk here :- http://developer.android.com/sdk/index.html?hl=sk. Just make sure you get the correct version for you pc's os.

Once you have an unlocked bootloader you can install a custom recovery. I recommend TWRP 2.6.3.3 or 2.7.0.4b you can get this here :- http://teamw.in/project/twrp2/164.

Download the image then place it in you Platform-Tools folder and rename it to recovery.img. ( Platform tools folder is found in the sdk directory after installing android sdk)

Open a command prompt at your platform tools folder then boot your phone to the bootloader and connect usb cable (you should see "fastbootusb" in your bootloader screen, then use/type these commands.

fastboot devices (you should see an output of your devices serial no. This means fastboot can see your device)

fastboot flash recovery recovery.img (this will flash the recovery to your phone)

fastboot erase cache (this will clear any stored cache from your stock recovery).

Now reboot your device from the bootloader but select "reboot bootloader" once bootloader has loaded select recovery from the bootloader menu the phone should boot to TWRP Recovery.

Now reboot the system, TWRP will prompt you to install supersu select yes wait for phone to reboot. That's it your ready to start backing up and flashing Roms :)

P.s s-off is not necessary unless you want to go back to stock or flash new firmware
[One (M7) Q&A, Help & Troubleshooting] adsl125478:
I just solved it with a localised Rom for dual sim m7
[One (M7) Q&A, Help & Troubleshooting] xexxonx:
Can anyone provide me with a download link for TWRP 2.6.3.0 or later zip for HTC One? I can only find img files.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Why do you need a zip, what's wrong with .img? I only ask cause I couldn't find a zip for twrp.

---------- Post added at 09:44 PM ---------- Previous post was at 09:25 PM ----------

Assuming that you don't have access to a pc with adb/fastboot, there are apps on the playstore that can flash TWRP. Such as Goo Manager or Rom Toolbox. I recommend Rom Toolbox as I tried goo manager before and while it flashed ok I could not boot to recovery afterwards. Rom toolbox has worked flawless I've used it to flash my recovery a few times.

Also the .img can be flashed from a terminal emulator directly from your SdCard.

Download twrp.img file. Save it to the root of your /sdcard directly (internal memory only) and rename it to twrp.img

Launch terminal emulator OR connect to your computer and open an adb shell, then type the following:

su

dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p34

Then reboot to complete installation.*

Hope this helps :)

Edit :- Remove broken link
[One (M7) Q&A, Help & Troubleshooting] xexxonx:
Basically I screwed up when flashing a new rom because I forgot to update to newest version of TWRP before I flashed the rom. Resulted in being stuck in bootloader/recovery. My computer doesn't recognize my phone anymore so I'm going the flash drive+usb otg route. Tried img file it didn't work, hence me wondering if there are zip version.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
So you tried to flash KitKat Rom with old recovery?

Maybe you could get an older JB Rom and install it from otg. At least you can get phone booted up and reinstall drivers or update recovery another way. Then flash kitkat.

I don't think there is a flashable zip for installing twrp. Not even sure it's possible the flash recovery from recovery.
[One (M7) Q&A, Help & Troubleshooting] fenstre:
That's understandable, but as someone said, this is the command to install the new recovery on the phone:

dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p34

You can do it from "adb shell", or you can use TWRP's built in shell. If your computer isn't recognizing the phone when the phone is booted to recovery, that's not typically a problem that happens due to installing a ROM. That being said, we can still work with you. You want to use OTG to install a ROM--why not use OTG to flash recovery? The ROM won't be found in /sdcard (the folder might be called /extSdCard or something similar), but if you have OTG successfully mounted in TWRP, then these three commands will find and install recovery no matter where you put it:

TWRP=/*/twrp.img
echo $TWRP
dd if=$TWRP of=/dev/block/mmcblk0p34

Note: if step 2 does not show a correct-looking path to the twrp image, do not proceed. You can try "/*/*/twrp.img" instead in that case.
[One (M7) Q&A, Help & Troubleshooting] Matzuu:
Change_Configuration permission and Warranty

Hello everyone,

I would like to install an app to add a language on my HTC One. I checked the developers weblog and he says it is possible to do it without rooting the phone through ADB command line tool. This is taken form the develpors weblog:

Quote:

"In order to let this app work well, there are two way.(1. Root your device 2. Use ADB command) Both goal is to grant CHANGE_CONFIGURATION permission to Locale & Language."

My question is if the procedure he describes would still void the warranty on my phone?

Thanks in advance for your help,

Matzuu
[One (M7) Q&A, Help & Troubleshooting] xexxonx:
Sorry I am not very good at this stuff. I can't seem to find a place to enter these commands.

Currently on TWRP 2.5.0.0

So I put the TWRP 2.7.0.0 img file on my flash drive, attach it to my cable and then the phone, mount it, then what? Under "Advanced" is "Terminal Command", but when I click on that I just get to browse a bunch of folders.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Use the Terminal Command folder browser to navigate to your otg so you can see the twrp.img. Then hit select it will give you a keyboard and txt box to type the commands in. Use the three commands fenstre supplied in his last post. Making sure to use the actual name of the .img file.

I've not had to use this method before so can't guarantee exactly how or if it works.

Good luck keep us posted.
[One (M7) Q&A, Help & Troubleshooting] xexxonx:
Still can't see the img file, I made sure I renamed the img file "twrp.img" but when I navigate to the "usb-otg" folder in Terminal Command, there's only a "System Volume Information" thing and not the img file.

Do I still proceed by clicking "Select" after I go into the "usb-otg" folder?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I wish I could be more certain about this for you but as I say I've never used this method before. But if the file is there the command will find it even if it doesn't display in the folder.

Just out of curiosity did you attempt to flash a jelly bean Rom at all. ?
[One (M7) Q&A, Help & Troubleshooting] xexxonx:
Tried flashing something like this "HTCOne/rooted/4.3Sense/Dev-3.22.1540.1-Stock-Rooted-DE-ODEX.zip"

Error when flashing.
[One (M7) Q&A, Help & Troubleshooting] relic626:
In need of help

I'm looking for some one highly knowledgeable of the Sprint HTC One.

I messed up and i need a fix.

Will donate/ pay for the services provided once a proper fix is issued and my phone works.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
What was the error? Same as what caused the problem in the first place? Something went wrong before , during or after flash? Md5?
[One (M7) Q&A, Help & Troubleshooting] jonathan_337:
I'm new to HTC and due to my poor 3G reception I want to flash a new radio. Do I need to he S-Off? I searched but I just want a concrete response before I mess with it. Also how do you backup your current radio ?
[One (M7) Q&A, Help & Troubleshooting] fenstre:
No, it's fine, because any change that happens won't persist beyond a factory reset.

Are those slashes part of the filename? Or are they folders? Either way, it's gonna totally confuse the system. Just put the file, without any folders, and without any slashes in the filename, in the USB flash drive. (In the past, I've even sometimes needed to reformat the drive after using a file with a name like that, because it somehow can't ever be deleted because the OS can't fully see it.)

Yes, you need to be S-Off. And in this thread someone lists the partitions for the HTC One. You could use the "dd" command to back up your radio/modem-related partitions, but this stuff is so much "black magic" that I wouldn't have much faith in the backup/restore operation.
[One (M7) Q&A, Help & Troubleshooting] technoweary:
Problems with rooting my HTC One

Hi,

I have decided to put the Android Revolution HD on my HTC One.

Following the excellent video for unlocking and rooting the HTC One everything appeared to go well until trying to restore the adb backup.

I got an error message 'adb: unable to connect for backup'

SuperSU is also saying it has no binary and cannot install it.

I am a noob so I thought I would ask the experts for any suggestions before I start playing about or re-installing stuff.

I installed the components from the download as follows

HTC Driver 4.1.0.001

TWRP 2.6.3.0-m7

SuperSU 1.65

What's best to do?

Regards
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Install the SuperSU update in recovery: http://xdaforums.com/showthread.php?t=1538053

(Look for the .zip that's flashable in recovery.) I don't know why, but sometimes I've seen ARHD unroot itself. I thought that problem was fixed, but perhaps not.
[One (M7) Q&A, Help & Troubleshooting] technoweary:
fenstre, Thank you for your reply.

I will try this tonight.

Regards

tw
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
If your going for ARHD you should be using TWRP 2.6.3.3 recovery. Twrp will install SuperSu for you.

If you haven't already, flash TWRP and boot to recovery when you reboot from recovery you will see a prompt to install supersu. Select yes and your done. :)

Edit:- sorry just noticed you have supersu 1.6 so twrp may not prompt to install supersu. In which case you need to flash supersu 1.9 in recovery as fenstre suggested. But you will need to update your recovery to 2.6.3.3 or you will run into problems installing the Rom. :)
[One (M7) Q&A, Help & Troubleshooting] technoweary:
Danny201281 Thanks for your message.

Just started to try and sort out the problems following reply fenstre and yourself.

Looks like I have driver problems now.

I cannot copy the Update-SuperSU-v1.97.zip to the One, says it's stopped responding or disconnected.

Funny thing though is that I can copy other files?

Downloaded TWRP 2.7.0.0-m7.img and will try to load that as soon as I have found out what is wrong with the drivers.

Thanks for your assistance, very muc appreciated.

tw
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Please don't try to install ARHD with TWRP 2.7.X.X. Many users have reported problems when using newer recoverys. It must be 2.6.3.3 or 2.6.3.4.

With copying super su try renaming the file to something simple like sepersu.zip or better still if you can boot the phone copy it to internal storage with windows or which ever OS you have on your pc.
[One (M7) Q&A, Help & Troubleshooting] technoweary:
Problems with rooting my HTC One

Hi Chaps,

More twatty noob questions, apologies in advance.

Not getting very far in sorting out driver problems with my HTC One after the failed rooting.

Installed new drivers but no difference.

HTC Sync opens and I get access to browse the internal storage but it will not allow me to paste SuperSU-v1.97.zip but strangely I can paste jpg's etc. so I am thinking maybe it's not drivers but a bad fastboot install last time.

Checking the TWRP directory in the phones internal storage I see no files, it's empty, and I am not sure that is correct?

Should I have an empty TWRP folder once it has run?

I have downloaded openrecovery-twrp-2.7.0.0-m7.img and intend to fastboot it all again.

I see that you say TWRP will install SuperSU, so does that mean SuperSU is bundled in TWRP or do I still need the SuperSU zip in the internal storage? - and do I need both SuperSU-v1.30.zip as well as UPDATE-SuperSU-v1.97.zip?

Am I going in the right direction to fastboot them all again?

Sorry for so many noob questions I am floundering a bit here!

Regards

tw

---------- Post added at 04:23 PM ---------- Previous post was at 04:20 PM ----------

Hi Danny201281,

Just saw your reply, thanks for your help.

OK, I downloaded the wrong TWRP.

I will get the 2.6.3.3 as you specify.

Problem with copying to the phone internal storage is that it will not allow .zip.

I can copy jpeg etc but not .zip which makes me wonder if I have a bad fastboot last time?

---------- Post added at 04:31 PM ---------- Previous post was at 04:23 PM ----------

Managed to copy the UPDATE-SuperSU-v1.97.zip by namimg as .tmp, copying to internal memory and naming back to .zip.

Hope that is going to do it.

Thanks again
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
The TWRP folder in your internal storage will be empty unless you have made a backup from within recovery, in which case you should see a backup folder in there.

Don't use sync manger to copy files to the phone. Just browse the internal storage with you pcs file explorer. And use drag and drop to put supersu.zip on the phones internal storage.

What OS does your pc run Windows/Linux or Mac OSX? I guessing windows since you have sync manger running.

Have you entered recovery mode at all yet?
[One (M7) Q&A, Help & Troubleshooting] technoweary:
I am running win 7 PC

Copied UPDATE-SuperSU-v1.97.zip to internal storage using the PC file explorer and fastbooted recovery with openrecovery-twrp-2.6.3.3-m7.img

TWRP started and I selected the SuperSU update but got failed mesage back from TWRP

TWRP is showing it's home screen with v2.6.3.3

Not sure what to do at this point, should I select reboot and try sorting out the drivers again?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
If you are in TWRP now would be a good time to make a backup before you do anything else. Then reboot to recovery and try to update super su again. (If twrp prompts you to install supersu after you backup and restart. Select yes.
[One (M7) Q&A, Help & Troubleshooting] technoweary:
Hi Danny201281,

Made backup and rebooted.

While backing up I read the TWRP log and noticed that I got multiple errors of " unable to mount '/cache' "

and a " unable to open zip file" error.

Is this a clue?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
"Unable to open zip file" this was for supersu zip? If so you maybe have a bad download.

Try this after your backup finished. Reboot device and open superuser app it may ask if you want to install binary there follow instructions to update binary.

Although now you have working recovery and backup to fall back on you could skip updateing su binary and just install ARHD as it is a pre-rooted Rom it will install superuser.
[One (M7) Q&A, Help & Troubleshooting] technoweary:
SuperSU was not installed.

I copied the zip back to the PC and did a checksum which was verified so it looks like the zip is fine.

Seems TWRP could not open it for some reason.

The drivers seem to be OK in Device Manager on the PC so I am a bit stumped now.

Ran a root check and confirmed the phone is not rooted.

I do not have much hope that ARHD will install if I cannot even get SuperSU in.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Did TWRP not prompt you to install supersu? If the phone is not rooted it should detect it and prompt you to install supersu. Twrp will handle this without any zip. It's a built in feature of the recovery.

---------- Post added at 07:18 PM ---------- Previous post was at 07:09 PM ----------

Also drivers are not an issue if your flashing from recovery. You are installing it in recovery aren't you? Or you try wit adb?