No matter what i do its still giving me error 7 in LEX727 - LeEco Le Pro3 Questions & Answers

Hello All
Its a never used LEX 727. Decided to flash a custom rom. Installed latest TWRP, but when i go to flash the rom got error 7.
Tried with diffrent roms but still error 7.
Then updated firmware to 30S by @codeworkx from here and again tried different roms but am still getting the error.
Following the suggestions given by various posters, I have tried doing full wipes, rebooting to recovery, using the ALL IN ONE tool but nothing is working.
I've also tried many older versions of TWRP as well as roms but nothing, the error is still there.
Any more suggestions on how to fix this? Thank you.

This is a typical error when TWRP is old or does not fit the model.
First, stay at 20s firmware:
Downloads for : LeEco Le Pro3 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
You have to keep an eye on this:
- LEX720 (ZL1_CN)
- LEX722 (ZL0_CN)
- LEX727 (ZL1_NA)
Error 7 says the ROM’s updater script says the phone model of your phone is incompatible. A quick search for LineageOS give me this compatible on:
[ROM][OFFICIAL][TREBLE][X72X][11.0.X] LineageOS 18.1 for LeEco Le Pro3
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from...
forum.xda-developers.com
Make sure you have the latest TWRP installed for the X727:
Download TWRP for zl1
Download TWRP Open Recovery for zl1
eu.dl.twrp.me
Importand: If LineageOS aks to install it's own recovery, don't do it.
Important:
Install recovery, then reboot directly into recovery and install the rom. Original Firmware will revert back to stock recovery while boot! The you have to start over again.

Hello @Neppomuk_
Thanks.
1- I installed the 20S firmware
2- Installed the latest TWRP version 3.6.2_9-0-zl1 , and, rebooted to recovery.
3- Downloaded both the latest official LOS as well as the unofficial one by the poster whose link you have posted above. First tried installing the official rom and it gave error 1. Then tried flashing the unofficial one and same error. i.e.: "E1001: failed to update system image", Error 1.
4- I also tried installing the Mokee rom and it is also giving the same error. I downloaded the rom from their official site here
4- I am attaching screenshots of the errors. The first one is from the lineage "unoffical" after the "offical" had failed to install. The second one is from the failed Mokee rom.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Hopefully this is progress.
Error 1 is corrupted boot. You have the flash the stock boot.img with bootloader. I own a x720 so I can not provide you my one. It is possible to extract it from stock rom.
Check if you can find one here:
Le Eco Pro 3 X727 Twrp Backup : Clean Full Stock X727 recovery EUI 5.8.21s
Return to Un-modded Stock: Bootloader unlocked and TWRP and Root included The file is 4gb compressed to 2gb. Depending on your connection it will probably take 20 to 45 minutes to download. Be Advised Do your research before flashing...
forum.xda-developers.com

Neppomuk_ said:
Hopefully this is progress.
Error 1 is corrupted boot. You have the flash the stock boot.img with bootloader. I own a x720 so I can not provide you my one. It is possible to extract it from stock rom.
Check if you can find one here:
Click to expand...
Click to collapse
Actually i have had that error before while experimenting, so i'm afraid there has been no progress.
Are you asking to flash the stock boot image? And then what? Will appreciate if you outline the steps.

@Neppomuk_
1- Extracted stock boot image from the file you provided. Flashed it to boot successfully. Rebooted to recovery.
2- Went through the process of flashing the rom again. Still error 1.

OK, the E1001 from your screenshots is interesting. System image is (marked as) encrypted.
Do Following from twrp, all steps without reboot:
wipe/advanced wipe, tick 'Dalvilk/Art', 'Cache', 'Data' and 'System'
then go wipe/format data, confirm with yes, now the encryptiono (state) should be gone.
Now reboot straight back into recovery and flash the, this was mokee rom?, again.

Neppomuk_ said:
OK, the E1001 from your screenshots is interesting. System image is (marked as) encrypted.
Do Following from twrp, all steps without reboot:
wipe/advanced wipe, tick 'Dalvilk/Art', 'Cache', 'Data' and 'System'
then go wipe/format data, confirm with yes, now the encryptiono (state) should be gone.
Now reboot straight back into recovery and flash the, this was mokee rom?, again.
Click to expand...
Click to collapse
Did it. Still error 1.
The first picture is LOS. The second one is Mokee.

Let's try following:
In TWRP go to Advanced, select File Manager, select the System folder from the list and the push the checkmark on the bottom right corner. No push the chmod 755 button the give full access to system partition.
Try to install custom rom.
A second try:
Go to wipe / Advanced wipe
select the system partition
now select 'repair or change file system' and then 'repair file system'.
Try to install custom rom.
I had problems with the 2nd try on some devices they do not allow repair of system partition.

Did the 1st option. Still error 1.
Did the 2nd option and the process was aborted or failed with error 4.

Did the 1st option. Still error 1.
Did the 2nd option and the process was aborted or failed with error 4.

Did you had any problem to flash TWRP on the device earlier?
With error 4 we have a second option:
In TWRP go to Wipe / Advance Wipe, select 'System' partition and select 'Repair or Change File System'.
Select 'Change File System', select EXT2 and proceed.
Then do the same to go back to EXT4.
Do the same with the Data partition.
Now, you have to transfer the custom rom to your phone again. But do it in bootloader mode this time.

OK, something special:
The LineageOS ROM has it's own boot.img inside. You can use this one as well, flash it in bootloader.

Neppomuk_ said:
Did you had any problem to flash TWRP on the device earlier?
Click to expand...
Click to collapse
No.
Neppomuk_ said:
Now, you have to transfer the custom rom to your phone again. But do it in bootloader mode this time.
Click to expand...
Click to collapse
Not sure how to do this. As far as i know one can only flash images in boot loader mode. How does one flash a zip file in that mode?
Neppomuk_ said:
OK, something special:
The LineageOS ROM has it's own boot.img inside. You can use this one as well, flash it in bootloader.
Click to expand...
Click to collapse
Are you asking to flash the lineage boot.img in bootloader mode and then flash the entire rom by TWRP?

Do partial flash in bootloader mode, if not already happen, use Minimal ADB and Fastboot:
[TOOL]Minimal ADB and Fastboot [2-9-18]
Introduction ADB and Fastboot are arguably two of the most indispensable tools used when working with Android devices. If you really want to modify, debug, and tweak along with their countless uses in rooting, and other procedures ADB and...
forum.xda-developers.com
Command to flash boot image in console:
fastboot flash boot [boot.img]
Then stay in bootloader mode. The mobild should mount a drive to the system. Copy the ROM imge to the internal storage on that drive. You can copy the rom in TWRP mode also. Then install the rom throug TWRP.
I never sideloaded data. I like to check the transfer is successfully finished. I had some faulty sd cards, wich do no give an error while sideloading stuff.
As an alternative you can use an OTG USb Stick and putt the stuff on this one. Would do the same and could be faster.
If you need drivers for Windows:
Get the Google USB Driver | Android Studio | Android Developers
The Google USB Driver is required to perform adb debugging on Windows with Google devices.
developer.android.com
and the device specified one:
LeEco Le Pro3 USB Driver for Windows (Official Mobile Driver)
Download the official USB Driver for Windows Computer.
gsmusbdriver.com
-> I did not verify if this driver downloads are still valid, please check them first.

I do have the latest drivers and ADB installed. Everything i have been telling you has been done via ADB as well as from the internal storage of the phone.
But my question was, when you say :
Neppomuk_ said:
Now, you have to transfer the custom rom to your phone again. But do it in bootloader mode this time.
Click to expand...
Click to collapse
What are you exactly asking me to do? How can one flash a zip file using bootloader, assiming that's what you are saying?
And, when you are saying:
Neppomuk_ said:
The LineageOS ROM has it's own boot.img inside. You can use this one as well, flash it in bootloader.
Click to expand...
Click to collapse
Are you asking me to flash the boot.img using bootloader and then flash the rom from TWRP?
My question is i can flash the boot.img from TWRP, can't I? Anything wrong with that approach?

I think understand you now. Do a partial flash using boot loader and the do the rest using TWRP.
Thank you for clarifying. One needs confirmation so we do not do anything we aren't supposed to.

Sorry, I mixed up another case where I'm tring to remove forced data encryption.
There are flashable boot.img in zip files wich you can flash from TWRP, but this is not your one.
I still believe, that something is wrong with your boot partition.
The whole procedure:
- Extract boot.img from Lineagos and install it in bootloader mode: fastboot flash boot [boot.img]
- Boot into TWRP while holding Power and volume up.
- If not done, wipe cache and system, format data.
- Copy LineageOS to the drive / internal storage
- Use TWRP to install the rom

