[Recovery] [SM-G532x] [Unofficial] TWRP 3.6.1_9 - Galaxy J2 Prime - Samsung Galaxy J2 ROMs, Kernels, Recoveries, & Oth

{
"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.6.1_9
Galaxy J2 Prime | Galaxy Grand Prime Plus​
Supported Models: SM-G532G, SM-G532M, SM-G532F, SM-G532MT
Current status: Stable
Bugs:
/data decryption on TW ROMs. This is unfixable.
Notes:
TL;DR: if your backups disappear, it might be because I made it compatible with older TWRP 3.1.
Explanation:
Previous versions of my TWRP 3.4.0 and 3.5.2_9 used libinit, which caused all backups to be stored in TWRP/BACKUPS/G532x/...
This version (and forward) will store it in the same directory as Ashyx's TWRP 3.1.0 and the ported TWRP 3.2.3. As a result, all of 3.1 and 3.2 backups are now visible again. (yay!)
Also because of this, backups made within TWRP 3.4.0 and (older) 3.5.2 will disappear when you install this. If this is the case, please make a temporary backup, then copy the contents in TWRP/BACKUPS/G532x to the other folder in TWRP/BACKUPS/
Download:
TWRP (3.6.1): https://github.com/almondnguyen/android_OTA/releases/tag/TWRP-3.6.1_9-grandpplte
Boot Patcher: https://zackptg5.com/downloads/archive/Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip
Samsung USB Driver: https://developer.samsung.com/mobile/android-usb-driver.html
Odin (3.13.3): https://samfw.com/Odin/Odin3_v3.13.3.zip
Older releases of TWRP:
TWRP (3.6.0): https://github.com/almondnguyen/android_OTA/releases/tag/TWRP-3.6.0_9
TWRP (3.5.2): https://github.com/almondnguyen/android_OTA/releases/tag/TWRP-3.5.2_9.0
Install Instructions:
(Note: If you are on stock ROM, and are willing to continue using it, the process will require wiping data)
(Note: Failure to follow these instructions implicitly will cause TWRP to be replaced by stock recovery at boot!)
Prerequisites (On your PC):
Download and Install Samsung USB Driver (if you haven't).
Download ODIN (or Heimdall) and .TAR recovery file.
On your phone:
Go to Settings > About > Software information.
Tap build number 7 times to unlock Developer Settings.
Go all the way back to the main page of Settings, then Go to Developer Settings (below the About phone).
Toggle OEM Unlock to ON .
Put your device in DOWNLOAD mode (Power off, then simultaneously hold Power + Vol down + Home).
On your PC:
Open Odin and put the tar file into AP slot.
Uncheck Auto Reboot.
Hit start.
After Odin reports PASS, force reboot phone using Power + Home + Vol down (Alternatively take out the battery).
Boot into recovery using Power + Home + Vol up.
You should now see TWRP recovery.
(tip: Make a backup of EFS now. It will be useful for when IMEI is lost for some whatever reasons.)
If you want to use stock ROM, move on to the next steps.
This device forces encryption.
To disable forced encryption, mount internal storage(DATA) and disable dm-verity,
please flash the boot patcher below:
Format Data (Wipe > Format Data > Yes).
If you want to root, flash root now (Magisk or SuperSU).
Flash Disable DM-Verity zip.
Reboot.
Source code
Kernel: https://github.com/almondnguyen/android_kernel_samsung_grandppltedx/tree/mainline-android-7
Device: https://github.com/almondnguyen/twrp_device_samsung_grandpplte
Credit:
jcadduono for the SEAndroid Enforcing trick.
Ashyx for the stock boot patcher and TWRP 3.1, many files of which I used to build this.
Zachptg5 for flashable disable-DMVerity zip.
XDA:DevDB Information
TWRP, Tool/Utility for the Samsung Galaxy J2
Contributors
Prove N. @Long266
Version Information
Status: Stable
Current Stable Version: 3.6.1_9
Created 2020-12-05
Last Updated 2022-03-13

Changelog:
TWRP 3.6.1 build 2022-03-13:
Upstream (changelog: https://twrp.me/site/update/2022/03/10/twrp-3.6.1-released.html )
Older changes:
TWRP 3.6.0 build 2021-11-29:
Upstream to latest version.
Fix TZData. (?)
TWRP 3.5.2_9 build 2021-08-25:
Fix AROMA installer crash for some ROM (Hades Final by Taco)
Skip `export LC_ALL=C` on building TWRP
TWRP 3.5.2_9 build 2021-08-22:
Max Brightness fix.
getprop fix.
add a flashable no-verity script to replace ashyx's one.
Remove resetprop (not compatible with Android 6)
Housekeeping.
TWRP 3.5.2_9 build 2021-08-17:
Now build from Minimal Manifest, instead of using existing AOSP platform.
Full language support and LZMA ramdisk
(Me trying to make this official)
TWRP 3.5.2_9.0 / PBRP 3.1.0:
Busybox is now built from source. This should fix some old scripts that doesn't work on 3.4/3.5.
SEANDROID enforcing. No more red line at boot.
(PBRP) Flashlight works.
TWRP 3.5.0_9.0:
Kernel 3.18.53
Fix CPU Temperature
Add F2FS supports for userdata and cache (ROM/kernel support will be added later)
(PBRP) Add PBRP with PB Tools flashable zip.
TWRP 3.4.0-0
Initial Release

a weird post #0

First !

Screenshots?

Thanks you

Awesome

Heads up, i found some bugs.
Any system modifications done through this newest version of TWRP will get reverted back on boot.
This happened to me yesterday, when i was trying to remove some folders in /system by using TWRP's built in file manager, and when i remounted back /system it appears that the folders that i removed still remains. It' not just that even a restore on /system won't even save.
I hope you could fix this issue soon, since i rely very much on TWRP for system and data backups.
I'm using the Galaxy J2 Prime (G532G/DS)

After flashing PBRP it shows 'RECOVERY IS NOT SEANDROID ENFORCING' in G532G

Prove N. said:
TWRP 3.5.0_9.0 and PitchBlack Recovery 3
Galaxy J2 Prime | Galaxy Grand Prime Plus​
Supported Models: SM-G532G, SM-G532M, SM-G532F, SM-G532MT
Current status: Stable
Bugs:
SEAndroid Permissive.
(PBRP) some bugs about system modifications that I cannot reproduce. Shouldn't affect normal ROM and mod installation.
(PBRP) Flashlight not working.
Note:
TWRP 3.1.0-1 and 3.2.3-0 Backups are not recognized by 3.4.0-0 (and newer versions) Restore
TWRP and PBRP backups are not recognized by each other.
Upgrade Instruction: (if you are already on TWRP or PBRP)
UPGRADE TWRP:
Reboot into TWRP​Install > Install Image​Pick the image (twrp-3.5.0_9.0-grandpplte.img)​Choose Recovery​Swipe​Reboot > Recovery​
UPGRADE PBRP: Just install PBRP .zip file.
Install Instructions (TWRP or PBRP barebone):
(Note: If you are on stock ROM, and are willing to continue using it, the process will require wiping data)
(Note: Failure to follow these instructions implicitly will cause TWRP to be replaced by stock recovery at boot!)
Download ODIN (or HEIMDALL) and .TAR recovery file onto your PC.
On your phone:
Go to Settings > About > Software information.
Tap build number 7 times to unlock Developer Settings.
Go all the way back to the main page, then Go to Developer Settings (below the About phone).
Toggle OEM Unlock to ON .
Put your device in DOWNLOAD mode (Power off, then hold Power + Vol down + Home).
On your PC:
Open Odin and put the tar file into AP slot.
Uncheck Auto Reboot.
Hit start.
After Odin reports PASS, force reboot using Power + Home + Vol down. Alternatively take out the battery.
Boot into recovery using Power + Home + Vol up.
You should now see TWRP (PBRP) recovery.
Additionally: If you want PBRP with PB Tools, Install PBRP .ZIP file, then Reboot > Recovery.
(Credit to @LongN03 for the zip)
If you want to use stock ROM, move on to the next steps.
This device forces encryption.
To disable forced encryption, mount internal storage(DATA) and disable dm-verity, please flash the boot patcher below:
Format Data (Wipe > Format Data > Yes).
If you want to root, flash root now (Magisk or SuperSU).
Flash No-verity-no-encrypt-ashyx.zip.
Reboot.
Download:
TWRP: https://github.com/almondnguyen/android_OTA/releases/tag/TWRP-3.5.0_9.0
Boot Patcher: https://androidfilehost.com/?fid=24591000424951049
Source code
Kernel: https://github.com/almondnguyen/android_kernel_samsung_grandppltedx
Device: https://github.com/almondnguyen/android_device_samsung_grandppltedx
XDA:DevDB Information
TWRP, Tool/Utility for the Samsung Galaxy J2
Contributors
Prove N.
Version Information
Status: Beta
Current Stable Version: 3.5.0_9.0
Created 2020-11-26
Last Updated 2021-01-30
Click to expand...
Click to collapse
WHERE can i download this???
In Github don't have a "download button or link"...
I'm doing some wrong???

Cloviscard said:
WHERE can i download this???
In Github don't have a "download button or link"...
I'm doing some wrong???
Click to expand...
Click to collapse
More: the referred file DON'T exists...

Some author ON?
Report: several problems
1. Even though I configured a PIN on my Android 6.0.1, PBRP never asked me for a password.
2. Since TWRP 3.1.1.0 another problem:
Failed to mount / data (invalid argument).
3. Now I add another error:
Process ended with error: 1
pointing out an error in the installation of any .zip
4. I was never able to do a complete BACKUP. I do the BACKUP by clicking on all partitions, the process ends with a giant file (6gbs) but, when I am going to RESTORE the only partition available is
/SYSTEM, which is equivalent to a FACTORY RESET, causing me to have to reinstall ALL my apps, with a complete data loss.
6. I have tried several methods, but the result is always the same: the error regarding the partition / DATA returns and now the error that makes it impossible to install any. zip ( error 1 )
7. When PBRP open i receive 2 messages:
1. ANDROID IS NOT SEANDROID ENFORCING
and
2. Set warranty bit: ( zero )
Questions:
Is TWRP (and now PBRP) incompatible with Samsung J2 Prime devices?
I had downloaded from official page of
Topjohnwu/Magisk
How to fix definitively these problems???
My DEVICE: J2 PRIME SM-G532MT
Stockrom: ASA1 with security patch of August/2018
Android: Marshmallow 6.0.1
Obs.: after several Factory Resets the device works fine... rooted with Magisk 22.0... and with no problems... despite all bugs with TWRP/PBRP...

Getprop error when flash no verity no encrypt

Akbar KanColle said:
Getprop error when flash no verity no encrypt
Click to expand...
Click to collapse
oops sorry, thought I had getprop included.
Also the boot patcher is updated. Ashyx's one is not usable on 3.5.

hey bro, thank you for the recovery, but i want to ask u, there's any chance that you would restart the developtment for lineage-14.1 for j2 prime ? cuz the only problem is the sim card not working

Prove N. said:
TWRP 3.6.1_9
Click to expand...
Click to collapse
ODIN MODE
SECURE DOWNLOAD: ENABLE
MDM DOWNLOAD BLOCK: 0
PRODUCT NAME: SM-J200H
CURRENT BIN: Samsung Official
SYSTEM STATUS: Official
FRP LOCK: OFF
Result: stuck on bootscreen, SM-J200H_SER_J200HXXU0AQF1_fac
(BL unlocked, ofc.)

conditae said:
ODIN MODE
SECURE DOWNLOAD: ENABLE
MDM DOWNLOAD BLOCK: 0
PRODUCT NAME: SM-J200H
CURRENT BIN: Samsung Official
SYSTEM STATUS: Official
FRP LOCK: OFF
Result: stuck on bootscreen, SM-J200H_SER_J200HXXU0AQF1_fac
(BL unlocked, ofc.)
Click to expand...
Click to collapse
SM-J200H........
This is for J2 Prime (SM-G532x), not J2 2015 (SM-J200x).
Appropriate one for you is here: https://forum.xda-developers.com/t/twrp-3-0-2-1-root-samsung-galaxy-j2-sm-j200h.3486994/

Related

[Recovery][Lenovo P2][P2a42] Official TWRP for the Lenovo P2 (3.2.2-0)

Team Win Recovery Project 3.2.2-0
This is for the Lenovo P2a42 only! Do not flash on the Lenovo P2c72!
WARNING: Rooting The Lenovo P2 with SuperSu currently works only in System-Mode, which prevents you from installing OTA Updates!
INFO: Follow the full rooting steps below, in order, to allow system modifications!
WHAT IS TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
Read more about TWRP here: https://twrp.me/about/
DOWNLOAD
You can find the Official Download here (Version: 3.2.2-0): recommended!
https://goo.gl/UbHbkr
You can find the Pre-Official Download here:Currently no Pre-Official!
See Post #3
This is the download link, for instructions on how to flash it, see below.
You can find up to date fastboot & adb binaries here!
FULL STEPS FOR OBTAINING ROOT
Follow these instructions until someone nice comes along and makes a video from them (without ads):
Extract/ install adb & fastboot to your computer.
{
"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"
}
Download TWRP for Lenovo P2 (P2a42).
In your ROM, go to Settings -> About device. Tap 8 times on Build number to enable Developer options.
Now go to Settings -> Developer options. (above About device)
You need to enable OEM unlock, otherwise you might end up with boot problems or be unable to flash later on.
Once you tap the unlock the bootloader it will ask you to formally submit the request, when you accepted the void warranty thing you will have to wait 14 days.
After 14 days . Reboot your device into fastboot mode. To do this, (adb reboot-bootloader) or select reboot from the power menu and hold the [Volume Down] + [Power] buttons while your device reboots or boots from power off.
Once you're in fastboot mode, you need to unlock your bootloader. To do this, run this command:
fastboot oem unlock
WARNING: Unlocking your bootloader will erase all userdata on the device! Your device will be completely reset to factory defaults!
Once your bootloader is unlocked, you're ready to flash TWRP. To do this, run these commands in order:
fastboot flash recovery twrp.img
fastboot boot twrp.img
At this point, you will reach the screen asking you if you want to allow system modifications.
By swiping right, you will trigger system modifications for TWRP and TWRP will be installed permanently!
If you are going to root your device and follow the rest of these steps, then it is safe to swipe right and enable modifications.
If your device asks for a password to mount internal storage, and your password doesn't work or you haven't set one, see below under known issues for a fix!
If you want to be rooted see Post #2:
UPDATING TWRP
To update TWRP, simply download the new twrp.img on your phone, then boot into your current TWRP and flash it.
To flash a twrp.img, navigate to [Install] -> [Flash Image] -> select your twrp.img -> [x] Recovery -> Flash!
After that, just use [Reboot] -> [Recovery] to reboot into the updated TWRP.
CHANGES
v3.0.3-0 (beta) - Initial public beta v1 release.
v3.0.3-0 (beta) - public beta v2 release.
- Enable double-tap to wake in recovery
- Fixed MTP Issues
v3.0.3-0 (Official) - public release.
- fix device name for update.zip's
3.1.1-0 (Official) - Official release.
- Completely rebased on Nougat
- Included OTA support.
3.1.1-1 (Official) - Official release.
- Fix "Format Data" when using default (f2fs)
- Enabled OTA support.
3.2.1-0 (Official) - Official release.
- TWRP base Android 8.1
3.2.2-0 (Official) - Official release.
- TWRP 3.2.2-0 build
FEATURES
MTP support
USB OTG storage support
Hardware Qualcomm-based full-disk encryption support
f2fs file system support (read, write, format, backup & restore)
exFAT file system support (read, write, format)
ADB root
Full SELinux support
Built in android 8.1 tree
KNOWN ISSUES
SuperSU will only work by default in System-Mode because the data partition is F2FS! (by default from Lenovo)
SuperSu's Systemless Mode will work when the data partition is changed to EXT4!
DECRYPTION NOT WORKING?
If your device isn't decrypting in TWRP, chances are you set a boot up password.
You can solve this by disabling your boot up password in your device OS's settings.
By disabling your password your OS will rewrite your crypto key to be compatible with TWRP and TWRP will decrypt with the default password.
WHY DOES F2FS MAKE TWRP SO SLOW?
When TWRP boots up or wipes partitions and a few other scenarios, it checks each partition to see how much disk space is used. Ext4 handles disk usage calls quite efficiently and will finish this very fast. F2FS on the other hand is very slow when it comes to checking disk usage. We're unsure why this is. Every file on the F2FS formatted partition adds a little more time, and a device that is 30 GB full could take up to 10 minutes to boot TWRP!
I suggest switching your data partition to ext4 - all the f2fs hype is merely from benchmarks that don't actually represent real world use (ie. you're not writing thousands of files per second)
For someone who doesn't do lots of write access to their data partition, ext4 can actually be advantageous (it has faster access times and reads!)
CONTACT & SUPPORT
You can find TeamWin on IRC at #twrp on chat.freenode.net.
You can also post in this thread and I will attempt to answer any questions you may have.
SOURCE CODE
TWRP: https://github.com/omnirom/android_bootable_recovery (android-7.1)
Device tree: https://github.com/Celoxocis/android_device_lenovo_kuntao_row (android-7.1)
CONTRIBUTIONS
Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/
XDA:DevDB Information
Team Win Recovery Project for the Lenovo P2, Tool/Utility for the Lenovo P2
Contributors
celoxocis, Maintainer & Developer
Gilotto, Closed Beta Tester
HaJeeEs, Closed Beta Tester
Version Information
Status: Official
Current Official Version: 3.2.2-0
Official Release Date: 2018-07-07
Created 2016-01-07
Last Updated 2018-07-07
Download Counter:
Initial Beta Release v1: 57
Initial Beta Release v2: 20
Official Version: It's Over 5000!
So you are generation Y? too much to read or you don't real at all? Prefer a video? Head over to Youtube!
Video Tutorials on Youtube for Systemless Mode ROOT METHOD
How to ROOT LENOVO P2 | Install TWRP Recovery | Works on Marshmallow Only
How to ROOT Lenovo P2 with Android Nougat | Lenovo P2 Root Tutorial
Thanks to TechXplicit
You don't like command lines? Prefer to click your way through life? Take a look at the Lenovo P2 Root Tool! Head over to Youtube!
Lenovo P2 Root Tool!
Thanks to Varun Sai
----- General Information -----
All donations which are send to me (TWRP appreciation donations)
Will be put forward to support the Official LineageOS development.
Donation Link, please see my signature!
Official TWRP vs LineageOS TWRP
I am on Lenovo's STOCK ROM! All i want is root with STOCK ROM! I don't care about treble! Is this version for me?
YES!!!
I hate the Lenovo STOCK ROM! I want LineageOS Official and root! I want treble and Magisk! Is this TWRP version for me?!
NO!!! Why? Please read this!
Confirmed and working ROOT methods!
Up-to-date: For root with Nougat please use phh's supersu
Use version 2.59 from here
Install phh's SuperUser in the Play Store
to manage root access of apps.
Simply flash it and enjoy.
--------------------------------
If you prefer Magisk:
Prio to installing Magisk you will have to change the data partition from F2FS to EXT4 because the Lenovo Kernel is missing an F2F2 feature.
How to format data to EXT4:
Make sure while the first time you boot TWRP.
You "KEEP SYSTEM in READ ONLY MODE" by clicking "Keep Read Only"
then Go to:
Wipe>Advanced Wipe>Select "Data">Repair or Change File System>Change File System>EXT4
Install Magisk
and once you booted up the system install Magisk manager.
Proof that Magisk works see attachment!
too much to read? Prefer a video? Head over to Youtube!
Video Tutorials on Youtube for Systemless Mode ROOT METHOD
How to ROOT LENOVO P2 | Install TWRP Recovery | Works on Marshmallow Only
How to ROOT Lenovo P2 with Android Nougat | Lenovo P2 Root Tutorial | Works on Nougat!
Thanks to TechXplicit
You don't like command lines? Prefer to click your way through life? Take a look at the Lenovo P2 Root Tool! Head over to Youtube![/SIZE]
Lenovo P2 Root Tool!
Thanks to Varun Sai
--------------------------------
Outdated Root Method for Marshmallow ONLY:
Here is for confirmed and working ROOT METHODS !!! Marshmallow ONLY !!!
(FOR SYSTEM MODE ROOT ONLY!)
download this pack https://goo.gl/KFtyzl
and extract its content into the adb&minimal fasboot folder
enter TWRP
do
Code:
adb push dot.supersu /data/.supersu
Select "ADB Sideload" in TWRP menu, (Advanced>ADB Sideload) make sure to select "Wipe Cache" and
Swipe to to Start Sideload and use following command to push SuperSu files.
Code:
adb sideload SuperSU.zip
Reboot into System. Done!
--------------------------------
FOR SYSTEMLESS MODE ROOT ONLY: (preferred method!) !!! Marshmallow ONLY !!!
As i stated in the Opening Thread. SuperSu can not be installed in Systemless-Mode by default because by default the /data partition is formated in F2FS.
More detailed explanation here: here
The current workaround is to disable the encryption (fully optional) and wipe the /data partition and format the /data partition to EXT4, which is also supported by the boot.img (thank you Lenovo!) and install SuperSu in Systemless-Mode. EXT4 formatting can be done through the "advanced wipe" of TWRP.
It has been tested and confirmed working. The main advantage is working OTA due to systemless SuperSu. As the OTA doesn't care if /data is actually F2FS or EXT4. Lenovo was so kind to provide both options in the stock boot.img.
Factory Images for P2a42 Marshmallow/Nougat & TWRP Test Image & Kernel Sources
Q: I messed up help me?! :crying:
So you screwed up and didn't follow Rule Number One in the IT-Handbook?
Which is: Always create a backup before working on a system?
(FACTORY IMAGES FOR Marshmallow ONLY!)
Warning! Following images are all confirmed working for the P2a42!
Do NOT attempt to use it on the P2c72 it will brick your device!
If you need an P2c72 factory flasher version! Let me know i will provide you with one!
Download the Factory State Images for Marshmallow. Which are all flashable with fastboot: https://goo.gl/JTCwKj
Place the files you want replaced into the "Minimal ADB & Fastboot" installation directory and start it's shell:
If you want to flash back the stock recovery. Simply run:
Code:
fastboot flash recovery recovery.img
You can also replace all partitions if required.
There is an flashall.bat file in the SW directory. Run it in case you want to restore all partitions.
But i highly recommend to replace just the partition you messed up. In most cases it will be boot,recovery or system.
One exception would be if you want to upgrade from an Old Firmware and you simply do not receive any OTA update files.
In that case you want to run a complete upgrade by running the flashall.bat file.
(FACTORY IMAGES FOR Nougat ONLY!)
Warning! Following images are all confirmed working for the P2a42!
Do NOT attempt to use it on the P2c72 it will brick your device!
If you need an P2c72 factory flasher version! Let me know i will provide you with one!
Download the Factory State Images for Nougat. Which are all flashable with fastboot: https://goo.gl/b7Dx37
too much to read? again?! do you ever read?
don't worry TechXplicit got you covered!
Head over to Youtube!
Lenovo P2 STOCK Firmware | Restore Bootlooped Lenovo P2 | How to get back to OTA updates
Thanks to TechXplicit
--------------------------------
Pre-Official TWRP Images:
TWRP 3.2.2-0 (latest version)
Currently no Pre-Official.
Q: Why Pre-Official?
A: It's is an "canary build" meaning, in test phase before it gets pushed Official but it is fully tested on Marshmallow and Nougat. Even confirmed working for the P2c72.
--------------------------------
Lenovo P2a42 Kernel Sources for Marshmallow/Nougat:
Official Lenovo Download Link
Great work,
Now only an seperate forum :laugh:
Shall i request it?
wimmetje said:
Great work,
Now only an seperate forum :laugh:
Shall i request it?
Click to expand...
Click to collapse
No need to I will request one once I upload all sources and pushed TWRP Official.
As a reminder! Always create a backup of the boot and system partition (as image!) before installing anything to stay save!
celoxocis said:
Small Update: DO NOT Flash the latest System-Mode SuperSU. It was reported to cause a bootloop on the Lenovo P2. Stick with Version 2.76!
As a reminder! Always create a backup of the boot and system partition (as image!) before installing anything to stay save!
Click to expand...
Click to collapse
I was to fast! I installed version 2.79. I reinstalled version 2.76, but it wont boot Any idea how I can fix it? Of course I'm an idiot who didn't make a back up.
BDM101 said:
I was to fast! I installed version 2.79. I reinstalled version 2.76, but it wont boot Any idea how I can fix it? Of course I'm an idiot who didn't make a back up.
Click to expand...
Click to collapse
Look for "Unsu" script here in the forum. It will take you out from the bootloop.
celoxocis said:
Look for "Unsu" script here in the forum. It will take you out from the bootloop.
Click to expand...
Click to collapse
Thx!!!! That worked
Updated Post #2 here https://forum.xda-developers.com/showpost.php?p=70435635&postcount=2
for confirmed and working Root Method!
Fantastic! Is possible to have a separate forum for the p2?
celoxocis said:
Updated Post #2 here https://forum.xda-developers.com/showpost.php?p=70435635&postcount=2
for confirmed and working Root Method!
Click to expand...
Click to collapse
If I want to sideload the zip file, I got the error "error: no devices/emulators found". But for everything else ADB works.
Dagnelino said:
Fantastic! Is possible to have a separate forum for the p2?
Click to expand...
Click to collapse
It will be requested by the topic starter when twrp will be officiall
BDM101 said:
If I want to sideload the zip file, I got the error "error: no devices/emulators found". But for everything else ADB works.
Click to expand...
Click to collapse
It think you need the latest adb version for it to work. Closed Beta Testers confirmed adb sideload as working.
celoxocis said:
It think you need the latest adb version for it to work. Closed Beta Testers confirmed adb sideload as working.
Click to expand...
Click to collapse
I tried the default adb version in Fedora 25 and the latest one from https://forum.xda-developers.com/showthread.php?t=2317790 in a vm, but non of them work.
I guess I'm gonna be root-less for a while
BDM101 said:
I tried the default adb version in Fedora 25 and the latest one from https://forum.xda-developers.com/showthread.php?t=2317790 in a vm, but non of them work.
I guess I'm gonna be root-less for a while
Click to expand...
Click to collapse
I don't know about the Linux based adb. Testers used Windows as hosts.
celoxocis said:
I don't know about the Linux based adb. Testers used Windows as hosts.
Click to expand...
Click to collapse
I also tried it on windows (a windows 10 virtual machine) with "Minimal ADB and Fastboot" version 1.4.2 and still wont work.
BDM101 said:
I also tried it on windows (a windows 10 virtual machine) with "Minimal ADB and Fastboot" version 1.4.2 and still wont work.
Click to expand...
Click to collapse
I don't think it works on a virtual machine because of the USB passthrough. I know that ADB sideload works as it was confirmed by the Testers.
Instead of using sideload. Try by placing the SuperSu.zip onto the internal storage /data. And select the zip for install.
celoxocis said:
I don't think it works on a virtual machine because of the USB passthrough. I know that ADB sideload works as it was confirmed by the Testers.
Instead of using sideload. Try by placing the SuperSu.zip onto the internal storage /data. And select the zip for install.
Click to expand...
Click to collapse
Still in a bootloop. Maybe the "UnSu" script isn't deleting everything? (it boots when I run the script)
BDM101 said:
Still in a bootloop. Maybe the "UnSu" script is't deleting everything? (it boots when I run the script)
Click to expand...
Click to collapse
It depends on how often you tried to install SuperSU. It will revert all changes when you run SuperSu once. If you tried it more than once then the backup folder will overwrite the data with already patched data.
Grab the stock images packages from post #3 and extract it's content.
No need to restore all the partitions.
Just open up the *.Bat file and look for the command that says "fastboot flash boot boot.img" and the parts that say "fastboot flash system systemchunk*" and run those in fastboot shell.
You will be back to stock without losing any of your data.
Then try again with the confirmed method in post #2. Just make sure you create a backup of boot and system (as image!) In case you need to restore. Let's say for applying an OTA.

[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][root]twrp-3.2.x galaxy j2 pro 2018 sm-j250f

Unofficial release -TWRP recovery for the Samsung Galaxy J2 PRO 2018 - Qualcom msm8917
{
"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"
}
THIS FOR FIRMWARE BASED ON "ARD3" OR "ARD*" . SO PLEASE MAKE SURE YOUR FIRMWARE IS "ARD3 OR "ARD*" :
Current status: BETA
Features:
SEANDROID warning fix
TWRP and Kernel built from latest source
system Image backup and flashing support
efs backup support
WHATEVER YOU DO BEFORE FLASHING ANYTHING WITH TWRP MAKE A BACKUP OF YOUR DEVICE WITH TWRP AND HAVE THE STOCK FIRMWARE TO HAND JUST IN CASE DOWNLOADED FROM SAMMOBILE OR UPDATO.
THIS WILL TRIP KNOX AND MAY VOID YOUR WARRANTY!
Instructions:
(Note: failure to follow these instructions implicitly will cause TWRP to be replaced by stock recovery at boot!)
Flash with ODIN in the AP slot.
Put your device in DOWNLOAD mode.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
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.
You should now see TWRP recovery.
NOTE: ON SOME ANDROID 5.1.1/6.0/7.0 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.
Download:
recovery.tar.md5 For J250f
IMPORTANT! This device enforces dm-verity. ANY modifications or even mounting system will put the device into a bootloop. To prevent this TWRP will ask at first boot if you want to keep system 'Read only' or 'Allow modifications to system'. If you choose to keep 'Read only' you will have to flash TWRP at every boot to recovery.
If you choose to 'Allow' then SuperSU or the boot patch needs flashing below to disable dm-verity.
To Root:
Flash the latest magisk with TWRP:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
This device forces encryption.
To disable forced encryption, mount internal storage(DATA) and disable dm-verity you must flash the boot patcher below:
(Note this MUST be flashed after SuperSU if you intend to root)
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 magisk (if root is required)
5. Install boot image patch below.
6. Reboot
Boot image patcher
no-verity-no-encrypt-5.1
DEVICE TREE: soon
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
Credits: Me, Teamwin, Omnirom, my tester ilmiawan budi utomo @FBGroup
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
Reserved
readme
this for firmware base on "ard3" please make sure your firmware "ard3"
andii_nr said:
readme
this for firmware base on "ard3" please make sure your firmware "ard3"
Click to expand...
Click to collapse
help me please J250FDXU1ARA2
Khang140401 said:
help me please J250FDXU1ARA2
Click to expand...
Click to collapse
First update to ARD3
andii_nr said:
First update to ARD3
Click to expand...
Click to collapse
I updated and flash this with odin but it not work ☹☹ my board msm8937 ? Work? Please reply me.
---------- Post added at 06:10 AM ---------- Previous post was at 06:04 AM ----------
[/PHP]
andii_nr said:
First update to ARD3
Click to expand...
Click to collapse
Khang140401 said:
I updated and flash this with odin but it not work ☹☹ my board msm8937 ? Work? Please reply me.
---------- Post added at 06:10 AM ---------- Previous post was at 06:04 AM ----------
[/PHP]
Click to expand...
Click to collapse
Are you sure your phone sm-j250f and firmware ARD3 ?
If yes that recovery work fine , am also test with 3friend and work ..
andii_nr said:
Are you sure your phone sm-j250f and firmware ARD3 ?
If yes that recovery work fine , am also test with 3friend and work ..
Click to expand...
Click to collapse
see it ??
andii_nr said:
Are you sure your phone sm-j250f and firmware ARD3 ?
If yes that recovery work fine , am also test with 3friend and work ..
Click to expand...
Click to collapse
My devices _J250FDXU2ARD3
problem
team win worked with me but when i want to open my phone it reboot himself and i should install rom
Khang140401 said:
see it ??
Click to expand...
Click to collapse
Read all instruction ..
This phone has deencrypt .. so you must FORMAT DATA -> flash magisk -> flash boot-patcher ..
Costum ROM s8 for j250f
andii_nr said:
Unofficial release -TWRP recovery for the Samsung Galaxy J2 PRO 2018 - Qualcom msm8917
THIS FOR FIRMWARE BASED ON "ARD3" OR "ARD*" . SO PLEASE MAKE SURE YOUR FIRMWARE IS "ARD3 OR "ARD*" :
Current status: BETA
Features:
SEANDROID warning fix
TWRP and Kernel built from latest source
system Image backup and flashing support
efs backup support
WHATEVER YOU DO BEFORE FLASHING ANYTHING WITH TWRP MAKE A BACKUP OF YOUR DEVICE WITH TWRP AND HAVE THE STOCK FIRMWARE TO HAND JUST IN CASE DOWNLOADED FROM SAMMOBILE OR UPDATO.
THIS WILL TRIP KNOX AND MAY VOID YOUR WARRANTY!
Instructions:
(Note: failure to follow these instructions implicitly will cause TWRP to be replaced by stock recovery at boot!)
Flash with ODIN in the AP slot.
Put your device in DOWNLOAD mode.
Uncheck Auto reboot.
Load the respective file below into the AP slot and hit start.
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.
You should now see TWRP recovery.
NOTE: ON SOME ANDROID 5.1.1/6.0/7.0 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.
Download:
recovery.tar.md5 For J250f
IMPORTANT! This device enforces dm-verity. ANY modifications or even mounting system will put the device into a bootloop. To prevent this TWRP will ask at first boot if you want to keep system 'Read only' or 'Allow modifications to system'. If you choose to keep 'Read only' you will have to flash TWRP at every boot to recovery.
If you choose to 'Allow' then SuperSU or the boot patch needs flashing below to disable dm-verity.
To Root:
Flash the latest magisk with TWRP:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
This device forces encryption.
To disable forced encryption, mount internal storage(DATA) and disable dm-verity you must flash the boot patcher below:
(Note this MUST be flashed after SuperSU if you intend to root)
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 magisk (if root is required)
5. Install boot image patch below.
6. Reboot
Boot image patcher
no-verity-no-encrypt-5.1
DEVICE TREE: soon
PLEASE DO *NOT* DIRECT LINK TO THESE FILES. PLEASE LINK TO THIS POST
Credits: Me, Teamwin, Omnirom, my tester ilmiawan budi utomo @FBGroup
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
Click to expand...
Click to collapse
Thanks bro for twrp
ARD3 doesn't support current root. Why? Only restart... Phone is not opening.
TWRP => all directory 0 mb. There is a problem.
Thanks for your hard work. The recovery works really fine with our device if instructions were followed carefully.
Now all we need is a custom kernel with selinux set to permissive. I appreciate any help.
Help me
I have a problem with my mobile device that shows me this message when running
"Set warranty bit: kernel"
What is the solution?
i can't use camera when rooted!
pls help me!
timtini said:
i can't use camera when rooted!
pls help me!
Click to expand...
Click to collapse
Latest version of SuperSU or Magisk.
ashyx said:
Latest version of SuperSU or Magisk.
Click to expand...
Click to collapse
of course!
i was try to root with Super SU and Magisk but it still bug!
So I thought of twrp caused!
Nice kang ?

[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

[RECOVERY] TWRP 3.x for Lenovo Tab2 A7-20F (MT8127)

{
"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.x
for Lenovo Tab2 A7-20F
(MT8127 only)​Disclaimer
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this
* recovery before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* Always backup your device before flashing any rom/recovery/whatever
*/
​Introduction
TWRP 3 built from Omnirom 5.1 sources + Teamwin 9.0 (TWRP 3.4.0, 3.5.2)
Prebuilt stock 3.10.54 kernel
Features
TWRP functions (flash zip, flash img, backup, restore...)
USB OTG, Internal and external SD cards
NTFS support
Crypto enabled (don't know if it works though)
Extra languages
Changelog
3.6.2 (2022/07/22) :
Updated TWRP sources from Teamwin 9.0 branch (2022/07/22)
Older versions
3.6.1 (2022/03/16) :
Updated TWRP sources from Teamwin 9.0 branch (2022/03/13)
3.6.0 (2021/12/05) :
Updated TWRP sources from Teamwin 9.0 branch (2021/12/05)
3.5.2 (2021/04/24) :
Updated TWRP sources from Teamwin 9.0 branch (2021/04/20)
Allows flashing Magisk apk
3.4.0 (2020/08/11) : updated TWRP sources from Teamwin 9.0 branch (2020/07/30)
Allows flashing Magisk zip
Downloads
latest file from androidfilehost
If you use an unmodified stock KK or LP rom, stock recovery will be self installing again unless you flash KK_LP_no_stock_recovery.zip patch.
In TWRP, you need to be sure that "Mount system partition read-only" is unchecked in "Mount" menu before flashing this patch
Installation instructions
3 ways to install this recovery
Using SP Flash Tool
Prerequisites
Install MTK USB Drivers (windows xp/vista/7 - Windows 8/8.1/10 - other windows 10)
SP Flash Tool (howto)
In SP Flash Tool, always use "Download Only" mode when not explicitly asked to do otherwise (you could lose your IMEI/WIFI/BT) or if you don't know what you are doing.
Please do NOT ask about any problem with USB drivers or SP Flash Tool here in this thread, this is not the right place for it as these problems are not related to THIS particular recovery but to YOUR computer setup. There are other threads and/or sites about such problems.
Installation
power off the tablet
launch SP Flash Tool, click on "Download" tab
click "scatter-loading" button and choose the downloaded scatter file (MT8127_Android_scatter-recovery_only.txt is based on LP stock rom)
on the "RECOVERY" line, click the empty "Location", and choose the downloaded recovery img file
click "Download"
plug your tablet on USB
Using previous already installed TWRP
reboot to recovery
"Install"
"Install Image"
choose the recovery img to flash
choose "Recovery" partition
"swipe to confirm Flash"
Using an application (root needed)
such as Rashr
Boot to recovery
Turn your tablet off
Push Power button + Volume- + Volume+ buttons
Keep the buttons pushed untils boot logo appears
Thanks to/Credits
TeamWin
Omnirom
How to compile TWRP touch recovery (Dees_Troy)
TWRP Flags for BoardConfig.mk (MSF Jarvis)
Contributors
pix106
Source Code: https://github.com/LenovoTab2A7[/hide]
Reserved
pix106 said:
Hi,
2 days ago I got a second-hand A7-20... so i built TWRP for it yesterday
TWRP XDA thread is created ...but file upload is broken... so i can't upload the recovery image yet.
Would you please try to flash magisk zip (normal install)....
Cheers
Click to expand...
Click to collapse
Just found this thread and subscribed, but it won't load in Labs app for now (in traditional XDA fashion). [Edit: loads in Labs now]
Anyway, Fantastic!
Put your twrp and Magisk 20.4 stable on USB and booted old twrp (yours, for tb2 A7-10), sees USB storage fine, flashed new A7-20 twrp, rebooted - no problem - sees USB storage, flashed Magisk 20.4 no problem, booted system, Magisk SU and manager installed and basic functions working fine!
Many thanks. Please let me know re any further information you have or refinements you make for this tablet!
All best with TB2 A7-20, kind regards, PW
TWRP 3.4.0 build is up
Any suggestion where to find newer ROM for this device?
pix106 said:
TWRP 3.x for Lenovo Tab2 A7-20F (MT8127)
Only for Tab2 A7-20F MT8127 variant​
Disclaimer
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this
* recovery before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* Always backup your device before flashing any rom/recovery/whatever
*/
Introduction
TWRP 3 built from Omnirom 5.1 sources
+ Teamwin 9.0 (TWRP 3.4.0)
Prebuilt stock 3.10.54 kernel
Features
TWRP functions (flash zip, flash img, backup, restore...)
USB OTG, Internal and external SD cards
NTFS support
Crypto enabled (don't know if it works though)
Extra languages
Know issues
wrong idVendor and idProduct
?
Changelog
3.4.0 (2020/08/11) : updated TWRP sources from Teamwin 9.0 branch (2020/07/30) - Allows flashing Magisk zip
Downloads
latest file from AFH
If you use an unmodified stock KK or LP rom, stock recovery will be self installing again unless you flash KK_LP_no_stock_recovery.zip patch.
In TWRP, you need to be sure that "Mount system partition read-only" is unchecked in "Mount" menu before flashing this patch
Installation instructions
3 ways to install this recovery
Using SP Flash Tool
Prerequisites
Install MTK USB Drivers (windows xp/vista/7 - Windows 8/8.1/10 - other windows 10)
SP Flash Tool (howto)
[*][*]In SP Flash Tool, always use "Download Only" mode when not explicitly asked to do otherwise (you could lose your IMEI/WIFI/BT) or if you don't know what you are doing.
Please do NOT ask about any problem with USB drivers or SP Flash Tool here in this thread, this is not the right place for it as these problems are not related to THIS particular recovery but to YOUR computer setup.
There are other threads and/or sites about such problems.
Installation
power off the tablet
launch SP Flash Tool, click on "Download" tab
click "scatter-loading" button and choose the downloaded scatter file (MT8127_Android_scatter-recovery_only.txt from Download Tabs is based on LP stock rom)
on the "RECOVERY" line, click the empty "Location", and choose the downloaded recovery img file
click "Download"
plug your tablet on USB
Using previous already installed TWRP
reboot to recovery
"Install"
"Install Image"
choose the recovery img to flash
choose "Recovery" partition
"swipe to confirm Flash"
Using an application (root needed)
such as Rashr
Boot to recovery
Turn your tablet off
Push Power button + Volume- + Volume+ buttons
Keep the buttons pushed untils boot logo appears
Thanks to/Credits
TeamWin
Omnirom
How to compile TWRP touch recovery(Dees_Troy)
TWRP Flags for BoardConfig.mk(MSF Jarvis)
XDA:DevDB Information
TWRP 3.x for Lenovo Tab2 A7-20F (MT8127), Tool/Utility for the Android General
Contributors
pix106
Source Code: https://github.com/pix106/android_device_twrp
Version Information
Status: Alpha
Current Beta Version: 3.4.0
Beta Release Date: 2020-08-11
Created 2020-07-31
Last Updated 2020-08-11
Click to expand...
Click to collapse
Hi just flashed this TWRP on my A7-20F and it's stuck on ´lenovo screen any ideas?
ChingyM said:
Hi just flashed this TWRP on my A7-20F and it's stuck on ´lenovo screen any ideas?
Click to expand...
Click to collapse
try to flash it again with SP Flash Tool.
If you're on stock rom, be sure to boot to recovery (power + volume- + volume+) immediately after flashing it, and flash the KK_LP_no_stock_recovery.zip patch
pix106 said:
try to flash it again with SP Flash Tool.
If you're on stock rom, be sure to boot to recovery (power + volume- + volume+) immediately after flashing it, and flash the KK_LP_no_stock_recovery.zip patch
Click to expand...
Click to collapse
It was all good Just needed patience ! Thanks
TWRP 3.5.2 build is up
TWRP 3.6.0 build is up
TWRP 3.6.1 build is up
Works great! The only problem is that there aren't much roms for this tablet.
TWRP 3.6.2 build is up
thanks, I managed to place the twrp after many years. but I need help with the root, try to flash the Magisk-v24.3.zip and v25.2 but I get an error (ERROR: 1) and it does not install. Would you know which version of magisk can be installed on the LL stock rom (4.4.2)?
This is not a recovery issue, wrong place
KRou705 said:
thanks, I managed to place the twrp after many years. but I need help with the root, try to flash the Magisk-v24.3.zip and v25.2 but I get an error (ERROR: 1) and it does not install. Would you know which version of magisk can be installed on the LL stock rom (4.4.2)?
Click to expand...
Click to collapse
Flash v23 or older.
Sorry for off topic chat.
Nem1x said:
Flash v23 or older.
Sorry for off topic chat.
Click to expand...
Click to collapse
Thanks

Categories

Resources