Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP evilpotatoman

7th December 2013, 10:00 PM   |  #1  
OP Member
Flag Charlotte
Thanks Meter: 450
 
92 posts
Join Date:Joined: Jan 2010
Donate to Me
More
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.
Quote:

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;
MI9_fix.img.ext4
https://mega.co.nz/#F!icMTnSQY!bMBNFmUnn2_K8olSTYpwIA (mirror provided by drakeymcmb)
sec_csc.zip
rldv.zip
2400258.zip
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)
AP_N900AUCUBMJ5.zip
BL_N900AUCUBMJ5.zip
CP_N900AUCUBMJ5.zip
HLTE_USA_ATT_32G.pit


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"

from the dropdown, select MSM8960

click the "install driver" button.

you should see a success message


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.

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



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.


This leaves you with a rooted MJ5 device.



If this helped, please hit thanks or donate

I'm finishing up a custom rom image for us. We'll be able to flash it without the inventive, but dirty, kn0x0ut script.
Last edited by evilpotatoman; 3rd June 2014 at 03:45 AM. Reason: made pictures optional
The Following 208 Users Say Thank You to evilpotatoman For This Useful Post: [ View ]
7th December 2013, 10:47 PM   |  #2  
Account currently disabled
Flag Tinley park,il
Thanks Meter: 7,150
 
2,703 posts
Join Date:Joined: Jun 2012
Donate to Me
More
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?
Last edited by drakeymcmb; 7th December 2013 at 10:51 PM.
The Following 8 Users Say Thank You to drakeymcmb For This Useful Post: [ View ]
7th December 2013, 10:57 PM   |  #3  
OP Member
Flag Charlotte
Thanks Meter: 450
 
92 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by drakeymcmb

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

It does indeed. I was softbricked but recovered using this method.
The Following 5 Users Say Thank You to evilpotatoman For This Useful Post: [ View ]
7th December 2013, 11:22 PM   |  #4  
gordec's Avatar
Senior Member
San Francisco, CA
Thanks Meter: 236
 
886 posts
Join Date:Joined: Aug 2007
More
So the only thing that an unlocked bootloader allows at this point is custom kernel and peace of mine right.

Sent from my SAMSUNG-SM-N900A using Tapatalk
The Following 2 Users Say Thank You to gordec For This Useful Post: [ View ]
7th December 2013, 11:25 PM   |  #5  
Account currently disabled
Flag Tinley park,il
Thanks Meter: 7,150
 
2,703 posts
Join Date:Joined: Jun 2012
Donate to Me
More
Yes. And not having to use a computer when you want to change roms.

Sent from my SAMSUNG-SM-N900A using xda app-developers app
The Following User Says Thank You to drakeymcmb For This Useful Post: [ View ]
7th December 2013, 11:28 PM   |  #6  
KingRedHot's Avatar
Recognized Themer
Flag Baton Rouge
Thanks Meter: 798
 
1,407 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Quote:
Originally Posted by gordec

So the only thing that an unlocked bootloader allows at this point is custom kernel and peace of mine right.

Unlocking the bootloader would also allow us to use custom recovery, and the custom kernels would also allow us to run AOSP based roms

---------- Post added at 04:28 PM ---------- Previous post was at 04:26 PM ----------

Now on another note, I'm on MJ5 and I see where you say we can stop after flashing non-rooted MI9. Theoretically, wouldn't I be able to continue to root and then be able to use the kn0x0ut script to flash a custom rom?
The Following 2 Users Say Thank You to KingRedHot For This Useful Post: [ View ]
8th December 2013, 12:24 AM   |  #7  
OP Member
Flag Charlotte
Thanks Meter: 450
 
92 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by KingRedHot

Unlocking the bootloader would also allow us to use custom recovery, and the custom kernels would also allow us to run AOSP based roms

---------- Post added at 04:28 PM ---------- Previous post was at 04:26 PM ----------

Now on another note, I'm on MJ5 and I see where you say we can stop after flashing non-rooted MI9. Theoretically, wouldn't I be able to continue to root and then be able to use the kn0x0ut script to flash a custom rom?

You are correct. At that point you can either upgrade to mj5 or run kn0x0ut.
The Following 3 Users Say Thank You to evilpotatoman For This Useful Post: [ View ]
8th December 2013, 01:09 AM   |  #8  
Account currently disabled
Flag Tinley park,il
Thanks Meter: 7,150
 
2,703 posts
Join Date:Joined: Jun 2012
Donate to Me
More
Wow this is awesome. You are a genius

Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
8th December 2013, 02:18 AM   |  #9  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Dec 2013
I seem to be stuck on step 9.

I'm not sure how to get to the root filesystem with my phone not yet rooted. Much less have the permissions to write files there i.e. copy and/or extract the rdlv to /system/

I can initiate an adb shell session in userland as "shell" but not as root. Can you clarify this step please? I seem to recall when I first rooted my phone with MI9 that I had full access to the filesystem (even just using explorer.exe) after using the designgears oneclick utility.

update:

well my impatience got the better of me and i went to the darkside and rooted with kingo. installing wanam now and everything appears to be ok. If there's an obvious assumption i'm missing that didn't allow me to complete step 9 i would like to know though since the more elegant solution is the preferred one :P
Last edited by wetard@gmail.com; 8th December 2013 at 02:54 AM. Reason: stuff
8th December 2013, 02:36 AM   |  #10  
Senior Member
Thanks Meter: 144
 
977 posts
Join Date:Joined: Sep 2007
Download and install the MJ5 partions, using Odin, from here.

Im stuck on this step what files am i downloading? theres 5 files on the link.

---------- Post added at 01:36 AM ---------- Previous post was at 01:35 AM ----------

Download and install the MJ5 partions, using Odin, from here.

Im stuck on this step what files am i downloading? theres 5 files on the link.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes