yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
Brb, jumping off a building...

I tested it a lot and made sure that my fix was working though (I found a way to reproduce it and tested it several times)... That iommu crap in the kernel log should be gone. I've set up the iommu mapping crap in a loop so that it will never fail. Maybe iommu map failed on a different domain number... Right now my fix is only set up to make sure that the mappings for domain 2 are always successful. Anyway, I can't know anything for sure without a log; could you reboot your phone and post your last_kmsg (/proc/last_kmsg)?

Also, could you describe the glitch? Were there small green and pink lines everywhere?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] AndroidGee209:
I'm getting ready to flash the rom.... i'll let you know [MENTION=4800121]Sultanxda[/MENTION]
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] _Jax_:
ahah.

Half the day so far and no glitches here.

And those bluetooth wakelocks....gone. Just gone. Absolutely incredible!!!! Thank you so much!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Thanks [MENTION=4800121]Sultanxda[/MENTION]! I was just wondering about the LTE option in Mobile Networks? I don't see it in the options, only 3G and 2G are listed. CM recently added it in celox-common in case you didn't know. Everything else is awesome!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
I think I found the source of the new glitches. Apparently I made a lot of stupid mistakes when writing the panel voltage interface :p

Whoops, didn't notice that. Thanks for the heads-up!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Network Selection List Fix

I fixed this in my ROM by adding this overlay to my device tree:

overlay/packages/services/Telephony/res/values/strings.xml

<?xml version="1.0" encoding="utf-8"?>

<!-- Copyright (C) 2007 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

-->

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

<string-array name="enabled_networks_except_lte_choices" translatable="false">

<item>@string/network_lte</item>

<item>@string/network_3G</item>

<item>@string/network_2G</item>

</string-array>

<string-array name="enabled_networks_except_lte_values" translatable="false">

<item>"9"</item>

<item>"0"</item>

<item>"1"</item>

</string-array>

</resources>

and this to:

overlay/packages/Services/Telephony/res/values/config.xml

<?xml version="1.0" encoding="utf-8"?>

<!-- Copyright (C) 2013 The CyanogenMod Project

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

-->

<resources>

<!-- Show enabled lte option for lte device -->

<bool name="config_enabled_lte" translatable="false">true</bool>

</resources>

and these two lines to the build.prop:

If you add those lines to the build.prop and reboot, it should automatically select LTE for you ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
Kernel update (v1.2.1) uploaded. All the display glitches should definitely be gone now. If you have Titanic's overlay hack installed then please remove it so that I can confirm that the glitches are truly gone for everyone.

If someone gets a display glitch and doesn't describe what it looked like and/or doesn't post a kernel log for it (last_kmsg or kmsg) then it didn't happen.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Krakozawr:
I performed very dirt installation yesterday. Just flashed over CM11 nightly. Nothing more.

All done perfect... And all working perfect! All my troubles is gone! It's incredible, finally I have my reliable working device back. No lags, no BT issues, no freezings, no reboots that i had expected with Beanstalk and CM. Thank you so much!

---------- Post added at 07:58 AM ---------- Previous post was at 07:34 AM ----------

Turn LTE one here: dial *#*#4636#*#*
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Krakozawr:
[MENTION=4800121]Sultanxda[/MENTION], I tried to flashing the updated kernel but recovery showed the message "md5 sum error". I re-downloaded this 5 times from both sources but with a same result.

Most interesting that calculated md5 sum visually matched with expected, I was compared it symbol-by-symbol, but I still get this error message.

Recovery philz touch 6.41

Any advice?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
I just downloaded it from Dev-Host and successfully installed it using TWRP.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] copene:
Installed fine using TWRP 2.7.1.0

It's been two days and my BT hasn't dropped once in the car, a new record! Thanks again man.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xxboarderxx:
I've installed using Phil's touch no problems.

No glitches with new rom+kernel.

Sultan, any chance you can add the undervolting back? I noticed it was removed from the most recent kernel.

Thanks for all your hard work.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
I'll add it back if you're willing to conduct a battery test with and without the display undervolted.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Krakozawr:
Thank you. Just had flashed TWRP and successfully installed the same previously downloaded kernel which couldn't be installed before because of the MD5 error. Strange :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Andrw0830:
Is anyone experiencing problems with WiFi hotspot? Once I activate it on my phone, the network doesn't appear on my devices. I know this was an issue in the past, but just want to make sure it isn't me.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xxboarderxx:
Same issue experienced. I hope Sultan has time to take a look.

---------- Post added at 05:31 PM ---------- Previous post was at 05:30 PM ----------

Yes I can do that.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] deeruck:
I had the usual glitches on the lockscreen with the new kernel. I've attached the last_ksmg. Hopefully it gives you what you need.

I've reverted to your last build from 6-8. It's rock solid, without glitches for me. Love your work. Appreciate the efforts.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
That's a last_kmsg generated by the recovery, not my kernel, so I can't use it to see what went wrong. By usual glitches you mean the green and pink lines, right?

Maybe they're a side-effect of my iommu fix or there was more than one issue causing glitches before :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] deeruck:
Yes, the green and pink lines.

If I go to /proc/, there are two last_kmsg files. Am I in the right place? How do I identify which one I need to pick up?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
They're the same file. No two files with the exact same file name can exist in the same directory. Next time you get the glitches, do a regular reboot (NOT into recovery), grab the last_kmsg after your phone finishes rebooting, and post it.

Then I shall do battle once more against the glitches.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] deeruck:
Here you go. I ran the new kernel for about an hour then got the screen glitches on the lockscreen again. I split the last_kmsg file into two because it was larger than the forum allowed for a text file.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
[ 3064.936981] WARNING: at drivers/gpu/ion/ion.c:750 ion_unmap_iommu+0xb8/0xe0()
[ 3064.937683] ion_unmap_iommu: (2,2) was never mapped for d5f3af00
[ 3064.938079] Modules linked in: dhd vibrator
[ 3064.939514] [<c004d5ac>] (unwind_backtrace+0x0/0xf8) from [<c00bdf58>] (warn_slowpath_common+0x4c/0x64)
[ 3064.940002] [<c00bdf58>] (warn_slowpath_common+0x4c/0x64) from [<c00be004>] (warn_slowpath_fmt+0x30/0x40)
[ 3064.940765] [<c00be004>] (warn_slowpath_fmt+0x30/0x40) from [<c02b35f8>] (ion_unmap_iommu+0xb8/0xe0)
[ 3064.941558] [<c02b35f8>] (ion_unmap_iommu+0xb8/0xe0) from [<c0258b14>] (mdp4_overlay_iommu_unmap_freelist+0x7c/0xd4)
[ 3064.942321] [<c0258b14>] (mdp4_overlay_iommu_unmap_freelist+0x7c/0xd4) from [<c025df98>] (mdp4_lcdc_pipe_commit+0x15c/0x328)
[ 3064.943115] [<c025df98>] (mdp4_lcdc_pipe_commit+0x15c/0x328) from [<c025d7a8>] (mdp4_overlay_commit+0xa4/0xd0)
[ 3064.943908] [<c025d7a8>] (mdp4_overlay_commit+0xa4/0xd0) from [<c0250890>] (msm_fb_commit_thread+0x84/0x45c)
[ 3064.948150] [<c0250890>] (msm_fb_commit_thread+0x84/0x45c) from [<c00d798c>] (kthread+0x80/0x88)
[ 3064.948638] [<c00d798c>] (kthread+0x80/0x88) from [<c0048960>] (kernel_thread_exit+0x0/0x8)
[ 3064.949432] ---[ end trace 5c848f855bc095d8 ]---
[ 3065.439514] ------------[ cut here ]------------

NOOOOOOOOOOOOOOOOO NOT THE IOMMU CRAP AGAIN!!! BUT THE FIX WAS WORKING SO WELL FOR ME! :crying:

Annoying iommu... Though my fix shouldn't be able to leave the loop until iommu is mapped successfully, so it shouldn't have mattered to mdp that Ion spewed a warning :confused: Back to the drawing board I guess.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rrktt:
clean flashed the latest ROM + kernel.

After awhile, I couldn't launch any apps and Back button didn't work if I had the apps drawer opened. Home key worked.

I ran catlog and it shows a fatal exception. Attached is a log when I was trying to launch dropbox and gmail, just as examples.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
Deeruck, please try the kernel attached to the bottom of this post (v1.2.1B) and see if it still has the glitches. Xxboarderxx, the kernel at the bottom of this post also has display undervolting back in it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] _Jax_:
No glitches so far. All is good. :good::good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] deeruck:
I've had it working for about five hours now and no issues :good:

Will keep you updated.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sultanxda:
Then it seems my fix works. However, due to the nature of my fix (a loop), when the glitches try to appear they are instead replaced with lag when waking the phone from sleep, so I've got one more deeper hack in mind to get rid of that delay when unlocking the phone.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tsew2674:
For what it's worth I've not had a single glitch since installing the 1.2.1 on 6/9/14 (I did see them on 1.2.0 for the day that I used it). Everything else seems to be working great, aside from the WiFi hotspot mentioned above and WiFi Direct (however that is CM 4.4.x wide and not specific to this Rom). Thanks for all the work you've put into this!!!
[General Topics] jaso2005:
Just so that we can all gauge if the TyTN has the reported 3G signal problems.

When posting please state if your device is a HERM100 or HERM200, (This can be found out by removing the battery and it is written at the top i believe)
[One (M8) Q&A, Help & Troubleshooting] Matt:
Introducing the ...

Matt Unbrick Service!

If you have a problem with your HTC One (M8), and just don't know what to do, don't despair! I can help.

With over 3 years experience with Android phones, we exist solely to help you enjoy your phone, and prevent you from experiencing the inconvenient HTC return process, which can take several weeks.

Services I offer:

Rooting

Unrooting

Unlocking Bootloaders

S-off

Updating Firmwares

Flashing RUUs

Fixing unbootable phones!

Service is free, however donations are welcome and appreciated

How it works!

To request a repair, simply post here on the thread.

I will then get back to you as soon as possible and we can then arrange a TeamViewer session or I can write up a guide for your situation, for you to follow independently.

People I have helped:

Eswog

Crazhy

nolinuxnoparty

mattoffshore

dayze0

bteljuice

Amrut223

bamidrol

ringrover

ElunChen

slicetherice

darktyroll

IT4ALii3EN

malavan

ProxiStyx

natzakaria

sly101s

smaug8821

dlnas

sardor

SoftHd

dh2311

royoshukrun

mathrania

adichandra

sfjeep

Thanks for reading, and I hope to be able to help :)​
[One (M8) Q&A, Help & Troubleshooting] SimplyNando:
i really need help! My HTC one M8 has been completely wiped, no OS installed. Not I can only use TWRP and i can't boot up!
[One (M8) Q&A, Help & Troubleshooting] Iconic Bullet:
Question Please Help

I was installing some roms on my vzw varient of the HTC One M8 can the install failed and so i recovered to nandroid backup and finally get data back but only have 3G any way or thing that you know that might help?
[One (M8) Q&A, Help & Troubleshooting] Kyocere:
Try a simple sim pull if you haven't already. Often times if you are stuck on 3g, a sim pull will enable LTE when you reboot the phone. on Verizon.
[One (M8) Q&A, Help & Troubleshooting] Iconic Bullet:
I tried that i am still having a problem can i try at revert to stock and fix it if so can you please help me...
[One (M8) Q&A, Help & Troubleshooting] itzjonjon69:
delete
[One (M8) Q&A, Help & Troubleshooting] Stephen:
Thread cleaned.

When posting always try to provide as much information as you can.

Ghost
[One (M8) Q&A, Help & Troubleshooting] th3lawmak3r76:
So I have the att varient and I tried to flash the Venom rom 1.2 version from stock rooted S-On and after flashing I am now stuck at the splash screen and cannot access the bootloader, any suggestions?

EDIT: I have figured out the problem and solved it please disregard this post.
[One (M8) Q&A, Help & Troubleshooting] yas1987:
Hey Matt, I wonder if you can help me out. I flashed the GPE rom, it was working fine until i decided to edit the build prop. I changed the density value from 480 to 320. It worked but it was too tiny. Then i would readjust the value to 400 but upon restart the value wouldnt change. So i tried changing it back to 480 and saved it and directly went to reboot, not my phone refuses to load up. When i hold power and volume up the HTC logo screen comes up and then it turns back off, I cannot get into bootloader by pressing volume down and power. I am stumped. If you can assist me, id be sure to tip you some BTC your way.

Thank you in advance

---------- Post added at 09:49 AM ---------- Previous post was at 09:13 AM ----------

Never mind Matt, It eventually Loaded, Sigh what a relief. Il be sure to keep you in mind!
[One (M8) Q&A, Help & Troubleshooting] exocetdj:
Hi [MENTION=4476552]Matt[/MENTION] !Got an m8 with that whelp message on firewater, u said above u can s off? :D
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
Prompt 24 hour service.....haven't seen Matt here since the 15th. Hmmm :sly:
[One (M8) Q&A, Help & Troubleshooting] Maedhros:
I have an issue similar to this.

Phone gets to the HTC powered by android screen and then dies. I cannot access bootloader using vol down and power. It won't respond.

S-Off, unlocked boot loader.

Phone also periodically turns on by itself, then procedes to shut down after it gets to the HTC Powered by android splash screen.

EDIT:

Managed to get into recovery using the advice in this post:

Leaving this here in case anyone else has the same issue. Mods delete if you see fit.
[One (M8) Q&A, Help & Troubleshooting] andrewnelson:
Prompt 24 hour service? but how?
[One (M8) Q&A, Help & Troubleshooting] monyozt:
copy your custom ROM into a flashdisk. then use USB OTG, search on youtube about the tutorial.
[One (M8) Q&A, Help & Troubleshooting] Matt:
It usually is, I've just got back from holiday and ran up a large phone bill so been trying to sort that out.

People should private message me so that I get the notification email as I thought I was subscribed to this thread yet when I checked just now, there's loads that I hadn't seen.

Sorry!
[One (M8) Q&A, Help & Troubleshooting] Mr Hofs:
That's no problem and could happen to all of us. But some pointers from my point of view :

When i look at your O.P you give the tendency to look like a non profit company/organization which indeed offers a free service, that's all fine but please give the users the hint when it will be "offline" when you are on holiday or at least "offline" without a reason to stop the reactions users like me posted before. It looks like a 24 hour service promise which is not there.

I have been a helpful member on the hox section of xda the last 2 years and never had the need of such a thread/service. I think it won't make that major difference because users will always make new threads with their problems anyway.

This is not ment in a bad way, just my personal opinion !

Cheers.
[One (M8) Q&A, Help & Troubleshooting] Mr.Muscles:
kinda ran into the same problem. problem is i dont have an usb otg cable. i tried installing viper rom from but it would fail towards the end. would really like to have my phone back up and running.
[One (M8) Q&A, Help & Troubleshooting] Zach23:
He can help with this? Matt, you can help with this? hahah
[One (M8) Q&A, Help & Troubleshooting] incapable:
Hi [MENTION=4476552]Matt[/MENTION], i read that you can help with s-off?

I'm using a european WWE m8 (CID htc__e11) and i can't seem to get it working, you would be my personal hero if you could help me out with this one.

Greetings,

Incapable
[One (M8) Q&A, Help & Troubleshooting] XNine:
If firewater isn't working for your device, then this service nor any other can help you gain S-Off, like it's been started in many threads already. You'll have to wait until firewater suports your phone.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
By "Blink" do you mean BlinkFeed? That is part of the HTC launcher. If you freeze or delete it without having another launcher running, you're going to not be able to use your phone. Install another launcher like Nova (it's free) and it should work.
[One (M8) Q&A, Help & Troubleshooting] mrbonine:
Cool, but....

Yes, I did mean BlinkFeed. That explains the non-deletable dedicated home page. I found Nova, looks good, but how do I install it with the phone unable to boot? Is that through an adb sideload? I'll look for instructions to accomplish that, but if a different/better way please advise.
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You said you can get to recovery, right? Restore your latest backup and start again. Switch to the Nova launcher, THEN uninstall/freeze blinkfeed. Or more specifically, uninstall or freeze the prism.apk. Prism is the HTC launcher.
[One (M8) Q&A, Help & Troubleshooting] mrbonine:
I don't believe I have a backup. I can't find one on the phone, and I didn't see anything on the PC I rooted with. I'm guessing I didn't make one because I was/am on stock ROM 4.4.4. Would a reload of the stock ROM be the answer (again, through adb)?
[One (M8) Q&A, Help & Troubleshooting] xunholyx:
You could dirty flash your ROM from recovery. If it isn't on your phone anymore, download it on your computer and put it onto your extSD, the put that in your phone and flash it. Or you could use adb/fastboot to push it as well. No need to go back to stock.
[One (M8) Q&A, Help & Troubleshooting] mrbonine:
Got it, but....

Understood, but I'm returning the phone and therefore want to return to stock anyway, and since I've created this mess, thought I would save some steps and revert to stock, make sure it boots, send it on it's way. One piece of advice was that T-Mobile doesn't care if it boots or not, they will re-image it first when I return it, before making sure it's functional. I don't want to jeopardize the $$ in the phone as the replacement had to be purchased before they will give me credit for the HTC, after I return it to them. Since I don't care what data is on the phone at this point, it would seem to make the most sense to revert completely to stock, then not touching the phone (so as to avoid the temptation to do something stupid, as I already have "best practices" in that department covered, then getting it back to T-Mobile immediately when I receive my Sony Z3. I probably wasn't clear enough on where the phone is going, once it's working again. I have my sim in a backup phone and it seems to be working so far.
[One (M8) Q&A, Help & Troubleshooting] avantardejack:
I have successfully repaired the phone... have actually tried 2 different sd cards before, and they didn't work... but i remembered that i bought booth of them from the same supplier, and even thou they worked perfectly in my card reader... they wouldn't work in the phone.. anyway tried a third one and that solved it. thanks dudes !
[One (M8) Q&A, Help & Troubleshooting] LenAsh:
Moderator Note​

Thread cleaned.

When someone requests help, the members on here are by-and-large helpful and will willingly go out of their way to assist. BUT there is also a responsibility on those requesting help to provide complete and unambiguous information to allow others to suggest things to resolve problems.

It is often the case that all parties become frustrated due to misunderstandings and a seeming lack of progress.

So, when seeking help, please provide adequate information and accept the fact that if you have found yourself in a bind because of a lack of knowledge, experience or more likely a lack of prior research, the responses you receive are bound to include reference to a lack of forethought and planning, This also serves others who may be trying things out and hopefully deters them from falling in to the same trap(s).

Thanks, and let's not get personal.
[One (M8) Q&A, Help & Troubleshooting] mrbonine:
Thank You!

Thanks for all of the help. I realize my disaster was self imposed, and resolution required information I didn't initially provide. The questions asked helped me understand and get to a solution, as did all of the suggested action.

As best as I can describe it, what worked was a reloading of all the correct phone drivers to the PC. I downloaded and wrote to the memory card I had pulled out of the phone, after reformatting the card via the pc to ensure it would work, Flash_recovery_3.28.401.7.rar. I unpacked the .rar directly to the memory card with the PC then inserted in phone.

I then managed to get the phone into the HTC bootloader and after a couple of mistarts, choose "Factory Reset" and the phone accomplished that and booted up as new, needing reconfiguration, with no data (as expected).

Thank you for your generous help and important questions. I could not have resolved this without your help (all of you! ).
[One (M8) Q&A, Help & Troubleshooting] xrodx:
One m8 only boot into bootloader

Hi Math i need your help, i tried to transform my one m8 (verizon) into GP, i change the cid and the mid to google and flash a zip from a guide on youtube, the problem is the phone only boot into boot loader and recovery doesn't boot the OS anymore.

I ope u can help me

Regards!!!