[Miscellaneous Android Development] ledzepman71:
OBSOLETE

Here are the old instructions for postarity. It worked for quite a few people

***I have followed this exact procedure with a 100% success rate in linux; however, I make no guarantee invariable results. I therefore, claim no responsibility and offer no warranty. If it does brick your phone, please pm me with the subject "SuperSU without Kingroot" so we can figure out where we went wrong.***​

These custom system images come with SuperSu and the appropriate Xposed framework (sdk22/arm/xposed-v86-sdk22-arm.zip) baked right in.

So many people have bricked their LG K7's trying to replace kingroot with the superb SuperSu by chainfire. I have seen many that have bricked their phones trying to flash the latest Xposed framework as well. This method will hopefully be easy enough to deter people relying on kingroot all together. (Feel free to leave feedback in the comments if there is a step that need further elaboration or isn't working)

This tutorial will work for both the MetroPCS (lgms330) and the T-Mobile (lgk330) models.
​

***This will wipe your device***

​

You will need:

computer, usb cord, *adb/fastboot installed, the appropriate system image, and serious patience.

MetroPCS Download:

ms330_root_system.img

T-Mobile Download:

k330_root_system.img

*A note to those who don't know what adb or fastboot is:

There are plenty of tutorials out there explaining how to install and use adb and fastboot.

If you are unfamiliar with these tools you may want to check out this forum.

Developer options

On your phone, open settings do the following

Enable Developer mode

[IMG="settings > about phone"]https://app.box.com/shared/static/lmiavqixu09xuer51xbvmy0v1lmuh2v8.png[/IMG]

[IMG="about phone > software"]https://app.box.com/shared/static/3qbxnrcap63cix88st5qtsw271y9v3xu.png[/IMG]

[IMG="tap on build number a bunch of times"]https://app.box.com/shared/static/qwrmfmyq3g532rj9qkk61cli9bssnsoe.png[/IMG]

[IMG="Keep on tapping build number..."]https://app.box.com/shared/static/64wc0puxka9rvap1jg91xba2yl3lpkq7.png[/IMG]

[IMG="You've enabled the developer options!"]https://app.box.com/shared/static/tt3qjfsyeys73sxhn2f9minm8xbjmz7a.png[/IMG]

[IMG="Go back to the general settings and tap "Developer options"."]https://app.box.com/shared/static/tt3qjfsyeys73sxhn2f9minm8xbjmz7a.png[/IMG]

[IMG="dismiss the warning by checking the "Don't show this again" box and tap OK"]https://app.box.com/shared/static/8ng0ppo3kvdfzatsdkya7n7m93m8x1yi.png[/IMG]

Enable oem unlock (LG was nice enough to enable us to unlock our bootloader from the "developer options")

[IMG="Tap "Enable OEM unlock.""]https://app.box.com/shared/static/g2nhxp0nlctptdmv2ubmi14u3owv603a.png[/IMG]

[IMG="Allow OEM unlocking by tapping "ENABLE""]https://app.box.com/shared/static/in7zz8zchgmyohqylm56soffvt2agjit.png[/IMG]

Enable adb debug

[IMG="Tap "USB debugging""]https://app.box.com/shared/static/ju1ex1am7zjkepgorma6t96pyp42nfri.png[/IMG]

[IMG="Allow USB debugging by tapping "OK""]https://app.box.com/shared/static/3et2q78kgchkrst22jgw9ivyitb77oby.png[/IMG]

Plug your phone into your computer and run

adb devices

you will be prompted to Allow USB debugging?[IMG="Allow USB debugging by tapping "Always allow from this computer" and tap "OK""]https://app.box.com/shared/static/zufaasxpc8f44ae8axxoq1l62aol5rn1.png[/IMG]

​

Someone who is proficient in Windows please verify that fastboot "sees" the device. I was having trouble getting my Windows 7 64bit machine to recognize it. It worked every time in linux though. Thanks.

ADB/Fastboot commnads

On the computer (in windows you may have to replace adb with adb.exe and fastboot with fastboot.exe)

adb reboot bootloader

fastboot oem unlock

Don’t worry about the message it returns:

FAILED (remote: Already unlocked)

or

OKAY [ 0.040s]

Let's be OCD and make certain the bootloader is unlock.

fastboot getvar unlocked

The result should be

unlocked: yes
finished. total time: 0.001s

Get ready to wait a loooooong time. Flash the correct system image for your device carrier.

DON’T PANIC!!! When you run the fastboot command to flash the system image, it will return something like “Invalid sparse file format at header magi” and hangs for what seems like an eternity. This is normal. The next message it returns is “erasing 'system'...” and then you wait another eternity for the system to be overwritten. Mine took over 6 minutes to complete.

MetroPCS

fastboot flash system ms330_root_system.img

T-Mobile

fastboot flash system k330_root_system.img

​

Wait forever for it to get to the “Android is starting…” screen by running

fastboot reboot

I have no problem with kingroot as a concept. I just want to help people avoid bricking their phones.