[NEWBIE GUIDE] MIUI ROMs, TWRPs, ZIPs, UNLOCK, BACKUP, ROOT, FLASH, RESTORE - Xiaomi Mi Max 2 Guides, News, & Discussion

GUIDE SECTIONS QUICK LINKS
#1 - MIUI ROM, Types of MIUI ROM
#2 - TWRP, Types of TWRP, Flashing TWRP
#3 - Unlock, Root, Flashing via TWRP
#4 - Custom ROM, Types of custom ROMs
MIUI ROM
MIUI (pronounced as Me-You-I) is Xiaomi's custom built firmware like Samsung's OneUI, HTC's SenseUI, OnePlus's OxygenOS which is built on top of Android's AOSP base with its own modifications and features. At first glance it resembles like a hybrid between Google's Material Design and Apple's iOS. But unlike Stock Android or iOS, MIUI is very intuitive, feature rich and has multiple tweaking options. MIUI is updated regularly depending on the development branch. Xiaomi gathers reports, feedbacks and suggestions from the community, addresses the bug-fixes and integrates new features upon request. Most of Xiaomi devices are regularly patched with security updates every 2-3 months. The flagship "Mi" series like Mi9 receive quicker Android version updates than their budget "Redmi" series like Redmi 7, Redmi Note 7 Pro etc.
TYPES OF MIUI ROM
There are 2 development branches of MIUI ROMs for all Xiaomi devices.
A) Stable Builds
It is updated on a monthly basis or longer
New features are added slowly after testing
Higher system stability and less bugs than Beta ROMs
It has a four digit numbering scheme (X.X.X.X)
For eg. 8.X.X.X is MIUI8 Stable Build
Stable builds come in 2 variants
1. MIUI China Stable ROM
This ROM is pre-installed on all Xiaomi devices sold in China.
It is made for the Chinese market & contains Chinese MIUI apps.
Google Apps are absent. You can install them manually.
It supports Chinese & English languages.
2. MIUI Global Stable ROM
This ROM is pre-installed on all Xiaomi devices sold outside China.
It is made for the International market & contains English MIUI apps.
Google apps are pre-installed by default.
It supports 50+ languages.
B) Beta Builds
It is updated on a weekly/bi-weekly basis or longer.
New features are added quickly for testing.
Lower system stability and more bugs than Stable builds.
It has a three digit numbering scheme (X.X.X)
For eg. 6.11.21 is MIUI8 Beta build for 21th Nov, 2016.
This ROM is not pre-installed on any Xiaomi device.
You can install Beta build over Stable build manually.
Beta/Developer builds come in 2 variants.
1. MIUI China Beta ROM
It is made for the Chinese market & contains Chinese MIUI apps.
Google Apps are absent. You can install them manually.
It supports Chinese & English language.
2. MIUI Global Beta ROM​ It is made for the International market & contains English MIUI apps.
Google apps are pre-installed by default.
Supports more than 50+ languages.

TWRP
Team Win Recovery Project is a custom recovery which is flashed over the stock recovery as it gives user more options such as flashing custom ROMs, kernels & scripts, take full system backups, restore backups, root etc.
TYPES OF TWRP
1. TWRP by iscle: https://forum.xda-developers.com/mi-max-2/development/recovery-twrp-3-1-1-0-touch-recovery-t3652762
Based on Stock TWRP 3.1.1-0 with no modifications.
Ported from Redmi Note 4 (mido)
English language as default
Need to flash dm-verity zip immediately after flashing this TWRP, else your phone wont boot.
2. TWRP by xuefer: https://forum.xda-developers.com/mi-max-2/development/twrp-max2-oxygen-t3634437
Built using LineageOS 14.1 source
Built and tweaked for Mi Max 2 (oxygen)
Decryption support added for /data
Faster transfer using adb push
Extra fonts added
FLASHING TWRP
Unlock bootloader here: https://forum.xda-developers.com/mi-max-2/how-to/guide-unlocking-bootloader-mi-max-2-t3641257
Install "Minimal ADB+Fastboot Drivers": https://forum.xda-developers.com/showthread.php?t=2317790
Download TWRP file and copy the file in the C:\Program Files (x86)\Minimal ADB and Fastboot folder
Download dm-verity disabler and copy the file in your phone: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
Switch off phone. Hold Power + Volume Down to boot into fastboot mode. Connect it to PC.
Inside the folder where TWRP file is present, open command prompt window.
Type "fastboot devices". Your phone will get detected with serial number.
Type "fastboot flash recovery <recovery_name.img>". TWRP will get flashed on your device.
E.g. "fastboot flash recovery twrp_3.1.1-0.img".
Type "fastboot boot <recovery_name.img>". You will boot into TWRP. Disconnect phone from PC.
E.g. "fastboot boot twrp_3.1.1-0.img".
On the screen, swipe to allow modifications and select your language. Uncheck "Keep system read-only"
Select Install and then choose the dm-verity disabler zip and swipe to flash.
Select Backup and check all partitions. Swipe to backup. The backup will be stored in "TWRP" folder
Select Reboot and then system. You will be asked if you want to disable the stock recovery. Swipe to disable.
You will boot into MIUI with TWRP installed.
TWRP ZIPs
These zips are meant to be flashed with TWRP with a specific order. Before flashing any zip make sure you have taken full backup of your device partitions using TWRP.
1. no-verity-opt-encrypt: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
Also called as dm-verity disabler/lazy flasher
"dm-verity" is a feature in the MIUI kernel which checks and prevents the phone from booting normally if you modify the phone. (e.g. flash TWRP)
To prevent that, you need to flash the dm-verity disabler zip which removes dm-verity check and also decrypts the /data partition so that you can boot into MIUI normally.
Else you can flash a custom ROM immediately after flashing TWRP which removes the MIUI system and kernel
2. Xiaomi.EU ROM Patch: https://forum.xda-developers.com/mi-max-2/development/xiaomi-eu-rom-patches-dpi-change-t3656296
You need to install Xiaomi.EU ROM before installing these zips via TWRP.
MIUI to Google Apps: Replaces default MIUI apps with Google apps.
Google Now/Pixel Launcher: Replaces stock MIUI launcher and enables Google Assistant via build.prop tweak.
DPI changer: Change values from stock 440 (low res, bigger) to 325 (high res, smaller).
3. Hardware Key Disabler : https://forum.xda-developers.com/mi-max-2/themes/mod-disable-hardware-keys-lineageos-rom-t3696108
This mod enables on screen navigation bar and disables the hardware keys
You can revert back to stock configuration by flashing "enable_HWkeys.zip"

FLASHING VIA TWRP
Some important terms to remember:
Formatting data: Factory resets the phone, will erase internal storage, will remove encryption
Wiping data: Factory resets the phone, will not erase internal storage, will not remove encryption
Clean flash: Flashing a new ROM or an updated version of the same ROM by wiping or formatting data of current ROM in TWRP. Cache & dalvik is automatically wiped in TWRP.
Dirty flash: Flashing an updated version of the same ROM without wiping or formatting data of current ROM in TWRP. Cache & dalvik wipe is recommended in TWRP.
Treble TWRP: Custom TWRP which uses existing /cust partition and formats it into /vendor partition which is needed for non-MIUI Oreo and Pie ROMs where Treble is used.
Notes:
Always read the entire post & comments of the custom ROM page before asking any questions, chances are your query has already been answered.
You do not need to wipe /system partition manually, it its automatically wiped when a ROM is flashed by the updater-script inside the ROM zip. General rule of thumb is always clean flash any ROM, unless mentioned by the ROM developer or maintainer that dirty flashing is okay.
Requirements:
Unlocked bootloader with TWRP installed
Phone partition backup using TWRP
All data backup from internal storage (sms, contacts, files etc.)
Official MIUI ROM encrypts /data partition, you will need to Wipe > Format Data to decrypt it completely else need to flash dm-verity disabler zip or Magisk zip.
1. Rooting MIUI / non-MIUI ROM
Boot into TWRP (Power+Volume Up)
Install > Magisk zip
Reboot > System
2. Flashing official MIUI recovery ROM
Boot into TWRP
Wipe > Format data (if storage is encrypted)
Reboot > Recovery
Install > MIUI ROM zip + Magisk Zip
Reboot > System
3. Flashing custom MIUI ROM (Xiaomi.EU / RevOS / Mi Globe)
Boot into TWRP
Wipe > Format data (if storage is encrypted)
Reboot > Recovery
Wipe > Factory reset
Install > Custom MIUI ROM zip
Reboot > System
4. Flashing LineageOS/AOSP ROMs (Non-Treble)
Boot into TWRP
Wipe > Format data and Reboot > Recovery (if storage is encrypted)
Wipe > Factory reset
Install > Firmware + ROM Zip + Google Apps Zip
Reboot > System
5. Flashing LineageOS/AOSP ROMs (Treble)
Boot into Treble TWRP
Wipe > Format data (if storage is encrypted)
Reboot > Recovery
Wipe > Factory reset
Install > Firmware + ROM Zip + Google Apps Zip
Reboot > System

TYPES OF CUSTOM ROMs
There are mainly two types of custom ROMs for any Android device. You need to flash them on your phone using custom recovery such as TWRP.
1. Stock based ROMs
They are based on the factory ROM which came pre-installed on your device. In case of Xiaomi devices, developers take the stock China Stable/Beta MIUI ROMs as base, perform modifications and tweaking and then re-pack it. Examples of stock based MIUI ROMs.
Xiaomi.EU: https://xiaomi.eu/
MIUI Pro: https://miuipro.by/
Mi Globe: http://mi-globe.com/
Epic ROM: http://www.epicrom.pro/
2. Custom based ROMs
They are typically based on either AOSP or LineageOS code. They can either be ported from similar devices or built using the kernel source code of a particular device. Xiaomi has not yet released kernel source code for Mi Max 2. Kernel source codes are needed for relatively stable and bug-free experience on custom ROMs. Examples of some popular custom ROMs
A) AOSP based ROMs
AOSPExtended: https://www.aospextended.com/
Nexus Experience: http://www.nxrom.us/
SlimRoms: https://slimroms.org/
B) LineageOS based ROMs
LineageOS: https://lineageos.org/
Resurrection Remix: http://www.resurrectionremix.com/
XenonHD: http://www.xenonhd.com/

Reserved #4

Reserved #5

Thanks for wonderful explanation and for content too

Hi,
I flashed TWRP from PC using above procedure & tried to install no-verity-opt-encrypt (version 5.1.zip).
I got below error while installing :
Error: unpacking ramdisk failed
Phone booted normally & TWRP is not there.
How to fix this issue?

I know these questions are sometimes annoying, but for someone who hasn't been following Android development since Android 4.4.4, I'm a little overwhelmed by all this information. What does the "Oxygen" mean? Is it just a certain model of the Mi Max 2? I see all ROMs say Oxygen but none explain what it means. If it's a model of the Max 2, how can I know if the version I have is Oxygen?
Thanks and sorry if it's a dumb question

It's a code name for Max 2, so you don't mistakenly flash the wrong ROM, if it says Oxygen, than you're sure it's for your model, not for i.e. Mi Max...
Sent from my Mi Max 2 using Tapatalk

Hello,
I have a Mimax 2 bootloader unlocked, rooted, SuperSU, twrp 3.1.0-0 (cofface) installed. I installed, after some difficulties, the rom xiaomi.eu 7.12.28. When I'm in recovery, after the flash I sometimes have a red line that says "... no-verity-opt-encrypt ..." blah blah. But the phone boot normally, everything works fine. Do I have to install lazyflasher-no-verity-opt-encrypt or can I do without it?
thank you and sorry for my bad english

Hi, I have unlocked BL and installed Developer ROM 7.12.28. for a few weeks now. Can I install latest 8.1.4 developer ROM with TWRP without wiping cache/dalvik and will I keep my data/apps that way?
Thanks.
Sent from my Mi Max 2 using Tapatalk

@frulex, I installed the 8.1.4 (via updater) after using the 7.12.28, without any problem. That you erase the cache where not, you will not lose the data of your apps

What was the size of that update file you installed? I first got notification of 8.1.4 update and it said it's something like 95 MB file size. Tried to install it twice via updater, it starts updating, boots to TWRP and ends with error without installing. After reboot notification changed and now it offers update of full 1.5 GB 8.1.4 version ROM. I didn't have time to download and try that but I wonder will that also end in error and that's why I ask about downloading .zip and flashing through TWRP.
Sent from my Mi Max 2 using Tapatalk

These are the roms I used, as you see 8.1.4 weighs 1.2 Go
edit: I had uploaded an image of the explorer but it does not appear! (decidedly i'm struggling with this forum, lol)

Not many roms for this phone..it sux..I regret exchanging it with my oneplus 3..

How many ROMs have you expected in 3 days since kernel source has been released?
Sent from my Mi Max 2 using Tapatalk

good tutorial
thanks to you @SharkcpN . this is such a clearly, easily tutorial "How to Flash TWRP" for newbie like me..
I tried and succeed with no error at all.. once again, thanks for your good job :good:

Hi there! Thanks for the excellent thread and collection of links. I started here and found a setting on this phone's NVRAM that I have not seen mentioned anywhere else, and you will need it for LTE unlocking.
Below are the exact steps, many taken from this guide, that I used to go from a phone with an unlocked bootloader to flipping the LTE B2 and LTE B4 bits on. After I did it and rebooted, I suddenly had a working LTE connection!
I cannot yet PROVE that this actually enabled the bands, but it hasn't hurt anything. I will test for that in a couple days, because the only dumb thing I did was afterwards, when I accidentally re-locked the bootloader by not paying attention to what I was doing. If you use the MiFlash program to install a ROM, don't forget to change the setting in the lower right corner!
Notes for those wishing to use this as a guide:
I don't think you can brick the phone completely playing with just these settings, but you should be prepared to restore everything. Take backups where I mention them, and if you need the device working, you should have a current MIUI fastboot flashable image, available from the official website, on hand.
This is LTE only and there are different settings for GSM that work the same way.
The steps are numbered, but you should also understand mostly what they do.
You may ignore the VM part and just boot your normal Win7 with driver signature checking DISABLED (F8 on boot). I use Linux and I'm security-conscious about downloading programs that I can't verify, so I'm using a VM.
There is a dialpad option for opening the diag port (if you have root), but it did not work for me, so I have provided a method that I know works and it clears itself upon reboot
QXDM's NV browser has a checkbox for "DUAL SIM". You don't need to check it for this process, you won't lose SIM2.
Downloads section:
(REQUIRED) Most are in the links provided by OP:
MiFlash (official one)
QPST 2.7.460
QXDM 3.12.714
Minimal adb and fastboot
no-verity-opt-encrypt-6.0.zip
twrp-3.2.1-0-oxygen.zip
SuperSU-v2.82-201705271822.zip
(OPTIONAL, needed if you mess up. I chose to have it ready to go.):
From MIUI official site, go to the ROMs for the Max 2. The one on the download button here is NOT what you want.
Select Flashing guide, then on on the left hand side select FastBoot.
Download the image for your device. I have a copy of oxygen_global_images_V9.0.3.0.NDDMIEI_20171209.0000.00_7.1_global_298fd5f49c.tgz
SETUP SECTION (install tools and root phone):
Enable developer mode and USB debugging on phone
Boot into a Windows VM, pressing F8 to go into unsigned drivers mode
Install MiFlash, just to get the drivers
Install QPST and QXDM for later
Install adb and fastboot
Pass USB port through to VM and check adb is working by twice typing
Code:
adb devices
Shutdown phone and remove SD card from phone.
Add no-verity-opt-encrypt-6.0.zip and SuperSU-v2.82-201705271822.zip to SD card
Put SD card back in phone
Reboot phone into fastboot mode using PWR & VOL-, and re-pass to VM if needed
From cmd terminal in adb folder,
Code:
fastboot flash recovery twrp-3.2.1-0-oxygen.img
Code:
fastboot boot twrp-3.2.1-0-oxygen.img
Once TWRP comes up, install no-verity-opt-encrypt-6.0.zip
(OPTIONAL) Make a backup. I didn't because I don't want the ROM that's on there anyway.
Reboot and ensure MIUI loads
Shutdown phone and reboot into TWRP using PWR & VOL+
Install SuperSU as a system app
Reboot into MIUI
Access and edit the NVRAM:
Connect the device back to the computer, pass to VM if necessary
From your terminal in the adb folder,
Code:
adb devices
Grant debug permission on the device, if it asks again
Code:
adb shell
Code:
$su
Grant permission in superSU popup
Code:
#setprop sys.usb.config diag,adb
When the device reconnects, re-pass to VM if needed, and it may install another driver
Open QPST Configuration and make sure the device's port is enabled.
At the top, go to "start clients" and open "software download"
In the "Backup" tab, choose a location to save your file and hit Start, just in case you do break something
Once finished, close "software download" but leave QPST Configuration running
Open QXDM Professional
Under Options->Communications, make sure your phone is set "active" then set "target port" to the port it's on, then press OK
Go to NV Browser in the dropdown on the upper left.
Scroll down to 06828 :"nv_lte_bc_config_type.lte_bc_config"
Press READ and save this value somewhere in case you forget which bits you set! Mine was: 2061584302293
It's little-endian, and I wanted to flip bits from 0 to 1 to enable bands {2} and {4}, so I added 2^({2}-1)+2^({4}-1) = 10 to get a value of 2061584302303
Enter your new value in the "value" field and press "write"
Now, scroll down to the corresponding LTE prefs value at 65633
Read again. This should be the same number you had before, in hexadecimal format. Mine was 0x1E0000000D5, so to add B2 and B4 (Combined value 0xA), I changed it to 0x1E0000000DF
Again, enter your new value in the "value" field and press "write"
I doubt this requires any sort of "safe shutdown," but I hit "offline" then closed QXDM, then closed QPST, then rebooted the phone.
For a quick test, you can set network preferences to "LTE ONLY" by going to the dialpad and hitting *#*#INFO#*#*, then selecting your SIM card and using the dropdown in there. Mine was preferring HSPAP because the signal was stronger, even though the data was blocked.
Further testing I want to do when I get the bootloader unlocked again:
Use an app that shows what bands are in use to prove I'm on B2 or B4
Try disabling bands I will never use that have similar frequencies to the bands I want to see if signal improves

TWRP ZIPs
These zips are meant to be flashed with TWRP with a specific order. Before flashing any zip make sure you have taken full backup of your device partitions using TWRP.
1. no-verity-opt-encrypt: https://build.nethunter.com/android-...y-opt-encrypt/
Also called as dm-verity disabler/lazy flasher
"dm-verity" is a feature in the MIUI kernel which checks and prevents the phone from booting normally if you modify the phone. (e.g. flash TWRP)
To prevent that, you need to flash the dm-verity disabler zip which removes dm-verity check and also decrypts the /data partition so that you can boot into MIUI normally.
Else you can flash a custom ROM immediately after flashing TWRP which removes the MIUI system and kernel
2. Xiaomi.EU ROM Patch: https://forum.xda-developers.com/mi-...hange-t3656296
You need to install Xiaomi.EU ROM before installing these zips via TWRP.
MIUI to Google Apps: Replaces default MIUI apps with Google apps.
Google Now/Pixel Launcher: Replaces stock MIUI launcher and enables Google Assistant via build.prop tweak.
DPI changer: Change values from stock 440 (low res, bigger) to 325 (high res, smaller).
What does It mean??

Related

Kate CM13 Flash/Repair guide.

Dwl99 put a great guide together, the link is here:
http://forum.xda-developers.com/redmi-note-3/how-to/guide-redmi-note-3-special-edition-kate-t3523371
Another guide I found useful is http://en.miui.com/thread-363264-1-1.html
Full URL of original post is:
https://forums.whirlpool.net.au/forum-replies.cfm?t=2566258&p=6&#r120
Now, I did it in a slightly different way, I prefer my way because I believe it is safer but here goes:
0. Update Miui to latest version Using the OTA update or Fastboot/Miflash method mentioned above. (I have a guide in this thread)
Once up to date:
1. Unlock the boot loader using the official method, this can take two 2 three days using en.miui.com/unlock/
Download the unlock tool. - Enable unlock boot loader options in developer options on MIUI (This can be done by tapping 10 times quickly on "Miui Version" in the about phone section of the phone. After this, go to additional settings >Developer options > enable developer options and unlock boot loader.
Next simply follow the guide on the MIUI unlock tool to unlock boot loader.
2. Flash TWRP ZCX Version: http://forum.xda-developers.com/redmi-note-3/how-to/zcx-twrp-install-twrp-flash-supersu-t3462448
This version of TWRP allows you to see and backup ALL partitions of your Xiaomi device.
Make sure you boot into this TWRP after flashing so it sticks (otherwise your phone will not boot)
Use the settings to back up ALL partitions to your EXTERNAL SD card. Keep that safe for the future in case you break your phone or lose imei or whatever.
I recommend transferring this backup to a PC or desktop. - Once this is done, you can breathe easy, you will always have a complete full backup of your device should you break it, you can relax in the future.
3. After backing up all of the partitions to the external SD card:
Download some files on https://forums.whirlpool.net.au/forum-replies.cfm?t=2566258&p=6&#r120
The 4 main files you need are: 1 CM13 rom file, 2 TWRP Cofface Version, 3 the KATE version of CM13 firmware files (Whirlpool has this on his guide at the bottom edit) and 4 your favourite version of the Google apps @ opengapps.org
The version you will need is ARM64 version 6 for CM13.
Transfer these files to your phone external storage (We will be wiping internal storage).
4. Flash the Cofface edition of TWRP to your Phone either using Fastboot or TWRP.
The reason for this is I have found ZCX version, whilst awesome for seeing and backing up all parts of the MIUI phone, actually breaks non MIUI flashes because it is designed primarily to work well with MIUI Roms (hence we use them to back up)
All TWRP versions can be found here: http://forum.xda-developers.com/redmi-note-3/how-to/guide-redmi-note-3-available-twrps-t3406708/
Once Cofface TWRP is flashed you can move onto step 5 – Flashing Roms.
*NOTE* I have read some people recommend ALKA TWRP to A) backup all partitions, but also B, to flash CM as it does all things. I am only sharing my personal experience of what I have done here, and Alka could work well, but I have not tested it.
All I can say is flashing CM13 with ZCX TWRP Broke my device. – But it was great for making backups.
5. Flashing. Here all you need to do is boot into Cofface TWRP and go to Wipe. Choose advanced options. And wipe ALL partitions you see (Don’t worry, Cofface will not let you wipe out your boot loader, Recovery, IMEI or anything else that is critical) – First flash CM13. Then next, flash the Kate CM13 firmware, and third flash Opengapps. 1 after another (I actually added all three zips in that order and let them flash all together)
6. Reboot and enjoy. You now have an Unrooted CM13 with google apps a working fingerprint reader working radio etc. Happy days.
7. – EMERGENCY FIX EMERGENCY FIX!!! – As I mentioned earlier, TWRP zcx broke my device when I flashed the Roms. I was facing a device decryption error and 0mb data problem.
I fixed this with this URL http://en.miui.com/thread-344450-1-1.html
There is a file there called TWRP_Kenzo_Fix.zip and a batch script that will restore your phone and rebuild the partitions and install Cofface twrp for you!!! So that’s a good option if you break it.
Hope that helps
ZCX-TWRP works perfect for CM-ROMs. I've flashed so many ROMs without any problem!

Any newer or best TWRP for X727?

It's been a year already since I checked this sub and I am still using the TWRP that flickers and is chinese. Is there like an upgraded version for our device? Specifically for the non elite variant US version?
I think I might have screwed my phone because after I flashed a new rom(RR) my internal storage won't mount on recovery and when I connect it to pc. But I can see it in my phone when I'm on system(thank god) This is weird because I have not put any security lock on my phone before backing it up. So I am assuming that I need to update my TWRP to something latest to solve this issue, but I haven't been keeping up to this sub, i don't know if there's a newer compatible of TWRP.
And I also forgot why I did not went with the official one from TWRP. Maybe because it messes up the bootloader? or something like that, forgot since it's been a year already and I remember reading into a guide to use the chinese twrp.
[Solved]
If this happens to your device and you happen to use the chinese screen flicker fest TWRP, just go on and flash the latest official TWRP for our device. And you're going to be able to see your internal storage again.
you can either flash it ADB or from your recovery, but I flashed mine through TWRP
drckml said:
It's been a year already since I checked this sub and I am still using the TWRP that flickers and is chinese. Is there like an upgraded version for our device? Specifically for the non elite variant US version?
I think I might have screwed my phone because after I flashed a new rom(RR) my internal storage won't mount on recovery and when I connect it to pc. But I can see it in my phone when I'm on system(thank god) This is weird because I have not put any security lock on my phone before backing it up. So I am assuming that I need to update my TWRP to something latest to solve this issue, but I haven't been keeping up to this sub, i don't know if there's a newer compatible of TWRP.
And I also forgot why I did not went with the official one from TWRP. Maybe because it messes up the bootloader? or something like that, forgot since it's been a year already and I remember reading into a guide to use the chinese twrp.
Click to expand...
Click to collapse
Stop reading out of date articles, and use the latest Twrp here: https://twrp.me/leeco/leecolepro3.html
The Chinese bootloader issue is no longer an issue
* So to be clear about you issue you cannot boot to recovery.
* You do see you phone when you connect it to the computer...Right?
* BTW, I also have an X727
Your issue is most likely due to corruption and encryption
Backup whatever data you can and then use the All in One ( "AIT " ) tool to remove encryption ( NOTE: this is going to erase your data.
Next Using AIT install Twrp and magisk 17.1 or the easier way to resolve this may be to temporarily go back to stock.
Option 1
Try flashing the latest Twrp and magisk 17.1, using either ADB or AIT
After flashing boot into TWRP recovery
1. Go to "Wipe" and then to "Advanced Wipe".
2. Mark "Dalvik / ART Cache", "System", "Data" and "Cache".
3. "Swipe to Wipe" and proceed back the main menu.
4. Go to "Install".
5. Select the ROM zip file and then press "Add more Zips" and select the Gapps zip file, and then the Magisk file.
6. "Swipe to confirm Flash" and wait for some time.
7. After the flashing is finished, just reboot to recovery, check boxes to keep Twrp installed
8. Boot to system go through setup.
Option 2
You could flash my Recovery which includes Twrp and Root. ( Instructions at Link Below)
Afterwards you will be able to update the Twrp, and Root, then Flash whatever you want.
Le Eco Pro 3 X727 Twrp Backup : Clean Full Stock X727 recovery EUI 5.8.21s
https://forum.xda-developers.com/showpost.php?p=75021582
Option 3
Use All in One tool to restore my recovery, Flash a Stock Rom , or simply Flash TWRP/ROOT and then your Rom> Gapps> Magisk once again > Reboot to Recovery ( Check Boxes, for Twrp manager installation) Reboot to recovery > do not choose to make you drive read only! Clear Cache ( Not Dalvik) Reboot to system > Finished.
However, there is a faster way: @mauronofrio created a tool called: "TOOL ALL IN ONE"" and its great!
https://forum.xda-developers.com/and...ctory-t3358711
Its an excellent tool for keeping your drivers and adb up to date. Plus it will give ADB system wide privileges.
Mauronofrio's tool can also unencrypt your storage
After install the All in One Tool
Make sure to check for the AIT program for updates, to the tool itself and to ADB.
Next, click button to allow ADB privileges system wide.
Get more information here:*https://toolaio.tk**
XDA page for Le pro 3 : https://forum.xda-developers.com/le-...1#post71627491
* The all is one tool is excellent and you can use it to install everything you want.
* You can use it to unlock the bootloader.
* Remove Encryption
* Install TWRP,
* Install your Rom, Gapps and Magisk etc.
* The tool will also update your existing installation of ADB, Android Drivers, and provide system wide ADB privileges.
Of course use ADB or AIT once the phone is restored but you would be better off buying an OTG adapter and a USB 3.0 USB Flash drive. This way you can quickly make changes on the fly. I recommend buying at least 32GB usb 3.0 drive. Absolutely, the OTG adapter is the best method, because you will have all of your files available for quick installation and you can make numerous nandroid backups of your favorite rom installations. So If you get bored with one Rom, you can quickly restore another Rom in 5 to 10 minutes.
Again , if you do not use an OTG drive. Just use ADB or AIT for flashing your files, the steps are same as with any other phone.
Finally, look past any typos, I don't have time to proofread after spending so much time on a single post.
Thanks for the detailed response!
my issue was, I can go to recovery but it is not mounting my internal storage. It was showing as 0mb. I am aware that this is usually happens when you encrypt your device and back it up in the recovery and try to restore. But I never put any encryption on my device let alone it doesn't even ask me for a password when I am on the recovery. Anyway, I solved it by just flashing the latest official TWRP on our device. And I'm glad that I am finally away from the buggy chinese twrp.
I was just worried if there was any dangers on flashing the official latest twrp because I am seeing a lot of people getting bricked. So much for the halfassed allowing us to unlock our bootloader in this device by leeco.
Anyway, I really appreciate all that detailed guide. I will keep them in reference in the future.
drckml said:
Thanks for the detailed response!
my issue was, I can go to recovery but it is not mounting my internal storage. It was showing as 0mb. I am aware that this is usually happens when you encrypt your device and back it up in the recovery and try to restore. But I never put any encryption on my device let alone it doesn't even ask me for a password when I am on the recovery. Anyway, I solved it by just flashing the latest official TWRP on our device. And I'm glad that I am finally away from the buggy chinese twrp.
I was just worried if there was any dangers on flashing the official latest twrp because I am seeing a lot of people getting bricked. So much for the halfassed allowing us to unlock our bootloader in this device by leeco.
Anyway, I really appreciate all that detailed guide. I will keep them in reference in the future.
Click to expand...
Click to collapse
That's great!
In the future
If you have an encryption issue again, and you have latest tarp and magisk.
Just format storage and reboot to recovery, then wipe and issue will be resolved.

custom rom advice

Hi
Looking to install hardened rom or privacy rom so i can choose what apps to install will not be using google play and many other google apps, magisk is a good option and passing safetynet using microg would be a bonus, have been looking at installing wireguard for vpn
Have used lineage os on oneplus 3t with privacy guard. I know there are roms such /e and paranoid android
Any suggestion or advice currently on stock rom, phone is untouched at the moment ?
Also hear the oneplus 6 has 2 software slots, an A slot and a B slot and rom needs to be flashed to both slots ?
What you lot think of alternative youtube ?
https://www.digitbin.com/youtube-app-alternatives/
Omnirom is great for privacy
Newpipe is the best open source youtube alternative
Lineage is still the only ROM with Privacy Guard as far as I know. It's only in LOS 16 though, they are slowly pulling in features into LOS 17, but it's still missing many features of LOS 16.
Onmirom has many customization features, more than LOS, but it does not have Privacy Guard. The privacy features of LOS are the reason I always run Lineage, and only buy devices that can run Lineage.
Looks like lineage os 16 it is how did you flash both slot a/b ?
sajeel said:
Looks like lineage os 16 it is how did you flash both slot a/b ?
Click to expand...
Click to collapse
Here's how I install LOS, Note the the sentence at the top about replace 10.3.1 with 9.0.17 if you are doing LOS 16. Do NOT use Android 10 as your base if you are flashing LOS 16. Android 9 for Android 9 based ROMs, Android 10 for Android 10 based ROMs, any questions ask.
Just stick with OB 10 and use app ops
YouTube Vanced and your good to go
Installed lineage os 16.0 thanks for links and advice
here is my set of instructions using linux os as below:
Unlock bootloader:
1) Bakup data
2) Enable developers options
3) Enable oem unlocking
sudo adb devices
sudo adb reboot bootloader
sudo fastboot devices
sudo fastboot oem unlock
(Some mac and linux users may need enter ./ before command)
TWRP:
The OnePlus 6T uses the newer AB partition scheme first introduced on the Pixel 1. As such there is no recovery partition. Instead, the recovery is part of the boot image. You will temporarily boot TWRP to perform and later perform a more permanent TWRP installation. First download the TWRP zip file directly on your device. If you don't download the zip file to your device first for any reason, you will need to adb push the zip to the device because MTP is not currently working on the OnePlus 6T in TWRP. If you are unable to use adb, you can also use a USB stick with an OTG cable, if you have those handy. Power off the device. Hold volume up to get into fastboot mode. Run this command on your computer: sudo fastboot boot twrp-3.2.1-0-fajita.img
In TWRP, tap on Install and browse to the zip and install it (the zip will probably be in /sdcard/Downloads). TWRP will now be installed to both slots. TWRP is now installed and you can reboot and use your device as normal.
Downgrade /Upgrade:
If you're unlocked, flash it trough TWRP and format your storage.
Lineage OS Install:
sudo ab
This is how I install Lineage 17. (If you are doing 16, replace 10.3.0 with 9.0.17, and the Q image of TWRP with the Pie image)
- Install 10.3.0 fastboot ROM again to start over, boot it once. Just to make sure everything is good.
- Reboot to fastboot.
- Boot the Q image of TWRP.
- Run the TWRP installer, reboot to recovery
- You backed everything up right?
- Factory reset (This is the slider at the bottom in the wipe menu).
- Format data. (This is the button that says Format data in the wipe menu)
- Do NOT wipe cache, do not Wipe system, do NOT Wipe Dalvik / ART, do not add anything else, Just Factory Reset and Format Data. After doing those two Reboot to Recovery one more time. You must do this after formatting data.
- Now transfer Lineage and TWRP to your phone, Windows / Linux should see TWRP fine as a media device when plugged in.
- Install Lineage
- Run the TWRP Installer.
- Reboot to Recovery, switch slot
- Install Lineage (You need Lineage on both slots, so yes run it again)
- Run the TWRP Installer (yes again).
- Reboot to Recovery.
- Install Gapps if you want them.
- Install Magisk 20.3 if you use Magisk. I used 20.3 it works fine. Do not install modules or other add ons at this point. Boot once and go through the setup and everything, then install your add-ons.
- Be aware the phone will restart once, then Lineage will start up and all will be good.
sajeel said:
here is my set of instructions using linux os as below:
Click to expand...
Click to collapse
Those look familiar. Glad you got everything working.

[ROM] [GSI] Android 10 AOSP

Hi guys, I have been testing the GSI AOSP ROM (from @phhusson) on our CC9e and works well most of the functions (maybe is not for daily driver but you can test and decide), except for :
-the FP sensor doesn't work
- the camera preinstalled not adjust to interface and the quality is bad (install gcam instead)
- Maybe other things
For those who want to test the AOSP Q sensation try the next steps:
You need a unlocked bootloader a TWRP working on your device and maybe some knowledge on how TWRP works.
1- Install the latest android 10 xioami.eu rom for cc9e (in order to get the vendor of android 10).
2- Download the latest AOSP 10 gsi system image (thanks to @phhusson ), extract it to get the .img file, copy it to internal memory or a otg device, then back to twrp.
2- Enter to wipe option on twrp, and slide to wipe data and cache partition, then go to install option and flash the .img file in the system partition.
3- Once it is installed just reboot to system and test the sensation of an AOSP rom
fer15 said:
Hi guys, I have been testing the GSI AOSP ROM (from @phhusson) on our CC9e and works well most of the functions (maybe is not for daily driver but you can test and decide), except for :
-the FP sensor doesn't work
- the camera preinstalled not adjust to interface and the quality is bad (install gcam instead)
- Maybe other things
For those who want to test the AOSP Q sensation try the next steps:
You need a unlocked bootloader a TWRP working on your device and maybe some knowledge on how TWRP works.
1- Install the latest android 10 xioami.eu rom for cc9e (in order to get the vendor of android 10).
2- Download the latest AOSP 10 gsi system image (thanks to @phhusson ), extract it to get the .img file, copy it to internal memory or a otg device, then back to twrp.
2- Enter to wipe option on twrp, and slide to wipe data and cache partition, then go to install option and flash the .img file in the system partition.
3- Once it is installed just reboot to system and test the sensation of an AOSP rom
Click to expand...
Click to collapse
Very nice.Thank you much more.

I want to run 64 bit on my J7 Pro

I have a J7 Pro (J730G/DS) and I was wondering if its possible to install ANY rom that is 64bit as my CPU does indeed support 64bit but my OS is only 32.
I want to use this smartphone as an emulation device but most modern emulators such as Citra and Dolphin require 64bit Android
if its possible, can anyone link a guide on how to change my rom to a 64bit one?
I recommend installing a custom Treble rom, as they are all arm64.
For that I recommend first to create a Vendor partition(with recovery) using the file Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875)
Then recommend you to install this ROM: https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
And you will have a 64 bit OS.
death.by.confusion said:
I recommend installing a custom Treble rom, as they are all arm64.
For that I recommend first to create a Vendor partition(with recovery) using the file Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875)
Then recommend you to install this ROM: https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
And you will have a 64 bit OS.
Click to expand...
Click to collapse
Thank you for the help, do you maybe have a guide for me? never installed a custom ROM before
[GUIDE][J730X] A beginer's guide to installing custom ROM on Samsung Galaxy J7 2017
In order to install a custom ROM, the general steps are to: Unlock bootloader, Install custom recovery, make a backup of your current stock ROM, and then go to install a custom ROM.
NOTE: It is good idea to note your software version and your baseband version right now(enter *#1234# on dial pad)
This is so you can find your stock ROM on https://www.sammobile.com/ and flash with Odin tool.
Unlock bootloader
In our samsung phone it is very easy to unlock the bootloader. All you have to do is go to Developer options and enable OEM Unlock(something similar to the image below)
{
"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"
}
To enable Developer options, you go in About phone, and press on the field Build Number multiple times(something similar to the image below)
Install custom recovery
There are multiple choices for custom recovery for our samsung phone. I recommend to install TWRP 3.3.0(link here https://github.com/ananjaser1211/android_device_samsung_jxy17lte/releases)
You need samsung USB drivers(link here https://developer.samsung.com/mobile/android-usb-driver.html and the
the Odin tool(for flashing the recovery)(link here https://odinflashtool.com/download/odin3-v3-13-1/
1. Turn your phone in to Download mode. For that, first power off your phone, and then hold POWER button together with volume DOWN and HOME button, then connect the phone with USB cable on the computer.
2. Open Odin tool
3. In the options tab, uncheck auto reboot
4. Select the custom recovery image in to AP field(the exact file name of recovery from link is TWRP-3.3.0-j7y17lte-20190417.tar
5. Start flashing.
6. Now, hold POWER, volume DOWN, volume UP and HOME button together until your screen on the phone goes back, then instantly hold POWER, Volume UP and HOME button together, so you boot in to the installed recovery.
7. You should see the installed recovery working.
Set up internal storage so the recovery works properly
Warning: This operation WILL DELETE EVERYTHING ON YOUR INTERNAL STORAGE. COPY YOUR FILES ELSEWHERE.
Use your installed recovery to wipe the internal storage, so it becomes available for usage.
Select the option Wipe, then Format data, and then confirm the operation.
No you should be able to use your recovery for other operations.
Make a backup of your current stock ROM
Use your installed recovery to make a backup of your current stock ROM.
Select the option Backup, and then select all partitions, then confirm the backup operation.
After this, don't forget to copy the backup in your computer. For that, you can plug your phone to PC while you are in recovery, and then you can just copy the backup. The backup is stored in the folder named TWRP.
Install a custom ROM
You can use your recovery to install a custom ROM.
The general steps for installing a custom ROM are:
1. Wipe the partitions Data, Dalvik/Cache, System
2. Download the ROM that is a zip file and store the zip file in phone(either internal memory or SD CARD)
3. Use the install option in recovery to install the ROM
4. Reboot the phone.
Install a custom TREBLE ROM
Treble ROMS are different than regular custom ROMS, because they need the phone to have an additional Vendor partition.
To create a Vendor partition, use your recovery to install the zip Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875) and reboot your phone in to recovery so the recovery detects the new vendor partition.
Then you need to flash a particular vendor(Either Project Treblue, or H-VENDOR).
After that, you can wipe the partitions(Data, Dalvik/Cache, System) and flash the custom TREBLE ROM.
I recommend to flash this custom TREBLE ROM: crDROID https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
To flash crDROID, first install the zip Exynos7870_CreateVendor_2.0.zip, reboot your phone in to recovery, and then flash crDROID(note that the vendor is included in crDROID).
Revert to stock ROM
You can use Odin tool to flash the stock rom. First find your stock rom on https://www.sammobile.com/, unpack the downloaded ROM, and then use Odin tool to flash all the files(BL,AP,CP, CSC)
To revert to stock ROM using your recovery, first install the zip Exynos7870_RevertVendor_2.0.zip(link here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875), reboot your phone in to recovery so the recovery detects that the vendor partition is gone, and then restore your previously created backup.
death.by.confusion said:
In order to install a custom ROM, the general steps are to: Unlock bootloader, Install custom recovery, make a backup of your current stock ROM, and then go to install a custom ROM.
NOTE: It is good idea to note your software version and your baseband version right now(enter *#1234# on dial pad)
This is so you can find your stock ROM on https://www.sammobile.com/ and flash with Odin tool.
Unlock bootloader
In our samsung phone it is very easy to unlock the bootloader. All you have to do is go to Developer options and enable OEM Unlock(something similar to the image below)
To enable Developer options, you go in About phone, and press on the field Build Number multiple times(something similar to the image below)
Install custom recovery
There are multiple choices for custom recovery for our samsung phone. I recommend to install TWRP 3.3.0(link here https://github.com/ananjaser1211/android_device_samsung_jxy17lte/releases)
You need samsung USB drivers(link here https://developer.samsung.com/mobile/android-usb-driver.html and the
the Odin tool(for flashing the recovery)(link here https://odinflashtool.com/download/odin3-v3-13-1/
1. Turn your phone in to Download mode. For that, first power off your phone, and then hold POWER button together with volume DOWN and HOME button, then connect the phone with USB cable on the computer.
2. Open Odin tool
3. In the options tab, uncheck auto reboot
4. Select the custom recovery image in to AP field(the exact file name of recovery from link is TWRP-3.3.0-j7y17lte-20190417.tar
5. Start flashing.
6. Now, hold POWER, volume DOWN, volume UP and HOME button together until your screen on the phone goes back, then instantly hold POWER, Volume UP and HOME button together, so you boot in to the installed recovery.
7. You should see the installed recovery working.
Set up internal storage so the recovery works properly
Warning: This operation WILL DELETE EVERYTHING ON YOUR INTERNAL STORAGE. COPY YOUR FILES ELSEWHERE.
Use your installed recovery to wipe the internal storage, so it becomes available for usage.
Select the option Wipe, then Format data, and then confirm the operation.
No you should be able to use your recovery for other operations.
Make a backup of your current stock ROM
Use your installed recovery to make a backup of your current stock ROM.
Select the option Backup, and then select all partitions, then confirm the backup operation.
After this, don't forget to copy the backup in your computer. For that, you can plug your phone to PC while you are in recovery, and then you can just copy the backup. The backup is stored in the folder named TWRP.
Install a custom ROM
You can use your recovery to install a custom ROM.
The general steps for installing a custom ROM are:
1. Wipe the partitions Data, Dalvik/Cache, System
2. Download the ROM that is a zip file and store the zip file in phone(either internal memory or SD CARD)
3. Use the install option in recovery to install the ROM
4. Reboot the phone.
Install a custom TREBLE ROM
Treble ROMS are different than regular custom ROMS, because they need the phone to have an additional Vendor partition.
To create a Vendor partition, use your recovery to install the zip Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875) and reboot your phone in to recovery so the recovery detects the new vendor partition.
Then you need to flash a particular vendor(Either Project Treblue, or H-VENDOR).
After that, you can wipe the partitions(Data, Dalvik/Cache, System) and flash the custom TREBLE ROM.
I recommend to flash this custom TREBLE ROM: crDROID https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
To flash crDROID, first install the zip Exynos7870_CreateVendor_2.0.zip, reboot your phone in to recovery, and then flash crDROID(note that the vendor is included in crDROID).
Revert to stock ROM
You can use Odin tool to flash the stock rom. First find your stock rom on https://www.sammobile.com/, unpack the downloaded ROM, and then use Odin tool to flash all the files(BL,AP,CP, CSC)
To revert to stock ROM using your recovery, first install the zip Exynos7870_RevertVendor_2.0.zip(link here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875), reboot your phone in to recovery so the recovery detects that the vendor partition is gone, and then restore your previously created backup.
Click to expand...
Click to collapse
Thank you very much but I have a problem, when I try to install CreateVendor or crDroid I get an error in TWRP "failed to mount /preload (invalid argument)
any fix for that?
LidorTzruya said:
Thank you very much but I have a problem, when I try to install CreateVendor or crDroid I get an error in TWRP "failed to mount /preload (invalid argument)
any fix for that?
Click to expand...
Click to collapse
This is not an error that will break your phone. TWRP will install the ROM successfuly, so don't worry about the error. Since there is a Vendor partition, it is natural that the phone won't have a preload partition, so TWRP won't be able to mount it.
Now how is the ROM working?
death.by.confusion said:
This is not an error that will break your phone. TWRP will install the ROM successfuly, so don't worry about the error. Since there is a Vendor partition, it is natural that the phone won't have a preload partition, so TWRP won't be able to mount it.
Now how is the ROM working?
Click to expand...
Click to collapse
it works well! thank you! I tried installing GApps (ARM64, android 10, stock) and that just puts the phone into a bootloop, so I re-installed the rom. maybe you know what it happens?
LidorTzruya said:
it works well! thank you! I tried installing GApps (ARM64, android 10, stock) and that just puts the phone into a bootloop, so I re-installed the rom. maybe you know what it happens?
Click to expand...
Click to collapse
I don't use GAPPS, so i don't know what would be the problem.
I suggest you install pico package instead of the stock package.
If still not working, then I suggest you install bitgapps.
death.by.confusion said:
In order to install a custom ROM, the general steps are to: Unlock bootloader, Install custom recovery, make a backup of your current stock ROM, and then go to install a custom ROM.
NOTE: It is good idea to note your software version and your baseband version right now(enter *#1234# on dial pad)
This is so you can find your stock ROM on https://www.sammobile.com/ and flash with Odin tool.
Unlock bootloader
In our samsung phone it is very easy to unlock the bootloader. All you have to do is go to Developer options and enable OEM Unlock(something similar to the image below)
To enable Developer options, you go in About phone, and press on the field Build Number multiple times(something similar to the image below)
Install custom recovery
There are multiple choices for custom recovery for our samsung phone. I recommend to install TWRP 3.3.0(link here https://github.com/ananjaser1211/android_device_samsung_jxy17lte/releases)
You need samsung USB drivers(link here https://developer.samsung.com/mobile/android-usb-driver.html and the
the Odin tool(for flashing the recovery)(link here https://odinflashtool.com/download/odin3-v3-13-1/
1. Turn your phone in to Download mode. For that, first power off your phone, and then hold POWER button together with volume DOWN and HOME button, then connect the phone with USB cable on the computer.
2. Open Odin tool
3. In the options tab, uncheck auto reboot
4. Select the custom recovery image in to AP field(the exact file name of recovery from link is TWRP-3.3.0-j7y17lte-20190417.tar
5. Start flashing.
6. Now, hold POWER, volume DOWN, volume UP and HOME button together until your screen on the phone goes back, then instantly hold POWER, Volume UP and HOME button together, so you boot in to the installed recovery.
7. You should see the installed recovery working.
Set up internal storage so the recovery works properly
Warning: This operation WILL DELETE EVERYTHING ON YOUR INTERNAL STORAGE. COPY YOUR FILES ELSEWHERE.
Use your installed recovery to wipe the internal storage, so it becomes available for usage.
Select the option Wipe, then Format data, and then confirm the operation.
No you should be able to use your recovery for other operations.
Make a backup of your current stock ROM
Use your installed recovery to make a backup of your current stock ROM.
Select the option Backup, and then select all partitions, then confirm the backup operation.
After this, don't forget to copy the backup in your computer. For that, you can plug your phone to PC while you are in recovery, and then you can just copy the backup. The backup is stored in the folder named TWRP.
Install a custom ROM
You can use your recovery to install a custom ROM.
The general steps for installing a custom ROM are:
1. Wipe the partitions Data, Dalvik/Cache, System
2. Download the ROM that is a zip file and store the zip file in phone(either internal memory or SD CARD)
3. Use the install option in recovery to install the ROM
4. Reboot the phone.
Install a custom TREBLE ROM
Treble ROMS are different than regular custom ROMS, because they need the phone to have an additional Vendor partition.
To create a Vendor partition, use your recovery to install the zip Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875) and reboot your phone in to recovery so the recovery detects the new vendor partition.
Then you need to flash a particular vendor(Either Project Treblue, or H-VENDOR).
After that, you can wipe the partitions(Data, Dalvik/Cache, System) and flash the custom TREBLE ROM.
I recommend to flash this custom TREBLE ROM: crDROID https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
To flash crDROID, first install the zip Exynos7870_CreateVendor_2.0.zip, reboot your phone in to recovery, and then flash crDROID(note that the vendor is included in crDROID).
Revert to stock ROM
You can use Odin tool to flash the stock rom. First find your stock rom on https://www.sammobile.com/, unpack the downloaded ROM, and then use Odin tool to flash all the files(BL,AP,CP, CSC)
To revert to stock ROM using your recovery, first install the zip Exynos7870_RevertVendor_2.0.zip(link here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875), reboot your phone in to recovery so the recovery detects that the vendor partition is gone, and then restore your previously created backup.
Click to expand...
Click to collapse
Hello sir, im just newbie about updating phone like this so i just follow your step above and now my phone going to CRDROID after SAMSUNG screen, is this ok or wrong ?? i still be able to use my phone but the problem is my sim card is not detected, and also i miss the part of revert stock rom, and when i try to revert stock rom my phone say there is no OS inside. Maybe you know what should i do sir ? at least my simcard detected and i have signal to do whatsapp and other else, thank you sir
death.by.confusion said:
In order to install a custom ROM, the general steps are to: Unlock bootloader, Install custom recovery, make a backup of your current stock ROM, and then go to install a custom ROM.
NOTE: It is good idea to note your software version and your baseband version right now(enter *#1234# on dial pad)
This is so you can find your stock ROM on https://www.sammobile.com/ and flash with Odin tool.
Unlock bootloader
In our samsung phone it is very easy to unlock the bootloader. All you have to do is go to Developer options and enable OEM Unlock(something similar to the image below)
To enable Developer options, you go in About phone, and press on the field Build Number multiple times(something similar to the image below)
Install custom recovery
There are multiple choices for custom recovery for our samsung phone. I recommend to install TWRP 3.3.0(link here https://github.com/ananjaser1211/android_device_samsung_jxy17lte/releases)
You need samsung USB drivers(link here https://developer.samsung.com/mobile/android-usb-driver.html and the
the Odin tool(for flashing the recovery)(link here https://odinflashtool.com/download/odin3-v3-13-1/
1. Turn your phone in to Download mode. For that, first power off your phone, and then hold POWER button together with volume DOWN and HOME button, then connect the phone with USB cable on the computer.
2. Open Odin tool
3. In the options tab, uncheck auto reboot
4. Select the custom recovery image in to AP field(the exact file name of recovery from link is TWRP-3.3.0-j7y17lte-20190417.tar
5. Start flashing.
6. Now, hold POWER, volume DOWN, volume UP and HOME button together until your screen on the phone goes back, then instantly hold POWER, Volume UP and HOME button together, so you boot in to the installed recovery.
7. You should see the installed recovery working.
Set up internal storage so the recovery works properly
Warning: This operation WILL DELETE EVERYTHING ON YOUR INTERNAL STORAGE. COPY YOUR FILES ELSEWHERE.
Use your installed recovery to wipe the internal storage, so it becomes available for usage.
Select the option Wipe, then Format data, and then confirm the operation.
No you should be able to use your recovery for other operations.
Make a backup of your current stock ROM
Use your installed recovery to make a backup of your current stock ROM.
Select the option Backup, and then select all partitions, then confirm the backup operation.
After this, don't forget to copy the backup in your computer. For that, you can plug your phone to PC while you are in recovery, and then you can just copy the backup. The backup is stored in the folder named TWRP.
Install a custom ROM
You can use your recovery to install a custom ROM.
The general steps for installing a custom ROM are:
1. Wipe the partitions Data, Dalvik/Cache, System
2. Download the ROM that is a zip file and store the zip file in phone(either internal memory or SD CARD)
3. Use the install option in recovery to install the ROM
4. Reboot the phone.
Install a custom TREBLE ROM
Treble ROMS are different than regular custom ROMS, because they need the phone to have an additional Vendor partition.
To create a Vendor partition, use your recovery to install the zip Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875) and reboot your phone in to recovery so the recovery detects the new vendor partition.
Then you need to flash a particular vendor(Either Project Treblue, or H-VENDOR).
After that, you can wipe the partitions(Data, Dalvik/Cache, System) and flash the custom TREBLE ROM.
I recommend to flash this custom TREBLE ROM: crDROID https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
To flash crDROID, first install the zip Exynos7870_CreateVendor_2.0.zip, reboot your phone in to recovery, and then flash crDROID(note that the vendor is included in crDROID).
Revert to stock ROM
You can use Odin tool to flash the stock rom. First find your stock rom on https://www.sammobile.com/, unpack the downloaded ROM, and then use Odin tool to flash all the files(BL,AP,CP, CSC)
To revert to stock ROM using your recovery, first install the zip Exynos7870_RevertVendor_2.0.zip(link here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875), reboot your phone in to recovery so the recovery detects that the vendor partition is gone, and then restore your previously created backup.
Click to expand...
Click to collapse
Hi, I tried it on my J7 Pro (j730g/ds), but it stuck on cdroid logo. What I do
1. Install TWRP and format /data
2. Install Exynos7870_CreateVendor_2.0.zip and reboot to recovery
3. And Install crDroid 6.9 (without gapps)
4. Reboot
But phone it bootloop on cdroid logo.
Any help is Appreciate
Sorry for my bad english before.
suciprimawati said:
Hi, I tried it on my J7 Pro (j730g/ds), but it stuck on cdroid logo. What I do
1. Install TWRP and format /data
2. Install Exynos7870_CreateVendor_2.0.zip and reboot to recovery
3. And Install crDroid 6.9 (without gapps)
4. Reboot
But phone it bootloop on cdroid logo.
Any help is Appreciate
Sorry for my bad english before.
Click to expand...
Click to collapse
Do not flash cdroid, flash a treble rom instead. It should have a extension of .img instead of .zip
After flashing Exynos7870_CreateVendor_2.0.zip,flash skyhawk recovery project.
https://forum.xda-developers.com/ga.../unofficial-skyhawk-recovery-project-t4107145, rebooting into skywawk recovery,you should flash H-Vendor.
https://forum.xda-developers.com/galaxy-j7-2017/development/treble-h-vendor-v1-0-t4116277
Without rebooting immediately flash gsi image.
after flashing reboot device.
death.by.confusion said:
[GUIDE][J730X] A beginer's guide to installing custom ROM on Samsung Galaxy J7 2017
In order to install a custom ROM, the general steps are to: Unlock bootloader, Install custom recovery, make a backup of your current stock ROM, and then go to install a custom ROM.
NOTE: It is good idea to note your software version and your baseband version right now(enter *#1234# on dial pad)
This is so you can find your stock ROM on https://www.sammobile.com/ and flash with Odin tool.
Unlock bootloader
In our samsung phone it is very easy to unlock the bootloader. All you have to do is go to Developer options and enable OEM Unlock(something similar to the image below)
To enable Developer options, you go in About phone, and press on the field Build Number multiple times(something similar to the image below)
Install custom recovery
There are multiple choices for custom recovery for our samsung phone. I recommend to install TWRP 3.3.0(link here https://github.com/ananjaser1211/android_device_samsung_jxy17lte/releases)
You need samsung USB drivers(link here https://developer.samsung.com/mobile/android-usb-driver.html and the
the Odin tool(for flashing the recovery)(link here https://odinflashtool.com/download/odin3-v3-13-1/
1. Turn your phone in to Download mode. For that, first power off your phone, and then hold POWER button together with volume DOWN and HOME button, then connect the phone with USB cable on the computer.
2. Open Odin tool
3. In the options tab, uncheck auto reboot
4. Select the custom recovery image in to AP field(the exact file name of recovery from link is TWRP-3.3.0-j7y17lte-20190417.tar
5. Start flashing.
6. Now, hold POWER, volume DOWN, volume UP and HOME button together until your screen on the phone goes back, then instantly hold POWER, Volume UP and HOME button together, so you boot in to the installed recovery.
7. You should see the installed recovery working.
Set up internal storage so the recovery works properly
Warning: This operation WILL DELETE EVERYTHING ON YOUR INTERNAL STORAGE. COPY YOUR FILES ELSEWHERE.
Use your installed recovery to wipe the internal storage, so it becomes available for usage.
Select the option Wipe, then Format data, and then confirm the operation.
No you should be able to use your recovery for other operations.
Make a backup of your current stock ROM
Use your installed recovery to make a backup of your current stock ROM.
Select the option Backup, and then select all partitions, then confirm the backup operation.
After this, don't forget to copy the backup in your computer. For that, you can plug your phone to PC while you are in recovery, and then you can just copy the backup. The backup is stored in the folder named TWRP.
Install a custom ROM
You can use your recovery to install a custom ROM.
The general steps for installing a custom ROM are:
1. Wipe the partitions Data, Dalvik/Cache, System
2. Download the ROM that is a zip file and store the zip file in phone(either internal memory or SD CARD)
3. Use the install option in recovery to install the ROM
4. Reboot the phone.
Install a custom TREBLE ROM
Treble ROMS are different than regular custom ROMS, because they need the phone to have an additional Vendor partition.
To create a Vendor partition, use your recovery to install the zip Exynos7870_CreateVendor_2.0.zip(download from here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875) and reboot your phone in to recovery so the recovery detects the new vendor partition.
Then you need to flash a particular vendor(Either Project Treblue, or H-VENDOR).
After that, you can wipe the partitions(Data, Dalvik/Cache, System) and flash the custom TREBLE ROM.
I recommend to flash this custom TREBLE ROM: crDROID https://forum.xda-developers.com/galaxy-j7-2017/development/unofficial-crdroid-6-7-t4119505
To flash crDROID, first install the zip Exynos7870_CreateVendor_2.0.zip, reboot your phone in to recovery, and then flash crDROID(note that the vendor is included in crDROID).
Revert to stock ROM
You can use Odin tool to flash the stock rom. First find your stock rom on https://www.sammobile.com/, unpack the downloaded ROM, and then use Odin tool to flash all the files(BL,AP,CP, CSC)
To revert to stock ROM using your recovery, first install the zip Exynos7870_RevertVendor_2.0.zip(link here https://forum.xda-developers.com/galaxy-j7-2017/development/treble-project-treblue-j710x-t4098875), reboot your phone in to recovery so the recovery detects that the vendor partition is gone, and then restore your previously created backup.
Click to expand...
Click to collapse
Hello. Sorry for the long reply ahead. I have the same problem of wanting to use 64 bit apps in my J7 pro (SM-J30G/DS). It's my first time doing a custom rom as well and I followed all the instructions detailed here, but things did not go well for me.
The only step I missed is copying the backup to my laptop because for some reason my device is not letting it be copied. Nevertheless, I proceeded to install the custom rom since I was hoping to use the stock rom in sammobile.com instead as backup.
However, I keep getting both the error 7 and "failed to mount /preload (invalid argument)" when installing crdroid. I tried numerous ways to fix it but nothing happens. The following are what I have already tried:
- Install older versions of crdroid (all versions causes error 7)
- Remove assert in "updater-script" (tried it in 6.9 and 6.7 versions but still get error 7)
- Install latest versions of twrp (I cannot find the latest version of twrp for j7y17lte aside from what's here, so I went to other sites that offer twrp for J7 pro (2017). I found j7xelte and herolte but they don't work, so I used given twrp here again)
I can't fix the error and the install was always unsuccessful, so I decided to use another custom rom which is HavocOS. I followed the instructions but I still get the error 7 when installing project treblue. I tried removing assert again but the error is still there. I researched more but I can't find any more solutions to this problem or what's causing it.
One thing to note is that the create vendor zip was installed successfully (but with failed to mount/preload) and only the custom roms receive error 7. My research about error 7 said that it happens when the device is incompatible with the roms to be installed, but I'm pretty sure that my device is J730G/DS which should work fine since it worked with others here that have the same device. If my device was incompatible, then why does the twrp and create vendor work fine? Is it because my phone was not rooted? I saw that a lot of custom roms require root before installing, but it was not mentioned in the instructions so I did not root my phone.
Another problem is that I can't revert to my stock rom anymore. I found my stock rom in sammobile and proceeded to flash it using odin, but then my phone is stuck in samsung logo after rebooting. I tried leaving it for 8 hours to see if it will load but nothing happened. I can still access the recovery so I reinstalled twrp and would try to reinstall my stock rom.
Any help would be appreciated. Thank you!
EDIT: After reinstalling twrp, I tried flashing the create vendor and crdroid again and for some reason, the installation was now successful. But after rebooting to system, it was stuck in the crdroid logo. I then went to twrp again, formatted the data, then installed HavocOS and to my surprise, it was successful! There are no problems with boot and I am currently able to use the rom smoothly.
Problem is fixed since I am able to use 64 bit apps, but if you guys know what happened and what steps I did wrong, please tell me! I am still confused with what the problem is and I don't want to experience the same problem when I update my rom. Any help would be appreciated. Thank you very much!
I want to run 64 bit in J7 max G615F
does it work on nokia 2.3 which is binder64?

Categories

Resources