Hi I've owned my one for a few months now and have flashed numerous ROMs since plus I've owned every nexus and have flashed countless roms on them. Yesterday I flashed Aicp on a clean wipe and all of a sudden my phone would get to the setup and reboot. I tried restoring 3 different nandroids and they would boot into the os but I had no access to data or WiFi and my hardware keys wouldn't work except the back key. I managed to get into settings and I'm missing my baseband. So I tried to fastboot the cm11s factory image and all I get is audiofx fc every second. I then did a bit of research and here on xda there were a few others with this issue and read that side loading the color os would bring back the files I lost. I'm now writing this from color os and I do indeed have data back but WiFi does not work and its showing my 64 GB one as a 16gb one. I'm lost what to do from here, will flashing stock cm11s work? I tried flashing liquid and same thing happened again. I'm getting extremely frustrated and do not want to send this in to oppo if I can help it. Any help would be so greatly appreciated.
Sent from my A0001 using XDA Premium HD app
1)Reboot into bootloader
2)reinstall cm11s using fastboot
http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH33R-bacon-signed-fastboot.zip
fastboot flash boot boot.img
fastboot flash userdata userdata_64g.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot reboot
3)flash twrp recovery using fastboot
you can download here
http://techerrata.com/file/twrp2/bacon/openrecovery-twrp-2.8.0.1-bacon.img
rename it "recovery.img"
fastboot flash recovery recovery.img
4)boot into recovery
factory reset,advanced wipe-->dalvik,cache,system,data
and flash cm11 rom zip
https://download.cyanogenmod.org/get/jenkins/84302/cm-11-20140921-NIGHTLY-bacon.zip
kenzolo said:
1)Reboot into bootloader
2)reinstall cm11s using fastboot
http://dist01.slc.cyngn.com/factory/bacon/cm-11.0-XNPH33R-bacon-signed-fastboot.zip
fastboot flash boot boot.img
fastboot flash userdata userdata_64g.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot reboot
3)flash twrp recovery using fastboot
you can download here
http://techerrata.com/file/twrp2/bacon/openrecovery-twrp-2.8.0.1-bacon.img
rename it "recovery.img"
fastboot flash recovery recovery.img
4)boot into recovery
factory reset,advanced wipe-->dalvik,cache,system,data
and flash cm11 rom zip
https://download.cyanogenmod.org/get/jenkins/84302/cm-11-20140921-NIGHTLY-bacon.zip
Click to expand...
Click to collapse
I think its file system problem,because it shows 16gb instead 64gb.Pls also check your imei,probably its 0.
k3mik4l said:
Hi I've owned my one for a few months now and have flashed numerous ROMs since plus I've owned every nexus and have flashed countless roms on them. Yesterday I flashed Aicp on a clean wipe and all of a sudden my phone would get to the setup and reboot. I tried restoring 3 different nandroids and they would boot into the os but I had no access to data or WiFi and my hardware keys wouldn't work except the back key. I managed to get into settings and I'm missing my baseband. So I tried to fastboot the cm11s factory image and all I get is audiofx fc every second. I then did a bit of research and here on xda there were a few others with this issue and read that side loading the color os would bring back the files I lost. I'm now writing this from color os and I do indeed have data back but WiFi does not work and its showing my 64 GB one as a 16gb one. I'm lost what to do from here, will flashing stock cm11s work? I tried flashing liquid and same thing happened again. I'm getting extremely frustrated and do not want to send this in to oppo if I can help it. Any help would be so greatly appreciated.
Sent from my A0001 using XDA Premium HD app
Click to expand...
Click to collapse
Your issue clearly describes what's in this thread here. Have you tried it? What recovery are you using?
How to return back to cm11s from Nougat without losing my internal?
Maybe some radio or frimware can help flashing it directly from twrp.
Thanks.
Mr.Ak said:
How to return back to cm11s from Nougat without losing my internal?
Maybe some radio or frimware can help flashing it directly from twrp.
Thanks.
Click to expand...
Click to collapse
Don't wipe internal. Use a flashable zip (search for your preferred build). Nothing else.
Gawd said:
Don't wipe internal. Use a flashable zip (search for your preferred build). Nothing else.
Click to expand...
Click to collapse
But what radio/frimware/modem I should flash first?
I mean I can't directly flash KK over N..
Mr.Ak said:
But what radio/frimware/modem I should flash first?
I mean I can't directly flash KK over N..
Click to expand...
Click to collapse
You can. Just clean flash, I'm not talking about dirty here. If you want the modem that came with CM11S, then you can find it in the respective thread. Otherwise no problem. Happy flashing.
Mr.Ak said:
How to return back to cm11s from Nougat without losing my internal?
Maybe some radio or frimware can help flashing it directly from twrp.
Thanks.
Click to expand...
Click to collapse
You can just flash the fastboot image of CM11S from here: https://forum.xda-developers.com/oneplus-one/general/official-cm11s-roms-ota-updates-t2906746
Fastboot image includes the firmware.
Use the following commands and you won't lose your internal storage:
Code:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Also, if you are not comfortable with fastboot method, you will find the flashable zip in the same thread mentioned above. You can flash that via TWRP.
Here's the modem collection for CM11: https://forum.xda-developers.com/oneplus-one/general/ref-oneplus-one-modem-collection-t2858734
PS: I don't guarantee that this will work, because jumping back from nougat to kitkat is something I never tried myself. Good Luck!
ninjasumit said:
You can just flash the fastboot image of CM11S from here: https://forum.xda-developers.com/oneplus-one/general/official-cm11s-roms-ota-updates-t2906746
Fastboot image includes the firmware.
Use the following commands and you won't lose your internal storage:
Code:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
Also, if you are not comfortable with fastboot method, you will find the flashable zip in the same thread mentioned above. You can flash that via TWRP.
Here's the modem collection for CM11: https://forum.xda-developers.com/oneplus-one/general/ref-oneplus-one-modem-collection-t2858734
PS: I don't guarantee that this will work, because jumping back from nougat to kitkat is something I never tried myself. Good Luck!
Click to expand...
Click to collapse
So I have downloaded the fastboot package.
Is there any chance that KK would boot without flashing userdata,as you mentioned?
Mr.Ak said:
So I have downloaded the fastboot package.
Is there any chance that KK would boot without flashing userdata,as you mentioned?
Click to expand...
Click to collapse
It should. But if it doesn't then you can always flash a nougat ROM via twrp.
Also, don't forget to backup your EFS partition.
Hi guys. If you can't install ROMs, this is your place to ask. Please be detailed, mention: ROM, build, your variant and firmware version. And tell us your specific issue.
Here's a guide on how to do it, and I'll link you to the files needed for the procedure:
1. If you're using a Google account, remove it in Settings > Accounts and factory reset. Else, skip this step.
2. Unlock your bootloader following Motorola's instructions. Google it, it'll be easy to find and follow.
3. Download:
. Fastboot tools/Minimal ADB & Fastboot or your prefered fastboot program for PC.
. A firmware image for your variant
. ROM you want to install
. GApps (optional): http://opengapps.org/
. Magisk (optional): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
And the next files:
TWRP (img) & TWRP installer (zip): https://androidfilehost.com/?w=files&flid=299042
copypartitions.zip: https://drive.google.com/file/d/1oiry9UfP2tf-5A6nQBF7pn2t2eSGKt0F/view
You'll need an SD card to store the files needed for installing the ROM, since internal storage won't be usable temporarily.
4. Hold power + volume down until you reach bootloader (fastboot mode).
In your extracted firmware folder open a terminal and flash your firmware files with these commands:
----------------------------------------------------------------------
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot set_active a
fastboot reboot-bootloader
sleep 5
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
sleep 5
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash vendor_a vendor.img_sparsechunk.2
fastboot flash vendor_b vendor.img_sparsechunk.0
fastboot flash vendor_b vendor.img_sparsechunk.1
fastboot flash vendor_b vendor.img_sparsechunk.2
fastboot flash oem_a oem.img
fastboot flash oem_b oem.img
fastboot oem fb_mode_clear
fastboot reboot-bootloader
--------------------------------------------------------------------
Don't worry if any error message appears.
5. Place TWRP .img file into your fastboot folder, and do "fastboot boot TWRP.img" - replace TWRP with file's real name, but it should be the IMG file's name, not the zip file's name. With TWRP booted, now check if the screen actually responds. If it doesn't, just turn your phone off, get into fastboot mode again, and boot TWRP until it works.
6. With that solved, now just copy copypartitions.zip to your sdcard (called external_sd in your phone) and install it. Also copy to your external_sd, just to save time, your ROM and TWRP's installer. And Magisk or GApps if you'll need them.
7. Reboot to bootloader, and do "fastboot -w".
8. "fastboot boot" TWRP again, flash ROM, and flash TWRP's installer (zip file). Boot system.
9. Reboot to bootloader, select recovery mode and flash Magisk/GApps if you need them.
10. Reboot to system, and enjoy
Any questions, feel free to ask 'em in the comments. Hope it works!
P.S.: OmniROM has its own recovery (TWRP is a recovery). So, keep that in mind and don't flash TWRP's zip in Omni if you want it to boot.
Also, if you want, you can try OrangeFOX. It's a cute TWRP replacement that has some interesting features. Worth checking out.
TL;DR:
1. Remove your Google account
2. Flash firmware with the set of commands attached.
3. "Fastboot boot" TWRP and flash copypartitions.zip.
4. Go to bootloader mode and do "fastboot -w".
5. Boot TWRP, flash ROM and TWRP's installer
5.1. Boot system
(optional) 6. Open recovery mode and flash Magisk/GApps.
-----------------------------------------------------------------------------------
Download:
. Fastboot tools/Minimal ADB & Fastboot or your prefered fastboot program for PC.
. A firmware image for your variant
. ROM you want to install
. GApps (optional): http://opengapps.org/
. Magisk (optional): https://forum.xda-developers.com/app...mless-t3473445
. TWRP (img) & TWRP installer (zip): https://androidfilehost.com/?w=files&flid=299042
. copypartitions.zip: https://drive.google.com/file/d/1oir...t2eSGKt0F/view
You'll need an SD card to store the files needed for installing the ROM, since internal storage won't be usable temporarily.
All ROMs posted in XDA are actually working in this device.
Thank you for creating this thread. People need to get used to this A/B partition format. This is the proper forum to discuss these issues, not in the development section.
Using these instructions:
crDroid -> bootloop
bootleggers rom -> bootloop
lineageos -> bootloop
ressurection remix -> bootloop
Twrp is screaming at me "Failed to mount /data partition "invalid argument"
I noticed your instructions fail to mention you need to run through the setup process of android, then run fastboot -w, then run twrp format data as fastboot -w will (using retus and amz stock rom) create a "raw" partition table and so on. None of the current roms can handle this and will bootloop.
These incomplete instructions will waste people's time and cause problems.
Please reconsider the purpose of this thread. It is the developers responsibility to add a filesystem check during rom flash and write working instructions. Currently only bootleggers instructions will work to any capacity due to their inbuilt sanity checks.
derek12213 said:
Using these instructions:
crDroid -> bootloop
bootleggers rom -> bootloop
lineageos -> bootloop
ressurection remix -> bootloop
[...]
Click to expand...
Click to collapse
Hey. like I said at the beggining of the thread, it's not possible to help you without giving specifics. Give that info and I'll help you.
I made this thread because this steps worked to dozens of users, and I'm not joking. Literally. They are not incomplete since they worked for everyone. Search for our group in Telegram if you think it's not true. We might be able to help you there too.
TWRP screams "Failed to mount /data partition", that's why internal storage won't work temporarily until you flash a ROM. Could that be better? Of course. But still the procedure works.
"I noticed your instructions fail to mention you need to run through the setup process of..." Nope. There's no need for that. That's why I didn't mentioned it, because I've tried lots of ROMs and never needed to do that.
Also, do you have latest fastboot? Some users had issues because of using older versions of that program.
But yeah, I'm not some friend who can go to your house and see what you've got. So, we need information. I won't be able to help you further if you don't do your part. Tell me what you've got please.
Flash to stock -> fine
follow your instructions for any rom -> bootloop
from stock flashed metropcs rom per crDroid developers recomendation (I am amz fw)
flash all that commands using metropcs firmware (crDroid said to use this one, I am AMZ fw, tried AMZ fw and RETUS fw and it doesnt matter, same result)
fastboot boot twrp
twrp flash copy partitions
reboot bootloader
fastboot -w
boot twrp
flash rom flash twrp
reboot system
bootloop
output of twrp and fastboot during the process :
Erasing 'userdata' OKAY [ 0.117s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
install rom zip and twrp zip (downloaded your versions)
could not mount /data and unnable to find crypto footer
failed to mount /data invalid argument
unable to recreate /data/media folder
updating partition details...
failed to mount /data invalid argument
...done
unable to mount storage
failed to mount /data invalid arugment
Full selinux support is present
unable to mount /data/media/TWRP/.twrp
after flashing twrp says
Failed to mount /data invalid argument
...done
Your guide says " Boot system."
I am interpreting this as reboot system
Bootloop
All roms.
I dont install gapps because I dont need spyware. I would use stock if I wanted to be spyed on 24/7.365
I dont install magisk outside of booting a magisk patched boot img to modify hosts for less CONSTANT TRACKING
Hey, did you read my last reply, as well as the first line of this thread? Where I require specifically to give me some info first to be able to help you. I'm like trying to help a question mark... try to follow a simple rule.
In step 9, you're doing "fastboot boot" to TWRP, or you're actually going to recovery mode? We need to know if TWRP install actually works. Even if you won't use any Magisk or GApps, check if it is actually installed AND working.
I've also heard of users that had issues booting of the first time a ROM with TWRP installed. Maybe just do the procedure until you have to flash a ROM, and boot the system instead of installing TWRP. And flash TWRP after the ROM already booted and it's running.
Also, how much time should pass for you to consider for a ROM to be bootlooping?
Well, both fastboot -w and TWRP mount /data errors are the same thing. Fastboot isn't able to format it properly, so data is not mounted by TWRP. Like I said before, it's a temporal thing that's fixed when flashing the ROM. Don't worry about that.
But please, I don't know if you do this on purpose, you're not following even a simple request stated at the beggining of the thread. Please answer that to keep the conversation going, I won't reply you any further if you don't do your part.
derek12213 said:
Flash to stock -> fine
follow your instructions for any rom -> bootloop
from stock flashed metropcs rom per crDroid developers recomendation (I am amz fw)
flash all that commands using metropcs firmware (crDroid said to use this one, I am AMZ fw, tried AMZ fw and RETUS fw and it doesnt matter, same result)
fastboot boot twrp
twrp flash copy partitions
reboot bootloader
fastboot -w
boot twrp
flash rom flash twrp
reboot system
bootloop
output of twrp and fastboot during the process :
Erasing 'userdata' OKAY [ 0.117s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata' (bootloader) Permission denied
FAILED (remote: '')
fastboot: error: Command failed
install rom zip and twrp zip (downloaded your versions)
could not mount /data and unnable to find crypto footer
failed to mount /data invalid argument
unable to recreate /data/media folder
updating partition details...
failed to mount /data invalid argument
...done
unable to mount storage
failed to mount /data invalid arugment
Full selinux support is present
unable to mount /data/media/TWRP/.twrp
after flashing twrp says
Failed to mount /data invalid argument
...done
Your guide says " Boot system."
I am interpreting this as reboot system
Bootloop
All roms.
I dont install gapps because I dont need spyware. I would use stock if I wanted to be spyed on 24/7.365
I dont install magisk outside of booting a magisk patched boot img to modify hosts for less CONSTANT TRACKING
Click to expand...
Click to collapse
Dude, I had the same issue as you, couldn't load any roms, no matter what guide I followed, it always bootlooped. Turned out to be my microSD was causing it. I followed Life_goes_on's solution on this thread (post #74):
https://forum.xda-developers.com/g7-power/development/rom-resurrection-remix-t3994687/page8
Substituted 'fastboot erase userdata' for 'fastboot -w' and took out my microSD before booting it up and it worked.
I'm using the MetroPCS version on RETUS firmware.
BETA215 said:
Hey, did you read my last reply, as well as the first line of this thread? Where I require specifically to give me some info first to be able to help you. I'm like trying to help a question mark... try to follow a simple rule.
In step 9, you're doing "fastboot boot" to TWRP, or you're actually going to recovery mode? We need to know if TWRP install actually works. Even if you won't use any Magisk or GApps, check if it is actually installed AND working.
I've also heard of users that had issues booting of the first time a ROM with TWRP installed. Maybe just do the procedure until you have to flash a ROM, and boot the system instead of installing TWRP. And flash TWRP after the ROM already booted and it's running.
Also, how much time should pass for you to consider for a ROM to be bootlooping?
Well, both fastboot -w and TWRP mount /data errors are the same thing. Fastboot isn't able to format it properly, so data is not mounted by TWRP. Like I said before, it's a temporal thing that's fixed when flashing the ROM. Don't worry about that.
But please, I don't know if you do this on purpose, you're not following even a simple request stated at the beggining of the thread. Please answer that to keep the conversation going, I won't reply you any further if you don't do your part.
Click to expand...
Click to collapse
After i flash rom and twrp I can go to twrp by holding volume down and pwr then selecting recovery at that point or can boot it via fastboot. I think that it changes parition (from a to b) during this process so I always use twrp to reboot to recovery even if I am not flashing gapps or magisk to rule out problems.
---------- Post added at 12:38 AM ---------- Previous post was at 12:11 AM ----------
framila said:
Dude, I had the same issue as you, couldn't load any roms, no matter what guide I followed, it always bootlooped. Turned out to be my microSD was causing it. I followed Life_goes_on's solution on this thread (post #74):
https://forum.xda-developers.com/g7-power/development/rom-resurrection-remix-t3994687/page8
Substituted 'fastboot erase userdata' for 'fastboot -w' and took out my microSD before booting it up and it worked.
I'm using the MetroPCS version on RETUS firmware.
Click to expand...
Click to collapse
bootloop
Alright I figured it out. It was my sdcard. I did everything using the Dave Chappelle method and it fixed it.
Dave Chappelle method:
1- remove sd card. In fact just remove the whole tray.
2- go back to stock, boot it, do whatever you gotta do. There is a thread on how to go back to stock, follow those instructions, its beyond the scope of the Dave Chappelle method.
3- go to bootloader with vol+pwr held
get your copypartitions.zip, your rom.zip, and twrp.img and twrp.zip in a folder. I like sybers twrp mod but whatever use official doesnt matter.
fastboot boot twrp
wait 3 seconds
adb push copypartitions.zip /tmp/
go to twrp install and go up a level, click copypartitions.zip, and install it. /tmp/ is memory, our phone has enough ram to do this.
adb shell
cd /tmp/
rm copypartitions.zip
# you dont have to do above, but we dont want too much stuff in memory, rebooting SHOULD clear memory, but I havent used android extensively they may have windows hibernate thing or whatever.
exit
adb reboot bootloader
fastboot boot twrp.img
adb push rom.zip /tmp/
go to twrp install and go up a level, click rom.zip, and install it. /tmp/ is memory, our phone has enough ram to do this.
adb shell
cd /tmp/
rm rom.zip
exit
adb push twrp.zip /tmp/
go to twrp install and go up a level, click twrp.zip, and install it. /tmp/ is memory, our phone has enough ram to do this.
adb shell
cd /tmp/
rm twrp.zip
exit
twrp select reboot bootloader
wait a tic
fastboot erase userdata
select recovery and boot
alright so at this point I am good because I dont want gapps or magisk I am done. I would boot a modified boot partition once a month and install adaware hosts modifications, then reboot. I dont want to be walking around with root or google proprietary code. I would then select reboot, make sure slotb is selected, and reboot system.
If you want gapps, then you flash your gapps at this point. I discourage you from doing so and encourage microg for google maps or whatever google service you actually need. I also discourage the idea of walking around with "hot" root. Where you can grant an application root at any time. It is trivial to write an application that modifies what the screen is displaying to trick you into accidentally granting root permissions.
Great guide! We really needed one. Btw you don't necessarily need a SD card to install zips, you can install them directly from your computer by sideloading them with adb on twrp. You can do that by going into twrp, then to Advanced and press on ADB Sideload, now on adb type in: "adb sideload thezipyouwanttoinstall.zip" and twrp will start installing that zip.
BETA215 said:
Hi guys. If you can't install ROMs, this is your place to ask. Please be detailed, mention: ROM, build, your variant and firmware version. And tell us your specific issue.
Here's a guide on how to do it, and I'll link you to the files needed for the procedure:
1. If you're using a Google account, remove it in Settings > Accounts and factory reset. Else, skip this step.
2. Unlock your bootloader following Motorola's instructions. Google it, it'll be easy to find and follow.
3. Download:
. Fastboot tools/Minimal ADB & Fastboot or your prefered fastboot program for PC.
. A firmware image for your variant
. ROM you want to install
. GApps (optional): http://opengapps.org/
. Magisk (optional): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
And the next files:
TWRP (img) & TWRP installer (zip): https://androidfilehost.com/?w=files&flid=299042
copypartitions.zip: https://drive.google.com/file/d/1oiry9UfP2tf-5A6nQBF7pn2t2eSGKt0F/view
You'll need an SD card to store the files needed for installing the ROM, since internal storage won't be usable temporarily.
4. Hold power + volume down until you reach bootloader (fastboot mode).
In your extracted firmware folder open a terminal and flash your firmware files with these commands:
----------------------------------------------------------------------
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6
fastboot flash system_a system.img_sparsechunk.7
fastboot flash system_a system.img_sparsechunk.8
fastboot flash system_a system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash oem_a oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot set_active a
fastboot reboot-bootloader
sleep 5
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
sleep 5
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash vendor_a vendor.img_sparsechunk.2
fastboot flash vendor_b vendor.img_sparsechunk.0
fastboot flash vendor_b vendor.img_sparsechunk.1
fastboot flash vendor_b vendor.img_sparsechunk.2
fastboot flash oem_a oem.img
fastboot flash oem_b oem.img
fastboot oem fb_mode_clear
fastboot reboot-bootloader
--------------------------------------------------------------------
Don't worry if any error message appears.
5. Place TWRP .img file into your fastboot folder, and do "fastboot boot TWRP.img" - replace TWRP with file's real name, but it should be the IMG file's name, not the zip file's name. With TWRP booted, now check if the screen actually responds. If it doesn't, just turn your phone off, get into fastboot mode again, and boot TWRP until it works.
6. With that solved, now just copy copypartitions.zip to your sdcard (called external_sd in your phone) and install it. Also copy to your external_sd, just to save time, your ROM and TWRP's installer. And Magisk or GApps if you'll need them.
7. Reboot to bootloader, and do "fastboot -w".
8. "fastboot boot" TWRP again, flash ROM, and flash TWRP's installer (zip file). Boot system.
9. Reboot to bootloader, select recovery mode and flash Magisk/GApps if you need them.
10. Reboot to system, and enjoy
Any questions, feel free to ask 'em in the comments. Hope it works!
P.S.: OmniROM has its own recovery (TWRP is a recovery). So, keep that in mind and don't flash TWRP's zip in Omni if you want it to boot.
Also, if you want, you can try OrangeFOX. It's a cute TWRP replacement that has some interesting features. Worth checking out.
Click to expand...
Click to collapse
Is there an orange Fox recovery for Moto G7 power?
Ljw4884 said:
Is there an orange Fox recovery for Moto G7 power?
Click to expand...
Click to collapse
Yes and it's absolutely amazing!
You can find it here
@BETA215, I see some folks mentioning bootloops. I personally had many many bootloops before I found out that TWRP/ ROM flashing on this device does not play nice with exFAT filesystem. maybe a note about that in the OP? formatting my SDcard to VFAT resolved all my issues, when it was ExFAT I couldn't get anything past the boot logo
I've just spent the past 10 days trying to root my phone and use a custom ROM working (and detecting SIM card and most important functions). But it's always problem after problem after problem and at this point, I'm ready to give up. I feel broken. I'm at the point where I'd literally pay someone to take control and do it for me. I just can't do it no matter how much I learn, always a new problem and now I'm stuck at this one and I just can't take it anymore. Swear to god, I will pay .
Deleted
SIM Card issue and no gapps?
Hi,
I installed Havoc OS on my moto g7 power XT1955-5, using these steps:
1) Switched off device
2) Volume down+Power to go in bootloader
3) CMD: fastboot erase userdata (maybe useless)
4) CMD: fastboot boot "C:\...\twrp.img" (or orangefox.img)
5) On Slot B mount "system" then wipe and format (maybe useless)
6) On Slot A mount "system" then wipe and format
7) Flash copy-partition-AB.zip
8) Flash Havoc ROM
9) Reboot -> Recovery
10) Flash GApps
11) Reboot -> Bootloader
13) CMD: fastboot erase userdata
14) CMD: fastboot reboot
(from time to time the message: failed to mount /data (invalid argument) popped up, and I don't know why)
However, havoc installed. I don't think Gapps installed though, because all I see in the os that is google related is a searchbar for apps only, gallery go, and the file manager. I used the "arm, 9.0, nano" options from the Gapps website, but when I flashed it, it said no changes were made. Did Gapps flash properly? If it didn't, how do you flash it properly? (I would expect the google play store to be in there somewhere, perhaps I need to get a heavier Gapps than nano?)
More importantly though, the OS says there is no sim card. I am on T-mobile, and calling and texting worked when I used lineage OS.
Does anyone have any advice of how to fix any of these issues? Again, my end goal is to have havoc os with the play store, and have the sim card working to make calls and texts.
Thank you one million to who ever can answer this.
Octodad said:
I've just spent the past 10 days trying to root my phone and use a custom ROM working (and detecting SIM card and most important functions). But it's always problem after problem after problem and at this point, I'm ready to give up. I feel broken. I'm at the point where I'd literally pay someone to take control and do it for me. I just can't do it no matter how much I learn, always a new problem and now I'm stuck at this one and I just can't take it anymore. Swear to god, I will pay .
Click to expand...
Click to collapse
Hey I literally am feeling the same way!! I know it's been a few months, but if you are still working on it, would you like to share knowledge and see if we can help each other?
timba123 said:
MetroPCS Moto G Power .I can't flash anything. And it oem locked. Is there any way to flash a stock partition ? Like Samsung's pit file
Click to expand...
Click to collapse
Try rsd light check into it might b what u looking for
I was running LineageOS 16, the unit went into a bootloop while I was restoring the call and sms history to update it from my main phone. It is something I have been doing weekly for a year now.
I can boot into 'fastboot mode' but not 'recovery mode'.
In fastboot it is recognised by the comand
Code:
fastboot devices -l
. Typing
Code:
fastboot boot /<path_to_file>/twrp-3.3.1-0-bacon.img
puts it back into the bootloop, as does the command
Code:
fastboot reboot-bootloader
.
What can I try next to recover the unit?
Are you hesitant in flashing TWRP instead? Also, use the K-releases of TWRP (see the guide in my signature). They work better opposed to the official releases.
Wrapped with delicious Fajita [emoji896]
I was hoping to recover the unit rather than avoiding re-flashing it.
Is the operating system and all the data lost?
If that is what has happened then I will rebuild, trying the version of TWRP you suggested.
Regards.
alistairrc said:
I was hoping to recover the unit rather than avoiding re-flashing it.
Is the operating system and all the data lost?
If that is what has happened then I will rebuild, trying the version of TWRP you suggested.
Regards.
Click to expand...
Click to collapse
Perhaps the NAND memory sector was damaged, which was very important to boot. It is possible because the memory is overwritten all the time.
Read the entire story of another user who had a similar system loss problem.
The best TWTP was made by The Muppets
twrp-3.2.3-20190125-bacon.img
It is based on a toybox, and not like other TWRP in which there is a busybox. Toybox contains more repair tools and is therefore better than busybox.
have tried to recover using "cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot"
but I get an error when I try the command:
Code:
fastboot flash modem NON-HLOS.bin
error: cannot load 'NON-HLOS.bin'
I am now struggling to find any guides that can help me.
(Most of the guides I have read state "connect phone and boot into fastboot mode" but my unit will not boot to fastboot mode when it is connected.)
I have tried to restore the unit twice using
cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot.zip
First using the all in one tool on a windows 8.1 box, then using these commands on a linux box:
Code:
fastboot oem unlock
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
The phone is still stuck either in a bootloop, or in fastboot mode.
What can I try now?