xt2014-4 touchscreen isnt working please help! - Moto G Power Questions & Answers

**XT2041-4**
hey folks,
i have the gpower/g8power (XT2041-4) and i was able to unlock the bootloader and i have been able to do the fastboot commands but it fails when i do the fastboot system, product, vbmeta commands for the crdroid, lineage and havok. i got into twrp and tried installing the zips for those roms but those failed too.
i got to the android OS start screen but the touchscreen is unresponsive. i have looked through a lot of the threads for this device and can't find anything that works.
any help will be much appreciated because this is my daily driver.
edit: title should be XT2041-4

your best option would be to connect an otg cable, ( best is to make sure you can have a double connection, one for mouse , on connected to the pc) then get into the phone with the non-touchscreen booted rom, connect it to LMSA , and extract the boot.img image that comes with the rom LMSA downloads. you should have a working touchscreen with the version LMSA downloads .
Reason you need a double connection: you need to accept the connection to your pc from the phone
you could also browse to the settings --> about this phone and take a look at the exact ROM that is installed, and find that image on lollinet , then extract and boot the boot.img from that rom.

Hey, I'm having the same problem but I found a workaround.
you can either go in fastboot mode and enter
fastboot set_active b
or go in TWRP and change the active slot to B then proceed to boot up the phone.
In my case, it showed warning saying "cannot boot into system......file maybe corrupted" etc etc, just choose "factory reset" on that screen and your phone should boot into slot B with stock ROM.
That way you can have a functional phone while waiting for the developers to figure out the kernel problem
Cheers

hey thanks guys for taking the time to respond much appreciated.
somehow, no idea, i magically got the phone back to stock and the touchscreen is working. the bootloader is still unlocked so i am not messing with it. that scared the crap out of me lol
Chosimise said:
waiting for the developers to figure out the kernel problem
Cheers
Click to expand...
Click to collapse
this bugged me out. so are you saying if i did everything right, those ROMs i downloaded still wouldn't technically work? even if i do the slot B thing?

uglyaf said:
hey thanks guys for taking the time to respond much appreciated.
somehow, no idea, i magically got the phone back to stock and the touchscreen is working. the bootloader is still unlocked so i am not messing with it. that scared the crap out of me lol
this bugged me out. so are you saying if i did everything right, those ROMs i downloaded still wouldn't technically work? even if i do the slot B thing?
Click to expand...
Click to collapse
I had a completely different issue with the exact same model. I made a post here asking if anyone had an easy fix, but my guess is that these are just growing pains. Give it a couple months and the roms will likely be much more stable. One of the reasons I bought this phone in the first place is because it usually gets official Lineage OS support at some point. With time, I'm sure things will work great. If you use Windows, going back to stock everything is pretty dead simple with the Lenovo Rescue and Recovery tool, so you can kind of experiment safely if you back everything up.

uglyaf said:
hey thanks guys for taking the time to respond much appreciated.
somehow, no idea, i magically got the phone back to stock and the touchscreen is working. the bootloader is still unlocked so i am not messing with it. that scared the crap out of me lol
this bugged me out. so are you saying if i did everything right, those ROMs i downloaded still wouldn't technically work? even if i do the slot B thing?
Click to expand...
Click to collapse
After some tinkering, I actually figured out my problem. There's a big difference between "fastboot mode" (the one you enter by pressing power and vol-) and "Fastbootd" mode.
I did all my flashing in "fastboot mode" and I got no touch screen afterward.
Then there's another hiccup for me (which is why I didn't go in "fastbootd" mode in the first place): When I type in the command in regular "fastboot mode"
Code:
fastboot reboot fastboot
I got an error message saying "reboot fastboot" is not a valid destination or something down those lines.
The problem being, they only added that option in fastboot version r30, so I had to update my ADB and fastboot environment.
And I ran into yet another problem, no matter what I do, the fastboot command is still run with the older version. I guess I messed up the previous installation and the pathing got messy. I ended up using my work laptop for a clean installation of all drivers and it finally solved my problem. I guess I'm saying you need to clean up previous adb and fastboot drivers before using the new ones, especailly if you installed it systemwise.
Anyways, after I booted into "fastbootd" mode and flashed everything with the latest version of fastboot driver, the phone worked flawlessly.
Hope it helps!

hey thanks again for the responses people!
i have managed to get root on stock but still cant get cutsom roms installed at all. they always fail with these 2 methods
a) twrp
unmounting system....invalid zip file format! error installing zip file '/external_sd/....zip' updating partition details....done'
b)using command line
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
i type fastboot devices and it finds my phone. it lists it there but i type fastboot reboot fastboot and it just spams a huge list of commands and nothing changes on the phone. ive seen videos and fastbootd looks just like the old school recovery from droid1 days but idk if thats the same skin look on all devices. i was able to switch the slot from a to b in twrp but that didnt help. i cant figure out how to get into fastboot'D' mode.
im really trying here and im sorry im dumb. as always, any suggestions would be much appreciated. thanks again!

uglyaf said:
hey thanks again for the responses people!
i have managed to get root on stock but still cant get cutsom roms installed at all. they always fail with these 2 methods
a) twrp
unmounting system....invalid zip file format! error installing zip file '/external_sd/....zip' updating partition details....done'
b)using command line
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
i type fastboot devices and it finds my phone. it lists it there but i type fastboot reboot fastboot and it just spams a huge list of commands and nothing changes on the phone. ive seen videos and fastbootd looks just like the old school recovery from droid1 days but idk if thats the same skin look on all devices. i was able to switch the slot from a to b in twrp but that didnt help. i cant figure out how to get into fastboot'D' mode.
im really trying here and im sorry im dumb. as always, any suggestions would be much appreciated. thanks again!
Click to expand...
Click to collapse
You have no stock recovery, so no fastbootd.
Reflash stock recovery to get fastbootd back

Beetle84 said:
You have no stock recovery, so no fastbootd.
Reflash stock recovery to get fastbootd back
Click to expand...
Click to collapse
thank you,
i downloaded "XT2041-4_SOFIA_RETUS_10_QPMS30.80-51-5_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip"
is must be the wrong one?
i used the recovery.img from that and did fastboot devices and it showed up so i did "fastboot flash recovery recovery.img" and it had no errors, it worked just fine so i tried fastboot reboot fastboot but i still got that long list of commands (((
i dont get it, what am i doing wrong?

uglyaf said:
thank you,
i downloaded "XT2041-4_SOFIA_RETUS_10_QPMS30.80-51-5_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip"
is must be the wrong one?
i used the recovery.img from that and did fastboot devices and it showed up so i did "fastboot flash recovery recovery.img" and it had no errors, it worked just fine so i tried fastboot reboot fastboot but i still got that long list of commands (((
i dont get it, what am i doing wrong?
Click to expand...
Click to collapse
Like the other user did a couple of posts up, you probably have to update your adb/fastboot version.

Beetle84 said:
Like the other user did a couple of posts up, you probably have to update your adb/fastboot version.
Click to expand...
Click to collapse
ok thanks i did that and got version 1.4.3 it sees my device but when i did the fastboot reboot fastboot i got
fastboot: usage: unknown reboot target fastboot
and nothing happened. does anyone know what that means?

ok yes indeed im a huge idiot. i finally got into fastbootd because i downloaded ADB version R30. THATS the most recent adb version and that did the trick! now i got the fastbootd recovery screen!
regardless, thank you all SOOOOO much for taking the time to respond. much appreciated.
im so excited to get flashing!
peace and love

Boot twrp,( no need to flash) -fastboot boot (whatever you named the recovery img).img- then -adb reboot fastboot-
Should go to fastbootd. future reference

brucedroid031 said:
Boot twrp,( no need to flash) -fastboot boot (whatever you named the recovery img).img- then -adb reboot fastboot-
Should go to fastbootd. future reference
Click to expand...
Click to collapse
good look thank you

Related

[SOLVED] Can access fastboot but can't get past splash screen

Yesterday, I unlocked and rooted my tf201, and proceeded to mess around with it. DL'd androwook, wiped everything and installed it. I think my mistake was choosing wipe internal SD when installing (it's where the installer was), and as a result, I was not able to get past the boot animation. I screwed around with it some more and eventually, after trying the Unbrick tool by MasterZen, was stuck at the splash screen with no recovery. Somehow, I had managed to screw up the boot and recovery. Oops.
However, I was able to fix it (boots normally, has recovery, etc..) with some knowledge of fastboot. This is what I did, as a complete amateur, so I probably can't answer specific questions and definitely cannot be held responsible for what you do to your tablet. Make sure you confirm files as non-corrupted with MD5s. This is basically a manual alternative to the Unbricker tool by MasterZen.
I used:
fastboot & adb
TWRP recovery twrp.blob
Ubuntu for Android boot image
[Optional] Stock .28 for unlocked (blob from inside the zip), which you will need to rename (system.blob)
Put these blobs in the folder with your fastboot.
1) get tf201 into fastboot (hold volume down + power on), connect to PC
2) command prompt, "cd [directory fastboot is in]"
3) "fastboot devices" & confirm your device is seen, otherwise go to devmgr and uninstall tf201 drivers and install the Universal Naked Drivers.
4) "fastboot -i 0x0b05 flash recovery twrp.blob" - flashes recovery so you have TWRP. You could try CWM if you'd like.
5) "fastboot -i 0x0b05 flash boot prime-sdlinux.blob" - flashes main kernel.
At this point you should be able to shut down, hold down volume down, and boot with the option of getting into recovery. In recovery, you could use ADB to push a specific rom you'd like and install zip from there. Alternatively, if you want to be able to boot into the system, and have downloaded the stock .28 for unlocked devices and placed the blob inside the folder with fastboot, you can type into command prompt:
6) "fastboot -i 0x0b05 flash system system.blob[or whatever you named it]"
And you should be able to boot up normally.
I've rooted and messed around with android phones before, but honestly I don't know enough about it to give 100% confident answers, and as such cannot be held accountable for what you do to your own device. I figured if someone also had this problem and wasn't able to get the Unbricker tool to work, they could benefit from what I learned. So good luck! Leave questions and feedback, and I'll do my best to answer.
Thanks to blade2k11, who in this post, made me realize that the main kernel was screwed, and that's why I couldn't access the recovery, and that I could fix it with the bootimage from the Ubuntu for Android post.
Thank you sooo much. This brought life back to my tablet!
jmonster141 said:
Thank you sooo much. This brought life back to my tablet!
Click to expand...
Click to collapse
I'm really glad to hear it! I almost thought I had posted this for nothing.
Yea man. I was set on me having a $500 paper weight. You're my tablet's savior. Thanks again
Sent from my myTouch 4g using xda app-developers app
thank you
i wanted to thank you so very much i was at my wits end stayed up for hours trying to fix a simple mistake and you saved the day with this if you where standing here i think i would prob kiss ya cause im that happy that i didn't mess up my only real toy i have
:good: I can't thank you enough, I've been working on mine for a few days now, bad rom download messed it up, then one click fix made things worse, was starting to think hardware issues when nothing was saving or taking, you just saved my tab and made my day than you
Happy to hear it. Have fun with custom roms! I'm on cm10 jellybro, I highly recommend it.
Sent from my Transformer Prime TF201 using xda app-developers app
i just went through the fire. did all this to the teee and still no os. was not able to push the rom i wanted even though my device is seen. the .blob file loaded in second,, yet im stuck on the splash screen with no OS installed. what do i need to do know?? i have got a paper wight on my deck and it was not bought to be so
jyarborough said:
i just went through the fire. did all this to the teee and still no os. was not able to push the rom i wanted even though my device is seen. the .blob file loaded in second,, yet im stuck on the splash screen with no OS installed. what do i need to do know?? i have got a paper wight on my deck and it was not bought to be so
Click to expand...
Click to collapse
Did you download the stock .28 rom and take out the system blob? Have you checked the MD5's to make sure they're downloaded without any corruptions?
jyarborough said:
i just went through the fire. did all this to the teee and still no os. was not able to push the rom i wanted even though my device is seen. the .blob file loaded in second,, yet im stuck on the splash screen with no OS installed. what do i need to do know?? i have got a paper wight on my deck and it was not bought to be so
Click to expand...
Click to collapse
Assuming you have access to adb, put the rom file in your adb folder you have been working from, in windows, right click the rom file, go to properieties, copy the name of the file.
In your adb command box you opened from within your adb folder (pressand hold shift while right clicking select command prompt here) type adb push then right click and paste the name of the rom you copied followed by .zip
This should take about 5 minutes to transfer, go get a coffee or something.
Once done, boot into recovery (twrp)
Under install you should see the rom, install, after the reboot you should be good....
i got stuck in a bootloop trying to unbrick, i can boot into recovery using this but when i try to transfer a rom with adb it gives an error that /sdcard is read-only so i cant put my rom on it. i tried using the stock .28 blob but im still in the same bootloop. not sure what else to
Deleted... whew!
Thanks guys for the help. I'm back up and running
Sent from my Transformer Prime TF201 using Tapatalk 2
Thank you soooo much. I have a working tablet again!
Worked!!
geo.z said:
Yesterday, I unlocked and rooted my tf201, and proceeded to mess around with it. DL'd androwook, wiped everything and installed it. I think my mistake was choosing wipe internal SD when installing (it's where the installer was), and as a result, I was not able to get past the boot animation. I screwed around with it some more and eventually, after trying the Unbrick tool by MasterZen, was stuck at the splash screen with no recovery. Somehow, I had managed to screw up the boot and recovery. Oops.
However, I was able to fix it (boots normally, has recovery, etc..) with some knowledge of fastboot. This is what I did, as a complete amateur, so I probably can't answer specific questions and definitely cannot be held responsible for what you do to your tablet. Make sure you confirm files as non-corrupted with MD5s. This is basically a manual alternative to the Unbricker tool by MasterZen.
I used:
fastboot & adb
TWRP recovery twrp.blob
Ubuntu for Android boot image
[Optional] Stock .28 for unlocked (blob from inside the zip), which you will need to rename (system.blob)
Put these blobs in the folder with your fastboot.
1) get tf201 into fastboot (hold volume down + power on), connect to PC
2) command prompt, "cd [directory fastboot is in]"
3) "fastboot devices" & confirm your device is seen, otherwise go to devmgr and uninstall tf201 drivers and install the Universal Naked Drivers.
4) "fastboot -i 0x0b05 flash recovery twrp.blob" - flashes recovery so you have TWRP. You could try CWM if you'd like.
5) "fastboot -i 0x0b05 flash boot prime-sdlinux.blob" - flashes main kernel.
At this point you should be able to shut down, hold down volume down, and boot with the option of getting into recovery. In recovery, you could use ADB to push a specific rom you'd like and install zip from there. Alternatively, if you want to be able to boot into the system, and have downloaded the stock .28 for unlocked devices and placed the blob inside the folder with fastboot, you can type into command prompt:
6) "fastboot -i 0x0b05 flash system system.blob[or whatever you named it]"
And you should be able to boot up normally.
I've rooted and messed around with android phones before, but honestly I don't know enough about it to give 100% confident answers, and as such cannot be held accountable for what you do to your own device. I figured if someone also had this problem and wasn't able to get the Unbricker tool to work, they could benefit from what I learned. So good luck! Leave questions and feedback, and I'll do my best to answer.
Thanks to blade2k11, who in this post, made me realize that the main kernel was screwed, and that's why I couldn't access the recovery, and that I could fix it with the bootimage from the Ubuntu for Android post.
Click to expand...
Click to collapse
:good::good: Thank you soooo much..My prime is alive !! very much appreciated!!!
Dead link
The link for the ubuntu for android kernel is dead...
Can someone post it back please ?
When I attempt to flash the blobs through fastboot it gives me FAILED unknown error. Anyone help me please? The recovery flashes fine but the boot image gives me the failed error. When i try to access recovery it gives me unrecoverable bootloader error
im trying to flash main kernel i get error that says fastboot.exe has stopped working. Any help?
C:\Users\John St\Desktop\android-sdk-windows\platform-tools>fastboot -i 0x0b05 f
lash recovery twrp.blob
sending 'recovery' (7462 KB)...
OKAY [ 2.037s]
writing 'recovery'...
OKAY [ 1.006s]
finished. total time: 3.045s
C:\Users\John St\Desktop\android-sdk-windows\platform-tools>fastboot -i 0x0b05 f
lash boot prime-sdlinux.blob
error: out of memory

Bootloop please help.

*Fixed*
uppon2 said:
I just go the phone today and I have unlocked it and it all went well. I was looking at installing ViperDNA on to my phone. So I started to follow instructions in the Viper thread
1. I "tried" to install TWRP through the Goo method and after downloading the file it told me that recovery was no installed.
2. I rebooted in to bootloader and hit power button to enter fastboot then I scrolled down to where it says recovery and I hit power again. Phone displayed a message up the top that it was now entering recovery. The phone did not go to recovery it simply rebooted all the way back to my phones home screen.
I then though hmm well maybe I didn't install it properly so I follwed the instructions using Goo again but still nothing happened.
I noticed there was an alternative method to flash recovery by using ADB. I put the file in to the same directory as where my adb/fastbood reside and I booted in to fastboot again and in cmd prompt I entered "flash recovery openrecovery-twrp-2.4.0.0-dlx.img"
It seemed to flash and gave me a response which I can't remember now but it said OK!.
I then proceeded to try and enter recovery again but this time it has sent my phone in to a bootloop. It will not pass the Droid splashscreen. I can however still access bootloader mode.
I also noticed now in my Bootloader above where it says Unlocked it also says Tampered?
Phone doesn't seem to be recognised by ADB anymore neither. adb devices returns with a blank space
I'm a long time Samsung user so usually in this situation I would use Odin and flash a stock firmware but I don't know the process with HTC
I don't have a backup because I hadn't got to this stage yet!
Any advice as to what to do now
Click to expand...
Click to collapse
if you can still get the phone into fastboot mode then you should be fine.. when in fastboot mode the command "adb devices" will not return any entries.. when in fastboot you should use the command
fastboot devices
and see if your phone shows up there.. also the command for flashing a recovery in fastboot is:
fastboot flash recovery "your recovery filename.img" without the quotations though..
so the exact command would be the fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img if that is what the recovery file on your computer is named.
then hit enter it should say sending etc...
I always then do the command
fastboot reboot-bootloader then the phone will reboot into the fastboot screen, then manually select recovery and see that it worked that time.
lazarus2297 said:
if you can still get the phone into fastboot mode then you should be fine.. when in fastboot mode the command "adb devices" will not return any entries.. when in fastboot you should use the command
fastboot devices
and see if your phone shows up there.. also the command for flashing a recovery in fastboot is:
fastboot flash recovery "your recovery filename.img" without the quotations though..
so the exact command would be the fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img if that is what the recovery file on your computer is named.
then hit enter it should say sending etc...
I always then do the command
fastboot reboot-bootloader then the phone will reboot into the fastboot screen, then manually select recovery and see that it worked that time.
Click to expand...
Click to collapse
After attempting this it hangs here:
C:\Android-adb>fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img
< waiting for device >
EDIT* Rookie mistake for it hanging. I was only in bootloader not Fastboot. However, this worked and I love you. I will now flash Viper. Do I still need to flash the Kernel Modules?
uppon2 said:
After attempting this it hangs here:
C:\Android-adb>fastboot flash recovery openrecovery-twrp-2.4.0.0-dlx.img
< waiting for device >
EDIT* Rookie mistake for it hanging. I was only in bootloader not Fastboot. However, this worked and I love you. I will now flash Viper. Do I still need to flash the Kernel Modules?
Click to expand...
Click to collapse
flashing the modules for the kernel is always a good idea just flash that after you flash your ROM..
and you are welcome just glad I could help!!
lazarus2297 said:
flashing the modules for the kernel is always a good idea just flash that after you flash your ROM..
and you are welcome just glad I could help!!
Click to expand...
Click to collapse
lol. Now Aroma is being a pain in the ass. It won't let me click Next to install. haha
EDIT* Maybe because of the smaller TWRP or maybe not but I had to try again and then click next but about 2" higher than where it says it :S
I am not a huge fan of aroma... i had issues when i tried to flash my DNA the first time.. that is something that you just have to keep trying unfortunately it seems... i have seen where people had to aroma freeze on them multiple times before finally completing the flash... some tips i have seen is keep the phone flat... also keep it plugged in.. I can't vouch for any of these being actual fixes but hey "it's only weird if it doesn't work"
Do you know the load time on a ROMs first boot after flash?
The ROM said it was installing and at about 8% the screen went all grey and then rebooted in to the HTC splash screen and hasn't changed for about 15 minutes. Tried it twice
EDIT* Would only flash using CWM
uppon2 said:
Do you know the load time on a ROMs first boot after flash?
The ROM said it was installing and at about 8% the screen went all grey and then rebooted in to the HTC splash screen and hasn't changed for about 15 minutes. Tried it twice
EDIT* Would only flash using CWM
Click to expand...
Click to collapse
glad to hear it sorry for the slow response.. i was away for a bit..
lazarus2297 said:
glad to hear it sorry for the slow response.. i was away for a bit..
Click to expand...
Click to collapse
All good. Thanks for your assistance
I am usually the guy helping other people. It's quite an unusual change going from Samsung to HTC!

[Q] HELP can not install TWRP through Fastboot! What am I doing wrong?

OK, so I was rolling along just fine...
Got Fastboot up and running, got myself an unlocked bootloader, got myself the latest TWRP image, and no matter WHAT I DO, I can not get TWRP to flash to my device, and it is driving me absolutely INSANE. Below is what i am getting from command prompt. Any help is GREATLY appreciated.
Code:
C:\Users\saltam\Downloads\TWRP>fastboot flash recovery recovery.img
sending 'recovery' (13186 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.000s
I am pulling what little hair I have out over here, and I am no beginner when it comes to this stuff. Please help if you can.
Only a couple of things I can think, which I'm sure you've already done. Have you re-downloaded the image file and you have renamed it recovery.img?
Edit, is your bootloader unlocked?
Sent from my Nexus 5 using XDA Free mobile app
Boot loader is unlocked, tried everything besides a different computer. Tried different cord, different USB port, everything. It's like once I unlocked the boot loader the tablet stopped communicating with fast boot. Anything I try to do hangs until I hit reboot fast boot then it fails. Irritating the hell out of me...
have you tired using the wugs Nexus root toolkit? http://forum.xda-developers.com/nexus-9/development/toolkit-wugs-nexus-root-toolkit-v1-9-8-t2945451
I was having some trouble TWRP installing as well., and it was able to install TWRP just fine
Close any other running programs, especially Chrome. Then if still not doing it, install CWM Recovery instead, and if you still want TWRP flash it from CWM Recovery.
My N5 won't let me have TWRP, so if you just want the functions of a recovery, try a different one.
blakeslee14 said:
have you tired using the wugs Nexus root toolkit? http://forum.xda-developers.com/nexus-9/development/toolkit-wugs-nexus-root-toolkit-v1-9-8-t2945451
I was having some trouble TWRP installing as well., and it was able to install TWRP just fine
Click to expand...
Click to collapse
Tried Wug's, and got the same result when I got to it sending the fast boot commands. Prompt just hangs until I select reboot fast boot.
craig.buckie said:
Close any other running programs, especially Chrome. Then if still not doing it, install CWM Recovery instead, and if you still want TWRP flash it from CWM Recovery.
My N5 won't let me have TWRP, so if you just want the functions of a recovery, try a different one.
Click to expand...
Click to collapse
I'm at my end right now, because I want to remove all this dumb Google bloatware so badly. Was thinking about trying to flash stock image, or relock and unlock boot loader again to see if that does anything, but I'm very nervous that those options might not work because of the fact that fast boot commands aren't working. Certainly don't want to end up with a $400 paperweight...
SwoRNLeaDejZ said:
Tried Wug's, and got the same result when I got to it sending the fast boot commands. Prompt just hangs until I select reboot fast boot.
I'm at my end right now, because I want to remove all this dumb Google bloatware so badly. Was thinking about trying to flash stock image, or relock and unlock boot loader again to see if that does anything, but I'm very nervous that those options might not work because of the fact that fast boot commands aren't working. Certainly don't want to end up with a $400 paperweight...
Click to expand...
Click to collapse
I assume you're on 5.0.1. Flash the boot or recovery image from the factory image in fastboot. See if that works. That might rule out a fastboot issue. If it flashed it won't do anything negative to your device
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
I assume you're on 5.0.1. Flash the boot or recovery image from the factory image in fastboot. See if that works. That might rule out a fastboot issue. If it flashed it won't do anything negative to your device
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Going to give this a shot now..
Worth mentioning, I ran an OEM Lock command, and successfully relocked the bootloader, so it appears fastboot is at least partially working. Going to attempt to flash the bootloader in the image from Google, because that is all there is. Just bootloader and image, no recovery image. I will post results here. I don't know why fastboot commands are broken after unlocking bootloader, but there is one thing that seems odd to me:
When I run fastboot devices, it returns the following (has been like this from the beginning):
Code:
C:\Users\saltam\Downloads\TWRP>fastboot devices
???????????? fastboot
Thoughts?
Something's not right. Do you have the newest fastboot?
di11igaf said:
Something's not right. Do you have the newest fastboot?
Click to expand...
Click to collapse
Yes, recently updated it via the minimalist fastboot/adb tool. This is REALLY irritating the hell out of me at this point... Been trying to get recovery on this stupid tablet all damn day...
I am starting to think this is a read/write error.. It is getting the error whenever it tries to write to the tablet... (sending boot.img results in the error every time)... Anyone know of fastboot/adb commands to check/fix read and write errors
**EDIT**
So, much to my chagrin, it appears to just be my computer... Tried on a different laptop, and was able to get it rooted.. For some odd reason though, I don't think TWRP is installing correctly ??
I am going to try and boot into recovery, but every time i try to flash it with fastboot flash recovery recovery.img it says it was successful, but a boot into recovery mode comes up as the dreaded NO COMMAND laying down Android icon. Super frustrating..
**EDIT 2**
So after much trying of different methods, I was able to successfully flash TWRP with Flashify. Not sure why I couldn't do it manually through fastboot but I'm good now. Thanks for all the replies and suggestions. This can be marked as closed or solved. Thanks!
SwoRNLeaDejZ said:
I am starting to think this is a read/write error.. It is getting the error whenever it tries to write to the tablet... (sending boot.img results in the error every time)... Anyone know of fastboot/adb commands to check/fix read and write errors
**EDIT**
So, much to my chagrin, it appears to just be my computer... Tried on a different laptop, and was able to get it rooted.. For some odd reason though, I don't think TWRP is installing correctly ??
I am going to try and boot into recovery, but every time i try to flash it with fastboot flash recovery recovery.img it says it was successful, but a boot into recovery mode comes up as the dreaded NO COMMAND laying down Android icon. Super frustrating..
**EDIT 2**
So after much trying of different methods, I was able to successfully flash TWRP with Flashify. Not sure why I couldn't do it manually through fastboot but I'm good now. Thanks for all the replies and suggestions. This can be marked as closed or solved. Thanks!
Click to expand...
Click to collapse
To your first edit, twrp is probably working correctly. Lollipop forces the stock recovery. There are two files, one in /system and one in /system/bin that force the stock recovery upon boot. You can remove those files or first
fastboot boot twrp.img
Then flash supersu in twrp, then
fastboot flash recovery twrp.img
Sent from my Nexus 9 using XDA Free mobile app
Got the right USB driver
Dirty Unicorns /Uber / Beanstalk Yuga adm.
xtcdk said:
Got the right USB driver
Dirty Unicorns /Uber / Beanstalk Yuga adm.
Click to expand...
Click to collapse
Kind of mystified with your response... Had nothing to do with the USB drivers. Found out afterward that the problem was the security that my company had setup on my laptop (was using my company thinkpad). Switching laptops solved the problem.

Need help installing recovery on XT1526, it's just not working, tried all the methods

EDIT: ALSO, use usb 2.0 ports to flash stuff, usb 3.0 is not working 100 percent yet.
EDIT, 14 Mar 2016: Kingroot got me to root and now I have twrp installed, http://www.kingroot.net/ .
I have a Sprint prepaid Moto E 2015 LTE, XT1526. I did the motorola bootloader unlock, that went fine.
The phone works and is activated on RingPlus, when it boots, I get the Red Warning, Bootloader unlocked, when normally booting.
When I try to flash a recovery to the phone (all that I could find here on XDA), I get this response:
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot devices
TA0XXXXXXX fastboot (edited to take out SN)
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (12916 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.015s
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>adb kill-server
I've tried everything, and am providing as much info as I can, in case anyone seeing something that is 'new' or 'different' about my phone.
Double check and be sure you're attempting to flash the TWRP for the Moto E 2015 LTE "Surnia", not "Otus" (which is the Moto E 2015 3G). iirc, I used Squid's TWRP from here: http://forum.xda-developers.com/moto-e-2015/development/twrp-squid-twrp-recovery-moto-e-lte-t3137649 . If 3.0.0 doesn't work, try 2.8.7.
You should also try changing USB ports. I ran into a similar issue where I wasn't able to flash things when I plug into my most often used USB port. I suspect that the contacts got worn from how often I used it, so I tried another USB port and it worked fine.
I have done same procedure as yours and meet same problem yesterday.
I flashed twrp recovery with following command,
fastboot boot recovery.img
instead of
fastboot flash recovery recovery.img
here are the post which I followed.
http://www.xda-developers.com/how-to-root-the-moto-e-2015-and-unlock-the-bootloader-xda-tv/
http://forum.xda-developers.com/moto-e-2015/orig-development/twrp-moto-e-2015-recovery-t3049726
faheyd said:
When I try to flash a recovery to the phone (all that I could find here on XDA), I get this response:
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot devices
TA0XXXXXXX fastboot (edited to take out SN)
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending 'recovery' (12916 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.015s
Click to expand...
Click to collapse
Thanks, but not working:
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>fastboot boot recovery.img
downloading 'boot.img'...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.009s
S:\Phones\Moto_E-2015-2ndGen-XT1526\adb-and-fastboot>
You can get rid of the warning by method in post 2 of this link
http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748
Q1:How to remove the unlocked bootloader message?
Then, flash the twrp recovery again. Make sure you have right recovery.img. here is the one I used.
http://forum.xda-developers.com/devdb/project/?id=8591#downloads
llaalways said:
You can get rid of the warning by method in post 2 of this link
http://forum.xda-developers.com/moto-e-2015/general/guide-unlock-bootloader-moto-e-2015-t3045748
Q1:How to remove the unlocked bootloader message?
Then, flash the twrp recovery again. Make sure you have right recovery.img. here is the one I used.
http://forum.xda-developers.com/devdb/project/?id=8591#downloads
Click to expand...
Click to collapse
I know that, does not help. I've tried that recovery, one from cyanogenmod also, the recovery img is not the problem. Thanks anyway.
go to phone options and turn on USB debugging and when you go to flash it..
- turn off phone.
- hold volume down and power to get to boot loader screen..
Leave it there and connect to PC.
It should be showing you the bootloader screen.. you know what that is right ?
Then open "Minimal ADB and Fastboot" install folder..
Right click empty folder space while holding shift key down..
Select open cmd window here..
type in either,
fastboot devices
or
mfastboot devices
and make sure it says your device is listed
then paste into cmd window..
mfastboot flash recovery recovery.img
make sure your new recovery file has that name and is copied to that fastboot folder.
that should be it..
xpmule said:
go to phone options and turn on USB debugging and when you go to flash it..
- turn off phone.
- hold volume down and power to get to boot loader screen..
Leave it there and connect to PC.
It should be showing you the bootloader screen.. you know what that is right ?
Then open "Minimal ADB and Fastboot" install folder..
Right click empty folder space while holding shift key down..
Select open cmd window here..
type in either,
fastboot devices
or
mfastboot devices
and make sure it says your device is listed
then paste into cmd window..
mfastboot flash recovery recovery.img
make sure your new recovery file has that name and is copied to that fastboot folder.
that should be it..
Click to expand...
Click to collapse
As stated in my OP, I've done all that, but I'll do it again, please look at my pics and post, you'll see I've done all that already:
S:\Phones\Moto_E-2015-2ndGen-XT1526\mfastboot-v2>mfastboot devices
TA00000000 fastboot (edited to change serial number)
S:\Phones\Moto_E-2015-2ndGen-XT1526\mfastboot-v2>mfastboot flash recovery recovery.img
target max-sparse-size: 256MB
sending 'recovery' (12916 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.007s
S:\Phones\Moto_E-2015-2ndGen-XT1526\mfastboot-v2>
Can a DEV please help ? If I need to go back to stock I'll be glad to do it and then unlock the bootloader again, however, I've posted in two diff forums trying to get someone to tell me the correct SPRINT img to bring back to stock, no answers.
XT1526_SURNIA_USC_5.0.2_LXI22.50-29.1_cid9_subsidy-DEFAULT_CFC.xml
XT1526_SURNIA_REPW_5.0.2_LXI22.50-56-1.1_cid6_subsidy-REPUB_CFC.xml
XT1526_SURNIA_BOOST_5.0.2_LXI22.50-14.8_cid9_subsidy-DEFAULT_CFC.xml
I think it's the boost, but it doesn't have the SPRINT label on it, like my phone.
You just said,
"Can a DEV please help ? If I need to go back to stock I'll be glad to do it and then unlock the bootloader again"
So why would you say that ?
Did you relock your bootloader ?
Maybe that is why you are having a problem ?
I never have relocked mine eh..
And i have had no problem flashing TWRP from Squid.. all his various updates overwriting the old one.
I have flashed a bunch of stock retail recoveries too and all of those worked fine too.
I am curious did you try and load recovery after to see if it actually changed or not ?
EDIT:
Can i ask you exactly what Custom Recovery you are trying to install ?
And did you verify the MD5 hash ?
I always do *if it's available..
xpmule said:
You just said,
"Can a DEV please help ? If I need to go back to stock I'll be glad to do it and then unlock the bootloader again"
So why would you say that ? On other models of phones it has solved a problem of this nature.
Did you relock your bootloader ? Of course not, if you had read the post, you would see that.
Maybe that is why you are having a problem ? No
I never have relocked mine eh.. Good for you, that doesn't help me.
And i have had no problem flashing TWRP from Squid.. all his various updates overwriting the old one.
I have flashed a bunch of stock retail recoveries too and all of those worked fine too. Good for you, that doesn't help me.
I am curious did you try and load recovery after to see if it actually changed or not ? I did, I get an icon with something that says no cmd,
EDIT:
Can i ask you exactly what Custom Recovery you are trying to install ? Surnia and CM's recovery, no difference.
And did you verify the MD5 hash ? Yes.
I always do *if it's available..
Click to expand...
Click to collapse
I've done all those things and tried to post as much info in my OP. Is there a Dev that can help me?
I've now tried to go back to stock in an effort to unlock this biatch using XT1526_SURNIA_BOOST_5.0.2_LXI22.50-14.8_cid9_subsidy-DEFAULT_CFC.xml, and it wont let me do that either. It's not letting me write to the GPT partition. This leads me to believe my phone is NOT unlocked, even though the bootloader shows UNLOCKED BOOTLOADER. Anyone know an answer?
I noticed something a while back when I attempted to flash recovery on a different phone (nexus 6) but failed. I tried a bunch of stuff to no avail. The solution was to simply get a new set of platform tools because mine was too old. Doesn't hurt to try.
Snorbro said:
I noticed something a while back when I attempted to flash recovery on a different phone (nexus 6) but failed. I tried a bunch of stuff to no avail. The solution was to simply get a new set of platform tools because mine was too old. Doesn't hurt to try.
Click to expand...
Click to collapse
Thank you for trying. I just found a post, (and now I can't find it), but the guy went through what I did, and then he used KingRoot, http://www.kingroot.net/ , and it worked.
So, I tried it too, and magic, it worked. I now have root and TWRP installed.
I could have sworn I tried KingRoot, but it must have been on another phone I had.
Are you sure your recovery file is called recovery.img and not twrp.xxx.img? If not you need to rename it
Another problem I had, I was using a USB 3.0 port on my computer. This is a not the way. Using a USB 2.0 port works on flashing stuff.
Hi faheyd, I also have XT1526 on android 5.0.2, but kingroot fails. I was told not to update OS to keep it working in India.
Doess ur phone run on 5.1?
Does USB debugging needs to be activated?
drshreenivaas said:
Hi faheyd, I also have XT1526 on android 5.0.2, but kingroot fails. I was told not to update OS to keep it working in India.
Doess ur phone run on 5.1?
Does USB debugging needs to be activated?
Click to expand...
Click to collapse
I have no idea, hopefully someone that knows will step in and help.

'dm verify not started in enforcing mode'

Hi everyone,
I have a Wileyfox Swift 2 which came up with and update available. So I went ahead and installed the new update.
I hated it.
So I tried to install a ROM of the previous update using TWRP Recovery. Problem was I accidentally wiped the original OS the phone was running one without having the ROM I wanted to install on the phone (It was my first time doing something like this). I had no access to the phone apart from the fastboot and TWRP Recovery Screens. I emailed Wileyfox Tech Support and told them what happened. They sent me several versions of the stock OS (the new one I wanted to get rid of, but I would be glad to get it working at all at this point).
I ended up having to use ADB Sideload to get the ROM on the phone and I'm pretty sure it is installed properly. Problem is: when I boot it up these messages come up:'your device software can't be checked for corruption, please lock your bootloader' and then 'dm verity not started in enforcing mode' for 5 seconds, and then it just gets stuck on the white booting up screen until I turn it off or go into Recovery. I know how to fix the bootloader lock error but that erases all user data on the phone. I really need to sort this out so what should I do?
Would appreciate any help,
Thanks!
By the way I don't really care about any data on the device, everything is backed up elsewhere.
After flashing the rom you can use adb in twrp recovery with the following command: adb reboot "dm-verity enforcing"
This should remove the dm verity message and allow your phone to boot.
Thank You
But do you mean have TWRP Recovery open on the phone and have ADB command window open on the computer and type the command because I've done that and it comes up with 'error: device null not found'.
I'm completely new to this sort of thing so as much detail as possible would be appreciated.
Yes, you have to have twrp open and on your pc the adb windows. First type adb devices to see if windows recognizes your phone. Mine says 50580003 recovery, when I type the command. If you get an error, you'll probably need to install the driver in device manager.
Ok thanks for confirming that for me. The problem is that my phone doesn't even show up as being connected to my computer and I can't access the phone's OS to turn on USB Debugging, so when I type the command 'fastboot devices' nothing comes up. Is there a way to do this from TWRP Recovery?
Hmm.... You could try installing the old cyanogen of and use that to enable usb debugging. Alternatively you could try flashing Magisk https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 . I never tried it but it should work also.
BlueSheep274 said:
Ok thanks for confirming that for me. The problem is that my phone doesn't even show up as being connected to my computer and I can't access the phone's OS to turn on USB Debugging, so when I type the command 'fastboot devices' nothing comes up. Is there a way to do this from TWRP Recovery?
Click to expand...
Click to collapse
Reboot your phone to fastboot mode from TWRP (reboot>bootloader) or the wileyfox boot menu then flash this file
(https://drive.google.com/open?id=0B34ZucLt1HQ9YjFRQ0otbmFRc28)
from your computer with fastboot.
It will also overwrite your recovery, system, data and internal storage partitions.
Facing same/similar problem
boa05 said:
Reboot your phone to fastboot mode from TWRP (reboot>bootloader) or the wileyfox boot menu then flash this file...
(link removed to allow first-time post)
from your computer with fastboot.
It will also overwrite your recovery, system, data and internal storage partitions.
Click to expand...
Click to collapse
Unfortunately the download link you provided is no longer available, would you mind reposting please?
I got the link working. Thanks for sharing. Unfortunately, flashing them failed with the following:
"Updater process ended with ERROR: 7"
Googling the error code, I found this: //.lineageosdownloads(dot)com/fix-error-7-lineage-os/ but I'm still just going round in circles trying to get OTA updates, re-flashing, rebooting into dastboot, losing adb connections and on and on....
markusmunch said:
Unfortunately the download link you provided is no longer available, would you mind reposting please?
Click to expand...
Click to collapse
Sorry about it, here is a reuploaded version.
Exact same problem
Having made exactly the same mistake as the OP, I've managed to re-install the old version of CyanogenOS but I can't get updates OTA or get rid of this dm-verity enforcing error on boot up. Any help would be massively appreciated.
markusmunch said:
Having made exactly the same mistake as the OP, I've managed to re-install the old version of CyanogenOS but I can't get updates OTA or get rid of this dm-verity enforcing error on boot up. Any help would be massively appreciated.
Click to expand...
Click to collapse
Just download the nougat ROM from Wileyfox, they will send you a link if you ask them. Then you can flash boot and system (and if you like all other partitions and radios) and it will then be on nougat and working correctly.
Scott
Worked
RedNas74 said:
After flashing the rom you can use adb in twrp recovery with the following command: adb reboot "dm-verity enforcing"
This should remove the dm verity message and allow your phone to boot.
Click to expand...
Click to collapse
I have been living in dm-verity hell for the past 4 hours trying to fix my phone after a bad firmware flash (4.1.3 replacing a bad SuperSU uninstall), even trying various 4.0.2 firmwares and full packages, as well as a full-phone restore to a previous TWRP backup I had from a few days ago.
I have absolutely no idea why none of the other methods at all worked (such as the simple fastboot oem disable_dm_verity then re-enable command), but this one finally did it on 4.1.3 *fingers crossed it stays that way*

Categories

Resources