[RECOVERY][UNOFFICIAL] TWRP-3.2.3-x [lake]

smitharro

Senior Member
Jan 2, 2012
2,629
1,711
193
Blokker
Thanks jeffreyvh for making this wip available. So this phone has no recovery partition also? That's a pity... This way we'll always need a computer/laptop to boot twrp. Same as on the G6 plus.
Nevertheless: keep up the good work!!
 

Maldune

Member
May 5, 2007
31
1
0
The link below is for stock boot.img from PW29.98-28 which was made by Magisk after rooting. I cannot send you any later version as I would loose my root access, and the ability to copy.

I'm willing to assist you, I've had an Android phone since the HTC Dream and I know my way around an Android phone, but I'm no developer. Feel free to PM me directly.


https://drive.google.com/file/d/1c6aCo4RnFU1V89uZtt5nU2O1EtRGQ3IX/view?usp=sharing
 
Last edited:
  • Like
Reactions: FrankRr

Dahenjo

Senior Member
Oct 18, 2014
678
326
83
CT
  • Like
Reactions: FrankRr

leon_nardella

New member
Apr 17, 2019
1
0
0
I'm just showing up to say that I own a Moto G7 Plus brazilian edition running completely stock rom since January and it's received one over-the-air updated so far. I could dump whatever info is needed from the device. Just let me know.
 

tirlittan

New member
Apr 20, 2019
3
0
0
Here's an untouched/unpatched-by-magisk boot.img from the latest RETAIL channel firmware release (put its name on the zip):

https://drive.google.com/open?id=10h5rgWY1ZLjj2sl46In5FEjuUmrd7WyJ
Hi,
I'm new to this, and I'm wondering if I can use this somehow to install the PPW29.98-66 on my g7+? If someone could write an as-detailed-as-possible how-to guide about it?
I had to factory reset after the phone got stuck in what I guess is bootloop, after trying to root it, and now have the PPW29.98-28 build number, which I cannot update; I'm getting the "system integrity is compromised" message, which I guess is due to unlocking the bootloader.
If I can't use this, then is there anything else I could do, to update my phone?
I saw this thread: (https://forum.xda-developers.com/g7-plus/development/flash-rom-bat-flash-stock-rom-moto-g7-t3910423), but I can't tell what build number it is.
Would be very much appreciated!
 

Dahenjo

Senior Member
Oct 18, 2014
678
326
83
CT
Hi,
I'm new to this, and I'm wondering if I can use this somehow to install the PPW29.98-66 on my g7+? If someone could write an as-detailed-as-possible how-to guide about it?
I had to factory reset after the phone got stuck in what I guess is bootloop, after trying to root it, and now have the PPW29.98-28 build number, which I cannot update; I'm getting the "system integrity is compromised" message, which I guess is due to unlocking the bootloader.
If I can't use this, then is there anything else I could do, to update my phone?
I saw this thread: (https://forum.xda-developers.com/g7-plus/development/flash-rom-bat-flash-stock-rom-moto-g7-t3910423), but I can't tell what build number it is.
Would be very much appreciated!
It's a shame he left the download up, it does have a warning now but should be gone & this thread closed, then make a new one when a someone makes a functional TWRP. Factory reset is all you can do, and that generic message is indeed from unlocking the bootloader. There's a custom bootlogo you can flash with fastboot that covers it until the normal bootanimation starts.

Are you familiar with connecting the phone to a pc and using fastboot or ADB from a command terminal window? Which model G7 Plus do you have and what software channel? If you can't receive an OTA update then to get to PPW29.98-66 you'll need to fastboot flash the entire official firmware (of which the above boot.img is just a small part), probably the RETAIL channel one here should be ok, which is what I used:
https://mirrors.lolinet.com/firmware/moto/lake/official/RETAIL/

There is another option which would be to re-lock your bootloader and then you could receive the regular updates but not use TWRP or gain root, etc. Hope these hints help but don't expect that someone will supply you with a step-by-step without you doing the needed research about these crucial things first by searching here on XDA, the web, youtube, etc.
 
  • Like
Reactions: tirlittan

tirlittan

New member
Apr 20, 2019
3
0
0
It's a shame he left the download up, it does have a warning now but should be gone & this thread closed, then make a new one when a someone makes a functional TWRP. Factory reset is all you can do, and that generic message is indeed from unlocking the bootloader. There's a custom bootlogo you can flash with fastboot that covers it until the normal bootanimation starts.

Are you familiar with connecting the phone to a pc and using fastboot or ADB from a command terminal window? Which model G7 Plus do you have and what software channel? If you can't receive an OTA update then to get to PPW29.98-66 you'll need to fastboot flash the entire official firmware (of which the above boot.img is just a small part), probably the RETAIL channel one here should be ok, which is what I used:
https://mirrors.lolinet.com/firmware/moto/lake/official/RETAIL/

There is another option which would be to re-lock your bootloader and then you could receive the regular updates but not use TWRP or gain root, etc. Hope these hints help but don't expect that someone will supply you with a step-by-step without you doing the needed research about these crucial things first by searching here on XDA, the web, youtube, etc.
Thanks for the reply, really appreciate it; I figured it might be a long-shot to ask for a guide.
So the model is 'XT1965-3', and software channel is 'reteu'.

Before posting, I've been looking for how to unlock the bootloader, possible ways to root etc., and it was probably silly of me to try it without TWRP. But it is also likely that I've searched for the wrong thing. I had build PPW29.98-66 before trying the root with Magisk and without TWRP, so I assumed it could be done. But as of the factory reset, I'm back to PPW29.98-28. Before posting my original question, after factory resetting, I tried to re-lock the bootloader, in the hope that it would indeed make it possible to update, but in the end that didn't work. I got the same warning message about compromised integrity. So I have unlocked my bootloader again.

My experience using ADB and fastboot is limited to unlocking (and re-locking) the bootloader, from the PowerShell/command terminal with the phone connected to my computer. And my previous phone was a moto g4, which I also unlocked and rooted using ADB and fastboot, but that's a few years ago.

Even though my software channel is RETEU, I'm guessing it's okay to flash the RETAIL one. And I guess I should be doing it similarly to, e.g., (https://www.getdroidtips.com/stock-rom-moto-g7-plus/) (method 2), except instead of 'mfastboot' at the beginning of every command I should use 'fastboot'? Also, the files aren't the exact same (in the getdroidtips-link just above, and the RETAIL firmware you linked), so which would I need to run (from the link you provided)?
 

Dahenjo

Senior Member
Oct 18, 2014
678
326
83
CT
Thanks for the reply, really appreciate it; I figured it might be a long-shot to ask for a guide.
So the model is 'XT1965-3', and software channel is 'reteu'.

Before posting, I've been looking for how to unlock the bootloader, possible ways to root etc., and it was probably silly of me to try it without TWRP. But it is also likely that I've searched for the wrong thing. I had build PPW29.98-66 before trying the root with Magisk and without TWRP, so I assumed it could be done. But as of the factory reset, I'm back to PPW29.98-28. Before posting my original question, after factory resetting, I tried to re-lock the bootloader, in the hope that it would indeed make it possible to update, but in the end that didn't work. I got the same warning message about compromised integrity. So I have unlocked my bootloader again.

My experience using ADB and fastboot is limited to unlocking (and re-locking) the bootloader, from the PowerShell/command terminal with the phone connected to my computer. And my previous phone was a moto g4, which I also unlocked and rooted using ADB and fastboot, but that's a few years ago.

Even though my software channel is RETEU, I'm guessing it's okay to flash the RETAIL one. And I guess I should be doing it similarly to, e.g., (https://www.getdroidtips.com/stock-rom-moto-g7-plus/) (method 2), except instead of 'mfastboot' at the beginning of every command I should use 'fastboot'? Also, the files aren't the exact same (in the getdroidtips-link just above, and the RETAIL firmware you linked), so which would I need to run (from the link you provided)?
That procedure at getdroidtips is credited to Luiz Neto who posted the Stock flashing batch file here on XDA that I linked to, I used that with the RETAIL 29.98-66 firmware I linked at lolinet, which is a source I know & trust. It worked perfectly for me and is a lot easier than typing in (or even copy/pasting in) each separate command. I don't know what channel's firmware Neto has linked either. If your retail channel is RETEU then it's still on 29.98-28 at lolinet so you'll need the RETAIL 29.98-66 anyway, my channel is RETLA and is still listed as that currently. I think RETAIL is pretty generic although for some channels it might not be correct, and my model (and Neto's) is a XT-1965-2, but I believe if the build numbers are the same (for some channels they're totally different) it should be ok.

I believe mfastboot and fastboot function the same, if you have mfastboot you can just edit the batch file to add an 'm' to all the commands, or get this set of minitools which I'm pretty sure has regular fastboot. Also when I run the batch file I right-click and select 'run as administrator' in case it matters. Sounds like you're all set with drivers, connecting the phone, and using fastboot if you're unlocked I guess, so you're basically in business for what you want to do.

https://forum.xda-developers.com/g5...pdates-via-t3858493/post79381294#post79381294
After posting here y'day saw that on the G5 Plus forums (my previous phone) which seems to confirm that after (but not until) flashing an entire official firmware you can successfully receive OTA updates with no issues, bricking, etc. I know that on my G7+ after unlocking while still on original 29.98-28 firmware, it said that I was no longer eligible for updates ("phone insecure" or something), but since flashing the 29.98-66 firmware it doesn't state that anymore & looks 'normal' as it did before unlocking (just says it's up to date currently), so we'll see. Not a big deal anyway since we can always update manually when the new builds hit lolinet, but OTAs don't wipe everything so are better if we can receive them.
 
  • Like
Reactions: tirlittan

tirlittan

New member
Apr 20, 2019
3
0
0
That procedure at getdroidtips is credited to Luiz Neto who posted the Stock flashing batch file here on XDA that I linked to, I used that with the RETAIL 29.98-66 firmware I linked at lolinet, which is a source I know & trust. It worked perfectly for me and is a lot easier than typing in (or even copy/pasting in) each separate command. I don't know what channel's firmware Neto has linked either. If your retail channel is RETEU then it's still on 29.98-28 at lolinet so you'll need the RETAIL 29.98-66 anyway, my channel is RETLA and is still listed as that currently. I think RETAIL is pretty generic although for some channels it might not be correct, and my model (and Neto's) is a XT-1965-2, but I believe if the build numbers are the same (for some channels they're totally different) it should be ok.

I believe mfastboot and fastboot function the same, if you have mfastboot you can just edit the batch file to add an 'm' to all the commands, or get this set of minitools which I'm pretty sure has regular fastboot. Also when I run the batch file I right-click and select 'run as administrator' in case it matters. Sounds like you're all set with drivers, connecting the phone, and using fastboot if you're unlocked I guess, so you're basically in business for what you want to do.

https://forum.xda-developers.com/g5...pdates-via-t3858493/post79381294#post79381294
After posting here y'day saw that on the G5 Plus forums (my previous phone) which seems to confirm that after (but not until) flashing an entire official firmware you can successfully receive OTA updates with no issues, bricking, etc. I know that on my G7+ after unlocking while still on original 29.98-28 firmware, it said that I was no longer eligible for updates ("phone insecure" or something), but since flashing the 29.98-66 firmware it doesn't state that anymore & looks 'normal' as it did before unlocking (just says it's up to date currently), so we'll see. Not a big deal anyway since we can always update manually when the new builds hit lolinet, but OTAs don't wipe everything so are better if we can receive them.
Yes, seems indeed that I should have everything I need to continue. I'll give it another shot at some point when I have some extra time.

Really appreciate the help! Thanks!
 
Mar 15, 2017
36
121
43
santiago
hello I am a moto developer g6 plus I would like to help in the twrp of lake do not have any community group or directly the device tree of twrp (I do not have the device but anyway I would like to help)
 

Dahenjo

Senior Member
Oct 18, 2014
678
326
83
CT
hello I am a moto developer g6 plus I would like to help in the twrp of lake do not have any community group or directly the device tree of twrp (I do not have the device but anyway I would like to help)
Thanks, right now most dev activity is on the Moto G7 Plus - Discussion group on Telegram. There is a device tree on github and a bootable twrp but so far no working touchscreen. Going on Telegram would be a good way to connect & assist.

EDIT: As noted below, it's now working with touchscreen and a new thread will be made.
 
Last edited:

Kramin1978

New member
May 14, 2019
2
0
0
Recovery Flash problems

I haven't rooted a phone in several years due to a series of phones that wouldn't let me unlock the bootloader. In any case I just picked up a Moto G7 Plus and am looking to root it with TWRP and Magisk. I unlocked the bootloader already but when I try to flash the recovery partition I keep getting the same error:

c:\adb>fastboot flash recovery twrp-3.2.3-1-lake.img
target reported max download size of 536870912 bytes
sending 'recovery' (27748 KB)...
OKAY [ 0.615s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.626s

Anyone know what I'm doing wrong? It seems pretty straight forward once I can get TWRP loaded (although don't be surprised if I request more help :D)
 

Dahenjo

Senior Member
Oct 18, 2014
678
326
83
CT
I haven't rooted a phone in several years

Anyone know what I'm doing wrong? It seems pretty straight forward once I can get TWRP loaded (although don't be surprised if I request more help :D)
You have two problems:
1) The TWRP in this thread is useless and not finished, thread should've been closed (we tried but OP only put warning not to use), if it didn't cause a bootloop leading to a factory reset you're lucky because it did for me & several others. DON'T USE IT.
2) Newer phones including Moto G7 Plus have a new partition structure with recovery no longer being a separate partition and it is now part of the boot partition (see more info here) to make OTA updates work better. Due to this change you CAN'T FLASH TWRP the old way but now have to fastboot BOOT it instead, after which there is another way to fully install it.

The good news (read post above yours) is that someone else has a TWRP almost fully ready (decryption still not working so can't do much with it yet except install Zips) and you can find out more on our Telegram group where you can download it & see instructions on how to set up (again, we can't directly flash it anymore). Then you can install Magisk for root (we don't use SuperSU anymore if you didn't know, but Magisk is much better in many ways). This thread should be deleted very soon and a new one made by jleeblanch with full instructions, so you can wait for that here on XDA if you want or go to the Telegram group in the meantime.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone