[RECOVERY][jflteatt] TWRP 3.1.1-0 touch recovery [2017-05-19]

burningembers

Senior Member
Sep 11, 2010
418
195
0
Oops! It was probably the typo. loki_flash.c works fine.

Nonetheless, I did it manually: dd of=/dev/block/platform/msm_sdcc.1/by-name/recovery if=/data/local/tmp/openrecovery-twrp-2.5.0.1-jflteatt.lok

And it worked great. Do not recommend.
 
A

axan

Guest
It worked, successfully installed twrp but after booting to recovery, twrp can't decrypt my phone :( it says invalid password even though I know I'm entering the password right.
 

jawonder

Senior Member
Nov 29, 2010
2,644
357
163
Boynton Beach, FL
Attached is TWRP 2.5.0.1 in Loki format. Curious about Loki? See Dan Rosenberg's (@djrbliss) disclosure on unlocking the bootloader here.

This was made for JDQ39.I337UCUAMDL so I believe you will need the OTA to properly use it (for aboot from the OTA specifically).

I can't take screenshots in recovery but I've tested and it is working.

Steps:

1) Download the attached zip and extract the .lok file to your desktop. Download loki_flash from Dan's GitHub here.
2) Push loki_flash and the .lok file with adb
- adb push loki_flash /data/local/tmp
- adb push openrecovery*.lok /data/local/tmp
3) Using the device, flash the recovery image.
- adb shell
- su
- cd /data/local/tmp
- chmod 755 loki_flash
- ./loki_flash recovery openrecovery-twrp-2.5.0.1-jflteatt.lok
4) Reboot into recovery and enjoy!

ALL THANKS TO DAN ROSENBERG and the creators of TWRP. I just used their tools to put this together for the less inclined.
So let me get this straight, if i'm on JDQ39.I337UCUAMDL which i am and i'm rooted, all i have to do is follow the instruction above and this will take care of the Boatloader and i will have TWRP installed ?. I download the TWRP zip and i notice it's not an image file it's like a text file is that correct ?.
 
Last edited:

Proweedsmoker

Senior Member
Dec 11, 2012
199
34
0
Sorry to post in the AT&T section, but would some kind and generous soul please post a "how to" guide for TWRP on VZW in our forums? I love TWRP... Just not as savoy as most with cell phones and such....
 

C13v3r0n3

Senior Member
May 13, 2013
263
244
0
If we make a backup with twrp, does the backup need to be patched with loki before it can be used?

---------- Post added at 03:20 PM ---------- Previous post was at 03:14 PM ----------

So let me get this straight, if i'm on JDQ39.I337UCUAMDL which i am and i'm rooted, all i have to do is follow the instruction above and this will take care of the Boatloader and i will have TWRP installed ?. I download the TWRP zip and i notice it's not an image file it's like a text file is that correct ?.
Follow those instructions and it will work, or you can just download goo manager and do it that way.

the zip file you downloaded needs to be extracted, inside you will find a .lok file.

the loki_flash file will download as a text file if you are on windows, just erase the .txt file extension.
 

evodon84

Senior Member
Aug 7, 2010
902
129
0
San Diego
For those who arent ADB aware, here are the steps I took to get this to work on my phone

1. Start with a rooted AMDL
2. Download loki_flash and romracers loki'd twrp recovery. (you have to unzip his download to get the .lok file)
3. Connect phone to computer
4. Move loki_flash and openrecovery-twrp-2.5.0.1-jflteatt.lok to your sdcard
5. Open a root explorer like ES File Explorer and move both files to /data/local/tmp
6. Use a Terminal Emulator from the Play Store (I use Android Terminal Emulator) and run the commands below 1 at a time

su
cd /data/local/tmp
chmod 755 loki_flash
./loki_flash recovery openrecovery-twrp-2.5.0.1-jflteatt.lok

7. Use Goo Manager or physical buttons to boot into recovery.

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------

So let me get this straight, if i'm on JDQ39.I337UCUAMDL which i am and i'm rooted, all i have to do is follow the instruction above and this will take care of the Boatloader and i will have TWRP installed ?.

^Yes
I download the TWRP zip and i notice it's not an image file it's like a text file is that correct ?.
Look on Page 5 for romracer's post. He said Windows might rename the file becuase it doesnt know what it is. are you talking about the loki_flash file? not the zip containing the twrp recovery right?
 

jawonder

Senior Member
Nov 29, 2010
2,644
357
163
Boynton Beach, FL
For those who arent ADB aware, here are the steps I took to get this to work on my phone

1. Start with a rooted AMDL
2. Download loki_flash and romracers loki'd twrp recovery. (you have to unzip his download to get the .lok file)
3. Connect phone to computer
4. Move loki_flash and openrecovery-twrp-2.5.0.1-jflteatt.lok to your sdcard
5. Open a root explorer like ES File Explorer and move both files to /data/local/tmp
6. Use a Terminal Emulator from the Play Store (I use Android Terminal Emulator) and run the commands below 1 at a time

su
cd /data/local/tmp
chmod 755 loki_flash
./loki_flash recovery openrecovery-twrp-2.5.0.1-jflteatt.lok

7. Use Goo Manager or physical buttons to boot into recovery.

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------



I download the TWRP zip and i notice it's not an image file it's like a text file is that correct ?.
I'm using a mac .

---------- Post added at 04:34 PM ---------- Previous post was at 04:32 PM ----------

If we make a backup with twrp, does the backup need to be patched with loki before it can be used?

---------- Post added at 03:20 PM ---------- Previous post was at 03:14 PM ----------



Follow those instructions and it will work, or you can just download goo manager and do it that way.

the zip file you downloaded needs to be extracted, inside you will find a .lok file.

the loki_flash file will download as a text file if you are on windows, just erase the .txt file extension.
I did it on my Mac and the file is extracted but it's not an image file like i would normally get for a recovery it the same format as the .lok file .
 

Rotary Parts

Senior Member
Dec 17, 2009
983
133
0
Tarpon Springs
Dees_Troy;41010145]NOTE: The 2.5.0.2 build of TWRP is already loki modified. Simply root your device then use GooManager to flash the image or download and flash manually.

looks like dees- troy update just download from goo manager and go!! I just download and rebooted recovery and YES! TWRP is there. Awesome Thanks Dees-troy. Backing up now to External Sd without any issues
 
Last edited:

evodon84

Senior Member
Aug 7, 2010
902
129
0
San Diego
I'm using a mac .

---------- Post added at 04:34 PM ---------- Previous post was at 04:32 PM ----------



I did it on my Mac and the file is extracted but it's not an image file like i would normally get for a recovery it the same format as the .lok file .
looks like dees- troy update just download from goo manager and go!! I just download and rebooted recovery and YES! TWRP is there. Awesome Thanks Dees-troy. Backing up now to External Sd without any issues
I guess you can just use the new method straight through Goo Manager.
 
  • Like
Reactions: jawonder

hyghonryce

Senior Member
Aug 29, 2009
206
26
0
Simple install. Just backed up my stock rom and ready to play with some flashes :) Took about 5 mins tho and 2% of my battery :(

What are the BIG benefits of the compression ? I just sort of don't trust it since I personally feel it being risky.

When i backed it up, and did a reboot to system. it said " root permission has been lost " and allowed it again. hmmm probably not a big issue
 
Last edited:

Rotary Parts

Senior Member
Dec 17, 2009
983
133
0
Tarpon Springs
Simple install. Just backed up my stock rom and ready to play with some flashes :) Took about 5 mins tho and 2% of my battery :(

What are the BIG benefits of the compression ? I just sort of don't trust it since I personally feel it being risky.

When i backed it up, and did a reboot to system. it said " root permission has been lost " and allowed it again. hmmm probably not a big issue
no its not fix the root permissions and rock on! mine said the same thing nothing risky about it.
 

rsmolen

Senior Member
May 7, 2011
56
26
38
TWRP is working great for me, but it thinks that it is 1970. Is anyone else having this problem?

Sent from my SAMSUNG-SGH-I337 using xda app-developers app