yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] swoosh0217:
I have been getting this system update on my phone to update to 5.1. I have read before that this will not update my phone because I have TWRP recovery. Instead, what I need to do is download the stock recovery which can be found here.

So I downloaded the stock recovery and dragged it into my fastboot folder. I entered the bootloader> fastboot mode. I used the open command window and as soon as I type "adb fastboot", it doesn't recognize my phone. Instead, all it says is "list of devices attached".

I have read that perhaps I need to update my driver which is currently up to date. I also removed and re-downloaded the SDK platform tool. I ran the command "adb devices" again and it still doesn't want to recognize my phone.

Can someone please help me and tell me what am I doing wrong? Now I do not even have a recovery on my phone.
[One (M8) Android Development] jumparound246:
Hey, sorry to hear that. Do you have root access? If so you can download the latest twrp and flash the image file directly with flashify available in play store.

If not, here's a very useful post with useful links and stuff. I know it's much to read but it's worth it.

http://xdaforums.com/showthread.php?p=53951593
[One (M8) Android Development] mattplo:
First things first:

Are you using Windows to connect your device? If so, has your device prompted you to accept the the RSA fingerprint from your PC? If not, you need to boot up your device in normal running mode. Go to Settings > Storage > Hamburger Menu (upper right corner) >Click "USB Computer Connection" > Unckeck MTP & Uncheck "Camera PTP" > Rerun "adb devices", wait for RSA Fingerprint dialogue > Accept > Rerun " adb devices ".

I'm assuming you have " USB Debugging" enabled in Developer Settings. Because that too is obviously required.

Windows is notorious for blocking adb due to MTP being engaged first. Linux doesn't have this problem. OS X doesn't support MTP so it too does not have this problem.
[One (M8) Android Development] skrambled:
I have that issue at work on my Mac, but I think it's the usb cable. Have you tried using a different cable?
[One (M8) Android Development] loserskater:
[MENTION=3537886]graffixnyc[/MENTION], I've updated to LMY470.H6 and built some RUUs.

RUU-HTC_One_M8_GPE_5.1-4.04.1700.6_rooted.zip: https://www.androidfilehost.com/?fid=24052804347759039

RUU-HTC_One_M8_GPE_5.1-4.04.1700.6.zip: https://www.androidfilehost.com/?fid=24052804347759040

I also have the stock boot, radio, recovery, and firmware available:

boot.img: https://www.androidfilehost.com/?fid=24052804347759030

radio.img: https://www.androidfilehost.com/?fid=24052804347759032

recovery.img: https://www.androidfilehost.com/?fid=24052804347759031

firmware.zip: https://www.androidfilehost.com/?fid=24052804347759036

Uploading a stock flashable rom as well, but I'll post that in the other thread.
[One (M8) Android Development] hellshinoda:
Please, I've been waiting for the flashable stock rom. One more thing: I can flash boot.img, radio.img, recovery and firmware via fastboot with command: "fastboot flash xxxx.xx", right?
[One (M8) Android Development] Clark Joseph Kent:
http://xdaforums.com/showthread.php?t=2706441&page=117
[One (M8) Android Development] exist2resist:
You linked to a completely irrelevant thread. This is a thread about stock GPe for the M8 not an arbitrary custom ROM.
[One (M8) Android Development] Clark Joseph Kent:
Actually he was looking for the stock version, in a flash-able version, of what was posted, not custom ROM. Which the OP and the RD work together,.....but thanks for your input.
[One (M8) Android Development] exist2resist:
If you're looking for the Google Play edition (GPe) Android OS for the HTC M8 you've cone to the right place. Follow the instructions in the first post then perform a side load with the updated OTA (H6).

---------- Post added at 01:05 AM ---------- Previous post was at 01:01 AM ----------

This thread is about stock in a flashable version, the GPe version. You're linking to a ROM, but thanks for coming out.

---------- Post added at 01:09 AM ---------- Previous post was at 01:05 AM ----------

This is pure stock, no modifications or improvements.
[One (M8) Android Development] Clark Joseph Kent:
Ok, take a step back...

I link him to the flashable ver of the stock GPE, did you even follow the link? And this thread here is about RUU right? But nevertheless the Member was informed.

BTW, I am always out...thank you. And here is where we end our talk. ;)
[One (M8) Android Development] loserskater:
The easiest thing to do is rename the firmware to 0P6BIMG.zip and place on the root of your external sd and then reboot to bootloader. That will flash the boot, radio, and recovery (along with some other things).
[One (M8) Android Development] exist2resist:
Yeah, you can do that, but to be perfectly honest I find the other method is just as easy provided you have the right drivers.

---------- Post added at 01:30 AM ---------- Previous post was at 01:30 AM ----------

Yeah skimmed it. My apologies I was confused about the link back.
[One (M8) Android Development] bigbear6708:
Yes. Thanks to the poster for this. I'm too lazy to extract my own. If u do a custom kernel.. Just flash boot.img in fast boot to get ota
[One (M8) Android Development] EternalAndroid:
What's new with this update?
[One (M8) Android Development] GHE_1908:
Finally got my LTE working with changed APN. It seems only this rom has issues, all others work fine automatically.
[One (M8) Android Development] exist2resist:
You should post you settings for others so they can fix the issue if they have the same problem.
[One (M8) Android Development] adeptustech:
+1
[One (M8) Android Development] AndrewJB88:
Have had a stock HTC One M8 for ages due to wanting to keep my banking and SkyTV apps working (they don't work with rooted phones), this morning I installed a custom sense based ROM after doing S-off etc and then un-installed ROOT but unfortunately one of the apps still wouldn't work. About to give up I thought why not try GPE (Used to have a Nexus 5) because I only really use Google apps anyway such as now launcher, messenger,hangouts etc.

Have just flashed 5.1 onto my UK model using the GPE CID and I'm really happy now the phone is running like a dream and looks so much nicer than sense!
[One (M8) Android Development] MattSkeet:
Links to stock 5.1 non rooted dont work anymore.... anyone care to help out with alternative?
[One (M8) Android Development] caviera:
Is mandatory to have S-OFF?.

I have CID CWS__001, Viper 4.3.0, unlocked bootloader, root S-ON.
[One (M8) Android Development] Clark Joseph Kent:
The OP details what is required and needed.
[One (M8) Android Development] grentuu:
Prerequisites

S-Off,

ADB knowledge

Fastboot knowledge

Instructions:

First you are going toHAVE to HAVE s-off on your device
[One (M8) Android Development] AndrewJB88:
They wouldn't work for me on my ChromeOS device. On Firefox on Ubuntu they worked however.
[One (M8) Android Development] shamps:
Hi

i have been away from flashing for a while now as i was using an iphone6.

I have an HTC m8 with unlocked bootloader, S-ON running stock sense rom, version 5.0.1

As far as I understand, since I have an unlocked bootloader, i can easily flash TWRP and attain Root.

So can i flash the "Rooted Flashable Stock Rom Build: 5.1 LMY470.H4 - 4.04.1700.4" using TWRP or is it must to convert to a GPE?

I am not worried about OTAs, I just want a pure stock Android experience with HTC goodies.

Thanks in advance and apologies for any silly questions

cheers!!
[One (M8) Android Development] Clark Joseph Kent:
Please read the OP. A conversion is required, to GPE.

Sent from my One M8 using Forum Runner
[One (M8) Android Development] shamps:
Thanks for you response.

Well i saw a flashable zip also available on the download website. Hence i asked.

Also there is a separate thread from graffixnyc where he has provided a rooted GPE flash able rom.

Can i flash that?

Thanks in advance!!
[One (M8) Android Development] Vigz:
If you don't want to get OTAs as you said, then yes its fine to flash the rom. This is also for those who don't want to S-Off their HTC One M8.

EDIT: Also, it appears that there is a new version of 5.1 for the Google Play Edition. The build number is LMY470.H6. Two updates were pushed out on the same day bumping LMY470.H4 to LMY470.H5 then LMY470.H6.
[One (M8) Android Development] shamps:
Thanks for your response. Just wanted to double check before flashing [emoji4].

Cheers!!
[One (M8) Android Development] msgfromside3:
Just for your reference, I have M8 GPE hardware, s-on and I was able to flash pre-rooted zip with custom recovery. I am not sure it will work for Sense based since my understand is that the partition is different.

Also I wanted to go back to non-root gpe to get those two updates, but I couldnt, so I am on cm12.1 for fun.
[One (M8) Android Development] kash55:
Quick question guys

My company uses MaaS to manage phone that connect to our company email. The application won't allow rooted phones w/ suser etc.

If I unlock my bootloader, root, s-off but install the Stock NON-rooted RUU will I end up with an NON rooted phone which a admin app like MaaS won't complain about?

Thanks!
[One (M8) Android Development] poondog:
Correct

If you install non rooted version then you should be fine :good:

Provided that root is the only issue
[One (M8) Android Development] LeoNg628:
after unlock, twrp, root, s-off then flash via Fastboot and...... it works!!!! Thanks and awesome!
[One (M8) Android Development] 10rdan:
When running this ruu it states in op that it wipes external sd card. Can the card be removed then remounted after running ruu ?

Cheers.
[One (M8) Android Development] Rjev07:
No it doesn't erase the external SD card(ONLY INTERNAL STORAGE GETS ERASED)..I do it regularly without removing it.It's up-to you.
[One (M8) Android Development] 10rdan:
Thanks for your reply. Is going back to stock sense just a case of running a sense ruu ?

Cheers

Edit, Sorry, my mistake re wiping external sd. Just re read it and it says INTERNAL. :confused:
[One (M8) Android Development] Rjev07:
Well if you want go back to sense from full converted gpe m8 you have to flash a particular zip file and then flash the sense ruu or any other custom sense rom..
[One (M8) Android Development] 10rdan:
OK, so I need to flash the sense firmware zip then run sense ruu ?
[One (M8) Android Development] Rjev07:
Yes...
[One (M8) Android Development] Nic2112:
It's a bit more complicated to go back to sense and there are other threads where you'll find the information. You'll need to give you phone the super CID, flash the firmware, change back to one that matches the RUU, and then do the full RUU to Sense. Just a few extra steps to fix the partitions before the RUU can be installed.
[One (M8) Android Development] 10rdan:
Did it and got back to sense. Was a problem flashing sense firmware initially, had reset my cid to HTC__001. After changing cid to 11111111 it flashed OK. Was the cid the problem ?

Also, first run of twrp to flash LeeDroid gave me a warning about "unmodified partition".

What was that for ?

Cheers
[One (M8) Android Development] neilmopar:
I know DUO effects are suppose to be functional but I am having trouble accessing them. I am on the latest 5.1 build using the Google camera. Whenever I try to edit, it only shows the Google camera editing options instead of showing ufocus ect. Is there anything special i need to do? Thanks!
[One (M8) Android Development] Nic2112:
I think you have to edit from the gallery to get those effects, but not all the Sense effects are available, only a few. Camera and sound quality are 2 things that suffer a lot with GPE compared to Sense.
[One (M8) Android Development] neilmopar:
Thanks for the response! Are you referring to the sense gallery from the playstore? And yeah the reduced photo quality is noticeable. Ill probably flash the sense camera later with the hope that it may improve.
[One (M8) Android Development] mattplo:
Screenshots below for those who still don't understand. HTC Gallery App has nothing to do with UFocus. It's an entirely separate app that is not available for download.
[One (M8) Android Development] mattplo:
Take Picture > Select Edit > Select FX Editor > Select UFocus > Profit
[One (M8) Android Development] NV30:
How about H5 update? Downloaded today.
[One (M8) Android Development] Lookinen:
H6 RUU here: http://xdaforums.com/showpost.php?p=61315609&postcount=2703 :good:
[One (M8) Android Development] tarund:
****I completely unrooted my device before installing the first update, software was updated to H5. Another update was available after reboot, H6, and that's being installed now.****

If you install it and are experiencing boot loops, it's most likely due to your modelid/CID not matching one of these. Or, it could be SuperSU causing it.

These were pulled from the firmware.zip from today's update:

modelid: 0P6B10000

modelid: 0P6B12000

modelid: 0P6B13000

modelid: 0P6B11000

modelid: 0P6B15000

modelid: 0P6B16000

modelid: 0P6B17000

cidnum: GOOGL001

cidnum: 11111111

cidnum: CWS__001

cidnum: T-MOB010
[One (M8) Android Development] slbp180:
I did the rooted RUU conversion back in February, so I assume I flashed 5.0.1 because I had a notification pop up today that it had downloaded an OTA for an MR1 update. Not thinking, I installed it and now, although I didn't get any error messages while installing, it's been stuck at the boot animation for about 20 mins now.

What's the best course to correct this? Reflash the RUU conversion? Push a custom recovery and flash one of the 5.1 zips?
[One (M8) Android Development] dark2099:
I would guess flashing a custom recovery and 5.1 zip will probably get you back running just as you were before the update, where as if you flash one of the RUUs linked above for the new update, will guarantee you're on the proper firmware and fully up to date, then can go through and setup again as needed.
[One (M8) Android Development] slbp180:
Ok, thanks for that. The unfortunate part about this is although this is my personal phone, we have a BYOD policy at work, and of course I did this first thing when I sat down at my desk. So now to spend the next few hours at work downloading Android Studio and fixing this mistake.
[One (M8) Android Development] exist2resist:
No, custom recovery is not necessary, you can side load the OTA via stock recovery.
[One (M8) Android Development] LeoNg628:
Hello everyone, I've faced 2 problem with this GPE, could anyone can help me solve them?

1. I've receive a Android L MR1 OTA update notify, should I press install? I've installed TWRP and Xposed Framework

2. I'm really need Picture2SD work, it successfully installed and Google Camera does read my Micro-SD's image, but I cannot take a picture.

Any luck? Thanks :)
[One (M8) Android Development] exist2resist:
Xposed requires root no?
[One (M8) Android Development] LeoNg628:
Yes, I've flashed Pre-root version of this GPe RUU then flash the Xposed framework.
[One (M8) Android Development] slbp180:
But since I'm rooted, I can't flash the 5.0.1 to 5.1 OTA update I thought? Wouldn't I have to flash the rooted 5.1 zip?
[One (M8) Android Development] exist2resist:
You can not update if you're rooted, ever and at all. You need to flash from scratch. A way through this is, install TWRP, perform a data backup in twrp to SD card, install Rooted RUU, boot into os, login to your Google account, install TWRP, restore backup from SD card.
[One (M8) Android Development] slbp180:
That's what I thought. I forgot I was rooted when I tried installing the OTA update for MR1 today.

