Cant flash Cyanogenmod with twrp ?? - Galaxy S 5 Q&A, Help & Troubleshooting

I have an S5 '900I' which recently stopped booting after I installed a custom cyanogenmod theme.
I flashed CWM with odin but I couldnt boot into recovery after so I tried TWRP, which worked fine.
Im attempting to flash cyanogenmod 13 but it just sits at 'flashing file 1 of 1' indefinitely
So far ive tried,
1) Downloading a different version of cyanogenmod
2) verifying the hash
3) formatting, Dalvick, cache, system prior to the flash
4) unchecking zip file verification
5) making sure system IS mounted prior to the flash
6) moving the cyanogenmod.zip from the SD card to internal storage
7) moving the cyanogenmod.zip from root to subfolder (some people said this worked for them ?)
After attempting each and all of the above I have the exact same issue ?
It gets to 'Patching system file unconditionally' then sits there at ''flashing file 1 of 1' 'forever' i.e 1 hour plus
Is there anything I might be missing ?

selinkor said:
I have an S5 '900I' which recently stopped booting after I installed a custom cyanogenmod theme.
I flashed CWM with odin but I couldnt boot into recovery after so I tried TWRP, which worked fine.
Im attempting to flash cyanogenmod 13 but it just sits at 'flashing file 1 of 1' indefinitely
So far ive tried,
1) Downloading a different version of cyanogenmod
2) verifying the hash
3) formatting, Dalvick, cache, system prior to the flash
4) unchecking zip file verification
5) making sure system IS mounted prior to the flash
6) moving the cyanogenmod.zip from the SD card to internal storage
7) moving the cyanogenmod.zip from root to subfolder (some people said this worked for them ?)
After attempting each and all of the above I have the exact same issue ?
It gets to 'Patching system file unconditionally' then sits there at ''flashing file 1 of 1' 'forever' i.e 1 hour plus
Is there anything I might be missing ?
Click to expand...
Click to collapse
Do a fresh start , flash back stock rom then root install twrp and flash CM13.

Related

[Q] [i9505] Possibly bricked or TWRP messed it up [SOLVED!]

I've had problems with my phone for a while now, no stable roms or mods, phone doesn't wake up from deep sleep, lagg....
So I got in to recovery mode (latest TWRP) a few hours ago and I got asked for a password? :S didn't know that TWRP had a protection function.. I pressed BACK and that was that, I got in to the menu and pressed INSTALL but the SDCARD was empty?
Using the filemanager in TWRP the internal SDCARD was still empty, but the microsd worked fine.
After rebooting the phone I got stuck on the sgs4 screen, so the rom didn't boot.
I went back to recovery and wiped everything possible and formatted the sdcard, afterward I installed a rom and rebooted.
Still the same problem, got stuck on the sgs4 screen.
In TWRP the sdcard was still empty. So I downloaded a odin flashable rom and flashed the phone through odin but got stuck at the same place.
I now have the stock recovery and when selecting "apply update from external storage", I get the error message:
"E:failed to mount /sdcard (No such file or directory)"
Is there any function in a TWRP/CWM or modded recovery that can fix the internal sdcard?
Or perhaps repartition everything?
Just to let everyone know, the flashing in odin and TWRP worked as usual, so the system/data etc partition as fine.
Guess it's the sdcard partition that's corrupted OR if TWRP somehow locked the sdcard because I didn't enter a password?
I could be wrong but then I'm completely clueless.
Appreciate some help, thanks!
EDIT: [SOLUTION]
Since there is no way to use adb in recoverymode or downloadmode (I wasn't able to), you need to use odin.
1. Enter download mode and flash a clean rom through odin.
2. Enter download mode again and flash TWRP through odin.
3. Wipe DATA through TWRP and reboot.
4. Factory Reset through TWRP and reboot.
5. Done.
Seems like this is the wrong place to ask, but I think I found the problem.
It was TWRP with their "password protection" that cause the problem.
Downgrading to other versions wont help as it did for others with the transformer pad.
I did a search for "TWRP PASSWORD" and it looks like TWRP has a bug.
This is what I get in TWRP:
E:Mount: Unable to find partition for path '/sdcard'
EUnMount: Unable to find partition for path '/sdcard'
This is definitely the last time I'll use TWRP.
When flashing CWM, I'm unable to boot into recovery, only works with TWRP..
I'll keep posting here until I solve this if anyone get the same problem.
http://forum.xda-developers.com/showpost.php?p=44007919&postcount=1
In the link above, someone manage to fix their phone with the same problem I have, even though it's the nexus7.
So what I've learned is that I shouldn't let TWRP root my phone.
I need a system.img file, could it be just the system parititon? Don't know how to get that file, so could use some help.
EDIT:
I'm going to unpack a odin package, found a system.img.ext4 in there, guess that wont help so have to find one with stock filesystem.

[Q] Can't flash recovery zip

Hi,
I'm at my wits end. I had SlimRom installed for a week and all was fine, but I was curious about what new ROMs were out there so I backed up my phone using ROM Manager and did all the usual stuff to get a new ROM. I installed Gummy, but didn't like it; I installed one other ROM that I can't remember its name, but also didn't like that. I realized my comfy home of SlimRom was where I wanted to be, so I tried to flash the backup.zip that I had created but it kept saying installation aborted (Status 0).
After hours of countless attempts and just weird behaviour (sometimes boot loops, sometimes not booting into recovery, etc.) I finally got my phone back to stock.
I downloaded the latest SlimRom file 3 times to make sure it wasn't a corrupt zip (twice from my PC and once from my phone directly). Both the zip directly from Slim as well as the backup.zip that I made with ROM Manager give me the same installation aborted. The other error it gives is "E: Error in /data/media/0/slim....zip". I'm wondering if somehow my partition is screwed up. I tried using Odin's repartition, which just erased my recovery partition, but I got that back thankfully! When I wipe data/factory reset it says wipe complete (and the ROM does reset to factory) but it also says "E:unknown volume '/sdcard/.android_secure' "...I'm wondering if that relates to why the backup.zip file won't read properly. Maybe the partition got screwed up somehow?
I can flash a SU zip so it's not a flashing problem, per se. And thankfully Odin always works!
I think I may need the stock PIT file for the Telus S4 l337m
UPDATE:
I think I found the proper pit (SGS-I337_16GB) but my phone says "secure check fail: pit".

Help needed - i9505g soft-brick/recovery boot-loop

This is my second Samsung. I have put over a dozen different ROMs on my old Exhibit II 4G. Having said that, I realize many of you know more than I could ever hope to know. That is why I'm posting here. I have searched, but most of my searches take me to announcements of new CWM and TWRP recoveries.
I've had a Samsung Galaxy S4 Google Play Edition for over a month and still did not have a nandroid backup, so last night I installed ClockworkMod ROM Manager with the intention of flashing CWM Recovery. The app did not list my phone, so I told it to show all devices, where I found the i9505 (I don't remember if it was the i9505g or not). I told it to flash ClockworkMod Recovery, and selected the option that I had not yet flashed CWMR. I then used QuickBoot to reboot into recovery, where I performed my first nandroid to the microSD card.
When I rebooted after making that nandroid, it went right back to ClockworkMod Recovery. Subsequent reboots did the same thing. I could get into Odin mode with VolumeDown+Home+Power. Using Odin v3.09 I was able to flash the stock recovery. This did not resolve the boot-loop issue. Now it boots into the stock recovery, which is less functional than CWM. To me it is behaving as if the recovery tools were flashed to the /boot/ partition, or something is telling it to always boot from the recovery partition.
-In stock recovery, it will download ADB installations (from "apply update from ADB"), but every attempt fails it's signature verification. I have tried 6+ files, all have failed. I believe that the device has USB debugging enabled, but I cannot check while in this state.
-Stock recovery does not mount the microSD card, so I cannot install from there. CWM would mount the microSD card, but I did not think to try installs from the microSD at that time. Is it possible that I installed the wrong stock recovery?
-I do not know how to perform an ADB "push" with my phone in this state. To be honest, I have never done an ADB push. If I get to that stage, where on my S4 should I send a pushed file? "/system/bin"?
-If I try an adb push in this mode
-How do I get my phone to boot from the proper partition?
-If I have the wrong data in that partition, how do I get the correct information onto that partition?
Here is what it does when I try to sideload from stock recovery:
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify while-file signature
E:failed to verify while-file signature
E:signature verification failed
Installation aborted
Thank you in advance for any help!
Solved - i9505g soft-brick/boot-loop
My problem was resolved by flashing a stock recovery and ROM, found here: http://forum.xda-developers.com/showthread.php?t=2569510
The package named "I9505GUEUBML4_FULL_ROOTED.tar.md5.gz" flashed from Odin is what worked.

[Q] i9505 (jgedlte) fails to boot system after installing ROM

I'm trying to install CM via TWRP.
First I had to unlock the bootloader, so I did, and since then I could not boot to my stock Android (although, correct me if I'm wrong, unlocking the bootloader should NOT delete the OS), it just sent me to recovery.
So I went along, flashed TWRP and got cm 10.2.1 for jfltexx. At first it didn't install well, because my data partition was not formatted correctly. So I formatted it, now TWRP sees it correctly and is able to mount it, enable MTP and everything. When I try to install now, everything seems fine and TWRP's log shows "Updating partition details..." and gives me the "Successful" message, offering to wipe cache/reboot system. (I did wipe cache and dalvik cache before, of course).
If I choose "Reboot System", it just boots back to recovery. The same happens if I power it off and boot normally, even if I pull out the battery and retry that way.
What can I do about it?
Jon-G said:
I'm trying to install CM via TWRP.
First I had to unlock the bootloader, so I did, and since then I could not boot to my stock Android (although, correct me if I'm wrong, unlocking the bootloader should NOT delete the OS), it just sent me to recovery.
So I went along, flashed TWRP and got cm 10.2.1 for jfltexx. At first it didn't install well, because my data partition was not formatted correctly. So I formatted it, now TWRP sees it correctly and is able to mount it, enable MTP and everything. When I try to install now, everything seems fine and TWRP's log shows "Updating partition details..." and gives me the "Successful" message, offering to wipe cache/reboot system. (I did wipe cache and dalvik cache before, of course).
If I choose "Reboot System", it just boots back to recovery. The same happens if I power it off and boot normally, even if I pull out the battery and retry that way.
What can I do about it?
Click to expand...
Click to collapse
First I'd try a newer version of CM. That's an old one. It might not work and play well with a newer version of TWRP. Plus the newer version is a little more polished.
Second, if you must use that CM version, redownload it. You wouldn't be the first person who got a corrupted install file that causes screwball issues like this.
Third, if all else fails use Odin to reset back to stock and start over. Something might have gotten all borked up when you first modified the device that isn't letting the install work. A full restore to stock should correct that.
Skipjacks said:
First I'd try a newer version of CM. That's an old one. It might not work and play well with a newer version of TWRP. Plus the newer version is a little more polished.
Second, if you must use that CM version, redownload it. You wouldn't be the first person who got a corrupted install file that causes screwball issues like this.
Third, if all else fails use Odin to reset back to stock and start over. Something might have gotten all borked up when you first modified the device that isn't letting the install work. A full restore to stock should correct that.
Click to expand...
Click to collapse
Thanks for the reply.
Regarding the versions of CM and TWRP, I deliberately picked these versions due to their high download count (A sign I can trust these builds, being not too buggy). I'll try a newer CM version and another TWRP version if that didn't help.
I will also verify the MD5 for the downloaded file this time.
If I restore to stock via Odin, wouldn't that override the recovery? I've looked on some tutorial on how it's done, and it seems like the stock recovery is flashed, then used to restore the stock. Is there any way to use Odin to flash other ROMs?
EDIT: Nope cm-11-20140210 also failed, and I did verify the MD5 now. My TWRP is the newest available for jgedlte in the download page (2.8.0.1).
I did manage getting into some sort of a boot loop (The initial "Reboot System" brought back the recovery, but after a full power off and a reboot, the screen remains black and the phone vibrates every 4 seconds or so.)
EDIT 2: I tried to flash the stock back, following this tutorial. I downloaded the Open European version, flashed the AP but it failed during the write of system.img.ext4, saying that the image is invalid. I tried again with the PIT file, but it failed too (secure check fail while repartitioning...).

malfunction

Hi Guys.
I recently noticed that I couldn't create a backup with TWRP. Firstly, I thought it was a TWRP problem, as I had some issues installing it after the B588 update. So I flashed it again, but nothing changed. When my back up would reach about 70%, it would give me a reboot. Then I tried to install B588 again, to fix any errors. Although, I flashed it correctly, when I tried to restore the back up I had through Huawei's app, I got an unexpected reboot. So I decided to intall sokkoban's rom. During my first attempt to copy the zip files, it stoped the process. So I took the files directly to the SD card (with an adapter and not via usb cable). I re-flashed TWRP and then entered recovery, to flash the zip files (I am only able to enter custom recovery, only through xposed modules and adb commands since my latest update: 01-01-2017). After managing to enter TWRP, I tried to clear everything, but I got an error:
The message was: mkfs.fat /dev/block/mmcblk1p1 process ended with ERROR: 1 Unable to wipe sdcard. (just in case the image is not visible)
Can anyone help with this?
Currently I am trying to install the ROM ...
spirto82 said:
Hi Guys.
I recently noticed that I couldn't create a backup with TWRP. Firstly, I thought it was a TWRP problem, as I had some issues installing it after the B588 update. So I flashed it again, but nothing changed. When my back up would reach about 70%, it would give me a reboot. Then I tried to install B588 again, to fix any errors. Although, I flashed it correctly, when I tried to restore the back up I had through Huawei's app, I got an unexpected reboot. So I decided to intall sokkoban's rom. During my first attempt to copy the zip files, it stoped the process. So I took the files directly to the SD card (with an adapter and not via usb cable). I re-flashed TWRP and then entered recovery, to flash the zip files (I am only able to enter custom recovery, only through xposed modules and adb commands since my latest update: 01-01-2017). After managing to enter TWRP, I tried to clear everything, but I got an error:
The message was: mkfs.fat /dev/block/mmcblk1p1 process ended with ERROR: 1 Unable to wipe sdcard. (just in case the image is not visible)
Can anyone help with this?
Currently I am trying to install the ROM ...
Click to expand...
Click to collapse
This error is quite normal.....I have got this many times wiping everything and this isn't an issue...
With reboot during restore I think that your backup is corrupt at some point

Categories

Resources