TWRP (BETA) Motorola One Macro - Android Q&A, Help & Troubleshooting

HI everyone...
During last Weeks I have been working on getting a recovery working for this device, I upload the first version of what I have done, I was not able to test it properly due there is an issue with touchscreen if someone has the possibilitie to test it with an mouse that would be great. It was made for the xt2016-2 version only regards
You will need fastboot on your PC:
https://forum.xda-developers.com/showthread.php?t=2317790
as well a bootloader unlocked
WARNING:Flashing this may get device encrypted data so it may delete your data
i am not responsable of any damaged device
first you have to know your active slot on the device for that you will do the following:
Make sure the smartphone is connected to the PC with a USB cable
Now boot the smartphone into Fastboot Mode
Open up a Command Prompt, Windows PowerShell, or a Terminal in the same folder as your ADB and Fastboot files
Type out the following command. . .
fastboot getvar all
. . .then press Enter on the keyboard
Wait for a lot of text to finish scrolling and look for the (bootloader) current-slot text
This should actually be toward the bottom without the need to scroll up.
The letter after this text will be the currently active partition slot for your device
Commands to flash it and things you will need:
Blank vbmeta (To remove AVB verfication): https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
command: fastboot --disable-verification flash vbmeta_(slot what you are using) vbmeta.img
then we are gonna flash the TWRP image
TWRP XT2016-2: https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
Command: fastboot flash boot_(slot what you are using) TWRP.img
NOTE: REMOVE THE () AND JUST PUT THE LETTER*
In case of brick: I leave stock images
command for vbmeta: fastboot flash vbmeta_a vbmetastock.img
command for vbmeta: fastboot flash vbmeta_b vbmetastock.img
Vbmeta:https://mega.nz/file/OP5jAISC#NFLCqerxXZC5aY9-WW5fq6cUlZ6WWwDQxIMvfN0nOxI
Boot:https://mega.nz/file/3fIQhQzA#GFeIbb1TYPg8x8Lq_fBiNu9UFenUgvFH1-eVjIm4uqE
You flash boot same way than previous one.
If someone wants to help with the developing just pm me and I'll answer as soon i can

Can't Download TWRP
Hey,
I want to try this but the TWRP link leads me to vbmeta link so I can't download it.

Test
I want to help you testing this but the link of TWRP is the same as the one for the vbmeta file

command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification

Dr0wn3d said:
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Click to expand...
Click to collapse
Fastboot commands do not necessarily work on all Android devices. Their compatibility differs from OEM to OEM.

Dr0wn3d said:
command: fastboot --disable-verification flash vbmeta_b vbmeta.img
returns
PS C:\adb> fastboot --disable-verification flash vbmeta_b vbmeta.img
C:\adb\fastboot.exe: unknown option -- disable-verification
Click to expand...
Click to collapse
Use: fastboot --disable-verity flash vbmeta_b vbmeta.img (For Slot_B)
fastboot --disable-verity flash vbmeta_a vbmeta.img (For Slot_A)

i cant download twrp too... any way I can help?
thanks

Blank vbmeta (To remove AVB verfication): https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
command: fastboot --disable-verification flash vbmeta_(slot what you are using) vbmeta.img
then we are gonna flash the TWRP image
TWRP XT2016-2: https://mega.nz/file/nDwjACqQ#YljxjKbR3QLwFyj4LuMpKE4NR8ZlPOgQ9t9PWXADBqk
[/QUOTE]
This two link are the same, please upload the TWRP link again, thanks

no more updates or new link?

umago mais sobre o twrp/

Related

[GUIDE] How to correctly flash a GSI rom and avoid fastboot boot bug

Disclaimer:
use this guide at your own risk. Flashing it may brick your device. I'm not responsible for any software/hardware and any kind of damages/losses.
GUIDE​
Download your rom (i suggest you omnirom or RR remix).
Download this files (MANDATORY)
Download TWRP
vbmeta
Reboot to fastboot, and do all of this in one time (don't reboot to one to another command).
-fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
-fastboot --disable-verity --disable-verification flash vbmeta_b vbmeta.img
-fastboot erase system_a
-fastboot erase system_b
-fastboot flash system_a nameoftherom.img
-fastboot flash system_b nameoftherom.img
-fastboot reboot
-press again the volume - + power to re enter in bootloader
-fastboot getvar all, see what partition is active
-fastboot --set-active=_a if the active partition is _a or _b if the active partition is _b
-fastboot boot twrp.img
-Once booted, go to wipe, and swipe to wipe data\factory reset.
-Go to wipe again, advanced wipe, tap on system squarebox, select Repair or Change File System, tap on resize file system then swipe (this will allow you to flash gapps)
-Flash Gapps
-Flash magisk
-Flash Twrp permanent link
Enjoy!
Sir i can't flash gsi image bigger than 2.5gb..
Any solution for this???
Because many popular gsi rom size is over than 2.5 gb..
Pixel Dust GSI
Is there any way to manually update security patches on this ROM?
brtq82 said:
Is there any way to manually update security patches on this ROM?
Click to expand...
Click to collapse
You have to flash the newest version of the GSI manually.
I've tried several GSI roms, and I can't select LTE on any of them, only the global option, so when I select my apn I can't make or receive calls? Anybody know the solution for this?
There is a small mistake in your guide.
The line
Code:
fastboot --set-active=_a
should be
Code:
fastboot --set-active=a
The underscore in your line made me not able to switch slots and when I removed the underscore it worked!

[HowTo] turn OFF dm-verity

To turn of dm-verity simply reflash 2 files with the commands:
fastboot --disable-verity flash boot boot.img
fastboot --disable-verity flash vbmeta vbmeta.img
This is for example necessary to use GSI Images!

[ROM] GSI Joyeuse Blissrom From Phoenix Rom (Note 8)

Hi Bro,
I Have Try Installed Fastboot Rom from Bliss-v12.10-phoenix into my joyeuse and that is successfully
1. Download the firmware from HERE
2 Extac it, you got boot.img product.img system.img vbmeta.img vbmeta_system.img
3. We only need product.img system.img vbmeta.img vbmeta_system.img
3. Make sure You got bootloader unlocked, Reboot into fastboot mode or turn off your phone and press power button and vol down button (togather)
4. fastboot reboot fastboot
5. fastboot --disable-verity --disable-verification flash product product.img
6. fastboot --disable-verity --disable-verification flash system system.img
7. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
8. fastboot --disable-verity --disable-verification flash vbmeta _system vbmeta_system.img
9. fastboot reboot recovery
10. Erase Your Phone and reboot
I have been try Havoc OS GSI but still bug in fingerprint like ghost touch every touch the fingerprint
DOWNLOAD
- Thankyou @sooti for the tutorial befor

How to: Run an GSI on NORD

To run an GSI on your Nord:
Unlock bootloader
Toogle oem unlock in Developer options
Reboot to fastboot (turn of phone, press volume down and start)
Run
-fastboot oem unlock
Install GSI (check https://forum.xda-developers.com/project-treble/trebleenabled-device-development)
Select ARM 64 A/B version
Download vbmeta vbmeta.img and vbmeta_system.img from https://forum.xda-developers.com/oneplus-nord/development/rom-lineageos-17-1-t4147863
Install from fastboot:
- fastboot reboot fastboot
- fastboot flash system system_of_your_choice.img
- fastboot --disable-verity flash vbmeta vbmeta.img
- fastboot --disable-verity flash vbmeta_system vbmeta_system.img
- fastboot -w
- fastboot reboot
Credit to lakshay18 for the vbeta files
I run V222system10-arm64-ab-ufOxTERM.img from oF2pks, only bugs found: tap to wake functional some graphical bug
I use nord. In the Lineage 17.1 by @lakshay18, he has mentioned flashing product.img. Should we need product img as well for flashing? Also do we need TWRP? I have no luck with flashing using TWRP
There's no space to install even minimal gapps after installing https://forum.xda-developers.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4205461/
Someone please reupload vbmeta vbmeta.img and vbmeta_system.img.

How do I update with OTA while having TWRP and Magisk?

I have TWRP and am rooted with magisk. The phone will fail to update using the system updater.
How do I update this thing to the latest OTA?
I downloaded the latest, QPMS30.80-63-6-8-5, from https://t.me/s/motoupdatestracker?q=#sofia
Now what?
jova33 said:
I have TWRP and am rooted with magisk. The phone will fail to update using the system updater.
How do I update this thing to the latest OTA?
I downloaded the latest, QPMS30.80-63-6-8-5, from https://t.me/s/motoupdatestracker?q=#sofia
Now what?
Click to expand...
Click to collapse
unzip find the servicefile.xml open it with a Text editor, Like Notepad++
Copy the code, and paste @ https://kfhost.net/flashfile
you get a list of flash commands.
You will need Android SDK Platform Tools (ADB,Fastboot.exe)
I usually just copy the files from platform-tools folder to the firmware folder
Minor Update
With Minor updates the old boot.img is the same as the new one.
Skip or remove these commands (you may not have a recovery.img)
Code:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
Major Update
With big updates the boot.img will need to be repatched
Run all the Flash commands
Reroot using the method used before.
or see Magisk Non-Twrp root Method
also see
[Index] Motorola Flashing Utilities and Firmware (Unbrick Your Moto)
[INDEX]Motorola Unbricking Tools Only For Motorola Devices This a list of USB/Fastboot Drivers, Firmware, Flashing Utilities, and other Unbricking Dev Projects for Motorola Devices. Please only post in this thread with feedback on how to...
forum.xda-developers.com
Can I simply flash the .zip file in TWRP?
jova33 said:
Can I simply flash the .zip file in TWRP?
Click to expand...
Click to collapse
No the file you have is a full moto firmware xml.zip it's formatted for LMSA or RSD Lite.
Unzip it if it has a sevicefile.xml or flashfile.xml it's not an ota update.zip
So, this is the code from https://kfhost.net/flashfile
Just run the "fastboot flash" commands and ignore the other fastboot commands like "fastboot getvar", "fastboot oem", and "fastboot erase"?
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
fastboot erase carrier
fastboot erase ddr
fastboot oem fb_mode_clear
echo -----------------------------------------------------------------------------------------------
echo English - Process concluded!
echo Português - Processo concluído!
echo English - Press any key to restart the phone!
echo Português - Pressione qualquer tecla para reiniciar o celular!
echo -----------------------------------------------------------------------------------------------
pause
fastboot reboot
exit
jova33 said:
So, this is the code from https://kfhost.net/flashfile
Just run the "fastboot flash" commands and ignore the other fastboot commands like "fastboot getvar", "fastboot oem", and "fastboot erase"?
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash radio radio.img
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash recovery recovery.img
fastboot flash super super.img_sparsechunk.0
fastboot flash super super.img_sparsechunk.1
fastboot flash super super.img_sparsechunk.2
fastboot flash super super.img_sparsechunk.3
fastboot flash super super.img_sparsechunk.4
fastboot flash super super.img_sparsechunk.5
fastboot flash super super.img_sparsechunk.6
fastboot flash super super.img_sparsechunk.7
fastboot flash super super.img_sparsechunk.8
fastboot flash super super.img_sparsechunk.9
fastboot flash super super.img_sparsechunk.10
fastboot flash super super.img_sparsechunk.11
fastboot flash super super.img_sparsechunk.12
fastboot flash super super.img_sparsechunk.13
fastboot flash super super.img_sparsechunk.14
fastboot flash super super.img_sparsechunk.15
fastboot erase carrier
fastboot erase ddr
fastboot oem fb_mode_clear
echo -----------------------------------------------------------------------------------------------
echo English - Process concluded!
echo Português - Processo concluído!
echo English - Press any key to restart the phone!
echo Português - Pressione qualquer tecla para reiniciar o celular!
echo -----------------------------------------------------------------------------------------------
pause
fastboot reboot
exit
Click to expand...
Click to collapse
Use all commands
Except
Boot.img, recovery.img
Servicefile.xml doesn't have
Erase userdata
how do people make flashable zips from these files? would be so much easier.
edit: and now I can't get past the boot logo
never mind, just took like 9 minutes. weird.
edit 2: mobile data is not working...
Now it is, rebooted a couple of times, and suddenly it works. Magic.

Categories

Resources