Related
To start off everyone should know that messing with your phone can brick it!! You should not mess with your phone if you are unsure of what you are doing. You will get this (or a similar) warning while following the unlock instructions from Motorola as well. Following these instructions also voids your warranty!
I only use Motorola's official firmware for the moment and these instructions were originally performed on the ASA14 firmware. They should be useful for previous versions of the firmware but I will not be testing those. These instructions may not work for releases after ASA14.
While following this guide you need to be on a Windows PC with the administrator account or an account with administrative privileges. If you do not have these privileges you will likely run into issues. All instructions are written for a PC running Windows 7 as that is the only PC I have access to. If anyone has any instructions using a different version of Windows I will gladly add them in.
Windows commands:
dir - Lists all directories (folders) and files of the directory you are currently in.
cd {directory name} - Moves into the named directory. The directory names are case-sensitive.
cd.. - Moves to the directory before the one you are currently in. For instance if you are in C:\Users\Public and perform cd.. you will move to C:\Users
{Unlocking the Bootloader}
I'm writing this pretty late and formatting takes forever so I'll update this section later with my own set of instructions. For now use this guide which I plan on using for inspiration since I can't really repeat the unlock process.
Below is my work in progress. This is incomplete and will be unhidden when it is completed.
Updated Unlock
1. Download the Android SDK
2. Unzip the file. If you don't have a program to unzip the file 7-zip is great.
3. Move the unzipped folder to a location that is easy to locate. For me I put this in "Documents".
4. Rename the folder to something shorter, that way it's easier to type in later. "ADT" is easy to use and remember.
5. Download the drivers for the phone.
6. Open "MotorolaDeviceManager_2.3.9.exe" and install the drivers.
7. Go here
8. Click "PROCEED ANYWAY"
9. Register an account with Motorola.
10. Go to Start > All Programs > Accessories
11. Open “Command Prompt”
12. Use the cd commands to navigate to your “platform-tools” folder.
13. Turn off your phone (power button + volume down if you can't select any options to turn off the phone)
14. Turn it back on using the power button + volume up + volume down combination
15. Select “Fastboot” (volume down cycles through, volume up selects the option)
16. Connect your phone to your PC.
17. Type "fastboot oem get_unlock_data" in Command Prompt.
{Installing a New Recovery}
For the recovery we’re going to install the Photon Q Open Recovery. Every recovery has its advantages and disadvantages. This one is familiar to me and so I chose it for this guide.
1. Download the recovery image
2. Place the image in the Android SDK “platform-tools” folder which is in the "sdk" folder
3. Turn off your phone (power button + volume down if you can't select any options to turn off the phone)
4. Turn it back on using the power button + volume up + volume down combination
5. Select “Fastboot” (volume down cycles through, volume up selects the option)
6. Connect your phone to your PC
7. Go to Start > All Programs > Accessories
8. Right-click “Command Prompt”
9. Click “Run as administrator”
10. Use the cd commands to navigate to your “platform-tools” folder (Unfortunately I cannot tell you where this is as each computer will have it placed differently)
11. Type in “fasboot flash recovery open_recovery_206_05_06_2013.img”
{Getting Root}
1. Download the zip file for rooting
2. Place the file in the root (ie. not within a folder) of your phone’s SD card
3. Turn your phone off
4. Turn it back on using the power button + volume up + volume down combination
5. Select “Recovery” (volume down cycles through, volume up selects the option)
6. Select “Apply Update” (In recovery the the controls change. Volume up and volume down move in the list, the camera button at the bottom right of the device selects.)
7. Select the file you placed on your SD card from step 2
8. Wait for the update to apply, it should say that it finished successfully
9. Select “Reboot Phone”
Credit for all of this goes to their respective creators. I will name them all by name at a later date, but the credit can also be found following the linked material. Hopefully that doesn't bother the creators, writers, or hosts.
The Open Recovery port was done by Skrilax_CZ.
SuperSU is hosted by shabbypenguin and developed by Chainfire.
Please don't re-post this how-to without crediting. I've had it happen before and it was a huge disincentive for updating and making new guides.
section "{Installing a New Bootloader}" and "1. Download the bootloader image" below it are actually reffering to recovery (probably the best one out there). Not a bootloader.
Bootloader boots the system. Depending on keys pressed during boot (if any, or if instructed by commands) it can boot to bootloader menu, recovery, system (android)...
Ah, thanks. I would have known that if I rechecked but I haven't had time to.
Edit:
While I was editing I noticed I referenced it as recovery multiple times and was switching between the two as the guide went on!
unlocking bootloader failed
ok so i got the device id went to the motorola site said it was good got the unlock key did the step and typed it in the command prompt and it says
(bootloader) password incorrect
(bootloader) oem unlock failure
FAILED <remote failure>
sorry if this is a noob question usualy dont post first time last time i rooted a fone was on an evo 4g so never really messed with command prompts and unlock keys to much i repeted the whole process 3 times already and i still get the same message
edit: nvm got it to work hahaha forgot to capslock the letter in the key thanks for the write up man
demi_god_619 said:
ok so i got the device id went to the motorola site said it was good got the unlock key did the step and typed it in the command prompt and it says
(bootloader) password incorrect
(bootloader) oem unlock failure
FAILED <remote failure>
sorry if this is a noob question usualy dont post first time last time i rooted a fone was on an evo 4g so never really messed with command prompts and unlock keys to much i repeted the whole process 3 times already and i still get the same message
edit: nvm got it to work hahaha forgot to capslock the letter in the key thanks for the write up man
Click to expand...
Click to collapse
Yeah, unfortunately there's are a few points where unlocking get's confusing. I had to enter my stuff from the command prompt to Motorola's site like 5 times before I figured out where the copy/paste had spaces. It took me a while to figure out I had pasted an extra space at the end. This was the first phone for Motorola's bootloader unlock plan so I'm hoping they improve on it for their future phones.
The OP is updated with some more color-coding, updated credits (though I didn't try to get everyone just yet), and changed the link to an updated SuperSU. This should work on the Jellybean update though I won't know for sure unless someone confirms it in this thread. I've taken a break from messing with my personal phone for a while so I won't be checking the boards as often but I'll still be checking every few days.
Solust said:
The OP is updated with some more color-coding, updated credits (though I didn't try to get everyone just yet), and changed the link to an updated SuperSU. This should work on the Jellybean update though I won't know for sure unless someone confirms it in this thread. I've taken a break from messing with my personal phone for a while so I won't be checking the boards as often but I'll still be checking every few days.
Click to expand...
Click to collapse
FYI, if you install TWRP it will detect whether you have root or not and offer to install it for you.
Simplifies the guide a bit, and IMHO TWRP is a great recovery - all touch based, no more mashing the volume keys .
Nicely done regardless.
I noticed I was missing a step in the {Getting Root} section. It was an implied step but I added it for clarity.
I also had forgotten to mention that once you get into recovery the buttons used to control things change slightly. You can use the keyboard in addition to the device buttons.
Thanks for the How-to!:good: I was wondering if you would mind if I gave you or added some instructions for Linux users?
xaelith said:
Thanks for the How-to!:good: I was wondering if you would mind if I gave you or added some instructions for Linux users?
Click to expand...
Click to collapse
Yeah that would be fine. PM me the instructions and I'll test them out on my Linux partition. It'll probably take a few days as I have things coming up.
I've updated the links in the OP to Open Recovery 2.06 (changing the name in the command accordingly) and started writing my own set of bootloader unlock steps. They aren't complete yet but if someone is having troubles understanding the first few steps of the linked article mine should be broken down to be a bit easier to digest.
Solust said:
I've updated the links in the OP to Open Recovery 2.06 (changing the name in the command accordingly) and started writing my own set of bootloader unlock steps. They aren't complete yet but if someone is having troubles understanding the first few steps of the linked article mine should be broken down to be a bit easier to digest.
Click to expand...
Click to collapse
Open Recovery is on version 2.09 now. Has anyone tried it? I tried it using the posted steps but I got the same result as when I tried cmwrecovery, the phone doesn't boot to it, it boots to an image of the android guy on his back with his belly open and a red exclamation point hovering over him. Any advise? It's a Photon Q using Android version 4.1.2 nand I have successfully unlocked the bootloader.
I never changed versions because most of the updates target Kit-Kat based custom ROMs. Make sure your phone is NOT plugged in when you try to get into recovery. If it doesn't work when not attached to anything re-download the recovery and try installing again.
Entomology onsaboo
Solust said:
I never changed versions because most of the updates target Kit-Kat based custom ROMs. Make sure your phone is NOT plugged in when you try to get into recovery. If it doesn't work when not attached to anything re-download the recovery and try installing again.
Click to expand...
Click to collapse
I have tried to get into recovery both plugged in and not plugged in. I tried downloading and re downloading both CMWrecovery and open recovery 2.09 both.
Are you saying Open Recovery 2.09 is targeted at Kit-Kat custom ROMs and won't work on my phone? Should I try the version in your OP?
It should work in theory regardless of Kit-Kat, but if you've already tried all of that then give the older version a shot. I really post only what I know and have tried in the original post. It's beyond the scope of my thread though so you may have better luck asking in the recovery threads if you can't get any version to work. I'm on my phone for the time being or I would link you to the appropriate threads myself.
Solust said:
It should work in theory regardless of Kit-Kat, but if you've already tried all of that then give the older version a shot. I really post only what I know and have tried in the original post. It's beyond the scope of my thread though so you may have better luck asking in the recovery threads if you can't get any version to work. I'm on my phone for the time being or I would link you to the appropriate threads myself.
Click to expand...
Click to collapse
I couldn't fine a copy of the older version anywhere.
I understand, and I thank you for your help.
Solust said:
To start off everyone should know that messing with your phone can brick it!! You should not mess with your phone if you are unsure of what you are doing. You will get this (or a similar) warning while following the unlock instructions from Motorola as well. Following these instructions also voids your warranty!
I only use Motorola's official firmware for the moment and these instructions were originally performed on the ASA14 firmware. They should be useful for previous versions of the firmware but I will not be testing those. These instructions may not work for releases after ASA14.
While following this guide you need to be on a Windows PC with the administrator account or an account with administrative privileges. If you do not have these privileges you will likely run into issues. All instructions are written for a PC running Windows 7 as that is the only PC I have access to. If anyone has any instructions using a different version of Windows I will gladly add them in.
Windows commands:
dir - Lists all directories (folders) and files of the directory you are currently in.
cd {directory name} - Moves into the named directory. The directory names are case-sensitive.
cd.. - Moves to the directory before the one you are currently in. For instance if you are in C:\Users\Public and perform cd.. you will move to C:\Users
{Unlocking the Bootloader}
I'm writing this pretty late and formatting takes forever so I'll update this section later with my own set of instructions. For now use this guide which I plan on using for inspiration since I can't really repeat the unlock process.
Below is my work in progress. This is incomplete and will be unhidden when it is completed.
Updated Unlock
1. Download the Android SDK
2. Unzip the file. If you don't have a program to unzip the file 7-zip is great.
3. Move the unzipped folder to a location that is easy to locate. For me I put this in "Documents".
4. Rename the folder to something shorter, that way it's easier to type in later. "ADT" is easy to use and remember.
5. Download the drivers for the phone.
6. Open "MotorolaDeviceManager_2.3.9.exe" and install the drivers.
7. Go here
8. Click "PROCEED ANYWAY"
9. Register an account with Motorola.
10. Go to Start > All Programs > Accessories
11. Open “Command Prompt”
12. Use the cd commands to navigate to your “platform-tools” folder.
13. Turn off your phone (power button + volume down if you can't select any options to turn off the phone)
14. Turn it back on using the power button + volume up + volume down combination
15. Select “Fastboot” (volume down cycles through, volume up selects the option)
16. Connect your phone to your PC.
17. Type "fastboot oem get_unlock_data" in Command Prompt.
{Installing a New Recovery}
For the recovery we’re going to install the Photon Q Open Recovery. Every recovery has its advantages and disadvantages. This one is familiar to me and so I chose it for this guide.
1. Download the recovery image
2. Place the image in the Android SDK “platform-tools” folder which is in the "sdk" folder
3. Turn off your phone (power button + volume down if you can't select any options to turn off the phone)
4. Turn it back on using the power button + volume up + volume down combination
5. Select “Fastboot” (volume down cycles through, volume up selects the option)
6. Connect your phone to your PC
7. Go to Start > All Programs > Accessories
8. Right-click “Command Prompt”
9. Click “Run as administrator”
10. Use the cd commands to navigate to your “platform-tools” folder (Unfortunately I cannot tell you where this is as each computer will have it placed differently)
11. Type in “fasboot flash recovery open_recovery_206_05_06_2013.img”
{Getting Root}
1. Download the zip file for rooting
2. Place the file in the root (ie. not within a folder) of your phone’s SD card
3. Turn your phone off
4. Turn it back on using the power button + volume up + volume down combination
5. Select “Recovery” (volume down cycles through, volume up selects the option)
6. Select “Apply Update” (In recovery the the controls change. Volume up and volume down move in the list, the camera button at the bottom right of the device selects.)
7. Select the file you placed on your SD card from step 2
8. Wait for the update to apply, it should say that it finished successfully
9. Select “Reboot Phone”
Credit for all of this goes to their respective creators. I will name them all by name at a later date, but the credit can also be found following the linked material. Hopefully that doesn't bother the creators, writers, or hosts.
The Open Recovery port was done by Skrilax_CZ.
SuperSU is hosted by shabbypenguin and developed by Chainfire.
Please don't re-post this how-to without crediting. I've had it happen before and it was a huge disincentive for updating and making new guides.
Click to expand...
Click to collapse
I got an error when I clicked on the recovery image download link. Is there a better method?
EpicSaga said:
I got an error when I clicked on the recovery image download link. Is there a better method?
Click to expand...
Click to collapse
See the OpenRecovery thread for a valid link to that recovery... the links are a bit outdated for OR, look near the end of the thread.
I have the link to the Open Recovery thread at the very start of the section about installing recovery. It's there in case links die, someone wants more info on what they're installing, or someone has support questions pertaining to Open Recovery. This thread didn't seem to be very popular compared to one I made for an older phone so I haven't kept it up to date. The phone has been out for some time as well so I likely won't be updating this thread.
Hi there.
After surfing all the possible forums, apply all recipes, failing all tries (with the complete reinstallations afterwards), I decided to ask, cause I am in the mood to crash the (physically) the phone.
I have a Desire S with the official WWE ICS 4.0.4.
I want to keep the official ICS and become root. Because I want to get rid of all the built-in apps I do not use; Chat Fb, Dropbox, etc.
Is there a way?
All the tutorials tried failed.
My phone is unlocked (officially via HTCDev).
When booted with Vol Down+Power this the information.
*** UNLOCKED ***
SAGA PVT SHIP S-ON RL
HBOOT-2.02.0002
RADIO-3831.19.00.110
eMMC-boot
Jul 31 2012,15:41:32
Regards.
And thanks.
PS: I want to keep the official ROM. I do not want to install any other ROM.
flash 4EXT or any other custom recovery then download flashable superuser zip and then flash it via recovery
441Excelsior said:
flash 4EXT or any other custom recovery then download flashable superuser zip and then flash it via recovery
Click to expand...
Click to collapse
Doing this I keep the ICS 4.0.4 official?
aturdido said:
Doing this I keep the ICS 4.0.4 official?
Click to expand...
Click to collapse
Yes.
teadrinker said:
Yes.
Click to expand...
Click to collapse
I installed 4ext, but requires me to be root to do anynthing. And becoming root is what I want.
aturdido said:
I installed 4ext, but requires me to be root to do anynthing. And becoming root is what I want.
Click to expand...
Click to collapse
Not the 4ext app, the recovery.img, flashed through fastboot.
aturdido said:
I have a Desire S with the official WWE ICS 4.0.4.
I want to keep the official ICS and become root. Because I want to get rid of all the built-in apps I do not use; Chat Fb, Dropbox, etc.
Is there a way?
*** UNLOCKED ***
SAGA PVT SHIP S-ON RL
HBOOT-2.02.0002
Click to expand...
Click to collapse
Yes There is.
Befor You Start To read This, Please remember that:
Press enter Means that press Enter key on your keyboard
When you face an ATTENTION plz Stop and read what it says.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
As you mentioned you have Saga / ICS 4.0.4 / PLZ be sure that you have "Description: 14.01.401.2" which is about 400MB.
If not plz Download it from : HERE
(In Filter by, section, choose : Device=Desire S Carrier=carrier Region=Region Android version=V4.0)
(From reasult page aim " Desire S HTC WWE RUU N/A v4.0 404.0 MB 14.01.401.2)
: If you do not have above ROM, you need to relock your HBOOT to RUU[/COLOR][/B]]
✚How to relock and get in to RUU: [ATTENTION: To undrestand this part first read Part A and B ]
Open CMD and type in:
cd c:\android Press enter
fastboot oem lock Press Enter
It will reboot into bootloader automaticaly.
now in CMD type:
fastboot oem rebootRUU Press Enter
After a moment you will see a black screen with HTC logo in your phone,
[ ATTENTION : Do not touch any thing / Do not switch phone off / Do not ..., just wait ]
In your PC run "RUU_SAGA_ICS_35_S_HTC_Europe_14.01.401.2_Radio_20.76.30.0835_3831.19.00.110_release_275068_signed.exe"
follow the instruction, it will take 5-6 min.
[you will lose all you data, plz back them up]
A▬▬ What do you need is: ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
►HTC Desire S USB cable
►▶ADB USB Drivers from HERE ( i packed mine which is included ClockWorkMode + SuperSU binary to Root your phone)
▶ Extract RAR file in your pc to this location: c:/android
►PC (xp / vista / windoes7 / Windows8)
►HTC Sync Manager from HERE
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Time for unlocking HBOOT 2.02.002
Go to HTC site and unlock it via their official unlocker from HERE And register by a valid email adress, you need it to confirm and validate your account.
[You will lose warranty or guaranty by unlocking your phone]
How to unlock bootloader ? (You will need all part A packs.)
After confirming your email and loging in
(Note: please use google chrome browser to login to HTC bootloader)
From -------- Select Your Device -------- option choose HTC Desire*
and then press Begin Unlock
accept the term and press YES
Legal terms: Check both boxes and press: "Proceed to Unlock Instruction"
At the end of the page just press "Proceed to step1"
NOTE: Do not do any thing yet
End of the page press "Proceed To Step 5"
...................................."Proceed To Step 8"
Stop in "Step 10"
there is 2 big box over there, one of them is : EXAMPLE an other is "My Device Identifier Token:"
How to find your tookens?
After installing "HTC Sync" and connecting your phone, select "HTC Sync" in your phone and start sync, just for fun.
(to make sure your phone is detected. if not , tell me to tell you what to do)
In your phone follow this steps to make sure that Debugging mode in on and fastboot is off
Setting>Power>fast boot (Uncheck the box)
Setting>Developer options> USB debugging & Allow mock locations (Check the boxes)
press back, and go to Home.
Now remove the battery and insert in again, Press and hold "VOL - / Power"
Connect USB cable to the phone you will see: HBOOT USB PLUG
Now make sure Fastboot is highlighted, then press power to select it, you will (must) see FASTBOOT USB
B▬▬ How to run CMD ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
In your PC (windows) go for "CMD" [open run and type in CMD, press enter
In that black box (CMD) type the Codes Bellow:
cd c:\android press enter
( INFO: CD means Change Directory, because we put the ADB and FastBoot Drivers in c:\android )
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
fastboot oem get_identifier_token press enter
Ok now you get a bunch of codes over there, and you need to copy them in to (HTC bootloader) web page ,Step 10 in that big white blank box.
(How to copy the code: Right click on CMD select Mark. Then mark the codes by holding the left mouse botton select text, Then release LMB(Left Mouse Botton), by pressing RMB (Right Mouse Botton) on the marked area copy it to the clipboard , Remmember, DO NOT copy INFO.
Example:
INFO<<<< Identifier Token Start >>>>
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFOxxxxxxxxxxxxxxxxxxxxxxxxxxxx
INFO<<<< Identifier Token End >>>>
Then Press SUBMIT
You will recive an attachment [ Unlock_code.bin ] via email. check your inbox.
Download and paste it to C:/android
Then run CMD again (if you closed it), and type:
cd c:\android press enter
fastboot flash unlocktoken Unlock_code.bin press enter
Look at your phone, you'll see a Term page, accept it by using Vol keys select yes and press Power to start Unlock.
[Attention: Your Warranty / Guaranty, will voide]
☯ You are almost done.
Wait for phone to load (just lock screen- No need to start setup) Then Remove the battery again, put it back to the phone.
Press VOL- / Power
Again go to CMD then type:
cd c:\android press enter
fastboot flash recovery recovery-clockwork-5.0.2.0-saga.img press enter
Wait till your Stock recovery mod, flash to CWM (ClockWorkMode recovery)
Make sure it's done, then remove the battery and insert it again.
Start your phone in NORMAL mode (just press power) compleat Setup on HTC setup wizard. set time and date,
connect the phone via cable to the PC, in phone. set "SD mode" we need to transfer some file to the SD card.
in c:/android search for "Superuser.zip" paste it to SDcard [not in folder] put the "Superuser.zip" in root of SD card.
now Switch-off the phone normaly (do not use battery removal metod).
while its off, remove the battery and put it back, then use ( Vol- / Power ) now choose RCOVERY via Vol key and selet it by Power.
Now your device will boot in to CWM ( Clock Work Mod Recovery) .
Press Vol Down (Vol -) to highlight
- install zip from sdcard
- choose zip from sdcard
- Superuser.zip
press Power to start progress
Select ++++++go back+++++
again
Reboot....
Remove the battery, put it back.
To access root
Download one of these file managers from google app store or any other third party store:
RootExplorer.apk (Free)
SolidExplorer.apk (free is limited)
You Are DONE.
NOTE : No need to S-Off your phone.
Credits by : Azithro
Spent 3 hours for this post :fingers-crossed:
Thanks for your post, azithro.
I am in the middle of something hairy. When I had some rest (last week I spent more time with the bootloader and installing/deleting stuff), I'll read carefully all the instructions, be sure of understanding them, and I'll do it.
Thanks again for your effort. I really appreciate it.
:highfive:
A.
aturdido said:
Thanks for your post, azithro.
I am in the middle of something hairy. When I had some rest (last week I spent more time with the bootloader and installing/deleting stuff), I'll read carefully all the instructions, be sure of understanding them, and I'll do it.
Thanks again for your effort. I really appreciate it.
:highfive:
A.
Click to expand...
Click to collapse
Sure bro, hope you successfully do that.
Sent from my HTC Desire S using XDA Premium 4 mobile app
azithro: :good: :victory:
It worked perfectly. After achieving root I installed Clean Master and I could get rid of all the rubbishware installed with the ROM.
I began after the unlocking point as I had already the phone unlocked and everything went as smooth as silk.
Thanks again.
A.
It worked perfectly. After achieving root I installed Clean Master and I could get rid of all the rubbishware installed with the ROM.
I began after the unlocking point as I had already the phone unlocked and everything went as smooth as silk.
Thanks again.
A.
Click to expand...
Click to collapse
You are welcome any time bro, good luck, have fun.
Hello people, following the tutorial from GlitchtheEevee I remade it to make it easier to understand, and with a couple of simplified steps.
1 - Install the following programs in your computer:
- Pc compagnion from sony website
- Android Studio(I can't post urls so google to find it) when installing it, it may ask you to download an additional program which name I can't remember, just do it. Once you have installed it you have to enable the Google USB driver, instructions for that are in google also, just write "google usb sdk" on google
- Flashtool (google flashtool and the first website)
2 - Download the following files:
- CWM boot.img
- Supersu
- Sony RIC killer
- XperiaFirm
- android_winusb.inf
Download all from here: mega. co. nz /#F!eo0yEBaQ!ujFZ8Rl8XsJDK2KTgJlEKA
(delete the spaces I made in the link, I'm sorry if I am now allowed to post urls but I upload this files to my mega account)
3. Now Download the last version of Xperia m2 Aqua firmware using the program Xperiafirm (be sure of choosing your model) it will download several files, to transform all that files in a .tft file I used the last version of flashtool avaliable in the link above, open flashtool and click in tools/bundles/Fileset Decrypt. Select your source folder (the one where all the files from xperiafirm were downloaded) and send all files from "avaliables files" to " Files to convert" and click "convert". When it finish it will pop up a windows "Bunder", make double click in the "device" file and select yours, In the fields branding and version write whatever u want, send all files from the "folder list" to the "firmware content" and click "create". When it is finished you'll have your .tft file, you'll need it a little later.
4. Minimize flashtool, copy the file "boot.img" in the folder C:\Users"your user"\AppData\Local\Android\sdk\platform-tools (sometimes App folder is hidden) and the file android_winusb.inf in the folder C:\Users"youruser"\AppData\Local\Android\sdk\extras\google\usb_driver
5. Copy the file UPDATE-SuperSU-v2.40.zip in the root of your microSD card.
6. Go to the folder C:\Users"your user"\AppData\Local\Android\sdk\platform-tools and there while pressing shift make right click, "open command windows here", a command window will open, then write: fastboot flash boot boot.img and press enter, it will take a couple of seconds, then write fastboot reboot and your cellphone will reboot. In this point your cellphone is bricked, but don't worry, just after writing "fastboot reboot" while your cellphone is turning on press volume up and down several times and it will boot in recovery mode, there go to install zip from sd card and look for the superSu file, once installed go to advanced and reboot bootloader, answer yes to "fix superuser". Now write again in the command windows fastboot reboot.
7. Your cellphone should reboot with the last steep but if not and it enter in a endless loop of black screen (like it happened to me) you can just turn off your phone by pressing volume up and off bottom until the cellphone vibrate 3 times, and turn it on. If it reboot alone or you do it manually press volume down while your phone is turning on and your cellphone will enter in download mode. Plug it with the USB and in flashtool click the thunderbolt and flashtool, select the tft file you created before and in the window "exclude" check everything except "Kernel", it will flash now the kernel and when it is finished turn on your phone. You'll have to configure it like when you bought it.
8. Now your device is rooted, but you have to run the program sony RIC killer with the cellphone plugged, and that´s all.
If during the process you have any problem you just have to turn off your cellphone with the method I explained above, turn in on in download mode (volume down + on) and flash the tft you created.
I did not understand this part.
''select the tft file you created before and in the window "exclude" check everything except "Kernel", it will flash now the kernel and when it is finished turn on your phone. You'll have to configure it like when you bought it.''
or is touched only flash the kernel?
and could, thanks very easy.
You are THE BEST. :good::good::good::good::good::good:
It is exactly like u show in your picture, now just flash and after that you got it!.
D2406?
D2406?
cmd error waiting for device , phone off or ON?
RaFaFiNaL said:
cmd error waiting for device , phone off or ON?
Click to expand...
Click to collapse
bootloader locked or unlocked?
Postiga 41 said:
bootloader locked or unlocked?
Click to expand...
Click to collapse
locked
RaFaFiNaL said:
cmd error waiting for device , phone off or ON?
Click to expand...
Click to collapse
Im here in this waiting for device and nothing, help please, my bootloader is locked.
help me
Postiga 41 said:
Im here in this waiting for device and nothing, help please, my bootloader is locked.
Click to expand...
Click to collapse
C:\Users\Rafael\AppData\Local\Android\sdk\platform-tools>fastboot flash boot boot.img
sending 'boot' <13970 KB>...
OKAY [ 0.445S]
writing 'boot'...
FAILED <remote:Command not allowed>
finished. total time:0.450s
RaFaFiNaL said:
C:\Users\Rafael\AppData\Local\Android\sdk\platform-tools>fastboot flash boot boot.img
sending 'boot' <13970 KB>...
OKAY [ 0.445S]
writing 'boot'...
FAILED <remote:Command not allowed>
finished. total time:0.450s
Click to expand...
Click to collapse
bootloader must be unlocked, I did it with a tuto I found somewhere.
RaFaFiNaL said:
D2406?
Click to expand...
Click to collapse
2406 and 2403 are the same, 2406 is the american version and 2403 the international one. I could install 2403, but 2406 works also.
Mendeleiev said:
bootloader must be unlocked, I did it with a tuto I found somewhere.
Click to expand...
Click to collapse
Mine is 2403 but no permit to unlock bootloader, have other option to unlock bootloader?
Postiga 41 said:
Mine is 2403 but no permit to unlock bootloader, have other option to unlock bootloader?
Click to expand...
Click to collapse
Sony has an official method to unlock bootloader (which I used), I don't remember the tuto I followed, this will work I think. (delete the spaces I made in the link, I can't post links)
xperiafirmware. com /8-firmware/70-sony-xperia-m2-aqua-d2403
Mendeleiev said:
Sony has an official method to unlock bootloader (which I used), I don't remember the tuto I followed, this will work I think. (delete the spaces I made in the link, I can't post links)
xperiafirmware. com /8-firmware/70-sony-xperia-m2-aqua-d2403
Click to expand...
Click to collapse
Sony dont have unlock bootloader to m2 aqua =/
Postiga 41 said:
Sony dont have unlock bootloader to m2 aqua =/
Click to expand...
Click to collapse
Just select xperia M2!
Sent from my D2403 using XDA Free mobile app
I cant download from mega link above. Its always says incorrect link format. Is there an other alternative link? Thanks before.
Sent from my D2403 using Tapatalk
Thanks
Thank you for rewriting this for me! :3 I'm reuploading the video and it shouldn't be a problem this time! I'll post it on this and the original thread for the more visual of people when it's done uploading! ^o^ Gimme about an hour or three though. Uploading 1.5GB on a DSL connection that only allows .5mbps up at max is kinda sucky o.o
Why dont you compress the video first??
I think it should help you upload the video
but thank you anyway
I thank you to Mendeleiev also for re-write the tuto
thank you so much "Mendeleiev":fingers-crossed:
i root my device and now i feel great because of you:highfive:
Unlock bootloader
http:// developer.sonymobile .com /unlockbootloader /unlock-yourboot-loader/ Here you are,guys.Official and easy.
If you have problem to R/W system,check this http://forum.xda-developers.com/xperia-m2/development/tut-fix-mount-kitkat-root-t2861661
Oi guys!
So for now i might be alone on this, but i am certain that some few of you have wondered on how to get Viper4Android to work on the Moto Z without flaws. I am here to give you a small guide, because i figured out how to fairly easy add V4A.
There are 3 simple steps, but they can (in case you haven't done the first one yet) take some time.
If you have already Unlocked your Bootloader, disabled Force_Encrypt (either by manually editing the boot.img or flashing @janjan his ROM), installed a RECOVERY like TWRP and ROOTED your device, then you can skip right ahead to STEP 3.
Also, before you go ahead, do a BACKUP of all your important data, as it will CERTAINLY be lost when unlocking the bootloader (this does not count for inserted microSD cards, but just to be safe, remove the microSD or backup your data somewhere else, like your PC or a cloud service).
One more heads-up: You NEED a USB-C Cable that you can connect to your PC, otherwise this guide will be useless for you. Also, all my commands listed in the upcomming guide are listed with " ", but ignore these when entering the commands in the Command Prompts.
STEP 1:
1: As for every Android phone, you need an Unlocked Bootloader and TWRP (and also ROOT, etc).
-1.1: Download the Motorola USB Drivers HERE, and the ADB Fastboot Driver/Tool HERE.
-1.2: Install the Motorola USB Drivers first, then install the ADB All-In-One Tool after that (When installing the ADB AIO, choose yes for all options).
-1.3: On your Moto Z, enable Developer Options by going into the Phone Settings, then the last "About Phone" option, and then scroll to the bottom where it says "Build Number". Tap that "bar" 7 times until it says that you unlocked the Developer Options menu.
-1.4: Go back into the Main Settings Menu of your Phone, and then right above the "About Phone", should be an option called "{ } Developer Options". Go in there, and right in the beginning is an option called "OEM unlocking". Enable that option (when it asks you for your PIN/Password/Pattern, just enter it).
-1.5: Scroll just a little further down in the Developer Options menu, and you will see a section called "Debugging", in which the first option is called "USB debugging". Enable that option as well.
-1.6: Now put your Moto Z into Fastboot Mode. You can do this either by connecting your Moto Z to the PC, then open a Command Prompt (look in Windows for CMD), and type "adb reboot bootloader", OR by turning your Moto Z completely off, and then turning it back on WHILE holding BOTH the Volume Down and Power Button (if your Moto Z turns off all the time, the second the Phone vibrates, let go off the buttons).
-1.7: Now that your Phone is in Fastboot Mode, you will have to connect it to your PC by a USB-C cable. If you have done that, open a Command Prompt in Windows (again, by typing CMD in the Windows Start Search), and type this: "fastboot oem get_unlock_data"
-1.8: You will end up getting a result that will look a little like this (the numbers do NOT work for you, don't try them for steps required later on):
$ fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
-1.9: Copy the entire string you just got from the Command Prompt, and put it into any kind of Text Field or Text Editor. Remove the bootloader part, and also everything else, like [Info] or the likes, and same goes for empty spaces. The only thing you should be left with looks like this: 0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
-1.10: Now you go to THIS website to get the Unlock Code for your Phone (You will have to register at Motorola to be able to get the Unlock Code. It is easier if you just use Google+, it is much faster and you can skip the entire register process). There will be instructions there as well to guide you for how to enter the code, just in case you misunderstood my guide.
-1.11: Once you registered and entered the code, click the blue button below called "Can my device be unlocked?". Once Motorola confirms that your Moto Z can be unlocked, you click the "I agree" option, and then the "Request unlock key" button.
-1.12: You will get a pop-up telling you about it voiding your warranty, click "OK" on that one as well.
-1.13: Now, Motorola will tell you that they sent you the unlock code for your device to the E-Mail you registered with, so go and check your E-Mail account for that code.
-1.14: Copy the unlock code, go back to that Command Prompt (in case you closed it, open a new one), and enter this: "fastboot oem unlock UNLOCK_CODE_HERE" <<<< Where the UNLOCK_CODE_HERE means that you will have to replace this with the unlock key from your E-Mail.
-1.15: Now click ENTER, and your device will be Unlocked. After this, your device SHOULD reboot automatically, but if not, pick the REBOOT option in the Fastboot Mode Menu, and click the Power Button to confirm. From now on, every time you start your Phone, you will be greeted with the Unlocked Warning screen, but that is ok, nothing stopping your Phone from working or the likes.
-1.16: Let your Moto Z fully boot up, and when you have done that, shut it down again, and go back into Fastboot Mode using the above mentioned button combination.
-1.17: At this you will have to download the TWRP Recovery Image. You can find this for the Moto Z HERE, or HERE.
-1.18: Rename the downloaded file to just twrp.img, then go back to your Command Prompt (or open a new one), and enter this: "fastboot flash recovery twrp.img"
-1.19: Now let the RECOVERY be flashed, and then in the Fastboot Menu on your Moto Z, use the Volume Keys to navigate up and down, and navigate to "RECOVERY". Use the Power Button to confirm that option, and let it boot into the TWRP RECOVERY. Once you have done that, in TWRP, pick the Reboot option, and click the "System" button, so that the RECOVERY boots into the normal Android OS.
Congratulations, that was step 1 (and all its detailed sub-steps).
Now to STEP 2:
2: As the Moto Z has its entire storage and OS fully force-encrypted, we have to fix that. There are two ways, but as of now, i recommend the best one, as the other one is a bit hard to do unless you are a bit more tech-savvy.
-2.1: You will have to download the currently only actual ROM for the Moto Z from XDA user @janjan . You can find the download HERE. Download the corresponding US or EU version, depending on where you bought your device.
-2.2: I will have to mention here shortly, that the ROM you are about to install currently has one issue, which its severity depends on how much you currently need that "feature". The developer @janjan is working hard to fix, so you might want to wait in case you are disturbed by that "feature" not working. What is that feature you ask? Moto Mods. Some work, some don't, and the Incipio Battery Pack is one of those that do not work. If you can live with this issue until it is fixed, there is nothing stopping you from installing this ROM, but if you feel that you absolutely cannot live without it, then you might want to stop at this point and return when the issue has been fixed.
-2.3: So if you have decided to continue, then congratulations. To continue, you will have to enter the TWRP RECOVERY. Do NOT set up your Phone, as everything will be Wiped once more. So just enter the RECOVERY through the Bootloader (Fastboot). Shut down the Phone, hold the Volume Down and Power Button, wait for the Fastboot Menu to come up, navigate with the Volume Down Key to the RECOVERY option and confirm with the Power Button.
-2.4: Now connect your Phone to your PC with the USB-C Cable, and then go into the "Mount" menu. There it will let you open your Phone storage like on normal Android through MTP. Find the ROM .zip file you downloaded earlier, and put it somewhere in your Phones storage, like the Download folder, or create a new Folder you can easily recognize.
-2.5: If you have transferred the ROM .zip to your Phone, go back to the Main Menu, and pick the "Wipe" option (upper right). Now just Swipe the blue button to the right to do a full Factory Reset.
-2.6: Once it is done with the Factory Reset, go back to the Main Menu, and pick the "Install" (upper left, first option) option. Now navigate to where you uploaded your ROM .zip file, and then click that file once you have found it. Swipe to the right again to Flash the ROM.
-2.7: When it has finished flashing the ROM, Reboot the device, and you do that either by clicking "Reboot" (button to the lower right) right after the ROM has been flashed, or going back to the Main Menu and using the Reboot option.
-2.8: The Phone WILL take a good while to boot, so give it at least 10-15 minutes. If nothing happens by then, hold the Power Button to turn your Phone off and check the steps again and see if you did something wrong. If it did boot successfully, then take the time to setup your Phone, Language, Login Methods, etc.
And congratulations again, this was step 2. At this point you are done with all the time consuming things.
This is the last step, STEP 3:
3: I recommend that you install XPOSED BEFORE installing Viper4Android, as i found problems doing it the other way around. In case you thought about installing the XPOSED Framework, do that FIRST, NOT after having installed V4A.
-3.1: The only working version of Viper4Android i found is the ViperAtmos Universal Edition. You can download it directly HERE, or check the thread HERE (downloads are in the bottom. Remember to download the "ViPERAtmos 4.8 Sony Beats Universal Edition" .zip file).
-3.2: You will also have to download the SELinuxModeChanger app, with the direct link HERE, or the thread HERE.
-3.3: Now you push/transfer the downloaded files to your Moto Z, either by Cable or Wireless, the way you do it is up to you, but put it somewhere where you will find the files easily, like the Downloads folder.
-3.4: Now on your Moto Z download any file manager, go to the directory you pushed the files in, and install the SELinuxModeChanger.apk file. Open the app, give it full ROOT permissions, and then pick the "Permissive" option. Now reboot your device once, and it will automatically set SELinux to Permissive every time you boot your Moto Z (you can choose to let it notify you when it changes the mode).
-3.5: Reboot your Moto Z into the RECOVERY (steps found above). Here you go directly to the "Install" option, navigate to where you put your ViperAtmos .zip file, and install it by Swiping to the right. Do NOT pick the option to clear cache and dalvik/ART, i had problems with this the last time, and V4A wouldn't work (if you feel for it, then you can try clearing cache and dalvik/ART, but i found out that it works just fine not doing any of that).
-3.6: Reboot your Moto Z into the normal Android OS, and now you are done. Remember to check in the SELinuxModeChanger if the mode is set to Permissive, because if it is not, then Viper4Android (ViperAtmos) will crash your Phone, so make sure that is set.
Now you are done installing Viper4Android using the Universal Edition from ViperAtmos, well done!
If you have found any spelling mistakes in my guide and are absolutely annoyed by it/them, then tell me please!
Ok, have a good one everyone!
Really a GREAT guide...
yanniclord said:
oi guys!
so for now i might be alone on this, but i am certain that some few of you have wondered on how to get viper4android to work on the moto z without flaws. I am here to give you a small guide, because i figured out how to fairly easy add v4a.
There are 3 simple steps, but they can (in case you haven't done the first one yet) take some time.
If you have already unlocked your bootloader, disabled force_encrypt (either by manually editing the boot.img or flashing @janjan his rom), installed a recovery like twrp and rooted your device, then you can skip right ahead to step 3.
Also, before you go ahead, do a backup of all your important data, as it will certainly be lost when unlocking the bootloader (this does not count for inserted microsd cards, but just to be safe, remove the microsd or backup your data somewhere else, like your pc or a cloud service).
One more heads-up: you need a usb-c cable that you can connect to your pc, otherwise this guide will be useless for you. Also, all my commands listed in the upcomming guide are listed with " ", but ignore these when entering the commands in the command prompts.
step 1:
1: As for every android phone, you need an unlocked bootloader and twrp (and also root, etc).
-1.1: Download the motorola usb drivers here, and the adb fastboot driver/tool here.
-1.2: Install the motorola usb drivers first, then install the adb all-in-one tool after that (when installing the adb aio, choose yes for all options).
-1.3: On your moto z, enable developer options by going into the phone settings, then the last "about phone" option, and then scroll to the bottom where it says "build number". Tap that "bar" 7 times until it says that you unlocked the developer options menu.
-1.4: Go back into the main settings menu of your phone, and then right above the "about phone", should be an option called "{ } developer options". Go in there, and right in the beginning is an option called "oem unlocking". Enable that option (when it asks you for your pin/password/pattern, just enter it).
-1.5: Scroll just a little further down in the developer options menu, and you will see a section called "debugging", in which the first option is called "usb debugging". Enable that option as well.
-1.6: Now put your moto z into fastboot mode. You can do this either by connecting your moto z to the pc, then open a command prompt (look in windows for cmd), and type "adb reboot bootloader", or by turning your moto z completely off, and then turning it back on while holding both the volume down and power button (if your moto z turns off all the time, the second the phone vibrates, let go off the buttons).
-1.7: Now that your phone is in fastboot mode, you will have to connect it to your pc by a usb-c cable. If you have done that, open a command prompt in windows (again, by typing cmd in the windows start search), and type this: "fastboot oem get_unlock_data"
-1.8: You will end up getting a result that will look a little like this (the numbers do not work for you, don't try them for steps required later on):
$ fastboot oem get_unlock_data
(bootloader) 0a40040192024205#4c4d3556313230
(bootloader) 30373731363031303332323239#bd00
(bootloader) 8a672ba4746c2ce02328a2ac0c39f95
(bootloader) 1a3e5#1f53280002000000000000000
(bootloader) 0000000
-1.9: Copy the entire string you just got from the command prompt, and put it into any kind of text field or text editor. Remove the bootloader part, and also everything else, like [info] or the likes, and same goes for empty spaces. The only thing you should be left with looks like this: 0a40040192024205#4c4d355631323030373731363031303332323239#bd008a672ba4746c2ce02328a2ac0c39f951a3e5#1f532800020000000000000000000000
-1.10: Now you go to this website to get the unlock code for your phone (you will have to register at motorola to be able to get the unlock code. It is easier if you just use google+, it is much faster and you can skip the entire register process). There will be instructions there as well to guide you for how to enter the code, just in case you misunderstood my guide.
-1.11: Once you registered and entered the code, click the blue button below called "can my device be unlocked?". Once motorola confirms that your moto z can be unlocked, you click the "i agree" option, and then the "request unlock key" button.
-1.12: You will get a pop-up telling you about it voiding your warranty, click "ok" on that one as well.
-1.13: Now, motorola will tell you that they sent you the unlock code for your device to the e-mail you registered with, so go and check your e-mail account for that code.
-1.14: Copy the unlock code, go back to that command prompt (in case you closed it, open a new one), and enter this: "fastboot oem unlock unlock_code_here" <<<< where the unlock_code_here means that you will have to replace this with the unlock key from your e-mail.
-1.15: Now click enter, and your device will be unlocked. After this, your device should reboot automatically, but if not, pick the reboot option in the fastboot mode menu, and click the power button to confirm. From now on, every time you start your phone, you will be greeted with the unlocked warning screen, but that is ok, nothing stopping your phone from working or the likes.
-1.16: Let your moto z fully boot up, and when you have done that, shut it down again, and go back into fastboot mode using the above mentioned button combination.
-1.17: At this you will have to download the twrp recovery image. You can find this for the moto z here, or here.
-1.18: Rename the downloaded file to just twrp.img, then go back to your command prompt (or open a new one), and enter this: "fastboot flash recovery twrp.img"
-1.19: Now let the recovery be flashed, and then in the fastboot menu on your moto z, use the volume keys to navigate up and down, and navigate to "recovery". Use the power button to confirm that option, and let it boot into the twrp recovery. Once you have done that, in twrp, pick the reboot option, and click the "system" button, so that the recovery boots into the normal android os.
Congratulations, that was step 1 (and all its detailed sub-steps).
now to step 2:
2: As the moto z has its entire storage and os fully force-encrypted, so we have to fix that. There are two ways, but as of now, i recommend the best one, as the other one is a bit hard to do unless you are a bit more tech-savvy.
-2.1: You will have to download the currently only actual rom for the moto z from xda user @janjan . You can find the download here. Download the corresponding us or eu version, depending on where you bought your device.
-2.2: I will have to mention here shortly, that the rom you are about to install currently has one issue, which its severity depends on how much you currently need that "feature". The developer @janjan is working hard to fix, so you might want to wait in case you are disturbed by that "feature" not working. What is that feature you ask? Moto mods. Some work, some don't, and the incipio battery pack is one of those that do not work. If you can live with this issue until it is fixed, there is nothing stopping you from installing this rom, but if you feel that you absolutely cannot live without it, then you might want to stop at this point and return when the issue has been fixed.
-2.3: So if you have decided to continue, then congratulations. To continue, you will have to enter the twrp recovery. Do not set up your phone, as everything will be wiped once more. So just enter the recovery through the bootloader (fastboot). Shut down the phone, hold the volume down and power button, wait for the fastboot menu to come up, navigate with the volume down key to the recovery option and confirm with the power button.
-2.4: Now connect your phone to your pc with the usb-c cable, and then go into the "mount" menu. There it will let you open your phone storage like on normal android through mtp. Find the rom .zip file you downloaded earlier, and put it somewhere in your phones storage, like the download folder, or create a new folder you can easily recognize.
-2.5: If you have transferred the rom .zip to your phone, go back to the main menu, and pick the "wipe" option (upper right). Now just swipe the blue button to the right to do a full factory reset.
-2.6: Once it is done with the factory reset, go back to the main menu, and pick the "install" (upper left, first option) option. Now navigate to where you uploaded your rom .zip file, and then click that file once you have found it. Swipe to the right again to flash the rom.
-2.7: When it has finished flashing the rom, reboot the device, and you do that either by clicking "reboot" (button to the lower right) right after the rom has been flashed, or going back to the main menu and using the reboot option.
-2.8: The phone will take a good while to boot, so give it at least 10-15 minutes. If nothing happens by then, hold the power button to turn your phone off and check the steps again and see if you did something wrong. If it did boot successfully, then take the time to setup your phone, language, login methods, etc.
And congratulations again, this was step 2. At this point you are done with all the time consuming things.
this is the last step, step 3:
3: I recommend that you install xposed before installing viper4android, as i found problems doing it the other way around. In case you thought about installing the xposed framework, do that first, not after having installed v4a.
-3.1: The only working version of viper4android i found is the viperatmos universal edition. You can download it directly here, or check the thread here (downloads are in the bottom. Remember to download the "viperatmos 4.8 sony beats universal edition" .zip file).
-3.2: You will also have to download the selinuxmodechanger app, with the direct link here, or the thread here.
-3.3: Now you push/transfer the downloaded files to your moto z, either by cable or wireless, the way you do it is up to you, but put it somewhere where you will find the files easily, like the downloads folder.
-3.4: Now on your moto z download any file manager, go to the directory you pushed the files in, and install the selinuxmodechanger.apk file. Open the app, give it full root permissions, and then pick the "permissive" option. Now reboot your device once, and it will automatically set selinux to permissive every time you boot your moto z (you can choose to let it notify you when it changes the mode).
-3.5: Reboot your moto z into the recovery (steps found above). Here you go directly to the "install" option, navigate to where you put your viperatmos .zip file, and install it by swiping to the right. Do not pick the option to clear cache and dalvik/art, i had problems with this the last time, and v4a wouldn't work (if you feel for it, then you can try clearing cache and dalvik/art, but i found out that it works just fine not doing any of that).
-3.6: Reboot your moto z into the normal android os, and now you are done. Remember to check in the selinuxmodechanger if the mode is set to permissive, because if it is not, then viper4android (viperatmos) will crash your phone, so make sure that is set.
Now you are done installing viper4android using the universal edition from viperatmos, well done!
If you have found any spelling mistakes in my guide and are absolutely annoyed by it/them, then tell me please!
Ok, have a good one everyone!
Click to expand...
Click to collapse
thanks very good detailed guide
OK so wait...did I just read a guide on how to get root on the moto z? I've been up all day and am pulling an all nighter at work so I may be delirious, I just want to make sure...lol
Avengeme said:
OK so wait...did I just read a guide on how to get root on the moto z? I've been up all day and am pulling an all nighter at work so I may be delirious, I just want to make sure...lol
Click to expand...
Click to collapse
Yes, there are some better around now but... you are right!
Hello guys I hope you had a good day.
I recently tried to root my device but it didn't work and got into a loop boot. Later I wiped /system and /cache and some other important parts [Because of my lack of experience with phones] , Now the phone is OS-Less. I tried to search for a Stock ROM for 3 days but couldn't. Now I just have TWRP. What should I do? I just want anything that works right now, no specific needs.
EDIT: I also have Fastboot installed as well.
Thanks for helping me.
That's why you always do a backup before doing such dangerous things, bre. You should be ok by following @firemax13 "restore to factory state" guide https://forum.xda-developers.com/general/rooting-roms/lenovo-vibe-k6-note-guide-rooting-t3602763 (of course you should jump the unroot part and start at "turn the phone to download mode".
c00kiie said:
Hello guys I hope you had a good day.
I recently tried to root my device but it didn't work and got into a loop boot. Later I wiped /system and /cache and some other important parts [Because of my lack of experience with phones] , Now the phone is OS-Less. I tried to search for a Stock ROM for 3 days but couldn't. Now I just have TWRP. What should I do? I just want anything that works right now, no specific needs.
EDIT: I also have Fastboot installed as well.
Thanks for helping me.
Click to expand...
Click to collapse
@c00kiie
Ok that's a huge problem for you try to restore your phone here's the link https://forum.xda-developers.com/general/rooting-roms/lenovo-vibe-k6-note-guide-rooting-t3602763
Scroll down until you see my post related to restore.....yeah we have a stock rom but the problem you can't flash it via twrp....i will reply the method to restore your phone...
hope you understand...pls dont forget to subscribe my thread and hit like if it is working....it if is not working just tell me
---------- Post added at 06:44 AM ---------- Previous post was at 06:41 AM ----------
c00kiie said:
Hello guys I hope you had a good day.
I recently tried to root my device but it didn't work and got into a loop boot. Later I wiped /system and /cache and some other important parts [Because of my lack of experience with phones] , Now the phone is OS-Less. I tried to search for a Stock ROM for 3 days but couldn't. Now I just have TWRP. What should I do? I just want anything that works right now, no specific needs.
EDIT: I also have Fastboot installed as well.
Thanks for helping me.
Click to expand...
Click to collapse
Here's the method from my xda friend hope you success it
RESTORE PHONE TO FACTORY STATE
source: https://forum.xda-developers.com/ge...ide-restore-stock-recovery-rom-6-0-1-t3599360
Click to expand...
Click to collapse
Reguired Files
First Download all required files from here http://goo.gl/Gfs1zf
Install Drivers in 2_Driver.rar
Install softwares in 3_Microsoft C.rar (For 64bit Windows install Both)
Phone : In Developer Options >
Code:
>Turn on USB debugging
>Enable Oem Unlock
1. Uninstalling Root
We must uninstall root (supersu) on the device. Select supersu app and tap the settings.
Access > Default Access > Grant and Full Unroot > Continue > Yes > Yes
The phone is restarting now. Check the supersu app not in drawer.
Shutdown the phone.
Click to expand...
Click to collapse
2. Turn Phone To Download Mode.
Hold down together the Volume Up + Power button for a while. Release power key after lenovo logo shows up. On the menu select download. Download Mode dont have any screen. Screen is blank but working.)
Connect phone to PC
Click to expand...
Click to collapse
3. Flashing Rom
Unrar 5_K53_S123_170216_ROW_STOCK.rar (Latest) or 5_K53_S116_161115_ROW_STOCK.rar (Testing OTA)
Unrar 4_QcomDLoader.rar Open folder. Click and open QcomDloader.exe
On Downloder Window Click load button. (First on top left)
Select the directory of the rom files (The directory numbered 5 which contains many img files) Click OK.
Click settings button. (Second on top left)
Dont change anything. I was pre entered the options. Check the values. If wrong, correct.
Code:
Manifacture Order: EMPTY (Important)
Download Mode: UPGRADE
Chipset: 8937
Downloaded Rom: CHECKED
eMMC Programmer: prog_emmc_firehose_8937_ddr.mbn
Raw Program: rawprogram0.xml
patch0: patch0.xml
Click OK.
Click Start button. (Third on top left)
Status becomes Downloading. Wait for a while. Flashing finishes around 400-500 seconds.
Status becomes Finish. Progress Passed.
Disconnect the phone. Close the Downloader on PC.
Press Power button 10 seconds on phone. Device is restarting.
Wait a few minutes. Phone will be opened to first install mode . In language selection screen Shutdown the phone by pressing power button.
Click to expand...
Click to collapse
4. Installing ADB
Install 1_adb-setup-1.3.exe to the pc. (Select > Yes > Yes > Yes > Yes. In the opened window click Install)
Click to expand...
Click to collapse
5. Locking the Bootloader.
Restart phone in fastboot mode. (Hold down power + Volume DOWN keys. Fastboot Mode appairs left top of the screen.)
Connect phone to PC
Adb directory now located in C Drive. Open adb folder. Open a command window here. (CRTL+SHIFT right click on empty space. Select Open Command Prompt Here)
Type:
Code:
fastboot devices
then press enter. (Your device must be listing like: s356d3a9 fastboot)
Type:
Code:
fastboot oem lock
(OKAY [ 0.031s] finished. total time: 0.031s)
Type:
Code:
fastboot oem device-info
Control all options are false.
Disconnect the phone. Restart phone by pressing power button 10 seconds.
Finished...
Click to expand...
Click to collapse
This rom contains no bloatware except Lenovo Help (a.k.a Lenovo Companion)
Hit likes if working.:good::good::good::good::good::good::good:
If your phone has a trouble just post a message here.
DO IT YOUR OWN RISK I WILL NOT HANDLE ANY BRICK BUT YOU CAN POST A MESSAGE TO ME