Hab check failed on boot - XT1092 - X 2014 Q&A, Help & Troubleshooting

Hi brothers and sisters,
My wife installed an apk yesterday "KingRoot" and when I tried to reboot for uninstalling it won't boot anymore. It's stuck on the bootloader with "Hab check failed on boot".
I tried to :
- Factory reset --> KO
- Fasboot the stock image (modem, boot, recovery...) --> KO for boot, recovery and system.
- Adb sideload the OTA MM --> KO
What should I do ? Her XT1092 is MM stock and locked, no root everything is stock
I've read that KingRoot try to root the devices, is it the cause ? How can I flash Stock ROM with an unlocked device ?
Thanks for your help guys
EDIT : I fixed it guys ! I hope it will help. I used this method :
- HouseOfMoto tool
- Downloaded latest firmware here : http://firmware.center/firmware/Motorola/Moto X (2nd gen-2014)/Stock/XT1092/
- The tool fastboot everything.

Related

[Q] stock 4.2.2 - how to root ?

Can someone please help with this ?
I'm want to flash the stock recovery in order to receive the 4.2.2 OTA update (currently I have the stock 4.1.2 + root + TWRP + S-OFF)
Can someone guide me please, what stock recovery do I need to flash and where should I grab it from ?
I've found only this link http://forum.xda-developers.com/showthread.php?t=2158763
Not sure if is the right recovery but the download link from there is broken
Any idea if I need to be S-OFF or ON in order to receive the OTA ?
That's old thread. Run either a ruu or Mike's stock. Be sure u have stock recovery as well.
Sent from my HTC One
where can I have the stock recovery ? (I can't find it)
- Ok after a lot of digging around I've found a stockrecovery.img file , so I've flashed that like this: fastboot flash recovery stockrecovery.img
- the spooky part after doing this was that I was unable to enter into recovery anymore , the screen alway remained in Entering Recovery and that was it ... maybe someone explain why ?
- then I've locked the bootloader like this: fastboot oem lock
- then I've installed a RUU for Europe (also found out here after diggin around) which actually downgraded my firmware to an older version
- after downgrade I've received an OTA update to a newer firmware - did that
- then after I've received the 4.2.2 OTA update , finaly
- then I've performed a bootloader unlock
- then I've flashed a TWRP recovery image in order to root the device
Now here comes the issue, after flashing the TWRP recovery image, while entering into the TWRP recovery I'm not able to click on any menu , is like the touch screen does not take any input so I'm unable to install the SU binaries
Has anyone encountered this issue ?
How did you root your stock 4.2.2 device ?
Reflashed the CWM recovery (instead of TWRP) as somebody recommend it and it worked - now I have root, too.
dinoc said:
Reflashed the CWM recovery (instead of TWRP) as somebody recommend it and it worked - now I have root, too.
Click to expand...
Click to collapse
Hi there,
i have the exact same problem, the screen wont register touches. How do i reflash CMW? im a noob
You are going to flash it in the same manner you did with the TWRP.
You put your phone into fastboot then issue a command like :
fastboot flash recovery cwm_image_name
You should search for a cwm recovery image file.
And you need to have the bootloader unlocked
After update to 4.2.2 TWRP wont recocnize touch due to the driver update.
Here is a modified version of TWRP where touch work with 4.2.2 OTA
Download and rename it to howdoyouwant.img then
fastboot flash recovery howdoyouwant.img
fastboot erase cache

[Q] Problems while flashing moto g 2014 stock rom? or How to install stock rom?

Hi, My device model is XT1068
I wanted to flash stock rom so i downloaded PURE EDITION stock rom from http://forum.xda-developers.com/moto-g-2014/development/rom-stock-lollipop-rom-t3024800,
then i Switched off the mobile opened bootloader using power button & volume up,
connected to fastboot, opened cmd when i typed adb reboot-bootloader, i get this error message
adb server is out of date. killing...
* daemon started sucessfully *
error: device not found
Then downloaded latest Minimal ADB and Fastboot, same problem now it shows error: device not found but i can flash, erase using fastboot.
So i downloaded [Windows Tool] Moto G 2014 XT1063/64/68 Restore to to Stock Android 4.4.4/5.0.2
http://forum.xda-developers.com/moto-g-2014/development/rom-stock-lollipop-rom-t3024800
this method was very simple,
opened auto restore script it flashed stcok rom in less than five minutes,
but now after flashing, then in setup after google accounts & migrate it shows unfortunately setup has stopped then home screen is black & it shows system ui has stopped, nothing is working.
Re-installed it once again but same error black screen nothing is working, only on top sim network is visible.
Finally tried to install Pure stock rom from recovery,
it shows failed error,
error executing updater binary in zip
Please anyone help me, i've ran out of ideas what to do?
Mmmm if i was you i will reset everything and then go to Cynanogenmod Nightlys for your device if nothing is working. If cynanogenmod doesn't work go try a different rom
Pure Edition XT1068 ROM is flashable zip which is to be flashed using CWM/TWRP and not via fastboot mode. Update your TWRP recovery to latest 2.8.6.0 and then flash the Pure Edition ROM zip.
Here is the link to update your TWRP http://forum.xda-developers.com/moto-g-2014/general/xt1063-t3018818
If you want to flash Stock Firmware (Stock ROM+Stock Recovery+Stock Boot Logo+Everything Stock) the manual way here is the guide
https://drive.google.com/open?id=1ar9damfHu5ryeeIjOds4oiG9PavKA2N5HUKR3wyMQ_8&authuser=0
Hope it helps
sharkymyn said:
Pure Edition XT1068 ROM is flashable zip which is to be flashed using CWM/TWRP and not via fastboot mode. Update your TWRP recovery to latest 2.8.6.0 and then flash the Pure Edition ROM zip.
Here is the link to update your TWRP http://forum.xda-developers.com/moto-g-2014/general/xt1063-t3018818
If you want to flash Stock Firmware (Stock ROM+Stock Recovery+Stock Boot Logo+Everything Stock) the manual way here is the guide
https://drive.google.com/open?id=1ar9damfHu5ryeeIjOds4oiG9PavKA2N5HUKR3wyMQ_8&authuser=0
Hope it helps
Click to expand...
Click to collapse
Batch file was missing in auto restore script, got help from other thread, now [Windows Tool] Moto G 2014 XT1063/64/68 Restore to to Stock Android 4.4.4/5.0.2 http://forum.xda-developers.com/moto-g-2014/development/rom-stock-lollipop-rom-t3024800 is working fine.
DreamExtractor said:
Batch file was missing in auto restore script, got help from other thread, now [Windows Tool] Moto G 2014 XT1063/64/68 Restore to to Stock Android 4.4.4/5.0.2 http://forum.xda-developers.com/moto-g-2014/development/rom-stock-lollipop-rom-t3024800 is working fine.
Click to expand...
Click to collapse
But still i cant install pure edition stock rom via recovery, even updated the recovery same problem,
failed error,
error executing updater binary in zip.
Try downloading the ROM again and place it in internal sdcard and then flash.

[SOLVED] c5502 5.1.1 Stuck on black blank screen, Unlocked bootloader, No recovery!

Hello Xperia ZR users,
I had dual recovery i flashed RR M and RR N rom's in a single day. the next day i restored stock rom which i have backup approximately 5.30 gb it took so much time to boot whole 60 percent charging had been gone so i flashed stryflex mm rom for sony look but again i thought to use stock rom so this time i restored stock backup rom through otg pendrive because my external storage got write permissions problem when i installed stryflex! but now also same happened device taking so much time to boot and i thought to flash rr nougat but i wiped everything through dualrecovery and i removed battery as dualrecovery not showing anything in otg pendrive now there is also no recovery available to flash anything!
Xda user Robin guided me to flash stock rom through firmtool but ended with errors in xperia firmtool log file!
So now i am having black blank screen! no recovery unlocked bootloader! i had installed adb drivers through flashtool drivers and also installed other universal adb drivers but pc is not showing my device in adb devices list in command prompt! My device is showing in Device manager as ADB interface! when i connected my phone through fastboot mode !
Please help me!
SOLUTION : If u are using custom roms and want to go back to stock rom 5.1.1 ?! and while flashing are u experiencing blank screen after a successful flash through flashtool or experiencing any errors in flashtool while flashing?! Well there are two methods to flash stock roms! Successfully!!
Method 1 : whatever the custom rom you are in! Just flash the stock 5.1.1 rom in your phone through flashtool but with other pc! Yes other pc, pc with no drivers installed regarding adb! Try out your friends laptop or pc! Don't forget to install flashtool, fastboot and your xperia model drivers through flashtool drivers exe file! which is located in c drive!! Also install adb setup file that install all drivers all over pc! And just flash the stock 5.1.1 rom through flashtool! There are 99.99999% chance that stock rom will be successfully flashed in your phone! If this doesn't work!! It's your bad luck and its definitely pc problem not your phone! Then just follow method 2 to flash the rom!
Method 2 : flash the twrp img through flashtool (use any flashtool version!) by entering into fastboot mode and select flash the kernel option and select the twrp img file in your pc (i mean u have to download the twrp 3.0.3 img and use it ! ) twrp will be successfully installed in ur phone and then flash the stock jellybean 4.1.2 version the download link is available below! it is an ftf file convert the ftf file into zip file and then flash through recovery! that's it u will be booted to stock jb firmware and it will ask to factory reset on first boot press yes option it will take few minutes and then it will be booted to jb rom!! restore drm keys if u have the backup and update the os through xperia companion!! or else flash the 5.1.1 zip through recovery!
Note: only flash the jb rom i tested flashing kitkat it doesn't worked!
Stock jellybean firmware Link:
https://forum.xda-developers.com/showthread.php?t=2384512
PRFCreator tool:
https://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I uploaded a flashtool log file ! Please help!!
Delta solution
I was also stuck with same error, I Banged my head in all forums with all rookie answers.
Why this problem occurs?
Ans: Because the user has installed Marshmallow or Nougat ROM on Lollipop. Even if you try to
come back on Lollipop stock, it won't accept the TA partition and won't go further (Although CM 10/11/12/13/14 or ASOP 10/11/12/13/14 RR-M/N WORKS without ERROR, but I assume user is hungry for STOCK 5.1.1 LOLLIPOP).
So, what's the solution, either you need backup of your TA partition OR - and if you haven't like me. Nothing to worry. You just need Stock JellyBean ROM (THIS IS IMPORTANT).
My solution will 100 percent work (Its Brahmastra ).
Step 1) download https://forum.xda-developers.com/showthread.php?t=2384512
Step 2) download flash tool version which is mentioned in the above link , I used 0.9.11. Version 0.9.19.8 is HELL - You will never succeed with this version)
Step3) flash... Even if you encounter error [17] no worries, if no error, still no worries (If you get error after TA partation is done...you are through, if you encounter before TA partition, it is worrisome)
Step 4) fastboot -i 0x0fce oem unlock 0xxxxxxxxxxxxxxx69
Step 5) fastboot flash boot boot. Img (twrp or PhilZ recovery) or STEP 8)
Step 5) download customized 5.1.1 by chippa
Step 6) goto TWRP (Recovery) and install customized , NO CMW recovery
Step 7) beer for me, go to STEP 10
Step 8) use flash tool to install C5502_10.7.A.0.222_1273-5765_R1E
Step 9) It boots after 3 sec
step 10) go to step 7 (beer loop mode)
If you go to SONY service centre, those M*F* will say, your screen is damaged, because once you push power button, it vibrates and goes to blank screen.
OR
You have locked your bootloader and you simply need to unlock the bootloader in ( STEP 4 ) and you will start with normal BOOT procedure.
How to unlock the bootloader?
Ans: http://www.cyanogenmods.org/forums/topic/unlock-bootloader-android-phone-using-fastboot/
OR
Relock bootloader (boot), then unlock bootloader (boot the device)
Cheers,
Dr. Lamda
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
sandeepxperia said:
Ok man thanks for your help! I am really surprised that someone gave me the solution! Well, i think i repaired my device! I don't know exactly what i did was correct or wrong few days before i installed a universal adb driver that repaired the driver in pc although there was an existing adb driver! And then i installed an old adb setup because i found that new adb not works sometime! And then through flashtool ver 0.9.23. something , i flashed the twrp 3.0.3 img by fastboot mode it installed successfully! And then i just flashed a rr nougat rom through recovery. I seen so many errors while wiping and flashing rom and gapps! But phone rebooted successfully! After that i see that selinux is set to enforcing rr nougat rom and i can't go to recovery mode so i same flashed twrp img through flashtool but it only rebooting to twrp i pulled off battery and booted again it was successfully booted to ROM!
Hey! Can i flash customised 5.1.1 through recovery ?! as now i am in nougat !
Click to expand...
Click to collapse
Yes! you can go back to 5.1.1 by the above procudure
If you want to revert back from RR - N to stock firmware then use flashtool-0.9.18.4 and first flash stock 4.4.4 firmware/ boot then flash stock 5.1.1 firmware.
Lλmdα said:
Yes! you can go back to 5.1.1 by the above procudure
Click to expand...
Click to collapse
so i can flash the customised 5.1.1 rom by chippa through twrp recovery, right?
moly.maji , i love u brooooooo with your help what i did was i downloaded a jelly bean 4.1.2 rom and flashed through twrp 3.0.3 recovery by converting the ftf file to zip file (thanks to my other bro xda member robin for telling the info about prf creator pc software tool that converts ftf to zip) and it was successfully booted to jellybean stock rom !
and i am saying to whoever facing to flash the stock rom after updating the device to custom roms to prevent any errors to return to stock 5.1.1 firmware while flashing through flashtool it may be driver related errors in pc or any error just use the flashtool for flashing the twrp img! only by going to fastboot mode and then select flash the kernel option through that select the twrp img that's it within seconds the twrp will be installed in your phone and through twrp recovery flash the jellybean 4.1.2 rom ! i tested flashing kitkat but failed! so flash only jellybean rom!! that's it your phone will boot to jb rom and then if u have backup of drm keys restore and update the os through xperia companion or flash the 5.1.1 rom through recovery that's it !!
my device cant be detected and refused to go into fastboot or Recovery mode
is there any way?

System update with TWRP??

Hi guys,
my P10 (stock rom, rooted and TWRP installed) says I can install a new system update: VTR-L09C02B151
So it downloads the update, then reboot, but TWRP shows up and so no update is done.
How can I install this update?
Thank you
Would probably need to be on stock recovery
Hi,
I have the same problem, do you have the stock recovery
EDIT:
i don't tested that but he can solve this problem
https://forum.xda-developers.com/p10/how-to/dev-introducing-redlotus-source-huawei-t3601493
Thank you guys
sorry guys, back from holidays today.
I still don't understand how to do it
can anyone please write the steps in order to install this OTA update please? (not using redlotus)
Ok I solved.
antani2 said:
Ok I solved.
Click to expand...
Click to collapse
Can you please post your solution so others can benefit if this comes up for them?
Cheers
stillrottentothegore said:
Can you please post your solution so others can benefit if this comes up for them?
Cheers
Click to expand...
Click to collapse
It's easy:
===============================
Step 1 - Back to Stock recovery:
Download this recovery - https://mega.nz/#!ucAnQD5D!VZETUq38R_drskwFgOXz_aK9wIsoIlbjUS5KHrULcTY
Connect your phone to PC and run these commands
adb devices (check your phone is connected)
adb reboot bootloader (reboot in fastboot mode)
fastboot devices (check your phone is in fastboot mode)
fastboot flash recovery RECOVERY.img (flash to stock recovery)
fastboot reboot (reboot the phone)
==================================
Step 2 - Download System Update and install it
Go to Settings -> System Update -> Check for Update
==================================
Step 3 - Flash TWRP again
Download TWRP 3.1.1-2 - https://mega.nz/#!8JwhzBzD!jiuod03amEPlWpo1LD7GWiwP62Z9I97F_TEarmXRrFU
Download SuperSU 2.82 for EMUI5 - https://mega.nz/#!WAYhHRwC!KAaTqWDID9-0e4s4RuKmUN_AKWBPjDJ0ynTXi7sYAv4
Put the 2.6.SuperSU2.82-EMUI5-SelEnforcing.zip in your SD card
Connect your phone to PC and run these commands
adb devices (check your phone is connected)
adb reboot bootloader (reboot in fastboot mode)
fastboot devices (check your phone is in fastboot mode)
fastboot flash recovery recovery.img (flash to TWRP)
fastboot boot recovery.img (reboot into recovery)
Go to "Install" menu and choose storage "Micro SD card" and install 2.6.SuperSU2.82-EMUI5-SelEnforcing.zip
Go to "Reboot" menu and press System for normal reboot.
Tested and works on my WAS-LX1C432.
Maybe this guide can be no more valid..
On my P10, updating from B179 to B180 (due to system notification) and TWRP/root installed, update process fails always.
So I extracted recovery.img from B179 Full-OTA update, flashed over TWRP and started system upgrade process, who completed successfully to B180.
However now I get FRP Unlock, (as before update) but PHONE Locked.
So system upgrade has overwrited the unlocked bootloader with a locked one.
Now, to reflash TWRP and apply root, I've to "fastboot oem unlock *Here Huawei Code*" for the second time, loosing all my apps, datas and settings!!
And each time a new update is available is the same way.. you have to go back to stock, and a new unlock will loose all your data....
Really annoying!
Step 2 - Download System Update and install it
Go to Settings -> System Update -> Check for Update
Click to expand...
Click to collapse
So once I got to this part, it downloaded the update and then the phone rebooted into the stock eRecovery, but whenever it would try and install the update, it would say "Getting package info failed." Any ideas?
Hey I know I'm bumping here, but I'm seriously still at a loss with this. Stock recovery flashes fine, but every single time I try to install the new update, it comes up with ""Getting package info failed." If anyone has experienced this, it'd be great to get it resolved.

Mi A2 Bootloop & Firmware Mismatch

Guyz..I have mistakenly flshed a custom rom while booting with a patched image for rooting..I rooted phone but couldn't install TWRD coz sideload driver didn't connected..
However after flashing the custom rom,now its keep restarting every time boot in to Android One logo..I have downloaded a fastboot rom but while flashing using Mi Tool I get an error called device and firmware version mismatch...last time I was in july security patch...what should I do..?
Plz help
try edl mode "fastboot oem edl"
Problem solved..
Just booted using twrp img and flashed CR again...on the reboot menu, changed the partition...booted successfully...
Thanks & credits goes to this thread :
https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375

Categories

Resources