Noob needs assistance

mr_moneroj

Member
Jul 28, 2018
7
0
0
Ok, so let me start this off by saying I feel kind of dumb right now. I am really new to all this.

I bought a motog5s, and rooted it with super su.
I tried to add a different OS rom (several actually).
I ended up messing up somehow and deleting my backup of the stock rom which I nandroid saved on twrp-3.1.1-sanders.img
I now have a phone with no Operating Sytem. I had twrp-3.1.1-sanders.img and tried to upgrade to twrp-sanders-r2.img which worked but, deleted my backup of stock rom install when i deleted the internal storage like a moron, also didn't help me install a rom w/o error messages so then I upgraded to twrp-sanders-r16.img, which worked also. But now I get error 7 every time I try to install any rom.
Right now my phone has just twrp-sanders-r16.img and no operating system.
How do I resolve the error 7 and error 255(i was getting earlier but now just error 7), and install an operating system? I wanted to get pixel experience working which was what got me all turned around in the first place. I also tried Cosmic, Arrow, AOSPext all of which where in the XDA roms forum(for Moto G5S, Sanders) but kept getting error 255 then I tried to do a fix (deleted assert command from a file in the rom with text editor, but kept saying my ZIP files weren't the proper format, I have ubuntu linux on my computer...which should work) and it stopped giving error 255 and now gives error 7.
I have tried sidebooting, and also many different roms and all give errors. I also had lots of trouble with Open Gapps/larger files/Roms when trying to download on my cpu and then move/copy to my phone's internal storage so I don't know how to resolve that either.
I now want to get a solid rom OS on here ( that's noob friendly) and root with magisk of which i have DL'd 16.0 & Magisk Manager 5.8.3 (last stable release i think)
How do I fix this? Please help!

thank you very much for any help in advance.
 

treyweez11

Senior Member
Jan 4, 2012
1,058
152
0
Atlanta
First off make sure you have a Moto G5s Plus not the smaller variant. If it's a Plus, than fastboot flash this twrp recovery and try downloading a fresh ROM, gapps, and also Magisk. Flash those guys and you should be good.

Sent from my XT1806 using Tapatalk
 

mr_moneroj

Member
Jul 28, 2018
7
0
0
First off make sure you have a Moto G5s Plus not the smaller variant. If it's a Plus, than fastboot flash this twrp recovery and try downloading a fresh ROM, gapps, and also Magisk. Flash those guys and you should be good.

Sent from my XT1806 using Tapatalk

when i try to flash the rom i get error 7 and it won't install.
 

mr_moneroj

Member
Jul 28, 2018
7
0
0
https://androidfilehost.com/?fid=890129502657595739


Sorry meant to put this link to update twrp. See if this version will clear you of the error


Sent from my XT1806 using Tapatalk
Ok I flashed TWRP R20 and it's now on my phone.

I tried flashing Lineage OS, got error 7.

Tried flashing the version of Lineage OS where I deleted the assert code from the beginning of the Updater-Script (which was supposed to fix it.) Instead, I get an error saying it's an improperly formatted zip file.

What solution can I try for resolving this error 7? It happens with every single rom I try.
 

treyweez11

Senior Member
Jan 4, 2012
1,058
152
0
Atlanta
Ok I flashed TWRP R20 and it's now on my phone.

I tried flashing Lineage OS, got error 7.

Tried flashing the version of Lineage OS where I deleted the assert code from the beginning of the Updater-Script (which was supposed to fix it.) Instead, I get an error saying it's an improperly formatted zip file.

What solution can I try for resolving this error 7? It happens with every single rom I try.
Just try a fresh downloaded room

Sent from my XT1806 using Tapatalk
 

xtasquee

Member
Aug 3, 2018
21
4
0
kinda' haven't rooted except for other ppl much in the past decade, but i just did this phone and from what i understand, first of all flashing magisk on top of supersu seems like a bad idea since they alter complely different directories. pretty sure you'd want to stick with one or the other unless you reverted to stock first. other than that, did you reformat your system partition on the first try? did you wipe before trying other roms?
 

AkshayTh9

Member
Oct 31, 2017
12
0
0
stuck with same error.

stuck with exact same error 7, did you got any solution, plz send if any, thank you:(
xt1804
 
Last edited:

Sanjay.it

Member
Jan 10, 2018
33
3
0
Ok, so let me start this off by saying I feel kind of dumb right now. I am really new to all this.

I bought a motog5s, and rooted it with super su.
I tried to add a different OS rom (several actually).
I ended up messing up somehow and deleting my backup of the stock rom which I nandroid saved on twrp-3.1.1-sanders.img
I now have a phone with no Operating Sytem. I had twrp-3.1.1-sanders.img and tried to upgrade to twrp-sanders-r2.img which worked but, deleted my backup of stock rom install when i deleted the internal storage like a moron, also didn't help me install a rom w/o error messages so then I upgraded to twrp-sanders-r16.img, which worked also. But now I get error 7 every time I try to install any rom.
Right now my phone has just twrp-sanders-r16.img and no operating system.
How do I resolve the error 7 and error 255(i was getting earlier but now just error 7), and install an operating system? I wanted to get pixel experience working which was what got me all turned around in the first place. I also tried Cosmic, Arrow, AOSPext all of which where in the XDA roms forum(for Moto G5S, Sanders) but kept getting error 255 then I tried to do a fix (deleted assert command from a file in the rom with text editor, but kept saying my ZIP files weren't the proper format, I have ubuntu linux on my computer...which should work) and it stopped giving error 255 and now gives error 7.
I have tried sidebooting, and also many different roms and all give errors. I also had lots of trouble with Open Gapps/larger files/Roms when trying to download on my cpu and then move/copy to my phone's internal storage so I don't know how to resolve that either.
I now want to get a solid rom OS on here ( that's noob friendly) and root with magisk of which i have DL'd 16.0 & Magisk Manager 5.8.3 (last stable release i think)
How do I fix this? Please help!

thank you very much for any help in advance.
I think ! you should trying " Back to Stock Rom by XDA"
 

AkshayTh9

Member
Oct 31, 2017
12
0
0
regarding back to stock rom

I think ! you should trying " Back to Stock Rom by XDA"
is back to stock rom have anything do with recovery changes
i made some changes in team-win recovery and while flashing some commands giving errors is that a problem with my pc system
and can i downgrade to 7.1.1 firmware, previously i was on 8.1 june 2018
any reply is appreciated, thank you
 

i2kp2

New member
Feb 25, 2017
2
0
0
Bangalore
I had a similar problem. While trying to flash liquid_remix ROM I kept getting error 7. I checked and saw that my system partition was not mounted in TWRP. After mounting it the ROM flashed fine.
 

AkshayTh9

Member
Oct 31, 2017
12
0
0
solved this issue on my moto g5s plus

Ok, so let me start this off by saying I feel kind of dumb right now. I am really new to all this.

I bought a motog5s, and rooted it with super su.
I tried to add a different OS rom (several actually).
I ended up messing up somehow and deleting my backup of the stock rom which I nandroid saved on twrp-3.1.1-sanders.img
I now have a phone with no Operating Sytem. I had twrp-3.1.1-sanders.img and tried to upgrade to twrp-sanders-r2.img which worked but, deleted my backup of stock rom install when i deleted the internal storage like a moron, also didn't help me install a rom w/o error messages so then I upgraded to twrp-sanders-r16.img, which worked also. But now I get error 7 every time I try to install any rom.
Right now my phone has just twrp-sanders-r16.img and no operating system.
How do I resolve the error 7 and error 255(i was getting earlier but now just error 7), and install an operating system? I wanted to get pixel experience working which was what got me all turned around in the first place. I also tried Cosmic, Arrow, AOSPext all of which where in the XDA roms forum(for Moto G5S, Sanders) but kept getting error 255 then I tried to do a fix (deleted assert command from a file in the rom with text editor, but kept saying my ZIP files weren't the proper format, I have ubuntu linux on my computer...which should work) and it stopped giving error 255 and now gives error 7.
I have tried sidebooting, and also many different roms and all give errors. I also had lots of trouble with Open Gapps/larger files/Roms when trying to download on my cpu and then move/copy to my phone's internal storage so I don't know how to resolve that either.
I now want to get a solid rom OS on here ( that's noob friendly) and root with magisk of which i have DL'd 16.0 & Magisk Manager 5.8.3 (last stable release i think)
How do I fix this? Please help!

thank you very much for any help in advance.
hii, mr_moneroj
i was having the same error
and back to stock rom worked for me,
let me find links that could lead you to solve problem

https://forum.xda-developers.com/mo...ockrom-android-8-1-oreo-oficial-twrp-t3804750
means i did this, hope works for you
first i restored my phone through this backup

then my network and fingerprint were not working well
so used this you tube video
follow this instructions after above link restore

https://youtu.be/iu3BOs7nMuA

very well explained, follow them
i did this and back to stock also i got official 8.1 right now, upgrading
bye....:)