Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,768,557 Members 53,312 Now Online
XDA Developers Android and Mobile Development Forum

[RECOVERY+LOKI][CWM][MDK][VZW] SCH-I545 CWM v1.0

Tip us?
 
garwynn
Old
(Last edited by garwynn; 28th May 2013 at 06:24 PM.)
#1  
garwynn's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 7423
Posts: 4,649
Join Date: Jul 2011
Location: Chi-town

 
DONATE TO ME
Default [RECOVERY+LOKI][CWM][MDK][VZW] SCH-I545 CWM v1.0

DISCLAIMER:
Your device, your responsibility. I am not liable for anything you flash, including this.
As a result you'll probably want to read the rest of the thread and at least be aware of what you're flashing.
You've been warned.

CM: CWM Based Recovery for SCH-I545 (jfltevzw)

Features:
This is comes from CM as it is provided in the source repos. I will be keeping it as such at this time.
If modifications deviate from CM source we will set up a new repo.
The recovery image has already been patched using the Loki method.
This also means it is tied to MDK signature and should only be flashed on MDK.

Screenshots: None

Latest Build: v1.1
Tar/ZIP Mirror: [CWM][RECOVERY]Team SXTP CWM for Galaxy S4 (Team SXTP Site)

Flash Instructions - READ THESE CAREFULLY!!!
1) Download Zip
2) Unpack Zip and place items on your phone. Assumes you're doing commands from folder where files were extracted to.
For the sake of testing let's say /data/local/tmp like djrbliss used. (ADB push was used in that example)
Code:
adb push recovery.lok /data/local/tmp/
adb push loki_flash /data/local/tmp/
3) Go to ADB shell, su and flash using following commands: (assumes path is /data/local/tmp for Step 2)
Code:
adb shell
su
chmod 755 /data/local/tmp/loki_flash
/data/local/tmp/loki_flash recovery /data/local/tmp/recovery.lok
If successful you should see something similar to:
Code:
[+] Loki validation passed, flashing image.
2253+1 records in
2253+1 records out
9230848 bytes transferred in 0.656 secs (14071414 bytes/sec)
[+] Loki flashing complete!
Assuming you see the above, you should be ready to boot to recovery.

If you do not see this you should immediately flash the stock recovery by dd.
If you don't know how to do that, stop, ask for help. Let's try not to brick a phone doing this, okay?

Summary Changelog:
Code:
v1.1 - Correct typo on device name (in CM device tree).  Repo was still okay.
v1.0 - Initial based on Sprint progress (jf series shares same fstab)
Source:
CyanogenMod Official Repositories
Device Dependencies:
android_device_samsung_jf-common
android_device_samsung_msm8960-common
android_device_samsung_qcom-common
Verizon GS4 Device Repository

NOTE: Due to potential copyright issues I do not include a vendor repo.
You can extract the files from the phone or ROM as needed - should you decide to build on your own.

Credits:
Early Bringup Advice: Entropy512, Shabbypenguin, Cordell12
Current Advisors/Collaborators: Noobnl (CM CDMA Maintainer)
Testers: Mohogalore, robbyamor, crawj and others
Steve Kondik (Cyanogen) for CM development and jf common work
The CM maintainters who continue to improve CM along with Mr. Kondik
The crew that is Paranoid Android - Pure Hybrid!
Djrbliss for the Loki Method. (and for permission to include loki_flash in the zip!)
...and of course! You, the community, for your support as well! Thank you!
Contact: Twitter || Google+/Hangouts (Non-Moderator issues only please)
Useful Links: Forum Moderator List || Forum Rules

Donations: Please click on the "Donate to Me" on the left to donate to my Extra Life 2014 campaign.
All proceeds go to the Lurie Children's Hospital in downtown Chicago.

Please continue to thank and support those who bring these great things to our devices!
(That includes RTs, RCs, RDs/SRDs, FMs/SFMs and the people who maintain the site.)
The Following 10 Users Say Thank You to garwynn For This Useful Post: [ Click to Expand ]
 
garwynn
Old
(Last edited by garwynn; 23rd May 2013 at 04:57 PM.)
#2  
garwynn's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 7423
Posts: 4,649
Join Date: Jul 2011
Location: Chi-town

 
DONATE TO ME
OP has been updated with a Loki patched recovery image and flash instructions.

If you run into problems, STOP and post here with the issue.
Let's do this as safely as possible until we confirm some safe flashes.
Contact: Twitter || Google+/Hangouts (Non-Moderator issues only please)
Useful Links: Forum Moderator List || Forum Rules

Donations: Please click on the "Donate to Me" on the left to donate to my Extra Life 2014 campaign.
All proceeds go to the Lurie Children's Hospital in downtown Chicago.

Please continue to thank and support those who bring these great things to our devices!
(That includes RTs, RCs, RDs/SRDs, FMs/SFMs and the people who maintain the site.)
 
garwynn
Old
#3  
garwynn's Avatar
Forum Moderator / Recognized Developer - OP
Thanks Meter 7423
Posts: 4,649
Join Date: Jul 2011
Location: Chi-town

 
DONATE TO ME
Again, asking that anyone who flashes this post their results. Obviously a lot of folks watching and although it shouldn't be an issue everyone likes to wait for first outside validation before flashing.
Contact: Twitter || Google+/Hangouts (Non-Moderator issues only please)
Useful Links: Forum Moderator List || Forum Rules

Donations: Please click on the "Donate to Me" on the left to donate to my Extra Life 2014 campaign.
All proceeds go to the Lurie Children's Hospital in downtown Chicago.

Please continue to thank and support those who bring these great things to our devices!
(That includes RTs, RCs, RDs/SRDs, FMs/SFMs and the people who maintain the site.)
 
NxtGenCowboy
Old
(Last edited by NxtGenCowboy; 23rd May 2013 at 06:22 PM.)
#4  
NxtGenCowboy's Avatar
Senior Member
Thanks Meter 180
Posts: 425
Join Date: Dec 2007
Location: Chicago,IL
If it helps at all, I used the same process for the most part. It does indeed work.

1|shell@android:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrp.lok
covery /data/local/tmp/twrp.lok <
[+] Loki validation passed, flashing image.
2559+1 records in
2559+1 records out
10484224 bytes transferred in 0.713 secs (14704381 bytes/sec)
[+] Loki flashing complete!

only difference is I used TWRP :P

The Following User Says Thank You to NxtGenCowboy For This Useful Post: [ Click to Expand ]
 
t3project
Old
#5  
t3project's Avatar
Senior Member
Thanks Meter 1372
Posts: 1,542
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by NxtGenCowboy View Post
If it helps at all, I used the same process for the most part. It does indeed work.

1|shell@android:/ # /data/local/tmp/loki_flash recovery /data/local/tmp/twrp.lok
covery /data/local/tmp/twrp.lok <
[+] Loki validation passed, flashing image.
2559+1 records in
2559+1 records out
10484224 bytes transferred in 0.713 secs (14704381 bytes/sec)
[+] Loki flashing complete!

only difference is I used TWRP :P

where'd you get the twrp.lok file? following djrbliss' instructions?
 
NxtGenCowboy
Old
#6  
NxtGenCowboy's Avatar
Senior Member
Thanks Meter 180
Posts: 425
Join Date: Dec 2007
Location: Chicago,IL
Quote:
Originally Posted by t3project View Post
where'd you get the twrp.lok file? following djrbliss' instructions?
No.
thats what I renamed it to since I used a twrp img
 
t3project
Old
(Last edited by t3project; 23rd May 2013 at 07:44 PM.)
#7  
t3project's Avatar
Senior Member
Thanks Meter 1372
Posts: 1,542
Join Date: Jun 2010

 
DONATE TO ME
im losing my damn mind. someone care to explain this?

Code:
root@android:/sdcard # /sdcard/loki_flash recovery /sdcard/twrp.lok
/sdcard/loki_flash recovery /sdcard/twrp.lok
sh: /adcard/loki_flash: not found
127|root@android:/sdcard #

i get this after a chmod of loki_flash. if i dont do chmod on it it says it cannot find the file loki_flash.....wtf?

Code:
root@android:/sdcard # /sdcard/loki_flash recovery /sdcard/twrp.lok
/sdcard/loki_flash recovery /sdcard/twrp.lok
sh: /sdcard/loki_flash: can't execute: Permission denied
126|root@android:/sdcard #
 
fallingup
Old
#8  
Senior Member
Thanks Meter 53
Posts: 418
Join Date: Mar 2006
Location: New Mexico
Quote:
Originally Posted by t3project View Post
im losing my damn mind. someone care to explain this?

Code:
root@android:/sdcard # /sdcard/loki_flash recovery /sdcard/twrp.lok
/sdcard/loki_flash recovery /sdcard/twrp.lok
sh: /adcard/loki_flash: not found
127|root@android:/sdcard #

i get this after a chmod of loki_flash. if i dont do chmod on it it says it cannot find the file loki_flash.....wtf?

Code:
root@android:/sdcard # /sdcard/loki_flash recovery /sdcard/twrp.lok
/sdcard/loki_flash recovery /sdcard/twrp.lok
sh: /sdcard/loki_flash: can't execute: Permission denied
126|root@android:/sdcard #
Derp. What permissions are you giving it?
I am angel12 from modaco, ppcgeeks, alldroid, droidmod.org and most other forums, i just didnt get angel12 here for some reason, someone already had it.

Twitter.com/ang3l12

Current phones: Galaxy Nexus, Galaxy S3, Galaxy Note 2, iPhone 5
 
trvrlol
Old
(Last edited by trvrlol; 23rd May 2013 at 07:55 PM.)
#9  
Member
Thanks Meter 153
Posts: 77
Join Date: Jul 2010

 
DONATE TO ME
Quote:
Originally Posted by NxtGenCowboy View Post
No.
thats what I renamed it to since I used a twrp img
I tried just renaming the .img file to .lok, but it gave me a few errors. So using djrbliss's Loki tool (much thanks!) I generated a file for the TWRP recovery.

Here is the link: twrp.lok - 10.00 MB

---------- Post added at 02:52 PM ---------- Previous post was at 02:50 PM ----------

Quote:
Originally Posted by t3project View Post
im losing my damn mind. someone care to explain this?

Code:
root@android:/sdcard # /sdcard/loki_flash recovery /sdcard/twrp.lok
/sdcard/loki_flash recovery /sdcard/twrp.lok
sh: /adcard/loki_flash: not found
127|root@android:/sdcard #

i get this after a chmod of loki_flash. if i dont do chmod on it it says it cannot find the file loki_flash.....wtf?

Code:
root@android:/sdcard # /sdcard/loki_flash recovery /sdcard/twrp.lok
/sdcard/loki_flash recovery /sdcard/twrp.lok
sh: /sdcard/loki_flash: can't execute: Permission denied
126|root@android:/sdcard #
You have to put the files in a folder like /data/local/tmp since the sdcard folder does not allow executables contrary to the instructions provided. (At least that was my understanding when trying to debug the same issue!)
Samsung Galaxy S IV | Rom: AOSPA | Kernel: KT747
Google Nexus 7 | Rom: AOSPA | Kernel: Trinity

Samsung Galaxy S III | Rom: AOSPA | Kernel: KT747 -- Retired

 
t3project
Old
#10  
t3project's Avatar
Senior Member
Thanks Meter 1372
Posts: 1,542
Join Date: Jun 2010

 
DONATE TO ME
Quote:
Originally Posted by fallingup View Post
Derp. What permissions are you giving it?
all the good ones. haha 755

Quote:
Originally Posted by trvrlol View Post
I tried just renaming the .img file to .lok, but it gave me a few errors. So using djrbliss's Loki tool (much thanks!) I generated a file for the TWRP recovery.

Here is the link: twrp.lok - 10.00 MB

---------- Post added at 02:52 PM ---------- Previous post was at 02:50 PM ----------



You have to put the files in a folder like /data/local/tmp since the sdcard folder does not allow executables contrary to the instructions provided.
lol.....see told you i was losing it

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes