yashsingh1/xdaforums huggingface dataset:
[SlimRoms Q&A] KingCoder:
OK thank you for replying, I've had issues before clean flagging though I think that was due to older hardware.
[XDA Assist] PANKAJKABRA:
Phone is CDMA /GSM just brought a month back

GIVING PROBLEM WHILE USING CAMERA

MAINLY FRONT CAMERA

GETS HANGED

PLS GUIDE SOLUTION
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Hi all, long term lurker first time poster so please go easy on me.

After having many successes on rooting and flashing various device over the years thanks to this forum, I have finally completely knackered my M8 I think.

Awhile ago I rooted and flashed Venom Rom which worked perfectly. I then decided I wanted Revolution HD rom but obviously didn't follow the guide correctly as afterwards I couldn't get wifi. I still used the phone for a few months until yesterday when I finally decided to do something about it. So using Minimal ADB Fastboot I flashed a Lollipop firmware and was going to flash another ROM.

However, the phone won't boot into recovery, just the bootloader. Can anyone please tell me (in simple terms ;)) where I can go from here or whether I now have a brick?

If it helps the phone is "Relocked" and S-ON.
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
post your fastboot getvar all please without imei and serial number

did the firmware flash complete successfully ?

---------- Post added at 10:40 AM ---------- Previous post was at 10:34 AM ----------

also forgot to add, if the firmware flash went through fine then you will now have stock recovery on your phone, this will just look like a big red exclamation mark on your phone.

at this point you either need to find a stock RUU for your phone and run it now or unlocked your bootloader again at HTC dev, flash a custom recovery and then flash a custom rom.

if you have anything custom / non stock on your phone right now, it wont boot or load with a relocked bootloader.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Many thanks for the reply. I don't think the Firmware flashed succesfully, I tried three times and each time got the same response:

And heres the getvar all
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
which firmware did you download ? description or link if possible.

also you cant flash custom recovery as your bootloader is locked, and you need stock recovery and HTC dev unlock token to unlock it.

remove your imei and serial number from your getvar all, also, as you are s-on, you need to make sure that the firmware you flashed is ORANG001 firmware as per your cid, at a guess it will be something like 4.xx.61.x the 61 is the key, this will relate to region / carrier 61 is orange / EE, and the 4 is the latest android version firmware for the HTC one M8, as your version main is missing I cant fully confirm this, this is a fault from flashing earlier versions of TWRP recovery.

alternatively, you can flash a custom rom and get s-off via sunshine s-off @ $25 and convert your phone.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Ooops thanks for the heads up on removing the info!

Aaah thats the mistake I made by using the wrong firmware. I will locate the correct firmware and try that later on today. I did look at the Sunshine option but was unsure if it would help me at this moment in time. Think i'll try the correct firmware first.

Will update here later with good news hopefully!
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Ok, I have now succesfully flashed the correct (I think ) firmware. I flashed twice to be sure. In cmd I rebooted to Fastboot but all I have now is the screen you mentioned with the red exclamation mark within a triangle. Where do I go from here as the phone won't do anything, not even turn off. It does occasionally turn off itself and I try to enter bootloader but it just loads to the red exclamation mark again.?
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
hold volume up, volume down and power button for about 15 to 20 seconds, phone will go off, before it comes back on quickly release all buttons and just hold volume down only, it should boot to the bootloader.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Thank you for that, that gets me into the bootloader but it won't load into fastboot now?
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
what do you mean wont load into fastboot ? do you mean your computer just says waiting for device, which firmware did you flash ?
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Yes pc says waiting for device. I flashed a firmware from here, not sure which one it was now though http://xdaforums.com/showthread.php?t=2701376

Do I need to flash a stock recovery now? If so do I need to be able to get the phone to load into fastboot?
[One (M8) Q&A, Help & Troubleshooting] Seanie280672:
no you don't need to flash stock recovery, I don't see any firmware files for your phone in that link, and as your s-on, they shouldn't of been successful, nothing should of changed.

waiting for device is generally a driver problem, check device manager whilst your phone is plugged into your computer, should say android devices - MyHTC
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I can't see any android devices listed under device manager. I installed HTC Sync yesterday though which I thought loaded the drivers? What should i do now?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Try to uninstall HTC Sync and any HTC drivers. Then see if the phone shows up in Device Manager. If so, select to manually pick drivers, and pick the generic MTP device.

Might not work for you, but this is what I had to do to get fastboot/adb working on my PC with the M8.
[One (M8) Q&A, Help & Troubleshooting] ssantos132:
Also make sure in bootloader it says FASTBOOT USB and not HBOOT
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Sorted it, was a simple matter of swapping USB ports. I have a new laptop and forgot one of the ports was USB 3.0 which the phone was connected with. Evidently it prefers a USB 2.0 port.

So I assume now I need to find the correct firmware, of which I'm struggling with a little. Can anyone po8nt me in the right direction? I have been through a lot of threads here and can't seem to find anything.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
That's right, USB 3.0 does not play well with this device.

I can't find the firmware for your CID either. You may have better luck updating the firmware by OTA.

To do that, you will need to restore the stock ROM and stock recovery, using the files and instructions here: http://xdaforums.com/showthread.php?t=2701376

After restoring stock ROM and stock recovery, you will need to update up to Lollipop, which will probably include a few (3) OTA updates.

Once you've updated to current firmware by OTA, you can install custom recovery again, and run the current custom ROMs.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I'm getting myself in a right mess I think. I've just tried installing the stock recoveries from https://www.androidfilehost.com/?w=files&flid=25064 as linked to from this thread http://xdaforums.com/showthread.php?t=2694994 which I thought woud be perfect for me but I get an error of "FAILED (remote: signature verify fail)" in cmd. If I reboot the phone into recovery I get the red exclamation mark again.

Any ideas on what i'm doing wrong? Am i right in thinking I need to flash a stock recovery and THEN a stock ROM, or should it be the other way around?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Multiple mistakes here:

1) You need the stock ROM and recovery that corresponds with your hboot (3.16) which would indicate a 1.x software and corresponding recovery. The files you linked are for software 3.x and 4.x.

2) I'm also not sure why you are stumbling around in threads that aren't even for your CID when I already gave you a link to the proper location for the stock nandroid for your CID version. You want to restore the stock nandroid for ORANG001, which is 1.54.61.5 and the stock recovery 1.54.xx

3) You need to flash the stock ROM (restore stock nandroid) before the stock recovery. Once you've restored stock recovery, you cannot flash a ROM or nandroid. You need custom recovery to do that.

3) Lollipop recoveries for other CID won't work. But a KitKat recovery for another CID will work (as mentioned in item 2 above, you want a 1.54.xx recovery to correspond to the stock ROM 1.54.61.5 since a recovery doesn't seem to be posted for your exact software 1.54.61.5
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Thanks very much for that, the reason why i was stumbling around is because i had already tried that Nandroid backup but i think i must have used incorrect instructions. I read I had to open the zip file and flash the boot.img, but I just get the same error as before if I do that.

Could you please tell me how to restore the stock Nandroid. i promise you I am going around in circles lol
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Instruction on restoring a nandroid are in post #3 of the stock nandroid collection thread I linked before. Click where it says Questions & Answers, and you will see the 2nd question is how to restore a stock nandroid: http://xdaforums.com/showpost.php?p=58128936&postcount=3

I think you may have seen these instructions, but you only did one part, not the remaining parts of the process. The boot.img is essentially just the kernel; technically a few other things too, but either way its like 1% of what you need to have a working ROM. Namely, if you only flashed boot.img, you didn't do the steps I've highlighted in orange below:

- Place the nandroid backup unpacked on the sdcard of the phone in the right backup folder

* Philz touch uses - Clockworkmod\Backups\

* TWRP uses - TWRP\Backups\ or TWRP/Backups/serialnum/ (replace serialnum with your device's serial number. To have TWRP create the proper directory structure for you, just do a simple backup of just the boot partition and put the backup files in there) thanks to garyd9 for the additional info :)

- Flash the boot.img or boot.emmc.win file from the nandroid backup

- Make a full wipe in the recovery

- Restore the nandroid backup and reboot

You need to unzip the downloaded file, then place the

entire

folder contents to the proper location on the phone. Then boot recovery (probably TWRP) and use the restore function to install the nandroid. I actually do

not

think you need to extract and flash boot.img separately.

After that, install the stock recovery with the fastboot command: fastboot flash recovery filename.img

Where "filename.img" is the actual name of the desired stock recovery file.

---------- Post added at 11:03 AM ---------- Previous post was at 10:57 AM ----------

Are you currently unlocked again? The above is from your top post, but I don't know if you've changed this (unlocked again).

You can only do the above mentioned steps (restore nandroid, stock recovery, etc.) if you are bootloader unlocked.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I have now unlocked the Bootloader thank you, I hadn't until I saw your post! I've unzipped the nandroid folder and placed the contents where they should go, although I had to make the folders as they were not on my sd card - is this ok?

Anyway still can't boot into recovery.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
This would be the case if you never made a TWRP backup (shame on you!)

Should be fine. But keep in mind the folder names need to be exactly right, or TWRP will not see it when you pick Restore.

Fastboot erase cache, then install TWRP (current version) again. This fixes most instances of not being able to boot into TWRP.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Ok, many thanks I feel we're getting somewhere now. Only snag now is when I try and restore the Nandroid I get "E:No partitions selected for restore"

Any ideas?
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Think I've found the problem. The Nandroid backup folder is within another folder. I'll have another play in the morning and hopefully be able to update here with some good news.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I have copied all the nandroid folder files over to the correct location. When I select restore in TWRP I can see 4 folders. The fourth folder is the one I added which contains all the files as downloaded from the thread you previously linked to. However, when I open the folder to select the nandroid to restore the folder is empty. If I check the first three folders I can see the boot files to select.

Now what am I doing wrong? :rolleyes:
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I managed to find a Nandroid folder which had the correct files from here http://forum.gsmhosting.com/vbb/f485/htc-m8-collection-stock-backups-1882892/

This worked well and I had the phone up and running for a few minutes until the OTA update installed. This has now left me with the exact issue I had to begin with............no wifi. The wifi icon just stays greyed out and doesn't show any of the wireless networks around me.

Is there any way I can install an OTA via fastboot, or any other means. The phone is still UNLOCKED and S-ON by the way.

Edit: just checked the software information on the phone and its showing 4.4.2 with software number 1.70.61.3
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
Try a factory reset.

I actually do

not

think this is the exact same issue, just a similar symptom. Reason I say that, is that the cause of your original broken WiFi was due to flashing a custom ROM that did not match your firmware. Offcial OTAs usually update the firmware, and if they don't, its because an update is not needed. Something else is going on.

You may also try to wait a day and see if another OTA is available, and install it to see if anything changes (if WiFi is still broken); as more OTAs are almost certainly available (most versions have been updated to software 4.x by this point).
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I tried a factory reset twice as thats the general advice I could find on this issue.

How can I download an OTA if my wifi is still broken and the data connection where I live is very poor? I was hoping to update via HTC Sync but it seems not. Is there any other way?
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
OTA files are posted in the collection thread I've linked previously: http://xdaforums.com/showthread.php?t=2701376
[One (M8) Q&A, Help & Troubleshooting] pastyal:
I've tried this but the stock recovery doesn't see the OTA file. Its driving me mad now and it won't be long now until I give up completely.

So i'll thank you all for the help, I have learned loads but I think its the bin for this phone.
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
So you put the file on the phone's internal storage, and booted into stock recovery?

Did you pick the option to "apply from phone storage" and the file doesn't show up?

No way! We still have options, even if the OTA doesn't work. Hang in there!
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Yes thats exactly right. Precisely what I did. There is no file to choose from as I'm led to believe there should be. There is a thread somewhere that mentions the OTA should be placed in data/media/0 but I can't find that folder on pc via USB. I installed ES Explorer apk but I think the phone needs to be rooted for that app to find the aforementioned folder. I can see the OTA folder both via USB and ES Explorer which makes me think I have installed it in the wrong place? Or does it matter?

Cheers pal, I appreciate your help and enthusiasm hugely. I won't be replying anymore tonight but will get back to playing with phone again in the morning if you have any more advice. :good:
[One (M8) Q&A, Help & Troubleshooting] Iloudsan:
how did he flashed firmware while his device s-on and modified

my opinion is to get sunshine and s-off and update to the latest frimware and flash a lollipop rom
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
He didn't flash firmware, he restored to stock (stock nandroid and stock recovery) corresponding to his present firmware, with intent to OTA and update the firmware that way.

Now he is trying to manually place the OTA file on the phone, and boot into stock recovery to install it. I'm not very knowledgeable in that process, as I've never even done it myself (I'm not a user of OTAs myself). But I've seen it enough times, and do believe it works with s-on.

I agree that s-off and manually updating the firmware is an option; and possibly a good one if he can't get the OTAs to work. But s-off isn't strictly necessary to update firmware, and plenty of folks have done so (by the OTA route) without having to s-off.

---------- Post added at 09:23 AM ---------- Previous post was at 09:12 AM ----------

That location (data/media/0) is just the top directory of internal storage. Depending on what path you use to browse the file structure, it comes up differently. I've never completely understood it very well myself, but I think it has to do with the fact that its a partition of the built-in memory, but also acting as an emulated SD card for many apps.

I use ES myself, and you only need root to browse and modify system files. The internal storage can be browsed (and you can move/paste the OTA file) just fine without root. The top directory of internal storage should be the "default" folder you see when you start ES, and its called "sdcard" in ES. In that same folder you will see the folders Android, Download, etc.

As I already mentioned, I'm not an expert by any means of the "manual" method of installing the OTA. But I've seen it done here plenty of times by other XDA users. It seems you've had some decent success for finding threads about the process; and I know a lot of other folks here know a lot more about it than I do.

---------- Post added at 09:26 AM ---------- Previous post was at 09:23 AM ----------

You are quite welcome, and I'm happy to try to help. Hopefully, we'll get this thing fully sorted out soon.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
Thanks for explaining that, and in that case thats precisely where i'm placing the folder. I've just tried another OTA zip from a different source. Exactly the same file name, but alas that didn't work either.

I've also posted in the thread you linked to a couple of times where I downloaded the original OTA in case that yields any results.

If I don't get any joy within a couple of dys then i'll try the S-Off Sunshine method.
[One (M8) Q&A, Help & Troubleshooting] pastyal:
UPDATE:

Good news!!

After a little think about it I decided to try something. I rooted the phone and flashed a 4.4.2 rom called Onedroid http://xdaforums.com/showthread.php?t=2744891 Subsequently, the device worked reasonably ok but the wifi was intermittent and the camera didn't work.

I then took the opportunity to upgrade to Lollipop by flashing S.Rom http://xdaforums.com/htc-one-m8/development/romthe-worlds-first100-m9-port-m8upload-t3064838 This was a real winner! Everything works perfectly. The phone is now super stable and this rom is incredibly smooth and fast.

Thanks to everyone who took the time to reply and help me out, we got there eventually :)
[XDA Assist] Nickw1978:
I Have gotten help before with this site maybe I can understand this:

In the past I bought an HTC One m7 used with Hboot 1.44 Tmobile sim unlocked. I used an app called Revone v2.11 to S-off the phone. I used the command "Fastboot oem writeCID 11111111 and then flashed it with the ATT RUU from HTC1gurus website with Hboot 1.55. After the flash, it did fix the Wifi glitch that the phone had but it sucked as att so I then flashed it to HTC Euro ver 1.20 RUU from the same site giving the device Hboot version of 1.43 but the Wifi glitch was still fixed.

I got another HTC one m7 tmobile that was upgraded to 4.3 version with hboot 1.55, Set it to S-Off with rumrunner and changed the CID to 11111111 as well as I have a One T6UL Taiwan version that I set S-Off with Rumrunner as well and changed CID 11111111 but when I try to flash anything to Either of the 2 devices that both our set to S-off and both set to Super CID I get " Error, Reading Signature in zip failed" "Too Many Links". I can flash the newer M7 with the T-mobile RUU for android 4.3, HBOOT version 1.55 but if I try to run the HTC euro RUU that I ran on the first HTC one even on the Same computer it gives me "Unknown Error". or if I try to flash the extracted zip from the RUU.exe I get the "Too Many Links" error that I stated above.

Basically my questions are: If the devices our set to S-off and they have the super CID set, Why cant I flash any firmware old or new? I mean it worked on the first One M7 that I bought. Does Rumrunner not really set the device to S-off??
[XDA Assist] Razvan:
Hi there,

From what I've searched all discussions about T6UL is for HTC One MAX not M7. Are you sure about that?

Thanks
[Galaxy S 5 Q&A, Help & Troubleshooting] Atreb92:
Hi everybody, i was searching for a used s5 for my girlfriend and i found this guy that is selling it online for 180€ (it shouldn't be a fraud since he lets me pay with paypal so i should be pretty safe), the only thing that is stopping me from buying it is that he told me he bought it in Buglaria so the smartphone has no warranty etc etc etc. My question tho is, could this cause any issue with the smartphone (i live in Italy)? Or just flashing other stock roms (or custom roms since it has no warranty) just solve any possible problem? Thank you very much for the help!
[Galaxy S 5 Q&A, Help & Troubleshooting] ogremount:
As a Bulgarian myself word of warning. Get the imei and check if it is blacklisted. Often stolen phones end in Bulgaria as imei blocking is not enforced.

But it will be enforced in Italy, so if it is stolen it won't work.

Apart from that all else will work. Most likely product code will be Baltic
[Xposed General] XDAchushu10:
I have used NDK development techs to create a simple Android App that connects remote server using socket.

The JNI method name is "public native static void doConnect(String ip,int port,String imei);"

While my attempt to hook it results in "java.lang.NoSuchMethodError"

Is Xposed not able to hook JNI functions?

PS: If there is a function hooked, how can I get the parameters it received?
[Xposed General] XDAchushu10:
I've read this post: http://xdaforums.com/xposed/creating-nfc-module-nosuchmethoderror-t2811440

The problem is that I didn't list the paramters in "findAndHookMethod".

And that's it! It's been solved.
[Moto X Q&A] jimikid2002:
Hi,

From yesterday I am not getting any sound through earpiece and headphone, speaker phone and bluetooth working fine though. Could it be a software problem or a hardware problem? All other functions working perfectly.

Regards

Jimi
[Design, Prototyping, UI, Graphics] mukulkhurana:
I have made two fragments. One is a list fragment and other is a details fragment. List Fragment shows the list of exams and when you click on an item in that list, details fragment shows its details. so now i want to use this same layout for different values. For ex- i have made this for all Law entrance exams and now i need to make for different exams like management, engineering,etc with the same layout (list+details) but with different corresponding values. Can anybody help me with this? or direct me to any sample code that i can look into?
[Design, Prototyping, UI, Graphics] GwBo:
Have you considered making an abstract class that extends the ListFragment, that has a method like protected abstract List<...> getList(), so that when you extend the class, the childen could "fill" the list with their own Lists. I don't know how your details fragment works, but it generally it should be the same. That should work :)
[Design, Prototyping, UI, Graphics] cmcasey:
You want to make a custom subclass of Fragment and pass in the parameters that describe how that Fragment should be populated as arguments. The typical pattern for this is to use a static factory method in the style of "MyDetailsFragment.newInstance(Object arg1, Object arg2)".