yashsingh1/xdaforums huggingface dataset:
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Fixing sticky bit factory_fastboot/Stuck in AP Fastboot

----------------------------------------------------------------------------------

MFASTBOOT SETUP

----------------------------------------------------------------------------------

For easy use

Windows Set-Up

Mfastboot does work with both Linux & Mac

Download Mfastboot [MIRROR]

Extract contents into a folder and place it into your Local Disk (C:)

[COLOR="Red"]Example[/COLOR] - [I]C:/ANDROID/Mfastboot[/I]

Open start menu and type CMD

Right click on CMD > select copy

Paste into Mfastboot folder

Finished

Motorola uses the command fb_mode_set to insure that your device will reboot into AP fastboot to avoid any problems while flashing firmware.

To clear this we need to do the following:

While in AP fastboot, connect your device to your PC

Open the command.exe you pasted to Mfastboot folder, then [TYPE]

fastboot oem fb_mode_clear

Tap [ENTER]

When finished [TYPE]

mfastboot reboot

Tap [ENTER]

PROFIT!
[Droid RAZR M Q&A, Help & Troubleshooting] just_guy:
That Worked My Phone Boots up Perfect, Now Can We Discuss How To Get CM Rom On My Phone?

You Have Really Made My Life Easier! THANK YOU
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
With the firmware version you have, you can not unlock your bootloader. Which means you can not flash custom ROMs. Your stuck on stock firmware. No exceptions.

Sent from my XT1031™
[Droid RAZR M Q&A, Help & Troubleshooting] just_guy:
i have been reading on xda site people keep saying the bootloader has finally been able to be unlocked, cant i flash a different one on my phone and make it work, i have seen other people on youtube with cm on their razor m, granted i dont have the skill they have but i can totally follow instructions,

i found a link on xda that says this [How-To][tutorial] Bootloader Unlock, Custom Recovery Razr M, cant i flash a different oem to make it work persay?
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Older bootloader versions could be unlocked.

Bootloader cannot be downgraded.
[Droid RAZR M Q&A, Help & Troubleshooting] just_guy:
thats heart breaking truely
[Droid RAZR M Q&A, Help & Troubleshooting] frostfy:
CpuSpy shows thats all good. In safe mode same situation.

Kernel:

3.4.42-g5170b6b

dbbuild@ca88lnxdroid25 #1

Fri May 2 00:30"06 PDT 2014
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
What steps did you use to flash?

Filenames?

Factory reset?
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Is bootloader unlocked?

That version should still be unlockable

If you want.
[Droid RAZR M Q&A, Help & Troubleshooting] frostfy:
Flash by custom recovery and by RSD. No meter what firmware i flash (v 4.4.2) result same all time. If i flash android 5.* phone crash at start with mistakes "com.android has stopped"

Device is unlocked and rooted
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
You checked firmware's md5? Or at least file size?
[Droid RAZR M Q&A, Help & Troubleshooting] frostfy:
Yes
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
There may be a problem with your device and RSDLite, try flashing the stock firmware with "House of Moto" and see what the results are.

Sent from my XT1031™
[Droid RAZR M Q&A, Help & Troubleshooting] frostfy:
Do this but result same. Guys from 4pda said that they have same problem - it's hardware
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
So I just bought another Razr M since I made the error of taking the last OTA without unlocking the BL. This one is on 4.1.2 (98.14.94). I assumed the unlocking would work on it, but it seems Motopocalypse only worked for the versions before this one and then again for 183.46.10. Is this correct?

So I need to take the OTA to .10 (or flash it) so I can finally unlock the BL?

I've also read it the OTA may not work if rooted, which I obviously had to do, so do I need to unroot and then take the OTA or would I just be better off d/l RSD and the stock firmware?

If better to flash I want VZW_XT907_4.4.2-KDA20.62-10.1_CFC_1FF.xml.zip, correct?

I was upset with some of the changes stock KK brought to the M though I learned to live with them until .15 destroyed my battery life. Now that I can root it Greenify and such have helped but it's still nowhere near as good as it had been prior. I may downgrade back to 4.1.2 or may play with CyanogenMod, etc. Are any of the stable builds truly stable in terms of audio, camera, GPS, signal strength, etc.? I'd doubt it on Lollipop but any of the JB or KK versions truly solid daily drivers?
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
I would flash the VZW_XT907_4.4.2-KDA20.62-10.1_CFC_1FF.xml.zip with RSD Lite

It will wipe the root changes, and factory reset.

As to the rest, maybe one of the others will comment.
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
Profit!

Now to decide whether to go back to JB or try a cutom ROM.
[Droid RAZR M Q&A, Help & Troubleshooting] Protonus:
Hey folks, I was given one of these phones (XT907) to work on (friend of a friend). I'm familiar with Android hacking (been on here since 2008), but not with this specific phone.

The phone is not booting into Android. It sticks at the red eye boot animation forever. I am able to get into factory recovery, etc. The phone is "stock" - it is not unlocked, rooted, etc. It is running Verizon OEM software. I do not know exactly what build it is on (or version of Android). I am able to get into Factory Recovery and boot menu. Clearing cache did not help. I have not tried anything further yet. The owner thinks this started happening after he tried disabling / uninstalling a bunch of apps (perhaps system apps as well) in an effort to "speed up" the phone.

The owner of this phone has one request only - he wants me to get his contacts off it. This is critical to him and is the whole reason I have the phone right now. Unfortunately he was saving contacts to Phone, not to SIM or to his Google Account, and he was not doing cloud backups. So to get his contacts off, I need to access the internal storage. This means doing a Factory Data Reset, or any methods that do, is out.

I can see there are methods of using Fastboot etc, to re-flash the factory firmware which I'm sure would fix this. However, it appears from the guides I've read thus far, that all of these methods I've seen, will wipe the user data partition as part of their installation. I do believe however, that installing a factory update would likely fix this, if the problem is a missing app.

So my question I suppose is simple - is there a way to install a factory ROM overtop (ie an upgrade) of what's there, that won't wipe the user data partition; or a way to recover the contacts database off it, without it booting?

Thanks in advance.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Power off device, hold volume down, power on.

Post complete text on AP Fastboot screen
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
Should be able to flash the system.img from the .10 or .15 factory firmware to get the device to boot. Just don't wipe user data.

Sent from my XT1031™
[Droid RAZR M Q&A, Help & Troubleshooting] Protonus:
Big thanks to both of you for replying so fast!

From this, I'm hoping you can tell what OEM firmware image it's running?

AP Fastboot Flash Mode (S)
10.9B(*) (sha-61146a2, 2014-07-29 06:20:44)
eMMC Info: Size 8GB

Device is LOCKED. Status Code: 0

Battery OK

Connect USB
Data Cable

Fastboot Reason: Key pressed

I figured (hoped) something like that would be possible. From the above text, can you tell if I should try the .10 or .15 firmware? I know rolling backwards on many locked / Verizon / OEM devices is a no no.

I'm assuming I'd flash using Fastboot? Just since I'm unfamiliar with nomenclature and firmwares for this device, could I be that guy and ask for a link to the file (and guide) you'd recommend a noob to this device, like myself use? Thanks in advance.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
You have the July 2014 kernel, so bootloader can not be unlocked.

The safe option should be the .15 version.

Use Mfastboot (Motorola version)

extract/unzip VZW_XT907_4.4.2-KDA20.62-15.1_CFC_1FF.xml.zip

mfastboot flash system system.img
mfastboot reboot

for more see [GUIDE][FAQ][KK] How to Root, Boot Unlock & More

MFASTBOOT SETUP and 4. RESTORING / UPGRADING STOCK FIRMWARE

VZW_XT907_4.4.2-KDA20.62-15.1_CFC_1FF.xml: ( 07/30/2014 21:54:44)

http://motofirmware.center/files/category/48-droid-razr-m/

http://www.filefactory.com/file/sewdgwy9gql/VZW_XT907_4.4.2-KDA20.62-15.1_CFC_1FF.xml.zip

https://mega.co.nz/#F!MdQGCKLT!0MPZ_xZcZkmXQZ6cGZ8HhA
[Droid RAZR M Q&A, Help & Troubleshooting] Protonus:
Yay!

Thanks guys, that worked perfectly! Shadow you have a donation incoming. [MENTION=4427492]ATTACK[/MENTION] if you have a paypal email you care to share, I'd be happy to do the same for you.
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
Cool - I'm happy you got it up and running. You should recommend, to your friends friend, that he invest in an address book just in case he runs into this problem again.

Also - I do appreciate your offer of a donation, but please donate to a charity of your choice, as they need it more then I.[emoji106]

Sent from my XT1031™
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
Can anyone verify that Android 4.1.2 Blur_Version.98.30.1.XT907.Verizon.en.US from the defunct sbf site that's referred to in the downdgrade KK to JB thread is exactly the same as VRZ_XT907_9.8.1Q-94-1_CFC.xml.zip from drdevs FXZ site?

Also I assume if this downgrade for M is possible I could do the same for an XT926 (assuming I edit the XML file of it's JB ROM appropriately)?
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
That should be correct.

MD5 I have is : F74073FF0F66AC3C3C4A0F038DD29A1D
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
Does unlocking the bl somehow disable the mobile hotspot? I haven't tried the new unlocked M yet but the HD doesn't even show that it's checking my subscription status like my locked M does. HD and new M are running what I assume is stock .10 KK.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Shouldn't matter, using same sim in both?
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
Yes.
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
I'm back home again now and the unlocked M does the hotspot just like my original so maybe the HD isn't stock after all though they have the same build number and date (though the time is different). It had .10 when I got it so I just unlocked it, though I note now that it doesn't have some apps such as the several from Amazon that the M does. It does have the mobile hotspot app and I see VZWEntitlementServices.apk in the priv-app directory. Should I try to reflash .10 or try something else?
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
You could reflash, probably the best option, or you could remove/edit some of the extra settings used to block those with unlimited data plans.

requires root, and a root browser/file manager

in /system/build.prop add line

ro.mot.tether_dun_required=0
ro.tether.denied=false
net.tethering.noprovisioning=true

save changes

remove or change file extension (.bat) apps from

/system/priv-app

VzwEntitlementService.apk
VZWEntitlementService.odex

reboot

see 6. VZW HOTSPOT / WIRELESS TETHER HACK
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
Since 98.18.78 baseband is the only you listed in your Index thread, is that one considered to have the best overall reception/stability? I'd swear my signal was better on JB, but I have no proof of that since I didn't look at the actual numbers, just the bars for cell/wifi signal.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Others have also complained about the Katkat baseband, but I'm not sure which is better.

The 98.18.78 is the only baseband specific thread, that I know of.

Maybe others will comment on this.
[Droid RAZR M Q&A, Help & Troubleshooting] Arslan.iqb:
Hello XDA Team and Members

I'm in trouble guys. I have an Droid RAZR m Xt907 Mobile Running on Following

System Version : 183.46.15

Android version : 4.4.2

Kernel : 3.4.42-gbd361ac dbbuild@Calnxdroid25 #1. Jul 29

---------------------------------------------------------------

I have rooted my device with Following Method

http://xdaforums.com/droi...46-15-t3030852

Everything was okay I ve rooted device but the problem occur when I tried to access recovery mode...I ve tried everything pressed up down power keys ..pressed up + power...pressed down+power nothing works for me.I installed ROM manager and I was surprised to see I ve two recovery installed in my mobile.in Rom manager I booted my device in recovery mode but again I land on lock screen.After trying everything I decided to give a try to TWRP manager and this also showed me I have already installed TWRP.I booted my device into recovery mode from TWRP menu.And This time I got this error

Device is Locked

Connect USB

Data Cable

Fastboot Reason : Failed Recovery blabla.....

----------------------------------------------------

It is because I have an strong kernal?

Is there any possible solution?

I was dying to install 5.1 but I stucked upon this...Please XDA Team I Am expecting a quick solution....

If it is due to kernal version is there any possible way to install an old stable kernal? Is it possible to install custom ROM?please give me a solution
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
No custom recovery, for that kernel.

No, custom Roms.

No downgrading.
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
You're stuck with only root with that version/kernel. Highly unlikely you'll ever be able to unlock the bootloader. About the only thing you can play with is a bootstrapped CMW to try some mods.

http://xdaforums.com/droid-razr-hd/development/cwm-recovery-locked-183-46-15-deodex-t3070499
[Droid RAZR M Q&A, Help & Troubleshooting] Arslan.iqb:
Okay Fine I got it .. but is their any way possible to make my recovery mode work?I even can't restore my mobile to factory settings I he tried all ways to restore but in vain...when I reset mobile reboot and stucked on flash fast boot....I'm getting this error

Device is locked

Failed to hab check for recovery

Fastboot reason: boot failur

...I don't want to install custom rom by at least I want to reset
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
Have you tried re-flashing the stock recovery.img with mfastboot?

If you have, did you receive any errors?

If so, please list them here.

Sent from my XT1031
[Droid RAZR M Q&A, Help & Troubleshooting] Arslan.iqb:
ONE question... how I can re flash when I can't run my device in fastboot mode?I am getting same error don't know what's wrong
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
So - that's a no.

Where are you seeing the text "Device is locked"?

Typically that is only displayed on the APfastboot screen.

Sent from my XT1031
[Droid RAZR M Q&A, Help & Troubleshooting] newbie_developers:
Is there any hope you guys will ever find a way to unlock boot loader??

Is there any hope you guys will ever find a way to unlock boot loader?? I am dying to install custom roms on my Motorola XT907 but unfortunately my firmware is 183.46.15 :( :(
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Hope really has nothing to do with it.

If someone finds a way to unlock the Bootloader, it will be posted, when they are ready to share.
[Droid RAZR M Q&A, Help & Troubleshooting] hisham12392:
i cant unlock boot loader. :(

guys i need your help i am noob with this and i am trying so hard and no success. i have Xt907 Stock rom and rooted, i am runing android 4.1.2 and my system version in 98.30.1.Xt907.Verizon.en.Us and kernal version is 3.0.31 date is sep 26 2013. Build Number is 9.8.1Q-94-1 . i tried motopocalypse and gives trust zone error.. i dont know what to do .. help will be appritiated.. thank you guys
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
I think it only works with 4.4.2 but make sure you get the .10 to flash and NOT the .15 to upgrade and then use Moto. That's what I had to do recently though my 4.1.2 was a newer version than yours. See posts #85-86 earlier in this thread. I also used the zip version of moto as the apk version didn't seem to work as I recall.
[Droid RAZR M Q&A, Help & Troubleshooting] topshot:
Rather than answer your PM directly, I'm putting it here. Everything you need to do is listed in this post.

Make sure you have the Motorola drivers installed and a Motorola USB cable or equivalent (see requirements section at the top of that post).

You'll need to upgrade your firmware (Guide #4) to 183.46.10. The CFC version wipes the data, too, from what I gather so that is the one I used. I used Option #1 (RSD lite) in that guide.

Then unlock using Guide #2. I used the website version of Motopocalypse.

If you can't follow the directions on that post I can't help you further.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
If you haven't flashed the firmware yet here are some more detailed instructions

Download VZW_XT907_4.4.2-KDA20.62-10.1_CFC_1FF.xml.zip

and RSD Lite and Moto Drivers

See basic RSD Lite instructions and video here

If you see any errors in RSD lite or on the phone, post them here, before proceeding.
[Droid RAZR M Q&A, Help & Troubleshooting] newbie_developers:
Can I install CM12.1 with locked bootloader using SafeStrap

I read somewhere that safestrap is an alternative for locked bootloaders that can't be unlocked. I have Motorola XT907 (183.46.15) with locked bootloader. If it's possible to install CM12.1 using safestrap. Please write a tutorial. Thanks in advance
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
This quote pretty much says it all.
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
Bootloop? I think.

Was playing a game on my phone yesterday, phone suddenly shut off which it had done in the past, so I didn't think anything of it -- Likely the result of using the RAM at full capacity. Anyway. A reboot didn't help. At first I was able to boot into recovery mode, go through all of TWRPs options and such. But eventually got to the point where it wouldn't load past the "Unlocked Bootloader" screen nor the main "TEAMWIN" recovery screen. I'm able to boot into Fastboot, though my MAC doesn't recognize it when it is. However, it does recognize it when it's at the main TEAMWIN recovery screen though I haven't tried any commands aside from "adb reboot-bootloader" and "adb reboot recovery" ..which did nothing. adb would just hang.

Any help?

Running a Droid Razr M with what was CyanogenMod 12, rooted with an unlocked bootloader.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Does and such include factory reset in twrp?
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
It did, but I can't get past the main "TEAMWIN" screen anymore for some reason. It just hangs. Same when I plug it in to charge. It'll be completely dead, then after I plug it in for about 10 minutes, the "Unlocked Bootloader" screen will come up and hang, and won't actually get to the screen displaying that it's charging
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
Sometimes twrp supports charging.

Try charging in twrp.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
A dead battery can prevent ROM from booting
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
Will try and post back in a bit. Kudos for the quick response
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
Left in plugged in for about a half hour, same thing. AP Fastboot shows the battery is "OK" though doesn't actually give a percentage or anything. Rebooted into recovery several times, tried to boot it normally but the same thing as before is happening.

At the frozen "TEAMWIN" screen, I'm able to push and pull files -- just copied my entire /data directory, thought it was all lost. Whew.

Anyway, can I re-flash the ROM using the push method?
[Droid RAZR M Q&A, Help & Troubleshooting] rahimali:
Since you can boot into fastboot mode without issue why not boot into it and RSD flash stock ROM and start afresh. You have nothing to worry about because your bootloader is unlocked
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
Well, I can boot into AP Fastboot, though the device isn't recognized by my computer when it is -- only when it's at that frozen TEAMWIN screen does it show up
[Droid RAZR M Q&A, Help & Troubleshooting] Bigjohn_S:
HA.

work stuff... but now, finally getting to this.

The firmware you say to download - when I click the motofirwarecenter link - says "prepaid" firmware:

Sofware Version: smq_vzw_prepaid-user 4.4.2 KPA20.10.1 10 release-keysSM_BP_101031.042.32.86P

this is on a post-pay plan. Just want to check before I screw the phone up more than it is.
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
you didn't scroll down.

but the prepaid luge file works fine, it's what is on my xt907 and works fine with Verizon reg account.
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
Alright. So. This is what I'm working with now.

Phone no longer goes into recovery whatsoever, not even the screen it was originally hanging on. It only gets to the "Unlocked Bootloader" screen and hangs. This is a result of trying to flash a recovery image while in AP Fastboot mode (fastboot flash recovery image.img.) Tried it two times each with two different recovery programs, twrp and CWM. Neither will boot into recovery mode.

To get more direct with someone's response earlier -- isn't RSD a Windows specific program? Are there any OSX alternatives?

Edit: I received this message when trying to flash both recovery images

(bootloader) Variable not supported!

Somehow, I feel like that's relevant.
[Droid RAZR M Q&A, Help & Troubleshooting] rahimali:
Found this on Google -> http://xdaforums.com/showthread.php?t=1165672

and this -> http://xdaforums.com/showthread.php?t=1263009
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
neither of those work with xml.zips

try mfastboot. exe works with windows/Linux/Mac

instructions in

[GUIDE][FAQ][KK] How to Root, Boot Unlock & More
[Droid RAZR M Q&A, Help & Troubleshooting] Bigjohn_S:
I used the one below it -

and it WORKED!

My son's girlfriend will be very happy - she's been using an iphone4...
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
ProoN@Mystery:mfastboot-v2% ./osx-fastboot flash recovery twrp.img

(bootloader) Variable not supported!

target max-download-size: 30MB

sending 'recovery' (7594 KB)...

OKAY [ 0.603s]

writing 'recovery'...

OKAY [ 2.081s]

finished. total time: 2.684s

ProoN@Mystery:mfastboot-v2%

It appears to be writing, though I still can't get past the Unlocked Bootloader screen when trying to boot up normally and into recovery. I can only boot into AP Fastboot mode at this point. adb doesn't recognize it when it's connected, only AP Fastboot.

Trying to keep it powered on as little as possible given it likely won't charge if it runs out of juice. Meh
[Droid RAZR M Q&A, Help & Troubleshooting] ATTACK:
Flash the system and boot img's with mfastboot.

Sent from my XT1031
[Droid RAZR M Q&A, Help & Troubleshooting] ProoN:
Where do I find the correct ones for my phone?

This is what I was running before the crash
[Droid RAZR M Q&A, Help & Troubleshooting] shanicoolest:
I have the same problem of xt907 hang at startup. need my contacts have no backup. I am trying but I can not flash system.img.

here is error

C:\mfastboot>mfastboot flash system system.img

(bootloader) Variable not supported!

target max-download-size: 30MB

Multi-Flash is enabled!

sending 'system' (30720 KB)...

OKAY [ 2.654s]

writing 'system'...

(bootloader) Failed to erase partition

FAILED (remote failure)

finished. total time: 4.467s

C:\mfastboot>
[Droid RAZR M Q&A, Help & Troubleshooting] sd_shadow:
you don't sync contact with contacts. google.com ?

what AP Fastboot version with date?
[Droid RAZR M Q&A, Help & Troubleshooting] shanicoolest:
nothing was sync :(

here it is

AP Fastboot Flash Mode (S)
10.9B(*) (sha-61146a2, 2014-07-29 02:30:05)
eMMC Info: Size 8GB

Device is LOCKED. Status Code: 0

Battery OK

Connect USB
Data Cable

Fastboot Reason: Boot menu selected