[UNOFFICIAL][Recovery][M700X] TWRP 3.1.1 - LG Q6 ROMs, Kernels, Recoveries, & Other Developme

Hi guys!
I built TWRP [Ver: 3.1.1] from scratch for M700X (X=N,DSA etc.)
ONLY FOR TESTERS NOW!
Disclaimer:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired. Please
* do some research if you have any concerns about features included in this Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Supported Models:
LG Q6 - M700X (X=N, DSA etc.)
Click to expand...
Click to collapse
Steps:
First, unlock your bootloader and access to fastboot or root is needed!
(1) Download the recovery image.
(2) Download Flashify.
(3) Flash Recovery using Flashify.
You are in TWRP!
NOTE: To boot into recovery with hardware buttons use this method. Power off the device > press and hold Power + Volume Down buttons simultaneously > keep pressing them until the LG logo shows up > when the LG logo shows up, let go of the buttons for 1 second and then press them again. A factory reset menu will show up. Select "Yes" two times to "wipe" your device. Don't worry, this will actually NOT wipe your device. It will boot into recovery normally. This is because LG phones are a bit different and they instruct the recovery (TWRP in this case) to automatically perform a factory reset of the phone by triggering the /misc wipe flag. I mapped /misc partition to a different partition (/persist) so TWRP doesn't perform a factory reset.
BUGS:
Mentioned in 3rd post.
Device Tree I created:
https://github.com/PVineeth/android_device_lge_mh_recovery

Reserved

Reserved One More

How to flash, if there is no root?

Thank you very much bro..

Thanks
hey thanks
Can provide much more detailed steps to install this??
And can build a custom room anytime later??
We want custom roms
Thanks

Posted new version compiled with more features!

Pls provide a clean guide for unlocking bootloader root n twrp installation.
Thank you.
Sent from my LG-M700 using XDA-Developers Legacy app

zeetwo-raj said:
Pls provide a clean guide for unlocking bootloader root n twrp installation.
Thank you.
Sent from my LG-M700 using XDA-Developers Legacy app
Click to expand...
Click to collapse
I have no idea about bootloader unlock and rooting part for this phone.

Then how can we install twrp recovery without unlocked bootloader n root.
Thank You.
---------- Post added at 07:02 PM ---------- Previous post was at 07:00 PM ----------
I hav seen some websites where bootloader unlock n rooting guide is given.....but i doubt.

Any chance for lineage?

optionalmgrr.la said:
Any chance for lineage?
Click to expand...
Click to collapse
Yes but their is no way to unlock bootloader now.. You can try if it will sucess then soon you will get los

Anyone looking to unlock the bootloader. Just try the usual.
Go into settings and about phone. Click on build number like 7 times until you can access developer options.
Go to the developer options menu in settings and look for the oem unlock setting then enable it, next find usb debugging and click that.
Open up a command prompt on your computer, connect your phone and leave it on the home screen.
Now use adb to reboot into bootloader mode. adb reboot bootloader
Now you can just type in
fastboot oem unlock
It should ask you to format your phone if the unlock is possible.
If this works and you do manage to unlock the bootloader, I'll give instructions for pushing recovery through CMD or flashify.

ninjasinabag said:
Anyone looking to unlock the bootloader. Just try the usual.
Go into settings and about phone. Click on build number like 7 times until you can access developer options.
Go to the developer options menu in settings and look for the oem unlock setting then enable it.
Now use adb to reboot into bootloader mode. adb reboot bootloader
Now just type in
fastboot oem unlock
It should ask you to format your phone if the unlock is possible.
Click to expand...
Click to collapse
Sorry I don't have the PhD can someone try?

optionalmgrr.la said:
Sorry I don't have the PhD can someone try?
Click to expand...
Click to collapse
Do you have adb tools?

http://www.rootupdate.com/2017/08/unlock-bootloader-lg-q6.html
Guys Try This for bootloader unlocking.

[email protected] said:
Do you have adb tools?
Click to expand...
Click to collapse
I mean I don't have the phone yet.....

Has anyone been able to create backups or flash su through this yet?

When can I use Rom?
---------- Post added at 09:58 AM ---------- Previous post was at 09:49 AM ----------
Is there anyone who can unlock BL and root? hurry up!!!!

Any update on this? Or at least news about unlock bootloader.
Sent from my LG-M700 using Tapatalk

Related

[GUIDE]Unlock Bootloader - Moto E [UPDATED]

UNLOCK YOUR BOOTLOADER​
WARNING: UNLOCKING YOUR BOOTLOADER VOIDS YOUR WARRANTY.PROCEED AT YOUR OWN RISK.
NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.
INSTRUCTIONS:
Make sure to take a backup of your entire device data.
Download the Android SDK OR Download the Minimal ADB and Fastboot
Install the latest Motorola USB Drivers on your desktop. Download here.
Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
Open Command Prompt on androidsdk/platform-tools/ (Hold Shift and right click and press open command window here)
Connect your Phone to PC
Type this in the CMD prompt window - fastboot oem get_unlock_data
You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]
Paste all the lines together in a notepad. Remove the empty spaces.
Now go to the Motorola Site.Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string in the field at step #6. Then click on ‘Can my device be unlocked?’, after which a "REQUEST UNLOCK KEY" button will appear at the bottom of page.
To get your unlock key, select the ‘I Agree’ option. Note: You will receive an email with your Unlock Key at the email address you used to log in there.
Important – Copy the 20-character key that Motorola sent you via email. Make sure your device is connected.
Then in CMD type: fastboot devices (To check your device is connected)
Then type: fastboot oem unlock UNIQUE_KEY
NOTE: In above command, replace the word ‘UNIQUE_KEY’ with the unlock code that you got via email. Then hit enter and the unlocking process should begin. Wait for a while and soon you’ll see ‘Bootloader Unlocked’ warning on your Moto E.
To relock the bootloader:
Go to Fastboot and give the command fastboot oem lock
You can always appreciate my work by pressing the Thanks Button.:good:
Good Day
Video Tutorial
FAQ
[SIZE=+1]Q1:How to remove the unlocked bootloader message? [/SIZE]
Download the logo.zip.
Extract all the files
Reboot to fastboot mode (power + vol down)
Now open cmd and use cd command to go to the directory where you placed the file.
Now Type the command: fastboot flash logo logo.bin
Reboot from the recovery (use vol up to select and vol down to navigate)
Now your bootlogo should be restored back to the normal version
​
Want to Get OTA updates even after Rooting your Device? Here's how.
Use the full unroot option from the Super Su
Flash the stock recovery Use Code : mfastboot flash recovery recovery.img
Now you'll be able to get OTA updates as before
awesome..:good:
bhushan2k said:
awesome..:good:
Click to expand...
Click to collapse
Thank You.
If you have got the MOTO E can you test the root exploit too?
Falcon G said:
Thank You.
If you have got the MOTO E can you test the root exploit too?
Click to expand...
Click to collapse
m yet to get it..hope @varunangirash and @rdxkaddi can try since they have it..
Nice work bro but elaboration of the guide to more understandable way for noobs around would be more helpful. I successfully Unlocked my bootloader (so, it's not for me). If you want I can elaborate these steps a bit clearer. Anyways. Nice work :good:
Mrtoxicgamer10 said:
Nice work bro but elaboration of the guide to more understandable way for noobs around would be more helpful. I successfully Unlocked my bootloader (so, it's not for me). If you want I can elaborate these steps a bit clearer. Anyways. Nice work :good:
Click to expand...
Click to collapse
Can you tell me what steps need elaboration
Falcon G said:
reserved
Click to expand...
Click to collapse
Hey will I still be able to get OTA updates after unlocking Bootloader?
SArnab©® said:
Hey will I still be able to get OTA updates after unlocking Bootloader?
Click to expand...
Click to collapse
Yes you can.
But don't root for ota
SArnab©® said:
Hey will I still be able to get OTA updates after unlocking Bootloader?
Click to expand...
Click to collapse
Yes you can.
---------- Post added at 07:08 PM ---------- Previous post was at 07:05 PM ----------
Falcon G said:
Can you tell me what steps need elaboration
Click to expand...
Click to collapse
Only one step is missing bro that the device needs to be connect.
Falcon G said:
Yes you can.
But don't root for ota
Click to expand...
Click to collapse
Well I was thinking of flashing TWRP Recovery to root.
Can't I simply use Full Unroot option of SuperSu to unroot when an ota is available to Download and update?
I think we can perform the bootloader unlocking process using ADB & Fastboot files plus USB drivers, and overcome the need to download the 510 MB Android SDK. Is that possible?
mayurjango said:
I think we can perform the bootloader unlocking process using ADB & Fastboot files plus USB drivers, and overcome the need to download the 510 MB Android SDK. Is that possible?
Click to expand...
Click to collapse
Yes. Only adb files are needed,
Thanks. Link to latest ADB files please.
mayurjango said:
Thanks. Link to latest ADB files please.
Click to expand...
Click to collapse
Here you are has both ADB and Fastboot all in a tiny, easy to use package http://forum.xda-developers.com/showthread.php?t=2317790.
Sent from my SCH-I535 using XDA Premium 4 mobile app
SArnab©® said:
Well I was thinking of flashing TWRP Recovery to root.
Can't I simply use Full Unroot option of SuperSu to unroot when an ota is available to Download and update?
Click to expand...
Click to collapse
I am not sure if it would work. But you can try for yourself.
shimp208 said:
Here you are has both ADB and Fastboot all in a tiny, easy to use package http://forum.xda-developers.com/showthread.php?t=2317790.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Added to the OP
Just a Friendly Reminder. I am receiving PM from a lot of guys on how to unlock their bootloader. I will help all of you, you know I will. But if you consider appreciating my work by pressing the thanks button it would be great for me and will help me serve you better. :good:
Mrtoxicgamer10 said:
Yes you can.
---------- Post added at 07:08 PM ---------- Previous post was at 07:05 PM ----------
Only one step is missing bro that the device needs to be connect.
Click to expand...
Click to collapse
Added to the OP Thanks :good:
Step-by-Step Guide to Unlock Moto E Bootloader: http://webtrickz.com/how-to-unlock-bootloader-on-moto-e/
Hope you find it helpful.
P.S. Remove the link if you consider it as spam.

♦®⊕⊕†♦ how to root your huawei device with nougat ♦

How to root your Huawei device on Nougat​
Disclaimer:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this TUTO
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
Hi mates
For all those who, like me, have a lot of trouble to root their Mate 8.
I've successful to root my phone from the B560.
Last tuto (FINAL):
* Have the B560 firmware (or above - ask me for that) without no changes for Huawei Mate 8 with Nougat firmware - for the others devices, ASK ME!!!
* This Boot_Insecure_BXXX_Fix-adb_dm-verity-v2.img or v3- 5 versions for the moment: B560 - B580 - B581 - B582 - B585 - B588- B590- B592- B594- B595- B596. For another kernel, ASK ME!
* Have this TWRP 3.1.0-x - or this one (following the update)
* Have this SuperSU-v2.xx-EMUI5.0.zip on your external sdcard for supersu Chainfire - method 1
* Have the PHH superuser.zip on your external sdcard for PHH superuser - method 2
1 - Easy way to root with supersu Chainfire:
Install the TWRP via adb, or SRKtools or still TWRP if you already have it
Install the new_Insecure_BXXX_dm-verity-v2.img or v3 via adb
Reboot to the recovery
Install SuperSU-v2.xx-EMUI5.0.zip from TWRP
Reboot system
2 - Easy way to root with PHH superuser:
Install the TWRP via adb, or SRKtools or still TWRP if you already have it
Install the new_Insecure_BXXX_dm-verity-v2.img or v3 via adb
Reboot to the recovery
Install PHH superuser.zip from TWRP
Reboot system
Install PHH superuser app via PlayStore (if necessary, you had to make it with previous version)
Devices with which it works:
HUAWEI Mate 8
HUAWEI Honor Note 8
HUAWEI P9
HUAWEI Honor 8
HUAWEI MediaPad M3
HUAWEI P9 Plus
Misc:
It's certainly possible to root others Huawei models . For them, send me the stock boot.img of your current firmware in order that I make an insecure boot Fix-adb dm-verity for your device.
All apps requiring root works well with this method.
Following a problem with access to developer options, a update was made that now makes us to v3.
Credits:
ajsmsg78 - who explained me how to create the insecure boot
jac10000 - who helped me to create the insecure boot Fix-adb dm-verity
Chainfire for supersu
phhusson for PHH superuser
Donators:
Thanks to them
letschky
Frittenfresser
Tecalote
Version Information:
Status: Functionnal
Created: 2017-02-12
Last Updated: 2018-02-07
If you like that, hit the THANKS button below !​
Report me if it works fine for you! I'll add you in the OP post.
Report me on which firmware you used my method.
Changes:
Code:
[B][I]Boot_Insecure_BXXX_Fix-adb_dm-verity-v2.img[/I][/B]
* fixes issue adb doesn't work
[B][I]Boot_Insecure_BXXX_Fix-adb_dm-verity.img[/I][/B]
* based on the [URL="https://forum.xda-developers.com/mate-8/orig-development/boot-decrypted-insecure-boot-img-adb-t3555257"]insecure boot[/URL]
* remove the boot checking of dm-verity for a better rooting
* authorize read/ write on the partitions
Thanks!
Install TWRP (SRKtools method)​
TWRP TUTO:
Download this twrp.img
Rename it as twrpmate8mm.img
Goes to the SRKtools folder
Goes to the recovery folder
Goes to the mate8 folder
Goes to the emui41 folder
Open mate8.zip file with winrar or other extractor
Inside, you've 2 files,stockrecoverymate8mm.img and twrpmate8mm.img, delete twrpmate8mm.img file in the zip and confirm
Drag and drop your renamed file (twrpmate8mm.img) in the opened zip, confirm
Plug your phone
Authorize Debug mode in Settings\Developper options
Check if "Enable OEM unlock" is ticked
Authorize Debug mode in popup windows
Now, you launch SRKtools app
In the menu, choose 3 (Install recovery 6.0) and enter
Choose 2 (Huawei Mate 8) and enter
Choose 3 (Install Mate 8 TWRP for Marshmallow (EMUI 4.1) and enter
Type y and enter
Type f and enter
Wait the end of installation
The phone will reboot to this recovery and you will see that is good recovery
Install TWRP (ADB method)​
TWRP TUTO:
Download this twrp.img
Rename it as twrp.img
Plug the phone with the debug mod activated
Check if "Enable OEM unlock" is ticked
Launch a command prompt from you ADB folder - like on the Flash_boot_img_tuto_02.jpg screenshot
Type: adb devices
Type: adb reboot bootloader
Put the twrp.img file in C: (you can put anywhere but you should know the path. So the better is to follow my instructions)
Type: fastboot flash recovery C:\twrp.img (Wait the end of installation, it's quick)
Brilliant work buddy! Keep it coming
Thank you!
Thank you for your hard work. I will try it immediately, downloading everything I need now.
Will report back when I have done it
---------- Post added at 07:08 PM ---------- Previous post was at 07:02 PM ----------
Question:
If I am already on official OTA B560, can I skip these steps?
16. Install update_data_full_hw_eu.zip - Don't reboot
17. Install update.zip - Don't reboot
Click to expand...
Click to collapse
@dexz 's method arranged by me​to avoid to format data again​
Only use if you are in the situation below... otherwise follow this method
Good news for those who are in my situation with my method. The @dexz 's method works fine but force again to format data... personnally I had more than tired to format data. So I made this....
You are with the semi rooted B560 or other perhaps
You have Chainfire supersu
You have decrypted your data
You have a Decrypted data boot and you wanted to keep it
Put my Decrypted data boot on the external SD
Phone is on... then unroot it fully with Chainfire supersu in its settings - it asks you to restore the boot.img, I pushed "NO" because I had a doubt if I still had it, in addition it will install again in this tuto
Reboot in TWRP (frd-twrp like @dexz 's tuto)
Install Decrypted data boot
Wipe Dalvik & cache - Strongly advised after to have flashed the boot, it doesn't eat some bread
Install superuser_noverify_nocrypt.zip
Reboot to system - It will take about 3-5mins or less, it's due to the wipe Dalvik & Cache
Go to playstore and Install phh's SuperUser app
And like me, you are fully rooted... Again thanks to @dexz for his method! The one above isn't more complicate and avoid to format again the data if you are in my situation.
franzyroy said:
Thanks!
You can try but I don't know the result. Try at least with update_data_full_hw_eu
Click to expand...
Click to collapse
Okay thanks for quick reply, will try with update_data only
---------- Post added at 07:19 PM ---------- Previous post was at 07:15 PM ----------
franzyroy said:
Thanks!
You can try but I don't know the result. Try at least with update_data_full_hw_eu
Click to expand...
Click to collapse
Another question, last one I promise.
You did not mention this in the thread, not that I saw at least.
Do I need to unlock my bootloader?
lovemajj said:
Okay thanks for quick reply, will try with update_data only
Click to expand...
Click to collapse
Perhaps it will work only with update data... I know someone has already rooted his phone like that (here).
lovemajj said:
Another question, last one I promise.
You did not mention this in the thread, not that I saw at least.
Do I need to unlock my bootloader?
Click to expand...
Click to collapse
Yes! I add it in the OP post!
franzyroy said:
Yes! I add it in the OP post!
Click to expand...
Click to collapse
Okay thank you!
lovemajj said:
Okay thank you!
Click to expand...
Click to collapse
Done
Short question is it possible that someone makes a twrp backup and i just reroll this on my phone?^^
How do I unlock the FRP lock?
EDIT: Nevermind, I figured out how to do it.
If anyone else needs an answer to this question here it is:
Before you unlock the bootloader, you MUST enable "OEM Unlocking".
If you do not do it before you unlock the bootloader, it will be greyed out and you will have to relock the bootloader and do it all over again.
---------- Post added at 09:26 PM ---------- Previous post was at 08:41 PM ----------
I have tried it now and it works!
Although I skipped one thing, which was step 3. I did not install the insecure boot because I know from the past that it screwed up my phone.
In short I did like this:
Enabled OEM Unlocking
Unlocked bootloader
Flashed TWRP (found in OP)
Factory reset
Format Data (here I rebooted to recovery)
Flashed the SuperSU zip (found in OP)
Flashed update_data_full_hw_eu.zip (also found in OP)
Then I flashed SuperSU again.
Reboot to system and done
Thank you for this post
lovemajj said:
How do I unlock the FRP lock?
EDIT: Nevermind, I figured out how to do it.
If anyone else needs an answer to this question here it is:
Before you unlock the bootloader, you MUST enable "OEM Unlocking".
If you do not do it before you unlock the bootloader, it will be greyed out and you will have to relock the bootloader and do it all over again.
---------- Post added at 09:26 PM ---------- Previous post was at 08:41 PM ----------
I have tried it now and it works!
Although I skipped one thing, which was step 3. I did not install the insecure boot because I know from the past that it screwed up my phone.
In short I did like this:
Enabled OEM Unlocking
Unlocked bootloader
Flashed TWRP (found in OP)
Factory reset
Format Data (here I rebooted to recovery)
Flashed the SuperSU zip (found in OP)
Flashed update_data_full_hw_eu.zip (also found in OP)
Then I flashed SuperSU again.
Reboot to system and done
Thank you for this post
Click to expand...
Click to collapse
So it works for you like that.
Thanks for your report, I will add you in the OP post.
Edit: Finally no, I will not add you, you don't match those who have a problem to root.
TWRP.img
franzyroy said:
Install TWRP (ADB method)​
TWRP TUTO:
Download this frd-twrp.img
Rename it as twrp.img
Plug the phone with the debug mod activated
Launch a command prompt from you ADB folder - like on the Flash_boot_img_tuto_02.jpg screenshot
Type: adb devices
Type: adb reboot bootloader
Put the twrp.img file in C: (you can put anywhere but you should know the path. So the better is to follow my instructions)
Type: fastboot flash recovery C:\boot.img (Wait the end of installation, it's quick)
Click to expand...
Click to collapse
@franzyroy I do not understand the point 8. Why boot.img fastboot flash recovery? I for flashing the recovery I always used FASTBOOT command FLASH RECOVERY TWRP.img Thanks
apollo_81 said:
@franzyroy I do not understand the point 8. Why boot.img fastboot flash recovery? I for flashing the recovery I always used FASTBOOT command FLASH RECOVERY TWRP.img Thanks
Click to expand...
Click to collapse
It's a typo. Sorry!
@apollo_81
It was a typo, I corrected it.
This is:
Code:
fastboot flash recovery C:\twrp.img
@apollo_81
Can you remove your quote here #16 that others persons don't make the error.
lovemajj said:
Although I skipped one thing, which was step 3. I did not install the insecure boot because I know from the past that it screwed up my phone.
Click to expand...
Click to collapse
I did it and I haven't had any issue.

Bootloader unlock and custom recovery

Hello guys. Before you proceed, I'll let you know that I don't own this device. Theoretically these steps should work.
1. Unlock bootloader
Go to settings>about, tap build number 7 times. This enables developer options. Here, select allow OEM unlock and USB debugging. Reboot in fastboot mode (power+vol down). Then go to this site
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
And follow the instructions. They are pretty straightforward.
2. Install TWRP
Go to
http://lenovo-forums.ru/topic/22535-moto-m-kastomnoe-rekaveri-twrp-otklyuchenie-shifrovaniya/
And download TWRP_Moto_M.img and boot_M_S124.img
In fastboot mode type fastboot flash boot <the name of the latter file image, just drag it into the CMD window from adb and fastboot folder> then type fastboot flash recovery <TWRP file>
Then type fastboot boot <TWRP file> and voila, you are booted in custom recovery.
IMPORTANT: FOR ALL THAT IS GOOD AND FAIR, MAKE A BACKUP OF EVERY FOLDER. IF YOU MESS UP SOMEWHERE, I WON'T BE ABLE TO HELP YOU!!
Now you may proceed to rooting procedures.
Tell me if this works. And before asking any questions in this thread, use the DAMN INTERNET; Google or Bing or Yahoo, whatever floats your boat
Reserved
If you are unsure of any step, and Google does not help, ask it in this thread and wait for my reply
Hi can u pls tell how to do this in XT 1663... Tried to enter bootloader mode but no luck
nanchilanto said:
Hi can u pls tell how to do this in XT 1663... Tried to enter bootloader mode but no luck
Click to expand...
Click to collapse
Search in google `lenovo forum 772 moto m`
jcanilkumarjc said:
Search in google `lenovo forum 772 moto m`
Click to expand...
Click to collapse
I tried tat but it boots normally only , OEM unlocking is switched on too , USB debugging is also turned on. Will give a shot connecting thrh PC . Anyways tnx for the response
Can we enable Mediatek Clear Motion feature in Moto M XT1663 ? Please kindly help me
Thanks!
If someone has been able to root the device successfully, do share with me the system and boot backup made in twrp. I will try bringing up a ROM.
For unlocking just enable it in developers and then
fastboot oem unlock
Guys, I'm I did a ****ty thing and my M got locked up. I did 'fastboot oem lock'. It said press volume up to lock/ volume down to cancel, pressed volume up. It said lock success. I can't even open recovery mode/ fastboot mode to flash something. Please help!
It keeps on rebooting after the 'Lenovo' logo.
sreenivas134 said:
Guys, I did a ****ty thing and my M got locked up. I did 'fastboot oem lock'. It said press volume up to lock/ volume down to cancel, pressed volume up. It said lock success. I can't even open recovery mode/ fastboot mode to flash something. Please help!
It keeps on rebooting after the 'Lenovo' logo.
Click to expand...
Click to collapse
I've flashed the stock ROM using sp flash tool. It has resolved the issue. Thanks...
---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------
sreenivas134 said:
Guys, I did a ****ty thing and my M got locked up. I did 'fastboot oem lock'. It said press volume up to lock/ volume down to cancel, pressed volume up. It said lock success. I can't even open recovery mode/ fastboot mode to flash something. Please help!
It keeps on rebooting after the 'Lenovo' logo.
Click to expand...
Click to collapse
I've flashed stock ROM using sp flash tool. It has resolved the issue. Thanks...
sreenivas134 said:
I've flashed the stock ROM using sp flash tool. It has resolved the issue. Thanks...
---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------
I've flashed stock ROM using sp flash tool. It has resolved the issue. Thanks...
Click to expand...
Click to collapse
Can you pls gimme the download link and the steps to flash the stock firmware ? I updated to nougat and flashed the wrong version of boot.IMG and the phone stays at your phone will reboot in 5 seconds
nanchilanto said:
Can you pls gimme the download link and the steps to flash the stock firmware ? I updated to nougat and flashed the wrong version of boot.IMG and the phone stays at your phone will reboot in 5 seconds
Click to expand...
Click to collapse
You can find the stock firmware here!
https://mega.nz/#!fcoS2SII!ipO0YBudxaTnF7XVdqjEMwByJmn95p-K4A2mHrY-DvE
sreenivas134 said:
You can find the stock firmware here!
https://mega.nz/#!fcoS2SII!ipO0YBudxaTnF7XVdqjEMwByJmn95p-K4A2mHrY-DvE
Click to expand...
Click to collapse
Password ?????????????????????
Moto M - Unlock bootloader
mrinmaydhar said:
Hello guys. Before you proceed, I'll let you know that I don't own this device. Theoretically these steps should work.
1. Unlock bootloader
Go to settings>about, tap build number 7 times. This enables developer options. Here, select allow OEM unlock and USB debugging. Reboot in fastboot mode (power+vol down). Then go to this site
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
And follow the instructions. They are pretty straightforward
Click to expand...
Click to collapse
The wrong way to go.
Follow these steps:
In Windows command prompt write adb reboot bootloader. The device will reboot into fastboot.
The following command - fastboot oem unlock. You will be prompted on the phone screen, volume up to confirm, down to refuse. Who decided to change his mind
I waited a few seconds and at the command prompt, I got the answer - OK.
Disconnect the cable from the phone and hold the power button reboot the phone and put aside. He will restart another 2 times, will go to the drain recovery and erase all data from your phone. Therefore, I recommend to make a backup.
You just have to wait to boot the phone. approximately 5-7 minutes.
The bootloader is unlocked.
BOPOH'Ok said:
The wrong way to go.
Click to expand...
Click to collapse
So what's wrong with what I posted? Just wanted to know, so that I can update the OP.
mrinmaydhar said:
So what's wrong with what I posted? Just wanted to know, so that I can update the OP.
Click to expand...
Click to collapse
That's just the point, that you give the wrong information.
You give a link to the unlocking of MOTO devices on the Qualcomm processor, and that method is not suitable for MTK.
I also laid out 100% working instructions.
problem
bro i am unlocking the bootloader it boots to bootloader then it asks for yes to unlocking the bootloader in phone it says volume up to yes or volume down to NO i press volume but it automatically cancelled what to do man

----- Root Moto M S356 Android 7 -------

Hi guys,
I have started this thread so that you guys can root your moto M XT_1663_S356 andriod (7.0)
First of all i'm not responsible if your phone bricks burns or dies.
A big thanks to VVizard from lenovo RU forum with out him, it was not possible.
Thanks to Chainfire for the SuperSu.zip
To check Build number go to Settings -> About Phone-> Build number
Note -
1 - This only works for Moto M which is having build number XT1663_S356_170621_ROW. If you are on any other build number then please don't proceed.
2 - All the files are attached
3 - Install all the Motoral drivers and Minimal and adb folder.
4 - Following link contains all files needed to root the phone.
https://drive.google.com/file/d/0B3eDb0dWRU-uUjk4ZS1tdFpRR1U/view?usp=sharing
Rooting Moto M phone is divided into 3 Parts
1) Unlocking BootLoader
2) Flashing TWRP
3) Flashing SuperSu.zip
unlocking the bootloader
Note - This will wipe out all the data hence take a backup before unlocking boot loader
1 - First of all enable the Developer Option, To Enable the Developer Option, Go to your Settings -> About Phone-> Now Tap on the Build Number 7-8 Times until you see a toast message “Developer option enabled"
2 - Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
3 - Download and Extract the Downloaded ADB fastboot Zip file on your PC
4 - Now connect your phone to Computer using USB Cable.
5 - When you connect your Phone to Computer, please wait until all the drivers get installed.
6 - In your ADB fastboot folder open a command prompt window by pressing Shift Key + Right Mouse Click
7 - Now type the command in your command window
adb devices
If you see a pop up to allow USB Debugging on your phone, Click OK
8 - Now type the command below to reboot your phone to bootloader
adb reboot bootloader
9 - Once your phone reboot into bootloader, then type the command below to make sure fastboot drivers are installed properly.
fastboot devices
10 - This command will list the connected devices. If your phone’s serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly.
11 - If your phone is listed then type in the following command in CMD.
fastboot oem unlock
12 - Check your phone you would have written"do you really want to unloock bootloader ? "(something like this). Just select yes using volume up and down button and press power button to confirm it .
13 - Congrats your bootloader is unlocked
Install TWRP
Note - You should have your bootloader unlocked before proceeding.
Copy the boot_XT1663_356.img and TWRP_Moto_M.img to Minimal adb folder
1 - First of all enable the Developer Option, To Enable the Developer Option, Go to your Settings -> About Phone-> Now Tap on the Build Number 7-8 Times until you see a toast message “Developer option enabled"
2 - Go back to settings -> Now you need to enable the OEM Unlock by going to Settings -> Developer Option and Enable OEM Unlock and USB Debugging
3 - Download and Extract the Downloaded ADB fastboot Zip file on your PC
4 - Now connect your phone to Computer using USB Cable.
5 - When you connect your Phone to Computer, please wait until all the drivers get installed.
6 - In your ADB fastboot folder open a command prompt window by pressing Shift Key + Right Mouse Click
7 - Now type the command in your command window
adb devices
If you see a pop up to allow USB Debugging on your phone, Click OK
8 - Now type the command below to reboot your phone to bootloader
adb reboot bootloader
9 - Once your phone reboot into bootloader, then type the command below to make sure fastboot drivers are installed properly.
fastboot devices
10 - This command will list the connected devices. If your phone’s serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly.
11 - If your phone is listed then type in the following command in CMD.
fastboot flash boot boot_XT1663_356.img
12 - To flash the recovery, Type the command
fastboot flash recovery TWRP_Moto_M.img
13 - Congrats! you have successfully installed TWRP.
Rooting Phone.
Note -
You should have your bootloader unlocked.
You should have TWRP installed.
You should have supersu.zip copied in your phone.
1 - Switch off your phone. Now press volume down + power button till phone vibrates. Once it vibrates release the power button you should see android logo.
2 - Now with the help of volume up and down button select 'Recovery mode' and press power button.
3 - TWRP should start up.
4 - Select 'Allow Modification' and proceed.
5 - Select 'Install' and then select the 'SuperSu.zip' file and flash it.
6 -Restart the Phone.
7 - Congrats! your phone is rooted.
Note -
I have tried all this steps and have successfully rooted my phone i'm not responsible for any damage.
I have not build the boot_M_S365/ img file this is done by VVizard and really very thank full to him.
I am making a video on this!
Method Issues
Bro, I have faced a few problems since I have started
i) When I type in adb devices it shows my phone but unauthorized
so I have to allow it as you said but only after a reboot and doing the process again will it show authorized
ii) after entering adb reboot bootloader it doesnt show bootloader locked but straight up fastboot mode
iii) then when i enter fastboot oem unlock it shows asks me if I want to unlock, I press on volume up. Then it again asks me some other thing and I hold the volume up down and power together. Next I reboot into my phone. All data erased. I setup it again.
Now, does this mean my bootloader is unlocked? When I reboot it shows something on the middle right- unlocked..
So does this mean I continue and install twrp now? or what?
manandua01 said:
Thanks bro, I will give you credits ^_^
Click to expand...
Click to collapse
Cool!
manandua01 said:
Bro, I have faced a few problems since I have started
i) When I type in adb devices it shows my phone but unauthorized
so I have to allow it as you said but only after a reboot and doing the process again will it show authorized
ii) after entering adb reboot bootloader it doesnt show bootloader locked but straight up fastboot mode
iii) then when i enter fastboot oem unlock it shows asks me if I want to unlock, I press on volume up. Then it again asks me some other thing and I hold the volume up down and power together. Next I reboot into my phone. All data erased. I setup it again.
Now, does this mean my bootloader is unlocked? When I reboot it shows something on the middle right- unlocked..
So does this mean I continue and install twrp now? or what?
Click to expand...
Click to collapse
1 - It doen't matter if its authorized or not..
2 - yes! thats correct it directly takes you to fastboot mode it use to show bootloader locked for old Moto phones).I 'll make changes in the thread.
Yes! your bootloader is unlocked successfully..
if you see something like 'Your devices is unlocked and cant be trusted' on the left hand side during the moto logo.
TWRP Recovery
akash.mahadeshwar said:
1 - It doen't matter if its authorized or not..
2 - yes! thats correct it directly takes you to fastboot mode it use to show bootloader locked for old Moto phones).I 'll make changes in the thread.
Yes! your bootloader is unlocked successfully..
if you see something like 'Your devices is unlocked and cant be trusted' on the left hand side during the moto logo.
Click to expand...
Click to collapse
Thanks for your help Y_Y
Hey bro, I am not about to install the recovery.
Before this may I ask why we need to flash boot_XT1663_356.img ?
Also, isn't this command wrong? fastboot flash boot boot_XT1663_356.img
It should be fastboot flash boot boot_XT1663_356.img
Without the boot twice ryt?
Also, will the data be erased after installing TWRP recovery or not? If not, will it be erased after installing the SuperSU?
manandua01 said:
Thanks for your help Y_Y
Hey bro, I am not about to install the recovery.
Before this may I ask why we need to flash boot_XT1663_356.img ?
Also, isn't this command wrong? fastboot flash boot boot_XT1663_356.img
It should be fastboot flash boot boot_XT1663_356.img
Without the boot twice ryt?
Also, will the data be erased after installing TWRP recovery or not? If not, will it be erased after installing the SuperSU?
Click to expand...
Click to collapse
1 - It is the Image file which is specifically build for S356 (build number) hence it is necessary to flash it before flashing TWRP. If you don't flash boot image then you might face boot loop issues and hard brick your phone.
2 - The correct command is 'fastboot flash boot boot_XT1663_356.img' . the first boot is to recognize cmd that we are flashing a boot image and the second boot is the name of image file.
3 - Flashing TWRP and Super SU won't erase your data.
akash.mahadeshwar said:
1 - It is the Image file which is specifically build for S356 (build number) hence it is necessary to flash it before flashing TWRP. If you don't flash boot image then you might face boot loop issues and hard brick your phone.
2 - The correct command is 'fastboot flash boot boot_XT1663_356.img' . the first boot is to recognize cmd that we are flashing a boot image and the second boot is the name of image file.
3 - Flashing TWRP and Super SU won't erase your data.
Click to expand...
Click to collapse
I installed TWRP unlocked bootloader copied SuperSU- and was abt to root. With volume up and down I came to Factory Mode
It said Factory Mode
I pressed on power button- now it shows something in Japenese or Chinese what should I DO? I am scared as hell bro
ITS DOING SOME WEIRD STUFF NOW- GPS, SIM etc I have no clue .-.
UPDATE: Rebooting phone- Back to my home screen now. Heres what happened
(uploading video will post link here soon)
manandua01 said:
I installed TWRP unlocked bootloader copied SuperSU- and was abt to root. With volume up and down I came to Factory Mode
It said Factory Mode
I pressed on power button- now it shows something in Japenese or Chinese what should I DO? I am scared as hell bro
ITS DOING SOME WEIRD STUFF NOW- GPS, SIM etc I have no clue .-.
UPDATE: Rebooting phone- Back to my home screen now. Heres what happened
(uploading video will post link here soon)
Click to expand...
Click to collapse
As i have mentioned in my thread that you need to select recovery mode and not factory mode
Please select recovery mode and you should b able to see twrp
Note - to select recovery mode press volum up n down button till it shows 'recovery mode ' in the andrioid logo screen
akash.mahadeshwar said:
1 - It is the Image file which is specifically build for S356 (build number) hence it is necessary to flash it before flashing TWRP. If you don't flash boot image then you might face boot loop issues and hard brick your phone.
2 - The correct command is 'fastboot flash boot boot_XT1663_356.img' . the first boot is to recognize cmd that we are flashing a boot image and the second boot is the name of image file.
3 - Flashing TWRP and Super SU won't erase your data.
Click to expand...
Click to collapse
akash.mahadeshwar said:
As i have mentioned in my thread that you need to select recovery mode and not factory mode
Please select recovery mode and you should b able to see twrp
Note - to select recovery mode press volum up n down button till it shows 'recovery mode ' in the andrioid logo screen
Click to expand...
Click to collapse
Bro, I opened Recovery Mode, but now its asking for a password. It shows temp on the top. You from India, ryt? Could you give me your number? or maybe a skype id?
EDIT: Here's what was on my cmd after flashing the recovery http://prntscr.com/ft3t1l
manandua01 said:
Bro, I opened Recovery Mode, but now its asking for a password. It shows temp on the top. You from India, ryt? Could you give me your number? or maybe a skype id?
Click to expand...
Click to collapse
Go ahead ignore the password part.. it will only appear first time.. you should have a option to go ahead..
akash.mahadeshwar said:
As i have mentioned in my thread that you need to select recovery mode and not factory mode
Please select recovery mode and you should b able to see twrp
Note - to select recovery mode press volum up n down button till it shows 'recovery mode ' in the andrioid logo screen
Click to expand...
Click to collapse
Please reply asap
---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------
akash.mahadeshwar said:
Go ahead ignore the password part.. it will only appear first time.. you should have a option to go ahead..
Click to expand...
Click to collapse
Ok trying now
---------- Post added at 09:21 AM ---------- Previous post was at 08:57 AM ----------
akash.mahadeshwar said:
Go ahead ignore the password part.. it will only appear first time.. you should have a option to go ahead..
Click to expand...
Click to collapse
Yo bro, I can only view External (sd card) storage. Not internal storage! What to do now? As I have SuperSU in Internal Storage
---------- Post added at 09:29 AM ---------- Previous post was at 09:21 AM ----------
Ok, I have rooted the phone successfully. Had to copy the SuperSU file to SD Card though 6-6
manandua01 said:
Please reply asap
---------- Post added at 08:57 AM ---------- Previous post was at 08:56 AM ----------
Ok trying now
---------- Post added at 09:21 AM ---------- Previous post was at 08:57 AM ----------
Yo bro, I can only view External (sd card) storage. Not internal storage! What to do now? As I have SuperSU in Internal Storage
---------- Post added at 09:29 AM ---------- Previous post was at 09:21 AM ----------
Ok, I have rooted the phone successfully. Had to copy the SuperSU file to SD Card though 6-6
Click to expand...
Click to collapse
Ext_sdcard folder is ur memory card folder and sdcard folder is the internal memory folder in twrp
BAM!
---------- Post added at 01:14 PM ---------- Previous post was at 01:12 PM ----------
I really thank you for this great effort
all things went good but I had a problem that I didn't find the SuperSU-v2.82-201705271822.zip although I am sure that I put it in the internal memory
please help
Hi there,
After I unlocked the bootloader, pushed the twrp recovery successfully, got stuck in the recovery mod each time I reboot the phone so can't boot the stock rom. Done wipe factory reset and format data and still nothing changed. Any ideas?
Thanks in advance OP
Edit: Just solved issue by flashing stock firmware
pdf5 said:
Hi there,
After I unlocked the bootloader, pushed the twrp recovery successfully, got stuck in the recovery mod each time I reboot the phone so can't boot the stock rom. Done wipe factory reset and format data and still nothing changed. Any ideas?
Thanks in advance OP
Edit: Just solved issue by flashing stock firmware
Click to expand...
Click to collapse
May I have the firmware file, just in case? Is it ok if firmware country code doesn't match? Do you get imei?
any idea? when image for new build will be released?
rajesh280392 said:
any idea? when image for new build will be released?
Click to expand...
Click to collapse
Well, yes ... The new boot.img for removing encryption. Especially for post-OTA updating to XT1663_S364_170803_ROW.
boot_XT1663_364.img
Does anyone know how to keep your Moto M rooted even after updating to the new security update of 7.0? Do we just flash the new .img file or what? Kinda newb here

[GUIDE] Restore to complete stock and relock bootloader. Easiest step by step guide.

Hello friends,
After trying different roms and kernels there always comes a time when we wish to go back to complete stock for a smooth reliable experience. Here's a detailed step by step guide for this process.
This guide assumes that you are on a unlocked bootloader with TWRP recovery installed and want to revert to complete stock
This will erase all data on your phone. Hence first BACKUP!
Note : I am not responsible for any damage do this at your own risk.
Downloads
1) MINIMAL ADB & FASTBOOT : https://goo.gl/UbFXdA
2) STOCK OOS FILE : https://goo.gl/JAfS2F
3) Stock Recovery : https://goo.gl/2kmbB7
Pre Requisites : A windows computer with a decent internet connection
Oneplus 5T with atleast 50% battery charged
USB Cable
Brain:cyclops:
Steps :
1) Download and install minimal ADB & Fastboot.
2) Download OOS Stock Rom And Stock Recovery.
3) Connect your phone to the PC using the USB cable in file transfer mode.
4) Copy the rom zip and stock recovery image to your phone.
5) Go to settings>about>tap build number 7 times.
6) Go to settings>developer options>enable advanced reboot.
7) Press power button for 2 seconds>select reboot>select recovery>tap to reboot.
8) Once the phone boots into TWRP>wipe everything except internal storage.
9) Tap install and select the stock rom zip and then swipe to install.
10) Tap install>select install image>select stock recovery img>tap recovery>swipe to install
11) Tap reboot>select bootloader and reboot to bootloader.
12) Once in bootloader connect the phone to your pc and launch minimal adb & fastboot
13) type fastboot devices and ensure device is connected and serial number shows up
14) type fastboot oem lock in minimal adb and fastboot and hit enter.
15) use the volume keys on your phone to highlight yes and press power button to confirm
16) wait for 2 to 5 minutes and phone will bootup to a complete stock rom with stock recovery and a locked bootloader.
For everyones convinience I have made a step by step video guide please watch and subscribe if you liked it.
Hit thanks if i helped.​
Before this came out I tried the reversal process incorrectly by typing fastboot oem lock as the 1st step (I know it says above you need a brain). Now it seems there is no OS to boot to. I can boot to TWRP and fastboot but my computer doesn't see the storage. Is there a way to push the the rom zip and stock recovery image to your phone via adb? If so what are the commands?
vibrantliker said:
Before this came out I tried the reversal process incorrectly by typing fastboot oem lock as the 1st step (I know it says above you need a brain). Now it seems there is no OS to boot to. I can boot to TWRP and fastboot but my computer doesn't see the storage. Is there a way to push the the rom zip and stock recovery image to your phone via adb? If so what are the commands?
Click to expand...
Click to collapse
I believe you should be able to go into twrp, go to sideload mode. Then the command would be abd sideload filename.zip This should then push the rom to your phone and install it for you. It has been a while since I needed to do it, as now a days I mostly keep my phones stock and locked.
Stephen said:
I believe you should be able to go into twrp, go to sideload mode. Then the command would be abd sideload filename.zip This should then push the rom to your phone and install it for you. It has been a while since I needed to do it, as now a days I mostly keep my phones stock and locked.
Click to expand...
Click to collapse
Thanks but that doesn't seem to work.
Link for Stock Recovery is down. Please help
Nice guide but isn't step 10 unnecessary, since the stock ROM will overwrite TWRP with the stock recovery anyway?
Thanks for the info. My phone's been acting very flaky since I rooted it, so I'm curious to see if returning to stock will make it a little less annoying.
vibrantliker said:
Before this came out I tried the reversal process incorrectly by typing fastboot oem lock as the 1st step (I know it says above you need a brain). Now it seems there is no OS to boot to. I can boot to TWRP and fastboot but my computer doesn't see the storage. Is there a way to push the the rom zip and stock recovery image to your phone via adb? If so what are the commands?
Click to expand...
Click to collapse
unlock the bootloader
flash twrpagain
flash stock rom from twrp
flash stockrecovery image from twrp
reboot to bootloader
relock bootloader
reboot
you are good to go
inxx99 said:
Link for Stock Recovery is down. Please help
Click to expand...
Click to collapse
updated
Sisyphus306 said:
Thanks for the info. My phone's been acting very flaky since I rooted it, so I'm curious to see if returning to stock will make it a little less annoying.
Click to expand...
Click to collapse
definitely worth a shot
rickysidhu_ said:
Nice guide but isn't step 10 unnecessary, since the stock ROM will overwrite TWRP with the stock recovery anyway?
Click to expand...
Click to collapse
sometimes it doesnt and hence before we relock the bootloader its necessary to ensure we have the stock recovery hence the step.
hypergamer1231 said:
sometimes it doesnt and hence before we relock the bootloader its necessary to ensure we have the stock recovery hence the step.
Click to expand...
Click to collapse
Fair enough
hypergamer1231 said:
unlock the bootloader
flash twrpagain
flash stock rom from twrp
flash stockrecovery image from twrp
reboot to bootloader
relock bootloader
reboot
you are good to go
Click to expand...
Click to collapse
My problem is, although I still have TWRP and fast boot, I don't have an os at the moment and need to get one via adb somehow.
I've tried adb push but can't find in TWRP. My computer doesn't see my phones storage either.
vibrantliker said:
My problem is, although I still have TWRP and fast boot, I don't have an os at the moment and need to get one via adb somehow.
I've tried adb push but can't find in TWRP. My computer doesn't see my phones storage either.
Click to expand...
Click to collapse
Can you boot in fastboot
Yes
---------- Post added at 05:54 AM ---------- Previous post was at 05:53 AM ----------
hypergamer1231 said:
Can you boot in fastboot
Click to expand...
Click to collapse
Yes and TWRP
vibrantliker said:
Yes
---------- Post added at 05:54 AM ---------- Previous post was at 05:53 AM ----------
Yes and TWRP
Click to expand...
Click to collapse
Check pm
Thank you for this.
Sent from my LG-H815 using Tapatalk
Thank you so much for this. Is this oos file the most current os for the 5t?
Can someone turn this thread into a sticky?
goran_oh said:
Thank you for this.
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
Glad it helped
martinez5241 said:
Thank you so much for this. Is this oos file the most current os for the 5t?
Click to expand...
Click to collapse
Yes this is the latest OOS 4.7.2
Co.Tibi said:
Can someone turn this thread into a sticky?
Click to expand...
Click to collapse
Am sure the mods will soon. Thank you.

Categories

Resources