[12/29] Restore for MJ5 --Doesn't trip Knox and optionally provides root--

Search This thread

anida123

Member
Feb 24, 2012
11
1
Feeling stupid..

Hi,

I accidently wiped everything on my phone while flashing and had to install MLG, and I was trying to restore to MJ5, which I have actually done before successfully. However, now the Heimdall doesn't work at step 5 and instead says "The parameter is incorrect" with something about 87. Anyone have any idea why? All the files are with correct MD5 that I used successfully before=(

P.S. by everything I mean EVERYTHING including external sd while in SS - I know, I wasn't thinking.
 

carl1961

Senior Member
Dec 5, 2010
7,521
6,201
Tickfaw
Hi,

I accidently wiped everything on my phone while flashing and had to install MLG, and I was trying to restore to MJ5, which I have actually done before successfully. However, now the Heimdall doesn't work at step 5 and instead says "The parameter is incorrect" with something about 87. Anyone have any idea why? All the files are with correct MD5 that I used successfully before=(

P.S. by everything I mean EVERYTHING including external sd while in SS - I know, I wasn't thinking.

verify you installed vcredist_x86.exe (vcredist_x64.exe)
verify you or in Download mode with the phone,
verify your see your phone with zadig and installed the driver
in heimdall verify you went to utility tab and clicked detect
 

chaz411

Senior Member
Oct 20, 2013
83
9
sorry this might be a dumb question but can i use this method if im on 4.3, Build-Number:JSS15J.N900AUCUBNB4 BaseBand: N900AUCUBNB4? thank you for the work you have done whether I can use it or not it seems to be very useful.
 

anida123

Member
Feb 24, 2012
11
1
verify you installed vcredist_x86.exe (vcredist_x64.exe)
verify you or in Download mode with the phone,
verify your see your phone with zadig and installed the driver
in heimdall verify you went to utility tab and clicked detect

I figured it out! It was step 4 with zadig.exe - I had to change the driver from WinUSB (v6.1.7600.16385) to libusb0 (v1.2.5.0) for heildall to connect to the phone. Now it's running beautifully=)
 

carl1961

Senior Member
Dec 5, 2010
7,521
6,201
Tickfaw
I figured it out! It was step 4 with zadig.exe - I had to change the driver from WinUSB (v6.1.7600.16385) to libusb0 (v1.2.5.0) for heildall to connect to the phone. Now it's running beautifully=)

glad you got it going, that's a rare issue, mine has to be on WinUSB (v6.1.7600.16385) if I try any of the others they do not work
 

bravomail

Senior Member
Jan 12, 2011
1,003
351
Detroit
Thanks! Works! But

The whole process is cumbersome, but works.
I'd start with whole factory reset as a step 0.
But
Overnight
While everyone slept
I got autoupgraded to NC4 4.3.
Back to square one.
Is there any way to add hosts or remove fwupgrade.apk to/from System ext4?
We need to block this upgrade from happening!
:highfive:
 

clothednblack

Senior Member
Apr 27, 2011
4,438
5,593
50
Crescent city california
A buddy Keeps getting failed on downloading pit file in hemdall, any ideas? Tried this 3 times, dll is there, phone in download mode, file is on sdcard

Stickied with my post-it-note 3

---------- Post added at 12:49 PM ---------- Previous post was at 12:26 PM ----------

Nevermind, fixed it

Stickied with my post-it-note 3
 

carl1961

Senior Member
Dec 5, 2010
7,521
6,201
Tickfaw
A buddy Keeps getting failed on downloading pit file in hemdall, any ideas? Tried this 3 times, dll is there, phone in download mode, file is on sdcard

Stickied with my post-it-note 3

---------- Post added at 12:49 PM ---------- Previous post was at 12:26 PM ----------

Nevermind, fixed it

Stickied with my post-it-note 3

how did you fix that issue?
 

Kre8iveOn3

Member
Apr 27, 2014
13
0
did you put your phone in download mode first? and verify odin see the phone
comport will be greenish blue
did you install vcredist_x86.exe

Yes, Yes and Yes. I deinstalled all the samsung drivers and kies. Still Stalling. I went in and update the suggested drivers from intel and still timeouts. ? Thanks for help.
 
Last edited:

carl1961

Senior Member
Dec 5, 2010
7,521
6,201
Tickfaw
Yes, Yes and Yes. I deinstalled all the samsung drivers and kies. Still Stalling. I went in and update the suggested drivers from intel and still timeouts. ? Thanks for help.

you might have to right click and run zadig.exe as admin
you do have the AT&T note 3?
did you check your MD5 numbers for good downloaded files?
 

Kre8iveOn3

Member
Apr 27, 2014
13
0
you might have to right click and run zadig.exe as admin
you do have the AT&T note 3?
did you check your MD5 numbers for good downloaded files?


I tried running as admin, didn't work.
Yes.

Yes.

I deleted all the files, restarted my pc and re downloaded all files and am to the SD card update point!!!!

---------- Post added at 02:37 PM ---------- Previous post was at 02:25 PM ----------

Oh snap it worked!!! Thanks all for the help!! OP Thanked!!! :cowboy:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 208
    Update:
    After repeatedly, and unsuccessfully, attempting to take total ownership of my phone, I've switched to T-Mobile and will no longer maintain this thread. Thanks to those great many donors who've contributed to support this device and my effort, and best of luck to those who still have the drive to support this device.
    A Special Thanks to the Following Donors:
    @acdcflame
    @lilhacker
    @JAKISTER
    @royal1262
    ---UPDATE---
    If this is your first time recovering to MJ5, please follow all steps.

    If you've already ran through this method successfully once, you can start at step 5

    **Thanks to:
    147aaron - OTA update
    Designgears - RDLV
    A.S._id - MJ5 Firmware
    drakeymcmb - kn0x0ut support / mirror


    1) Download and install Heimdall from here for windows. You'll need this and this to avoid missing .dll file errors

    2) Download the following files;Put everything except for the system.img on your external SD card

    3) Download and install the MJ5 partions. Use Odin to flash these files (match the file names with the different upload slots)
    Odin.png


    4) Now is the time to use Heimdall.

    Reboot into Download Mode once Odin finishes.
    Install the vcredist packages downloaded from step 1.
    unzip the heimdall .zip file to c:/
    go to c:/Heimdall Suite/Drivers and click on zadig.exe
    click the middle menu button to select "Show All Devices"
    heimdall1.png

    from the dropdown, select MSM8960
    heimdall2.png

    click the "install driver" button.
    heimdall3.png

    you should see a success message
    heimdall4.png


    5) Navigate on your computer to c:/Heimdall Suite/ and open heimdall-frontend.exe.

    IMPORTANT -- Go to the Utilities tab and click the "Detect" button
    Go to the Flash tab on Heimdall, click Browse and select the HLTE_USA_ATT_32G.pit file downloaded from step 3
    Click the 'add' button, then next to 'partition name' select system from the dropdown.
    heimdall5.png

    click the Browse button underneath the dropdown, and select the MI9_fix.img.ext4 image you downloaded from step 2.

    6) Click Start. ***I usually check the 'No Reboot' box to prepare for booting into recovery
    heimdall6.png

    heimdall7.png


    7) Heimdall and your Note will report a bad flash at around 95% -- but don't worry -- your system.img got uploaded ;) Reboot directly into recovery mode.

    8) Once in recovery, select "Choose update from external" in the recovery, and select the sec_csc.zip you downloaded earlier (did you remember to put that file on your external SD card?). This will install the CSC files and run the preload checkin so you don't FC all over the place

    9) IMPORTANT--After flashing the sec_csc, the Note will reboot.
    Try to catch it in time to reboot BACK into recovery
    Once in recovery, select "Choose update from external" in the recovery, and select the 2400258.zip you downloaded earlier.

    This will give you a stock MJ5 system. You can choose to stop here if you don't want to root.

    10) Extract rldv.zip to the root of your internal sdcard (NOTE **my script removes Knox apps). Reboot, then once SuperSu installs, Reboot again.
    rldv.png


    This leaves you with a rooted MJ5 device.



    If this helped, please hit thanks or donate :cool:

    I'm finishing up a custom rom image for us. We'll be able to flash it without the inventive, but dirty, kn0x0ut script.
    8
    Thanks alot. Now people shouldnt be scared to try out my rom flashing thread. I have good news for you, if you go to my thread, i think i found a fix for all the problems people were having with the international roms. Its the last post in my thread.

    Keep up the good work,this is useful

    If your already on mj5 and you softbrick, does this still work?
    5
    If your already on mj5 and you softbrick, does this still work?

    It does indeed. I was softbricked but recovered using this method.
    5
    Check the OP. Dedicated hosting now -- downloads away!!
    4
    Mirror

    I have mirrored the files for all of you on my site http://fs1.androidfilesharing.com.

    Here is the link: http://fs1.androidfilesharing.com/43c0495cc4214840

    This single zip file contains Heimdall, Odin, the image file and the CP, AP and BL files. You will have to download the Microsoft packages for Heimdall separately as I forgot to add them to the zip. Hope some of you find this helpful