veda1 said:
I think understand you now. Do a partial flash using boot loader and the do the rest using TWRP.
Thank you for clarifying. One needs confirmation so we do not do anything we aren't supposed to.
Click to expand...
Click to collapse
Yes, better one question to much than new problems...

Did as suggested. Still error 1.
I have another question while we continue to look at this. If worse comes to worse i've no choice but to use EUI. Is it possible to patch the latest android security patches to it? That is, rom will be EUI , but updated with all security patches?

Related

[GUIDE] All-in-One Moto E Beginner's Guide

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
About the guide
This guide is to provide information about the phone and directions about modding your phone. Most of the stuff is already posted in the forums while some of it is not. I'll try my best to explain how the stuff works for Moto E. How to Root, recover, troubleshoot so you don't screw up your phone by flashing something you're not supposed to.
Standard Disclaimer:** I'm NOT responsible for any damage you do to your phone trying to mod it. Understand how to recover from issues carefully. **
Index
I just bought a Moto E, now what?
Starting Up -Drivers, ADB and Fastboot.
Facts - Bootloader & Recovery.
Beginning the workout
Unlocking Bootloader
Flashing Custom Recovery
Rooting.​
I just bought a Moto E, now what?
Congratulations on your phone. Now you should understand the device you have.
Moto E has three variants,
XT1021 - Single SIM
XT1022 - Dual SIM
XT1025 - Dual SIM with TV
Determine what variant you have. Its important as some mods maybe specific to one device and might not work with other.
To get more info about your device, I'd recommend giving this FAQ thread some time.
[FAQ] Frequently Asked Questions For Moto E​
Starting Up - Drivers, ADB & Fastboot
So let us begin. You need to setup your system first.
Drivers, Get your drivers from Motorola Motorola Device Manager. Install it.
ADB & Fastboot.
[Option 1]
(Android SDK), Android SDK is the Android Software Development Kit. It includes the tools to develop apps and debug your device.You need it in order to mod your device and recover sometimes.Get it from Android SDK Its a big package in terms of size.
[Option 2]
If you don't plan to develop anytime soon and concerned with the size, you can get the Minimal ADB & fastboot from [TOOL]Minimal ADB and Fastboot
Setting UP ADB & Fastboot:
You need to set you path variables so you can run ADB & Fastboot commands without worrying about your present directory.
Extract your SDK package to a directory. (or installation path in case of minimal)
Run SDK Manager.exe. It might show few packages available to download. Tick everything under tools.Click Install packages. Accept license. Install
Naviagte to platform-tools (it should have files adb.exe & fastboot.exe)
Copy the path
Now goto Control Panel > System
Click Advanced system settings
Click environment variables
In the box, find 'Path' under system variables. Select it and click Edit
Now, Paste your SDK path in the Variable Value after a ; (It should be something like this C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;I:\Android SDK\platform-tools Click OK
Done, close the boxes and windows.
Now time for validation. To verify if you've setup the system correctly.
Get your phone and goto Settings>About Phone.
Tap on Build Number 7-10 times (until it says 'You are a developer'), You've enabled developer options.
Goto Settings> Developer options.
Under Debugging, tick USB DebuggingClick OK.
Connect your phone to your PC (on a USB 2.0 port). It might install some drivers, let it finish.
Now open the command prompt on your PC.
Type
Code:
adb devices
.
You will get a prompt on your phone to authorize. Tick 'Always Allow from this computer' And click OK.
It will show the device ID followed by 'device'.
Done, your system is ready.​
IMP: If you encounter some errors. Check Troubleshooting.​
Facts - Bootloader & Recovery & Rooting.
Bootloader
Bootoader is a small code that reside in your device. When your phone is turned ON, it loads all the hardware and the software of your device and make your phone come alive.
Locked BL & UNLocked BL: Locked BL is a little insurance (for most users)for your device. It checks everything your system can flash(install) thus helps to keep it safe from unwanted or corrupted files. This sounds cool at beginning but is a nightmare for developers. This means there is no way to rewrite the stock recovery of your phone and limiting the things you can do with it(bye bye custom ROMs).
Unlocked BL on the other hand allows to rewrite the recovery (almost everything) on your phone with a custom one, but it also include the risks(everything good, comes with a price). You Lose your warranty (permanently) and your phone is vulnerable to bricking.
Its totally your choice if you want to unlock your BL or wish to remain on stock.​Recovery
Then we have the Stock Recovery, this little part of your phone is also locked and cannot be removed or changed from your phone, it will allow you to make Recovery stuff like Full Wipe (Data and Cache) and install Update.zip(specific only) files.
A custom recovery is a special recovery. This allows Android Phones to do recovery tasks, like deleting data, installing recovery Zips and so on; The tasks you are allowed to do with Stock Recovery are pretty basic. Here is where TWRP comes into play.
TWRP is a Recovery that allows you to not only do basic tasks but also create Backups, Restore Them, Fix Permissions and quite a lot of other useful stuff like flashing Custom ROMs.
A Custom Recovery is installed by flashing the Recovery Partition in your Android Phone with a Custom Image.
Most importantly and commonly, Recovery is used to flash update.zip files. These files could be anything from ROM zip to apps,or certain modified system files. Whenever you see the term, "Recovery flashable", this is what meant by it. They are always in *.zip format.​Rooting.
So, what’s rooting and why everyone talks about it.
Phones come “locked” , this means users can only do basic usage of their phones, installing/uninstalling apps, wallpapers and basic stuff. You can see but not touch any System file, or change the actual behavior of Android. Rooting just means you have access to your phone like an Administrator(in windows) or SuperUser(in linux), meaning you can access and change system files, delete/create files and folders and so on.
Rooting simply involves giving user rights to modify system, this is done by pushing (installing) 'su' binary into system. This can only be done by a Custom recovery and needs unlocked Bootloader. There are other methods to push 'su' binary to android system but none of those work as of now for Moto E. Unlocking BL and flashing through TWRP is the only method available. ​Beginning the workout
So now that you know your phone and the terms, you can begin modding it. The process followed is simple:
Unlock your Bootloader
Flash a custom Recovery
Flash Root binary
Flash the custom ROM (Optional)
Unlocking your Bootloader:
This is the first step for modding.
IMPORTANT: Unlocking your Bootloader will void your warranty permanently(Not applicable to EU users.). You cannot claim your warranty once you request the unlock key. No matter if you don't unlock, relock it or the issue is unrelated to Bootloader. That is Motorola Policy.
Also, all your apps, data, photos,music on your internal memory will be wiped make sure to back it up before proceeding.
You can follow the Guide to unlock BL by @Falcon G
[GUIDE]Unlock Bootloader - Moto E
It is well detailed.​Flash Custom Recovey
After you have unlocked your Bootloader, you can flash a Custom recovery.As of now, TWRP & CWM are available for Moto E
You can easily flash it using the TWRP manager app from play store (not tested) Play Store Link
Or you can flash the recovery manually:
Manual Flash:
Download TWRP from TWRP.. Or ClockworkMod from this thread.
If its an *.img file then rename it to recovery.img . If its compressed archive (*.zip or *.tar) then extract and rename it.
Boot you phone into fastboot mode. (See tips)
Connect you phone to PC
Goto the folder where you extracted your recovery. Shift+Right Click, select 'Open Command Prompt Here'.
Type in command prompt
Code:
fastboot flash recovery recovery.img
(it should give a partition size mismatch error, don't worry about it)
Reboot.
Done.
Root
You have a custom recovery, now you can flash the root package.
You can check this thread for root, or follow the procedure below.
Download the SuperSU from this thread. DO NOT Extract it.
Copy the .Zip file to your phone. (Internal sdcard recommended)
Boot into recovery(See Tips)
Chose, flash Zip from sdcard
Chose the zip file you copied and confirm
Reboot
Done. You are now rooted. Check the phone it should have the SuperSU app.
[Optional] Flashing a custom ROM
Finally, you can flash your desired Custom ROM.
IMP: Please DON NOT ask for recommended/best/stable ROM in this thread or anywhere in the Forum. It is against forum rules
Make a complete Backup, Most important, in case you get into some error, you'll need it to recover.
You will lose your apps in the process when you wipe /data. So backup your apps too.You can use Titanium Backup or any other app from Play Store.
Download the required ROM from Dev section.(Make sure you have the correct ones depending your variant)It should be a *.zip file. DO NOT extract.
[Optional] Download Gapps. Make sure you have the ones for KK.It should be a *.zip fil as well. Again, DO NOT extract.
Download any add-ons required (like the dual-sim fix for CM)
Copy the files to your sdcard root directory, or any folder just remember it(internal recommended, however external will also work fine)
Boot into recovery.
Make a backup. Chose backup & restore amd create a complete backup.
Wipe /data /cache /dalvik cache.In case you are updating the same ROM, like flashing a nightly, you can skip wiping /data and only wipe /cache and /dalvik cache.(just for reference it is called dirty flashing).
Select 'Install zip from sdcard', navigate to the ROM .zip and select it. Let it finish.
Similarly, flash any Add-ons you have like gapps.
Reboot. First boot will take some time, be patient.
Tips and Troubleshooting
Commands can be entered via command prompt after you've setup the ADB. However, if you don't want to connect to your PC for a simpe command, download Terminal Emulator from Play Store.
Boot into Bootloader
ADB
type into cmd
Code:
adb reboot bootloader
Terminal
Code:
reboot bootloader
Manually
Power off,
Hold Power+VolUp+VolDown​
In Bootloader, VolDown is used to scroll, VolUp is used to select​
Boot into Recovery
ADB
Code:
adb reboot recovery
Terminal
Code:
reboot recovery
Manual
Power Off.
Hold Power+VolUp+VolDown
Scroll to recovery by using VolDown
Select Recovery by pressing VolDown​
Move your App Data to sdcard using Link2SD (Coming Soon)
Flashing back your stock ROM.
Follow this guide.
[GUIDE] Restore Moto E Stock Firmware.
Manualy updating official 4.4.4 with TWRP.XT1022
Requirements: Unmodified Stock 4.4.2. Your system shouldn't be modified. All your system apps should be present & unmodified. Doesn't matter if you're rooted or have TWRP. If you have some stock files missing, either restore a nandroid if you have or flash stock ROM. Just follow troubleshooting steps.
Troubleshooting:Fixing fie verification error due to modified system files.
Extract your stock ROM
Boot to fastboot mode (bootloader)
Flash these files ONLY
Code:
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
This will restore your system to stock without afecting Recovery or user apps.
Reboot
Now continue with flashing the update
Thanks to @Deadly for verifying this method.​
Flashing the Update .zip
Method 1: A little difficult,involves manually replacing the updater script, apt for advanced users
If you already have the original OTA file (Either extracted or downloaded)
Download the updater script from here. updater script
Either extract the .Zip file or use a file manager to navigate to META-INF>com>google>android
replace the updater script by the modifed one. Rezip if you've extracted (7-Zip recommended with 'store' compression)
Copy the zip to your sdcard or external card.
Boot into Recovery(TWRP)
Wipe Cache & Dalvik
Select Install
Select your Zip file and confirm.
Reboot
Done.
Method 2:.Easier method and ready to flash zip
If you haven't downloaded the OTA or don't mind downloading an additional file (~60 MB)
Download file .Blur.Zip
Copy the zip to sdcard (internal or external)
Boot to recovery
Wipe cache and Dalvik
Select Install.
Select the Blur.zip
Reboot
Done.
​
IMP:
Flashing will take a few minutes so be patient.
Some users have reported that after OTA custom recovery doesn't stick(unconfirmed as of now).
If you flash it using TWRP, your custom recovery will be intact and you can re-root.
Thanks to @Gogeta for providing the OTA Zip file.
Nice Guide I'll reserve one here for future
Nice job man.
Falcon G said:
Nice Guide I'll reserve one here for future
Click to expand...
Click to collapse
Hetalk said:
Nice job man.
Click to expand...
Click to collapse
Thanks guys. Remind me if I've missed something.
Any tips on SIM Unlock method
neo.ank said:
Thanks guys. Remind me if I've missed something.
Click to expand...
Click to collapse
I have rooted Moto E but with SIM Lock. Any custom ROM can remove this?
orionmb said:
I have rooted Moto E but with SIM Lock. Any custom ROM can remove this?
Click to expand...
Click to collapse
Not likely. Though it depends on the type of lock it has.
BTW, whats your variant and your carrier.?
neo.ank said:
Not likely. Though it depends on the type of lock it has.
BTW, whats your variant and your carrier.?
Click to expand...
Click to collapse
I have XT1021 and locked to O2 UK. Cannot find anyone from the paid services who can provide the unlock code so decided to root and investigate if its possible this way. Running CM11 (4.4.4).
A much appreciated thread. Good work buddy! :good::highfive:
But a clarification is regarding warranty:
neo.ank said:
Unlocking your Bootloader:
This is the first step for modding.
IMPORTANT: Unlocking your Bootloader will void your warranty permanently. You cannot claim your warranty once you request the unlock key. No matter if you don't unlock, relock it or the issue is unrelated to Bootloader. That is Motorola Policy.
Also, all your apps, data, photos,music on your internal memory will be wiped make sure to back it up before proceeding.
​
Click to expand...
Click to collapse
While Indian customers will deinitely loose warranty if they've rooted or unlocked the boot-loader, I don't think it's applicable to EU customers. Please look here for more information.
Please make the appropriate changes if I'm right. Cheers!
orionmb said:
I have XT1021 and locked to O2 UK. Cannot find anyone from the paid services who can provide the unlock code so decided to root and investigate if its possible this way. Running CM11 (4.4.4).
Click to expand...
Click to collapse
You will need the unlock code. Flashing a ROM wouldn't unlock it.
Perhaps the paid unlock services haven't listed it yet.It might be available in near future. Can't say anything for sure.
Ex-Hunter said:
A much appreciated thread. Good work buddy! :good::highfive:
But a clarification is regarding warranty:
While Indian customers will deinitely loose warranty if they've rooted or unlocked the boot-loader, I don't think it's applicable to EU customers. Please look here for more information.
Please make the appropriate changes if I'm right. Cheers!
Click to expand...
Click to collapse
Added to the guide. :good:
Added manually flashing OTA for XT1022 using TWRP
neo.ank said:
Added manually flashing OTA for XT1022 using TWRP
Click to expand...
Click to collapse
Thank you for the extensive guide and update instructions.
So I should flash stock ROM, then flash TWRP
then the update.
Is it correct process.?
coefficientoffriction said:
Thank you for the extensive guide and update instructions.
So I should flash stock ROM, then flash TWRP
then the update.
Is it correct process.?
Click to expand...
Click to collapse
Yes you are absolutely right.
neo.ank said:
Yes you are absolutely right.
Click to expand...
Click to collapse
I'm flashing stock ROM now. I will post the result after trying your file.
Its not working....It shows failed using step 2... !!
dubai1991 said:
Its not working....It shows failed using step 2... !!
Click to expand...
Click to collapse
Which method did you use.?
And can you post the exact error you got.? at which step.?
it fails while verifying the zip file. tried with unticking the zip file verification and error is binary error... !!!
---------- Post added at 08:04 PM ---------- Previous post was at 07:58 PM ----------
Method 2.. Zip file verification failed.
dubai1991 said:
it fails while verifying the zip file. tried with unticking the zip file verification and error is binary error... !!!
---------- Post added at 08:04 PM ---------- Previous post was at 07:58 PM ----------
Method 2.. Zip file verification failed.
Click to expand...
Click to collapse
Is your system unmodified.?
Have you modified or removed any system app?
Where is the Ota update zip....
Sent from my XT1022 using XDA Premium 4 mobile app

twrp-2.8.7.2-angler.img overwritten by stock recovery

So I have flashed TWRP 2.8.7.2 on my 6P, and was able to go into it. However, if I shut the phone down then boot into the bootloader, arrow down to Recovery Mode and press the power button, I get the android lying on his back with a red triangle with an exclamation mark above his open front, with "No command." written below it. I can hold down the power button and press the volume up button to get to stock android recovery, then reboot to bootloader just fine.
If I connect the phone to my pc and flash TWRP again, I can get into TWRP, however, next time I reboot, it is gone. I read on TWRP's Nexus 6P page the following:
"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."
Click to expand...
Click to collapse
So, I flashed TWRP, then entered fastboot reboot in the cmd window, it rebooted to the bootloader. Then I pressed the volume down button to Recovery mode, pressed power and it went into TWRP. In TWRP I went to Reboot and selected Power Off. I booted it back into the bootloader, selected Recovery mode and it went back to the android with the red triangle and "No command."
I'm at a complete loss. I've read through hundreds of posts here on xda, with one person having the same issue, but fixed it by re-downloading the TWRP .img file and flashing it, Which I've tried... I even flashed the 2.8.7.1 version and had the same problem, then again with the 2.8.7.2 version and still same problem. I've searched for a more detailed explanation of "the proper key combo to enter recovery" and couldn't find anything.
I would really appreciate any help you guys can give me. The biggest thing I have come to understand after reading hundreds (literally) of posts, this community of people are really helpful.
My Android version is 6.0 and my Build number: is MDB08L.
Thanks for any help you guys can give.
this happened to me as well. i fixed it but i don't remember how. I think you need to flash twrp again and there is a tick box or setting that you need to check that will prevent the stock recovery from overwriting twrp. sorry i couldn't be more help.
jrc27 said:
this happened to me as well. i fixed it but i don't remember how. I think you need to flash twrp again and there is a tick box or setting that you need to check that will prevent the stock recovery from overwriting twrp. sorry i couldn't be more help.
Click to expand...
Click to collapse
Thanks for the quick reply. I just flashed TWRP again, entered it through recovery mode, but do not see a tick box or setting... I've looked through the options so many times that I may just be overlooking it by now. Any idea what the tick box or setting might have been labeled as?
I'm having the same issue and cannot seem to find a solution as well. I feel like I'm missing something very obvious...
You will need root explorer and go to the system folder. Then from there you need to rename this file to recovery-from-boot.bak or just delete.
Sent from my Nexus 6P using Tapatalk
I recently experienced the same issue with my Nexus 5 (as I was upgrading it from Kitkat to Marshmallow). I finally solved it by flashing TWRP via Flashify (https://play.google.com/store/apps/details?id=com.cgollner.flashify&hl=fr)
So, here are the steps I used : flashed TWRP via bootloader (via PC with USB cable) and boot straight into recovery... flash my rom (with root included) then reboot normally. Then downloaded flashify from the playstore, then flashed TWRP again using flashify... Done, never had this issue since then... I can now reboot into TWRP without problem from the rom, the bootloader or TWRP itself
I don't have a Nexus 6P yet (should do next week ), but it could be worth testing Flashify
Thanks for the suggestions guys.
I'm sorry, I should have mentioned that I haven't gone any further than trying to flash TWRP. This is the first phone I've even unlocked the bootloader on, so I'm extremely new at this.
I'm guessing that Root Explorer and Flashify both require root, which I don't have. Is there a way to get root access with TWRP not staying installed? Is it possible to root the phone while TWRP is installed? The reason I ask is if rooting the phone requires the phone to be rebooted, then TWRP will no longer be installed.
Please excuse the rudimentary questions, I just don't want to mess anything up. I've read so many things over the past several years that warn people to be careful because the phone could be bricked.
j.r.pitcher said:
Thanks for the suggestions guys.
I'm sorry, I should have mentioned that I haven't gone any further than trying to flash TWRP. This is the first phone I've even unlocked the bootloader on, so I'm extremely new at this.
I'm guessing that Root Explorer and Flashify both require root, which I don't have. Is there a way to get root access with TWRP not staying installed? Is it possible to root the phone while TWRP is installed? The reason I ask is if rooting the phone requires the phone to be rebooted, then TWRP will no longer be installed.
Please excuse the rudimentary questions, I just don't want to mess anything up. I've read so many things over the past several years that warn people to be careful because the phone could be bricked.
Click to expand...
Click to collapse
Don't worry, we have all been junior at this at some point... (and I don't pretend to be an expert, but I've gone through this whole process a few days back with my nexus 5... so it's fresh for me)
I'm guessing that if you have unlocked the bootloader and are trying to install TWRP, you ultimately want to root your phone.
To root your phone you have 2 options,
- either root your stock rom, by following the instruction here [GUIDE] Unlock/Root/Flash for Nexus 6P (read the (section 6) instructions carefully and make sure the version (build) of your rom is the correct one to flash a modified boot.img)
- or you can directly replace the stock rom with a pre-rooted rom that you can find in the XDA Developer section (the Chroma rom for instance could be a good one)
In both cases, you'll need to flash some files via TWRP...
Since you have an issue with rebooting into TWRP, you will have to first boot into your stock rom, copy or download on your phone SD card the zip files that you'll need to flash with TWRP and then reboot into bootloader, and follow the instruction for rooting or install a modified pre-rooted rom. Whenever you'll need to boot into recovery during the process, you will need flash TWRP again via adb and boot directly into TWRP (the flash and direct boot adb instruction from cmd on your PC is: fastboot boot <twrp name>.img).
Once you have a rooted rom, you can test Flashify to make TWRP recovery permanent
Enjoy your new rooted phone
PS: don't worry too much about bricking your phone. I believe this occurs when people don't read instructions carefully enough and don't flash the correct zip files or img files... You may find some video tutorials on how to root, but XDA guides are usually great
Well said surfinette!
Surfinette said:
Don't worry, we have all been junior at this at some point... (and I don't pretend to be an expert, but I've gone through this whole process a few days back with my nexus 5... so it's fresh for me)
I'm guessing that if you have unlocked the bootloader and are trying to install TWRP, you ultimately want to root your phone.
To root your phone you have 2 options,
- either root your stock rom, by following the instruction here [GUIDE] Unlock/Root/Flash for Nexus 6P (read the (section 6) instructions carefully and make sure the version (build) of your rom is the correct one to flash a modified boot.img)
- or you can directly replace the stock rom with a pre-rooted rom that you can find in the XDA Developer section (the Chroma rom for instance could be a good one)
In both cases, you'll need to flash some files via TWRP...
Since you have an issue with rebooting into TWRP, you will have to first boot into your stock rom, copy or download on your phone SD card the zip files that you'll need to flash with TWRP and then reboot into bootloader, and follow the instruction for rooting or install a modified pre-rooted rom. Whenever you'll need to boot into recovery during the process, you will need flash TWRP again via adb and boot directly into TWRP (the flash and direct boot adb instruction from cmd on your PC is: fastboot boot <twrp name>.img).
Once you have a rooted rom, you can test Flashify to make TWRP recovery permanent
Enjoy your new rooted phone
PS: don't worry too much about bricking your phone. I believe this occurs when people don't read instructions carefully enough and don't flash the correct zip files or img files... You may find some video tutorials on how to root, but XDA guides are usually great
Click to expand...
Click to collapse
Thanks for the detailed instructions, I really appreciate it.
To be perfectly honest, I was really nervous trying all of that out. I know you said that I shouldn't worry too much about bricking the phone, but it was still a fear.
I have TWRP installed now and it is sticking. Below is a description of how I got it to stay installed.
I didn't have access to my pc this weekend, so was planning on doing it yesterday (Monday). However, Sunday I was re-reading through the posts in this thread and jrc27 mentioned a tick box or setting that you need to check, and I remembered that when I installed TWRP the first time there was a screen that gave you a choice of "Keep Read Only" or "Swipe to Allow Modifications", then remembered someone posting elsewhere about doing the "Swipe to Allow Modifications" is what let's TWRP overwrite the part of Android that resets the recovery mode to the stock recovery mode upon reboot. Well, everytime I would reboot the phone it would be back to the stock recovery mode, so I must have hit "Keep Read Only" that first time, and checked the "Never show this screen during boot again" checkbox. In another post someone was having a different problem with TWRP and someone else told them to delete the .twrps file in the TWRP folder.
So, I flashed TWRP again, and in Advanced, I went into the File Manager, found the .twrps file and deleted it. Rebooted the phone, flashed TWRP again and had the screen that gave me a choice of "Keep Read Only" or "Swipe to Allow Modifications". I did the "Swipe to Allow Modifications", and it booted into TWRP just fine. I rebooted the phone, went to recovery mode and it again booted into TWRP. So, finally it is sticking.
Again, thanks for all of the suggestions, I do appreciate it greatly, as well as welcoming comments and tone of voice (or text as it may be).
Here is what that screen looks like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
warpanda said:
I'm having the same issue and cannot seem to find a solution as well. I feel like I'm missing something very obvious...
Click to expand...
Click to collapse
I'm new to xda, so not sure how the forums work. I just posted a reply to Surfinette with how I fixed the issue on my phone. I don't know if you get a message saying a new post was added or not, so I am replying to your post to let you know about it.
u must have the zip in SD card for rooting..
simply....
after flashing twrp do not reboot, or stock recovery will be flashed again... (thats how it works stock)
instead:
after flashing twrp, scroll down and click recovery to boot it... once in twrp, flash the root zip.... the zip used for rooting the device already includes the script that fixes the code that reflashes the factory recovery
(this is assuming you already download the root zip. when i say root zip i mean the proper SuperSU at the time... either system or systemless versions)
chaco81 said:
u must have the zip in SD card for rooting..
simply....
after flashing twrp do not reboot, or stock recovery will be flashed again... (thats how it works stock)
instead:
after flashing twrp, scroll down and click recovery to boot it... once in twrp, flash the root zip.... the zip used for rooting the device already includes the script that fixes the code that reflashes the factory recovery
(this is assuming you already download the root zip. when i say root zip i mean the proper SuperSU at the time... either system or systemless versions)
Click to expand...
Click to collapse
Thanks for the info, chaco81!

[GUIDE][KENZO/KATE] Install LineageOS with locked bootloader

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hello guys,
This is my first guide and it is focused on people who just bought their Redmi Note 3 (KENZO/KATE) and having problems with officially unlocking their bootloader. (stuck @ 50% like me)
If you don't want to wait on stock MiUi until you can officially unlock your bootloader (because you need to wait additional ~2 weeks after you received permission from Xiaomi until their servers updated) or you want that extra security layer with locked bootloader this guide is made for you!
Since official LineageOS 14.1 just released, i thought some of you guys are interested in this awesome, easy and safe method.
To save you time searching hours and hours through this forum i made this quick summery.
Downloads :
MiUi 8 Global Developer ROM 6.11.3: KENZO or KATE
ZCX TWRP (direct downloadlink: click here)
Mi Flash 6.8.30
Latest firmware (choose correct device)
[ROM][OFFICIAL][7.1.1][kenzo] LineageOS 14.1 by The_strix
Open GApps - ARM64 - Android 7.1
Instructions : (follow them carefully!)
Extract MiUi 8 Global Developer ROM and replace recovery.img (in images folder) with ZCX TWRP's recovery.img
Flash using Mi Flash (in EDL mode) and check clean_all
After finished flashing process unplug and press [volume up]+[power] until Mi logo shows up then release buttons and it boots to TWRP (change TWRP language from chinese to english: click here)
Reboot to system (if you get prompt: "Disable stock recovery replace now" > just swipe to allow disable)
Boot to MIUI and complete initial setup (important step - don't skip! first boot will take around 10 minutes)
-----------------------------------------------
Shutdown device and boot to TWRP again
(optinal) Backup every partition and safe this backup on an external device
Wipe > Advanced Wipe > check Dalvik / ART Cache, System, Data, Internal Storage, Cache > Swipe to Wipe
Flash Latest firmware, LineageOS 14.1 and GApps (ARM64, Android 7.1)
Reboot to system and you're DONE!!
updated method (works with newest MIUI version) :
There is a new updated method by kuan improved by @N.G. and @razr_96. Thanks for mentioning.
Advantages:
no need to download full MIUI fastboot rom
much faster method, only takes seconds to flash (instead of 4 minutes and you don't have to complete initial MIUI setup which also takes around 5 minutes)
this method is better if you want to stay on MIUI and just want to root
you can stay on your current MIUI version (even 7.1.19 which is currently the latest) and don't have to wipe your data
Disadvantages:
this doesn't clean everything, i would recommend to clean everything if you want to install a custom rom
you have to download a file i can not verify
Instructions : (follow them carefully!)
(optinal) Backup your current MIUI data (Settings > Additional settings > Backup & reset > Local backups > Back up) and copy it to an external media
Download and extract: Kenzo or Kate
(optinal) Replace included ZCX TWRP recovery.img (in images folder) with your preferred TWRP recovery.img
Flash using Mi Flash 20160401 (in EDL mode) and check flash all except data and storage (not clean_all like in the method mentioned above)
BE AWARE: This MiFlash version is different to the MiFlash version mentioned above! This version does only support 64 bit systems and you need atleast Windows 7!
After finished flashing process unplug and press [volume up]+[power] until Mi logo shows up then release buttons and it boots to TWRP (change TWRP language from chinese to english: click here)
Reboot to system
Video tutorial: https://www.youtube.com/watch?v=rCONN1_IPuU
Troubleshooting :
[APP][ROOT][7.1.1]QuickSettings Flashlight fix for all nougat roms
If something goes wrong, start over again and follow my guide step by step.
This guide only works with MiUi 8 Global Developer ROM 6.11.3 or lower.
Put MIUI 8 Global Developer ROM in "C:\ROM" - MiFlash tends to have problems if there are any spaces in folder names.
If you flashed something wrong and have no simcard signal anymore or no IMEI look here for help: EFS Recovery Guide
If you didn't remove your passcode before you did a backuprestore using TWRP:
TWRP > Advanced > Filemanager > /data/system > delete locksettings.db
Issues with locked bootloader :
none
(advanced technique) Higher security with locked bootloader:
Thanks @LeoYL !
A little addition: If you want a even higher level of security, which is nobody except you can flash packages in recovery, you can create a recovery with limited functions and forced signature verification, with your own keys embedded in that recovery.
This is just like the original status of nearly all Android devices when they are shipped: only signed OTA update packages can be applied via recovery. Normally, the packages are signed by OEMs; however, you can become the "OEM" by creating your own private key, which is used during package signing.
Just follow these guides to create a recovery with your own keys. I use CM 13.0 recovery, since it only has basic recovery features, including installing a ZIP file, factory reset, and it has mandatory ZIP signature verification.
http://mjg59.dreamwidth.org/31765.html
https://forum.xda-developers.com/showpost.php?p=62796459&postcount=2
The reason why I don't use TWRP is that it allows update packages with any signature. Although you can enforce signature verification, it can also be switched off in TWRP settings.
Now you get a recovery which only accepts ZIP packages that are signed with your own private key. The only downside is you need to sign every package you want to flash each time. But this also means that if a stranger picks your lost phone up, they can't tamper your phone's OS. If the "reset protection" feature works with locked bootloader on our Redmi Note 3, the only distance between our phones' security and Google devices' is edl mode and encryption.
Wanna try other custom roms?
Just follow this guide and you can flash every other nougat customrom as well like:
[ROM]AOSIP 5.5 for Redmi Note 3(Kenzo)[OFFICIAL BUILDS]
[ROM][Nightlies][android-7.1.1_r6]ResurrectionRemix 5.8.0[OFFICIAL][VoLTE]
[ROM][OFFICIAL][Weekly][7.1.1_R13][Slim 7 For Kenzo]
[ROM] ► [7.1.1 ► N4F26M] ► [OTA][OMS][Goodix] ► Nitrogen OS
credits :
@The_strix: For his development work
@Psy_man: For extracting nougat firmware
@kuan: For creating this method (french forum)
@Tobsucht TM: For answering my questions
If this guide was helpful to you, don't forget to press the Thanks! button :good:
Enjoy your new custom rom!
khajiit
This method also works with Kenzo, obviously using the Kenzo miui rom and firmware instead.
razr96 said:
This method also works with Kenzo, obviously using the Kenzo miui rom instead as well as not flashing the kate firmware.
Click to expand...
Click to collapse
That's right! Thanks for pointing it out.
Redmi Note 3 SE _ Kate
Thanks bro worked on my Kate :good:
How to successfully unlock bootloader(official way) worked for me
https://forum.xda-developers.com/redmi-note-3/how-to/successfully-officially-unlocked-redmi-t3543150
Just use that Miflash : rootjunkysdl.com/files/Redmi%20Note%203%20Pro%20Kenzo/Firmware%20Unbrick/MiFlash.zip
Because that one in thread not working properly.
armo1111 said:
https://forum.xda-developers.com/redmi-note-3/how-to/successfully-officially-unlocked-redmi-t3543150
Just use that Miflash : rootjunkysdl.com/files/Redmi%20Note%203%20Pro%20Kenzo/Firmware%20Unbrick/MiFlash.zip
Because that one in thread not working properly.
Click to expand...
Click to collapse
The guide you linked is not working for me, thats why i made this guide which works 100%.
I tried this with the Global developer ROM for my kenzo.
When I try to get into TWRP, the Mi logo flashes but nothing else happens.
When I let the MIUI ROM start up and try to get into the recovery again,
it only shows me to connect my device to the Mi PC Manager.
What am I doing wrong?
blitzpeace said:
I tried this with the Global developer ROM for my kenzo.
When I try to get into TWRP, the Mi logo flashes but nothing else happens.
When I let the MIUI ROM start up and try to get into the recovery again,
it only shows me to connect my device to the Mi PC Manager.
What am I doing wrong?
Click to expand...
Click to collapse
Did you follow my instructions correctly?
- replaced recovery.img with ZCX TWRP recovery.img - check?
- EDL mode - check?
- remove usb cable after flash and press volume up+power button until mi logo shows up and then release buttons - check?
- are you sure you have kenzo version? did you download rom for kenzo? - check?
!! caution: the rom linked in this guide is only for kate version!!
thank you ! I've been trying the official route for 6 weeks, getting absolutely nowhere (even though I finally do have unlock permission).
this method worked like a charm, finally I'm off MIUI and running LineageOS
khajiit said:
Did you follow my instructions correctly?
- replaced recovery.img with ZCX TWRP recovery.img - check?
- EDL mode - check?
- remove usb cable after flash and press volume up+power button until mi logo shows up and then release buttons - check?
- are you sure you have kenzo version? did you download rom for kenzo? - check?
!! caution: the rom linked in this guide is only for kate version!!
Click to expand...
Click to collapse
1. I guess, do I have to replace only the recovery.img or more? If only recovery.img, then yes!
2. Yes, otherwise MiFlash would give me an error instead of flashing the ROM
3. Yes, but it appears only for an blink of an eye and then disappears again, the phone screen then stays dark
4. Yes, the newest one. Maybe that's the problem?
blitzpeace said:
4. Yes, the newest one. Maybe that's the problem?
Click to expand...
Click to collapse
Yes, that's the problem! This method only works until version 6.11.3.
You have to flash 6.11.3 (or earlier) to get TWRP and then you can flash what you want.
Good luck!
Excellent :good:
To boot into EDL
If you are lost with chinese language in TWRP, look at the first screenshot
And for Gapps take 64bits
Hi, I just got this ROM but when I plug the device in my computer it keeps connecting/disconnecting rapidly. Did I do something wrong?
Very helpful, but i would like to suggest people to use miunlocktool from windows 7-32 bit operating system. Miunlocktool perfectly works in windows 7 & don't stuck at 50%. Before unlock process, just "add oem unlocking device" from MIUI developer setting then start unlocking process..... Its really works for me & also others who followed these steps.
Skex506 said:
Hi, I just got this ROM but when I plug the device in my computer it keeps connecting/disconnecting rapidly. Did I do something wrong?
Click to expand...
Click to collapse
Yes, you did something wrong
Are you sure you have a "KATE" device not "KENZO"?
Follow my guide carefully and try again. It works 100%!
Rifatspir said:
Very helpful, but i would like to suggest people to use miunlocktool from windows 7-32 bit operating system. Miunlocktool perfectly works in windows 7 & don't stuck at 50%. Before unlock process, just "add oem unlocking device" from MIUI developer setting then start unlocking process..... Its really works for me & also others who followed these steps.
Click to expand...
Click to collapse
You don't think i've/we've tried everything? Official unlock works for you? Great! But it doesn't work for everyone... trust me.
Can we please stop to suggest to unlock officially with different guides? This guide is for people who don't want to or can't unlock officially.
khajiit said:
You don't think i've/we've tried everything? Official unlock works for you? Great! But it doesn't work for everyone... trust me.
Can we please stop to suggest to unlock officially with different guides? This guide is for people who don't want to or can't unlock officially.
Click to expand...
Click to collapse
I also said that million times to other people who suggest me different types of official method. When i success after trying couple of methods then i realized it is possible to unlock kate. I'm not saying that your post is not helpful, i saw many post like that, mostly in whirlpool forum. BTW, good luck with your tips :good:
Sure it is possible to unlock Kate officially but you have to wait for Xiaomi to get permission and wait for their servers to syncronize.
You have to wait up to 1 month (depending on your location and other things) until their servers confirms that you have permission to unlock (unable to verify thing). All these guides outside are working but it's a matter of time until they start working. That's why they didn't work for you in first place. :good:
hi @khajiit
They say not enough storage when I want to flash it. Could you please help me with this?
Spoiler: not enough
actuallyaka said:
hi @khajiit
They say not enough storage when I want to flash it. Could you please help me with this?
Click to expand...
Click to collapse
You are using a really old MiFlash version, try updating to the version mentioned in this guide.
And rename your folder "Redmi note 3 pro" to "Redmi.note.3.pro" or "Redmi_note_3_pro".
MiFlash tends to have problem with spaces.
khajiit said:
You are using a really old MiFlash version, try updating to the version mentioned in this guide.
And rename your folder "Redmi note 3 pro" to "Redmi.note.3.pro" or "Redmi_note_3_pro".
MiFlash tends to have problem with spaces.
Click to expand...
Click to collapse
Thank you khajiit..
it works know with using 2016 version..

[RECOVERY][ROOT]TWRP 3.3.1-1 Samsung Galaxy J3 2017 SM-J330F/J330FN/J330G/DS

Unofficial release -TWRP recovery for the Galaxy J3 2017 - SM-J330F/FN/FZ/G/DS EXYNOS 7570
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TWRP 3.3.1-0 Released
May 22, 2019
TWRP 3.3.1-0 is out now for most currently supported devices.
What's new in 3.3.1-0:
* Fix selinux issues during formatting - dianlujitao
* Various fixes for toybox and toolbox builds - CaptainThrowback and bigbiff
* Flash both A and B partitions when installing a recovery ramdisk - Dees_Troy
* Add option to uninstall TWRP app from /system - Dees_Troy
* Create digest for subpartitions - bigbiff
Want to get notifications when we release new versions of TWRP? Install the TWRP app and select your device!
We need your help! The bulk of TWRP work is done by a handful of people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance
UPDATE 10/8/2019
TWRP 3.3.1-1 OO/PP build released
Current status: Beta
Update 15/9/2018
TWRP 3.2.3-1 OO build released.
Current status: Stable
Update 27/1/2018
TWRP 3.2.1-1NN build released
Current status: Stable
Update 23/11/2017
TWRP 3.1.1-1 NN build released.
Current status: Stable
Features:
TOUCHSCREEN working
MTP working
ADB working
SEANDROID warning fix
TWRP and Kernel built from latest source
Factory Image flashing(see below)
NTFS support
F2FS support >> To be added
Twrp app support
New feature available in TWRP v3 is system image backup and restore and factory image flashing (see TWRP changelog for details)
Basically this means factory system images from the official firmware can now be flashed with TWRP.
This feature can be found under INSTALL >> INSTALL IMAGE >> select image to flash >> select partition.[/B]
You flash this at your own risk. Please ensure you have the stock ROM to hand downloaded from SAMMOBILE in case of problems. This will trip the knox counter.
Instructions:
NOTE: ON ANDROID 5.1.1> DEVICES IT IS NECESSARY TO GO TO:
Settings -> Developer Options -> OEM unlocking
AND ENABLE OEM UNLOCK FIRST OR YOU MAY ENCOUNTER 'BLOCKED BY FRP LOCK' WHEN FLASHING.
Flash with ODIN in the AP slot.
1. Put your device in DOWNLOAD mode.
2. Uncheck Auto reboot. (NOT REQUIRED FOR INSTALLING TWRP 3.3.1-1)
3. Load the respective file below into the AP slot and hit start.
4. After flashing and ODIN reports PASS immediately reboot to recovery by holding POWER + HOME + VOL DOWN.
As soon as the screen goes blank change to VOL UP whilst still holding POWER + HOME. (NOT REQUIRED FOR INSTALLING TWRP 3.3.1-1, THE DEVICE WILL AUTO BOOT TO RECOVERY)
5. Flash the V3 RMM bypass zip
https://forum.xda-developers.com/showpost.php?p=79745844&postcount=627
NOTE: FAILURE TO FOLLOW THE STEPS ABOVE IMPLICITLY WILL RESULT IN STOCK RECOVERY REPLACING TWRP AT FIRST BOOT AND BECOMING RMM LOCKED FOR 7 DAYS.
I ALSO SUGGEST BACKING UP ANYTHING YOU NEED ON INTERNAL STORAGE. AT SOME POINT YOU MAY EXPERIENCE A 'VERIFICATION FAILED MESSAGE' .
THIS IS NORMAL, BUT WILL REQUIRE THE DATA PARTITION TO BE FORMATTED IN TWRP.
DOWNLOAD:
twrp_3.3.1-1_sm-j330x_13819
twrp_3.2.3-1_j330_13918
twrp_3.2.1-1_sm-j330f_270117
twrp_3.1.1-1_sm-j330f_231117
Nougat Root instructions:
Install latest Magisk release with TWRP:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
To disable forced encryption, disable dmverity and mount internal storage:
1. Boot to Twrp
2. Format Data partition using FORMAT DATA button under Wipe options.
(Note: This will wipe the internal storage)
3. Check DATA is mountable.
4. Install the boot image patch.
Boot image patch
no-verity-no-encrypt_ashyx
5. Install Magisk(if root is required)
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
6. Reboot
OREO ONLY ROOT INSTRUCTIONS:
1. Install the Root patch kernel with TWRP.
J330F-FN_root_no_sim_patch
NOTE:This is a custom Oreo J330F/FN XXU3BRG3 permissive/enforcing kernel and patch built from source. It makes changes to the system partition also.
What does it do?:
*It installs a custom kernel to fix the no SIM issue when rooting.
*Patches the system to fix WIFI and Bluetooth not turning on when using custom kernels.
*Patches DM-Verity.
*Removes forced encryption and patches /data not able to be mounted (after formatting).
*Removes the SecurityLogAgent nag when using a custom kernel.
2. If you wish to mount /DATA for access to internal storage then FORMAT the /DATA partition.
3. To root install the latest Magisk below.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
PIE ONLY ROOT INSTRUCTIONS:
To root install latest Magisk below.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
To disable encryption (mount DATA in TWRP) install the zip below with TWRP:
Disable_Dm-Verity_ForceEncrypt_Quota_08.02.2019
Finally FORMAT /DATA in TWRP.
Reboot.
DEVICE TREE: soon
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
Credits: Me, my tester @lemlis, Teamwin
Please note I don't own this device and spend a lot of my free time bringing these builds for you to use and benefit from.
FEEDBACK IS APPRECIATED PLEASE.
THANKS.
DONATE ME HERE IF YOU WANT TO BUY ME A BEER OR HIT THE THANKS BUTTON IF I HELPED YOU
UPDATE: Touchscreen fixed
.
Arggghh i feel something goes wrong with my device intead of succesfull installation. Yes i can flash zip and make nandroid backup. But my device not running properly. I can't adjust screen brightness even camera not functioning. Now i'm waiting for full batery charge to flash stock rom & try to flash twrp once again
---------- Post added at 22:19 ---------- Previous post was at 22:16 ----------
Anual said:
Arggghh i feel something goes wrong with my device intead of succesfull installation. Yes i can flash zip and make nandroid backup. But my device not running properly. I can't adjust screen brightness even camera not functioning. Now i'm waiting for full batery charge to flash stock rom & try to flash twrp once again
Click to expand...
Click to collapse
Now my j330g working normally after i flash cf auto root without flashing stock rom. What's the problem??
Anual said:
Arggghh i feel something goes wrong with my device intead of succesfull installation. Yes i can flash zip and make nandroid backup. But my device not running properly. I can't adjust screen brightness even camera not functioning. Now i'm waiting for full batery charge to flash stock rom & try to flash twrp once again
---------- Post added at 22:19 ---------- Previous post was at 22:16 ----------
Now my j330g working normally after i flash cf auto root without flashing stock rom. What's the problem??
Click to expand...
Click to collapse
Probably the version of SuperSu you flashed.
ashyx said:
twrp_3.1.1-1_sm-j330f_231117
Click to expand...
Click to collapse
Thanks.now color in TWRP is blue.Only in screenshot yellow.backup CPEFS is 0 ? with changed recovery.fsab i have CPEFS 8MB
Works all good.
lemlis said:
Thanks.now color in TWRP is blue.Only in screenshot yellow.backup CPEFS is 0 ? with changed recovery.fsab i have CPEFS 8MB
Works all good.
View attachment 4340464View attachment 4340476
Click to expand...
Click to collapse
Seems I didn't include my updated FSTAB in the new build. Corrected, thanks for pointing it out.
ashyx said:
Probably the version of SuperSu you flashed.
Click to expand...
Click to collapse
Yeaa you right..i use super su which remain in my memory card almost 2 years ago ???
Sorry for this offtopic but can anyone post a link of latest firmware for J330G/DS, which doesn't want to grab my money for Fast download speed please? I want to try this recovery but still afraid if something bad happens. Thanks in advance!
@ashyx, thank you so much for this recovery sir! I've been waiting for a recovery for this phone for so long and now it's here! you managed to create this recovery for this phone even without one! I'm impressed sir!
BlackDragonz said:
Sorry for this offtopic but can anyone post a link of latest firmware for J330G/DS, which doesn't want to grab my money for Fast download speed please? I want to try this recovery but still afraid if something bad happens. Thanks in advance!
@ashyx, thank you so much for this recovery sir! I've been waiting for a recovery for this phone for so long and now it's here! you managed to create this recovery for this phone even without one! I'm impressed sir!
Click to expand...
Click to collapse
updato.com
i cant flash super su twrp didn't show the file to flash
File to flash have to be on sd card ?
Help Me
azhar960225 said:
Help Me
Click to expand...
Click to collapse
Police. Fire or ambulance?
I Want root j3 pro 2017..but how
azhar960225 said:
I Want root j3 pro 2017..but how
Click to expand...
Click to collapse
Flash SuperSU or Magisk.
How? To Flash How? Cannot root j3 How to Flash?
7.11 Android...
arabarabow said:
twrp didn't show the file to flash
Click to expand...
Click to collapse
put zip file inside any folder.File to flash have to be in folder
Just done flashing latest build and flashed magisk, all are running fine. Tysm @ashyx !
can anyone help me telephone stuck on logo and i cant do nothing even reboot to twrp @ashyx
arabarabow said:
can anyone help me telephone stuck on logo and i cant do nothing even reboot to twrp @ashyx
Click to expand...
Click to collapse
Boot to TWRP and flash Supersu or Magisk. Use the three button combo.
Can i just use cf auto root to root my phone without installing a recovery? Or it's better to root using this method?

[RECOVERY][OFFICIAL]TWRP 3.4.0.0 Recovery [m30lte]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE : TWRP FOR M30 IS NOW OFFICIAL​
I would like to thank TeamWin for their amazing work!
After a long hiatus from Android Development, I am back to the dev scene.
As usual, I am not responsible for damage to your device, you, the user is choosing to make these modifications.
Your device's warranty is VOID if this procedure is followed, Proceed at your own caution!
With the new update of Android 10 for our device SM-M305[F] / M305[M], Samsung reimplemented RMM and called it KG(KnoxGuard), there is confusion in the device community on how to install TWRP and root device.
@vdbhb59 and myself @akhil99 are actively working together to bring support to this device.
Follow these updated instructions to get TWRP working with Latest Stock Firmware.
This thread will be updated regularly.
STRONGLY ADVICE TO BACKUP DATA.
Steps to get TWRP working with stock firmware
Reported to be working with firmware w/ following details
Device: Samsung Galaxy M30 SM-M305[F] / M305[M]
BL: M305FDDU5CTF2
AP: M305FDDU5CTF2
CP: M305FDDU5CTF1
CSC: HOME_CSC_OMC_ODM_M305FODM5CTF2
Patch: 1st May 2020
Android Version: 10
One UI Version : 2.0
First of all flash completely stock firmware, you can always root with Magisk later.
If you are rooted and have TWRP installed already and you are not on Latest Firmware mentioned above then flash latest firmware.
Select BL, AP, CP, CSC (Use HOME_CSC).
Never only flash AP, will cause your /data to shrink.
Once you're updated to latest firmware mentioned above, make sure you unlock your bootloader.
Go into Settings>Software Info>Tap build number seven times.
Go into Settings>Developer Options>OEM Unlock & enable it.
It will prompt you with password/pin confirming to unlock bootloader. Device will reboot and wipe itself.
Setup device once it reboots and again enable developer options and see OEM unlock to be enabled and togglable.
Next enable USB debugging in Settings>Developer Options>USB Debugging.
Open up ADB/FASTBOOT Utility on your computer and connect your device with USB C cable.
Type in following commands without the quotations.
1."adb reboot download" ; reboots your device into Download mode, can flash device via Odin Downloader(Windows) or Heimdall Utility(Linux)
2.Download the attached TWRP.tar if you're using Odin or TWRP.img if you're using Heimdall to flash.
3.Flash the TWRP recovery by
ODIN:-
Clicking AP in Odin and make sure the Repartition and Auto Reboot boxes are UNTICKED/NOT SELECTED.
Click Start at bottom.
Heimdall:-
Open up a terminal window in the directory where twrp.img is downloaded.
Type in heimdall flash --RECOVERY twrp.img --no-reboot
4.Once flash is complete, press Volume Down+Power Button to shutdown and as soon as screen is black IMMEDIATELY PRESS AND HOLD VOLUME UP+POWER Button and let go of Power button when you see samsung logo, continue holding Volume Up until device boots into TWRP.
5.Once device boots into TWRP, swipe to allow modifications and then Click Wipe>Format Data>type in "yes". This will format everything and reset the device.
6.Go into Wipe>Advanced Wipe>Tick only Cache and swipe to wipe it.
7.Reboot back into recovery by Reboot>Recovery>Do not Install.
8.Once rebooted back into TWRP, transfer the attached zip to phone Internal or SDcard, DO NOT RENAME THE ZIP.
9.Flash the zip by, Install > Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, swipe to flash it.
10.Wipe cache and dalvik cache, reboot into system by, Reboot > System > Do not install.
11.Device will boot into Android 10 One UI 2.0 wait patiently for about 15mins.
12.Once device boots, setup as usual, you will need internet.
13.Voila! You have successfully installed TWRP alongside Stock firmware on Android 10 M305FDDU5CTF2 firmware.
Thanks to @vdbhb59 for his persistent testing and timely directions that helped me to bring you this guide.
Thanks to @SahilSonar for bringing TWRP to our device initially
Thanks to @akhil99 (me) for fixing MTP/ADB in TWRP recovery and bringing you this guide.
HIT THANKS IF WE HELPED YOU.
Downloads:
Edit: TWRP for Odin fixed as some users reported problems.
Official: TWRP OFFICIAL
Disable DM_Verity_ForceEncrypt : https://androidfilehost.com/?fid=8889791610682882483
XDA:DevDB Information
[RECOVERY][OFFICIAL]TWRP 3.4.0.0 Recovery [m30lte], Tool/Utility for the Samsung Galaxy M30
Contributors
Akhil99
Source Code: https://github.com/akhil1999/twrp_device_samsung_m30lte
Version Information
Status: Stable
Stable Release Date: 2020-07-10
Created 2020-07-10
Last Updated 2020-08-25
Reserved
25/08/2020 : OFFICIAL STATUS!
12/07/2020 : Added extra steps clearly mentioning for those getting into modding for the first time
10/07/2020 : Unofficial Stable release!
Quick Question
Actually I read here on XDA before, that the only way to root One UI is to patch the whole firmware using magisk, then flash it via ODIN. Since I can't download a large (over 2 gigs of) firmware, I was looking for a substitute.
After flashing TWRP as per your post above, would I be able to flash magisk via it amd root my M30? Would it be fine? Have anyone rooted their M30 with TWRP?
BTW, thanks @Akhil99
Azamsm said:
Actually I read here on XDA before, that the only way to root One UI is to patch the whole firmware using magisk, then flash it via ODIN. Since I can't download a large (over 2 gigs of) firmware, I was looking for a substitute.
After flashing TWRP as per your post above, would I be able to flash magisk via it amd root my M30? Would it be fine? Have anyone rooted their M30 with TWRP?
BTW, thanks @Akhil99
Click to expand...
Click to collapse
I have already posted about it. I am rooted with TWRP
Snaps coming soon
Sir, will it erase the data ?
Vinnu777 said:
Sir, will it erase the data ?
Click to expand...
Click to collapse
Nope, it is just recovery, so it will not erase any data.https://forum.xda-developers.com/newreply.php?do=newreply&p=83039519
Vinnu777 said:
Sir, will it erase the data ?
Click to expand...
Click to collapse
You are choosing the "Format Data" option that wipes everything in the Internal Storage. I advise you to back up data!
TWRP Images
TWRP images posted.
Sir, whenever I try to flash the given TWRP zip , after pressing start it throwing "Odin downloader has stopped working" msg and stopped working. But when i try to flash old TWRP zip it giving success . I have flashed latest firmware from below site
samfrew.com/download/Galaxy__M30
Could you pls tell me what happening , why your TWRP file is not installing or is this related to FIRMWARE I have flashed ,plz Check it sir!
Vinnu777 said:
Sir, whenever I try to flash the given TWRP zip , after pressing start it throwing "Odin downloader has stopped working" msg and stopped working. But when i try to flash old TWRP zip it giving success . I have flashed latest firmware from below site
samfrew.com/download/Galaxy__M30
Could you pls tell me what happening , why your TWRP file is not installing or is this related to FIRMWARE I have flashed ,plz Check it sir!
Click to expand...
Click to collapse
You need to be on Stock ROM, and the latest June release. Check my thread for the stock ROM, and download from there..
[Rom][ANDROID 10-Q | Stock & Rooted Firmware | M305FDDU5CTF2] - https://forum.xda-developers.com/ga...m-android-10-q-stock-rooted-firmware-t4026819
I don't want anything to go wrong. So I have this latest build with may security patch. My question is- Which section in ODIN should I choose to pick twrp tar file?
Azamsm said:
I don't want anything to go wrong. So I have this latest build with may security patch. My question is- Which section in ODIN should I choose to pick twrp tar file?
Click to expand...
Click to collapse
AP Slot
Vinnu777 said:
Sir, whenever I try to flash the given TWRP zip , after pressing start it throwing "Odin downloader has stopped working" msg and stopped working. But when i try to flash old TWRP zip it giving success . I have flashed latest firmware from below site
samfrew.com/download/Galaxy__M30
Could you pls tell me what happening , why your TWRP file is not installing or is this related to FIRMWARE I have flashed ,plz Check it sir!
Click to expand...
Click to collapse
TWRP for Odin is now fixed. Kindly try again. It was a error on my part that has now been fixed!
Akhil99 said:
TWRP for Odin is now fixed. Kindly try again. It was a error on my part that has now been fixed!
Click to expand...
Click to collapse
I tried and twrp booted. Then I formatted data and wipe dalvik/ART cache & cache in Advanced wipe. Then I rebooted in twrp again. Then I flashed Disable Dm verity zip and wiped dalvik cache.
Now when I try to boot into system, it boots in download mode instead!!!!
Please help.
Has it something to do system unmounted? Please reply. My phone is still resting in TWRP!
Vinnu777 said:
Sir, whenever I try to flash the given TWRP zip , after pressing start it throwing "Odin downloader has stopped working" msg and stopped working. But when i try to flash old TWRP zip it giving success . I have flashed latest firmware from below site
samfrew.com/download/Galaxy__M30
Could you pls tell me what happening , why your TWRP file is not installing or is this related to FIRMWARE I have flashed ,plz Check it sir!
Click to expand...
Click to collapse
After flashing TWRP and rebooting to system, did your phone also go in download mode or it just successfully booted? Cuz my phone is in download mode after I tried to reboot to system post flashing TWRP.
Can you plz help me
Arshebareen said:
After flashing TWRP and rebooting to system, did your phone also go in download mode or it just successfully booted? Cuz my phone is in download mode after I tried to reboot to system post flashing TWRP.
Can you plz help me
Click to expand...
Click to collapse
Looks like you aren't on patched firmware as mentioned in the thread. Head over hereto get and install the magisk patched firmware. Remember this will trip knox as usual.
Akhil99 said:
Looks like you aren't on patched firmware as mentioned in the thread. Head over hereto get and install the magisk patched firmware. Remember this will trip knox as usual.
Click to expand...
Click to collapse
I fixed the MTP issue in WIndows. I had to turn off and then turn on MTP devices module. It looks like a windows issue.
vdbhb59 said:
I fixed the MTP issue in WIndows. I had to turn off and then turn on MTP devices module. It looks like a windows issue.
Click to expand...
Click to collapse
I have a solution for MTP but I don't have a way to send files to you.
Topser99 said:
I have a solution for MTP but I don't have a way to send files to you.
Click to expand...
Click to collapse
Attach the file here.
vdbhb59 said:
Attach the file here.
Click to expand...
Click to collapse
twrp that i edited for you
https://mega.nz/file/TlVXUaiD#X_87J_yzoHGX6PQvkMJ-jmhLbViDDocI1IXOTcB_MNI
This is the file that I edited.
https://mega.nz/file/rkUzgASY#GwiHdcQLcQduIMZvGHBxsXb1YrkSUSs3_41rhlTA8aQ

Categories

Resources