yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] WutUpCuuuz:
(My Download Mode screen while stuck in boot-loop)

*** UNLOCKED ***

htc_pmewh1 PVT S-ON

LK-1.0.0.0000

RADIO-1.0.C010291a@70105

OpenDSP-v20.0.8996.00007_0809

OS-2.42.651.6

Jan 18 2017, 11:10:08(857212)

system info

show barcode

reboot to bootloader

reboot to download mode

reboot

power down

Security checking failed GT_CONNECT_FAIL

Security Warning

Bla bla bla

SD MOUNTED

OTG NOT MOUNTED

FILE /mnt/media_rw/ext-sd/2PS6IMG.zip

FILE /mnt/media_rw/ext-sd/2PS6IMG.zip

So, I had Viper10 5.9 with TWRP, Magisk, and SuperSu but somehow messed with one of my color settings and just couldn't figure out how to fix it, this went on for weeks... so I decided to restore it and reflash the ROM. Somewhere in that process S-OFF went to S-ON, I believe, not sure if it makes a difference but from all the searching I've done trying to figure this out it seems like a big deal. Anyway, I can tell you this...

1) When I tried to format data through TWRP before it said something like "failed to mount bla bla bla device is busy or in use" (maybe something to do with encryption? or root? maybe not having root anymore since I had uninstalled SuperSu?

2) Now when I try to format data through TWRP it acts as if everything is fine and then I reboot and I'm stuck in a never-ending boot loop again

3) When I try to flash my firmware zip (which I got from here) in Download Mode I get

"22 RU_HEADER_ERROR

22 RU_HEADER_ERROR

FAIL22 RU_HEADER_ERROR

4) When I try to ADB sideload through TWRP it says the zip file is corrupt

5) When I try the HTC RUU (while in Download Mode) it never gets past the first screen where InstallShield or whatever is setting up

6) I just flashed Viper10 5.9 through TWRP and it worked all of a sudden (wasn't working before, while stuck in the loop)... I went with Magisk and MagiskSu this time to avoid a future conflict (not that I now what I'm doing or anything)

So I'm wondering if I'm okay... I'm still S-ON (I thought it went S-OFF when rooted?) and everything seems to be working fine... My Download Mode screen is exactly the same, including the "Security checking failed GT_CONNECT_FAIL"

Although I have this tiny itch to format my data through TWRP at some point and do a "fresh" install/ROM flash to be sure there isn't a hidden issue. Am I good? Seems like it's not quite perfect yet.

Thanks for your help.
[HTC 10 Questions & Answers] WutUpCuuuz:
Update: Since re-flashing Viper I haven't had any issues, although I haven't tried anything in depth. I still wonder about it not wanting to format data in TWRP before (remembering that it said it couldn't do something with /data).

Is there a way I can still format my device and get it back to stock, S-OFF and locked so I can start from scratch? The /data thing and the GT_CONNECT_FAIL are bothering me. Or, if there's a better route I should go I'm definitely open to suggestions.
[HTC 10 Questions & Answers] Tarima:
Put an ruu on an SD card and run that. Will take you back to complete stock and remove everything from the phone.

Also, regarding s-off, it's not clear if you ever had s-off to begin with. You had previously paid for it via sunshine??
[HTC 10 Questions & Answers] WutUpCuuuz:
I'm not exactly sure either... maybe I'm just imagining it. Looked into Sunshine but have yet to pump the trigger on it.

At one point I had found an RUU zip, put it on the SD, and renamed it to 2PS6IMG.zip, but it wouldn't run. I'll try again. Think I could use one of HTC's RUU executables? (that might be a dumb question [emoji6])

Thanks for your help
[HTC 10 Questions & Answers] Tarima:
If you're not sure you ever had s-off, then you didn't have it. S-off is a separate procedure, not be confused with bootloader unlocking or rooting.

If the ruu didn't run, most likely you tried one made for another mid/cid, or the software version was older than what you had already on your phone. Make sure both of these are corrected and report back if it works. And yes the ruu.exe would work, but the two points I just mentioned need to be taken into account.
[HTC 10 Questions & Answers] WutUpCuuuz:
Double checked that it was the correct RUU... still correct as far as I can tell. Rebooted to download mode, didn't see it on the SD. Renamed the RUU to 2PS6IMG.exe, still didn't see it. ??? I'm stuck, my PC isn't here with me so I can't try it that way.
[Magisk] hany0u:
I am using a Nexus 6p with Android 8 and I can not use Xposed, I wonder if it is possible to wait for a module in the future that could turn off a defect proximity sensor.
[Magisk] PartyPlease:
It may be possible to overwrite the drivers of the proximity sensor with a null file using magisk. However, a lot of the time drivers are packaged together so by overwriting it you may be disabling other things too like bluetooth, wifi, your screen, etc.

It would also be different for literally every phone.

I wouldn't count on it to be honest.
[Magisk] prabhjots:
https://xdaforums.com/showpost.php?p=69507586&postcount=253

I'm sure you can figure out how to replace dialer.Apk using magisk.
[Fire TV Q&A, Help & Troubleshooting] pravinvibhute:
I am using the Reliance Jio WiFi 2 4G hotspot for fire stick. It has built in sd card reader. I have inserted 32gb card.

I can access is from my mobile browser by going to 192.168.1.1 address.

But it's not possible on fire stick.

I have already installed google chrome and Firefox browsers. I stuck at log in screen as, even after entering correct ID and password, it keep saying wrong password.

I can't go beyond that screen. I also tried using ftp on es file explorers. No use. Please help.
[Xiaomi Mi Pad Questions & Answers] aeroxy:
I've noticed my Mi Pad 2 running MIUI 8.5 has this ugly white frame (certainly a poor design choice from Xiaomi's under-qualified design director). I can use a different launcher but when the share menu (for example if I like to share a Youtube video on Facebook) pops up, the icons on the menu still have this ugly white frame (and the icons look very tiny as the result). I tried using the theme manager (link: http://en.miui.com/thread-563883-1-1.html) and it does not show any theme in the store (because there is no theme for Mi Pad 2) and I tried to import themes (.mtz files) via both theme manager or theme editor (link: https://play.google.com/store/apps/details?id=com.mixapplications.miuithemeeditor), but when I chose the theme, the theme manager will show an alert and tells me it has failed (likely because the theme doesn't work on a tablet or because they are designed for the ARM architecture). Is there a workaround to this?

Turns out you can download this ROM here (http://en.miui.com/thread-358607-1-1.html), it does not have any frame. Use DNX fastboot method to flash.
[Galaxy S 5 Q&A, Help & Troubleshooting] javelinanddart:
The point of this thread is to have a general place for Sprint folks to help each other out.

I started it because I saw a lot of the same information getting repeated in the S5 thread.

I'll be keeping a list of a few tips and tricks to help get your Sprint S5/Note 3 working as best as it possibly can, and hopefully explain it in a straightforward matter.

If anyone has other suggestions of what should go here, please let me know.

Common problems:

1. LTE isn't working

Possible solutions:

1. Your network provisioning got weird somehow. Flash stock, update your PRL, update your Profile, and then flash Lineage again

2. Your sim card is very old, and we no longer have hacks to support it. Get a new one off eBay, and follow steps in solution 1 for provisioning. See list of working SIM cards below

2. Other network service isn't working

Possible solutions:

1. Your network provisioning got weird somehow. Flash stock, update your PRL, update your Profile, and then flash Lineage again

3. Phone is bouncing between network types

Possible solutions:

1. Try making a standard voice call, to force it to CDMA or EvDO, to help stabilize the connection

4. Voicemail notifications don't show

Disclaimer: Known bug, will not be fixed. This is because sometimes voicemail read signals don't get cleared properly in Sprint's system, so they show forever.

Possible workarounds:

1. Manually call voicemail whenever you get a missed call

2. Use Google Voice and forward calls and texts to a dummy number on your phone instead, or use Sprint's Google Voice integration

General Tips:

1. Don't mess with preferred network settings, I set them specifically to work properly on Sprint

Known working SIM cards:

SIMOLW216R

Known not working SIM cards:

SIMGLW206R
[Galaxy S 5 Q&A, Help & Troubleshooting] eurohunter:
I have a G900P with Virgin Mobile. I wanted to provide some info on the bouncing between GSM-CDMA issue. Today I wiped three times and flashed three builds (LineageOS 10/25, 11/1, and crDroid 10/26 based on LOS 10/25). In all three times, after wiping and flashing roms, I would see the phone bouncing CDMA-GSM when switching between preferred network types. Then I would dirty flash the same ROM (only the rom, nothing else), it seemed like this issue goes away and the phone is VERY stable. I will wipe again to see if I can keep replicating this phenomenon. You guys can try to dirty flash to see if it also fixes the LTE connection issue (nothing to lose). I saw it a few times but I couldn't see a pattern, and now that I have been switching preferred network types several times over the last few hours, I have not seen it anymore. I will keep testing.
[Galaxy S 5 Q&A, Help & Troubleshooting] TomNeverwinter:
The G900P radio issue has been going on forever. its almost as bad as the timezone bug we have had forever.

install rand g900p cyanogenmond/lineage rom.... go through install..... deal with phone trying to escape into wrong carrier or frequency... pray it remains stable for work.... post logcat hoping for fix..... repeat for several years with no avail......
[Galaxy S 5 Q&A, Help & Troubleshooting] javelinanddart:
I'll add the suggestion to not mess with preferred network types, I set the default to what is ideal for Sprint. Did you dirty flash the ROMs over themselves? or over an older version?

I aim to improve that, at least a little bit. The stability has improved, from the feedback I've been getting. The timezone bug was fixed a long time ago as well, in May iirc (and it wasn't just Sprint, T-Mobile US and AT&T had it too)
[Galaxy S 5 Q&A, Help & Troubleshooting] TomNeverwinter:
The network for sprint devices using; lineage-14.1-20171108-nightly-kltedv-signed is definitely better so far.
[Galaxy S 5 Q&A, Help & Troubleshooting] pinheaD420:
Sounds like you guys on sprint have some issues still ... I am running my g900p on att .... Works great i dont think i get full 4glte but i still average2-3 megs a second so its definitely not bad ... Fair trade off i guess.
[Galaxy S 5 Q&A, Help & Troubleshooting] javelinanddart:
I would imagine the LTE bands AT&T uses don't line up with Sprint's. I have similar issues on my G900F on T-Mobile, I frequently see H+/3G/E when I should have LTE.

As for Sprint issues, yeah, but it's a lot more manageable now. Most of the weird bugs/quirks are now just fixed by getting provisioning on stock, or a new sim card.

I always heard about what a PITA sprint was, and imagine it worked like crap then, but it's not too bad now. I still prefer T-Mobile, for various minor reasons,

but my hltespr on Tello (Sprint MVNO) makes a perfectly usable backup phone if anything goes wrong with my T-Mobile sim, and it wouldn't

really bother me to use it. That's pretty much my main goal: Make Sprint as usable as possible, so the user doesn't need to notice they're on Sprint.
[Galaxy S 5 Q&A, Help & Troubleshooting] meatfest1974:
Totally appreciate the efforts and this thread.

For me, you called it, by the way. Old-ass SIM card.
[Galaxy S 5 Q&A, Help & Troubleshooting] meatfest1974:
Just to update, everything worked out well!

Upon replacing the old SIM with a new one, I still couldn't get past 3G. I flashed to stock CQD1 in Odin, updated the PRL and profile, ##72786# to reset, and still nothing.

After a few Google searches, a few forums suggested to call into Virgin Mobile to update the SIM's ICCID number, because this is the reason I couldn't get LTE; the ICCID didn't match the SIM card they had on file. Once done and after a final reboot back into stock, LTE success!

Flashed TWRP in Odin and restored a recent lineageOS backup, and LTE success!

Again, this board was very helpful, thanks!
[Galaxy S 5 Q&A, Help & Troubleshooting] dochummer:
Just ordered a new SIM card from Sprint. The old one showed as incompatible according to OP. I could only get 3G if I changed to CDMA/EVDO.. Hopefully the new one will allow me to run LOS 14.1 with access to LTE on TING. Thanks for the info.
[Galaxy S 5 Q&A, Help & Troubleshooting] Couchy:
[MENTION=5795145]javelinanddart[/MENTION] Hi, would you mind taking a look at this radio log from 15.1? I can't get LTE working under any circumstances. I have the latest baseband for G900P and a good SIM card, and everything was working in 14.1. Log shows switching from "CDMA/EvDo" to "CDMA/EvDo + LTE" then setting the APN to FreedomPop LTE.
[Galaxy S 5 Q&A, Help & Troubleshooting] a1yet:
hmmm

where are your files ?

don't say

https://github.com/javelinanddart/

because i just spent 15 min looking at everything there and could find nothing specific to G900P
[Galaxy S 5 Q&A, Help & Troubleshooting] fitittome:
I imagine its buried deep, around about here:- https://review.lineageos.org/#/q/status:merged+project:LineageOS/android_device_samsung_klte-common+branch:cm-14.1+topic:klte-oss-ril
[Galaxy S 5 Q&A, Help & Troubleshooting] a1yet:
thank you very much :D

Ohhh good Joke LOL .. had me going there, I really thought you were trying to help.. till I spent another 5-10 min looking around at gibberish

thanks a lot :p

PS: i'm not mad .. i can appreciate a good joke :)

i think i'll wait tile the OP tells me where i can download his ROM

OR

find one in the S5 sprint thread on this site
[Galaxy S 5 Q&A, Help & Troubleshooting] fitittome:
It's the official LineageOS kltedv.
[Galaxy S 5 Q&A, Help & Troubleshooting] a1yet:
then i thank you again :D

i see the files now that i failed to find on my own

thank you
[Galaxy S 5 Q&A, Help & Troubleshooting] Couchy:
Well, If you come back to this, let me know if you need more logs. I'm going back to 14.1 for now, as the signal is really bad (Keeps switching between 1X and 3G).

Edit: 14.1 is now borked as well... Some relatively recent change must have killed it.
[Galaxy S 5 Q&A, Help & Troubleshooting] Couchy:
And here's a log from when 3G/EvDo craps out...
[Galaxy S 5 Q&A, Help & Troubleshooting] Couchy:
Sorry for the multi-post, but I just found my problem: The default APN settings for FreedomPop, the MVNO I use, are somehow wrong. So I deleted that APN and redid it with the following settings and was able to get LTE.

Name: FreedomPop LTE

APN: n.f6.ispsn

MMSC: http://mms.sprintpcs.com

MMS proxy: 68.28.31.7

MMS port: 80

MCC: 310

MNC: 120

APN type: default,mms,supl,hipri,fota,ims,cbs

APN (roaming) protocol: IPv4/IPv6

Bearer: Unspecified

MVNO type: None
[Galaxy S 5 Q&A, Help & Troubleshooting] javelinanddart:
Sorry for the delay, I've been busy working on another device. I had the same issue (even though it worked fine before) on my hltespr. After a wipe, my LTE started working again too, which was really weird. I don't really want to investigate this, since it's working now.
[Galaxy S 5 Q&A, Help & Troubleshooting] mrfeh:
Hello folks.

I'm running the 4/11/18 version of LOS 14.1 on my G900P. On the stock ROM, everything (LTE, SMS, MMS, phone calls) works.

With LOS, almost everything works, but my cell data service is 3G instead of LTE. My MVNO is Tello, and I've found some posts that indicate I need to add an APN, but there is something wrong with that portion of the settings app - when I attempt to add the APN, it is not added to the list of APNs. No error or anything; it just isn't saved.

I'm not sure what to do at this point. Any ideas?
[Galaxy S 5 Q&A, Help & Troubleshooting] Couchy:
Yep, I just clean wiped to install the first official LOS 15.1 build. Big mistake. Now I'm back to fighting it to get an LTE connection. It seems to stay once it gets it, but if and when it does so is completely random.
[Galaxy S 5 Q&A, Help & Troubleshooting] Barabba11:
I need help, thank you!

I have a 900P, they sold me with a LL 5.01 version, I upgraded in past to Ressurection remix 7.1.2 and the baseband was not working. I solved the problem uploading (after a recovery wipe) the stock 6.01 G900PVPS3CQD1, then TWRP, then wipe again and again Ressurection Remix, than I tried also Lineage OS 7.1.2.

The phone worked for about 5-6 months, than no signal more. I flashed again the stock 6.01 and it tells me "invalid SIM card", the IME is present, also baseband show its version under info.

I flashed than TWRP and typed in its terminal the commands I've found here:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1

dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2

It saif not enough space but it looks it copied around 3MB. I have no idea what this commands do. I rebbot the phone and nothing changed. Then I continue to read and I typed the following:

dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=efs.bak

dd if=/dev/block/bootdevice/by-name/modemst1 of=modemst1.bak bs=4096

dd if=/dev/block/bootdevice/by-name/modemst2 of=modemst2.bak bs=4096

find /efs -exec ls -l {} \; > efs-permissions

it looks it did all sucessfully but nothing solved the problem, no SIM card on phone. I'm not a linux expert, I don't know how to copy these backup files to my pc ad eventually look on them, and what to edit and how to upload.

DO you have any ideas? Thank you
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
Why TWRP Installations are NOT supported:

CONFIG_CC_OPTIMIZE_FOR_SIZE=y

(and why I'm not using it!)

Most custom/android kernel devs are using the above configuration in kernel compilation, which is arguably very BAD... I understand that boot partitions are small and the desire to install TWRP to them, thus there is a need to reduce the kernel's size....and yes, this will achieve that - However;

1. SUSE, RedHat, etc (Enterprise linux) disable CONFIG_CC_OPTIMIZE_FOR_SIZE -> it's original use case has proven to be invalid. Even Google (in their own documentation) advise against using this; https://source.android.com/devices/tech/perf/boot-times ....

2. It suppresses useful compiler warnings....

3. As SOCs have become more powerful, google has come to the same conclusion that Enterprise Linux did back in 2012.

4. by turning off CONFIG_CC_OPTIMIZE_FOR_SIZE, we achieve better performance, boot time and better cache utilization.

(The Above is quoted from Clark Williams, A Senior Software Architect @ RedHat -> https://bugzilla.redhat.com/show_bug.cgi?id=796297)

I know of no other way to significantly reduce kernel size. Disabling some debugging, unneeded features, etc helps - but not enough.... I am focusing on optimization, using newer builds of GCC/Linaro, performance enhancements, fixing compilation errors, etc, etc -> these things are more important than trying to support TWRP installation. Therefore;

I do NOT support installing TWRP

....
[Google Pixel ROMs, Kernels, Recoveries, & Other De] siheals:
I like it so far, very good kernel.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] グリッチ:
Awesome! Always nice to have choices :D

I've seen you post around that you made x change to your own kernel, glad you finally made it public!

Does it have all of franco's wakelocks blocked by default?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
hey, it includes franco's wakelocks stuff. I don't think all are blocked, I actually don't touch them in my init rc. ... but some are blocked by default, for sure. can be set by user...

yeah, I've got my kernel to a point now, where it is somewhat unique && is drawing in most of the best features from every custom kernel for the pixel (my opinion). very stable too, thus far. so makes sense to make it public.

it's got the RCU (read copy update) infrastructure from linux-4.9... a ton of core, sched, Walt, etc from linux-4.4+ (specifically, from EAS-Project / msm8998 OP5 - which was painful to backport. wish we didn't have a 3.18 kernel. lol) afaik, it's the only Marlin kernel with Dynamic Stune Boost and aside from CopperheadOS; the only marlin kernel with a subset of the PAX/grsec kernel security enhancements and the Mac randomization... also has all of the audio enhancements from the kernel ur running ?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
Hey! thanks for testing it out. let me know how things go, your impressions, etc.

I'll be updating this kernel constantly, so if u end up liking it; you can expect that it will always include security patches, linux LTS incremental patches, etc...

it's my daily driver, so i keep on top of it.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] グリッチ:
Superb! Thanks for clarifying.

I will give it a run when November update releases cuz I'm lazy >.< but am excited and looking forward to it ^_^
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
no probz. As soon as the november updates arrive, i will be adding whatever patches are needed... so expect that to be there...

i also pull from Code Aurora msm-3.18 for 8996, so my kernel gets updates to drivers, core, etc that google hasn't picked up yet.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
Just Testing 3.18.79 + latest Code Aurura updates for today ....AND;

re-enabling a hardening feature that I thought was draining battery life (Likely not, was probably another removed patch - that isn't in the current release.)

I'll update the link later on and - on my github; where I link to for downloads; there will be older releases labeled - ie:

exNoShadez_eas.zip (current release / link) will become -> exNoShadez_eas_3.18.78_oct.zip,

when it is replaced by 3.18.79 + other updates / patchwork.... The current release will always be -> exNoShadez_eas.zip

UPDATE:

While I haven't updated exNoShadez_eas.zip link/version, * I have posted a zip with the above changes - I'll be testing it for a while before updating the link because it's hard to gauge battery life without a lot of testing / time spent.... So I would say, if anyone is eager - they can test it, but wait at least 12-24hours from testing the current available release - so you can actually make some sort of real-usage comparision.

link: https://github.com/nine7nine/Apps/raw/master/exNoShadez_eas_3.18.79_harden.zip
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Warrimonk:
Glad to see you have posted this man. Setting up a pixel for my friend and as i was browsing the forums noticed you have a lot of good kernel work. Was literally about to PM you a few days ago for your kernel and then happened to see this post today. Can't wait to try it out!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
All good, man.

It only makes sense that I would share my kernel, when I felt it was ready for that - just keep in mind, that for now - I have marked it as Beta / Testing, as it's pretty new (although, aside from the EAS code / Dynamic Stune Boost - the rest has been thoroughly vetted)....

So yeah, give it a run, let me know how things go! thanks ;)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Warrimonk:
Unsure if I am doing something wrong or not, but when I try to flash your kernel I get an error stating : "New Image larger than boot partition. Aborting...."

EX Kernel flashed fine. Using TWRP 3.1.1-1
[Google Pixel ROMs, Kernels, Recoveries, & Other De] GuestK0037:
Why aren't you using the newest stable version of TWRP?

RC1 = release candidate 1

afaik, latest release is 3.1.1-1 stable for the pixel.... https://dl.twrp.me/sailfish/

Using an old version might be your issue. Update, then try.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Warrimonk:
Apparently I am using TWRP3.1.1-1 . The thread was called RC1 So I mistakenly assumes that was still the current version.