| # Here I will keep a reminder of the steps to full wipe a OnePlus One device running CyanogenOS/CyanogenMod | |
| # This is especially interesting on encrypted devices where I suspect partitions might get crippled over time | |
| # Note: this guide assumes that you are already running the latest CyanogenOS version at the beginning (currently ZNH2KAS2X1). | |
| # If not, dirty-upgrade to the latest version by flashing the update zip file from recovery and start from there. | |
| # I will also assume that the current directory is the one where all the downloads are stored | |
| # Step 0 : necessary stuff | |
| # (http://forum.xda-developers.com/oneplus-one/general/official-cm11s-roms-ota-updates-t2906746) | |
| # - CyanogenOS 13.1.1 (ZNH2KAS2X1) flashable zip (https://www.androidfilehost.com/?fid=24591000424953697) [cm-13.1.1-ZNH2KAS2X1-bacon-signed.zip] | |
| # - CyanogenOS 13.1.1 (ZNH2KAS2X1) fastboot files to extract stock recovery (https://www.androidfilehost.com/?fid=24591000424953703) [cm-13.1.1-ZNH2KAS2X1-bacon-signed-fastboot.zip] |
FOR EDUCATIONAL PURPOSE ONLY, CHANGING IMEI IS ILLEGAL IN MOST COUNTRIES, MAKE SURE YOU CONVINCE YOUR ACTIONS BEFORE DOING THIS.
I DON'T RESPONSIBLE IF YOUR DEVICE IS BROKEN OR THE IMEI IS NOT CHANGED CAUSED BY YOU DIDN'T FOLLOW THE STEPS CAREFULLY OR HAVING A DIFFERENT EFS PARTITION SCHEME.
This guide was tested on Google Pixel 3, different device may also have a different EFS partition scheme, please make sure you adjust it with this guide. Other Google Pixel devices may use this guide without adjusting.
Install android SDK (bottom of the page) or full android studio if you need to develop on android.
fastboot looks like adb but it is used when device is in bootloader (or fastboot).
| #!/bin/bash | |
| # | |
| # Version 1.4 | |
| # | |
| # twrp.sh -- a TWRP compatible backup script for your computer | |
| # Brought to you by inhies | |
| # | |
| # This script creates TWRP compatible backups over usb using adb and magikz | |
| # By default it makes a folder in the standard TWRP date--time format (I think) | |
| # To restore these backups, place the folder in /sdcard/TWRP/BACKUPS/<serialnumber>/ |
-
What is the purpose of this tutorial?
Understand that more and more you need a good PC/laptop/notebook equipment to compile Custom Recovery. Unfortunately, many people cannot or do not have the time to test/compile the device tree.
-
Why am I writing this?
Para instalar o virtualenvwrapper, o pip é o caminho mais fácil: $ pip install virtualenvwrapper
Coloque no .bashrc: export WORKON_HOME=~/.venvs source /usr/local/bin/virtualenvwrapper.sh
Para criar um virtualenv, utilizamos o comando mkvirtualenv:
$ mkvirtualenv projeto
Last updated on 03/05/2024.
🌎 initial file on 01/23/2024.
Many users, generally users with little knowledge and no experience, asked me which correct files should be placed in the device tree[^¹] for Custom Recovery to generally work.
But of course most of these users want to know the files that control the encryption, that is, they want to know the correct files so that the encryption/decryption can work. In this sense, as there is not much information about this on the internet, I decided to put some words and some experience that I have had over a few years with Mediatek devices.
A collection of Markdown code and tricks that were tested to work in Gist.
This and all public gists in https://gist.github.com/ww9 are Public Domain. Do whatever you want with it including , no need to credit me.
- Reformat this whole document and assimilate these:
