yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] grinning38:
It's a little misleading alright looking at it again, however it does state that it will remove all "videos, backups and remove encryption on internal storage". I should have known better really.

So the OS (Roms) are installed on the /system partition. Ok, I get that. /data is for apps and such, etc.

So when I flash a Rom, /system gets overwritten with the contents of the new Rom and anything on /system (for example, my old Rom) gets obliterated in the process? Makes sense, just like reinstalling / in linux but keeping other folders (/home) intact on different partitions.

If that is the case, then how did my stock Rom reboot after I had used the "Format Data" option in TWRP?

I rooted the phone a couple of months ago, and flashed CM10.2 first, then Insert Coin (4.4). I had taken a nandroid of each of these, and of course of the stock Rom immediately after first entering recovery.

After my mistakes with TWRP, I presumed the phone was completely wiped apart from the bootloader and recovery - yet when I shutdown and restarted it normally, my original stock Rom (Sense 4.3) started loading up. Where is this Rom stored and why wasn't it wiped along with everything else? Is it on some other fallback partition or something?

I was under the impression I had wiped everything, backups, sdcard, userdata, and any remnants of the actual OS.

You have the patience of a saint :angel:
[One (M7) Q&A, Help & Troubleshooting] fenstre:
The two main partitions are /system and /data. If you wiped data but didn't flash a ROM, you can still boot the phone. If you wipe data and successfully flash a ROM, you can obviously also boot the phone. Whether the phone boots really only depends on whether /system is intact, and whether /data is consistent with /system. (For instance, if you use ARHD and then try to use Stock, the settings stored in /data will be inconsistent, and the phone probably won't boot until you wipe /data.)

No, this is just a short break from doing real work...
[One (M7) Q&A, Help & Troubleshooting] grinning38:
Hmmm, I still don't get it. I don't see how, after flashing a few different Roms and then wiping the phone that it could revert to the stock Rom.

Before attempting to flash ARHD I was running Insert Coin 4.4.

I then flashed TWRP and mistakenly wiped the phone completely, obviously I had meant to keep the contents of the sdcard which contained the ARHD Rom.

I could not get adb to recognise the device and push the ARHD Rom to the sdcard (I can get my Desire to work with adb btw - Windows 8.1, that's another thread I guess).

So, while downloading ADT bundle on my flatmates Win 7 laptop I completely rebooted the phone. To my surprise, the Stock HTC 4.3 Rom booted up.

From within the Stock Rom, I connected to Windows via USB and copied over the ARHD Rom, rebooted back to recovery and successfully flashed and booted ARHD - using the Wipe feature in Armoa.

Everything is working perfectly now but I still don't grasp how the Stock Rom could have booted since Insert Coin had been the last Rom flashed.
[One (M7) Q&A, Help & Troubleshooting] azim.miraki:
My HTC One Just load in fastboot

Hello,

I wanted "Relock" but When I enter the code"fastboot oem lock" My phone is rebooted , Since that time , the phone not boot

Just boot in Fastboot

Fastboot works, but I can not flash anything,

Some commands works

Result "FLASH BOOT"

C:\fastboot>fastboot flash boot boot.img
sending 'boot' (6410 KB)...
OKAY [ 1.009s]
writing 'boot'...
FAILED (remote: image update error)
finished. total time: 1.122s

Result "FLASH STOCK RECOVERY"

sending 'recover' (16383 KB)...
OKAY [ 1.849s]
writing 'recover'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 3.839s

Maybe I have done everything wrong.

1->>Before deterioration

2->>after deterioration(Hboot)

3->>after deterioration (Fastboot)

4->>IMAGE CRC

help my please
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Did you have S-Off? Because in some of your photos, hboot isn't showing which radio your phone has. I find that very suspicious, that maybe something serious is wrong.

---------- Post added at 03:55 AM ---------- Previous post was at 03:54 AM ----------

Oh, I didn't understand the full situation. No, that's not possible. There must be something else to this story...
[One (M7) Q&A, Help & Troubleshooting] Skymutt:
It's completely stock, that much I know. But after reading some more in the forums, I'm a little confused on something else now...

This is a Sprint variant. Exactly how does that make it different? Is it just a matter of different firmware, so if I'm using something other than Sprint ROMS then I can ignore the differences after I've rooted and flashed? Or is the phone always going to be a "Sprint variant" because of some hardware difference or something that can't be altered?
[One (M7) Q&A, Help & Troubleshooting] fenstre:
I think so, yeah, considering that in the US, each carrier has different LTE bands. I think the phone would need different hardware to get LTE on a different network. Stupid anti-consumer attitudes and lack of standards. :P
[One (M7) Q&A, Help & Troubleshooting] zelendel:
Yes it will always be a spring version sue to different hardware needed to run on a completely different cell signal type. CDMA and gsm ROMs are not cross compatible. Sprint is one few carriers in the world to still use this older cellular network type.

Bat cave One
[One (M7) Q&A, Help & Troubleshooting] Skymutt:
I get what you're both saying, but since the HTC One is a dual GSM/CDMA capable phone, and according to the Engadget article the hardware is identical to the Global version, It sounds like I only need to be concerned with Sprint ROMs if I want to activate it on their network, right?

Since I plan to primarily use it as a WiFi only device, none of that should matter, and I should be able to flash any custom ROM I want, regardless of what "stock" ROM it's based on.

Also, if I understand correctly, I can still SIM unlock and use it on any GSM network worldwide if I choose, and will at least be able to utilize 3G/HSPA+ data networks, but could only ever get 4G LTE from Sprint? I want to be sure of this because I may try to find a cheap prepaid data-only plan from a non-Sprint carrier, but that won't be right away, and I may not do it at all.
[One (M7) Q&A, Help & Troubleshooting] fenstre:
The comments in this forum post says it has no SIM slot. That's quite a bit different.
[One (M7) Q&A, Help & Troubleshooting] zelendel:
No do not flash anything that is not for the sprint version. Or you will brick your device. The bootloaders along with radio software and hardware is very different.

Bat cave One
[One (M7) Q&A, Help & Troubleshooting] fenstre:
I'm sorry, I can't tell what's wrong, but since the bootloader doesn't show the radio version anymore, I think something is very wrong. Also, since it's S-On, there's no way to try installing another radio. And since you can't flash recovery, I can't think of anything else we can try to fix it, besides that you should try "fastboot oem unlock" again, even though you're already unlocked. And check that the recovery .img file you downloaded isn't corrupted, and that it's not for a different phone.
[One (M7) Q&A, Help & Troubleshooting] Skymutt:
Mine definitely has a micro SIM slot, just no card. It's got an icon in the status bar as well as an entry in the notifications that there is no SIM installed, so the tray isn't just cosmetic and the OS can "see" the slot. What does that change for me? I saw a post that linked to HTC's information on the carrier frequencies, and Sprint shares several with other carriers.

---------- Post added at 06:22 PM ---------- Previous post was at 06:17 PM ----------

Even if I decide never to activate it on ANY carrier, and only use it as a WiFi device? I really want to avoid having to wait till Google releases an update or new firmware, then Sprint to put it through their channels, then finally have someone get to modding it before I can upgrade. I wanted to primarily stick to lightly modded stock versions of the Google Play edition of Android that they'll be putting out for the HTC One.
[One (M7) Q&A, Help & Troubleshooting] zelendel:
One of the main issues is that the system for making phone calls over CDMA is not open source. That is why nexus devices don't have a Verizon or sprint version. Flashing any gsm software to a CDMA device has been known to brick the device beyond repair.

Bat cave One
[One (M7) Q&A, Help & Troubleshooting] Skymutt:
I hear what you're saying, but this phone is GSM and CDMA capable, isn't it? So how would GSM software be an issue?
[One (M7) Q&A, Help & Troubleshooting] zelendel:
The issue is that its not both. It is a CDMA device that can use a sim card. I know it may not seem like a diff. But trust me. It is a huge diff. As this is a developers site we encourage extermination so if your willing to put in the work to fix anything that goes wrong. By all means try.

Bat cave One
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Any idea how this happens? I'm a software dev and Linux user, so I'm curious about all the internal things that tick.
[One (M7) Q&A, Help & Troubleshooting] vsemoney:
How bypass password (lock code) HTC One (Sprint)

Help please

I have HTC One (S-OFF, android 4.3) with lock code , but I don't know wat is password

What I did: hard reset does not help, reflash android does not help, I have reflash bootloader and reflash android, but NOTHING else , only NEED password

how I can bypass lock password ?
[One (M7) Q&A, Help & Troubleshooting] c1nd3r:
No you cannot.

Sent from my HTC One Dev Ed
[One (M7) Q&A, Help & Troubleshooting] Skymutt:
I'm sorry, I'm not a dev, just a tech enthusiast. What you're saying has me more confused. Are you saying that this phone does not have GSM radio hardware, only CDMA? What's the purpose of a SIM if it isn't GSM? CDMA doesn't require that. And HTC's specs page even lists GSM frequencies. Are you just telling me that I'm screwed and can't even use this ad a WiFi only device without praying Google updates for sprint?
[One (M7) Q&A, Help & Troubleshooting] c1nd3r:
LTE uses the Sim chip. Sprint vzw cell phones have been encrypted for their CDMA which cannot be tampered with.

Sent from my HTC One Dev Ed
[One (M7) Q&A, Help & Troubleshooting] fenstre:
How did you get into this situation? It's probably not stolen, that wouldn't be S-Off. :P

Flash a custom recovery like TWRP, then make a /data backup before you start messing around. Boot to recovery and connect to the computer via USB. Assuming your drivers are configured, you can run "adb shell". Make sure /data is mounted, find the files that control the lock screen or password, and modify or delete them. Use this post as a model. You'll need to do some reading on what the common sqlite3 database commands are.

You'll need to do database queries to find the right key name (the key will not be called "lock_pattern_autolock"). If you use method 2, you can try commands like this to look for the right filename of the password storage:

adb shell ls /data/system/*.key

If you try and don't succeed, come back and tell us *exactly* what you did and *exactly* what the result was. Any less details is a waste of time.
[One (M7) Q&A, Help & Troubleshooting] xkonfuzed:
Hey guys, im having sort of a problem here. I am currently running CM11 4.2.2 and i wanted to install another kernel (Bulletproof kernel), but for some reason its not working. I have a working custom recovery and root access so i dont see a reason why its not working. When i flash and install the kernel using Aroma, i reboot, the htc logo shows up for a second or two, then i get a black screen. I tried rebooting again, but the process keeps getting repeated. As of now i have flashed CM again, and my phone is working fine so im not stuck in a bootloop or anything. But i still want to flash the kernel, any help would be greatly appreciated.
[One (M7) Q&A, Help & Troubleshooting] fenstre:
You mean you flashed the kernel using TWRP or CWM? I'm not entirely clear on what you mean by "install the kernel using aroma".

Secondly, after flashing anything, /cache and maybe the dalvik cache need to be wiped. Also, the kernel needs to be compatible with the ROM you're using. Is it? If none of this works, I would make a backup of everything and then wipe /data to see whether a "fresh" install works with this kernel. But before any of this, you should be connecting to USB and looking at the logcat when the phone tries to boot. You may learn why it's not working and not need to debug any further.
[One (M7) Q&A, Help & Troubleshooting] xkonfuzed:
Yes, flashed the kernel using CWM, then customized and chose options using Aroma.

Oh right, the cache. Totally forgot about it. How do i know if the kernel is compatible with my ROM?
[One (M7) Q&A, Help & Troubleshooting] vsemoney:
Thank you for help

I had to boot android on the phone (ViperOne, root, debugging on ) before entering lock password and executed the commands:

adb shell

cd /data/data/com.android.providers.settings/databases

sqlite3 settings.db

sqlite> update secure set value=0 where name='lockscreen.password_salt';

sqlite> update secure set value=0 where name='lockscreen.password_type';

sqlite> update secure set value=0 where name='lockscreen.lockoutattemptdeadline';

sqlite> update secure set value=0 where name='lock_pattern_visible_pattern';

sqlite> update system set value=0 where name='lockscreen.lockexchange.enable';

.exit

reboot phone...

BUT nothing changes and need password whatever

I have tried do it in TWRP , but have error "sqlite3 not found"

And other metod :

adb shell rm /data/system/gesture.key

nothing, because "No such file or directory"
[One (M7) Q&A, Help & Troubleshooting] fenstre:
In the place you got it, the developer probably wrote whether it's intended for stock-based ROMs, AOSP, or both.

Cool, good job trying those things. I found a post that recommends deleting the sqlite keys, instead of setting the value to zero (for password and salt only): instructions. Also, you don't want to remove "gesture.key" because you aren't using a gesture-based password. Is there another .key file in that directory?

And there's the "nuclear war" option: you made a backup in recovery, right? If you factory reset the phone, the newest Titanium Backup Pro can recovery apps from a TWRP recovery image. You could wipe and then restore all your apps (besides "Settings", because that will contain the password setup).
[One (M7) Q&A, Help & Troubleshooting] vsemoney:
THANK YOU, fenstre, FOR ALL THINGS

But I solved the problem like this: I found the same device HTC One (Sprint), pulled out a file settings.db and recorded it in my HTC One (is password)

Than rebooted and opa - NO password.

Just working phone
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Awesome and simple solution. :)
[One (M7) Q&A, Help & Troubleshooting] skinniezinho:
I've searched for this on google but didn't find it.

How much does logo to wake drain battery compared to double tap to wake (Screen)?

Last time I've used elementalx with double tap to wake I had the feeling that I was getting less battery, I am now trying with logo to wake, but has anyone tested it?
[One (M7) Q&A, Help & Troubleshooting] RobHands:
Guys I don't get it: For some users the usage chart under Power changed from 4.3 on. On my M7 i.e. the screen usage, mobile standby etc. is gone and android system is now being displayed as main power hog?

Very strange... :eek:
[One (M7) Q&A, Help & Troubleshooting] TynanV:
PLEASE help me! I tried downloading a ROM but whenever I hit system reboot it keeps taking me back to this "Team Win recovery" thing? I can't get back to my phone. Would really just rather start from scratch again and not do anything like installing a ROM ever again :crying:
[One (M7) Q&A, Help & Troubleshooting] Fallen Spartan:
Did you root your phone beforehand? What procedure did you follow to root/install rom?

...........................

You can lead a fool to wisdom but you can't make him think! XDA, mobile wisdom, not a n00b feeding ground!!
[One (M7) Q&A, Help & Troubleshooting] Kober77:
Newbie in need of help cannot get into HBOOT RECOVERY

Hi there I am pretty new to all this and have got into a mess. I have unlocked my HTC one tried to put a rom on it but I think i may have done something wrong. I can't get into hboot to get into recovery. When i do the power volume down it just reboots the phone.
[One (M7) Q&A, Help & Troubleshooting] TynanV:
I followed this guide http://htconeroot.com/htc-one-root/how-to-root-htc-one-windowsmaclinux/. I'm using a Mac. No idea if I did all the steps properly...
[One (M7) Q&A, Help & Troubleshooting] RobHands:
Here I have some screenshots
[One (M7) Q&A, Help & Troubleshooting] onon_onon:
How to fix the "set_metadata_recursive: some changes failed" error when applying OTA? The message appeared at the very end of the process.
[One (M7) Q&A, Help & Troubleshooting] a.cid:
Mostly this is while flashing Kitkat through older recoveries. You need to update your recovery to the latest version, which should have support for SElinux
[One (M7) Q&A, Help & Troubleshooting] onon_onon:
Thanks! Should I flash the recovery that came with the OTA file? My phone is on 4.3 and I'm trying to apply a 4.4 OTA.

Edit: Nope, stock recovery from 4.06.1540.3 OTA ended up with the same error. I really can't understand how an OTA file can not work on stock.
[One (M7) Q&A, Help & Troubleshooting] jluca98:
Hi, so I unlocked the boot loader, installed a custom recovery, got s-off and rooted my friends at&t HTC one but now he wants it full stock. I locked the bootloader and installed the latest RUU from the att site which I think was 3.17, and now the only thing left is to get back s-on. He is on hboot 1.55 and I'm not sure how to reset the phone to S-ON. I would appreciate anyone's help greatly.
[One (M7) Q&A, Help & Troubleshooting] c1nd3r:
Do not do s-on. If you do you may NEVER be able to go back.

Sent from my HTC One Dev Ed
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Does the phone boot to Android at all? Can you get an adb connection (test with "adb devices")? Were you previously able to get to hboot using the power+volume keys? (That is, are you sure you're doing it right? Have you looked up instructions for exactly what you're supposed to press and for how long?)

That's strange. I can't say what's causing it, but did you wipe data and cache and dalvik cache? This is normally required when you install a new ROM. Have you tried using adb and running "adb reboot" instead of rebooting via the TWRP menu?
[One (M7) Q&A, Help & Troubleshooting] Khurram Abbasi:
Please HELP

Hello,

I am new to xda developers forum and require urgent help regarding the issue I am facing with my htc one

Actually its softbricked because I accidentally removed os without any backup, I have tried using adb and sideload to push rom but doesn't work for me I am not able to use my phone for a week now please help.

I am attaching screenshots of the method I have used as well the error I am experiencing please check and reply ASAP

Thanks in advance
[One (M7) Q&A, Help & Troubleshooting] fenstre:
"androidrom.zip" doesn't exist or isn't in the current directory. You can rename it and/or copy it to that directory, or you can type the full path to the ROM (like "C:\Blah Blah\rom.zip", including the quotation marks).
[One (M7) Q&A, Help & Troubleshooting] Khurram Abbasi:
Stucked

I have tried renaming a several times but doesn't work still the same error
[One (M7) Q&A, Help & Troubleshooting] Spacii:
Have you tried the full path instead of only the name?

Like fenstre already said instead of "androidrom.zip" try "c:\insert\your\path\androidrom.zip"
[One (M7) Q&A, Help & Troubleshooting] Khurram Abbasi:
Thanks

Hey thanks bro I really appreciate your help but to be honest I don't understand the commands you and [MENTION=4428994]fenstre[/MENTION] have quoted earlier please can you be more specific and explain it to me in detail?

Thanks
[One (M7) Q&A, Help & Troubleshooting] AceofSpades117:
Hey guys, I'm planning to get a One on AT&T in a couple months and I had a few questions. I know the new HTC flagship will probably be out by then, but I don't really want it.

Are any of you guys using CyanogenMod 10.2.1 or Pacman (JB 4.3)? If so, have you noticed any bugs or problems with them on the One?

Specifically, I'm talking about the Feb. 1st CM 10.2.1 upload here: download.cyanogenmod.org/?device=m7att&type=stable

and the Pacman from this thread: http://xdaforums.com/showthread.php?t=2348415

Also, I found this Youtube video in the Pacman thread on how to install the ROM. Is this up to date? https://www.youtube.com/watch?v=idnNQwkpL5c

One final question: where do I download Pacman from? Do I get it from here? This link is from the original post of the XDA Pacman thread. http://pacman.basketbuild.com/index.php?dir=main/m7ul/

Or should I get Pacman from here? This is the directory for the AT&T One on the same website: http://pacman.basketbuild.com/index.php?dir=main/m7att/
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Perhaps you can search google for "windows command line tutorial"? Specifically, your problem is that you aren't fully and correctly specifying the path/filename of the ROM you want to push. Or if you want to try one last thing without actually learning anything (:crying:), move the rom to the same folder as adb.exe (you should see them together) and name it "rom.zip": no spaces, all lower case characters. And repeat your procedure, typing "rom.zip" instead of the filename you typed before.

Check out the AT&T forum. I don't think anyone here has the AT&T HTC One.
[One (M7) Q&A, Help & Troubleshooting] AceofSpades117:
Sorry, I didn't realize that there was a separate forum for the AT&T version. Thanks for pointing me in the right direction.

So just to clarify, if I purchase my HTC One from AT&T, I will be getting the m7att version, right? Is the m7ul international or something?
[One (M7) Q&A, Help & Troubleshooting] abdulbasit786:
Viber and skype issue on Htc One

I am having an issue on my htc one

When I place a call on viber or skype , my phone stucks. I tried re installing it many times and also factory reset my phone several times. But the issue is still there. Is this a software problem or hardware ? :(

em using htc one sense 5.0 and 4.1.2 jelly bean
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Sounds right to me! Good luck :)

Can you give more details about exactly what's happening and what the problem is?
[One (M7) Q&A, Help & Troubleshooting] fenstre:
Any benefit to upgrading the firmware?

Hi, experienced user here. I'm running a 4.4 ROM with the 4.3 firmware. I don't have any major problems--just small issues like multitasking that sometimes fails and delays I step out of an elevator and my phone re-connects to 3G or LTE.

Question: Has anybody seen any benefit from upgrading their phone's firmware from 4.3 to 4.4? I'd like an excuse to S-Off, but can't take the risk for no benefit.
[One (M7) Q&A, Help & Troubleshooting] zelendel:
The benefit is learning to do something.
[One (M7) Q&A, Help & Troubleshooting] fenstre:
While I respect that attitude, there's just no challenge in running a pre-compiled exploit. what I'd really like to know is how the exploit works. And how S-On works. Have you ever seen a technical writeup on this?