Stuck In soft brick - HTC One X

Hi all, long time lurker, first time poster. Before I start, want to apologize for bringing up a regular problem. So I have a second hand one x. Last year decided to root, had a few teething problems but managed it, all was well. Then I got 'too big for my britches.' Decided to update my recovery, didn't check battery and it died halfway through. Thing wouldn't work for ages, no charging, wouldn't turn on etc. Gave it up as hard bricked. Decided the other day for some reason to try it on charger and it charged! Thought I was winning, wrong lol. Successfully flashed new recovery. Tried nandroid backups, (yes I actually did what instructed and made some, lol) seemed okay but when rebooting just kept throwing me to recovery. Then, like an idiot, stumbled across a post, (can't remember where) that gave the 'bright idea' of formating. EVERYTHING. yeah I know, idiot, right here. No more nandroid backups, no ROM. Can't flash a ROM now cos my sd card can't mount, and sideload doesn't work as when in recovery adb can't find device. Any help would be appreciated, been all over this wonderful sight and others and no fixes seem to work for me. So sorry for long post. Oh, its an international model, hboot is 1.73

Update: flashed twrp 2.8.0.0 last night, still can't sideload anything. When using command adb devices shows xxxxxx recovery, but when issuing command adb sideload filename.zip getting error:closed. This is so frustrating aaaah! Can flash any recovery no problems but since I'm unable to mount USB and sideload isn't working am unable to flash a ROM. Tried installing universal adb driver, it installed but changed nothing. Please help!

Solved!
Ganglore said:
Update: flashed twrp 2.8.0.0 last night, still can't sideload anything. When using command adb devices shows xxxxxx recovery, but when issuing command adb sideload filename.zip getting error:closed. This is so frustrating aaaah! Can flash any recovery no problems but since I'm unable to mount USB and sideload isn't working am unable to flash a ROM. Tried installing universal adb driver, it installed but changed nothing. Please help!
Click to expand...
Click to collapse
Okay, so I did it! I will leave this here in case it helps anyone.
I deleted htc drivers then reinstalled them. Manually installed adb driver from sdk, device was recognised in adb in sideload mode! I.E. instead of saying xxxxx recovery as mentioned above it said xxxxx sideload. Successfully sideloaded cm 11 nightly I had. Rebooted recovery, installed zip from SD under sideload.zip. rebooted to bootloader, flashed boot.IMG that was inside cm11 zip, then used fastboot erase cache command, rebooted, SUCCESS! CM ROM is on and working! Thanks to everyone who took the time to write the numerous tuts etc I perused before FINALLY fixing this mess. Just downloading compatible gapps now to install. Only problem I have now is its not recognizing my sim card..... *sigh* now to sort that out.

Related

Find 7 HARD brick after latest CM12 nightly

I think I might be screwed.
I've been updating with CM12 nightlies about every third of sixth one since the first one and never had a problem. Until today.
Downloaded the 9/21 CM 12 nightly after running my weekly Titanium backup.
Rebooted into TWRP recovery, flashed the zip file for CM12, wiped cached and rebooted. Except the phone rebooted into fastboot. Uh oh.
Phone will no only boot into fastboot, with just the power button = fastboot, power+vol up = fastboot, power+vol down = fastboot.
Plugged phone into computer with USB, PDANet recognizes the phone as having been connected but won't run because adb.exe is installed. Phone shows up in Device Manager with correct driver, listed as Android Device. Phone does NOT show up in Windows 7 Explorer. ADB does NOT work because it doesn't list any devices.
I can run fastboot and all fastboot commands from a command prompt. I've flashed several new recovery images but still cannot reboot into recovery.
I've deleted and updated drivers over and over.
I've pulled battery, SIM card, SD card in every combination I can think of.
In all cases I can only boot to fastboot.
I LOVED this phone! My best phone ever!
Any ideas?
Thanks,
-AJ
After 7 hours of fighting it, I may have posted too soon. I kept scouring threads and found a reference to run oem unlock in fastboot. That seemed to work. That got me into recovery and if I can get into TWRP I'm confident that I can fix or rebuild/reinstall everything back to good. So let's say this is solved. But if anyone else has this problem, try the oem unlock..

Soft Brick, couldn't flash anything, now can't mount anything

When I boot to twrp in recovery, I am unable to accomplish anything -- wipe or install. When I try to do either I get an error about "unable to mount sdcard". I have seen this thread, but cannot find the zip mentioned anywhere. I am able to run "adb push" to /sdcard and then to actually see the file pushed there in twrp recovery. I'm just not able to do anything with the pushed file in the install function.
Tried mounting with adb shell, but kept getting error of "Invalid argument". Did discover that /sdcard is /dev/block/mmcblk0p36, and using fdisk in adb shell found that it "doesn't contain a valid partition table". I'm not concerned about losing data. Everything was backed up, but anybody know how to create the correct partition table so I can install a ROM?
Original post:
So I screwed up. I rooted my phone according to this post. Unfortunately I then did something stupid when trying to flash a new recovery and get actual SU privileges to remove bloatware. Instead of going back to the first page in that thread and seeing the links to use there, I followed this guide. Unfortunately, when I ran the script, install-insecure-linux.sh, it flashed the boot.insecure.img and then spit out errors related to incompatibility with the ncurses version on my laptop. It seems difficult if not impossible to downgrade the ncurses without causing a ton of other headaches. It went to reboot and just stayed dead.
Thought I was hosed, but then after charging for a while I got signs of life. Managed to boot to fastboot. Connected back up to the laptop and decided to follow the cyanogenmod guide for installing CM11. Flashed the CM recovery img file successfully but after rebooting I can't do anything.
I still occasionally get into the fastboot on the phone. Running fastboot devices on the laptop lists the phone. Running adb devices does not. Running any other fastboot command sticks at either nothing or <waiting for device>. Running any adb command gives "error: Device not found". I added a udev rule and adb_usb.ini with the device id "0bb4" and mode 0666, but no joy.
I only have a linux machine available at the moment, so I'd prefer suggestions for working in linux. If someone knows of a good Windows solution, I can probably try that in a few days. Thanks in advance.
EDIT: Progress
Noticed that for a second when I first connect to the laptop USB the fastboot menu showed in red FASTBOOT USB before going back to just FASTBOOT. Managed to tee up the command for flashing the twrp recovery img and ran it immediately upon plugging in. Was then able to boot to recovery. Not sure what my next step to getting a working phone is though. Help still appreciated.
My last post got swallowed by the ether I guess. I was able to fix it by formatting the sdcard using mkdosfs -F 32 -n INT_SD -s 64 /dev/block/mmcblk0p36. Then rebooting, wiping, and installing CM11. All is good again.

Stuck at "Fastboot Mode!!!" Screen - Fastboot works, ADB doesn't

I've searched this and other forums, and tried virtually everything that has been suggested or that I can think of.
I have a Zenfone 2 Laser ZE551ML rooted. Phone has worked like a dream. Installed TWRP 3.0, made and saved several backups in several different places, internally and externally.
Two days ago, flashed a TWRP recovery (I was looking to get back some data I had deleted inadvertently), seemed to go well until it booted, and could not get past the screen that says "Fastboot Mode!!!". Connected to a PC and was able to execute fastboot commands; supposedly can flash various recoveries, and seemingly does so, with everything looking right on the PC, and the phone actually rebooting. But always stops at the same screen.
ADB, on the other hand, shows no devices listed. Every command results in "Error: Missing Device."
I have done everything I can think of...uninstalled and reinstalled the ADB drivers, used different ADB drivers, removed the external SD card, removed the battery (which is the ONLY way the phone will shut off...pressing the on/off button for 10 seconds just results in it booting up to the same screen. Have tried the fastboot wipe command, again it seems to do so, but always comes back to the same screen. Fastboot flashing a recovery.img appears to successfully write a recovery, then goes to same screen upon reboot.
Any ideas? I've only had this phone a couple of weeks, and really like it. But flashing what was apparently a bad TWRP backup seems to have destroyed it.
Thanks so much for any suggestions!
i have the same problem.. please help!
i have the exact same problem you had.. please tell me how you restored it
As i have a similar problem i cannot help you on the technical side.
But isn't the laser 551 KL instead of ML. Maybe you flashed the wrong files trying to restore the phone
BeachNYC said:
I've searched this and other forums, and tried virtually everything that has been suggested or that I can think of.
I have a Zenfone 2 Laser ZE551ML rooted. Phone has worked like a dream. Installed TWRP 3.0, made and saved several backups in several different places, internally and externally.
Two days ago, flashed a TWRP recovery (I was looking to get back some data I had deleted inadvertently), seemed to go well until it booted, and could not get past the screen that says "Fastboot Mode!!!". Connected to a PC and was able to execute fastboot commands; supposedly can flash various recoveries, and seemingly does so, with everything looking right on the PC, and the phone actually rebooting. But always stops at the same screen.
ADB, on the other hand, shows no devices listed. Every command results in "Error: Missing Device."
I have done everything I can think of...uninstalled and reinstalled the ADB drivers, used different ADB drivers, removed the external SD card, removed the battery (which is the ONLY way the phone will shut off...pressing the on/off button for 10 seconds just results in it booting up to the same screen. Have tried the fastboot wipe command, again it seems to do so, but always comes back to the same screen. Fastboot flashing a recovery.img appears to successfully write a recovery, then goes to same screen upon reboot.
Any ideas? I've only had this phone a couple of weeks, and really like it. But flashing what was apparently a bad TWRP backup seems to have destroyed it.
Thanks so much for any suggestions!
Click to expand...
Click to collapse
fastboot --cmdline "lge.kcal=0|0|0|x" boot twrp.img
where TWRP.img is the directory of twrp
then you should get back to TWRP
flash TWRP image again in TWRP itself because the method on line 1 only temporary flashes TWRP and will auto discard TWRP after a reboot

Starting to pull my hair out over flashing the Razer Phone

I've been trying to install TWRP and Magisk to the Razer phone for upwards of 3 days now. I cannot get anything to flash through fastboot to the phone no matter what I try. At one point I even said screw it and tried flashing the stock boot image back over to re-lock my bootloader, but no luck, still won't flash.
I was originally following this tutorial here but during the flashing of the boot image it kept failing. Then I tried following the "foolproof" guide found here
I either ended up with the error of "no such file or directory" or "too many links" or "unable to identify current slot". Did a ton of Googling but ultimately came up with no solutions.
I have Android SDK and development studio installed. I have the google drivers installed. I have the Razer phone drivers installed and I have ADB and Fastboot installed.
I have all the files I need on the SD card, and when I'm flashing everything I have the files I need placed in the same folder as the ADB\Fastboot files.
I have my bootloader unlocked, developer mode on and USB debugging enabled. I am using a USB Type A to Type C cable as recommended (made by Anker if it matters). I've tried all 3 USB ports on my laptop. I've even disabled Antivirus.
I have flashed many Android devices in the past and none have given me such a headache as this one. I'm even more ticked off that I can't even get the factory boot image back over to re-lock the bootloader after now realizing that I can't install Netflix anymore because they wen't and blocked installations for Rooted android users (for whatever ridiculous reason).
I will say that for whatever reason that when I go to open command prompt by using the shift+right click I only get the option to use Windows Powershell, not Command Prompt. I also have to put a .\ in front of every command I send. I'm unsure why, but I found no work around for it.
I'd like to try to get the TWRP and Magisk installed. I'm sure I can force Netflix to install over to the phone using another method.
Open to any suggestions!
FireGuy0723 said:
I've been trying to install TWRP and Magisk to the Razer phone for upwards of 3 days now.
Click to expand...
Click to collapse
I feel for you as when things don't work, like someone says they do, it's frustrating. I personally wouldn't be doing everything through power shell but would instead press Windows Key+R to bring up the "Run" dialog box then type "cmd" for command prompt. Trying to restore "command prompt here" to Windows 10 seems stupidly hidden. I'm just not sure if using powershell is messing with your progress.
Second thought is that your Razer phone drivers may not be installed correctly. For me I spent days/hours with my main PC, I then tried another PC and got my phone flashed in minutes. What would happen is that I could send "adb" commands without issue but some of the "fastboot" commands were not working. So at the critical times when it's trying to flash the different portions of our phone, some of them were successful while the others were giving little errors here and there.
I spent a lot of time updating my adb and fastboot commands to newer ones because it seems every time you download someones resources you get a different version. Also the more phones you have owned the more times you have installed specific USB drivers for those phones and they are now hanging around messing things up. There are programs such as USBDeview that will allow you to uninstall those old drivers. For me I had HP drivers from an old tablet, OnePlus drivers, LG drivers, etc.
Munk0 said:
I feel for you as when things don't work, like someone says they do, it's frustrating. I personally wouldn't be doing everything through power shell but would instead press Windows Key+R to bring up the "Run" dialog box then type "cmd" for command prompt. Trying to restore "command prompt here" to Windows 10 seems stupidly hidden. I'm just not sure if using powershell is messing with your progress.
Second thought is that your Razer phone drivers may not be installed correctly. For me I spent days/hours with my main PC, I then tried another PC and got my phone flashed in minutes. What would happen is that I could send "adb" commands without issue but some of the "fastboot" commands were not working. So at the critical times when it's trying to flash the different portions of our phone, some of them were successful while the others were giving little errors here and there.
I spent a lot of time updating my adb and fastboot commands to newer ones because it seems every time you download someones resources you get a different version. Also the more phones you have owned the more times you have installed specific USB drivers for those phones and they are now hanging around messing things up. There are programs such as USBDeview that will allow you to uninstall those old drivers. For me I had HP drivers from an old tablet, OnePlus drivers, LG drivers, etc.
Click to expand...
Click to collapse
I've been messing with it today a bunch. I am back to following the "foolproof" guide and this time I have completely uninstalled all my old drivers for anything android or USB or ADB related and reinstalled everything.
All commands work, I am using command prompt now.
What I am getting hung up on now is even after pushing all three files to the SD card, I run the command "fastboot flash boot twrp-3.2.1-0-cheryl.img && fastboot reboot" and it bounces back with " Failed: Write to device failed (no such file or directory)"
I've double checked the file names numerous times. I have no idea what I am doing wrong now. I have tried the command "fastboot boot twrp-3.2.1-0-cheryl.img" as stated in the other tutorial and it bounces back with "failed to identify current slot".
So I'm making progress at least. I'm trying to follow the first set of instructions listed in the fool proof guide but still no luck. I also tried the "clean method" listed below on that guide and that one doesn't work either. Apparently the Fool Proof guide thinks I'm a fool!
FireGuy0723 said:
What I am getting hung up on now is even after pushing all three files to the SD card, I run the command "fastboot flash boot twrp-3.2.1-0-cheryl.img && fastboot reboot" and it bounces back with " Failed: Write to device failed (no such file or directory)"
Click to expand...
Click to collapse
I believe that when you run "fastboot flash boot twrp-3.2.1-0-cheryl.img" you are pushing the file called "twrp-3.2.1-0-cheryl.img" that is sitting on your PC's C: or whichever drive you are currently sitting in to the Razer Phone. So make sure the file is in the same directory as where you are running that command. This will then transfer it to the Razer and will reboot into TWRP.
But after you reboot into TWRP you will want to flash the version you have sitting within your SD card to the "recovery" partition. That way it is permanent.
Munk0 said:
I believe that when you run "fastboot flash boot twrp-3.2.1-0-cheryl.img" you are pushing the file called "twrp-3.2.1-0-cheryl.img" that is sitting on your PC's C: or whichever drive you are currently sitting in to the Razer Phone. So make sure the file is in the same directory as where you are running that command. This will then transfer it to the Razer and will reboot into TWRP.
But after you reboot into TWRP you will want to flash the version you have sitting within your SD card to the "recovery" partition. That way it is permanent.
Click to expand...
Click to collapse
I was finally able to get the phone to accept a flash! I ended up saying screw it and dug a old laptop out, fresh install of windows and installed all the proper drivers onto it.
It worked almost flawlessly. It was able to correctly send the twrp.img file and the phone was able to boot into twrp which is about as far as I got. As it was attempting to load twrp it would "crash" the screen would flash twice and try rebooting back to TWRP.
What ended up happening was it got stuck in a boot loop trying to boot into TWRP. (I haven't even installed TWRP.zip yet, just tried booting the .img file).
I couldn't get the phone to boot to the system anymore. I thought I had a nice $600 paperweight on my hands.
I finally got the phone to go back into the boot loader and flashed all the factory stuff back on and relocked the bootloader. So right now I'm 100% back to stock.
I'm not sure what went wrong in the boot up of the twrp.img file. I'd like to try again but I'm kinda getting sick of wiping the phone Everytime something goes wrong.
Sent from my Phone using Tapatalk
I'm wanting to get TWRP / Magisk on my Razer too, but see too many bootloop stories after attempting to flash TWRP.... making me nervous ha ha.
Sorry, not much help, but hope you get it sorted...
Peace
chris5s said:
I'm wanting to get TWRP / Magisk on my Razer too, but see too many bootloop stories after attempting to flash TWRP.... making me nervous ha ha.
Sorry, not much help, but hope you get it sorted...
Peace
Click to expand...
Click to collapse
I had mine in boot loop, I was able to get it out pretty easily. If your able to get the phone into the bootloader (I did using a fastboot command while it was in a boot loop) you can just execute the script provided by Razer and it does the rest. Took about 10 minutes and I had factory everything back on the phone. Relocked the bootloader after and done, phone fixed.
Sent from my Phone using Tapatalk
FireGuy0723 said:
I had mine in boot loop, I was able to get it out pretty easily. If your able to get the phone into the bootloader (I did using a fastboot command while it was in a boot loop) you can just execute the script provided by Razer and it does the rest. Took about 10 minutes and I had factory everything back on the phone. Relocked the bootloader after and done, phone fixed.
Sent from my Phone using Tapatalk
Click to expand...
Click to collapse
In my case I actually had to flash the stock boot.img from the May 2018 stock OS. Then I was able to use Razers guide to flash stock again. I haven't locked my bootloader since I still want to give it a try again. But I want to find a reliable way of rooting and then unrooting in case I want to do so in the feature.
So far I haven't found said documentation.
Installed Magisk v17.1 via TWRP loaded in fastboot boot (not fastboot flash boot ie not permanently installed) and so far all seems well. No boot loops when restarting...
Peace

ADB wont recognize my HTC M8 (no devices error), cant sideload a rom, please help!

Hi there.
I have tried several custom Roms this in the past (5 years ago) and everything worked fine and then reversed it and put back the original rom. Now I need this device for a backup and wanted to try the latest Lineage 17.1 ROM I have soft briked my device. Since I´ve wiped my data I dont have a ROM to boot to.... :crying:
When following this Lineage installation guide https://wiki.lineageos.org/devices/m8/install I am stucked on the ADB Sideload procedure.
Every time I try the "adb sideload filename.zip" command I get the "no devices/emulators found" warning.
I have the latest TWRP (3.4.0.1) for my device, i tried installing HTC M8 drivers, Google ADB drivers, HTC Sync, nothing works, I can seem to make TWRP to connect to my PC.
Can someone please help me?
Thanks in advance
Badelhas said:
Hi there.
I have tried several custom Roms this in the past (5 years ago) and everything worked fine and then reversed it and put back the original rom. Now I need this device for a backup and wanted to try the latest Lineage 17.1 ROM I have soft briked my device. Since I´ve wiped my data I dont have a ROM to boot to.... :crying:
When following this Lineage installation guide https://wiki.lineageos.org/devices/m8/install I am stucked on the ADB Sideload procedure.
Every time I try the "adb sideload filename.zip" command I get the "no devices/emulators found" warning.
I have the latest TWRP (3.4.0.1) for my device, i tried installing HTC M8 drivers, Google ADB drivers, HTC Sync, nothing works, I can seem to make TWRP to connect to my PC.
Can someone please help me?
Thanks in advance
Click to expand...
Click to collapse
I had a similar problem a few days ago, and uninstalling HTC Sync and HTC drivers from my PC solved it for me.
beeewell said:
I had a similar problem a few days ago, and uninstalling HTC Sync and HTC drivers from my PC solved it for me.
Click to expand...
Click to collapse
Thanks a lot! That worked indeed. Sideloading Lineage a Gapps as we speak
Cheers
Hi folks,
can someone helps me? i'm having the same problem and i'm on this since 11 hours and nothing that i do make the adb sideload work. I have my Htc one m8 since it was out on 2014 and never root it. I manage to root it with the lineage installation guide because i didn't know anything about rooting. Now root is done, and twrp-3.5.2_9-0-m8 the latest version is intalled and i'm stuck on the command 'Sideload the LineageOS .zip package': it seems like the device is not found. This is the message that i got.
adb server version (31) doesn't match this client (41); killing...
error: failed to read response from server
* daemon started successfully
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found
I have unnistall HTC Syn and its drivers many times then retry than reinstall them then retry but nothing work. My device is found and its sd card when i'm not on ADB sideload on TWRP. This is making me crazy!!!! I'm on windows 7. Thanks if someone can help
FINALLY!!!!
i manage to make the installation working!
Lineage team need to explain more precisely the installation process by giving where is needed some examples and give some other alternative methods. All the people don't understand the geecky language so you need to think like end users like us who didn't know anything about coding, command prompt expressions ect.... For exemple here:
"5 - Flash recovery onto your device:
fastboot flash recovery <recovery_filename>.img"
I thought doing this command " fastboot flash recovery <twrp-3.5.2_9-0-m8>.img " instead of " fastboot flash recovery twrp-3.5.2_9-0-m8.img " anyway...
For those in the same case like me in the future, the "adb sideload" stage didn't work for me. After some resarch sideloading is not nessessary. Just move or copy the LineageOS and Gapp into your phone or sd card then in TWRP choose install and select the files were you have put them and they will be installed like normal installation.
ADB Sideload stuck at 47%
Hi all I'm starting to suspect that the partition my recovery uses as temp storage is full. It gets stuck in the flashing process, I just tried side-loading with adb and it is now stuck, and has been for 1 hour. Latest message from ADB says...
forum.xda-developers.com

Categories

Resources