Repair Samsung modem no signal no wifi after OS upgrade

download and compile Heimdall suite from source.

https://wiki.cyanogenmod.org/w/Install_and_compile_Heimdall#Windows

INSTALL CYGWIN FIRST. RUN THROUGH THE SETUP PROCESS, KEEP CLICKING NEXT TO ACCEPT THE DEFAULTS. YOU NEED C:CYGWIN64BINCYGWIN1.DLL TO EXIST

Compile with CMake

Download and install MSYS2 to set up a MinGW-W64 build environment. After installing, a terminal will launch. Issue the following commands:

$ pacman -Syu
$ pacman -S mingw-w64-x86_64 mingw-w64-x86_64-clang mingw-w64-x86_64-cmake mingw-w64-x86_64-libusb mingw-w64-x86_64-qt5-static make git
$ export PATH="/mingw64/bin:$PATH"
$ git clone git://github.com/Benjamin-Dobell/Heimdall.git
$ mkdir -p Heimdall/build
$ cd Heimdall/build
$ cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DQt5Widgets_DIR=/mingw64/qt5-static/lib/cmake/Qt5Widgets ..
$ make

After compiling, open a command prompt/Explorer window and navigate to%msys64%home%username%Heimdallbuildbin (where “%msys64%” is the directory you installed MSYS2 to, C:msys64 by default). There should now be two executable files in that folder: heimdall.exe and heimdall-frontend.exe. You can run them from that directory or move them to a more suitable location. Navigate to%msys64%home%username%HeimdallWin32Drivers for the Zadig (driver) executable.

heimdall-frontend.exe may compile with an error. It’s OK; you don’t need it.

Get the full odin system image (.tar.md5 file), extract it with 7-zip.

NON-HLOS.bin = LTE modem

modem.bin = 3G modem

Plug the phone into the PC, start it up in bootloader (home + volume down), run Zadig.exe (in heimdall suite) to replace driver for msm8960 device.

Download the PIT file with heimdall to know what the partitions are. heimdall.exe download-pit –output pit.pit

Open the file in notepad++ or anything. The partition names are listed in plain text. e.g. on the Tab4 t337t, they were APNHLOS and MODEM. Those names will be needed for the command switches when flashing.

Copy the modem & non-hlos bin files into the compiled heimdall directory to make your life easier.

Run the command below to flash the firmware to respective partitions:

C:msys64homechrisHeimdallbuildbin>heimdall.exe flash –APNHLOS NON-HLOS.bin –MODEM modem.bin
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection…
Detecting device…
Claiming interface…
Setting up interface…

Initialising protocol…
Protocol initialisation successful.

Beginning session…

Some devices may take up to 2 minutes to respond.
Please be patient!

Session begun.

Downloading device’s PIT file…
PIT file download successful.

Uploading APNHLOS
100%
APNHLOS upload successful

Uploading MODEM
100%
MODEM upload successful

Ending session…
Rebooting device…
Releasing device interface…

And it works!

Advertisements

Fastboot boot from image

You can boot directly from an image on the PC without flashing it; for example, if the flash memory in the phone is corrupt and won’t allow the flash.

Make sure to fastboot oem unlock the phone first, if it isn’t already.

fastboot flash [imagename].img

Nexus 10 start to bootloader

Hold down both volume buttons and power for bootloader.
In stock recovery, press power and quickly press volume up (the one further away from the power button) to show the menu. Really, you should flash a new recovery while in the bootloader.

Android reflash system without wiping data

Download factory image – depends on device. (tgz file?) Unzip all files. There will be a bootloader file and another zip file containing boot.img, cache.img, system.img

fastboot flash bootloader bootloader-hammerhead-hhz12d.img (example filename)
Reboot the bootloader.
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash system system.img
fastboot reboot
echo “Done this is a dummy line – to make the above line run in case you are copying this directly into the shell”

Apply OTA update manually (ADB over USB)

1. Download correct OTA update package (must match current version on device)
2. Acquire USB driver (Nexus: http://developer.android.com/sdk/win-usb.html)
3. Run adb reboot bootloader
4. Use the volume up/down keys to navigate to “Recovery mode”, then press the power button.
When the Android with the red exclamation point appears, hold down power first, followed quickly by volume up. You should now see the recovery menu.
5. Use the volume up/down keys to select “apply update from ADB,” then press power to select it.
6. Force driver install – Android ADB Interface
7. adb sideload [filename]
8. Wait and pray that it works.

If it doesn’t work – which it didn’t for me – get the original full image and flash that. Flash system without wiping data

Create a free website or blog at WordPress.com.

Up ↑