yashsingh1/xdaforums huggingface dataset:
[Moto X Q&A] KidJoe:
did you follow the instructions EXACTLY? unzip the SBF, open its XML, use mFASTBOOT to flash each part as the XML says, IMMEDIATELY followed by fastboot oem lock?

and actually, looking at the moto instructions I copied... after fastboot flash fsg fsg.mbn it tells you to fastboot reboot.. DON'T... try the fasboot oem lock right there.

If that doesn't work... pop over to the thread about RELOCKING -> http://xdaforums.com/moto-x/general/noob-guide-unroot-relock-bootloader-vzw-t2571786 and post over there... see if you get help. You'll have to be in a proper locked state to properly unlock.
[Moto X Q&A] gitit20:
Thanks for this simple guide lol I bought my moto x on ebay so no warranty anyways...

Also wanted to ad you may want to put in the OP you need to be at least 50% charged to do this :P I had a mild panic till I saw the command prompt say Battery Low then failed lol I had forgot that FB is picky about that and for good reason...
[Moto X Q&A] dobbs3x:
Does this method work with 4.4.3 unlocked boot loader?

UPDATE** I was able to flash twrp via fastboot (not mfastboot) and then install supersu version 2.01 no problem.
[Moto X Q&A] :
Yup
[Moto X Q&A] James4.0:
I am getting ready to take the OTA. I ma unlocked, TWRP and installed Xposed.

So to take the updated, I need to uninstall Xposed and then flash " fastboot flash recovery recovery.img" right?

My backup would be to flash back to stock which includes a device wipe right?
[Moto X Q&A] pvinodnayak:
Sprint Moto X

Will this work on a Sprint Moto X ? i just need to get the CDMA sim to work. Please advice, thanks
[Moto X Q&A] KidJoe:
This will work to Bootloader Unlock and Root any X that is capable of having its bootloader unlocked. This includes sprint.

This does NOT Sim Unlock. To Sim Unlock see -> http://xdaforums.com/moto-x/general/guide-success-sim-unlock-sprint-xt1056-t2825155

And CDMA does not use SIM.
[Moto X Q&A] pvinodnayak:
I meant CDMA OMH Or RUIM. Sorry.
[Moto X Q&A] KidJoe:
A couple comments on your post

You start off mentioning having a Verizon Dev Ed, but not using the Chinese middle man.. Correct. The only time the China Middleman is needed is when you have a phone Motorola will NOT give the Bootloader Unlock code out for (i.e. ATT, Republic Wireless, Non-Dev Edition Verizon). If you have a Dev Edition (GSM or for Verizon), GSM Unlocked, Sprint, Rogers Wireless, and others. Moto will give you the code for FREE on their web site.

And you only needed to request the unlock code ONCE. So if you were already bootloader and unlocked, either the China Middleman or the Moto Web site is not needed. The bootloader wont relock unless you go through the process and manually fasboot oem lock it. If you do manage to manually relock the bootloader, the same code you had will unlock it again.

If you are suggesting to download the FXZ/SBF of 4.4.4 and flash it, that only works if/when the FXZ/SBF has leaked for your phone/carrier.

You and I have Verizon. We are luck that the 4.4.4 FXZ leaked as early as it did. For ATT, T-Mo, Republic, and the Non-USA variant X (think XT1052 and others), the full FXZ hasn't leaked yet.

For new users who have only unlocked their bootloaders, flashed TWRP and rooted, then only make use of apps like RootExplorer, QuickBoot(reboot), Adfree, Wifi Tether for Root, etc.. that do NOT modify /System, the easiest way to take the OTA is to...

download the SBF/FXZ for your carrier and the Software Version currently on your phone from http://sbf.droid-developers.org/phone.php?device=0 Do NOT use a lower Software Version, or the SBF/FXZ for another carrier or you will risk bricking your phone!!!

unzip it.

boot the phone into fastbootAP/bootloader mode

use mfastboot to flash the recovery.img to your phone - mfastboot flash recovery recovery.img

immediately reboot into fastbootAP/bootloader - mfastboot reboot-bootloader

select recovery.

once you've entered stock recovery, you can reboot back into normal system.

take the OTA when it gets to your phone.

you will likely remain rooted, and its optional to flash your custom recovery back on there via mFastboot

