yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S 4 General] ecs87:
[MENTION=1130160]AlpineMan[/MENTION] you might want to remove the chameleon.xml and chameleon.hash from the .zip files. It seems if they don't correct permissions (AS THEY SHOULD...ahem) that the phone bootloops through a ##72786# loop and (at least in my situation) deleted chameleon.xml. Which led to a constant state of the phone freaking out. I solved this and documented it in this thread but it seems as though there might be too many pages to look through.

I'd still have the full carrier directories posted BUT put instructions to ONLY use the properties.db and properties.db-journal files instead of all of them IF they JUST encountered the HFA loop. IF they have a SCRTN bootloop they need to download the whole carrier folder and scramble to fix permissions before the phone reboots. It's a royal pain in the ass but possible. If it proves impossible for someone I could post a custom recovery and a batch file to use in it to correct permissions through adb. BUT I really doubt that'll be necessary...and I'm lazy lol.

On another note, I got a sql db editor and have dug around properties.db...it's interesting. I may start changing things until I find out EXACTLY what causes the HFA loop. Could be a more permenant solution without having the hassle that were currently going through.
[Sprint Samsung Galaxy S 4 General] highvelocity:
Error 6621

Ok so I got the HFA fixed by coping the properties.db but when I go to PRL/Update Profile I get error 6621
[Sprint Samsung Galaxy S 4 General] eazy3445:
i have experience flashing phones and this note 3 is giving me problems, and me and high velocity are having the same issue, my carrier settings reset on its own and also my settings on DFS resets such as my NAM and profile 0 and profile 1 change..when i properly flash my phone it resets itself, but when i flash only the NAM to get talking and text to work it doesnt reset which is really weird

---------- Post added at 12:10 AM ---------- Previous post was at 12:07 AM ----------

carrier zip? i dont have that in my carrier folder where exactly did u get that carrier zip? i dont really understand your screenshot
[Sprint Samsung Galaxy S 4 General] AlpineMan:
Carrier.zip files are attached in first post...Specifically for S4, Note 3, and Mega.

You were using something else?
[Sprint Samsung Galaxy S 4 General] ecs87:
I think he was referring to the carrier.zip in my carrier folder. Didn't even realize that was still in there. It shouldn't be. On another note...I don't think he knows how to change the permissions of files (must be done through a file browser/explorer).
[Sprint Samsung Galaxy S 4 General] prawinready:
Is sprint wifi calling phone dependent or plan dependent ? will the wifi calling work on sprint sero 30 month plan flashing on note 3 /s4. ?
[Sprint Samsung Galaxy S 4 General] highvelocity:
6621

Does anyone having a fix for error 6621?:confused:
[Sprint Samsung Galaxy S 4 General] cyrus441:
FAQ (Frequently Asked Questions):

Q: My phone is already rooted. How do I configure ES File Explorer to show hidden files and allow writes to system partition?

A: Do the following:

1) Install the latest version of ES File Explorer from the Play Store. Launch it.

2) On the upper left hand corner, there's a blue icon that looks like a phone superimposed on a globe. Click on that icon.

3) Expand the Tools section.

4) Scroll down and find "Show hidden files". Turn that on.

5) Scroll down and find "Root Explorer". Turn that on.

6) Grant root access.

7) Press on the word "Root" on "Root Explorer".

8) Choose "Mount R/W"

9) Look for "/system" and choose "RW"

10) Press OK button.

11) Done.

okay this is the step that this in entire time was missing all along i want to punch my face right now but i dont want to loose a tooth. What i did is exactly this for the mega to finally update profile/prl

copy carrier zip file for your phone as posted in first post into \carrier directory

using es explorer after doing the steps above unzip into the path of carrier folder i left the zip file in there along with the unzipped files

reboot phone update and presto.

ecs87 if it works for you then thats all that matters but this time just unzipping all files from the carrier zip worked without having to just pick off from the carrier zip i have read why you had to this but otherwise having to copy everything worked for me. I also want to mention this was done on the latest kit kat 4.2.2 or whatever the latest is on a mega.

I do have a note 3 that i need to update prl profile so i hope it works in that front as well then again i had disabled hfa the old fashion way and i cant seem to remember how to re enable it for hfa so that i can follow the same method done here with the note 3.

Almost forgot to thank you ecs87 for your responses and the rest of the community who were a big help to me including Alpineman for making the thread.
[Sprint Samsung Galaxy S 4 General] ecs87:
Sometimes you have to fix the permissions, sometimes you don't. Not too sure where it messes up the permissions but in a HFA loop, if you have all the files in your carrier directory then all you need to do is copy the properties.db and properties.db-journal file over. Much less riskier than copying the entire thing and ending up in a reset loop instead of a HFA loop.
[Sprint Samsung Galaxy S 4 General] cyrus441:
Do you have any idea of how the old way of simply turning off the hfa on the note 3 went about to avoid having prompt come up on boot thus disregarding the profile/prl update? see i altered i believe it was sprintdm.apk or something maybe sprintSyncmlSvc.apk to turn it off but i dont remember what i did because now i want to put it back on so i can repeat the new method for prl/profile update on my note 3 with having to reset the phone and reflash
[Sprint Samsung Galaxy S 4 General] ecs87:
You might've deleted the file. Easy solution (whether you've renamed it or deleted it) is to load the current firmware you're on through Odin. AFAIK, Kit Kat tarballs from samsung doesn't wipe data. OR you could find someone with the same device as you on the same firmware build to copy sprintDM.apk for you. It might be in /system/priv-app instead of /system/app.
[Sprint Samsung Galaxy S 4 General] cyrus441:
That first part part recommendation seems a bit foreign to me AFAIK, tarballs and what not i mean i could just update and flash kitkat since its on jellybean i believe or whatever last one was but flashing a custom kitkat rom is the next big step and that means complete cache dalvik wipe factory reset wipe to avoid any problems but i want to save it for the weekend i think but currently /system/app is showing that

SprinktDM.apk is there so maybe i modified it any ideas how it was modified i thought maybe i changed it to SprintDm.bak but no.
[Sprint Samsung Galaxy S 4 General] ecs87:
Interesting. I guess they moved that file in Kit Kat. A tarball is just a collection of firmware files. The ending that you probably see is .md5 but before that is a .tar extension. That's what I refer to as a tarball (a ball of files "merged" together with the tar command in linux). Basically what I'm saying is find the firmware file and flash it in Odin.

You shouldn't have to wipe data (unless you load a custom ROM which I wouldn't do until you have EVERYTHING sorted out).

Kit kat. Jellybean. Doesn't matter. As long as you're not flashing a firmware older than your current one...or else you'd end up in a soft brick because the bootloader cannot be downgraded thanks to the secured bootloader.
[Sprint Samsung Galaxy S 4 General] highvelocity:
6621

Can someone please post a fix to 6621 so I can get update profile/prl working :D
[Sprint Samsung Galaxy S 4 General] ecs87:
Dunno what 6621 refers to. I know it's an error code but you shouldn't be getting any errors if you've flashed properly and have the phone active. You are referring to a flashed phone, right?
[Sprint Samsung Galaxy S 4 General] highvelocity:
Yea to boostmobile am I not copying the right carrier files you think?
[Sprint Samsung Galaxy S 4 General] ecs87:
IF you're not in an activation loop you're in the wrong thread. On a more constructive note, make sure your HDR an username and password are the same as your donor, including Profile 0. As long as these two are right your profile will update. ON THE NOTE 3 DOUBLE CHECK YOUR SETTINGS. THERE SEEMS TO BE SOME KIND OF LOCK THAT PREVENTS NV WRITING (any efs writing) AFTER A CERTAIN AMOUNT OF TIME!
[Sprint Samsung Galaxy S 4 General] highvelocity:
Sorry If you could let me know where the thread is the post this is but I get data and everything so I dont know how it could be my Profile 0 or 1 pwd's I guess I'll try and mess around with the carrier files?

***UPDATE***

So far I've troubleshoot and when I copy the .chameleon.hash and reboot it turns the radio off and then restarts and resets my nam settings and profile 0&1 but when I copy properties and properties.db-journal I get error 6621
[Sprint Samsung Galaxy S 4 General] ecs87:
Is your data 1xRTT or CDMA EVDO REV. A in the settings?
[Sprint Samsung Galaxy S 4 General] eazy3445:
yea i only get 1xrtt on this galaxy s3 im working and sometimes cdma evdo rev.a why is that? even thou i can update profile and update prl, why is that?
[Sprint Samsung Galaxy S 4 General] highvelocity:
I dont know what carrier your through but I called boostmobile yesterday and they reset/refreshed something and I did a update profile on my donor reflashed my data/profile settings and now I get alot better speed's before it was terrible like .1 or .2mpbs and now im at like 1.0-.7mpbs

---------- Post added at 07:32 PM ---------- Previous post was at 07:27 PM ----------

How would this affect update profile from working?
[Sprint Samsung Galaxy S 4 General] eazy3445:
flashing a galaXY S3 to boost, flashed my profile 0 and 1 and still getting CDMA 1xRTT which is dumb ,and i can update profile and update prl
[Sprint Samsung Galaxy S 4 General] highvelocity:
Try calling boost mobile tell them your internet is super slow then they will tell you to reset your data but I would you flashed your DATA and MOBILE IP again after you get off the phone with boost I even saw a difference in the donor phones speed so double check that and let me know if that changed anything
[Sprint Samsung Galaxy S 4 General] ecs87:
Boost has nothing to do with your data working or not. Either your HDR AN settings, profile 0, or Profile 1 settings are wrong. There's no if and or buts around this. It's factual. If you're plagued with the error 16, calling may help, but afaik you can still get EVDO Rev A with an error 16 triggered.

How do I know if a phone is flashed properly or not? It says 1xRTT. That's 2g. But the phone won't show it as 2g. It'll still say 3g. Go over Alpineman's guide on flashing again. You've messed something up. As much as you want to think everything is right, it's not.
[Sprint Samsung Galaxy S 4 General] eazy3445:
yea my HDR i flashed it with correct 32 AAA password as well as my profile 0 and profile 1 cause once i rebooted the phone my 3g showed up, ill email my HDR settings to you, just emailed you
[Sprint Samsung Galaxy S 4 General] highvelocity:
Did you flash your HDR settings like this
[Sprint Samsung Galaxy S 4 General] eazy3445:
no i put 32 digit password for both, ill change that now u mean 12 digit profile 1 and then 32 profile 0 right

---------- Post added at 03:42 PM ---------- Previous post was at 03:29 PM ----------

hmm still getting 1xRTT
[Sprint Samsung Galaxy S 4 General] highvelocity:
Send me your Data and Mobile IP settings
[Sprint Samsung Galaxy S 4 General] makkonen:
OK, I've got a new one here. I had a Galaxy Mega with HFA working perfectly on my flashed account. Then I switched over to a new phone, and wiped the Mega back to all original settings. Fixed the MEID with DFS, and then ##786# reset. I think at this point everything was fine. HFA popped up, timed out, all normal.

Then I unrooted (ODIN'd the NA7 full tar). Now when HFA comes up, it invariably dies, citing "Your Activation could not be completed. Please try again later. If the problem persists, you may need to contact Customer Service. Error: Internal Error (1)".

I figured this was no big deal. I tried to sell the phone to someone, met them at a Sprint store, and after 45 minutes, the very diligent tech there could not get it to activate. (I felt bad.)

I think this means I need to reroot, bang around in the Carrier folder, and fix... something. Anyone know any more I should be looking out for?

edit: rerooted, recopied everything from carrier.zip and checked permissions -- still popping up with Internal Error (1). Blergh.

I'll have to go back and read through this whole thread when I've got a chance -- this all seems really strange to me. I've reset it before and had no problem.

edit2: ODIN'd back to MK1, and it seemed to work -- HFA times out like normal, though I haven't had a chance to find an account to link it to and test that it actually works. After that I ODIN'd back to NA7 and it still seems happy. So I guess this had nothing to do with any of the fixes here... it was just some sort of ODIN/stock ROM snafu. Whew.
[Sprint Samsung Galaxy S 4 General] eazy3445:
inbox me ur email
[Sprint Samsung Galaxy S 4 General] eazy3445:
for HDR AN its 12 digit profile 1 AAA password and for HDR AN Long its 32 digit profile 0 digit AAA password?
[Sprint Samsung Galaxy S 4 General] highvelocity:
Yes
[Sprint Samsung Galaxy S 4 General] jkj:
Ok so I'm trying to get mine to work. I have my 6 digit profile 1 and 32 digit profile 0 AAA key from donor. I flashed them to note 3. No data error 67. I'm flashing profile 0 as hex 32 digit and profile 1 as string but I've tried hex too. What am I doing wrong? No data what so ever and this didnt help to bypass hfa? Please help.

---------- Post added at 02:28 AM ---------- Previous post was at 01:56 AM ----------

Oh yeah and just to confirm the HDR long is the same as the profile 0 AAA right? This is all for sprint legacy.
[Sprint Samsung Galaxy S 4 General] ecs87:
[MENTION=1049967]makkonen[/MENTION] you should be able to fix a HFA loop by filling in the MDN, MIN, and profile 1 username with anything other than the default settings. The OP should explain it.

---------- Post added at 10:24 AM ---------- Previous post was at 10:23 AM ----------

No. The HDR AN should never be filled out. Only HDR AN Long. The username will be MEID@HCM.SPRINTPCS.COM and the password will be profile 0 32 character hex password.

---------- Post added at 10:29 AM ---------- Previous post was at 10:24 AM ----------

Did you fill in the MDN and MIN with something other than the 000000xxxx that it defaults to after the MEID has been repaired? If not, this is part of what triggers the HFA loop. You also need to change the profile 1 username to something other than MEID@HCM.SPRINTPCS.COM. Just make something up like sprint@sprintpcs.com. IF that still doesn't fix it, you're going to need to copy ONLY the properties.db and properties.db-journal to your carrier directory from the note 3 carrier .zip in the original post. MAKE SURE THE PERMISSIONS ARE SET PROPERLY BEFORE REBOOTING OR YOU'RE IN FOR A WORLD OF HURT. Reboot. Update profile and PRL successfully. Win.
[Sprint Samsung Galaxy S 4 General] makkonen:
I don't think it would be tough to fix... but it's back to stock. Hands Free Activation SHOULD work. I don't want to sell the phone to someone knowing that if they ever reset it, it'll never activate on their account again.

Anyway, I think it is fixed now. That Internal Error 1 has only come up one more time since.

(Man I hope it's fixed.)

edit: I met with the buyer at the Sprint store again. This time, it activated fine. So, for post-mortem: Either flashing a different firmware (with a different bootloader?) fixed it, or replacing the /carrier files and then reflashing fixed it, or my initial ODIN flash left something dirty, and reflashing anything fixed it. I'm not sure which. Vexing, but it had a happy ending. Not sure if this information will be of use to anyone else here, because I don't know what the hell happened in the first place. Thanks again, all.
[Sprint Samsung Galaxy S 4 General] mocoyombiflash:
damn it i hate dfs i can't get 3g to work man all i get is 3g with 1x network this didn't happen on cdma can anyone send me screenshot on how everything should be set in dfs to get 3g evdo? i'm suing incognito and cdma ws does it fast here is so many butotns ajj
[Sprint Samsung Galaxy S 4 General] ecs87:
DFS is one of the only tools powerful enough to do many things that you'd need to switch between programs for. I'd blame instructions you're following instead of DFS. There is absolutely nothing to hate about it lol.

If you're getting 1x you're not flashing the data correctly. Alpineman's flashing thread covers everything from start to finish including various troubleshooting scenarios. Either your HDR AN settings, profile 0 or profile 1 settings are bad. There's no if ands or buts about this. Those three things authenticate data on Sprints CDMA network. No more, no less.
[Sprint Samsung Galaxy S 4 General] mocoyombiflash:
point me to the right directions , maybe i do'nt know what i'm doing in dfs i used to before get it now it doesn't make sense anymore so used to cdma w.s
[Sprint Samsung Galaxy S 4 General] ecs87:
It hasn't changed...the only things that have changed is the bands tab which no one should be touching, and the long password fields in the profiles which I just input the same thing I do in the normal password fields. You're missing settings somewhere. Without sitting down and looking at what you've flashed for your data settings you most likely won't solve the issue. You're going to need to do some reading and troubleshooting.
[Sprint Samsung Galaxy S 4 General] mocoyombiflash:
like the problem is with the EVDO tab that's whree it lies the problem i can't seem to change

to write anything i'm literaly reading donor and switching to phone flash and sometimes doesn't write other boxes have been enable i guess

in cdma ws it nulls the boxes and gets 3g evdo fast dfs is giving me the works
[Sprint Samsung Galaxy S 4 General] ecs87:
You can't just read and write. You need to save the screenshots and settings where you can and close DFS. Connect the phone you want to flash, and load DFS again. Don't be lazy. These extra steps are critical to successfully doing a flash in 10 Minutes or spending 10 days stuck on a simple issue. You may even need to restart your computer. Power off the phone, pull the battery, and power it back on. Eliminate as many minor things as you can before you start blaming the program (DFS). In no way am I affiliated with them, but I've been using their software for over a year, four days a week, over eight hours each of those four days. If you can't do it in DFS, you won't be able to do it in the paid version of CDMA WS either. Sidenote: I've NEVER used the paid version of CDMA WS. And I like to think I'm decently knowledgeable about flashing/unlocking/repairing phones.
[Sprint Samsung Galaxy S 4 General] mocoyombiflash:
i got it working Evdo Rev A , cdma ws paid version does read and write and you get evdo rev A off the start i'm used it all the time even saveed a nam file and just replace akey's and all the time evdo rev a DFS is different but i got it
[Sprint Samsung Galaxy S 4 General] jkj:
About to take another look at it... Voice and text work fine just no data nada. I'm still working on it.

So when I try to do an update profile it gives me an error that the device needs to be reset. If I do that it resets and removes my MDN and msid and gives me error 131.

Now I see error 106 when it tries to activate. still no data. Just to confirm the only two files you want in the carrier folder are the properties.db and properties.db-journal file correct? Delete everything else thats in there?

I thought maybe the AAA Key from the donor had changed but I verified its still the same. Never had an issue like this.
[Sprint Samsung Galaxy S 4 General] mocoyombiflash:
Works on NOTE 3 4.4.2

Just finished doing it and it works ... muy bueno thanks

ps: will it work for any other carrier the phone is flashed?
[Sprint Samsung Galaxy S 4 General] ecs87:
DO NOT DELETE YOUR CHAMELEON FILES!!!!! ONLY REPLACE THE PROPERTIES FILES! No deleting! That's why you're in a reset loop.

Since I'm pretty sure all files in your carrier folder need to be replaced...Unzip the entire carrier.zip you carrier folder. Fix permissions. Reboot. Win.
[Sprint Samsung Galaxy S 4 General] AlpineMan:
Yes. If phone is flashed to a Sprint MVNO, then Update Profile will work, too. For other carriers...Just the HFA is fixed since Update Profile is only for Sprint MVNO's.
[Sprint Samsung Galaxy S 4 General] supermaxkato:
hfa hands free activation

Someone else may have already posted this, but I read in this thread that some folks kept having the HFA pop-up.

But if your phone has the hidden samsung dm menu, then you can simply uncheck the HFA box to stop the hands free activation.

See attached screenshot.

Cheers!
[Sprint Samsung Galaxy S 4 General] jkj:
Sill no go. I have no data. Voice text work fine. Even picture mail works great with wifi. I'm willing to try anything at this point. I wish I knew a pro in the area to just take my phone to and pay to tell me what I'm doing wrong. I have triple confirmed profile 0 and 1 key. Still error 67. I'm doing exactly whats in the video but of course I cant verify whats actually in the phone.
[Sprint Samsung Galaxy S 4 General] highvelocity:
If you have TeamViewer I'll take a look at it.
[Sprint Samsung Galaxy S 4 General] ecs87:
Error 67 means wrong username and/or passwords for profile 1. Are you able to update update the profile? Does it update successfully?

EDIT: sorry just took a look back. Before answering the other questions is the device still resetting when you update the profile? If so copy all of the carrier files from the appropriate .zip file in the first post to your carrier directory on your phone (you MUST be rooted and enable rooted mode in Es file explorer) AND repair permissions according to the pictures in the original/first post.
[Sprint Samsung Galaxy S 4 General] jkj:
For sure man I'll download teamviewer right now.
[Sprint Samsung Galaxy S 4 General] fouadrx:
And for kyocera torque sprint
[Sprint Samsung Galaxy S 4 General] mocoyombiflash:
How to root mega 4.4.2

Use philz and then hit reroot install from market super su

I notice when i overwrite carrier folder update profile works update prl too but as son as i reboot it r3sets reboots and my mdn and min gets zero out
[Sprint Samsung Galaxy S 4 General] AlpineMan:
Please see original post. Will tell you why. See post #2 as well.
[Sprint Samsung Galaxy S 4 General] rsngfrce:
Loosing mobile connection and GPS?

Very long story short...

Updated my Galaxy S4 to NAE (no Knox, MF9 bootloader), stock rom, worked GREAT for a while then I started loosing my mobile connection and GPS a while after booting my phone. Rebooting the phone will make them work again, until they decide to cease working again.

I BELIEVE I caused this by messing with my APNs in an attempt to fix an issue with sending MMS's. I KNOW I got confused by APN Backup and Restore and ended up with a HUGE APN file. I finally got this fixed, also did a dialer reset reset which required me to reactivate my phone, none of this fixed the issue. Through all of this, I have never been able to update the PRL or Profile. I Nandroided back to before I messed with the APNs, but that did not help.

SO... I have a feeling I have messed up my Profile/PRL. Does that sound like what is causing my problem? I don't understand why it works fine for a while after I reboot and then stops working at some point...

I am on Android 4.4.2, so the only way I can fix this is to go back to a prior Android version, make the fix, and then go back to 4.4.2, would that be correct? (And I apologize if this has been asked/answered, but I don't have a downer GS4, would a GS3 work by chance?).

Any help is GREATLY appreciated. My phone is pretty much useless as a PHONE at this point, and has been for a couple months...