I have a rooted Verizon LG G2 and have been trying to install a recovery mod. I somehow got rid of the stock recovery, but couldn't setup a new one. Now my phone is stuck on the fastboot screen. I've been able to get it to the stock recovery screen, but when it starts to wipe the drive, it just takes me back to the fastboot screen. I'm very new to this and haven't been able to figure this out through any other threads. I'm using Ubuntu. Any help would be greatly appreciated!
joshuascan said:
I have a rooted Verizon LG G2 and have been trying to install a recovery mod. I somehow got rid of the stock recovery, but couldn't setup a new one. Now my phone is stuck on the fastboot screen. I've been able to get it to the stock recovery screen, but when it starts to wipe the drive, it just takes me back to the fastboot screen. I'm very new to this and haven't been able to figure this out through any other threads. I'm using Ubuntu. Any help would be greatly appreciated!
Click to expand...
Click to collapse
I'm in the same boat. I tried to install TWRP using the Autorec but accidentally used the one for the LS980, and now I'm stuck at the fastboot screen. Did you ever solve this?
eye_rule said:
I'm in the same boat. I tried to install TWRP using the Autorec but accidentally used the one for the LS980, and now I'm stuck at the fastboot screen. Did you ever solve this?
Click to expand...
Click to collapse
Code:
1. download fastboot
2. download laf.img boot.img aboot.img for your variant
(or download your kdz, download kdz/tot extractor and extract partitions --and rename them from boot_45465757.bin to boot.img)
* boot_45465757.bin is just an example.
3. fastboot flash aboot aboot.img
4. fastboot flash boot boot.img
5. fastboot flash laf laf.img
-> download mode should be back
sorry for jumping back on this thread but im having the same problem...phone boots up to just fastboot....ive been reading for 4 days now trying to find any possible way to fix my phone...it really sucks not having a phone...so now im able to connect the phone to the laptop via fastboot but im looking for this laf.img, boot.img etc files. where can i find them?
Also vs980?
robledjl said:
sorry for jumping back on this thread but im having the same problem...phone boots up to just fastboot....ive been reading for 4 days now trying to find any possible way to fix my phone...it really sucks not having a phone...so now im able to connect the phone to the laptop via fastboot but im looking for this laf.img, boot.img etc files. where can i find them?
Click to expand...
Click to collapse
This can be fixed .
1. You Will need to Download the Stock KDZ/TOT file for your phone , find the right KDZ or TOT file from here .
2. Now you would have to extract the KDZ/TOT file that you downloaded above using WindowsLGFirmwareExtract-1.2.1.0-Release.zip , this is available in the guide here.
3. Extract all the files fro the KDZ/TOT .
4. Now flash the extracted files , based on the fastboot method , which is described here.
Code:
fastboot flash aboot aboot.img
fastboot flash boot boot.img
fastboot flash dbi dbi.img
fastboot flash laf laf.img
fastboot flash misc misc.img
fastboot flash modem modem.img
fastboot flash persist persist.img
fastboot flash recovery recovery.img
fastboot flash rpm rpm.img
fastboot flash sbl1 sbl1.img
fastboot flash tz tz.img
Let me know if you need more help.
Why so many partitions. Be sure to flash same version as your current android is at least.
I was looking for a light 2.1 rom and found this one: http://forum.xda-developers.com/showthread.php?t=1038337 (Lite edition)
Being a beginner, i got a few questions.
Do i need my phone flashed to V20E using .kdz beforehand? My current is V20B + fastboot.
There is kernel img provided, but iam not sure how to use it.
Which clockwork recovery do i need? As i understand 2.1 roms can only be flashed with old recoveries, such as 2.5.x.x . My current version is 3.0.2.4.
Thanks.
Img files can be flashed via fastboot commands:
on your PC type:
fastboot devices (makes sure its recognized)
fastboot -w (wipes data, cache)
fastboot erase boot
fastboot erase system
fastboot flash system system.img
fastboot flash boot boot.img
fastboot reboot
You'll need the fastboot drivers to be installed of course
Tnx for fast reply.
But do i need V20E.kdz rom specifically and flash my phone with KDZ updater? I couldnt find working links for V20E.kdz, only A,B&C.
berins said:
Tnx for fast reply.
But do i need V20E.kdz rom specifically and flash my phone with KDZ updater? I couldnt find working links for V20E.kdz, only A,B&C.
Click to expand...
Click to collapse
nope thats not needed
Just an FYI type thing that may save people a bit of digging around sometime.
I tried to get the update that just came out, but as i had TWRP as recovery, no good. Anyhow, in my trying i completely bollixed the phone. Would start, but always booted to TWRP and had various conniptions. Could not even get a TWRP backup to load. Strange not encountered before by me stuff............
Anyhow, recovered by the following method to stock and am back in business.
Boot into bootloader fastboot mode.
Extract .xml.zip format firmware file:
eg: CEDRIC_NPP25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
to a folder on c drive of the PC that has the ADB and fastboot files in it.
In command prompt cd\ to that directory.
fastboot flash the following in sequence.
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
boots to stock .
Not my own work, adapted from this thread by t-bon3
https://forum.xda-developers.com/showthread.php?t=2542219
which I found thanks to eens post18 at this thread
https://forum.xda-developers.com/g5/how-to/npp25-137-33-stock-firmware-moto-g5-t3577084/page2
After this, Motorola system update installed. On Australian XT1676 is build number NPP25.137-15-7
Patch level 1-May-2017
Still get the I cant be trusted page on power up as have unlocked bootloader.
Many thanks to all at XDA, its a resource that can certainly get you into trouble, but then out of it again.
where do you get the stock firmware?
Think I worked out what I did wrong. Somehow, I changed the format of the data partition. Fat fingers at some point??
TWRP backups didn’t like that and would not mount or write to the data partition as it was not f2fs format that the backup had been made in??
Anyway, restored data from a TWRP backup after going to ....wipe…format data. All good.
That gave me the passcode lockout issue at next reboot which can deal with.
stock Firmware? http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=25
for me stock the phone came with is: CEDRIC_NPP25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Worked on my XT1676 dual sim, but CHECK if its appropriate for your model. There are files on that page that wont be and flashing some of their components (particularly bootloader), can i have read, be unrecoverable disastrous. Be warned.
Slow, but got it. At first i thought it was corrupt as TWRP wouldn't flash it. My gumby. The .xml.zips apparently need to be extracted and flashed file by file.
We're you able to revert to a locked bootloader after this, I am looking forward to do so
We're you able to revert to a locked bootloader after this, I am looking forward to do so
Click to expand...
Click to collapse
didnt try, didnt need to for taking take the update.
And, from my reading there is no way so far to relock the bootloader. I got it to stock, with stock recovery, and that was enough for me.
astmacca said:
didnt try, didnt need to for taking take the update.
And, from my reading there is no way so far to relock the bootloader. I got it to stock, with stock recovery, and that was enough for me.
Click to expand...
Click to collapse
I can confirm what you said, but I am asking because I am sick of the warning before the device starts
ap4ss3rby said:
I can confirm what you said, but I am asking because I am sick of the warning before the device starts
Click to expand...
Click to collapse
You can get rid of that easily
Put phone in fastboot mode
Download logo from link below
Enter the following in a windows command prompt where you have fastboot files & the logo file
Code:
fastboot.exe flash logo logo-g5-fix.bin
http://drive.google.com/file/d/0B-idWfPYugGvREJaR3B0UFIxUkU/view?usp=sharing
TheFixItMan said:
You can get rid of that easily
Put phone in fastboot mode
Download logo from link below
Enter the following in a windows command prompt where you have fastboot files & the logo file
Code:
fastboot.exe flash logo logo-g5-fix.bin
http://drive.google.com/file/d/0B-idWfPYugGvREJaR3B0UFIxUkU/view?usp=sharing
Click to expand...
Click to collapse
Thanks, but this is why I made a Google pixel themed logo.bin and used a matching boot animation to go with it some time earlier
downgrade
thanks for the guide
- can i use this method to downgrade to this version?
- can i do this without unlocking the bootloader
- if it goes wrong can i unlock the bootloader later (i have an unlock code)
- is there a reason why we don't flash sparsechunk.0 ?
thanks in advance
distclean said:
thanks for the guide
- can i use this method to downgrade to this version?
- can i do this without unlocking the bootloader
- if it goes wrong can i unlock the bootloader later (i have an unlock code)
- is there a reason why we don't flash sparsechunk.0 ?
thanks in advance
Click to expand...
Click to collapse
No you cannot downgrade (same firmware version or newer required)
Yes - unlocked bootloader not required
As long as your phone still goes into the bootloader
You should flash all sparsechunks in number order
Thanks a bunch,
So to be absolutely clear, my phone shipped with NPP25.137-15-7 i can't install the stock rom linked, and the same version isn't out yet,
if i unlock the bootloader, would i be able to downgrade ?
Is the software channel setting preserved across this method?
distclean said:
Thanks a bunch,
So to be absolutely clear, my phone shipped with NPP25.137-15-7 i can't install the stock rom linked, and the same version isn't out yet,
if i unlock the bootloader, would i be able to downgrade ?
Is the software channel setting preserved across this method?
Click to expand...
Click to collapse
You maybe able to - there are different variants of the same phone
As long as the firmware is the same or newer (as in the bootloader and API version) it may flash
It will either flash or error out
There's only one way to find out - if your phone is dead anyway it's not going to make alot of difference
No - generally you can never downgrade firmware - doing so would be dangerous and you may loose the bootloader for good
thanks again,
motoboot.img is the bootloader you talk about? is the partition layout described somewhere? would custom roms use a different one here?
do tell me by the way if i should get this information elsewhere/if i should read something to get started in the whole moto g world.
distclean said:
thanks again,
motoboot.img is the bootloader you talk about? is the partition layout described somewhere? would custom roms use a different one here?
do tell me by the way if i should get this information elsewhere/if i should read something to get started in the whole moto g world.
Click to expand...
Click to collapse
You can write in adb
Code:
adb shell
cat /proc
cat /proc/partitions
Hello,
Does anyone know where can I download the latest firmware for Moto G5 XT1676 baseband Version: m8937_ 8000.122.02.40 R
Thanks
astmacca said:
Boot into bootloader fastboot mode.
Extract .xml.zip format firmware file:
eg: CEDRIC_NPP25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
to a folder on c drive of the PC that has the ADB and fastboot files in it.
In command prompt cd\ to that directory.
fastboot flash the following in sequence.
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk1
fastboot flash system system.img_sparsechunk2
fastboot flash system system.img_sparsechunk3
fastboot flash system system.img_sparsechunk4
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
boots to stock .
Click to expand...
Click to collapse
You're partially right. These commands won't work for our files. You have to flash the firmware according to the instructions contained within the "flashfile.xml" file within the archive. For example we have no "motoboot" partition
I've flashed every stock package available now (4 I think) and haven't been offered an update once. I've ran a couple of custom ROMs but they're just not right in one way or another. Might be time to move on.
distclean said:
Thanks a bunch,
So to be absolutely clear, my phone shipped with NPP25.137-15-7 i can't install the stock rom linked, and the same version isn't out yet,
if i unlock the bootloader, would i be able to downgrade ?
Is the software channel setting preserved across this method?
Click to expand...
Click to collapse
I upgraded to this and since then can't downgrade the phone to the stock roms available online. From memory trying to flash gpt.bin gave a "Security version downgrade" error. So I wouldn't assume you'll be able to downgrade and until there is a copy of this particular firmware, you won't be able to flash back or relock the bootloader
astmacca said:
Think I worked out what I did wrong. Somehow, I changed the format of the data partition. Fat fingers at some point??
TWRP backups didn’t like that and would not mount or write to the data partition as it was not f2fs format that the backup had been made in??
Anyway, restored data from a TWRP backup after going to ....wipe…format data. All good.
That gave me the passcode lockout issue at next reboot which can deal with.
stock Firmware? http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=25
for me stock the phone came with is: CEDRIC_NPP25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Worked on my XT1676 dual sim, but CHECK if its appropriate for your model. There are files on that page that wont be and flashing some of their components (particularly bootloader), can i have read, be unrecoverable disastrous. Be warned.
Slow, but got it. At first i thought it was corrupt as TWRP wouldn't flash it. My gumby. The .xml.zips apparently need to be extracted and flashed file by file.
Click to expand...
Click to collapse
Is this ROM is good to my XT1676 Baseband: M8937_11.16.02.51R ?
astmacca said:
Think I worked out what I did wrong. Somehow, I changed the format of the data partition. Fat fingers at some point??
TWRP backups didn’t like that and would not mount or write to the data partition as it was not f2fs format that the backup had been made in??
Anyway, restored data from a TWRP backup after going to ....wipe…format data. All good.
That gave me the passcode lockout issue at next reboot which can deal with.
stock Firmware? http://www.filefactory.com/folder/c6cdedc45a775d27/?sort=created&order=DESC&show=25
for me stock the phone came with is: CEDRIC_NPP25.137-15_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Worked on my XT1676 dual sim, but CHECK if its appropriate for your model. There are files on that page that wont be and flashing some of their components (particularly bootloader), can i have read, be unrecoverable disastrous. Be warned.
Slow, but got it. At first i thought it was corrupt as TWRP wouldn't flash it. My gumby. The .xml.zips apparently need to be extracted and flashed file by file.
Click to expand...
Click to collapse
Hi, i own the same model of moto g5, i do this in fastboot window
fastboot erase userdata
now the phone only boot in twrp and show a message "failed to mount /data". i think that delete my userdata partition, how could i fix it?
once i can avoid this loop in twrp, i follow these steps to flash stock rom
thanks in advance
juan
Hi there! I recently got my first android phone so wanted to install Lineage os 15.1 but messed it up right away as it's in now in boot loop! Here's what I did:
It was on Android 8.0 angler-opr5.170623.011-factory-0e60ceb6 but I unlocked its boot loader and installed custom recovery and I successfully flashed in the fastboot , vendor, radio and boot loader from Lineage OS 15.1 thread, now instead of following the rest of instructions, I madly decided to reboot the device using fastboot reboot and now I don't see anything except these colored circles which is what boot loop probably is! Please help me find a solution! Thank you!
edited: I have successfully entered into bootloader mode but don't know how to proceed!
I'd flash all the stock firmware in bootloader and start over. Grab the latest firmware package from Google's site, extract it, then run:
fastboot flash bootloader bootloader.img (name changes with version)
fastboot reboot-bootloader
fastboot flash radio radio.img (name changes with version)
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
Reboot to system
You'll probably have to flash your custom recovery again in bootloader after the first boot. It usually reverts back to stock.
https://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928/page1
Part 10 in the thread above^
I recommend you installing an easy official ROM.
With them all you need to do is a clean flash of the ROM
Since I'm still a noob so I need to muster up courage to proceed but I really appreciate your valuable input guys!! Cheers!! :good:
edited: I have successfully installed stock firmware! cheers!
Hi im having problems here with my nexus player
i purchased and used this since 3year with custom AOSP android lollirock that i found on this forum how to install in the begining when i purchased it now since there are newer version of android and app stop working correctly on it i wanna return to the stock rom
what it did is after booting into fastboot and running those command using google official rom
fastboot erase boot
fastboot erase recovery
fastboot erase system
fastboot erase cache
fastboot flash bootloader (bootloader filename)
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache (there were no cache.img in the google official rom package so i leave it like this)
fastboot reboot
my nexus bootloader is in UNlocked state, i remeber unlocked it the first time i flash the original rom to install the lollirock one
the device rebooted and now im stuck in the bootloop of circle turning in the screen
i did the exact samething trying to install a older version of the rom (after i read on the internet that the 8.00 was sending people who never messed around with fastboot and just using OTA to update into this samebootloop)
i got the same exact problem using an older version of the google official rom 7.1.2 i try i think
then i tried to reinstall AOSP custom 7.1 of android that i found on the forum of zulu99 he tell to
fastboot flash boot boot.img
fastboot flash system system.img
fastboot -w (and i noticed that when i run this fastboot return me and error saying that the file is missing (cannot generate image for userdata)
anyone know what i can do from here ?
im able to get into fastboot no problem holding the button under the device before i plugged in the power cord
im pretty a beginner using ADB and flashing android roms so i have no clue what im missing here but i guess its something due to the fact that ivd run fastboot erase cache.img in the begining !?!?
Please any help would be greatly appreciated
I always used the nexus root tool kit for everything.
http://www.wugfresh.com/nrt/