yashsingh1/xdaforums huggingface dataset:
[Moto X General] mschumacher69:
[MENTION=3333955]NWKENT[/MENTION] have u managed to re-lock your bootloader yet?
[Moto X General] NWKENT:
Yes Sir..with Kit Kat 4.4..I have successfully"Unlocked", "Relocked" and "Unlocked" again..my XT1080MDEV (Droid Maxx)..No one could tell me exactly how to do it..Motorola Tech Line was absolutely NO HELP either..SO..after hours upon hours..I did figure it out..Now I'm working on "Relock" on JB 4.2.2

Sounds easy..and many have probably "Unlocked and "Relocked" on JB 4.2.2..BUT..The difficult part is once the XT1080 has been on KK 4.4..is when alot more firey hoops must be jumped thru..

ANYONE can chime in with help on this..NOT ADVICE..but proven procedures..

sent by my 4.3_14.14.14

XT1028 (aka) Moto-G
[Moto X General] flavinator:
Yes, thanks guys.
[Moto X General] edthesped:
I'm going to chime in anyway, although it is just advice...

I'm putting my own information together so that I know what I'm up against with this device. According to Motorola you need their specific version of fastboot to relock the device and not the adt version... My reading is that Motorola's fastboot is named mfastboot.exe and that is what is needed to re-lock the phone. I have yet to find an official download but found this page that links to Mfastboot,

http://motorola-g.blogspot.com/2013/12/how-to-flash-stock-rom-on-your-moto-g.html

From Motorola's recovery image site...

clipped from here...

https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images
[Moto X General] edthesped:
Okay, I can confirm mfastboot doesn't work I get a message saying run "fastboot oem lock begin" after I do that I get "ready to flash signed images"
[Moto X General] mschumacher69:
After it says "ready to flash signed images", flash a signed factory image and then run fastboot oem lock
[Moto X General] edthesped:
I just unlocked the bootloader today. I'm not ready to install another factory image. For informational purposes... Can any image be installed, say recover.img, then re-lock the bootloader or does a full wipe and re-install need to be done prior to locking the bootloader? My understanding, which is dangerously lacking, was that the bootloader could be re-locked at any time. Maybe forcing a clean install of the factory image is meant to prevent someone from injecting a malicious app into someone's phone then re-locking the bootloader to make it the phone appear to be stock??
[Moto X General] mschumacher69:
U can try, but i think u do need to flash a full factory image and erase ur cache and userdata before u can re-lock the bootloader.
[Moto X General] alpha-niner64:
This is correct. You need to erase the userdata and cache (per typical Nexus protocol) before the bootloader lets you lock it again. I personally used mfastboot because I kept getting PIV block errors with the /system partition. I did not use the BAT file that came with image cause I thought the command to reboot the bootloader intermittent is stupid. I was able to reset the phone my DE phone using these commands.

fastboot oem lock begin
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
mfastboot flash system system.img <---not a typo. you need mfastboot.exe
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase userdata
fastboot erase cache
fastboot oem lock

As explained in other threads mfastboot.exe is a tweaked fastboot that allows the flashing of bigger .img beyond the 220MB. Not sure exactly why it's important here but it worked out for me using mfastboot
[Moto X General] benjamin1492:
I also want to relock the bootloader without having to flash to stock. After unlocking the bootloader with the Chinese supplied unlock code, I rooted and turned on the native tethering app. My Droid Maxx is a BYOD, and work requires that I have Citrix Worx for Home (equivalent to Good for Enterprise) installed to receive corporate email. The security policy is setup such that rooted and / or unlocked phones cannot receive emails. After making the tethering change, I was able to completely unroot without flashing stock again. However, due to bootloader being unlocked, I still couldn't get Citrix to work.

I have tried everything to relock. Incidentally, even if I do exactly as the OP describes and reflash stock, I still can't relock the device (PIV errors when I get to "fastboot flash oem lock"). I did add "fastboot flash oem lock begin" to the beginning of the OP's script, but still no joy.
[Moto X General] mschumacher69:
You cannot re-lock without flashing back to stock first. You have to run fastboot oem lock begin, flash back to stock and then run fastboot oem lock...
[Moto X General] KidJoe:
Actually, according to Motorola's web site -> https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images the Moto Fastboot (or mfastboot) is needed.

FLASH AND RELOCK YOUR DEVICE

After downloading the image for your device:

Unzip the image.
Put your device in fastboot mode.
[B]NOTE:[/B] You must use the Motorola fastboot utility to flash (included in the Darwin/, Linux/ or Windows/ directory). Please do NOT use the Android fastboot utility
Follow the flashing steps in the .xml file that was included in the package.
A typical flashing sequence includes all these partitions, but might vary depending on your product - so [B]please use the sequence in the .xml file in your package[/B]:
[I]$ fastboot flash partition gpt.bin
$ fastboot flash motoboot motoboot.img
$ fastboot reboot-bootloader
$ fastboot flash logo logo.bin
$ fastboot flash boot boot.img
$ fastboot flash recovery recovery.img
$ fastboot flash system system.img
$ fastboot erase modemst1
$ fastboot erase modemst2
$ fastboot flash fsg fsg.mbn
$ fastboot reboot[/I]
You also have the option to erase all the data on your device with
[I]$ fastboot erase userdata
$ fastboot erase cache[/I]
After performing this sequence, you can relock your device with
[I]$ fastboot oem lock[/I]

it does not mention doing a fasboot oem lock begin.
[Moto X General] inckka:
This wokred

I needed to get rid of bootloader unlock boot screen. with this method it banished
[Moto X General] PAVU55:
preflash validation failed for gpt error

Hi,

I'm using Moto X (XT1053). I didn't put any SIM yet (no carrier), just using the mobile through WiFi. I unlocked my bootloader and tried to lock again using above steps which you mentioned.

After I type "fastboot flash partition gpt.bin", I got the below error:

preflash validation failed for gpt

downgraded security version

I continued with the remaining steps. Now something happened to my mobile, not sure what happened. After rebooting, it's still showing Bootloader Unlock message. The MotoX symbol is not displaying, instead some stripes are displaying on the screen. WiFi is not getting connected :mad:

Camera is also not working, after tapping on Camera icon some stripes screen only coming.

Can you please help me to come out of this situation.
[Moto X General] mschumacher69:
You are flashing a version lower than the one installed on ur phone. U have to flash either the same version or higher.
[Moto X General] PAVU55:
preflash validation failed for gpt error

Thanks a lot for your quick reply.

Can you please let me know what do I have to do to flash with the version which my device supports. Do I have to download another factory image or have to modify any steps.

I'll be very thankful if you explain in detailed steps.
[Moto X General] mschumacher69:
What is your System version under Settings > About phone?
[Moto X General] :
Just use this guide....the return to stock section. And as said above, you need to use the same version you are on now.

Downgrading can lead to a brick in many cases. ;)

http://xdaforums.com/showthread.php?t=2603358
[Moto X General] PAVU55:
preflash validation failed for gpt error

Hi,

My system version is 212.44.21.ghost_row.Retail.en.US
[Moto X General] mschumacher69:
Download the latest Retail US (TMO) 4.4.3 SBF.
[Moto X General] PAVU55:
preflash validation failed for gpt error

Hi,

When I'm try to download the below one, im getting error that google drive cannot be found.

MFastboot(Used for manually downgrading to 4.2.2)

https://drive.google.com/file/d/0B0d...it?usp=sharing

Do I really need the above one, beacuse it's mentioned that it will downgrade the version. I don't want to downgrade to lower version and the error which I'm getting when I'm flashing the device is the same as that the device is downgraded. Shall i continue without downloading the MFastboot to flash the device?

Can you please clarify.

Thanks in advance.
[Moto X General] mschumacher69:
Use rsdlite as per the guide below, it's much easier.

http://xdaforums.com/showthread.php?t=2446515
[Moto X General] KidJoe:
Here is a link to the windows version of mFastboot which was taken from the Moto Dev Edition "recover images" that are request-able from Motorola's site -> http://mark.cdmaforums.com/X-STUFF/mfastboot-442.zip

because the state your phone is in... if you try following the instructions... you may need to change the first few lines from...

fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin

To...

fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot reboot-bootloader
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
[Moto X General] :
[MENTION=1165307]KidJoe[/MENTION] has the right advice. Follow his instructions.

And no....never do anything that will downgrade you. You can only flash the same or higher firmware. ?
[Moto X General] emarld2011:
Nope. Just re-locking the bootloader doesn't get rid of the warning message. It stays!

Fastboot flash logo logo.bin

flashes the stock logo and replaces the warning.

That's how we get rid of it.
[Moto X General] jadeddjay:
i just relocked. bootloader says it is locked. i still get the warning, even after i flash the logo. any thoughts?
[Moto X General] KidJoe:
There are 3 states for the Moto X bootloader.

1. Locked Status Code 0

2. Unlocked Status Code 3

3. RELocked Status Code 2 (or it might be 1).

If the status is Unlocked or Relocked, you'll get the unlocked bootloader warning at boot up. And we do not have a way to toggle back to LOCKED Status Code: 0.

The only way to get rid of the warning, is flash an alternate LOGO.BIN. See -> http://mark.cdmaforums.com/MotoX-Bootlogo.htm
[Moto X General] jadeddjay:
thanks for clearing that up
[Moto X General] mschumacher69:
I think it's 1, 2 and 3...
[Moto X General] KidJoe:
Locked (from the factory) is definitely Status Code 0. (for example see -> http://www.droid-life.com/2013/08/01/moto-x-bootloader-is-locked/ )

Unlocked is Definitely 3, as I'm looking at my unlocked X right now.

I've not relocked my X, but I had seen it posted in the X section before by someone who did relock.

After a quick google search... The G and Photon Q are "Locked Status Code:2" when the bootloader has been relocked (mfastboot oem lock) , so my guess is the X is also Status Code:2 for relocked.
[Moto X General] caviera:
Always reboot to bricked recovery

After flashing Brasil Retail 4.4.4 version, it always reboot to bricked (android robot logo with exclamation mark) recovery. Only way to boot is booting to bootloader, then choose first option normal powerup.

Is there any way to fix this?

Problem solved!!: I did relock bootloader and then unlock again.
[Moto X General] GPS3:
I am having an issue re-locking the bootloader on my device. I have tried everything suggested in this thread. I am using the newest Android SDK, I have replaced the original Android SDK fastboot.exe with the the fastboot.exe included in the Motorola Recovery Images zip (https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images). I have even tried the mfastboot.exe that is floating around XDA.

I followed the flashing sequence shown in the original post exactly, more than a handful of times. I have even started the sequence with 'fastboot oem lock begin' and followed the sequence with 'fastboot oem lock'.

Verizon Moto X Developer Edition; Android 4.4.4.

Thanks in advance.
[Moto X General] :
The first consideration should be why? Having it unlocked is ideal.... And won't bother updates.

If it's for warranty, it won't help... Cause at best you will change the status to "relocked". You can't return it to "locked" status on the X. So they'll know you unlocked it no matter what you do.

?

---------- Post added at 05:05 PM ---------- Previous post was at 05:02 PM ----------

Sorry... Just read again... Developer Edition.. So you can return it unlocked anyway.

But still curious why anyone would want to relock. ?
[Moto X General] GPS3:
My plan is to sell it. If phones are anything like cars, they are easier to sell when stock.
[Moto X General] :
Well if "fastboot OEM lock" doesn't work..... I'd flash Stock (sane version you are on now... Don't downgrade) with RSDLite and sell it completely stock... And unlocked. They'll either never even know it's unlocked, or appreciate it is. ?
[Moto X General] KidJoe:
You can't get it back to "stock" if its currently unlocked.

As explained earlier in this thread (only a few posts ago), the Bootloader status will be "Re-Locked" (aka Locked Status 2), rather than the "stock" Locked Status 0.

I'd just leave it unlocked if selling.
[Moto X General] mschumacher69:
Well, re-locking doesn't make it stock... Re-flashing the stock image is as stock as it's going to ever be. You can never restore it back to its "virgin" locked state...
[Moto X General] RyuzakiLemon:
locked and can finally try to put L on my moto G

thanks guys! i finally managed to lock my bootloader and go full stock. i apreciate everything in this thread! :)
[Moto X General] pankaj.jajoria:
Did'nt work on XT1052...

fastboot giving error while flashing System.img
[Moto X General] KidJoe:
Are you using the fastboot.exe that comes with the Android SDK/Platform tools? Or the moto modified Fastboot (aka mfastboot)?

Whats the difference and where can you get mFastboot? Rather than my retyping it again... see -> http://mark.cdmaforums.com/MotoX-mFastboot.htm
[Moto X General] pankaj.jajoria:
oops sry..i use fastboot.exe instead of mfastboot.exe....will try again with mfastboot.exe and report here. :)
[Moto X General] Susovit:
The original files Required are missing

The original files Required are missing, google drive link
[TouchPad Q&A, Help & Troubleshooting] Stryeguy:
At the risk of sounding like a complete n00b, I come to you all with an issue I'm experiencing. I know it's an operator error, so bear with me;

I just recently flashed Milaq's KK build. I increased the /system partition using the new CWM w/ data/media to 512 mbs. Everything is running well, but all the apps I install are installed to the internal memory, which maxes out around 1.4 gbs. My question is, how do I make the default install location the virtual ext SD card?

I hope this makes a bit of sense to you all - because I'm about to pull my hair out here.

Thanks for any/all input on my current situation.
[TouchPad Q&A, Help & Troubleshooting] woodytrain:
I understood the partition/directory structure in my previous CM7/CM9 installs.

But with the new datamedia storage configuration I'm confused to all the various labels for the memory storage areas.

I've read the document at http://teamw.in/DataMedia

but the situation is still not very transparent.

• Under Android settings I see "Internal Storage" and "SD Card" and "USB Storage".

• In ES File Explorer I observe:

/sdcard ->

/external_sd -> /storage/sdcard1

/usbdisk -> /storage/usbdisk

/storage/emulated

/storage/sdcard0 ->

/storage/sdcard1

/storage/usbdisk

• In X-plore I also observe:

/storage/0

/storage/legacy

• CM File Manager app top level directory is labeled as "0":

It appears there is various crossover in directory mappings. Is there a definitive guide as to the partitions, directory structures/mappings and symlinks that apply to the above memory areas. There is already enough contradictory posts in various development threads on this so not asking for assumptions/presumptions. Hoping to hear from an expert/developer who knows this stuff on back of their thumb.

And what controls/manages where new apps are installed?
[TouchPad Q&A, Help & Troubleshooting] lbwhitney:
Good Question I also would like to know
[TouchPad Q&A, Help & Troubleshooting] Stryeguy:
While looking around the internet, I found this as a potential option;

In terminal;

su

pm set-install-location 2

I attempted it, but haven't noticed any difference.

/bangshead/
[TouchPad Q&A, Help & Troubleshooting] jsgraphicart:
I think you are looking at this wrong. Instead of making Android use the external storage by default, you just need to make the data partition bigger and use that as your default storage. Milaq himself suggested this partition layout:

system - 600mb

cache - 200mb

media - 400mb

data - [remaining space] (i.e. ~11.5gb for 16gb TouchPads)

If you are going to go with Milaqs builds, The best way to do it is to move all your stuff from your sd card to your computer, wipe your sd card, use tailor in webOS to repartition to match what Milaq suggested and move all your stuff back onto your device in, I think, the sdcard0 folder (which should now have the majority of the space).
[TouchPad Q&A, Help & Troubleshooting] Stryeguy:
Thank you for your response - it was exactly what I was looking for. I knew I was overlooking a step.

I'll get around to doing that tonight.

Again, thanks so much.

:cheers:
[TouchPad Q&A, Help & Troubleshooting] guxu:
I had the same question. But I just used tailor to resize the partitions. If it says file system error, let it fix it. As long as there are free space, all your files will stay.
[TouchPad Q&A, Help & Troubleshooting] Stryeguy:
Just posting a follow up;

Installed Tailor and repartitioned as per Milaq's instructions, and everything is working as it should be.

Thanks for the help, guys. Glad to know it was just my reading skills that were lacking. :P
[Samsung Galaxy Core.] zrox:
this is my first share to you guys..this is just only collection of xposed installer modules ive used so far..gve credits to the developers of this apps specially the creator of xposed....

1. xbackground: nah its self xplanatory

2.xbattery themer: nah you already know it

3.xquicktoggles settngs: you can choose a lot of toggles and theming

4.aosp lockscreen: my fave lockscreen

5:kitkat toast: awsome toast notification

6.smooth progress bar: try it :D

im just in mobile mode so sorry for the mess credits goes to all developers of this apps, to you and xda family :D

simple thanks wud make me happy :D

https://db.tt/xtjXsyJg

https://db.tt/cKolSCPp

https://db.tt/CFJQ6LEN

https://db.tt/Rt2VvncM

https://db.tt/NbajjDoa

send from my powerful core
[Samsung Galaxy Core.] zrox:
aosp lock

send from my powerful core
[Samsung Galaxy Core.] zrox:
kitkat notif toast

send from my powerful core
[Samsung Galaxy Core.] kadaz.d.blue:
Can you give me link of xposed framework ?

And how to install it ?
[Samsung Galaxy Core.] zrox:
http://xdaforums.com/showthread.php?t=1574401 press thanx if i help you :D

send from my powerful core
[Samsung Galaxy Core.] Martin Ebenezer:
More Mods

Try Gravity Box & XuiMOD.. They are simply awesome..!!
[Samsung Galaxy Core.] zrox:
i hve also xuimod bt not all the functions are working same to xblast...its very laggy

send from my powerful core
[Samsung Galaxy Core.] vukhai:
how to shot screen on the Galaxy Core :D
[Samsung Galaxy Core.] Martin Ebenezer:
Press home key and power key simultaneously..!!
[Samsung Galaxy Core.] helmiau:
Its my xposed..
[Samsung Galaxy Core.] zrox:
simple minimalist theme

send from my powerful core
[Samsung Galaxy Core.] kadaz.d.blue:
zrox i have a questions .

how to reset all of the module changes .?

i'm using xbackground and i have make a mistake .

i had reinstall the xbackground but the mistake still happenn .
[Samsung Galaxy Core.] zrox:
i dont get it but try clear data of that apk
[Samsung Galaxy Core.] kadaz.d.blue:
allready dobe it .
[Samsung Galaxy Core.] ajithms:
My collection of the modules

I just fell in love with the xpose and its powerful modules and after some research got this list. i would have liked if i could find such list so i am making one list. this post helped me to start so i thank the author.

1. xbackground, xbattery themer, xquicktoggles settngs, aosp lockscreen: these are already mentioned

1. xthemer app

not all themes work so the touch wiz modded themes can be found here.

http://xdaforums.com/showthread.php?t=2360755

2. minminguard to remove ads

http://xdaforums.com/showthread.php?t=2597332

3. the best of bunch is xhalofloatingwindow to get multi window and halo like multi tasking and notification .

http://xdaforums.com/show....php?t=2419287

Floating Notifications Guide by -Cupper-

http://xdaforums.com/show...php?p=45627718

4. xposed additions to assign different function to physical buttons

https://play.google.com/store/apps/details?id=com.spazedog.xposed.additionsgb.pro

5. master key multi fix

https://play.google.com/store/apps/details?id=tungstwenty.xposed.masterkeydualfix

6. boot manager

https://play.google.com/store/apps/details?id=de.defim.apk.bootmanager

7. android phone vibrator

https://play.google.com/store/apps/details?id=com.gzplanet.xposed.xperiaphonevibrator

8.Tinted Status Bar [BETA 7... It also allows you to have the KitKat gradient on devices that support this module, use 66000000 as the color to achieve that.

http://xdaforums.com/showthread.php?t=2457265

9. after installing the aosp lockscreen try xlocky.

http://xdaforums.com/showthread.php?t=2370394

10. X Quick Settings Toggles themer

http://xdaforums.com/showthread.php?t=2363953

11. greenify app.

i made this list because many of the modules does not work with stock rom. so hope this will help.

12. Xposed Statusbar Mods for touch wiz

http://xdaforums.com/showthread.php?t=2546180

Gravity Box & XuiMOD and xblast..... does not work fully, in fact many functions does not work and makes phone laggy, but do try it out as some good features are there. i am not using them.

hope this list helps you and you get addicted with xpose installer as i have. till we gwt a custom rom, mod your core with these modules.....

ENJOY :laugh::):):)
[Samsung Galaxy Core.] The_Rencis:
[MENTION=5317263]zrox[/MENTION] show your lockscreen with play music running.
[Samsung Galaxy Core.] zrox:
here you go
[Samsung Galaxy Core.] prav3955:
Superb collection
[Samsung Galaxy Core.] The_Rencis:
Thank you dude!
[Samsung Galaxy Core.] zrox:
but the remaining xposed i have is only the lockscreen..
[Upgrading, Modifying and Unlocking] rcaridade:
Hi,

I've QTEK9090.nb1 ROM full backup, and wnat to restore from SD and allways say "Not Allow". Even changing the first 416 bytes.

How can I extract the 3 images inside nb1 file, Radio, CE Rom and extended ROM?

Is there a tool to do so?

I need to put the Qtek back as the original.

I upgrade to Windows Mobile 2005, but it's too slowm so I want to put it back.

With MaUpgradeUt_noID.exe I can flash any rom, but can flash my own.

I need to extract from qtek9090.nb1 the files: ms_.nbf, nk.nbf and radio_.nbf.

How can I do it?

Thanks,

rmc