I was considering going back to Sense, but as I didn't write down my original CID and MID, and both my carrier and HTC cannot tell me what it originally was, guess I'll just push through the 5.1 RUU as there's no point doing the backup.
[One (M8) Android Development] exist2resist:
If you use the non rooted version you'll get the updates. Also as a side note you can backup your data in twrp without root, and then reflash the stock recovery. Allowing you to get the updates.
[One (M8) Android Development] slbp180:
So how can I force twrp when I can't even get the phone to boot, in order to reboot fastboot? I am currently in fastboot usb, but it's not being found under adb devices.
[One (M8) Android Development] exist2resist:
When powering on the device press and hold, Power + Volume Up or Volume Down, don't remember the button combo.
[One (M8) Android Development] slbp180:
Thanks, got it rebootRUU going, it just isn't being seen by adb.... the RUU seems to be going though.
[One (M8) Android Development] kash55:
I just got this OTA update as well.

I converted my phone to UNrooted 5.1 RUU last week.

I run the update, it reboots goes through the install with no errors, restarts, goes through the "Android is upgrading... and optimizing apps".

But once it's finished, the update notification still popsup as if it didn't upgrade... ran it a second time, and for whatever reason this time it "took". Checked my phone and it said it's up to date.

Very odd.
[One (M8) Android Development] EternalAndroid:
just curious, what keeps everyone on GPe & away from Sense?
[One (M8) Android Development] exist2resist:
Updates, and sense is a horrible ui.
[One (M8) Android Development] EternalAndroid:
You speaking for everyone or just for yourself?
[One (M8) Android Development] ipfreelytech:
Everyone running GPE. If they wanted sense they'd run sense.
[One (M8) Android Development] EternalAndroid:
hey it was just a question, you can chill out.
[One (M8) Android Development] neilmopar:
If I want to accept the most recent OTA, do I simply just need to flash the stock recovery and disable xposed? I am on the prerooted 5.1 RUU. Thanks!
[One (M8) Android Development] LeoNg628:
same as my thinking, but don't know what's the side effect
[One (M8) Android Development] exist2resist:
You can't have root, if you're rooted the OTA will fail. This is mentioned in the OPs conversion thread.
[One (M8) Android Development] Nic2112:
That's really a matter of preference. GPE has fast updates, a great dialer, the L look all over while Sense has the better camera/sound quality but (in my opinion) ugly status bar icons and a dialer I really dislike. Sense is also part sense part android L so some people don't like that.

Neither are perfect for me (since I try to stay stock). On GPE I miss the music player and the better camera, on Sense I don't like being a couple versions behind and the notification icons get to me after awhile. I can never decide.
[One (M8) Android Development] EternalAndroid:
Yeah definitely I wholeheartedly agree, you & I have a problem. Constantly switching back & forth. ?
[One (M8) Android Development] ratatella:
Running pre-rooted 5.1RUU with stock recovery and without exposed but got stuck add the boot animation after accepting this L-MR1 update.

Downloaded update was verified and Install looked fine but didn't work as I got stuck at the boot animation.

I got back to where I came from by using the volume+power button combination and flashing the pre-rooted 5.1RUU again.

Now I get the update notification again..

So wondering how can I update to this latest version?!

---------- Post added at 06:57 AM ---------- Previous post was at 06:32 AM ----------

Ah.. Ok yea, so being rooted is the issue here.

Now just have to find a way to unroot without losing my apps&data, is there a way to do so?
[One (M8) Android Development] jumparound246:
As far as i remember google pushed two updates in a row...?
[One (M8) Android Development] ratatella:
Is there an easier way then:

Backup apps&data using Titanium Backup -> flash non-rooted 5.1RUU from OP, -> accept new OTA (twice?) -> flash custom recovery -> root by flashing SuperSU zip -> restore apps&data with TB (-> flash back stock recovery optionally) ??

Then again I'll need to be rooted to use TB and will have the same problem again when the next OTA comes out.. ?
[One (M8) Android Development] ratatella:
Yeay,.. found this one:

Stock Google Play Edition Rom LMY47O.H6. / no modifications besides being rooted
[One (M8) Android Development] Ben Abel:
I'm not rooted, but I have flashed TWRP in order to switch between GPe and CyanogenMod. My uneducated guess is that taking this OTA will wipe TWRP and install stock recovery. Is that correct?
[One (M8) Android Development] shamps:
You need stock recovery for the OTA to flash. So in my experience, if you don't have stock recovery OTA will fail.
[One (M8) Android Development] navid0308:
is there anyway to use my sdcard as part of my internal storage without using a 3rd party root app like link2sd?
[One (M8) Android Development] Ben Abel:
How can I update to L-MR1?
[One (M8) Android Development] exist2resist:
That seems like a headache, you can backup all your stuff without being rooted, install twrp recovery, backup to sd card in twrp. The beauty of this is that you can switch between twrp and stock recovery as you please, and if you're not rooted you can still accept the ota updates or even side load them in stock recovery.
[One (M8) Android Development] shamps:
In my experience, just make sure that you have stock recovery and kernel before going for the OTA. Please confirm it with someone else as well. [emoji4]
[One (M8) Android Development] exist2resist:
No, the ota will fail, you need stock recovery. Also I thought that Cyanogen and GPe have different partition sizes, which means you can not switch between them on the fly. You need to change partition sizes.
[One (M8) Android Development] ratatella:
As far as I understood from the OP and my own experience:

TO GET OTA UPDATES AND NOT HAVE THEM FAIL YOU CANNOT BE ROOTED

[EDIT]:

sorry,.. reading it wrong.

What you discribe might be a good option.. I'll consider it.
[One (M8) Android Development] exist2resist:
Re-read what I typed.
[One (M8) Android Development] ratatella:
Already edited. My mistake.
[One (M8) Android Development] Ben Abel:
Is there a way to get stock recovery without loosing all my data?

To switch between CyanogenMod and GPe, I would take a TWRP backup of GPe, flash CM, take a backup of that, and restore GPe. No problems.
[One (M8) Android Development] exist2resist:
Have you been switching between GPe and CyanogenMod already, and it works?

Absolutley, you can flash stock recovery and twrp without having to worry about your data on you OS partition as it only writes the recovery partition. I do this all the time when I need to backup, I flash TWRP, backup, and flash stock recovery again.

Follow the instructions on the TWRP site for flashing both stock and TWRP recovery.

I use the non root method.
[One (M8) Android Development] Ben Abel:
I have been switching between GPe and CyanogenMod already, it works for me :good:

Awesome, thanks!
[One (M8) Android Development] exist2resist:
How's CM 12.1? Any major bugs?
[One (M8) Android Development] alihuda2002:
I was on SkyDragon Sense ROM and got a bit tired of the lag or battery draining, so I've decided to change to Google Play Edition from this thread and follow the instruction carefully here.

Right now I'm running non-root version of Lollipop 5.1 and everything seems to be fine except I will have network connectivity problem when I'm on Wi-Fi or even just a cellular network. This is what I see when I look at the notification:

I'm on Canadian carrier Rogers.

When I ran

fastboot getvar all

I see this result:

$ fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.23.213311491.A13G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 4.04.1700.6
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B16000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: eee2521c
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.045s