• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

drakeymcmb

Senior Member
Jun 22, 2012
2,705
7,094
31
Tinley park,il
thanks again drakey for mirrors and evil for the awesome work. After a night of no sleep i'm nearly back to stock. However i'm stuck on step 10 (installing root). I extracted the files to root of internal memory ( 2 files - one is a folder called "1" and other is the .sh file) and when i reboot supersu is not installing and i'm not obtaining root. Any suggestions? FWIW i couldn't get heimdall for the life of me to install (possible driver issue?) but i was able to extract designgears tar mi9 image and successfully odin'ed that and after odining the partitions and applying csc file from external all is well. Just need root to finish. Also if anyone else gets stuck or has similar situation don't take the ota update since you will bootloop again and have to start all over (i couldn't resist- was so frustrated!! thanks again


Looks like my heimdall dont work anymore. What do you mean of extracted mi9 image and flashed it. Please explain because i might have to do the same thing.
 
  • Like
Reactions: rawhide85

evilpotatoman

Senior Member
Looks like my heimdall dont work anymore. What do you mean of extracted mi9 image and flashed it. Please explain because i might have to do the same thing.

Don't do this. You won't be able to root and your phone will get caught in a bootloop due to an invalid inode pointer.

Make sure to run zadig.exe every time, and ensure the winusb lib is reported as the libusb driver, not ssusbd(or whatever. Starts with ss though)
 

drakeymcmb

Senior Member
Jun 22, 2012
2,705
7,094
31
Tinley park,il
Don't do this. You won't be able to root and your phone will get caught in a bootloop due to an invalid inode pointer.

Make sure to run zadig.exe every time, and ensure the winusb lib is reported as the libusb driver, not ssusbd(or whatever. Starts with ss though)

lol too late, i already did it and kept getting force closes on boot, but i applied the csc and now it works fine.
 
  • Like
Reactions: rawhide85

evilpotatoman

Senior Member
lol too late, i already did it and kept getting force closes on boot, but i applied the csc and now it works fine.

Use a non-root explorer and check your /system/xbin folder. Whatev you do, don't put the stock root_de_la_vega.sh file on your sd, you'll be eating bootloops for breakfast.

That method is stable enough to run, and if you want to keep it and lose that annoying knox notification, just unzip the attached file on your sdcard and reboot.

http://firmware-files.com/shuddup_inode.zip
 
Last edited:
  • Like
Reactions: rawhide85

evilpotatoman

Senior Member
im going to flash xnote right now. i just rooted with kingo

---------- Post added at 05:30 AM ---------- Previous post was at 05:16 AM ----------

dude this is impossible to root, nothng is working?

It's the partition error referenced in the OP :p

You sort of have root access through the .sh script, but if you try to write anything to xbin, you'll bootloop. and if you can't remove the .sh (or rename it like in my script) you'll bootloop.

The only way to restore root is to flash my modded img with heimdall
 
  • Like
Reactions: rawhide85

mikeyhim

Member
Dec 9, 2013
6
1
I wonder if I flash this MI9 on my rooted MJ5 now, the regionlock away works again

Sent from my IM-A870K using XDA Premium 4 mobile app

Can somebody help?
Because I saw this method it will generate a hybrid MI9 on MJ5
Of course the modem is MI9 too.
I wonder at that moment it will be successful if I use Regionlock away, because it fails on MJ5
 

evilpotatoman

Senior Member
Can somebody help?
Because I saw this method it will generate a hybrid MI9 on MJ5
Of course the modem is MI9 too.
I wonder at that moment it will be successful if I use Regionlock away, because it fails on MJ5

I'm sorry - I wouldn't know the outcome of that. I am not sure with you can downgrade the modem.bin file from MJ5 to MI9, but you could try it with heimdall. (I don't guarantee knox 0x0 though)

Here's the modem for MI9

The only thing thats MI9 in my original method are the system files.
 

evilpotatoman

Senior Member
@evilpotatoman Do you have the Samsung drivers installed? Can u check by going under programs, on your pc.

Sent from my SAMSUNG-SM-N900A using xda app-developers app

I do. And KIES. When I need to switch from odin to heimdall and heimdall to odin, I open up my device manager, right click on my phone in dload mode, and uninstall the device (but don't delete the driver)
 

evilpotatoman

Senior Member
what if i stop at step 10?
after rooting my phone and stay at a hybrid

Like I mentioned, everything that MJ5 is about is restrictions. Once we OTA the device, there aren't too many options for us to revert to an earlier set of firmware.

Everything except the MI9_fix.img.ext4 (on your device, this file is the /system folder) I've provided in the OP is MJ5. I am just not sure if it would work. You'd need to "try and see" if the mi9 modem.bin flashes successfully in heimdall.
 

drakeymcmb

Senior Member
Jun 22, 2012
2,705
7,094
31
Tinley park,il
Can u please breakdown, EXACTLY the process when you prepare to use hemidall, I really want to get back to developing knoxout, but need my phone rooted lol. :D

Sent from my SAMSUNG-SM-N900A using xda app-developers app
 

evilpotatoman

Senior Member
Pic? Thanks

Sent from my SAMSUNG-SM-N900A using xda app-developers app

Sorry -- I'm on my 'nix machine right now :crying:

here are the steps though:

At a command prompt, in the Start Search box, or in the Run box, type the following command:

mmc devmgmt.msc


Right-click the specific device you want (it would be at the veeeerrrryyyy bottom of the list under 'USB devices' if you're stuck on the heimdall drivers), and then click Uninstall. You can also double-click the device, and then on the Driver tab, click Uninstall.

Don't delete the driver, just uninstall the device.

Then, at the top of the Device Manager window, click the "Scan my PC for Changes" option, and it should re-install the samsung driver automatically if your phone is plugged in.

then, start zadig.exe, check the "display all devices" and select the MSM device from the dropdown. Make sure to install the WINusb driver (at least, that's what I use without issue)
 

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