Put it in fastboot mode, flash TWRP (3G or WiFi version depending on which model you have) through fastboot.
Boot to recovery, wipe system and data, enable adb sideload, push both the ROM and the gApps zip files to the device (adb push filename.zip /sdcard/filename.zip)
Flash them without rebooting inbetween (LOS then gApps)
Here's the link for S7 edge.
An important note:
This device uses dm-verity!
This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity's boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab.
Had the same problem before. Also using 4x4. Turns out they use special characters to fill the remaining 7 dots.
I will digging the link for u.
Here is the link https://twrp.me/faq/openrecoveryscript.html
Find the Specific pattern decrypt note section. It cover 3x3, 4x4 and 5x5 patterns
Specific pattern decrypt note
The actual announcement page on TWRP website is live now; reason for delay is here.
I take it you don't trust the official TWRP maintainers to create a trustworthy build of TWRP? 'Cause you could find a link to the official TWRP binary build for the Moto G4 Play here:
The TWRP project has a FAQ entry for compiling from sources:
It links to a thread on XDA:
What carrier is your S5?
Use odin. I've never had luck with heimdall.
First, with the OEM OS, make sure you have the latest firmware. Just google how to find your firmware, I don't remember. And google some more to learn what the latest is for your specific device (depends on carrier). If it's not the latest, just run system updates on your phone and it should get you the latest firmware. (someone correct me if I'm wrong here) Or if you find the latest firmware file online, use these instructions to flash it
get odin here: https://samsungodin.com/ Now I don't know how legit that site is, I just googled it and it seemed the most legit
odin instructions I use (skip to odin section)
Take heed of this paragraph from those odin instructions I linked:
> After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
Recovery mode on S5:
Power device off then-- Volume UP + home + power (in that order, so you don't accidentally press power first and boot it up before you've pressed the other keys)
Power device off then-- Volume DOWN + home + power
For reference, I have the SM-G900P (sprint device) and use KLTEDV build of LineageOS.
Hi, I've googled for you the available builds.
I googled and found out that the kernel should work with your 7 inch tab.
Here's the recovery for your 7 inch tab.
Gapps and the No Frills App should work like I said in my thread.
>u/1e25678234 - ... I can no longer decrypt data from TWRP. ... OnePlus 5 with MicroG Lineage 18.1 and TWRP 3.4.0-1...
Try updating TWRP to twrp-3.5.2_9-0-cheeseburger_dumpling... https://twrp.me/oneplus/oneplus5-5t.html
Check the TWRP changelogs https://twrp.me/
This said maybe TWRP for your device can't decrypt in Android 11. Search the XDA forum.
BTW MicroG is not supported by LineageOS as described in the LineageOS subreddit Rules > Don't ask about unsupported mods.
Visit r/MicroG if you have some questions about it.
Jesus Christ this is excessive, at least if you're using a Debian/*Buntu derivative. No offense, but rooting a Nexus device on Linux is stupid easy. Here are 10 second Ubuntu instructions.
sudo apt-get install android-tools-adb android-tools-fastboot -y
That installs adb and fastboot. No futzing around with Android SDK.
Then, turn off your Nexus, press and hold Power and Vol Down to enter the bootloader. Plug it in.
sudo fastboot oem unlock
Done. The Nexus is unlocked. It reboots. You don't even need to sign in or do the setup yet. Put it back into bootloader.
Then, grab TWRP for your device: https://twrp.me/Devices/
Go back into bootloader.
sudo fastboot flash recovery nameoftwrpfile.img
Done. You now have a custom recovery. Download the SuperSu zip: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
Put it on your storage, flash from TWRP.
The reason why some guides say this is that back in the day the older twrp versions for pocophone
didn't support encryption. That isn't the case anymore, just make sure to use the newest version of twrp:
And if you don't flash DisableForceEncryption.zip you don't have to enable encryption it will be enabled by default.
adb reboot bootloader
fastboot boot twrp-3.2.1-0-enchilada.img
adb backup --twrp
I assume you are able to use a custom recovery, otherwise you probably wouldn't be in this situation. To resize your storage without losing data, you can use resize2fs, which is now included in TWRP.
While this method should be safe, I would still make a backup just in case anything goes wrong.
That is correct. You download a custom recovery. I use TWRP.
fastboot flash recovery downloaded_recovery_file.img
adb push your_hosts_file /system/etc/hosts
Here is a guide:
1. Root your phone; just Google it; it will be very easy
Download flashify from the play store and TWRP for your device from there website: twrp.me I think?
Download cyanogenmod for your model phone from cyanogenmod
Open flashify and click recovery and chose a file and select the TWRP file you downloaded
Reboot to recovery
Click backup so you have a backup if something goes wrong ( you should move this to a computer to save space on your device: optional)
Click wipe and "swipe to factory reset"
Click install and choose the cyanogenmod file
Reboot and enjoy :)
If you have any problems just ask :)
Edit: fixed link
If all else fails, as others have noted, grab latest TWRP from twrp.me, grab latest OOS from https://downloads.oneplus.com/devices/oneplus-6/, fastboot boot TWRP image, use TWRP to wipe all and flash OOS.
Heyyo, by chance have you updated your TWRP? Looking at the change logs for TWRP3.2.1-1 For your G3 d855 it includes decryption fixes.
When TWRP says "using default password" that means it successfully automatically decrypted your data partition. Same thing happens on my LeEco Le Max 2 with the decryption fixed update.
The only time historically TWRP asked for a decryption password is when decryption failed and wants to retry with a password the user entered... Even then it still would fail until the decryption fix update and the "using default password" message.
I hope this information helps!
Coincidentally a new version of TWRP released for this device yesterday. You can update from the recovery itself
And yes, don't install a build from this week before reading up on how to remove the prank in it.
It's basically the same for every Oneplus device.
Just make sure you use the right TWRP .img for your device. You can find those here.
I don't mind helping but all you had to google was 'how to root oneplus 5'.
As Lineage only keep about a months worth of old versions, I would recommend going forward! Current nightlies for klte are rock solid IMHO.
The recommended procedure for klte is this:-
Make sure baseband is upto date.
The dev has put the common ones here:-
otherwise look on Sammobile etc.
Then make sure TWRP is upto date:-
Then install the latest nightly along with Opengapps if you want it. https://download.lineageos.org/klte
Rooting is simple.
Get the TWRP recovery rar file here - https://twrp.me/devices/samsunggalaxys5qualcomm.html
Get supersu beta zip from here and place on the SDcard - http://download.chainfire.eu/964/
Odin flash TWRP in the AP slot. Reboot into TWRP recovery. Keep the system read only.
Click install, find the SuperSu beta zip file and flash it. Supersu beta will detect the device and apply the best root method. Reboot and you are rooted.
If at any point TWRP asks you to root the device, select NO. You do not want twrp attempting to root the device. If TWRP attempts to root the device it will bootloop.
Rooting will trip the knox fuse and that cannot be reset.
Well. It's got official TWRP builds. Which is the first step. https://twrp.me/devices/motorolamotox2015pure.html
Looks like some unofficial alpha builds of CM and other ROMs have started popping up on XDA as well. http://forum.xda-developers.com/moto-x-style
This appears to be the farthest along CM12.1 https://github.com/scotthartbti/android_device_moto_clark
All Nexus devices have unlockable bootloaders, which allow you to load whatever software you want on the device, making root access trivial. The process will go something like this:
I would guess that custom recoveries for the N5X as well as detailed instructions will be available very soon after the device launches. And if you wait a little longer, various all-in-one toolkits will probably be updated to allow you to unlock and root the device with just a couple of clicks.
> That actually worked, thanks!...
Con mucho gusto & thanks for the feedback. ↑ (ツ)
>...I went to the https://twrp.me/oneplus/oneplus5.html page instead of the one for 5/5T, kinda confusing that they have separate pages for 5, 5T and 5/5T.
You could report that: https://github.com/TeamWin/android_bootable_recovery/issues
> You will either need to clean flash (wiping data first)
The Lineage installation wiki - Xiaomi Poco F1 recommends to Format Data instead of just wipe.
TWRP FAQ: What is a data/media device? for detailed explanations:
>...In TWRP we also have a wipe internal storage option that rm -rf's the media folder and a "Format Data" option that formats to recreate the entire file system in case something goes completely wrong or to remove device encryption.
Format Data adds an empty section at the end of the Data partition for some future encryption related data.
TWRP is not a programm, but a custom recovery. And you don't install it, you boot into it. And also you need an unlocked bootloader to be able to boot into TWRP.
Just google TWRP+how to boot into and your device name and see if you can do it or if your phone is locked.
Download TWRP for the OP6 and use fastboot to boot into it. Copy the full OOS ROM onto it ( Download it from here ) and wipe everything except internal storage. Then simply install (flash) it from within TWRP and you should be good to go. Note that the phone now won't be rooted anymore.
Yeah generally taking an official update while rooted fucks things up wait for rom developers to make up something.
You should go in with titanium backup or another system app disabler/freezer and disable/freeze fota update and anything that starts with system update.
Aaargh, too much text.
This is TWRP for the Moto X after a quick google search. It has instructions on how to flash it. Since you've unlocked your bootloader, I assume you know how to use fastboot.
I use phh's superuser. You can flash the superuser.zip (The zip is available at https://superuser.phh.me/superuser.zip) using TWRP and boom, you've got root.
I am on Stock 6.0 marshmallow, and I used the above to have root. In case you ask, you won't be able to update via the OTA for whatever possible security update and/or Nougat update whenever it comes. You won't be able to update with the OTA with root. Even if you have stock recovery. You need full, original stock to get the OTA update.
Edit: Oh, right, you also need phh's superuser app. You can get it from the play store.
>You don't "sideload" operating systems
And /u/silvirdreams , to answer your question, an ADB-flashable ZIP should be available from here once available
Yeah sure! At first you'll need a custom recovery, which is able to update your system (https://twrp.me/devices/lgg3europe.html) and to wipe data. For Fulmics, just download the .zip and then turn to your phone. After properly installing the recovery, you need to boot it (turn off your phone, hold both power and volume down buttons until the lg logo appears, release the volume button only ... follow the prompts by clicking yes 2 times) and "wipe" all data. Make a backup before doing this (titanium backup, android, just google it ;) ) Then, after wiping copy the fulmics rom onto your phone and select "install" ... locate your files and swipe to flash ... a prompt will be opened, just follow the installation process! Any questions? ---> write me ;)
>u/traianmechenescu - ...official recommended LinageOS buld for a friend's Samsung GT-I9300 (S3) . I remember having tried Factory Reset a few years ago on the same phone from the phone's menu (going to Settings, etc in the actual running OS - no booting into TWRP) that failed.
That's expected because TWRP does not wipe the user's internal sdcard when it's Factory reset option is used.
See TWRP FAQ: What is a data/media device? for detailed explanations.
>...EDIT: When I say Factory Reset, I mean resetting the custom operating system as it was after initially installing it...
If what you want is to erase all user's data & third-party's installed apps first backup to computer the internal sdcard & Micro SD Card then boot in TWRP > Advanced Wipe and select everything except System > Swipe to Wipe.
This said a better way to make sure that all personal content is erased is to Format Data instead of a simple wipe as described in this XDA forum post: S3 LineageOS Super Clean Install & Samsung Firmware and also either remove or format the Micro SD Card using the built-in File explorer.
FWIW I have a Galaxy S3 GT-I9300 running an unofficial LineageOS 14.1 with an Android 2021 security patch. See the links in that XDA post.
>Except that this is TWRP 2.8, where that feature doesn't exist yet.
But the OP's screenshot says TWRP 2.8.7 and this page says it can be done with 2.8.4 or newer: https://twrp.me/samsung/samsunggalaxynote3qualcomm.html
>TWRP Install (Requires TWRP 2.8.4 or higher already installed)...
Your TWRP version is too old & OTA update may fail because of that.
You can use TWRP to update itself. See https://twrp.me/fairphone/fairphone2.html
Well, first you'll need to unlock your bootloader through Motorola's website (be warned that a bootloader unlock will factory reset the device, so backup any files you consider important)
After having performed said unlock you'll need to flash what's known as a custom recovery
https://twrp.me/motorola/motorolamotog5plus.html (since you won't have root after unlocking the bootloader go with the Fastboot Install method)
After having successfully installed TWRP immediately boot to it by cycling through the bootloader options with the volume button and selecting with the power button
Allow TWRP to make changes to your system
After that download the Magisk root file and transfer it through USB (it comes as an APK at first but just rename it to a .zip file)
On TWRP proceed to the install option and confirm the installation of Magisk
If everything goes well you can go back to the main TWRP screen, tap reboot, system
Before confirming it make sure the option to install the TWRP app is unchecked, confirm the reboot
After boot up open the Magisk app and it should show that root is properly installed on the device
>u/llAadyll - ...One plus one locked ...on CyanogenMod 13.1 ...forgot the pattern I had set
This works for devices that are not encrypted: [Tool][Tested]Remove lockscreen password/pin
>This .zip file delete these files from "/data/system":
If your device is encrypted you need to format data + wipe system in recovery & start all over again.
Format Data adds an empty encryption footer section at the end of the Data partition for some future encryption related data.
Format Data will also erase the content of /data/media/0/ a.k.a the internal sdcard.
>u/DrawWithChara - I forgot my password ...lineageOS 16 on my samsung galaxy a3 2016
As you can read in the strict LineageOS Device Support Requirements Charter:
>All devices that supported hardware-backed encryption on their stock OS MUST support hardware-backed encryption.
>All devices that shipped stock as forceencrypt SHOULD default to forceencrypt enabled.
>All devices MUST support software encryption.
If you device is encrypted you need to format data + wipe system & start all over again.
I was thrown off by what you wrote in your OP:
> I was previosly using LOS 17
And since no official 17.1 exist for your device...
Try following the installation wiki for your device including format data: https://wiki.lineageos.org/devices/mido/install
Format Data will also erase the content of /data/media/0/ a.k.a the internal sdcard so you need to back it up to external SD card or computer if you want to preserve it.
NOTE: The i9100 does not support a separately bootable recovery partition. To install and use TWRP, you will need to install a custom kernel or boot image that supports IsoRec. You can find out more about IsoRec here.
It took me a few days to get twrp workig on the s2, don't know if you got the i9100 version, but it is harder than most devices since there isn't a recovery partition.
You are welcome.
> ...Now the biggest question I have is whether OTA updates just don't work with an encrypted device...
Yes it should work.
It could be a problem on Open GApps' side: the dev just made some test builds & some users are testing them: https://sourceforge.net/projects/opengapps/files/arm64/test/20200421/
Just don't update for now & wait for the results.
>...and whether I'll be able to manually update an encrypted device without risking a bootloop...
I don't know about that one for your model & TWRP which was not updated yet to support Android 10.
See the blog TWRP and Android 10.
Google broke a lot of stuff with that version that was working fine on 9.
And I did not try the LineageOS recovery yet.
Download the rom, download gapps (ARM64, 7.1, mini), and download and install the latest TWRP. Unlock bootloader. Move the rom and gapps to internal storage. Boot into recovery, wipe, install new rom, install gapps, and enjoy.
I've tried out a few roms and unfortunately this tablet is outdated to keep up with most of them. At least with SlimRom one you can browse the web without locking it up.
> Are there any instances where you need to install the TWRP app at all?
I don't see any.
While you can opt out of the data collecting the app wants to start at boot & run in the background.
While you can prevent that with LineageOS's Privacy Guard, the point of that app is to check for TWRP updates which are really not frequent.
I just check on https://twrp.me/ once in a while or stumble on some posts mentioning some new release.
An other annoyance is the TWRP app nagging you to login with an account every time you open it.
You can use the app to update TWRP but then read some fail stories so never tried that.
I prefer How to Update TWRP Using TWRP Itself
> I installed twrp and wiped each and every partition...
Did you Format Data instead of just wipe as described in your device's install wiki? https://wiki.lineageos.org/devices/shamu/install
See TWRP FAQ: What is a data/media device? for detailed explanations:
Format Data adds an empty section after the Data partition for some future encryption related data.
> A useless tick box for klte. :( Do you happen to know if this is logged as a bug for S5 devices?
I'm not sure it's a bug. Aboot never gets modified or replaced except when flashing in Odin mode using Odin or Heimdall: either by a stock Samsung firmware or by those custom packages which are made from extracting parts of said Samsung firmware.
While the boot.img gets modified by Magisk or replaced by installing a custom kernel so a backup of that has much more chances of being used.
I could not find any relevant info in these TWRP pages: https://twrp.me/faq/whattobackup.html and https://twrp.me/FAQ/
> I'll just factory reset my way to victory.
Do a clean install including a Format Data instead of just wipe. Then wipe System & both caches.
> Le Max 2 ...I still can't update to Pie, or lineage 16.0...
I have tried completely wiping and factory resetting my phone and installing from an SD card.
Did you try Format Data instead of just wipe and followed exactly the steps described in the LeEco Le Max2 wiki Install LineageOS on x2?
>...Wiped Dalvik, System, Data, Cache, Internal Storage
Did you try Format Data instead of just wipe and followed exactly the steps described in the wiki Install LineageOS on oneplus2?
I got tired of trying to understand what I have done wrong (if anything at all) and went the tedious path:
I followed this route because I don't know if using some other method to "treblizer" the phone, could bring another set of problems in the future. So yeah, tedious path.
Anyway, thanks all for the tips and suggestions.
And best of luck for all that are still trying to update LOS.
You are the 1790124th person to post about this issue. The last one was just two days ago. As a fun side effect, you might have wiped your wlan mac.
This was fixed over a month ago. Update twrp so it doesn't happen to you again.
This makes it easy!
If you can reboot to recovery, twrp has a command line. You should be able to run adb shell twrp help and get a list of available commands.
adb shell twrp help
There's some more documentation here: https://twrp.me/faq/openrecoveryscript.html
Since you're >2.8.4 just follow this for mido
edit this assumes that you have the snapdragon version.
if you have the mediatek version here's one for nikel
Doing a quick Duck search reveals that there is no way to unlock the bootloader. And even if you could, Teamwin custom recovery doesn't support your device.
I don't know the value of your device, but maybe you could sell it to get another smartphone. Maybe Xiaomi, they have a bunch of supported devices
Ok, you can boot TWRP without flashing it - that's usually the quickest way to unbrick
That should boot you into twrp
Once that's going, you should be able to use adb sideload to flash the Lineage zip:
This will require a unlocked bootloader device.
1.You will need to find a copy of Odin. (It is samsung software so I can not link it. A Google search will leave links to download it though.)2.Head to the TWRP download page. (TWRP is the most popular custom recovery out there.) https://twrp.me/Devices/3.Google how to put your device into download mode.Look for your device. Be specific. For example the Tab S 10.5 has two models t800 (chagallwifi) and t805 (chagalllte).4.Open Odin. 5.You will see in the left side of the program four sections, select the option AP.
1.Select the AP Button and locate the TWRP Tar.md5 file and click begin. This is the LAST TIME to keep your warrantywhich means there will be no going back here(This is also the spot with the strongest chance of a BRICK)2.Your device will reboot.Fire up Chrome and head to this site. http://www.supersu.com/downloadDownload the LATEST FLASHIBLE ZIP.3.Power off your device (This is the easy part)4.Google how to put your device into recovery mode. 5.Enter Recovery Mode.Select "Install"Navigate to where you downloaded the zip.Tap it.Swipe to flash.Reboot.Done! Enjoy your rooted device! Sorry the formatting is shit I'm on mobile.
I had the same problem with my Mi5s when using a specific version of TWRP - noob here, don't remember details, but pretty sure I've written it down somewhere if it makes a difference. Long story short: flash a different build of TWRP on there & you'll probably be fine.
EDIT: It was cofface that would not accept my input at all (pattern to unlock the encrypted storage) - once I installed TWRP from https://twrp.me/Devices/ everything was fine.
I assume you didn't take a most recent version of TWRP? You should... https://twrp.me/devices/lgnexus5.html
You can always restore to Google Factory images from https://developers.google.com/android/images
Download yours and run the flash-all.bat script. Alternatively, you can unzip and take the stock recovery.img and just flash that (ideally use the same build that's currently on your device).
Also, you should be using adb/fastboot from Google directly.. latest versions are ideal.
no. Unless you wipe them first in TWRP to make it a clean install (c.f. a dirty install where you use updater/TWRP to just flash the updated LineageOS). Or unless you didn't back-up it properly and things go wrong.. FWIW there's https://twrp.me/FAQ/ Hth
I'm assuming you've read the instructions for installing CM on your device? If not, go here and choose your device. It's sorted for Motorola devices and CM14.1. As for recovery, there are two, but most people prefer TWRP. Here's a quick primer – third paragraph. The CyanogenMod link should give you an idea of the general steps involved to read up on before you start the process and you get linked to /u/naohajac's more detailed materials.
Try using the fastboot install method here: https://twrp.me/devices/lgnexus5x.html
Worked for me, just make sure you keep note of this:
>Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
> If I do a factory reset will that clear all of the apps?
Yes, other than those files/apps that are pre-installed in the ROM. It will clear all associated data as well. It should not (as a standard factory reset) touch the external sdcard. On TWRP 184.108.40.206, Factory Reset wipes data, cache, dalvik. It does not wipe Internal storage (i.e. partition scheme), System (i.e. ROM files), or external media (i.e. OTG, External SD).
> How do I start all over again
Same as before: Flash ROM, Factory reset. If you want to restore your device to stock, then you
> How do i make sure I have everything backed up that should be backed up?
You can take a nandroid snapshot through TWRP or selectively pull with ADB or copy/paste out to an external SD Card.
Wipe - TWRP
Backup before - TWRP
You need to flash the Xposed Uninstaller from recovery:
If you don't have a recovery installed, install TWRP first:
Install guide: https://twrp.me/devices/oneplusx.html
(I have no idea if it will work if you haven't enabled USB debugging but guess it's your best bet)
well since you have it unlocked, go install TWRP. https://twrp.me/devices/xiaomiredmi3.html
Then you can flash SuperSU and Xposed (for miui). They're not Redmi3 specific so you'll be fine.
On Xiaomi.eu the rom you want is called Ido.
Only the TWRP is device specific, you'll be fine mate, believe in yourself
While not N specific, TWRP was just updated to a version 3.0 in February 2016. I installed it with no problems a few weeks ago and it's been working great for me. It looks and feels nicer, and I have no complaints. Apparently a bunch of minor bugs were updated and some other cool as well.
Nah... So the first part.... Getting the recovery. Looks like the G is the india one "https://twrp.me/devices/samsunggalaxynote4qualcomm.html"... based off of this " SM-N910G Qualcomm Snapdragon 805 Singapore, Sri Lanka, India".....
Yes you flash it like any other odin file... Drop it in odin, make sure re-partition is not checked and fire away. Make sure your phone doesn't replace the recovery right after flashing though... Pull the battery when it first starts. (BUT NOT WHEN ITS FLASHING) Then hold down the usual recovery buttons (home, power and volume up)
When I mean by rom, I mean a new rom... Here is the XDA link. Look for one compatible with your N910G and install it from your microsd. http://forum.xda-developers.com/note-4/snapdragon-dev
Then, you can decide if you want to stay on that rom or not... Also for obvious reasons, this trips knox.. This entire process trips knox. Knox is rip.
Good luck m8, message me back again if you need anything else. Sorry for the 30minute delay. Preparing to paint my room, had to chip away loose paint and spucko-it.
Try flashing the recovery again, but IMMEDIATELY boot into recovery (once it's back into the bootloader) before fully restarting the phone.
See here for more info: https://twrp.me/devices/huaweinexus6p.html
> Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
There are guides on XDA and anywhere if you search how to root device (in this case N4). Same goes for Recovery. Usually you would TWRP, then root. Since it usually takes a custom recovery to flash the supersu.zip.
But you already flash a custom recovery, unless you went back to stock android. Then just redo the custom recovery.
If you really need to know how to flash a custom recovery
"On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
You should now be in fastboot mode. Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
fastboot flash recovery twrp.img
( https://twrp.me/devices/lgnexus4.html , "Fastboot Install Method (No Root Required):")
Look at the date of the article. 2 Months ago+ .... 5.1.1 JUST came out... CF auto root only works for 5.0.1 and Below.... I just got my phone out of a soft brick, so here is what I did.
( Do this ONLY if the Stock Firmware file FAILS in odin )
I did this because installing the rom should restore the partition tables and get the device into "functioning" condition again. Then I flashed the 5.1.1 stock odin file and it worked. If you try flashing the stock odin file and it works, good. But if it constantly fails, this is one way to save your ass.
First step is to unlock the bootloader. Go to HTCdev.com and there are instructions to unlock the bootloader. Note this will erase everything on your phone so make sure to back up. Then you have to install a custom recovery. I like TWRP.
Follow the instructions on that page under Fastboot Install Method (No Root Required).
Then you need superSU
Put that on your phone and then go to recovery and install that and you will be rooted.
When you do a wipe from TWRP, it wipes everything but the recovery. Here's the FAQ. I know it doesn't address data, but there's an option when you do a wipe to select to wipe data. Custom Recovery is not affected (the custom recovery can't wipe itself while it's wiping the phone :) )
Download TWRP recovery from here: https://twrp.me/devices/lgnexus5.html and flash it with fastboot.
Then try to flash the kernel again. If still on bootlood, try to factory reset from TWRP (under wipe, if memory serves).
If that doesn't help, download factory image (https://developers.google.com/android/nexus/images) and flash that with fastboot, then flash TWRP and then kernel again.
Beware, reflashing stock will wipe your whole phone.
I would advise you against using clockworkmod recovery, I don't know if it's even developed anymore. TWRP seems to be working much more smoothly.
Ya des versions non officiel du système d'exploitation d'Android(tout dépendant de ta cell) avec les mises à jours de sécurités et tout. Je faisais sa dans le temps on j'avais pas les moyens d'en acheter un plus récent. Lineage(https://lineageos.org/) est le plus simple de tous, il te faut aussi une façon de sauvegarder ta version original avec twrp (https://twrp.me/)
ilk bu siteden twrp yi yüklüyor sun sonra yüklediğin dosyayı odin ile flashlıyorsun
daha sonra romu yüklemek için şunları yap, bu arada romu sd karta yüklediğinden emin ol
Very good. I have the same device.
Here are the steps you need to fulfill.
Make a backup of any information you do not want to risk losing. Pics, vids, documents, etc etc
Enable developer Options. Go to Settings > About > Software Information (if applicable) > Build Number, tap it 7 times.
In Settings > Developer Options, enable "OEM unlocking" and ADB debugging
Download patched Odin or the open-source Heimdall. Grab G930F TWRP .tar image, flash it to your Recovery from a PC. Your phone does not support fastboot at all fyi.
Boot to TWRP, wipe your data THIS WIPES YOUR PHONE
Make a backup of your boot partition. Reboot back to Android. Do setup. Patch your boot.img with the Magisk app.
Lastly, reboot back to TWRP, flash your patched boot.img to your Boot partition.
Presto! You now have root. I've personally done this on my Exynos G930F, it's not that bad.
It does take some patience and time.
i317 is Note 2, and Note 4 as you mentioned in the other post. eMMC here will be a separate chip and BGA153 which makes things a bit easier, but the chip is still "glued"/underfilled and is nasty to get off.
I'm not all that familiar with US variants, but looks like i317 may not have locked bootloader. In this case you can download TWRP, flash with Odin (3.07 or 3.09 version should be ok), boot into it and mount userdata partition, or make full image and do whatever you need. https://twrp.me/samsung/samsunggalaxynote2att.html
Their IRC would likely be the best route, for varying definitions of best. This is listed on their About Page.
The volunteer nature of the two projects is fairly similar. Any answer you're likely to receive will be some variation of:
>TWRP is a volunteer project. No device requests. Your device is either supported, or it's not. If it's not, your options are "support it yourself" or "hope someone else does it for you"
You mean your lockscreen code? Did you activate USB debugging? I just rebooted my 7T Pro into recovery via the long press menu on the power button and it asks for the lockscreen pin first. There is no way to tell if your internal memory will be wiped. Try to boot a compatible TWRP and then follow THIS guide if you can. You may not be able to boot that TWRP if its bootloader is not unlocked (this cannot be done if OEM Unlock is not set in the Android settings).
Let me know if you need any help.
Unless you actually need TWRP I’d just temporarily boot the latest TWRP ( fastboot boot latesttwrp.img ) and then flash the Magisk zip. No chance of screwing up your boot partition then. https://twrp.me/oneplus/oneplus6t.html
fastboot boot latesttwrp.img
Odin Install Method (No Root Required):
You will need to download and install Odin on your PC. Once you have Odin installed, download the proper .tar file for your device from the download link above. Power off your device. Turn on your device using the proper key combo to get into download mode and attach the device to your computer via a USB cable. Use the PDA tab or button to browse to and select the tar file that you downloaded and flash the device.
Note many devices will replace your custom recovery automatically during first boot. To prevent this, use Google to find the proper key combo to enter recovery. After typing fastboot reboot, hold the key combo and boot to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent the stock ROM from replacing TWRP. If you don't follow this step, you will have to repeat the install.
(Note PDA doesn't actually appear but I found that AP replaces it)
In general - Use Odin or ADB to install TWRP custom recovery (make sure to use the right version, there are several variants of your phone). Then use TWRP to install Magisk (download from Github - link in the first post).
Do a bit of reading about the above so that you have at least half an idea what you're doing.
Your bootloader is unlocked?
You have the correct TWRP.img? https://twrp.me/oneplus/oneplus7pro.html
If you are using Powershell instead of CMD, did you enter "CMD" as your first command (this will let you use PS as CMD)
If you are using CMD, have you tried running it as Admin?
Are you following these directions?
If so, it sounds like you are trying to install it directly rather than from the SD card. You have to boot the phone into TWRP "temporarily" and then use TWRP to install itself from the SD card.
It can be confusing if you've never worked with A/B partitions before.
You need to find a full system image and reflash your phone with it before starting over.
> I'm referring to formatting, specifically in the context of an upgrade.
I understand the difference between format data & wipe data & explained it dozens of times in this sub but since the OP refers to /data/user_de/0/com.android.providers.telephony/ and that will be destroyed with both wipe or format data.
>...You can't install GApps into a running system in any circumstance, whether updating or upgrading...
>...and this does not require formatting.
No it does not but the only downside of format data instead of wipe data is that you need to backup the content of /data/media/0/ a.k.a internal storage as it will be destroyed by format but untouched by wipe & the plus side is the device being ready to be encrypted if enabled later or done by default by LineageOS depending on the device model.
> Do you mean LineageOS 15 or previous ones? Or simply a different builds from LineageOS 16
I meant what I wrote. ;) A different build date, not a different LineageOS version.
Currently LineageOS 16.0 builds from 2019-10-09 through 2019-10-17 are available on the a5xelte downloads @ the present.
Builds older than 4~6 weeks get automatically removed to make space for new stuff but the Galaxy A5 has not been on the LineageOS roster for that long.
First step could be making sure your downloads are not corrupted. Using a hash calculator utility on your computer check the MD5 hash for Open GApps & sha256 for LineageOS. Both download pages include links to those checksum.
Edit: u/Seccianico - Second troubleshooting step is a clean install of the most recent LineageOS only including Format Data instead of just a simple wipe data.
Format Data adds an empty encryption footer after the end of the Data partition for some future encryption related data if enabled.
Waiting for your reply after testing this.
You cant, understandably so. If someone steals my phone and uses another device to crack it then fine, but I would like to not be able to have it cracked in under 5 minutes out of my sight with no extra tools. Encryption isnt a route Id like to go either
Yup you need a pc.
Download twrp.zip and twrp.img from twrp.me, adb and google drivers
Put twrp.zip on phone
Turn on usb debugging in developer settings
Boot into download mode
Plug phone to pc
Turn on adb
flashboot boot twrp.img
then it should restart into twrp
flash the zip through twrp
This will be a long process if you're not familiar with rooting or flashing your phone...
Unlock your bootloader by following this: https://www.reddit.com/r/mate10/comments/96q7ja/updated_method_of_obtaining_bootloader_unlock_code/e449939/
Download TWRP: https://twrp.me/huawei/huaweimate10pro.html and follow the instructions there on how to flash the recovery
Download Open GApps: https://opengapps.org/
Transfer to your phone, reboot to recovery and flash .zip
Sorry for others being toxic. But they are right about the fact that you should have done more research. Read what /u/automod commented on your post very carefully. Then reboot your phone into download mode and use samsung smart switch to reinstall the stock firmware undoing whatever bullshit kingroot might have done to your device. When you are done with that get heimdall FROM HERE (the links that you find when googling it are fake do not use those). Then download twrp from HERE (I do not know what variant of the core prime you own), reboot to download mode and use heimdall to install it. Then reboot into recovery with the button combo and install magisk. You can find it HERE
Veja o menu daqui: https://download.lineageos.org/
E de preferência um modelo daí que tenha também TWRP oficial (recovery). Ver aqui: https://twrp.me/Devices/
Se quiser mais ainda, depois confere no fórum XDA se o modelo tem muitas outras opções de ROMs. Só fazer uma busca pelo modelo lá e ver os tópicos. Quanto mais, melhor, pensando em comunidade dando suporte pra ele.
Por exemplo o Xiaomi Poco F1 é um aparelho com especificação técnica animal, compra no Brasil por R$1500 ou pouco mais (mas sem garantia oficial....contrabando do Paraguai ou importado China) e ele tem ótimo suporte de tudo acima. Mas ele só um exemplo, só ver aí que tem outros. Só atente ao modelo bem específico (nome entre parênteses normalmente), porque tem variações internacionais e se você comprar um com bootloader travado (locked) você dança. Tipicamente isso acontece mais pros modelos voltados pro mercado dos EUA, mas fique atento.
See my bootloop fix guide here and read the "setting up your computer" and "unlocking the bootloader" sections. Consider reading the whole post actually, because it will help you if your phone bootloops.
That's as hand-holdy as any guide is ever going to get, it's very beginner-friendly.
Once you have set up your computer and unlocked the bootloader, simply use ADB to flash the latest TWRP from here. The TWRP website has instructions as well which overlap with mine under "Fastboot Install Method".
Once you have TWRP on your phone, you can just download whatever ROM you want and flash it from TWRP.
Try booting the TWRP image found here
fastboot boot path/to/twrp.img
then flash he twrp installer zip also found there
TWRP is a custom recovery. It is intended to replicate and enhance the options which can be done within the usual recovery mode for Android devices. They have a small blurb on their website: https://twrp.me/about/
We would use it to install/flash ZIPs.
Magisk is a widely used alternative to SuperSU since it's discontinuation. It manages root access for your apps and also has a built in module manager (plugins or mods).
Alright, I did this exact same thing.
ADB still works when you're in TWRP so you can reboot to the bootloader and install a version of TWRP that works with our phones.
Click the link in step 3 that says " Here is a pre-patched September Boot Image with TWRP." and it should fix it.
You'll probably have to boot into android to find what boot slot you're using (A or B).
>...back to stock ROM (G900W8QB2) which is the latest for my device. Used it like that for a month and then reverted back to LOS. And this is what happened after one week of using it...
Maybe you missed in the post above: "...TWRP 3.2.3-0 using Odin3 then in TWRP: full Format Data...".
From TWRP FAQ What is a data/media device:
In your OP you mentioned /data/system/uiderrors.txt. This is what I can see in the last lines of S5 klte LineageOS 15.1 SM-G900M + Open GApps Pico + Lineage addon su for root and always using the built-in OTA LineageOS Updater :
10/9/18 1:53 AM: Upgrading from Tue Oct 2 01:33:10 UTC 2018 to Tue Oct 9 01:20:18 UTC 2018
10/19/18 10:28 AM: Adding duplicate user id: 10182 name=com.mxtech.videoplayer.pro <<< an app I installed
10/22/18 2:09 PM: Upgrading from Tue Oct 9 01:20:18 UTC 2018 to Mon Oct 22 17:55:10 UTC 2018
10/22/18 8:42 PM: Adding duplicate user id: 10195 name=com.microsoft.office.word <<< an app I installed
10/22/18 8:46 PM: Adding duplicate user id: 10195 name=com.microsoft.office.excel <<< an app I installed
10/30/18 4:34 AM: Upgrading from Mon Oct 22 17:55:10 UTC 2018 to Mon Oct 29 18:01:41 UTC 2018
11/8/18 1:27 PM: Upgrading from Mon Oct 29 18:01:41 UTC 2018 to Tue Nov 6 02:27:20 UTC 2018
redmi 5a is even easier...DO NOT USE THAT IMAGE ON 5a....https://twrp.me/xiaomi/xiaomiredmi5a.html anyway i'm sure you'll run into bootloop, for not installing dm-verity zip in the correct order...
I had the same problem. Even with the "official" TWRP4ESSENTIAL way. Then i found a fixed version of TWRP - here you go. Its somewhere from XDA.
Dude seriously, they have literally just told you what to do....
Download from this very easy to find site
Use install instructions from this again, very easy to find site
0) Try one of the spoofing apps without rooting. If it does not work :
1) Unlock your bootloader if your device has one. (This will wipe the phone)
2) Flash TWRP, flash your custom ROM if you want one and flash Magisk at the same time, without letting the system boot between those steps because some stock ROMs will restore the stock recovery if not rooted. (It's more complicated than that but this is it in practice)
3) Make sure the device passes SafetyNet. If it does not, then make it pass it.
4) Hide Magisk
5) Hide PoGo in Magisk
6) Install your spoofing app
7) Have the app repackage itself under a random name
8) Make your spoofing app a system app
9) On Oreo : Fix the permission files so the spoofing app will run as a system app
You'll find that many devices cannot get past step 1 and the ways to do step 1 vary from one device to another. You clearly overestimate how unified Android is. The US version of many Samsung devices that use Snapdragon cannot have their bootloader unlocked while the International versions of those same models that use Exynos can. Even within the US, some carriers will allow bootloader unlocking while others won't on the same models (notably, Verizon disallows it). For Huawei devices, you now have to purchase unlock codes from a shady website to unlock the bootloader of the device because Huawei stopped sending codes. Many devices have no support whatsoever for doing any of these things simply because no developer is interested in them. Just look at this list of Samsung devices and notice everything that's missing : https://twrp.me/Devices/Samsung/
If you just want instructions on how to get a spoofing app working, then just give this FAQ a look to get an idea of how a general guide is not possible : http://www.incorporateapps.com/fake_gps_route_faq.html
That was me. When I was using TWRP 3.2.2-0 on my OnePlus 3T and did the reboot to install an OTA update for LineageOS, it took me to the main TWRP recovery screen (Install, Wipe, Backup, etc.) instead of applying the OTA update.
Once I updated to 3.2.3-0, TWRP began installing OTA updates like it was supposed to (that is: LineageOS reboots to TWRP, which then automatically runs the OpenRecovery Script to do the update, and then automatically reboots back to system when finished).
Hopefully the added detail gives more clarity to my previous comment. Basically, there was a problem that TWRP 3.2.2 introduced for encrypted phones (a problem which 3.2.1 did not have), and then 3.2.3 was released a few days later in order to fix the bug so that OTA updates would work again.
See also: 3.2.3 release notes
Tagging OP /u/hitometootoo
Be aware that TWRP will not backup your data/media partition of your phone. This is (broken) by design. So don't wipe data or it means bye bye whatsapp data / photos / etc.
Read more about it here.
First, backup everything you need. Your device will be erased. (I am not liable for damage to your device or data, proceed at your own risk)
You need to unlock your bootloader and install TWRP recovery.
Install ADB and Fastboot: https://forum.xda-developers.com/showthread.php?t=2317790 (assuming you use Windows)
Hold Power and Volume Down until you see a screen with some text, and at the top is an arrow which says START.
Then, connect it to your computer, open Command Prompt, and do "fastboot oem unlock"
Follow instructions on the phone if they appear.
Now, download the recovery TWRP: https://twrp.me/lg/lgnexus5.html
Then, do "fastboot flash recovery C:\pathto\twrp.img", but with the path correct for the img you downloaded.
Then, use the volume keys to change the word START to Recovery, then press the power button.
When TWRP loads up, it will ask about modifications, tick the box don't show this again, then slide to allow modifications.
Now download darkrom-14.1-20171102-NIGHTLY-hammerhead.zip, and Dark_GApps-7.1.2-20170825.zip
Go to Wipe, ans Advanced Wipe, and tick all the boxes, then slide the slider. Now, go to Advanced, and ADB Sideload, slide to sideload.
On the computer, do "adb sideload C:\pathto\darkrom-14.1.zip"
When it is done, go back, and do another ADB Sideload, this time doing "adb sideload C:\pathto\Dark_GApps-7.1.2.zip"
Once it is done, Reboot the phone, and it will take a long time for the first boot, maybe 5-10 minutes. TWRP may ask if you want to install it's app, that is up to you.
I think that is everything.