• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE] Dirty hack stock update to zvk

razermc

Newbie
Before i even begin, i will mention this:
DISCLAIMER: I nor anyone else associated with this forum, or any other android forum, is responsible if this mod begets the Zombie Kitten Apocalypse and/or WWIII and/or your dog gets molested by a gorilla and/or any other problems that may arise both imaginary and/or real. You have been warned!

This modification requires you to be on ZVI, and have your device rooted. If you are on ZVK, you must downgrade. If you are on ZVC or ZVD, you will need to update to ZVI

Brandonabandon has made us a convienent guide and mod that allows you to dirty hack the stock rom to a security disable state. as far as the rom he has hosted at the end, it turns your phone into a more useful media device format essentially nuking most lg/sprint mess that was included.
this guide if fiollowed however allows you to build your own rom to your liking removing whatever apps you wish with no security error.


final disclaimer:
This is a temporary first step solution that is intended to show the community that this device has indeed been hacked, and is capable of being developed on. as we speak, a CWM option is almost complete, and TWRP is a solid go. I personally am working on deodexing and debloating a stock, prerooted ZVK myself for those who wish to remain fully functional stock, but without the limitations that odex and the bloatware causes.
Without further ado, here is the tutorial:

HELLO VIPER USERS

I DISCOVERED HOW TO MODIFY THE UPDATE.ZIP TO ALLOW DELETING OF THE UNWANTED APPS SNACKING THE DATA, SPACE, AND BATTERY OF OUR DEVICE. THIS GUIDE WILL HOPEFULLY TEACH YOU HOW TO D. IT Y.LOL I WILL ALSO BE HOSTING MY PERSONAL .ZIP FOR USERS, WITH A WARNING.

LETS BEGIN.

THINGS REQUIRED
1)UBUNTU https://www.ubuntu.com

2)GIT-CORE OR GITHUB ACCOUNT @GITHUB.COM

2) ZVK INCREMENTAL UPDATE.ZIP https://dl.dropboxusercontent.com/s/...ySdUmnUi6y6JEw

3)THE BOOT.IMG FROM THIS LINK ICS Boot Image with NO LG Security Error. (CLICK I ACCEPT TO DOWNLOAD)

4)LOKI TOOL https://github.com/djrbliss/loki

5)LG VIPER ABOOT.IMG https://www.dropbox.com/s/6gxz7q0kci7r04s/LS840.rar
THANKS KANISHK619 FOR PROVIDING/HOSTING!

6)RUNNING ANDROID VERSION ZVI (NOT ZVK, WILL NOT WORK!) IF YER UNSURE HOW TO DOWNGRADE TO ZVI (WINDOWS NECESSARY) http://forums.androidcentral.com/lg-...dll-print.html

7)JOSH'S RECOVERY recovery.zip | recovery.zip | by Jaegerjaquez for Generic Device
THANKS FOR YER EFFORTS AND HOSTING!

8)YER DEVICE NEEDS TO BE ROOTED! ICS Universal Root -XDA

9)ADB INSTALLED EITHER ANDROID TERMINAL EMULATOR APP OR UBUNTU PC Install ADB And Fastboot Android Tools In Ubuntu Via PPA ~ Web Upd8: Ubuntu / Linux blog

STEP 1)LOKI YER KERNEL

DOWNLOAD OR WGET THE LOKI SOURCE

Code:
sudo apt-get install git-core
Code:
MKDIR ~/LOKI
Code:
CD~ LOKI
Code:
git clone https://github.com/djrbliss/loki.git
Code:
MAKE
INSERT THE BOOT.IMG @ THE LOKI DIRECTORY

Code:
CP /PATH/TO/BOOT.IMG /PATH/TO/LOKI
INSERT THE ABOOT.IMG @ THE LOKI DIRECTORY

Code:
CP /PATH/TO/ABOOT.IMG /PATH/TO/LOKI
NOW LOKI THE KERNEL ALREADY....

Code:
CD ~/LOKI
Code:
./LOKI_TOOL PATCH BOOT ABOOT.IMG BOOT.IMG BOOT.LOK
WHAT JUST HAPPENED? LOL BY DOING THIS WE HAVE LOKI'D THE KERNEL WHICH AFTER BEING FLASHED VIA THE UPDATE.ZIP SHALL BYPASS THE BOOTLOADER AND RESULT WITH OUR NEW KERNEL (W/O SECURITY ERROR) ALLOWING US TO MODIFY OUR SYSTEM.

STEP 2) MODIFY THE UPDATE.ZIP

DOWNLOAD THE ZVK INCREMENTAL PACKAGE FROM THE LINK ABOVE

EXTRACT

DELETE THE BOOT.IMG

COPY THE BOOT.LOK FROM THE LOKI DIRECTORY TO REPLACE THE DELETED BOOT.IMG FROM THE UPDATE DIRECTORY AND RENAME BOOT.LOK TO BOOT.IMG

NAVIGATE UPDATE/PATCH/SYSTEM/APPS

DELETE WHAT YOU DONT WANT
smile.png
FYI KEEPING LGDOWNLOADPROVIDER.ODEX LGDOWNLOADPROVIDERUI.ODEX GOOGLELOGINSERVICE.APK GOOGLELOGINSERVICE.ODEX GOOGLESERVICESFRAMEWORK.APK AND GOOGLESERVICESFRAMEWORK.ODEX I BELIEVE ARE REQUIRED FOR PLAYSTORE TO FUNCTION. IF YOU DONT NEED PLAYSTORE YOU CAN DELETE THESE APPS THOUGH.
smile.png
KEEP TRACK OR CREATE A FILE OF THE DELETED APPS WE WILL NEED TO MODIFY SOURCES ACCORDINGLY.

NAVIGATE UPDATE/META-INF

OPEN THE MANIFEST.MF FILE SEARCH FOR EACH APP YOU DELETED AND DELETE EACH APPS NAME AND SHA1 DIGEST
EXAMPLE IF YOU DELETED THE SPRINT LAUNCHER SEARCH FOR SPRINTLAUNCHER WITHIN THE MANIFEST.MF FILE,

Name: patch/system/app/SprintLauncher.odex.p
SHA1-Digest: DslAo9WA25TaJi+wkg/okqapEAQ=

DELETE IT!^ LOL

NOW SEARCH FOR BOOT.IMG WITHIN THE MANIFEST.MF, FOUND IT? NOW OPEN A TERMINAL

Code:
SHA1SUM PATH/TO/BOOT.IMG
SHOULD ACTUALLY BE

Code:
SHA1SUM UPDATE/BOOT.IMG
IF YER UPDATE ZIP IS IN A DIRECTORY NAMED UPDATE, ANYHOW. COPY THE CODE FROM THE TERMINAL, ERASE SHA 1 DIGEST CODE, AND REPLACE IT WITH THE TERMINAL CODE. AFTER YOU DELETE ALL THE APPS YOU REMOVED FROM THE MANIFEST, SAVE IT AND CLOSE

NAVIGATE /UPDATE/META-INF

OPEN THE CERT.SF FILE

FOLLOW THE SAME EXACT INSTRUCTIONS FOR THE THE MANIFEST.MF TO A T. INCLUDING COPYING THE BOOT.IMG SHA1 CODE AND REPLACEING ITS NEW CODE DONT FORGET TO SAVE THE CHANGES

NOW NAVIGATE /UPDATE

SELECT ALL 3 FILES EXCLUDING THE EXTRACTED .ZIP (IF YOU EXTRACTED WITHIN THE DIRECTORY) SHOULD BE SYSTEM, PATCH, META-INF, AND RADIO.IMG AND COMPRESS. NAME IT WHATEVER YOU WANT AND COPY IT TO YER SDCARD EITHER CONNECT YER DEVICE AND DRAG IT TO YER MTP OR CONNECT AND OPEN A TERMINAL

Code:
ADB PUSH /PATH/TO/.ZIP /SDCARD/.ZIP
GOOD. NOW WE NEED JOSH'S RECOVERY TO FLASH IT!

DOWNLOAD THE RECOVERY.LOK AND COPY IT TO YER HOME DIRECTORY AND OPEN A TERMINAL

Code:
ADB PUSH /PATH/TO/RECOVERY.LOK DATA/LOCAL/TMP/RECOVERY.LOK
Code:
ADB SHELL
IF USEING ANDROID TERMINAL EMULATOR ADB SHELL UNNECESSARY

Code:
SU
Code:
MOUNT -O REMOUNT, RW /SYSTEM
Code:
DD IF=/DATA/LOCAL/TMP/RECOVERY.LOK OF=/DEV/BLOCK/MMCBLK0P13
BE PATIENT, SOMETIMES TAKES A MINUTE, NOT HANGING

YOU SHOULD SEE THIS IN TERMINAL
15072+0 records in
15072+0 records out
7716864 bytes transferred in 2.954 secs (2612343 bytes/sec)

OR SOMETHING CLOSE TO IT, THE EXAMPLE IS NOT FROM THE ACTUAL FLASHING OF A RECOVERY, ANYHOW. WHAT JUST HAPPENED? YOU FLASHED THE RECOVERY.LOK WHICH IN NAME IS TWRP (TEAM WIN RECOVERY PROJECT) A CUSTOM RECOVERY WHICH WILL ALLOW YOU TO FLASH CUSTOM ROMS, MAKE BACKUPS, AND OTHER SNAZZY PERKS. OK?

NOW REBOOT TO RECOVERY, EITHER POWER OFF DEVICE AND RESTART WHILST HOLDING THE VOLUME DOWN BUTTON, DO A FACTORY RESET BY PRESSING THE POWER BUTTON TWICE, YOU WILL REBOOT TO RECOVERY, THIS DOESNT ACTUALLY PERFORM THE FACTORY RESET BUT ALLOWS YOU TO DO SO WITHIN THE NEW RECOVERY, WHICH YOU CAN DO IF YOU LIKE, BUT NOT NECESSARY NOW. OR OPEN A TERMINAL

Code:
ADB REBOOT RECOVERY
MAKE A BACKUP

CLICK BACKUP

SWIPE

CLICK INSTALL BUTTON

NAVIGATE TO WHATEVER YOU NAMED YER .ZIP

DO YOU WANT TO FLASH .ZIP? SWIPE WAIT

IF SUCCESSFUL, REBOOT TO ZVK

STEP 3) REROOT

IF YOU WERE ROOTED WITH OTA ROOTKEEPER IT MAY OR MAY NOT HAVE SAVED YER ROOT, BUT THAT DOESNT MATTER BECAUSE I DISCOVERED A REROOTING METHOD. DELETE THE SU BACKUP (OTA ROOTKEEPER) NOW DELETE THE APP. NAVIGATE (ON YER DEVICE) APP SETTINGS/SUPERUSER DISABLE SUPERUSER AND CLEAR DATA. NOW REBOOT TO RECOVERY, EITHER BY APP, FACTORY RESET STYLE OR OPEN A TERMINAL

Code:
ADB REBOOT RECOVERY
CLICK REBOOT, IF TWRP DOESNT PROMPT TO INSTALL SUPERSU THEN CLICK RECOVERY, IT SHOULD, IF IT DOESNT RESTART YER PHONE AND TRY AGAIN BUT MAKE SURE YOU CLEARED THE DATA FROM SUPERUSER AND DISABLED IT. AT THE TWRP PROMT, SWIPE TO INSTALL THE SUPERSU INSTALLER, YOU SHOULD REBOOT AUTOMATICALLLY, AFTER YER REBOOT, NAVIGATE TO APPS, CLICK SUPERSU INSTALLER, CLICK TWRP YOU WILL REBOOT, INSTALL SU AUTOMATICALLY AND REBOOT AGAIN.

DONE

THANKS TO: LOKI,Jaegerjaquez69,thenameisnigel, AND ANYONES LINKS I USED FOR HELPING MAKE THIS POSSIBLE.

NOW MY UPDATE: *WARNING* I AM NOT RESPONSIBLE FOR YER ACTIONS. THIS IS MY UPDATE.ZIP AND MAY OR MAY NOT HAVE DATA ENABLED AND DOESNT HAVE THE STOCK PHONE. FEEL FREE TO CHECK IT--> https://app.box.com/s/uzyqbt1axcaysrn60xb5 FLASH/MODIFY @ OWN RISK.
 
I am trying to get CD to work but it is saying that it is not a valid command? I do not know what to do here, I am new to using the terminal in Linux. Help?

Edit: It is saying that the command it not found. I have no idea how to continue.
 
Back
Top Bottom