CWM keeps crashing when trying to flash ROMs - Galaxy S II Q&A, Help & Troubleshooting

okay so this happened a long time ago, basically what happened was, i wanted to upgrade cyanogenmod 13 to 14.1, i followed a youtube tutorial telling me to re-partition the internal SD card. so i did exactly that, and it corrupted the main storage, so i re-flashed CM 13 with Gapps but the problems became even worse with me unable to enter the apps section in settings, the main storage was still corrupted so i flashed a stock ROM and formatted the main storage and then rooted it, so when i entered the CWM recovery, i tried to flash lineage OS. however, it kept crashing when it reached "opening update package..." and it stayed like this ever since. any help?

You need odin, flash the stock rom with odin then you'll need to flash the PIT that will re-partition the internal storage without problem. Then flash TWRP via odin then you're good to flash the lineage os 14.1

Related

[Q] Formatted internal storage, now phone is hanging on S4 logo

I recently formatted my internal storage because I felt like I needed a clean wipe. After doing so, flashing anything and rebooting into it will make it hang on the Samsung logo. I flash everything through TWRP v2.5.0.2 and I never had problems until I formatted. Now to get anything to work, I have to "format data" through TWRP and flash after that in order to boot into anything (every single time). And even after booting into it, I can't flash anything (or even simply reboot) without having to see the stuck screen again. Any ideas? My phone is MDK.
You need to update TWRP. Latest is 2.6.3.1. Older twrp doesn't use the proper symlinks for the internal data partition that changed in 4.3.
WhoNeedszzz said:
You need to update TWRP. Latest is 2.6.3.1. Older twrp doesn't use the proper symlinks for the internal data partition that changed in 4.3.
Click to expand...
Click to collapse
Thanks! I think that worked

Stuck on boot animation (cyanogenmod)

I was using my phone and all had been working fine for ages. It was in my pocket for a while and when i took it out to use it I saw that it was on the boot animation of CM11. My phone was already on when I last used it so I had assumed it had crashed. I took the battery out and turned the phone on again but it got stuck on the CM boot animation. The last time I turned on my phone before that was when I flashed a supersu zip file to make my root work as I was having some problems. After flashing the supersu zip and told my CWM recovery to restart the system, it prompted me to "fix root" or something like that, and I clicked yes and it booted normally. That was the last time it booted normally before being stuck as it is now. First thing I did after it got stuck was go into recovery and reflash my current rom ( a CM11 snapshot) I then got faced with a status 7 error and so couldnt flash the rom. So then I flashed multiple other CM11 roms, none of which worked, so I flashed a CM10.2 stable rom which worked. I then got faced with the fix root before reboot thing and so I clicked yes. Still had the stuck booting thingy. I tried many things, flashing kernals roms gapps etc and nothing made a difference. I wiped cache, dalvik cache and no difference. I even wiped the system and tried to flash roms but only the 10.2 one would work, still got a status 7 with the CM11 ones. When I wiped my data however and flashed CM 10.2, it booted. I still couldn't flash the CM11 roms though even after a factory reset. So I have the reason to believe something in the data is wrong, not cache system or anything like that. What could it be? I don't want to have to lose all my data in order to be able to use my phone again, even then, something is still wrong as my phone won't flash CM11 roms anymore. So my questions are;
What things could have caused this?
Can this be a problem from flashing the supersu zip (a root issue)
Is it possible to somehow view or copy the internal data on a computer (since I cant get into the operating system), and this would allow me to get all my pictures contacts music etc anything so I can use my phone by wiping data?
Thanks, sorry this is quite long and probably hard to understand whats going on, but help is appriciated thanks
Don't fix root if you wish to use SuperSU instead builded-in cm superuser. Also try to flash via Odin latest recovery. TWRP should be fine. You can mount partitions from recovery level to download data to your computer. Of course if it still exists. If not, if they are corrupted you need to flash stock ROM and repeat whole cm11 adventure again. If Odin successfully flash the stock then it's a chance your partition layout and user data are untouched.
____________________________________________
P3110 / I9300 / I9100 / NEXUS 5 / iPAD2

[Semi-fixed] Internal storage accidentally deleted after trying to restore backup rom

Hi,
My current problems are: my internal storage is completely deleted somehow and when I try to start the device it's bootlooping.
What happened before that was:
1. I was in MIUI 10 globe rom and had the regular TWRP (before treble thing I think)
2. I installed orangefox recovery so I could install a treble RR rom.
3. I backed up my MIUI rom and installed the RR rom without problems
4. Then I wanted to go back to MIUI rom
5. First I installed normal TWRP img into my recovery, because I couldn't recover the MIUI rom in orangefox (couldn't find the file)
6. Then I tried to recover the MIUI rom, but I didn't factory reset before i recovered. I thought that would happen anyway if i recovered a rom. But my recovery file didn't include bootloader and firmware. I had 2 recovery files in my internal storage. One of everything except the bootloader and firmware and the other recovery file was of the bootloader and firmware (i forgot to include them the first time i backed up)
7. So anyway, I recovered the first file and everytrhing was fine, but then immediately i also recovered the second file (the bootloader and firmware only). But the second file failed to recover.
8. I tried to boot the device, but it bootlooped at the MI globe image, then went back to MI logo, then mi globe image, etc. And finally it goes back to TWRP automatically.
9. Went back to recovery to see what's wrong. First I did a normal factory reset (only system, cache and dalvik, no internal storage) so I could install the RR rom I still had in my storage
10. Suddenly I see NOTHING in my internal storage in TWRP. Shows 0 gb.
So can anyone tell me what went wrong??? I never touched the 'format internal storage/data' thing in TWRP, but somehow it deleted it??? Wth happened?
And more importantly, what do I do now? Do I treat this as a bootloop or a bricked device? I know I have to use ADB and stuff to reset the device, right? Or Do I have to do something else?
Anyway, thanks in advance!
Edit: wait, i formatted /data now in TWRP and it booted into MIUI 10 after but with internal storage gone now of course. But I'd still like to know what went wrong.

HELP - Unable to use dload method to restore stock firmware

So, I managded to completely mess up my phone, it WAS working on a pie GSI, then it wasnt, decided not to boot, nothing... so, wiped everything, tried re-flashing the GSI, still nothing, so... i though, ok, fine, ive got the dload folder on my sdcard, i used it 2 weeks ago...
Tried dload, got message 'install failed, incompatible version, please download a compatible version'
so, i rebooted into fastboot, flashed the stock kernel, ramdisk and recovery, and tried again, still no success, so reflashed TWRP, tried flashing a pie GSI i know worked, nothing, just a black screen on boot, so i've now flashed back to havokOS oreo (which boots) but i cant do anything else, im stuck, i really need to reset my phone to its factory OS and start from a clean slate...
Anyone have any ideas on what to do?
--- edit ---
internal storage is reporting back as 3gb.... so either partitions are messed up, or my flash chip is dying
have you trie the official factory firmware . Theres instructions in it too on how to flash it
https://androidhost.ru/6er
Your sdcard or USB-OTG flashdrive MUST be EXFAT formatted.
Test you have a working sdcard or USB-OTG with windows app 'h2testw'.
I sorted it out, wiped sdcard, copied dload files out of the zip back onto it, and it worked, somehow the files on the sdcard must have become corrupt

Xiaomi Mi 9t wont load any custom rom or restore backup

hey guys just looking for some help. ive been modding and flashing phones from 2014, but its always gone really smoothly, so my diagnostic ability is lacking.
it started with flashing twrp. my bootloader is unlocked, usb debugging on, device is showing in adb and fastboot, and i can flash twrp without any issues. hoowever when i go to boot twrp, only the stock recovery boots. i tried to flash twrp using the XiaoMiTool v2, but the same thing happened. i eventually got around this by just booting twrp instead of trying to flash it. so i got in, took a full back-up and started installing a custom rom.
the first one i tried was ParanoidAndroid Quartz. i wiped cache, dalvik and storage then transferred it to my phone, tried to flash and got "zip verification failed". so i turn off zip verification and tried again. it flashed perfectly with zero errors. however, when i reboot the phone it would only boot to stock recovery and not twrp (expected) or the new rom. i tried that a few times, then tried LineageOS, and MSM Xtended 10. all of them had the same issue, the flashed without a hitch, then wouldnt boot.
i also tried flashing a new fw-vendor and it just straight up failed. Then i decided to cut my losses and restore my twrp backup, and that came back with the error, "extractTarFork() process ended with error: 255"
Software before i began these attempts was completely stock, so i dont know what is going wrong, but as of now, my phone is bricked, i cant install a new rom or restore my back-up.
any help is appreciated guys. thanks
You can figure out this problem with
1 Copy backup folder to computer
2- Format Data - Yes , Wipe Everything
3- Install ROM that you have installed before and boot
4- Go to TWRP, format data yes reboot recovery
5- Paste backup folder to internal storage and restore

Categories

Resources