Ok, in my case I had already upgraded to an MLD baseband, and after messing around with some ROMs, couldn't get back into safestrap recovery. I don't know if this will work if you've upgraded to NB1 or NC1, maybe someone else can chime in.
1. Install heimdall. It's in the ubuntu repositories. Also, put the towelroot and safestrap (I used v. 3.72) apks, as well as a kitkat ROM (no need for it to be pre-rooted). Also get the Deadly Venom safestrap kit, version 2 MLD/MK2 and save to your computer. Get the mldmodules.zip file and place on your SD card as well.
2. Download the appropriate firmware. In this case, you're looking for stock MK2/ I337. I got it from this link, and used the 4 separate files in post #1.
3. Untar the files. You can either rename the *.md5 files, removing the md5 extension, or just tar -xvf each file. You should end up with boot.img, cache.img.ext4, hidden.img.ext4, JFLTE_USA_ATT_16G.pit, modem.bin, NON-HLOS.bin, persdata.img.ext4, recovery.img, rpm.mbn, sbl1.mbn, sbl2.mbn, sbl3.mbn, system.img.ext4, and tz.mbn.
4. Put your device in download mode by pressing volume down + power, then letting go of power button. Connect your USB cable.
5. Run the following commands, which I got from here.
Code:
sudo heimdall flash --RECOVERY recovery.img --SYSTEM system.img.ext4 --HIDDEN hidden.img.ext4 --BOOT boot.img --no-reboot
I added the no-reboot option because I was able to see the errors on the device screen. I then rebooted back into download mode.
Code:
sudo heimdall flash --MDM modem.bin --APNHLOS NON-HLOS.bin --ABOOT aboot.mbn --BOOT boot.img --TZ tz.mbn
At this point I rebooted again, and it booted, but hung at the AT&T logo. I rebooted and it started normally. I didn't actually use the next step.
Code:
sudo heimdall flash --CACHE cache.img.ext4
And Poof! You're back to stock. At this point, go to My Files, and find the towelroot apk, and install it. Then install safestrap. Reboot to recovery (power + vol up), wipe everything except your SD under advanced wipe, and install your ROM. Don't reboot here--install the mldmodules.zip file. Now reboot back into download mode.
Unrar (or whatever, I forget how it was compressed) the Deadly Venom kit. You should end up with an MLD directory. Go to the MLD Odin Files directory, and untar the md5 files there. Again, you can rename them first or not. You should end up with:
modem.bin, recovery.img, sbl1.mbn, sbl3.mbn, ap_mld_safestrap.tar, bl_mld_safestrap.tar, boot.img, cp_mld_safestrap.tar.md5, NON-HLOS.bin, rpm.mbn, sbl2.mbn, and tz.mbn.
Ok, so here's where I did some guessing. I don't know how to use Heimdall, and I couldn't make sense of the front end. I did some trial and error, and here's the command that I ended up with that worked:
Code:
sudo heimdall flash --RECOVERY recovery.img --BOOT boot.img --ABOOT aboot.mbn --APNHLOS NON-HLOS.bin --MDM modem.bin --SBL1 sbl1.mbn --SBL2 sbl2.mbn --SBL3 sbl3.mbn --TZ tz.mbn --RPM rpm.mbn
Now reboot, and you should be in business. You may need to run towel root again. Oh, and I was getting a lot of weird errors when I was trying to flash with heimdall--I think it ended up being a flaky USB controller on my computer (or maybe a bad USB cable). The install kept hanging. Changing to a different computer solved the problem.
I stumbled through a lot of this, so if there is any redundancy, or if someone wants to improve on this, please do. But hopefully this helps someone...
Related
How to install JSS15J.XXUEMI8 heimdall :
1. / Need to UNTAR the ROM (http://hotfile.com/dl/248214423/348a5e3/I9505XXUEMI8_I9505OXAEMI8_I9505XXUEMI8_OXA.zip.html ) all files in the same folder ( tar -xvf nameoftheyouneedtountar )
2. / Get heimdall ( http://www.glassechidna.com.au/products/heimdall/ )
3. / Open Terminal
4. / Change directory of your terminal in location of your UNTAR ROM
5. / execute with command line ( inspired by http://forum.xda-developers.com/showthread.php?t=2317311 )
heimdall flash --APNHLOS NON-HLOS.bin
heimdall flash --ABOOT aboot.mbn
heimdall flash --BOOT boot.img
heimdall flash --HIDDEN hidden.img.ext4
heimdall flash --MDM modem.bin
heimdall flash --RECOVERY recovery.img
heimdall flash --RPM rpm.mbn
heimdall flash --SBL2 sbl2.mbn
heimdall flash --SBL3 sbl3.mbn
heimdall flash --SYSTEM system.img.ext4
heimdall flash --TZ tz.mbn
heimdall flash --CACHE cache.img.ext4
You need to respect this order.
At Every step the phone Will reboot, go to download mode at every step by press down volume when the go black.
PS : mac user and libusbx issue (kies kext need to be unload) :
sudo kextunload -b com.devguru.driver.SamsungComposite
sudo kextunload -b com.devguru.driver.SamsungACMData
sudo kextunload -b com.devguru.driver.SamsungACMControl
PS2 : i don't know if it is the right place to post that.
PS3 : wifi and 3G/4G is actually working.
Work with : I9505XXUEMJ5_I9505OXAEMJ5_I9505XXUEMJ5_HOME
up
Hey guys. I don't have a windows computer anymore and I'm trying to restore my wife's i9505 back to stock. Is there a one click file for heimdall I can use. I've been searching everywhere and can't find one. Thanks
Sent from my GT-N7100 using Tapatalk
Goneeuro said:
Hey guys. I don't have a windows computer anymore and I'm trying to restore my wife's i9505 back to stock. Is there a one click file for heimdall I can use. I've been searching everywhere and can't find one. Thanks
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Use this for reference:
http://andmod.blogspot.nl/2013/02/tutorial-flashing-i9000-i9100-or-i9300.html
You need to get the correct .pit file for the I9505.
You can also do it from the command prompt:
heimdall flash --APNHLOS NON-HLOS.bin
heimdall flash --ABOOT aboot.mbn
heimdall flash --BOOT boot.img
heimdall flash --HIDDEN hidden.img.ext4
heimdall flash --MDM modem.bin
heimdall flash --RECOVERY recovery.img
heimdall flash --RPM rpm.mbn
heimdall flash --SBL2 sbl2.mbn
heimdall flash --SBL3 sbl3.mbn
heimdall flash --SYSTEM system.img.ext4
heimdall flash --TZ tz.mbn
heimdall flash --CACHE cache.img.ext4
Click to expand...
Click to collapse
You can also do it one command: "heimdall flash --ABOOT aboot.mbn --BOOT boot.img" etc etc
Thanks. Hope all goes well tonight.
Sent from my GT-N7100 using Tapatalk
I have totally messed up my phone trying to flsah twrp its a samsung a300 fu
and now will only boot into twrp nothing else ive tried flashing a new rom from there but with no joy.
Im attempting to put a stock rom back on the phone im using A300FXCU1BOK3_A300FOJV1BOI1_A300FXXU1BOK3_HOME.tar.md5 which as im on linux im trying to flash using heimdall
so i have the following files / partitions
File Partition
aboot.mbn ABOOT
boot.img BOOT
cache.img.ext4 CACHE
hidden.img.ext4 HIDDEN
hyp.mbn
modem.bin MODEM
NON-HLOS.bin APNHLOS
recovery.img RECOVERY
rpm.mbn RPM
sbl1.mbn SBL1
sec.dat sec
system.img.ext4 SYSTEM
tz.mbn
Click to expand...
Click to collapse
So i am left with two files tz.mbn and hyp.mbn wihch i have no idea where to put in Heimdall can any oe gibe me a heads up as to where
therse two should go and if im even on the right track.
Cheers Dunryc
sure every one knew the answer but putting it here just oin case
aboot.mbn ABOOT
boot.img BOOT
cache.img.ext4 CACHE
hidden.img.ext4 HIDDEN
hyp.mbn QHEE
modem.bin MODEM
NON-HLOS.bin APNHLOS
recovery.img RECOVERY
rpm.mbn RPM
sbl1.mbn SBL1
sec.dat sec
system.img.ext4 SYSTEM
tz.mbn QSEE
Click to expand...
Click to collapse
Flash through windows if possible
If not then:
Open the tar.md5 file using any archiver.
Extract recovery.img
Put it into your sd card
Put sd card in phone
Boot into twrp
Go to install.
Where it is written images tap so it changes to zip
Navigate to your sd card where file is placed
Install recovery.img
Reboot
Sent from my SM-A500F using XDA-Developers mobile app
In TWRP go to "Reboot" and then "System".
My galaxy A3 always boot to twrp by itself but from TWRP I can boot normally.
EDIT: Works on TWRP 2.8, not 3.0
Hello everyone,
My version is HM201413 EU could somebody gently provide me a zip for firmware update (*.bin) or zip ?
I flashed the following zip, thinking that it was for my phone version, which apparently is not:
https://drive.google.com/file/d/0B79XcvnRFAc5WldyYVJ0YWpVOU0/view
I was just thinking if it would be possible via fastboot to override these files with the latest ones for my phone, since I took some pictures which i do not want to loose therefore if someone could give me the way via fastboot to just override this elements it would be great:
Can somebody support me here?
Thank you!!
Hi guys,
Sorted it out already.
Basically I've downloaded the 201413 ROM and grabbed the same files that were replaced on the zip:
Code:
NON-HLOS.bin
emmc_appsboot.mbn
hyp.mbn
rpm.mbn
sbl1.mbn
tz.mbn
then I've downloaded Minibal adb and fastboot, putted my phone in fastboot and typed the following commands:
Code:
fastboot flash aboot emmc_appsboot.mbn
fastboot flash hyp hyp.mbn
fastboot flash rpmbak rpm.mbn
fastboot flash sbl1 sbl1.mbn
fastboot flash tz tz.mbn
fastboot reboot
That is it this way I could do my firmware upgrade without loosing any information.
Is it possible to root DQB2 with CF-ROOT DPD3? CF-Auto-Root homepage, dont have DQB2, only MMB29M.G900W8VLU1DPD3.
My Bluetooth dont work on custRom Nougat and try update for fix this problem.
Thanks.
Modem and Bootloader G900W8VLU1DQB2 work with ROM 7.1.2_r2★★VanirAOSP+Commotio★★(06/04/17)
So, Niisan, My Car Bluetooth, no compatible with Nougat for me.
Thanks degener8
Download the full stock firmware file
Extract the .tar.md5 file (I am using 7zip for all extraction/compression as it supports all formats)
Open the .tar.md5 in 7zip
For modem: grab "modem.bin"
For bootloader: grab the following
aboot.mbn
rpm.mbn
sbl1.mbn
sdi.mbn
tz.mbn
Compress the file (or files) with 7zip using TAR compression (leave all settings alone, "store" compression level is what i used)
take the resulting tar file and flash using ODIN (BL for bootloader; CP for modem)
by degener8; 31st December 2016 at 10:28 AM. Reason: Added steps to reproduce.