[Android Q&A, Help & Troubleshooting] meanhacker:
Hello, recently my friend brought a phone for me to fix that was stuck in a bootloop and I tried flashing some stock firmware, but the phone unfortunately ended up getting worse and worse until it was completely blank. What made this harder is the ambiguity about what kind of a device it is and finding the correct stock ROM for it. Before it became a brick, I was able to pull out information and the scatter file. I downloaded ROMs from needrom.com and XDA but none of them seem to work. I am trying to flash the preloader, but no matter what I do, it says:

BROM ERROR : S_FT_ENABLE_DRAM_FAIL (4032)

[EMI] Enable DRAM Failed!
[HINT]:
Please check your load matches to your target which is to be downloaded.

ROMs I have downloaded:

20130508_S4_e2006_v89_hydy_taobao

20131129_e2009_v89_jbla828_hd

Files_to_FlashTool_StarS46589

GT-I9500_QuadCore_4.9

GT-I9500-MTK6589

GTI95001hx8379Avdofwga

Samsung-Galaxy-S-IV_fake6589

Anything that I attempt to flash gives me this error. If I go to the Format tab and try to format anything, it gives me the same exact thing. The computer connection is stable with the device - it is not disconnecting at intervals. The device name is MTK USB Port, but I can make it say MediaTek DA USB VCOM Port or MediaTek PreLoader USB VCOM Port. Changing drivers doesn't seem to make a difference. I attached the scatter file below. I also downloaded the giant MTK-MEGAPACK from a youtube video I was following. I can't seem to find the right ROM, anything that I try doesn't want to become flashed. I'm puzzled :eek:, but willing to try anything you guys send my way. If you need any more information, I will be more than happy to provide.

Phone Info (from ADB):

[curlockscreen]: [1]

[dalvik.vm.heapgrowthlimit]: [128m]

[dalvik.vm.heapsize]: [256m]

[dalvik.vm.mtk-stack-trace-file]: [/data/anr/mtk_traces.txt]

[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]

[debug.mdl.sdswap.path]: [/mnt/sdcard]

[debug.mdlogger.Running]: [1]

[drm.service.enabled]: [true]

[fmradio.driver.chip]: [3]

[fmradio.driver.enable]: [1]

[gps.solution.combo.chip]: [1]

[init.svc.662x_launcher]: [running]

[init.svc.adbd]: [running]

[init.svc.ccci2_fsd]: [stopped]

[init.svc.ccci2_mdinit]: [stopped]

[init.svc.ccci_fsd]: [running]

[init.svc.ccci_mdinit]: [running]

[init.svc.factory_no_image]: [running]

[init.svc.mdlogger]: [running]

[init.svc.nvram_daemon]: [stopped]

[init.svc.ueventd]: [running]

[init.svc.wlanLoader]: [stopped]

[launcher2.allappsgrid]: [3d_20]

[launcherplus.allappsgrid]: [2d]

[mediatek.wlan.chip]: [MT6628]

[mediatek.wlan.ctia]: [0]

[mediatek.wlan.module.postfix]: [_mt6628]

[net.bt.name]: [Android]

[net.change]: [net.bt.name]

[nvram_init]: [Ready]

[persist.first_boot]: [0]

[persist.mtk.aee.aed]: [on]

[persist.mtk.aee.mode]: [3]

[persist.mtk.wcn.combo.chipid]: [0x6628]

[persist.radio.default_sim]: [0]

[persist.radio.default_sim_mode]: [12]

[persist.radio.fd.counter]: [15]

[persist.radio.fd.off.counter]: [5]

[persist.radio.fd.off.r8.counter]: [5]

[persist.radio.fd.r8.counter]: [15]

[persist.service.acm.enable]: []

[persist.service.adb.enable]: []

[persist.service.stk.gesture]: [0]

[persist.sys.boot_begin_light]: [1]

[persist.sys.first_time_boot]: [false]

[persist.sys.mute.state]: [2]

[persist.sys.profiler_ms]: [0]

[persist.sys.screen.size]: [800x480]

[persist.sys.timezone]: [Asia/Shanghai]

[persist.sys.usb.config]: [mass_storage,adb]

[ril.current.share_modem]: [2]

[ril.external.md]: [0]

[ril.first.md]: [1]

[ril.flightmode.poweroffMD]: [1]

[ril.radiooff.poweroffMD]: [0]

[ril.specific.sm_cause]: [0]

[ril.telephony.mode]: [1]

[rild.libargs]: [-d /dev/ttyC0]

[rild.libpath]: [/system/lib/mtk-ril.so]

[rild.nw.operlist]: [/system/etc/ril/oper.lis]

[ro.allow.mock.location]: [0]

[ro.audio.silent]: [0]

[ro.baseband.version]: [I9500XXUAMDK]

[ro.baseband]: [unknown]

[ro.board.platform]: []

[ro.boot.serialno]: [0123456789ABCDEF]

[ro.bootloader]: [unknown]

[ro.bootmode]: [unknown]

[ro.build.characteristics]: []

[ro.build.date.utc]: [1394457547]

[ro.build.date]: [2014s¦¦ 03µ£ê 10µùÑ µÿƒµ£ƒS+Ç 21:19:07 CST]

[ro.build.description]: [A109_base_mula-user 4.2.1 JOP40D eng.bz.1394457408 test

-keys]

[ro.build.display.id]: [JDQ39.I9500XXUAMDK]

[ro.build.fingerprint]: [MAC/A109_base_mula:4.2.1/JOP40D/eng.bz.1394457408:user/

test-keys]

[ro.build.flavor]: []

[ro.build.host]: [ubuntu]

[ro.build.id]: [JOP40D]

[ro.build.product]: [GalaxyS4]

[ro.build.tags]: [test-keys]

[ro.build.type]: [user]

[ro.build.user]: [bz]

[ro.build.version.codename]: [REL]

[ro.build.version.incremental]: [eng.bz.1394457408]

[ro.build.version.release]: [4.2.2]

[ro.build.version.sdk]: [17]

[ro.camera.sound.forced]: [0]

[ro.config.alarm_alert]: [Daybreak.ogg]

[ro.config.notification_sound]: [S_Whistle.ogg]

[ro.config.ringtone]: [S_Over_the_horizon.ogg]

[ro.config.sms_notifi_sound]: [S_On_time.ogg]

[ro.crypto.fs_flags]: [0x00000406]

[ro.crypto.fs_mnt_point]: [/data]

[ro.crypto.fs_options]: [commit=1,nodelalloc,noauto_da_alloc]

[ro.crypto.fs_real_blkdev]: [emmc@usrdata]

[ro.crypto.fs_type]: [ext4]

[ro.crypto.state]: [unencrypted]

[ro.custom.build.version]: [1394457408]

[ro.debuggable]: [0]

[ro.dummy.datasize]: [1600]

[ro.dummy.sdsize]: [1600]

[ro.factorytest]: [0]

[ro.hardware]: [mt6589]

[ro.kernel.version]: [3.4.5-526212 se.infra@SEP-111 #1 Tue Apr 23 23:00:57 KST 2

013]

[ro.mediatek.chip_ver]: [S01]

[ro.mediatek.gemini_support]: [true]

[ro.mediatek.platform]: [MT6589]

[ro.mediatek.version.branch]: [ALPS.JB2.MP]

[ro.mediatek.version.release]: [ALPS.JB2.MP.V1.3]

[ro.mediatek.version.sdk]: [1]

[ro.mediatek.wlan.p2p]: [1]

[ro.mediatek.wlan.wsc]: [1]

[ro.mount.fs]: [EXT4]

[ro.mtprof.disable]: [1]

[ro.myroot]: [1]

[ro.opengles.version]: [131072]

[ro.operator.optr]: [OP02]

[ro.operator.seg]: [SEGA]

[ro.operator.spec]: [SPEC0200]

[ro.product.board]: [GT-I9500]

[ro.product.brand]: [Samsung]

[ro.product.cpu.abi2]: [armeabi]

[ro.product.cpu.abi]: [armeabi-v7a]

[ro.product.device]: [GalaxyS4]

[ro.product.hw.version]: [V1.0]

[ro.product.locale.language]: [zh]

[ro.product.locale.region]: [CN]

[ro.product.manufacturer]: [Samsung]

[ro.product.model]: [GT-I9500]

[ro.product.name]: [GalaxyS4]

[ro.product.particular.version]: [V01]

[ro.revision]: [0]

[ro.secure]: [1]

[ro.serialno]: [0123456789ABCDEF]

[ro.setupwizard.mode]: [DISABLED]

[ro.sf.hwrotation]: [180]

[ro.sf.lcd_density]: [320]

[ro.sys.usb.bicr]: [yes]

[ro.sys.usb.charging.only]: [yes]

[ro.sys.usb.mtp.whql.enable]: [0]

[ro.sys.usb.storage.type]: [mtp,mass_storage]

[ro.wifi.channels]: []

[ro.zygote.preload.enable]: [0]

[sys.ipo.pwrdncap]: [2]

[sys.mtk.no.factoryimage]: [1]

[sys.usb.com_config]: [0]

[wifi.direct.interface]: [p2p0]

[wifi.interface]: [wlan0]

[wifi.tethering.interface]: [ap0]