However, if you are running Xposed, did a wifi tethering hack, edited build.prop, DELETED bloat from your phone, your phone will fail the OTA Update's validation checks and it will fail. In that case, you can boot back into fasbootAP/Bootloader mode, use mfastboot to flash system.img (mfastboot flash system.img ) from the SBF/FXZ you already downloaded and unzipped. then reboot ( mfastboot reboot ), and try the OTA again. You will need to re-root by flashing custom recovery (like twrp), and re-install SuperSU
[Moto X Q&A] ATechGuy:
I guess we just lucked out with VZW this time - doesn't seem to be that way often

FWIW, I really like your Mark_Venture site. It was VERY helpful. Thanks for your clarification above. Not all newbs like me know you can just unzip those packages and find a system.img and recovery.img. I think when one understands the packaging more, and gets to know the file naming conventions, it becomes a lot simpler to understand the whole process. The other thing that was had to know was whether TWRP had any problems booting with 4.4.4, but in some ways, I can believe it's independent of the system.img version. I know others were wondering about that as well, and at least for now, the 2.7.1.1 seems to work brilliantly.
[Moto X Q&A] KidJoe:
Yes. The process in the OP of this thread still works great to root when your bootload is unlocked, even with the newer ROM updates...

The only changes to the OP would be...

Download the latest TWRP Recovery from -> http://teamw.in/project/twrp2/234 (under the Download-Fastboot heading) and the latest SuperSU from -> http://download.chainfire.eu/supersu or the latest CWM / TWRP / MobileODIN installable ZIP from http://xdaforums.com/showthread.php?t=1538053

and use them while following the instructions.
[LG G Flex] PhantomThiefX:
So I am newer to the development for custom recoveries for LG phones. Knowing that the loki is still locked it doesn't mean we can't start working on some new ROM's and the custom recoveries for the phone. So I thought I would open this up so that we can start working on it together on what we are all waiting for: custom recovery with a cool ROM and modding some of the features and apks that came with the phone (quick remote, q slide, etc.).

I am starting with the TWRP and CM that have been made for the G2 in the hopes that it won't take as long to develop. Would making a repo on github be the easiest way to host the code and have source control? I look forward to working and learning from those who choose to participate.

-PhantomThiefX
[LG G Flex] jsho31:
Might wanna spell "custom" right. Lol not trying to be an A-hole.
[LG G Flex] jaybizza:
That would be the way to go!! I would love to help out but unfortunately my knowledge is nill when it comes to custom recoveries and such!! But count me in if a tester(guinea pig) is needed for testing! Whatever gets us closer to having a working recovery!! Count me IN!!!
[LG G Flex] antiochasylum:
The custom recovery is not possible at the moment with a locked bootloader, and unless it gets FreeGee or Loki a custom recovery won't be possible, unless you have safestrap. Which you'll need [MENTION=4243514]Hashcode[/MENTION] for that.

But as far as modding APKs, that's easy, pull them using adb or copy, decompile, make your mods, compile, and push back to phone. Adb might be best, and I suggest a shell stop if pushing framework or systemUI.

While its awesome your wanting to contribute to the community however, this thread should be moved to general.
[LG G Flex] jaybizza:
I've been using XPosed for the time being. I was hoping that maybe we'd get lucky and somebody would be able to find a way around the bootloader with Safestrap.. I will just keep my toes crossed for the time being. Thanks for the info though..:good:
[LG G Flex] PhantomThiefX:
I can definitely move it to general if that is the rule, but I am doing this in anticipation for either an unlocked loki or boot loader. I'm sure it won't be that long before one or the other is unlocked.

Thanks for the info on the apks I appreciate it. I've been doing android development for a while now but haven't really gotten into the ROMs more than modding some of the CM and PSX ROM s on my rooted development phones and tablets. I was hoping to start this thread to get some people in on the Flex development so we could figure out an exploit or workaround on the boot loader or loki. The more we know about the device itself The better to understand how to work around the vendor's security right? And if there is development being done then you would want it in a development thread right? If I am wrong then I will apologize and move it.
[LG G Flex] PhantomThiefX:
Thank you, stupid auto correct on the LG Keyboard is horrible. But I appreciate the call out and I have since changed it. And I would never think someone an "A-hole" for trying to help a person out.
[LG G Flex] PhantomThiefX:
Have you been using the G2 Xposed or just the Xposed Addition? Just out of curiosity.
[LG G Flex] iamtha1:
I am using xposed 2.4.1 and gravity box for status bar mods and it works great
[LG G Flex] PhantomThiefX:
Thanks I will try those.
[LG G Flex] canecbr600:
I use g2 xposed for some, gravity box for some, and xblast alot. Also use app settings to correct some dpi issues in certain apps. I use texdroider for dpi changes. Have it set pretty much the way I want it.
[LG G Flex] PhantomThiefX:
So rumors have started about a bootloader unlock for the American variants and as soon as I know more on a release I will let them post it first then I will post it here.
[LG G Flex] schollianmj:
you sir are a tease. :)
[LG G Flex] PhantomThiefX:
I have been waiting patiently for this and am so excited at how quickly things are moving for this device. It really shouldn't be too very much longer but in the meantime I will continue working on my ROM and patiently wait for those that are working on this to make it so we don't brick our devices trying to unlock what LG doesn't seem like they want unlocked. And to be honest I'm not that impressed with the LG ROM but I do like aspects. The quick remote is nice and the quick slide has proved useful so I would like to keep those but get rid of all the bloat and that LG keyboard.
[LG G Flex] iamtha1:
Is shellnutt2 working his magic on this phone also please say yes
[LG G Flex] dmbfan13:
Please keep us posted on any development!! This thread has my interest!!! :D
[LG G Flex] PhantomThiefX:
As to who is working on what I will allow them to tell you. This really wasn't a thread to steal the thunder from the developers that are working so hard to access what we currently can't. I put this thread up to start a dialogue on ROM creation in anticipation for the unlocked loki or bootloader. Having said that I will keep everyone updated on what I hear but I am going to let the people that are doing it post if first so as to not steal their thunder.
[LG G Flex] PhantomThiefX:
What do you guys think, as we wait patiently for news :/ would be the best base for a custom ROM for the Flex? CyanogenMod, AOSP, AOKP, or maybe PSX? I have started two different ROM projects; one CyanogenMod and a vanilla AOSP ROM which seams to be easier to work with if you are newer to the ROM building process. I'm interested to here a why and how from those who have built a ROM from compiling to posting. So what are we thinking for the Flex because it is going to be interesting because of the screen size and native resolution.
[LG G Flex] canecbr600:
CM11 gets my vote!
[LG G Flex] iamtha1:
I personally like carbon and even the new Mahdi rom
[LG G Flex] evohog:


I'm hoping to got with aokp or liquid, something with the quick themer. Ill take cyanogenmod any day over stock LG though. Keep our fingers crossed for some recovery love so the fun can start. ?

FLEXXXIN
[LG G Flex] PhantomThiefX:
I'm hoping to got with aokp or liquid, something with the quick themer. Ill take cyanogenmod any day over stock LG though. Keep our fingers crossed for some recovery love so the fun can start. ?

FLEXXXIN[/QUOTE]

Oh man I didn't think about liquid. That would be cool, I will take a look and see if it's worth trying
[LG G Flex] evohog:
Oh man I didn't think about liquid. That would be cool, I will take a look and see if it's worth trying

Oh yeah, it's one of the smoothest and most customizable in my opinion. Another you might want to look in on is slim Rom, that bad boy is quick as hell.

FLEXXXIN
[LG G Flex] PhantomThiefX:
I never thought of messaging LG dev to see. Can you message their team from the lgdev site? Usually the companies love hearing from a big teaching hospital that their phone is chosen to see about developing for grant projects. I am very rarely turned down. If i can get them I bet they will give access.
[LG G Flex] PhantomThiefX:
Oh yeah, it's one of the smoothest and most customizable in my opinion. Another you might want to look in on is slim Rom, that bad boy is quick as hell.

FLEXXXIN[/QUOTE]

I've try a couple and wasn't impressed but that could have just been the custom ones. I haven't ever seen the source. I will look at that one as well. I'm pretty sure that with the quad and the ram the CM will be plenty fast, and since it will be specific to this phone it won't have all that cross model nonsense they add on their officials.
[LG G Flex] evohog:
I've try a couple and wasn't impressed but that could have just been the custom ones. I haven't ever seen the source. I will look at that one as well. I'm pretty sure that with the quad and the ram the CM will be plenty fast, and since it will be specific to this phone it won't have all that cross model nonsense they add on their officials.

Your right, when they try to make it tick for a lot of different models while using the same code it sometimes gets a little wonky. I shouldn't be talking since I can't put together a Rom to sAve my life but I wish you all the luck and support on your creations, which or whatever Rom you decide upon. And thank you ahead of time, your effect will be and are greatly appreciated.

FLEXXXIN
[LG G Flex] aznrice2k4:
Your right, when they try to make it tick for a lot of different models while using the same code it sometimes gets a little wonky. I shouldn't be talking since I can't put together a Rom to sAve my life but I wish you all the luck and support on your creations, which or whatever Rom you decide upon. And thank you ahead of time, your effect will be and are greatly appreciated.

FLEXXXIN[/QUOTE]

Give me a bot and I'll build in a day
[LG G Flex] kintwofan:
So I've got a question for you LG pros. Why in the world are there 5 systemuis? I started poking around last night, working on the theme for my ROM. I was a little thrown back by this, can anyone enlighten me or at least point me to some info about theming LG so i can read up. I've been on Samsung so long so there's some changes between the 2 I'm learning
[LG G Flex] AndroidUser00110001:
I believe for the different themes
[LG G Flex] kintwofan:
Ya i figured that based on the file names. I we hoping someone had insight into what's controlled by each one and when it's decided to use which Inge, but I'll just dig in and figure it out.
[LG G Flex] kintwofan:
For anyone who cares i figured the multiple systemui. They ones with the -whatever extension are strictly for the on screen button bar. There is then an lgsystemui.apk that is the systemui used to seeing that controls the status bar and everything else
[LG G Flex] kintwofan:
So much better....more to come soon. Next icons, dialer and contacts. Let the degraying of lg begin!!!
[LG G Flex] gcarterny:
Where are the ota folders located? It's BS you can't stop these stupid things once they pop up.
[LG G Flex] kintwofan:
I'm pretty sure if you freeze update center it'll stop the ota or you should be able to edit your build.id in your build.prop to whatever the update is to stop it
[LG G Flex] AndroidUser00110001:
That is all done with adb commands. We can do that now if you know the proper ADB commands. You can freeze device, flash new app and framework folder and then reboot and then you will have stock custom ROM. I believe you can even wipe whole system folder. I use to do this on the Droid2 before safestrap was made.

---------- Post added at 08:37 PM ---------- Previous post was at 08:30 PM ----------

Good luck on the getting the Q apps to work on AOSP based ROMs. Only device so far is G2 last I checked and it may have changed with KitKat update. Does not work on G Pad. The G Pad GPE has physical IR support but does not have software for it. Well it does preloaded but it does not work...the whole thing is weird since LG started messing with their encryption now that the only way 3rd party developers can access it is if they go through all the LG crap.
[LG G Flex] kintwofan:
Good luck on the getting the Q apps to work on AOSP based ROMs. Only device so far is G2 last I checked and it may have changed with KitKat update. Does not work on G Pad. The G Pad GPE has physical IR support but does not have software for it. Well it does preloaded but it does not work...the whole thing is weird since LG started messing with their encryption now that the only way 3rd party developers can access it is if they go through all the LG crap.

Ya i know it's all adb, but the average user won't know those commands. I just like his tool because gives the user an interface interact with. Also, I'm not good enough to make that tool. Just a realist and know that locked bootloader can take a while so trying to get development started even if limited
[LG G Flex] PhantomThiefX:
Ya i know it's all adb, but the average user won't know those commands. I just like his tool because gives the user an interface interact with. Also, I'm not good enough to make that tool. Just a realist and know that locked bootloader can take a while so trying to get development started even if limited

I'm postponing the dev on this right now for a couple of days. Got to do a couple of huge apps for work with a database of 100k plus users and the apps are using two different flavors of SQL and have to be tied together. Not sure if I'm going to comb i need them or just spend a lot of time coding joins LOL. Hopefully some will have figured out the Loki by then because this LG stuff is way outside my norm. If the phone wasn't so sexy I wouldn't even bother.

And as fir the q stuff I was going to try and pull them and make them autonomous where they weren't dependent on the Rom so I could use them on other devices that had the same functionality.
[LG G Flex] AndroidUser00110001:
Ya i know it's all adb, but the average user won't know those commands. I just like his tool because gives the user an interface interact with. Also, I'm not good enough to make that tool. Just a realist and know that locked bootloader can take a while so trying to get development started even if limited

I wish I had more time to spend on deving for the Flex. I was in the middle of making device tree for the G Pad GPE so we can have AOSP based custom ROMs on it and then AT&T dropped KitKat out of nowhere for the G2 so I got caught up with a few projects for that. A few of us might be close and getting recovery back on since the KitKat update. AT&T and LG changed the way the phone is locked down so the process has to start all over again. If we get recovery back on to the G2 the Flex should fall too, hopefully.

Once I was done with the G Pad GPE I was going to try to get recovery for the G Flex but I am waiting until they drop the KitKat update because I am sure they will change the lock down method when KK gets to G Flex. From what I am hearing it is only a short time away (a couple to few weeks).
[LG G Flex] kintwofan:
I wish I had more time to spend on deving for the Flex. I was in the middle of making device tree for the G Pad GPE so we can have AOSP based custom ROMs on it and then AT&T dropped KitKat out of nowhere for the G2 so I got caught up with a few projects for that. A few of us might be close and getting recovery back on since the KitKat update. AT&T and LG changed the way the phone is locked down so the process has to start all over again. If we get recovery back on to the G2 the Flex should fall too, hopefully.

Once I was done with the G Pad GPE I was going to try to get recovery for the G Flex but I am waiting until they drop the KitKat update because I am sure they will change the lock down method when KK gets to G Flex. From what I am hearing it is only a short time away (a couple to few weeks).[/QUOTE]

Well buddy, thanks for the update. I can't wait for a recovery. I'm tired of having to use lg flash to fix a simple soft brick. I'd love to help and will do what i can, but I'm pretty much only good for stock based ROMs, themes and simple mods. By the way i hope you're about kit Kat, i miss my quick toggles
[LG G Flex] kintwofan:
I'm liking this more and more, but does anyone now where these are? I thought systemui, but not seeing them
[LG G Flex] mattwheat:
I thought there was no custom recovery or ROMs for the T-Mobile variant D959 yet. Is there something I'm missing about how to install custom recovery.....? I see the post has "for all us variants"

Sent from my LG-D959 using Xparent Skyblue Tapatalk 2
[LG G Flex] wase4711:
nope you're not missing anything, there is no custom recovery for tmobile yet..
[LG G Flex] bbobarino:
Locked bootloader equals no custom recovery
[LG G Flex] wase4711:
good thing this phone is so great as stock, or lots of people would be losing it!:good:

actually, if you root it, and add a few rooted apps/xposed mods/themes, its not really that much like stock anyways..
[LG G Flex] reeher3287:
Well last I, thought, I saw was they had it unlocked but not "dummy" proof lol

But I could be mistaken
[LG G Flex] bbobarino:
No doubt but desparate for unrestricted native tethering
[LG G Flex] kintwofan:
We dont really need a recovery for that. I'll look into what is needed on lg and put something together. I know what the note took, but this is a little different. I'll be flying Wednesday so I'll have 13 hours of UN disturbed time to put in work.

On an unrelated note the lg keyboard is trash!
[LG G Flex] bbobarino:
Sweet thanks dude just not to savey with adb commands. Have a safe flight good luck. And yes lg keyboard blows i use swift key

---------- Post added at 09:34 AM ---------- Previous post was at 09:31 AM ----------

http://xdaforums.com/showthread.php?p=50307845

Idk if this helps you to figure this out for out d959 but def something for u to start with ?
[LG G Flex] justinswidebody:
Can somebody explain to me what a aboot.img is and what it does? Is there a tool to unpackage it like a boot.img? Is there a reason we can't try to modify a aboot.img from the g2 to work being it is all relatively the same hardware?
[LG G Flex] kintwofan:
https://github.com/djrbliss/loki/blob/master/README.txt

There's some good info and also read the technical explanation from Dan that's linked in the post. Really explains it all nicely.
[LG G Flex] aznrice2k4:
Working in the recovery... I'm awaiting the admin to install some dependencies to compile it.
[LG G Flex] wase4711:
sounds like you're getting close..nice work man :good:
[LG G Flex] bbobarino:
Sweet thanks for the update and thanks for reassurance that there is still people working on recovery for this beast
[LG G Flex] imarq:
Oh man im starting to get excited....
[LG G Flex] kintwofan:
I have a stock deodexed Carrier IQ free zipalign on boot uploading now. I haven't tested it yet because no recovery, so at this point it's mainly for developers to get to work. I'll start a thread in development when finished, and start working on the tethering hack.
[LG G Flex] imitenotbecrazy:
Damn I can't wait till we get recovery and a nice slim stock based rom. Although I love aosp stuff I do like everything to just WORK right. With xposed I can get a lot of what I'd want out of the UI, I just want to cut down on some of these resources that are being used.

sent from the new G Flex
[LG G Flex] bbobarino:
Aawesome thanks for contributions i cant wait for way flash it and the tethering hack
[LG G Flex] Ickyz:
Soon?

Is there a status on this Recovery is there anything any1 of us can do 2 help ¿

Sent from my Lg Flex D950