Lollipop Pre-Rooted TWRP Flash

Greaper88

Senior Member
Oct 28, 2014
152
93
48
What we have hare is a TWRP flashable of Lollipop that is pre-rooted, and will only overwrite the "System," "Boot," and "Modem" partitions. I performed a factory reset before performing the backup anyways. It will not overwrite the EFS, data, or cache partitions, so previously installed apps might stay, but no promises, so be prepared to lose all your apps. If your phone doesn't act right, perform a factory restore and wipe your Cache/Dalvik. It is recommended to do a full backup before flashing this image.

To install, install TWRP (if not already), and un7zip (7-zip on PC or ES File Explorer on Android) the folder from the TWRP file link into:
"/TWRP/backups/<device serial number>/" (The serial numbered folder will be present if a backup of something has been made from TWRP.)
Then boot into TWRP and 'Restore' "Sprint Note 3 Lollipop Prerooted."

You can Odin the TWRP file from here:
http://dl.twrp.me/hltespr/twrp-2.8.6.1-hltespr-4.4.img.tar

And here is the TWRP file:
Sprint Note 3 Lollipop prerooted.7z
https://drive.google.com/open?id=0B2iEgzRTFjrQWVVzSkdUMlVMUkk&authuser=0

I forgot to do this before making the image, but this app fixes SD write permissions no problem:
https://play.google.com/store/apps/...sdfix&pcampaignid=APPU_1_yNg1VcDzJLTasAS274Fo

I don't know how much bandwidth Google will allow before flipping people the bird. If this happens, let me know and I'll get another method of sharing worked out.
 
Last edited:

mhoepfin

Senior Member
Jan 9, 2006
412
114
0
This looks like it will get me to the latest firmware/modem easily, but don't want to be the Guinea Pig. Anyone else have success with this?
 

lord dredd

Senior Member
Apr 4, 2011
1,838
581
113
Did you try flashing the System as well? I know mine is OC5
As far as my knowledge goes , you cant flash a modem via recovery , no matter what
It has to be done via odin .
so its better to restore the image and then straight away boot in download mode and flash the modem via odin ( if there is available an ODIN image for the OC5 modem ) and then do a reboot

But the rom will work fine with NK4 provided the firmware version is the same that is NK4 as any lower bootloader wont let it boot after the first Reboot.
 
Last edited:
  • Like
Reactions: kingdazy

Greaper88

Senior Member
Oct 28, 2014
152
93
48
As far as my knowledge goes , you cant flash a modem via recovery , no matter what
It has to be done via odin .
so its better to restore the image and then straight away boot in download mode and flash the modem via odin ( if there is available an ODIN image for the OC5 modem ) and then do a reboot

But the rom will work fine with NK4 provided the firmware version is the same that is NK4 as any lower bootloader wont let it boot after the first Reboot.
OK, so how does the ota update flash the modem?

And basically, as long as the bootloader is compatible, it doesn't matter too much?
 
Last edited:

lord dredd

Senior Member
Apr 4, 2011
1,838
581
113
OK, so how does the ota update flash the modem?

And basically, as long as the bootloader is compatible, it doesn't matter too much?
I was referring to the custom recovery. I dont know how ota does that. Butvi am more than 100 % sure that you can't flash the modem with a custom recovery . its a well known fact now .

Sent from THE NOTE 3 .. size matters and so does the battery backup .....
 
  • Like
Reactions: kingdazy

tx_dbs_tx

Senior Member
Jan 19, 2009
2,019
8,712
113
Texas, USA
I was referring to the custom recovery. I dont know how ota does that. Butvi am more than 100 % sure that you can't flash the modem with a custom recovery . its a well known fact now .

Sent from THE NOTE 3 .. size matters and so does the battery backup .....
Actually that is not true. You can flash the modem.bin in recovery. You need the devblock/partition and then add the script to the updater in the zip. You'll need the correct binary as well in order to flash it but you have that already.

I was just looking for some stock note 3 lollipop framework & apk's for some work i'm doing and come upon this thread. I thought i'd give my input on the modem flashable thing while i was here.
 
  • Like
Reactions: rbeavers

leond

Senior Member
Jul 15, 2008
418
145
63
Boston
Actually that is not true. You can flash the modem.bin in recovery. You need the devblock/partition and then add the script to the updater in the zip. You'll need the correct binary as well in order to flash it but you have that already.
.
Can you please elaborate on this? I was looking for TWRP flashable modem for note 3 and did not find one neither for Sprint nor for any other carrier.
I tried to create an ODIN flashable modem. It looks like modem.emmc.win has the same format as modem.bin (at least the same header and similar size) so i just renamed modem.emmc.win to modem.bin then used:
c:\cygwin420\bin\tar -H ustar -c modem.bin > modem.tar
c:\cygwin420\bin\md5sum -t modem.tar >> modem.tar
copy modem.tar modem.tar.md5

info came from this guide: [TUTORIAL] How to repackage ODIN files and then tried to flash resulting file via ODIN , but that failes with : "secure check fail modem"
 

tx_dbs_tx

Senior Member
Jan 19, 2009
2,019
8,712
113
Texas, USA
Can you please elaborate on this? I was looking for TWRP flashable modem for note 3 and did not find one neither for Sprint nor for any other carrier.
I tried to create an ODIN flashable modem. It looks like modem.emmc.win has the same format as modem.bin (at least the same header and similar size) so i just renamed modem.emmc.win to modem.bin then used:
c:\cygwin420\bin\tar -H ustar -c modem.bin > modem.tar
c:\cygwin420\bin\md5sum -t modem.tar >> modem.tar
copy modem.tar modem.tar.md5

info came from this guide: [TUTORIAL] How to repackage ODIN files and then tried to flash resulting file via ODIN , but that failes with : "secure check fail modem"
I don't know the devblock for the modem on the Note 3 but once you get that you can add a line to your updater-script inside the zip and it will flash the modem in recovery.
The line will be similar to this...

package_extract_file("modem.bin", "/dev/block/platform/msm_sdcc.1/by-name/modem"); Do some searching and maybe somebody has already pulled the devblocks for dev/chef's to use as references. You can make an odin flashable mode but that's a totally different beast. The point of my post was that you CAN do it in recovery easily.

Edit: Here is the mount point for the Sprint note 3 modem...
/dev/block/mmcblk0p2
also you can do it this way... /dev/block/platform/msm_sdcc.1/by-name/modem like i suggested above. If you know how to create flashable zips then all you need to do is put it together and bam... you have a recovery flashable modem. No need to go through all the trouble with creating an odin flashable... that's a lot more unecessary work.
 
Last edited:

rbeavers

Senior Member
Jul 5, 2010
1,485
249
0
Columbus Ohio
Can you please elaborate on this? I was looking for TWRP flashable modem for note 3 and did not find one neither for Sprint nor for any other carrier.
I tried to create an ODIN flashable modem. It looks like modem.emmc.win has the same format as modem.bin (at least the same header and similar size) so i just renamed modem.emmc.win to modem.bin then used:
c:\cygwin420\bin\tar -H ustar -c modem.bin > modem.tar
c:\cygwin420\bin\md5sum -t modem.tar >> modem.tar
copy modem.tar modem.tar.md5

info came from this guide: [TUTORIAL] How to repackage ODIN files and then tried to flash resulting file via ODIN , but that failes with : "secure check fail modem"
Here is Just My Lollipop Modem.
TWRP recovery.

https://app.box.com/s/w9cs93h3ftmw2g8tgblmvv81ci0g5ulq
 

leond

Senior Member
Jul 15, 2008
418
145
63
Boston
Your right, tried to duplicate, no go.
Guess We have to wait for the Devs.
Something is really wired:
Someone has posted a complete stock odin tar file here (ROM)(ODIN)OC5 stcock firmware tar
most (but not all) people report that after flashing baseband gets updated to OC5. I took the tar and repackaged first to only include modem.bin & NON-HLOS.bin like the rest of the odin modem tars. Now it successfully FLASHes with odin but after reboot it still says NK4 in baseband.
I went even further and created a tar that has everything besides system, cache and recovery - again it flashes successfully but but after reboot it still says NK4 in baseband. It almost loks like the update is done but the version number is not updated somewhere.
i can post links to files if anyone wants to try as well
 

leond

Senior Member
Jul 15, 2008
418
145
63
Boston
Ok, I was finally able to update basdeband to OC5. to do so I had to go back to NH7 modem first. For some reason it would not upgrate modem from NK4 to OC5 doesn't matter what i did, but went from NH7 to OC5 in the first try. so here is what i did:
1) Downgrade modem to NK4 using this:
http://www.mediafire.com/download/jk7qevy1swwfw2e/N900PVPUDNK4+MODEM+BOOTLOADER.zip
The link and instructions are provided by this thread: [ROM] kk 4.4.4 [N900PVPUDNK4] NO KNOX [DEODEX]

Download zip above ( NK4 modem and bootloader )
Extract the zip files
Boot into download mode
Use odin 3.07 from zip click PDA box flash modem first (you should be able to use any other version of Odin as well)
I did not FLASH the bootloader. The NK4 odin tar file contains 2 files : modem.bin and NON-HLOS.bin So I prepared the OC5 modem tar with the same files from OC5 stock tar.
Reboot and make sure your baseband now ends with NK4. After a minute or so the popup came up saying system is being updating. Wait until it's done and reboot to download mode again.
2) Download OC5 modem and bootloader zip file from the link below and extract:
https://www.mediafire.com/?6qeh035h9xh60ng

Now you can flash OC5 modem,. reboot in to Download mode again and follow the same steps as above, but select modem-OC5.tar.md5, flash, reboot in to Download mode for the 3rd time and upgrade bootloader using bootloader-OC5.tar.md5 file (in Odin click the bootloader box flash bootloader).
reboot, verify that your baseband is now OC5
 
Last edited: