Related
First apologies if this is in the wrong area. Cant post in the android development thread.
I have a desire HD, which I have already updated the ROM, "Android revoultion HD 5.2.6" (Great work and thanks to all the devs for that). So in order for me to have done that I have basically rooted my phone etc and followed the instructions on how to go about installing roms. It was a while ago.
Q1.
What I cant understand is why is my phone not allowing me to update system files (trying to update gps.conf file)? It wont save the file, because its read only. Thus meaning I dont have S - Off. BUt I must have done that in order to have updated my rom in the first place right?. HOw did it go back to S Off (unless I did that specifically and forgot).
Q2.
Now I need to be S Off in order to edit this file, looking at the thread it said that I need to go back to an earlier version of the rom and radio (somethign I am reluctant to do, as it was pretty stressfull the first time round). If I already went through that process do i need to go back to an earlier version or can I just do the s -off http://forum.xda-developers.com/showthread.php?t=857537
without going back to an earlier version of the radio and rom.
Again apologies if this has already been asked, stupid question or in the wrong place (probably all three).
Reza
hey dude, under my experience, for a beginner, Radio-off is more than enough, no need to be s-off( too risky). with radio-off you already are able to flash rom, change radion, edit system files.....the only thing different with s-off is that you can use fastboot but not for radio-off, however there are a few different ways around that let u do those same thing without using fastboot.
to edit your system file, download ROOT EXPLORER, and got the root, on the top, there is an option that u can change from read only to write
hope this will help
rezasblade1 said:
First apologies if this is in the wrong area. Cant post in the android development thread.
I have a desire HD, which I have already updated the ROM, "Android revoultion HD 5.2.6" (Great work and thanks to all the devs for that). So in order for me to have done that I have basically rooted my phone etc and followed the instructions on how to go about installing roms. It was a while ago.
Q1.
What I cant understand is why is my phone not allowing me to update system files (trying to update gps.conf file)? It wont save the file, because its read only. Thus meaning I dont have S - Off. BUt I must have done that in order to have updated my rom in the first place right?. HOw did it go back to S Off (unless I did that specifically and forgot).
Q2.
Now I need to be S Off in order to edit this file, looking at the thread it said that I need to go back to an earlier version of the rom and radio (somethign I am reluctant to do, as it was pretty stressfull the first time round). If I already went through that process do i need to go back to an earlier version or can I just do the s -off http://forum.xda-developers.com/showthread.php?t=857537
without going back to an earlier version of the radio and rom.
Again apologies if this has already been asked, stupid question or in the wrong place (probably all three).
Reza
Click to expand...
Click to collapse
hey dude, under my experience, for a beginner, Radio-off is more than enough, no need to be s-off( too risky). with radio-off you already are able to flash rom, change radion, edit system files.....the only thing different with s-off is that you can use fastboot but not for radio-off, however there are a few different ways around that let u do those same thing without using fastboot.
to edit your system file, download ROOT EXPLORER, and got the root, on the top, there is an option that u can change from read only to write
hope this will help
DDFF said:
hey dude, under my experience, for a beginner, Radio-off is more than enough, no need to be s-off( too risky). with radio-off you already are able to flash rom, change radion, edit system files.....the only thing different with s-off is that you can use fastboot but not for radio-off, however there are a few different ways around that let u do those same thing without using fastboot.
to edit your system file, download ROOT EXPLORER, and got the root, on the top, there is an option that u can change from read only to write
hope this will help
Click to expand...
Click to collapse
+1 ten characters
Thanks you very much that worked. I had already tried installing root explorer and doing that, but never managed to set it as rw. it was always ro. Thanks for the help.
If anything I hope this has helped someone else.
Appreciate it.
rezasblade1 said:
Thanks you very much that worked. I had already tried installing root explorer and doing that, but never managed to set it as rw. it was always ro. Thanks for the help.
If anything I hope this has helped someone else.
Appreciate it.
Click to expand...
Click to collapse
enjoy ur new ROM
Hello. I am rooted and have cwm but I would like to go back to factory original. I cant seem to find the step by step guide to folllow for newbs. Does anyone have or know where to get such a guide. I had no problems unlocking bootloader, rooting, etc, but cant quite seem to grasp going back to factory stock. Any help would be appreciated. I have gsm version with google build still on 4.0.1. Thank you.
Which method did you use? If you used fastboot then you should be able to use any of the tutorials on how to flash with fastboot to get back to stock.
look here: http://forum.xda-developers.com/showthread.php?t=1366806
I used fastboot and everything was smooth but i am also pretty new to mac so i maybe getting lost in terminology. I have factory images from google, i have fastboot, i guess i am just looking for a morons guide to restoring for my first attempt. I am trying to get ota and i got it but cwm didnt let it take. Any links etc that would break down process step by step? I've been looking for two days and all info isnt helping me. Thank u for ur quick response.
Unzip the stock images and you should see "boot.img" "recovery.img" etc etc. You can flash these in fastboot using
Fastboot flash boot boot.img
Fastboot flash recovery recovery.img
So on and so forth. Then I believe you
Fastboot OEM lock or w.e the opposite of the unlock code is !
Sent from my Galaxy Nexus using xda premium
Guys pretend i am a moron, probably not far off. Step by step using fastboot and mac. For the first time doing this I would like a walk through so to speak so things can make sense for future newbs and myself. I really appreciate this guys.
What more do you need than the post I linked to? If you already used fastboot to to unlock the device then presumably you already know how to use it. If you actually used one of those one click scripts then I suggest you google for a tutorial on how to use the terminal to get a full understanding of what you are doing and then go back to the original script and view it in a text editor to see what it does for you.
Sorry about that last reply. In and out of coverage. Thank u guys so much. What a great place for android users.
If you look at it from my perspective you have already used fastboot to unlock the bootloader and root the device. You should be comfortable with using fastboot commands already. All you need is the correct commands on flashing it back to stock which is in the link I provided. If you are not comfortable with the commands than I don't see how you could have gotten this far already where you need to get back to stock from a custom ROM.
I'm not trying to be mean or anything but there really is no difference in the fastboot commands for windows or osx. If you are not comfortable using the terminal in osx that is why I suggested you go find a tutorial to familiarize yourself with it before trying the fastboot commands. It will teach you how to navigate the filesystem so that you don't have to be dependant on any tutorial. It will also give you a grasp of running different commands in the terminal to give you better confidence in using it.
Everything worked perfectly. I don't know why I was so freaked out. Days of research and a few minutes to do. As soon as I restored to factory and rebooted, I got the 4.0.2 OTA update. Thank you again and keep up the good work guys.
Hey guys,
I'm kinda new to the HTC/Android world, found this community a damn good place to find support.. But now I've hit a road block.
Basically, I've been eager to root from day 1 of getting my first htc handset, I came across from jailbreak and loved the fact of customizability with Android.
So I had the Google play edition(I think, all geared towards Google) running Kit Kat 4.4.4. Love it, big Google user so this all tied together lovely.
Here is the Situation.
I found a video on youtube, cannot provide URL as I'm in work at the moment, but it was root guide from scratch. Fresh windows OS, seemingly a phone fresh out the box.. you get the idea.
I used the Hasoon2000 tool to root the device. Installed ADB etc on my pc, signed up as a a dev, got the Key for device, sent in and received my .bin file. I got up to actually rooting my device, well pleased and happy. Using TWRP via Hasoon2000.
But here is where **** hits the fan.
The device needed to update, It took me back to 4.4.2 but Im unsure on how to get back to most up to date OS and keep the root.
But when I reboot to install this, it goes into TWRP. no other way around this.
Queried this on another forum, decided to continue to be patient... but no replies, in the mean time I restored my apps and have a fiddle, see what the root function can do for myself.
I installed "Freedom 1.0.6" and a program called "Market Share"- Hate iAP, some games are ridiculously priced for the smallest of things, I just wanted to sandbox plague inc. ;(
Now the device is stuck in a boot loop, phone starts up, see the home screen for a bout 40 seconds/ one minute.. Some times I unlock the device and it goes back to flash screen then.. others I boot an app and its slides away once more.
This happened close to 15x before I left for work this morning and I imagine its just going to repeat this and run the battery - I tried to stop this loop by going into TWRP and possibly choosing to boot system this way may of stopped it.. but when I was on the boot screen with those options.. It said Tampered at top of screen and S-On- which has scared me quite a bit..
What the hell has happened!?
I'm desperate to know and don't want to have this damn thing bricked! Please help.. try explain like I'm 5, as said I'm new to a lot of this! >.<
first off, if the screen comes on, its not bricked.
esenfur said:
But here is where **** hits the fan.
The device needed to update, It took me back to 4.4.2 but Im unsure on how to get back to most up to date OS and keep the root.
But when I reboot to install this, it goes into TWRP. no other way around this.
Click to expand...
Click to collapse
Do you mean you accepted an official OTA? I think that is what you are saying. You should not be accepting OTAs on a phone that has been bootloader unlocked, custom recovery, etc. unless you know exactly what you are doing and what the result will be (which is clearly not the case).
Stock recovery is needed to install an OTA. That is why it keeps going to TWRP, then it doesn't find stock recovery and reboots, hence the loop you are stuck in. Try to find the OTA file and delete it.
redpoint73 said:
first off, if the screen comes on, its not bricked.
Do you mean you accepted an official OTA? I think that is what you are saying. You should not be accepting OTAs on a phone that has been bootloader unlocked, custom recovery, etc. unless you know exactly what you are doing and what the result will be (which is clearly not the case).
Stock recovery is needed to install an OTA. That is why it keeps going to TWRP, then it doesn't find stock recovery and reboots, hence the loop you are stuck in. Try to find the OTA file and delete it.
Click to expand...
Click to collapse
Thank you for fast response.
Official OTA - being that the phone its self said "Update the OS" - I just accepted this, hit download and began install as a reboot- didnt spot implications. As said, noob, followed a tut. If it highlighted DO NOT UPDATE or.. IF U WANT UPDATE NOW FOLLOW THIS- Great, but nothing of the sort?
Is the OTA file basically the .exe for the OS- so find it and delete it.. although I dont have enough time to navigate and establish where the file actually is located!
Or do you have any links to tutorials I could possibly follow?
Side note- when this loop started I deleted
esenfur said:
Or do you have any links to tutorials I could possibly follow?
Click to expand...
Click to collapse
This is really your main issue. By following a YouTube video and using a Toolkit, you've failed to actually learn anything or gain any real understanding or knowledge. Do yourself a favor and ditch the tutorials and videos (and toolkit for that matter) and do it the old fashioned way . . . by reading. Videos and step-by-step guides do you no good when things go south (as you've now discovered). And with the prior proper knowledge (usually not gained by following tutorials) this whole mess probably would have never happened in the first place.
A cardinal rule of Android phone modding: DO NOT accept/download/install OTAs (official OS updates) on a modded device unless you know what you are doing, and what the result will be. If in any doubt, simply DO NOT do it.
esenfur said:
Is the OTA file basically the .exe for the OS- so find it and delete it.. although I dont have enough time to navigate and establish where the file actually is located!
Click to expand...
Click to collapse
.exe file is Windows specific. You are looking for a zip file, and it typically starts with "OTA". Don't remember where its saved to, so you will have to search for it. If you can't keep the phone running long enough to do so, mount the memory on your computer and search that way.
Deleting the OTA file worked for me on a past device, although one M8 user in the same position said deleting the file didn't get him out of the loop. Flashing your ROM again, or wiping the internal memory (backup any important personal data first) might be options for you.
redpoint73 said:
you've failed to actually learn anything or gain any real understanding or knowledge.
Click to expand...
Click to collapse
Ive seen quite a fair few ratings for Hasoon2000 and decided to go with it..
redpoint73 said:
Videos and step-by-step guides do you no good when things go south (as you've now discovered).
Click to expand...
Click to collapse
agreed.. theres FAR much more I need to learn.. its scary haha.
redpoint73 said:
DO NOT accept/download/install OTAs (official OS updates)
Click to expand...
Click to collapse
taken on board. I know with my jailbreaks in past it has been a pain, assumed Android would be alot more stable to over write- due to functionality of OS and unlocked features.
I was being generic when I said .exe- basically the installer..
I returned from work to see phone stopped looping.. i could stop the install and deleted the file ASAP.. but now what.. Phone is still bugging me to update, lost the root(got a checker).. so whats the correct procedure!?
I am confused to what you are trying to accomplish at this point, is it to install a OTA, or a recovery? What exactly is going down here?
Me personally to take an OTA is to relock bootloader, install stock recovery, and make sure CID matches. I am S-Off so bootloader means very little, but you can unlock and relock at will when you are S-Off. You will not lose S-Off accepting an OTA.
Try to re-flash the ROM, with stok ROM, using TWRP and clean install. It should work.
hack14u said:
I am confused to what you are trying to accomplish at this point, is it to install a OTA, or a recovery? What exactly is going down here?
Me personally to take an OTA is to relock bootloader, install stock recovery, and make sure CID matches. I am S-Off so bootloader means very little, but you can unlock and relock at will when you are S-Off. You will not lose S-Off accepting an OTA.
Click to expand...
Click to collapse
I am trying to update the phone, root and then some..
What file am I looking for and how do I flash a ROM on a M8
esenfur said:
I am trying to update the phone, root and then some..
What file am I looking for and how do I flash a ROM on a M8
Click to expand...
Click to collapse
First of all once the bootloader is unlocked you don't have to relock it to get OTA.
As I undersand you have done the following:
1) Unlock using HTCDev-Method
2) flashed a custom revocery (TWRP in your case)
3) flashed a supersu too!?
To install the OTA means loosing root acces. Thus you have to re-root it after the OTA is done. The other problem ist that STOCK OTAs don't work with a custom recovery. Meaning you would have to flash a stock recovery first, install the OTA second (as long as you didn't change anything an just root), and re-root third.
Let's have a look which stock recovery you would need:
1) reboot to bootloader
2) connect the phone to you PC and open cmd in you adb/fastboot folder
3) enter "fastboot getvar all"
4) paste this information here (but DELETE the IMEI and SERIAL NUMBER before posting!!)
As soon as we know which stock recovery you need we will go on.
esenfur said:
Ive seen quite a fair few ratings for Hasoon2000 and decided to go with it..
Click to expand...
Click to collapse
I'm not saying there is anything "wrong" with the toolkit, per se. For the most part, it does what its intended to do.
But it also shortcuts the learning process, and facilitates folks rooting the phone without gaining the proper knowledge. This is a dangerous thing.
This is just my opinion. But I strongly believe it. If you can't accomplish these things without a toolkit, you shouldn't be rooting your phone in the first place.
Others use the toolkits, and love them. They are more than entitled to have their own opinion. But when things go south, the toolkits aren't going to help; and those folks don't have the proper knowledge and they come running here. So you tell me what is the "best" way to root the phone?
esenfur said:
I was being generic when I said .exe- basically the installer..
Click to expand...
Click to collapse
I already figured this was probably the case. But I found it better to provide the exact information on what file to delete; rather than leaving it open to the possibility of you and/or others being misinformed.
esenfur said:
Phone is still bugging me to update, lost the root(got a checker).. so whats the correct procedure!?
Click to expand...
Click to collapse
Sounds like you still have TWRP installed, so just flash SU or SuperSU to gain root.
After that, you can use Titanium Backup or similar app to find the update process and freeze it, to stop the update notifications.
Don't remember the exact process (this is where searching and reading comes in for you) but its something like "drm..." or "updater".
I have this situation before,what i do is find the right stock recovery and flash..after ota done flash back custom recovery..?
esenfur said:
I am trying to update the phone, root and then some..
What file am I looking for and how do I flash a ROM on a M8
Click to expand...
Click to collapse
At this point after seeing this, I would suggest you take some time and start reading. All of your answers are here in the forums. Knowledge is power and within the pages of this site you will find everything you need.
To take the OTA find a stock recovery, to flash ROM's find the one you like and flash via your favorite recovery.
Hello everyone!
I just don't get it. Can anyone explain to me what's the difference between flashing a bumped rom and flashing the same rom un-bumped? I just don't get the whole point of it! Sorry, but coming from a Nexus device (why have I ever changed!!!) I'm new to these things.
So, other questions would be: what's the point of bumping? What if I don't do it and just go about the usual way: Unlocking the bootloader, rooting and installing a custom recovery and then proceed to flash the appropriate and preferred rom, kernel, etc?
Hope somebody will bear with me and try to explain these things to a newcomer
Thanks
astrovale said:
Hello everyone!
I just don't get it. Can anyone explain to me what's the difference between flashing a bumped rom and flashing the same rom un-bumped? I just don't get the whole point of it! Sorry, but coming from a Nexus device (why have I ever changed!!!) I'm new to these things.
So, other questions would be: what's the point of bumping? What if I don't do it and just go about the usual way: Unlocking the bootloader, rooting and installing a custom recovery and then proceed to flash the appropriate and preferred rom, kernel, etc?
Hope somebody will bear with me and try to explain these things to a newcomer
Thanks
Click to expand...
Click to collapse
Because
1) Bumping is used to trick the bootloader into thinking that the boot.img is authentic and from Official LG Sources
2) Without bumping you could have to constantly run fastboot boot boot.img (an example of this was CM11 when it first started development)
3) Bootloader cant be unlocked at this time so we rely on a bootloader exploit in order to run custom recovery
4) Its all about the authenticity. If the LG bootloader does its security checks and anything fails then the system doesnt boot
Thanks for the very easy tuo understand explanation. I should have thought that the problem was unlocking the bootloader! Guess I'll have to with the Flow and bump my new phone. I wish I asked my Carrier for an HTC M8
Sent from my Xperia Tablet Z LTE using XDA Free mobile app
simple answer: bump is the only way to unlock g3 bootloader.
all roms are bumped whether displaying [BUMPED] or not.
rhystagram said:
simple answer: bump is the only way to unlock g3 bootloader.
all roms are bumped whether displaying [BUMPED] or not.
Click to expand...
Click to collapse
Ok, so by simple logic, once I have installed, either via bump, flashify or ADB a recovery, I can pretty much flash any rom that is appropriate for my model no, isn't it?
So there is one more question I have: what is the purpose of unlocking the bootloader and then what could be the problems if I don't? If everything I flash for this device (TWRP, roms, kernels, etc) is, by default, bumped, what's the purpose of installing bump at all?
astrovale said:
Ok, so by simple logic, once I have installed, either via bump, flashify or ADB a recovery, I can pretty much flash any rom that is appropriate for my model no, isn't it?
So there is one more question I have: what is the purpose of unlocking the bootloader and then what could be the problems if I don't? If everything I flash for this device (TWRP, roms, kernels, etc) is, by default, bumped, what's the purpose of installing bump at all?
Click to expand...
Click to collapse
You're making it so much harder for yourself dude.. There really is only one way to install custom ROMs and that is by Bumping your phone. That's it.
You go here and read the entire topic. Don't miss a single thing.
Then go here and flash the zip for the latest TWRP.
After that you can install any ROM in the OG and Android Development section.
That's all there is to it. You can read in those topics for more information about what they do.
if you dont bump, then you wont have twrp lol.
you cant flash any roms anyway, you'll potentially brick/soft brick your phone.
roms etc are bumped because they have a patch script implanted to run on the phones correctly.
rhystagram said:
if you dont bump, then you wont have twrp lol.
you cant flash any roms anyway, you'll potentially brick/soft brick your phone.
roms etc are bumped because they have a patch script implanted to run on the phones correctly.
Click to expand...
Click to collapse
OK. Got it! It took a while, but I give up!
Thanks for the help. Coming from the most easy to play with phones (only Nexus so far, but I hate the N6), it isn't easy to have to deal with more stuff than usually needed and hence more complications than usually had.
I thought that, after rooting I could flash TWRP via flashify or rom toolbox and then I would have TWRP without BUMP, but it must be that I'm missing something, if you say I MUST bump my phone to install TWRP.
Thanks and see you around
How to bump lg g3
DevilFan14 said:
How to bump lg g3
Click to expand...
Click to collapse
What exactly do you mean "How to bump"??? Bump and loki are bootloader exploits that allowed us to boot TWRP and all the benefits TWRP offers... On the user side of things you don't "Bump" anything- the Roms, Kernels, and recoveries are "pre-bumped" by the developers and 99.9% of the time they will say whether or not it is "bumped" or "lokied" although loki is really outdated and I doubt you'll encounter it. So in a nutshell we(the user) doesn't "Bump" anything and just make sure to really read before flashing
Sent from my DROID RAZR HD using XDA Labs
I have a problem with my HTC one M8 At&t (It's unlocked to any provider) it's also rooted so if you can help me either unroot it or add a ROM that would be so helpful.
Well the problem with my phone is.
1) It won't update to 6.0 its stuck on 5.0.2
2) ROMS won't install at all. Maybe because it doesn't have TWRP (I don't know where to get that)
3) The phone is S-on relocked and it says "This device has been tampered' then a warning
I asked HTC and they didn't help at all. I asked people that I know but they are IOS.
So this is the last resort. I was recommended by a friend to ask you wonderful people. I mean i have some knowledge but it don't have anyone to show me the ropes of how to do it. But please if you guys can help add link with steps.
Thank you and have a good day dudes.
PTP012 said:
I have a problem with my HTC one M8 At&t (It's unlocked to any provider) it's also rooted so if you can help me either unroot it or add a ROM that would be so helpful.
Well the problem with my phone is.
1) It won't update to 6.0 its stuck on 5.0.2
2) ROMS won't install at all. Maybe because it doesn't have TWRP (I don't know where to get that)
3) The phone is S-on relocked and it says "This device has been tampered' then a warning
I asked HTC and they didn't help at all. I asked people that I know but they are IOS.
So this is the last resort. I was recommended by a friend to ask you wonderful people. I mean i have some knowledge but it don't have anyone to show me the ropes of how to do it. But please if you guys can help add link with steps.
Thank you and have a good day dudes.
Click to expand...
Click to collapse
I'd suggest you watch this video to install TWRP: https://www.youtube.com/watch?v=9HWj_1KHbuY
And then I'd also recommend installing CM13 since it's really stable. It can be found here: http://forum.xda-developers.com/htc...m-cyanogenmod-13-0-nightlies-htc-one-t3256696
PTP012 said:
I have a problem with my HTC one M8 At&t (It's unlocked to any provider) it's also rooted so if you can help me either unroot it or add a ROM that would be so helpful.
Well the problem with my phone is.
1) It won't update to 6.0 its stuck on 5.0.2
2) ROMS won't install at all. Maybe because it doesn't have TWRP (I don't know where to get that)
3) The phone is S-on relocked and it says "This device has been tampered' then a warning
I asked HTC and they didn't help at all. I asked people that I know but they are IOS.
So this is the last resort. I was recommended by a friend to ask you wonderful people. I mean i have some knowledge but it don't have anyone to show me the ropes of how to do it. But please if you guys can help add link with steps.
Thank you and have a good day dudes.
Click to expand...
Click to collapse
1. If it is AT&T, it won't update on non-AT&T network.
2. Unlock bootloader and install TWRP
3. The phone was unlocked before and now it is relocked.
Post fastboot getvar all without serial & imei no to confirm which device variant that you have and what to do with it.
Ragarianok said:
I'd suggest you watch this video to install TWRP: https://www.youtube.com/watch?v=9HWj_1KHbuY
Click to expand...
Click to collapse
I would suggest the OP not follow that video. Followed literally, it will not only direct the OP to install a horribly obsolete version of TWRP, but also one that is not intended for his version of the M8. The "wlv" version TWRP in the video is for Verizon, and would install TWRP to the wrong partition, maybe even brick the phone. TWRP has since been updated and unified to identify the M8 version, and install on the proper partition accordingly; but such was not the case at the time the video was created.
This is one of the main reasons I don't recommend rooting by watching YouTube videos. They aren't detailed enough to point out all the nuances and potential pitfalls of the process. They just spoonfeed enough knowledge to you get you into big trouble, without any knowledge or skills to get you out of that hole.
Also, the random "root" website referenced in the video doesn't appear to have any downloadable files any longer, anyway. At least not that I can find, upon examination. So if the OP that route, they would have hit a dead end. I also personally don't recommend such "root" websites, as they almost always just steal content from XDA, without giving proper credit.
All the info the OP needs is right here on XDA. An excellent guide for unlocking the bootloader and installing custom recovery is here. Although the guide is dated (hard for anything for this phone to not be dated at this point - it is over 2 years old) and I have the following additional advice:
- HTC drivers on the guide are dated. But if you plug the phone into your PC, it should auto-install HTC Sync and the required drivers
- You can get TWRP right from the source here. I'm not sure if your existing firmware will play well with the latest version (TWRP 3.0.x), but I'm pretty sure version 2.8.7.0 will work well (and known to be very stable).
- Only need to follow the guide through "ROOTING YOUR DEVICE" Step 8, that is unlocking the bootloader and installing custom recovery (don't flash SuperSU). From there, get the desired custom ROM on the phone, boot into TWRP, backup the current stock ROM, then do default wipe (data, cache, Dalvik) in TWRP and flash the ROM.
---------- Post added at 10:01 AM ---------- Previous post was at 09:48 AM ----------
An alternative would be to flash the Marshmallow RUU to update to full stock image. But in order to do so, the OP will have to update to Marshmallow firmware (which requires some knowledge of using fastboot) and then run the Marshmallow RUU. The RUU in listed on my AT&T M8 Index thread here (along with a lot of other useful info), with the info/link for flashing firmware highlighted in red text.