[Nexus 5 Original Android Development] Lexmazter:
​

It has LINUX/UNIX and MAC support!

​

​

Due to the fact that there is another tool for Android called Android Multi Tools, I decided to rename this one to Lx Multi Tool, future releases will go under this name.

Features: ​

Fastboot

- Unlock/Lock Bootloader

- Flash Recovery Menu (you can choose and add recoveries) - TWRP 2.8.7.1 Included

- Flash any partition (Flashing submenu)

- Flash full Stock images (you can choose and add images)

- Erase partitions (you can choose which of the partitions)

- Reboot (you can choose again...)

Adb

- Sideload .zip files (you can choose and add .zip files) - SuperSU v2.65 (Systemless!) included

- Backup (you can choose the name and place for your backup)

- Restore (you can choose your backup)

- Version (it just shows the version of your adb binaries) - platform-tools 23.1 included

- Logs (DMESG and Logcat)

- Screenshots (you can directly take screenshots to your PC with no Root)

- Reboot (lots of choices)

Others

- Refresh and delete files/folders from menus (Right click or key F5 and Del)

- Open tool folders from the menus (to add your own kernel/stock image/recovery/sideload zip files)

- Tab key support for easier keyboard navigation

- Tool-tips for all buttons

- Check for updates

- Link to xda-thread (here)

​

​

Download links: ​

Windows x86|x64 - Linux x64 - MAC x64

All released versions can be found here.

[IMG="Download"]http://www.mediafire.com/convkey/2dc6/9i1hwk2v2wt9vwm6g.jpg?size_id=4[/IMG]​

[ROOT] Use SuperSU 2.62 or higher from here systemless for 6.0.1 and above.
​

Known bugs/limitations: ​

- For partition Flashing, it is recommended(mandatory?) to do a reboot-bootloader if you want to flash multiple partitions one after the other. (according to the Google flashing scripts) (Implemented in 1.2.1)

- For return to stock, the tool will be stuck after your phone successfully boots, you need to reboot to fastboot again in order to flash the Radio and finish the full return to stock. (Fixed in 1.2.0)
​

Changelog: ​

Check the changelog for each release here.

​

​

Tutorials/FAQ: ​

Q: How do I get in bootloader/fastboot mode?

Turn off the phone and turn it on by using Volume down + Power key.

Q: How do I check for updates in your tool?

Follow the instructions in the screen below.

[IMG="updates"]http://i1322.photobucket.com/albums/u570/Lexmazter/amt_updates_zpso9hkdmaa.png[/IMG]

Q: Where can I find the device driver to install it for windows?

Click here, download the driver and run the setup.

Q: How do I root my stock phone?

- Unlock bootloader.

- Flash recovery.

- Use SuperSU 2.62 systemless or higher from here.

(Usually the latest version upon tool release is included in the Sideload folder of the tool, you can either sideload it or copy it to recovery and flash it manually)

Q: I get an error "Cannot open file" on MAC, what should I do?

Open the terminal, go to your application path and paste this command:

chmod +x LxMultiTool.app/contents/macos/*

Q: What do I need to do in order to be in Fastboot or in ADB mode.

Fastboot mode will be detected only while being in bootloader.

ADB mode will be detected from Recovery (custom) and actual ROM with USB debugging active.

Refresh button needs to be used in order to check for what mode you are in.

Q: Are there any other software that I need to install in order to run this tool?

On Windows and MAC everything is bundled, so nothing needs to be installed, just run.

On Linux you need to install from your package manager libQt5Core, libQt5Widgets, libQt5Gui, libQt5Network.

If it's not enough, use ldd LxMultiTool in terminal to find out what you're missing from your environment.

Q: I have an yellow/orange/red text screen during boot, what's that?

When you unlock you usually get the Orange screen and it's normal, but if you really want to know what's this about, give a reading to this.

Q: Hey, my device is not detected, why?

On windows, you need to manually install the USB drivers, they are not included and probably they won't be included in this tool.

Also, make sure you click the connection Refresh button after connecting the device to your PC.

Q: What do i need to do in order to install a custom ROM?

1. Unlock Bootloader.

2. Flash a custom recovery of your choice.

3. Flash an insecure kernel (boot).

4. Flash custom ROM with no problems via recovery.

All those things are found and can be done via this tool.

Q: Hi, i just downloaded this tool, how do i use it?

First, extract the folder somewhere.

After that, run LxMultiTool.exe on windows by double clicking it, LxMultiTool on linux and the same on mac.

Q: Do I need android-sdk installed or something else?

No! This tool uses it's own supplied binaries for adb and fastboot, if you have android-sdk installed it will be ignored anyways.

This tool is fully portable and stand-alone.

Q: I get an error while trying to unlock the bootloader -> FAILED(remote: oem unlock is not allowed), what now?

Starting with Android 5.0, you need to enable Bootloader Unlocking from the developer settings, in order to do that, follow these steps:

- Enable Developer options

- Enable USB Debugging

- Look for the ‘OEM Unlock’ Option and toggle it.

Q: How do I use the return to stock feature?

First download the latest package from here, then extract the contents (there is an archive in the archive) untill you get the a folder like angler-mda89d

that contains the images, that folder needs to be copied in the /Data/StockPackages folder in order to be visible.

Easier steps -> Get your device in bootloader -> Start the tool -> Hit refresh -> go to Stock -> hit open folder -> copy the extracted folder with the name angler-xxxxxx in there, hit F5 or Right-click + Refresh -> you should see the folder in there like in the following screenshot. Thanks [MENTION=5344488]ursa08[/MENTION] for the screenie.

[IMG="stock"]http://i1322.photobucket.com/albums/u570/Lexmazter/Screen_Shot_2015-11-08_at_2.12.52_PM_zpsybihmgrz.png[/IMG]

Q: How do I enable Developer options?

- Launch the Settings

- Scroll Down and Tap on About Phone(or About Device)

- Locate the Build Number Section

- Tap on the Build Number Option 7 Times

- Go Back to the Main Settings Page

- Scroll Down and Tap on Developer Options

Q: Hi, i just bought a phone what should i do now?

Well, you firstly need to unlock your bootloader...

Q: What is logcat?

Well, you can pretty much use google for that answer, but to put it short, is that thingy that tells you what is happening behind the scenes of your phone.

It is usually used for debugging and entertaiment(?).

When you report an error/bug to somebody, it will be a blessing to provide a logcat (logfile)!

Q: What is a Custom Recovery and why do i need one?

A custom recovery is that thingy that let's you flash .zip files, use your logic and you wil get it why you need one.

Q:There are others guides/tutorials out there, should i check them instead of this?

If you manage to get things done using this one, no, otherwise yes, note that some could be outdated...

Q:What is sideload and how do I use it?

Sideload is a function from adb that let's you flash a zip file while in recovery directly from your PC.

Please note that you need to be in sideload mode on your recovery before doing this.

To enter sideload mode, in TWRP go to Advanced -> ADB Sideload -> Swipe to sideload
​

​

Sources: ​

The official and original repository can be found here.
​

Bug reports/Feature requests: ​

If you have any bug, or you consider a feature to be a must-have, please use the issue functionality on github for more traceability here.
​

Licensing: ​

Please note that this tool is open source and released under GPL v3 licence which can be read here.

Make sure you understand at least the short version of the license that's provided in the tool before using it or before contributing/forking and other related stuff.
​

Tech and stuff: ​

Some additional marketing for stuff used in this tool

Qt - An awesome cross-platform IDE

Vmware - For letting me test this tool on all platforms (Linux and MAC).

Icons8 - A nice platform for good-looking FREE icons. (Big thanks!)

UnixUtils - For the sed utility for Windows.

AndroidFileHost - For the awesome file-management platform for developers.
​

Donations: ​

Even though this tool is provided free of charge, full open-source, donations are very welcome to support the future development of this tool and to buy me a beer while coding future improvements on it.

This section will also include the hall of fame for donors, as well as on the github repository.

Special thanks for donations:

- [MENTION=2564500]john7760[/MENTION]

​

​

Disclaimer:​

I will not be responsible for smashed screens, bricked phones or any other things that you can accuse me of, i've done this tool to help people, use it at your own risk and consider giving a THANKS if you use it and like it.​

Please consider leaving some feedback, what to improve, what could be done better, what annoys you, it really helps me improve the tool.

Also, to avoid useless threads on general, Q&A or useless posts, please read the FAQ section upside, it's like a Mini-Guide!