yashsingh1/xdaforums huggingface dataset:
[RAZR HD Q&A, Help & Troubleshooting] iBolski:
You can't right now AFAIK. It requires too many non-AOSP components (in other words, Motorola components like gallery and others). I supposed you could copy the stock APKs out of a stock image flashed on your phone for both the camera and gallery APKs and then in CM, copy these to the /system/app directory, reboot and see what happens. Worse that will happen is they won't work. But, I'm pretty sure they are compiled against other "libraries" that are not in the AOSP image which is what CM11 is compiled off of.
[RAZR HD Q&A, Help & Troubleshooting] StefanGA:
Now you have me confused - didn't you say you utilize stock motorola as your daily camera? How do you do that when running CM11 then?

Don't tell me you are flashing back and forth when you want to take a picture ;) or did I just mix things up here?

I found this thread in the meantime - will try once I get home from work:

http://xdaforums.com/showthread.php?t=2709717
[RAZR HD Q&A, Help & Troubleshooting] iBolski:
Sorry about that. That was when I wasn't on CM11 but on stock. Now that I'm on CM11, I've been searching around for HD cameras from the Play store. One that I'm currently looking at is called "A Better Camera" which has HD mode built in. It's free and if you want other add ons, you can purchase them piece by piece (more controls for HDR colors, high resolution panorama - you already get panaroma mode but not in HDR, group shots, moving objects, etc). For $6.99, you can unlock all those premium features forever or purchase the ones you want for $2.99 a piece if you only a want one or two of them.

So far, seems to be a pretty good camera and just out of the box for free, it offers a whole lot of options that most other cameras would require you to purchase.

Once really nice feature I like about this camera is it does allow you to specify to save your photos to your external SD card and it works under CM11.
[RAZR HD Q&A, Help & Troubleshooting] bill0405:
Speaking of cameras, I've noticed that the quality of the images I take using cm11 are very noticeably inferior to the stock kit kat images. Is that an OS issue, or the camera app that's installed? I'm using the stock Google camera.
[RAZR HD Q&A, Help & Troubleshooting] StefanGA:
I have no proof for it and my stock days are already a year back, but I swear that any custom rom introduces a "purple haze" to the center of my lense and I also subjectively consider the stock camera quality better.. now for a snap here and there it is ok and never bothered me enough to go back to stock, but I think it is noticeable. I think one chap also posted factual comparison between stock and AOSP.

Probably Motorola knows better how to tweak their camera or whatever.. I don't know.
[Moto X General] samwathegreat:
Driver Issues?​

This post is for you.

In order to use the DIAG interface, you

must first

install the Motorola Drivers from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

REMEMBER: As stated in POST # 2, you MUST have "USB Debugging" DISABLED, or the DIAG port will NOT activate.

If you installed these drivers, and you still can't get it to work, and you have an entry under "Other Devices" (In Device Manager) called "Motorola QC Diag Interface" (SEE PIC1, attached below) follow the instructions in the attached pictures STEP-BY-STEP, IN ORDER, to FORCE driver installation.

We are ONLY concerned with the QC Diag Interface - don't worry about the rest of the entries under "Unknown Devices" -- these are not important.

Once you have successfully FORCED the driver installation, you should have an entry under Ports (COM & LPT), called "Motorola QC Diag Port (COMX)" (SEE PIC8, attached below). NOTE the value of "X" - this is the COM port you will use for our purposes. When you successfully have this entry, you can continue with the "FULL INSTRUCTIONS" in POST # 2.

[Q]: How much should I donate to you for all the time (weeks) you spent working on this?

[A]: Please donate what you feel it is worth to you. The XT1056 can be found far cheaper than any other Moto X Variant, and now that we can SIM-UNLOCK it, it will become much more popular. If I have saved you money, or added value to the phone you already own, I would appreciate being compensated accordingly. I realize that some are not able to donate, and I understand. Do what you can / what you feel is fair. I spent countless hours on this, and would appreciate being somewhat-compensated for my efforts. This, of course, is not a requirement, since I have posted the solution and made it freely available to everyone.

Keep in mind that the China Taobao-seller was charging $80 for EACH unlock...and HIS sim-crack didn't even unlock for Domestic U.S users!!!

PayPal Donation address: samwathegreat@gmail.com
[Moto X General] ezeuba:
You're the man!!! I doff my hat for you, sir. I think the best option will be to create an nv-item txt file for that particular nv-item (8378). I will get to it now and see what gives. Cheers man...
[Moto X General] samwathegreat:
Excellent! Please get me the instructions & necessary tools to use ASAP so I can post it in Post # 2 for the users who need step-by-step instructions. Thanks for all your help as well - I have given you credit accordingly.
[Moto X General] yefonme:
Excellent work,buddy!!!:D

Thanks to your efforts, I can imagine how difficult it is.

And I was very pleased to be able to help.:victory:
[Moto X General] ezeuba:
Done!!!

Just flash this attached file. Connect as usual to the NV-ITEMS Reader/Writer. Click Write and select the attached file which you must have downloaded. After writing, go to Mode and click reset. Phone will restart. Go to Settings, More, Mobile Networks and select GSM/UMTS. Phone unlocked. Special thanks again to [MENTION=2509024]samwathegreat[/MENTION] without whom this will not be possible.

I'm on GSM right now...

NB If you've been using this phone on CDMA, you need to change RUIM Config to RUIM Only, else whenever you restart it will revert back to CDMA mode.
[Moto X General] samwathegreat:
POST # 2 Updated. Thanks!!!!!
[Moto X General] Kittiesoncrack:
hey man, amazing job on this! so many people will happy to see this!
[Moto X General] 18712886438:
You're the man!!!
[Moto X General] samwathegreat:
Thanks again everyone.

I REALLY need someone in the United States to test this and advise whether or not it unlocks for Domestic (U.S.) GSM Carriers.

We know that the "official" Sprint OTA-Sim-Unlock (only offered if you are a current sprint customer, have had an account for a specified amount of time, and meet other criteria) does NOT unlock for domestic use (international only).

I'm anxious to find out if my SIM-CRACK unlocks for those of us in the U.S. -- I need to know ASAP so I can update my OP accordingly.
[Moto X General] Vekhez:
[MENTION=2509024]samwathegreat[/MENTION]

If it is possible that you could make a video or how to flash this to your phone I think it would be beneficial to some. Even if your phone is already unlocked if you can flash this way then I feel that it's going to stop the millions of questions that are going to come from the thread. Just my two cents, thanks again :good: :victory: :highfive: :D
[Moto X General] samwathegreat:
Good suggestion. Full, detailed, instructions are listed in POST # 2 already, but this could help some, and I could put it in POST # 3. I'll see if I can get another user to make a video.

Remember: I don't own an XT1056: I did all of this for YOU GUYS, and all without even owning a Sprint XT1056 ;)

You are welcome to create a video yourself! I think the instructions are concise enough that you should be able to manage making a video. If you do, I'll post it in #3 and give you appropriate credit for it.
[Moto X General] Vekhez:
I don't have the appropriate equipment or environment (living in a 'college dorm' (kinda like that) with 24 people, it's never quiet) otherwise I would make one ASAP.

You don't even have one?! OH MY GOD. Your amazing doing all of this without the device...

Also a few things, I can't download the .txt file... I can only view what it says... So how do I download that, and then from that where do I put it to flash, just in the text box?
[Moto X General] samwathegreat:
Right-click the txt file. Then click "save link as". It will download perfectly. I will add this info to Post#2
[Moto X General] Green78:
XT1052

Nice job ! I followed the old thread.. I know how much work it was.

Just a question. This method will work on moto XT1052 version ?
[Moto X General] samwathegreat:
No idea? Use the NV-ITEM reader/writer attached in POST # 2 to read NVITEM 8378

Under Range (Dec), type 8378 into both fields (type nothing into the HEX boxes) and click READ. If NV8378 is "00", there is a good chance it will. Try and let me know!!!! If it already reads "01", it won't work.

...can't you get a SIM-Unlock code from a regular GSM Sim-Unlock-Code seller for the XT1052?
[Moto X General] Green78:
actually I don't need sim unlock....but, some of french moto X owner bought their phone on US (XT1053 sorry, not XT1052).

But my question is the same: does it work on other moto X model ?

