FORUMS
Remove All Ads from XDA

[Recovery] [v500] CWM 6.0.5.1

3,565 posts
Thanks Meter: 9,509
 
By Deltadroid, Recognized Contributor on 19th November 2014, 12:32 PM
Post Reply Email Thread
ClockworkMod recovery (6.0.5.1) for LG G Pad 8.3 v500. This custom recovery installation package is for v500 models only. Built from source on 2014-12-13 by Jenkins.

Installation: Flash zip file with any custom recovery and reboot into updated CWM recovery.

Link: v500-CWM-6.0.5.1-20141213-recovery-signed.zip

MD5: 83150942a4f27006691472fa12159631

Note: An advantage to using the official CWM recovery with CM 11 is that the CWM recovery can be automatically updated with the CM Update tool, if enabled in the CM 11 developer options.

Manual Installation (first time installing custom recovery):

1) Gain root permission (ie; with Stumproot) and install SuperSU and Busybox.

2) Install Terminal Emulator or use ADB for opening up a shell (this example is using ADB).

Note: If using Terminal Emulator, make sure root access is given via SuperSU.

3) Download CWM installation zip file from the link above and manually extract it. Also, download the loki_tool binary from https://github.com/djrbliss/loki/archive/master.zip. The loki_tool binary is found in the "bin" folder of loki-master.zip after the file is extracted.

4) Copy recovery.img (contained in the CWM installation zip file from step #3) and the loki_tool binary (contained in the loki-master.zip file from step #3) to /data/local/tmp on your LG G Pad 8.3 v500 tablet with either ADB or a root explorer application and make loki_tool executable.
Code:
adb push recovery.img /data/local/tmp

adb push loki_tool /data/local/tmp

adb shell

su

chmod 755 /data/local/tmp/loki_tool
Note: Since the command "su" was entered, the shell has root permissions to proceed.

5) Patch the recovery.img into recovery.lok using loki_tool:
Code:
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/data/local/tmp/aboot.img

/data/local/tmp/loki_tool patch recovery /data/local/tmp/aboot.img /data/local/tmp/recovery.img /data/local/tmp/recovery.lok
Note #1: At this point in the installation procedure, there have been no permanent changes to the system. If there is an error or warning while patching recovery.img and creating recovery.lok, then stop this manual installation procedure. In most cases, the problem is that the version of aboot.img found on the device is probably not exploitable with loki_tool. This manual custom recovery installation procedure must be started over again from the beginning after flashing a loki exploitable aboot.img to the device (downgrading firmware should help).

Note #2: If recovery.lok is created successfully without any errors or warnings, then continue with the final step. The shell should still be open with root (su) permissions enabled from the previous steps.

6) Flash recovery.lok file with loki_tool and reboot to new custom recovery.
Code:
/data/local/tmp/loki_tool flash recovery /data/local/tmp/recovery.lok

exit

exit

adb reboot recovery
The Following 8 Users Say Thank You to Deltadroid For This Useful Post: [ View ] Gift Deltadroid Ad-Free
 
 
20th November 2014, 12:35 PM |#2  
Deltadroid's Avatar
OP Recognized Contributor
Thanks Meter: 9,509
 
More
Updated CWM to 20141120 sources.

sr: Fix vsync logic

* Use CLOCK_MONOTONIC to insulate from system clock changes.
* Normalize all timespec calculations to avoid overflow/underflow.
* Don't signal vsync if poll() fails.
Change-Id: If284ebf581309953c51b2f8d33d7d5800c636be5

sr: Fix screen flashing during wipe operations

* Clear buffer in draw_progress_locked() and always call this in
update_progress_locked(). This is necessary to ensure that all
backing frames in the graphics implementation get updated because
we aren't guaranteed to have any particular number of backing
frames.
* Remove dialogs on wipe operations since we are using the progress
animation now.
* Set progress indicator after showing "Formatting" text to avoid
momentary flicker.
Change-Id: I240d3b8e5c741c9f3ea4e5e17c1b9593e053888a

sr: Only use 4 items on wipe confirmation screens

* Large fonts in Touch UI prevent more than about 7 menu lines.
Change-Id: If523a85d67460c0ac4e012727d946eadb9c68436
The Following 3 Users Say Thank You to Deltadroid For This Useful Post: [ View ] Gift Deltadroid Ad-Free
22nd November 2014, 09:55 PM |#3  
Deltadroid's Avatar
OP Recognized Contributor
Thanks Meter: 9,509
 
More
Added guide to OP for first time custom recovery installation.

Edit: Updated guide to use loki_tool from github.
The Following User Says Thank You to Deltadroid For This Useful Post: [ View ] Gift Deltadroid Ad-Free
25th November 2014, 09:09 AM |#4  
Senior Member
Thanks Meter: 89
 
More
Hi,
I have tried this method and get an "unable to find" error as regard loki, seen in this picture i took.
I have placed both recovery.img and loki_tool as from your download links in data/local/tmp folder on lg
Where am i going wrong?
Thank you

25th November 2014, 09:49 AM |#5  
Deltadroid's Avatar
OP Recognized Contributor
Thanks Meter: 9,509
 
More
When you type "adb shell" to open a connection, wait for the shell to open before typing "su". You will then notice that the terminal says "root" as the user. Make sure you have "dd" installed (this comes with installing Busybox). You can tell if dd is installed by typing "which dd" in the shell. If it returns with a path to dd, then it's there. I also noticed that you tried to chmod loki_tool before you have typed su to gain root. You only need to type su one time to get root permissions in the shell. You can tell it is using root because it shows you as the root user at the command prompt.
25th November 2014, 10:24 AM |#6  
Senior Member
Thanks Meter: 89
 
More
I am sorry for my dumbness, but i am new to this and not a clue what you are talking about lol.
I never typed su as i followed this procedure on youtube and copy and pasted your text.

I am trying to understand this adb method, but a noob tut is not available, thus trying anyway to get it to work obviously without success lol
https://www.youtube.com/watch?v=MVXX-YdhRU0
Best wishes
25th November 2014, 10:42 AM |#7  
Tsjoklat's Avatar
Senior Member
Thanks Meter: 2,395
 
More
ADB needs root access in developer options. Attached screenshot.
25th November 2014, 10:57 AM |#8  
Deltadroid's Avatar
OP Recognized Contributor
Thanks Meter: 9,509
 
More
Quote:
Originally Posted by Wingchundub

I am sorry for my dumbness, but i am new to this and not a clue what you are talking about lol.
I never typed su as i followed this procedure on youtube and copy and pasted your text.

I am trying to understand this adb method, but a noob tut is not available, thus trying anyway to get it to work obviously without success lol
https://www.youtube.com/watch?v=MVXX-YdhRU0
Best wishes

You are getting an unable to find error because you typed the name incorrectly (it is loki_tool not loki_tooldd). Be very careful that everything is exactly the same as the guide.

Edit: Also, when you type a command in ADB shell, wait for the command to finish before you type the next command. You can enter the next command in ADB when the prompt comes back.

Edit 2: After typing "adb shell", you only need to type "su" one time as long as you don't close the window.
25th November 2014, 03:46 PM |#9  
Zeljko1234's Avatar
Senior Member
Flag San Jose
Thanks Meter: 2,770
 
Donate to Me
More
Does it support f2fs?
25th November 2014, 04:01 PM |#10  
Deltadroid's Avatar
OP Recognized Contributor
Thanks Meter: 9,509
 
More
I think f2fs support is not default for stock CM kernel. There aren't any customizations on this. This is from Jenkins.
25th November 2014, 04:04 PM |#11  
Zeljko1234's Avatar
Senior Member
Flag San Jose
Thanks Meter: 2,770
 
Donate to Me
More
Currently I'm using LP AOSP. Afaik, only LP available. On my Razr HD f2fs and CM12 works just great. Definitely noticeable faster with f2fs.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes