[General Questions and Answers] vascotech88:
Hi,

I have a Samsung GT-S7580 from my girlfriend sitting on my desk for few months without battery (the original got fat and we recycled it).

Today I bought a new battery and while trying to boot the phone, it got stuck on the boot screen "Samsung GALAXY Trend Plus GT-S7580" with a little red exclamation mark on the top left of the screen.

I googled a bit and i found out that we could flash it again with the stock ROM. I followed that guide online:

1) I went to samsung-firmware.org and got the correct ROM (same country, same phone company): PRT-S7580XXUBOA1-20150520110018.zip

2) I got Odin3 v3.07 and the Samsung drivers as well as the CWM (CWM_6.0.3.7_notouch_GalaxyTrendPlus_s7580_bdc_v0.2.zip, including "recovery.tar.md5" inside)

3) I rebooted the phone in download mode (VOLDOWN+HOME+POWER) and via Odin I tried to first flash CWM (recovery.tar.md5), all went fine and i managed to boot into CWM recovery, tried to clean data/cache/etc but the phone would still not boot.

4) I then went back to Odin and flashed the firmware (extracted the zip to: S7580XXUBOA1_S7580PRTBOB1_S7580XXUBOA1_HOME.tar.md5), all went fine and the phone booted into Android! Weee!!!

Great! But then I decided to install Cyanogenmod as the stock was a bit old:

5) I downloaded TWRP for the phone: TWRP.S7580.tar.md5 and I downloaded CM13.0 for Kylepro (the correct one): cm-13.0-20160910-UNOFFICIAL-kylepro.zip and Open Gapps zip file

6) Because the CM13.0 is a ZIP file, I added it to the Downloads folder while the Android was booted and plugged to my PC.

7) I then rebooted the phone into Download mode again and flashed TWRP via Odin

8) I restarted the phone into TWRP mode and i again deleted data/cache/etc, then I went to install the CM13.0 zip file

9) All went file and CM13.0 was installed and booted

10) I went through the normal first-time-config and then I decided to reboot into TWRP again to install "open_gapps-arm64-6.0-nano-20181107.zip"

11) But oops, i tried but apparently i got the arm64 instead of the arm (32bit) which obviously did not install. So I decided to get the arm version and boot the phone normally into CM13.0 as before so I can just copy-paste the new Open Gapps zip file there.

12) Damn! The phone got stuck again on the boot screen "Samsung GALAXY Trend Plus GT-S7580" with the little red exclamation mark on the top left of the screen... Again?....

13) I then tried to get to TWRP and clean cache/data, but it says "Failed to mount /system (invalid argument)", same for /data, /cache and /efs and then "Unable to mount storage"

14) I tried to repair the /data, gave me: Present: No, Size: 0MB, Free: 0MB, Removable: No, Used: 0MB, type: ext4 and then "/sbin/e2fsck -pf process ended with ERROR: 16 Unnable to repair Data"

15) If I go to install I see the linux/android tree but most major folder is empty (sd_card, data, external_sd, recovery, etc)

16) if I go to mount, i cant select any option, and selecting "Select Storage" will give me "Internal storage: 0MB"

17) I also cant change the partition type back to ext4, nothing happens.

18) I tried to format data but i also get an error "Unable to open ' ' to wipe crypto key"

19) I tried to flash the original ROM again via Odin, all went ok, same issues happened from point 12.

20) I tried to flash the original CWM via Odin, all went ok, but when I reboot it insists on rebooting into TWRP and the same happens from point 13.

21) I tried to flash the latest TWRP for this device (twrp-3.2.3-0-kylepro.img.tar),all went fine, but after rebooting im still with TWRP v3.0.2-0...

Any help?