I'm gonna try you method to see what happen.
[Moto X General] samwathegreat:
ALL XT1053s should already be sim-unlocked. In fact, all variants except the XT1056 and XT1049 (that aren't -already- unlocked) can be SIM-Unlocked using the normal methods...(online code-sellers, etc.)

My method definitely works on all XT1056s.

It *SHOULD* work on all XT1049s (Republic Wireless), but ONLY if you unlock the BL and flash the XT1056 ROM to it.
[Moto X General] samwathegreat:
Thanks for the update. Can you provide more detailed instructions on how to change to RUIM only? I know how to do this....with DFS anyways....but many won't. Which tool do you suggest?

Actually, I believe that RUIM config is also stored in a NV item!

I *believe* that it is NVITEM 855 --- can you check for me? If I'm right, "00" = RUIM only, and "01" = default setting. Can you confirm?!?!

We could just update the txt file with this one additional NV-Value, and the users would only have to flash the ONE file, and it will crack AND set the RUIM config to RUIM only.

What do you think?
[Moto X General] aviwdoowks:
[MENTION=2509024]samwathegreat[/MENTION]

Would the hack allow one on Vzw/Maxx to mod the APN settings & thereby get ad blocking to work on 4g? There is the rootless ad block that works on WiFi only.
[Moto X General] samwathegreat:
Nope, sorry. APN settings are controlled entirely within android. There are plenty of ad-blocking methods available, but most require root. My favorite is min-min-guard (Xposed app). There is also an Xposed module to allow you spoof any app into believing it is on wifi that might work but again requires root.

I can't think of anything that might help you. I'm guessing you are already aware of the "China Middleman"? And you tried to obtain his "services"?
[Moto X General] Vivjen:
"You can't make outgoing callwhile call barring is on"

All made according instruction upper on 4.4.2
[Moto X General] ezeuba:
Which model is your device? XT1056 or XT1049? Whichever one it is, if you can afford to wipe and restore to stock then download the modified Sprint SBF in this thread and use it on RSD Lite to flash your phone. Do the SIM unlock all over again and test. let us know how it went.
[Moto X General] samwathegreat:
Thanks [MENTION=2026715]ezeuba[/MENTION] ! I just researched this issue, and it APPEARS to be caused when your IMEI has been -blacklisted-. I'm not 100% sure, but it's all I can figure....since my method has worked for everybody so far.

[MENTION=5533015]Vivjen[/MENTION] : It is a recording that you get giving you that message? Or is it something that appears on the screen?
[Moto X General] dmonleo:
I wonder if this will be applicable?
[Moto X General] samwathegreat:
It makes this LEGAL. It will also probably cause OEMs to sell their devices already - unlocked, or make it easier for consumers to unlock them in the future. I'm not sure how it affects those who had their phone subsidized by a carrier, though. I'm also not sure how/if it affects currently released devices at all.

I haven't read the whole thing, but if anyone cares to give us all the facts, I welcome it.
[Moto X General] Vivjen:
erased
[Moto X General] ecs87:
Sorry if this is intruding on your thread samwathegreat but...I'd like to take a crack at solving this HFA issue you guys have been having. Is there a carrier folder on you guys' phones? If so, is there a properties.db and properties.db-journal file in that folder? If there is can anyone post it or PM me a link to it? If not, nevermind!
[Moto X General] samwathegreat:
No problem...at all....but what HFA problem? I believe we have figured everything out. It works perfectly on both domestic and international, and we know exactly how to bypass activation (which is only a problem on never-activated phones).

I must be misunderstanding...
[Moto X General] ecs87:
I think there may be a way to solve it without disabling all updates and I can make it a one click (well...double click). All it'll need is root. Unless disabling updates is a good thing (looking at the recent trends...it kinda is).
[Moto X General] samwathegreat:
OHHH, Ok, I understand. Yeah, that would be great. We have NO REASON to not want to update, since the XT1056 bootloader is unlockable.

OK. I'm not seeing a carrier folder anywhere. The only thing I see that looks like it might be relevant is inside "persist". We have a couple folders that start with omadm. Two of them have "pridata" and "pridata-dournal" (they appear to have MIP settings inside), and the 3rd has "apnlte.props".

Is there somewhere else you would like me to look, or do you want to have a look at those files?
[Moto X General] ecs87:
Damn. I was hoping that the carrier folder was a Sprint device exclusive folder. Doesn't appear to be the case.

I should post a video of the proper fields to be filled in to stop HFA in case I wasn't clear earlier.
[Moto X General] Vivjen:
One more (security) issue: my SIM-card is not requesting PIN-code anymore even in another phone! When I'm trying to switch the option on it says "Wrong PIN code"
[Moto X General] samwathegreat:
ezeuba actually works for a telcom company, and already flashed one of his (previously activated) XT1056s to his CDMA carrier - this includes populating ALL the MIP fields - including unlocking the MIP settings (required to write the part after MEID@) to write the HA and AAA usernames as you mentioned previously. He would have had to do that to get 3G on his carrier.

He advised that he wrote those same exact settings to the (never activated) other XT1056 and it still wouldn't stop the activation nag.

It would be helpful to post a screenshot of DFS or similar, just in case he missed something...but since he successfully full-flashed the first one to HIS CDMA carrier, I doubt it. Curious, this one...
[Moto X General] Vekhez:
[GUIDE] SUCCESS!!! SIM-Unlock Sprint XT1056 (SIM-CRACK) Moto X GSM **NOW U.S...

Delete
[Moto X General] Vivjen:
Is it the same "activation nag" called "Hands Free activation" which I solved on never activated XT1056?

"To remove Hands Free Activation only need to rename two files in system/ SprintOMADM2.apk. To sprintOMADM2.apk.bak

And /system/sprintOMADM2.odbx to sprintODADM2.odbx.apk"

Source
[Moto X General] samwathegreat:
That is exactly what [MENTION=2026715]ezeuba[/MENTION] 's modified stock ROM does (except I believe he has deleted those files). The only drawback is that you probably won't be able to accept future OTA updates after modifying or deleting those files.

If you want to updates in the future you will have to put those files back to stock, take the update, then rename or delete them again afterwards.
[Moto X General] Vivjen:
I don't know why, but the modified ROM was not helpful on never activated MX. Bootloop happen
[Moto X General] ezeuba:
The modified stock ROM is running just fine on 1 already activated MOTO X (xt1056) and 2 never activated BL unlocked XT1049. All without HFA nag. Did RSD Lite throw any errors during flashing?
[Moto X General] Vivjen:
No. Just bootloop after flashing. Cloned one to another by TWRP. Both working fine now with stock FW
[Moto X General] jtquen:
Question

Does my Moto X have to be rooted or bootloader unlocked to do the SIM Unlock?
[Moto X General] samwathegreat:
No. Not if it's a sprint xt1056.
[Moto X General] hanseldom:
problemas

I try to follow step by step the post, but when I give NV connect failed item reader tells me unable to open port COM5
[Moto X General] samwathegreat:
You should have read post number 3. Unless your com port just HAPPENS to be com port number 5 on your machine as well, you haven't installed the drivers. (Notice it says "YOUR COM PORT HERE")

Also, please edit your reply and take out the entire quote of Post#2 since it is taking up a huge amount of unnecessary space now. No reason to reply to the instructions. Please click the edit button, and take the entire quote out. Thanks.
[Moto X General] bean1975:
Yes this worked, I am on 3G on the Canadian Koodo network.
[Moto X General] samwathegreat:
Yep, that has absolutely nothing to do with my SIM-Crack. Fortunately, I'm almost positive I know what the issue is.

See this thread: http://xdaforums.com/moto-x/moto-x-qa/moto-x-xt1060-issues-wifi-bluetooth-t2813308

Assuming it isn't a hardware failure, this should be able to get you fixed right up. I almost guarantee that either you or the previous owner formatted the /persist partition.

If you have any issues, post in that thread, this isn't the place to discuss WiFi failure.

Good Luck...

P.S. Thanks for your donation, as promised :good:
[Moto X General] reds28heem:
Should i have a red triangle at the top where the signal bars should be after sim unlocking
[Moto X General] samwathegreat:
Nope. You must be in the states. Read post #2 and you'll see a link to instructions on how to fix this (it's in BIG, BOLD letters). It involves using fastboot to set your config carrier.

You do this from the booloader screen (AP Fastboot Mode)

Probably you can simply type: fastboot oem config carrier T-MOB010

if that doesn't work, try one for your specific carrier as listed in that link. Worst case scenerio (if you get no signal at all afterwards), just go back to the state you are in now with: fastboot oem config carrier sprint
[Moto X General] reds28heem:
I dont have no idea on which one to use. I have a straight talk Att sim in
[Moto X General] samwathegreat:
TRY the one I listed in my last post FIRST. If that doesn't work (you are on an AT&T MVNO), so try:

fastboot oem config carrier CWS__001 (just copy/paste that into command prompt)

if that doesn't work, then try this:

fastboot oem config carrier 11111111

You will, of course have to reboot after each try back into the BL to try the next one.
[Moto X General] reds28heem:
thanks I didnt have to do anything. it just popped up after i actvaited the sim.

will I be able to manually update to the latest version android version released for the sprint moto x. its currently on 4.2.2 i just got it back from motorola
[Moto X General] samwathegreat:
Sure. Either take the OTA to 4.4.2 (should be fine), or use the manual method, while skipping the "erase modemst1/2" commands. DO NOT use RSD Lite, unless you edit the XML file and remove the two lines containing the "erase modemst" commands.

If you erase modemst1/2 partitions, or use RSD Lite without removing the commands, the sim-lock will be re-applied and you will have to repeat my entire procedure to unlock it again.

Also: check your PMs - I sent you one.
[Moto X General] reds28heem:
It's not asking me to update, says my device is currently up to date. IS there a guide on how to do it manually i cant seem to find one. and dont want to brick my phone
[Moto X General] samwathegreat:
EDIT: [MENTION=1923101]reds28heem[/MENTION] : check under Settings > About phone and make sure you aren't already on 4.4.2 --- if it says no updates are available, that would be strange if you are indeed on 4.2.2. Stranger things have happened though - if you are indeed on 4.2.2 follow my short tutorial:

I'll help you...

Download the full Sprint 4.4.2 SBF from here: http://sbf.droid-developers.org/download.php?device=0&file=846

Now (if you haven't already) install the Moto drivers from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

^You SHOULD have already done this, since you were able to use my sim-crack procedure, so this is probably unnecessary.

Next, install RSD Lite from here: https://dl.dropboxusercontent.com/u/42057363/RSDLite_v6.1.x.zip

Now take the 4.4.2 zip file you downloaded, and extract it. Next, find the XML file inside. Open it with NOTEPAD or similar. Find the 2 lines that have the words "erase modemst1" and "erase modemst2" --- erase those 2 lines COMPLETELY out of the XML file. Save the modified XML file.

Finally, open RSD Lite. Your phone needs to be in bootloader mode (AP Fastboot mode) -- you should already know how to get it in this mode since you followed my sim-crack procedure and it requires you to enter bootloader mode.

Click the 3 dots next to filename, and find where you extracted the SBF ZIP to. Select the XML file that you modified, now hit OPEN, then START. (DO NOT select the zip file - select the XML file from the folder you extracted the zip file to....)

Once finished, you should be on 4.4.2 with sim-crack intact. (If you had flashed 4.4.2 BEFORE you did the sim crack, none of this would be necessary....also you could just flash 4.4.2 normally and just re-do the sim-crack afterwards. Either will be fine.)
[Moto X General] reds28heem:
When i click start it says Fail flashing process unknown fastboot command - Got it to work, had to erase another line. Is there more to the process. My phone rebooted and loaded up but RSDLite still says in process
[Moto X General] samwathegreat:
are you sure you edited the XML with notepad, and didn't remove anything other than the entire two lines containing "erase modemst1" and "erase modemst2"? It sure sounds like you did more than that.

Sorry - my fault. You also have to remove the line saying "getvar". Use the one attached and it should work perfectly.

Here: Instead, take this pre-edited XML file, replace yours with this one, and try again.

EDIT: it won't let me upload an xml file. I've zipped it instead. Unzip the xml, replace yours with it, and NOW it will work...

EDIT2: So.... [MENTION=1923101]reds28heem[/MENTION] , were you successful?
[Moto X General] hanseldom:
thanks

thank you very much for your help, now I'm going to check that all the drivers are already installed ..
[Moto X General] samwathegreat:
Good Luck. Assuming you are able to properly install the drivers, you should be unlocked in no time. Just be sure to follow the steps exactly and precisely as shown.

:good: