[RECOVERY][aries][UNOFFICIAL] TWRP Recovery 2.8.1 for Mi2/2S - Xiaomi Mi 2

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
With this recovery you can install android 5.0 roms like AOSP or CM 12, without problems with wipes, nandroid backups and restores.
Device tree: TWRP_android_device_aries​
Install instructions:
1.With fastboot:
Extract recovery.img from TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip
Run fastboot
Code:
fasboot flash recovery recovery.img
2.With MiRecovery using flashable zip:
Copy TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip in root of internal storage
Rename it to update.zip.
Enter into recovery (volume up + power)
Install update.zip from sdcard.
Reboot.
3.With CWM or TWRP using flashable zip:
Copy TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip in root of sd card
Enter into recovery (volume up + power)
Install zip from sdcard.
Reboot.
Known Issues:
tdb don't work, all work in system 1
If you want install roms based on KK or fewer don't choose format system in advanced wipe
Original thread: http://miui.es/index.php?topic=14282.0#forum
XDA:DevDB Information
[RECOVERY][aries][UNOFFICIAL] TWRP Recovery 2.8.1 for Mi2/2S, Tool/Utility for the Xiaomi Mi 2
Contributors
juliusssss
Staff from miui.es
Version Information
Status: Stable
Current Stable Version: 2014-11-26
Stable Release Date: 2014-12-04
Created 2014-12-04
Last Updated 2014-12-04

Reserved

very good!

juliusssss said:
Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
With this recovery you can install android 5.0 roms like AOSP or CM 12, without problems with wipes, nandroid backups and restores.
Device tree: TWRP_android_device_aries​
Install instructions:1.With fastboot:
Extract recovery.img from TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip
Run fastboot
Code:
fasboot flash recovery recovery.img
2.With MiRecovery using flashable zip:
Copy TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip in root of internal storage
Rename it to update.zip.
Enter into recovery (volume up + power)
Install update.zip from sdcard.
Reboot.
3.With CWM or TWRP using flashable zip:
Copy TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip in root of sd card
Enter into recovery (volume up + power)
Install zip from sdcard.
Reboot.
Known Issues:
tdb don't work, all work in system 1
If you want install roms based on KK or fewer don't choose format system in advanced wipe
Original thread: http://miui.es/index.php?topic=14282.0#forum
XDA:DevDB Information
[RECOVERY][aries][UNOFFICIAL] TWRP Recovery 2.8.1 for Mi2/2S, Tool/Utility for the Xiaomi Mi 2
Contributors
juliusssss
Staff from miui.es
Version Information
Status: Stable
Current Stable Version: 2014-11-26
Stable Release Date: 2014-12-04
Created 2014-12-04
Last Updated 2014-12-04
Click to expand...
Click to collapse
Hello thank you very much for this! Could you add f2fs driver's to the kernel's recovery? Would be very great!
I have already a stock omni's branch with it integrated. This is a squash of commits that adds f2fs

thanks and +1 for f2fs

I have a problem with sound on calls in omnirom 4.4.4. after updating with this twrp. See here:
http://forum.xda-developers.com/showthread.php?p=57917110
Help very welcome.

No-New-Phone said:
I have a problem with sound on calls in omnirom 4.4.4. after updating with this twrp. See here:
http://forum.xda-developers.com/showthread.php?p=57917110
Help very welcome.
Click to expand...
Click to collapse
Sorry I didn't research enough (I was already on my trip to France and had limited connection)
Found this thread
http://xiaomi.eu/community/index.php?threads/26386/
Cm11- suddenly no mic and earpiece is working
In short: audio works when I disable check in service from Google play.

juliusssss said:
tdb don't work, all work in system 1
If you want install roms based on KK or fewer don't choose format system in advanced wipe
[/INDENT]
Click to expand...
Click to collapse
What happens if you choose format system in advanced wipe? For now, when I want to format /system, I first flash Cwm recovery, format system there and the flash twrp again...

juliusssss said:
Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
With this recovery you can install android 5.0 roms like AOSP or CM 12, without problems with wipes, nandroid backups and restores.
Device tree: TWRP_android_device_aries​
Install instructions:
1.With fastboot:
Extract recovery.img from TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip
Run fastboot
Code:
fasboot flash recovery recovery.img
2.With MiRecovery using flashable zip:
Copy TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip in root of internal storage
Rename it to update.zip.
Enter into recovery (volume up + power)
Install update.zip from sdcard.
Reboot.
3.With CWM or TWRP using flashable zip:
Copy TWRP_2.8.1_Mi2S_miuies-Juliusssss_20141126_signed.zip in root of sd card
Enter into recovery (volume up + power)
Install zip from sdcard.
Reboot.
Known Issues:
tdb don't work, all work in system 1
If you want install roms based on KK or fewer don't choose format system in advanced wipe
Original thread: http://miui.es/index.php?topic=14282.0#forum
XDA:DevDB Information
[RECOVERY][aries][UNOFFICIAL] TWRP Recovery 2.8.1 for Mi2/2S, Tool/Utility for the Xiaomi Mi 2
Contributors
juliusssss
Staff from miui.es
Version Information
Status: Stable
Current Stable Version: 2014-11-26
Stable Release Date: 2014-12-04
Created 2014-12-04
Last Updated 2014-12-04
Click to expand...
Click to collapse
http://d-h.st/jP78 The last M1cha's TWRP from MiFlash4Linux packages. v2.8.7.0 for both partitions
Code:
fastboot oem unlock
Code:
fastboot erase recovery
Code:
fastboot flash recovery therecoveryname.img

Hola @juliusssss
Partition SD Card is not working.
Code:
E: Unable to locate device to partition.
Any advice?

Thought it only had 2.8.3. Then I saw the 3.1.1.0 on the offical twrp website. Sooo glad the developer hasn't left!! Thanks for the newest twrp version!!

Related

Link to stock / official OxygenOS ROM

I just wanted to share with you this link I found lately where you can download official stock OxygenOS ROM's for your OPX.
http://downloads.oneplus.net/devices/oneplus-x/
Here you can download any OxygenOS rom OnePlus provided back to 2.1.4.
To flash such a ROM on your device (e.g. after testing CM or just flashing TWRP) do this:
1. download it and put the .zip on your internal sd-card / storage
2. go to your current recovery (by powering off and holding Volume Down and Power buttons untill the display comes to life)
3. in your current recovery choose "install zip", navigate to this .zip and install it
4. after a reboot you have the downloaded ROM on your phone, and the recovery included with it. So also the recovery is replaced.
Succes!

[NEWBIE GUIDE] MIUI ROMs, TWRPs, ZIPs, UNLOCK, BACKUP, ROOT, FLASH, RESTORE

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??

[EXPLAINED] z2_row (pro) | /factory to /vendor | revert to /factory - TREBLE

A GUIDE TO FLASH LATEST TREBLE ROMS, OLDER TREBLE ROMS OR NON-TREBLE ROMS ROMS
UPDATE: A guide to rename our /factory partition as /vendor so that you can flash OLDER Android Oreo treble builds! We do not need this guide on Android Pie custom ROMs or for Stock ZUI WE ONLY NEED THIS FOR ANDROID OREO TREBLE BUILDS REQUIRING /factory renamed as /vendor
for Lenovo Zuk Z2 PRO
Latest Treble : /factory renamed i.e switched to /vendor
Older Treble:/factory mounted as /vendor
Non-Treble: Nothing to do with Vendor, Factory stuff lol
INTRO
As you all know that we now have TREBLE, and Zuk-devs are working hard to improve it further so that when the time comes we can move to GSI builds of future Android versions.
Recently, Zuk-devs have renamed the /factory partition into /vendor partition previously we were mounting /factory as /vendor but now it has been converted(renamed) to /vendor partition with this you'll be able to use a Proper Magisk zip, and you don't need a modded/edited Magisk, etc and lotta other kinds of stuff that we will discuss and come to know in the future.
rootdir: fstab: Use the right label for our vendor partition.
TUTORIAL:
What you want to do:
** Flash OLD TREBLE ROMS /factory is renamed to /vendor - NOTE NOT NEEDED FOR NEWER ROMS! **
Instructions:
* Flash "Factory2Vendor_plus.zip",
*Flash belowTWRP,
*Reboot To TWRP,
*Flash ROM,
+ GApps / + Magisk etc
* Reboot.
*Enjoy :fingers-crossed:
Downloads:
Factory2Vendor_pro: https://androidfilehost.com/?fid=746010030569969371
TWRP for /factory renamed as /vendor roms https://github.com/cosmedd/android_...eases/download/20180413/20180413_recovery.img
** REVERTING BACK to NORMAL aka renaming /vendor back to/factory **
Instructions:
*Flash "Vendor 2Factory_plus.zip",
*Flash OFFICIALTWRP,
*Reboot TWRP,
*Flash ROM,
+ GApps / + Magisk etc
*Reboot.
*Enjoy :fingers-crossed:
Downloads:
Vendor2Factory_pro: https://androidfilehost.com/?fid=673956719939835215
https://twrp.me/zuk/zukz2row.html
** REVERTING BACK to NORMAL aka renaming /vendor back to/factory **
Instructions:
*Flash ROM,
+ GApps / + Magisk etc
*Reboot.
*Enjoy :fingers-crossed:
Notes:
This 'New TWRP' will work for both Latest Treble and Non-Treble RoMs
For ZUI also no need to flash any patch, New TWRP shall work (Needs to be tested)
You can flash Non Treble RoMs and Nougat Builds or other builds with the new TWRP and no patches need to be flashed
Once you flash "factory2vendor" or "vendor2factory" you do not need to flash again unless mentioned in the build
or if you want to revert back to Old Treble RoMs where /factory was mounted as /vendor
CREDITS
Zuk-devs - Davidevinavil, DD3Boh and Cosmedd (https://github.com/zuk-devs)
@Fedor917 for giving the idea
And all others who have contributed in any manner! :highfive:​
Reserved
You'll be able to use above method for Latest AEX coming soon by Davidevinavil and all the ROMs compiled using the latest sources as per by Zuk-devs
Links added, enjoy
thx
Can we make this procedure opposite? i.e. flash first twrp and than that zip? I normally flash twrp with official twrp app
1 or 2 should I do if I want to flash from the latest zui to AEX5.4 ,thx
thanks
Thanks zuk developer
I just tryed to flash Vendor 2Factory_pro..zip but I get following error "failed to mount '/vendor' (invalid argument)". I was in previous version 5.4 (1104). After restart, it does not load the rom but the bootloader. problem is the devices is not recognized under "adb devices" when in bootloader. Any ideas will be very welcome
darquesp said:
I just tryed to flash Vendor 2Factory_pro..zip but I get following error "failed to mount '/vendor' (invalid argument)". I was in previous version 5.4 (1104). After restart, it does not load the rom but the bootloader. problem is the devices is not recognized under "adb devices" when in bootloader. Any ideas will be very welcome
Click to expand...
Click to collapse
In bootloader (fastboot) you must use
fastboot -i 0x2b4c
ADB works in twrp or with system . Just follow this guide .
mar.ur said:
In bootloader (fastboot) you must use
fastboot -i 0x2b4c
ADB works in twrp or with system . Just follow this guide .
Click to expand...
Click to collapse
I installed the vendor, but the twrp is only black.
Any solution?
JustBr said:
I installed the vendor, but the twrp is only black.
Any solution?
Click to expand...
Click to collapse
Did you install latest twrp after flashing f2v
mar.ur said:
In bootloader (fastboot) you must use
fastboot -i 0x2b4c
ADB works in twrp or with system . Just follow this guide .
Click to expand...
Click to collapse
Thanks. I flashed last rom and after that updated twrp with twrp app and now I get no error about partitions.
I thought that to flash a twrp image with adb, I should do into fastboot mode. Can I also do it into recovery or system just with command : fastboot -i 0x2b4c flash recovery twrp.img?
Which guide do you mean? I checked on this thread and could not find a guide about adb.
Many thanks!
You can install twrp.img in any twrp .Just go to install/ install image and choose new twrp.img , then mark recovery and flash it .
mar.ur said:
Did you install latest twrp after flashing f2v
Click to expand...
Click to collapse
my twrp and 3.1, downloaded a recovered image(new twrp ), select image, recover and flash .. and the screen continues black, do not start twrp ... !!!!
JustBr said:
my twrp and 3.1, downloaded a recovered image(new twrp ), select image, recover and flash .. and the screen continues black, do not start twrp ... !!!!
Click to expand...
Click to collapse
I test a lot of systems . Last I was on mokee 7.1.2 with redwolf twrp with vendor partition ( not the latest ) . I install f2v.zip then twrp https://github.com/cosmedd/android_...eases/download/20180413/20180413_recovery.img . After that restart to recovery . Finally install to the latest Aex . No problems at all . First of all start with 2018.03.11 twrp , then install f2v.zip , 2018.04.13 twrp , restart to recovery and install aex or rr . That's all
Hy bro,
Can you send me the twrp version 2018.03.11 link?
failed to mount 'vendor'
After following the previous steps. TRWP start to show "failed to mount 'vendor' (invalid argument)'" message. I'm able to install the AEX 5.4, but the google apps do not crashes.
Any help?
Solved: wrong TWRP.
Nice boot animation
JustBr said:
Hy bro,
Can you send me the twrp version 2018.03.11 link?
Click to expand...
Click to collapse
https://github.com/cosmedd/android_...eases/download/20180311/20180311_recovery.img
mar.ur said:
https://github.com/cosmedd/android_...eases/download/20180311/20180311_recovery.img
Click to expand...
Click to collapse
Last help, I do everything by the pc, in fasboot mode ? or last twrp by his flash (twrp).

[RECOVERY] [OFFICIAL] [TREBLE] TWRP for Lenovo P2 [kuntao]

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
CHANGELOG for 3.3.1-1:
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
DOWNLOADS: twrp-3.3.1-1-kuntao.img
HOW TO FLASH:
Fastboot Method :
Code:
fastboot flash recovery filename.img
Boot to TWRP > INSTALL > Select Image > Navigate to "filename.img" > Select it & Swipe to Flash
CREDITS:
TeamWin
CyanogenMod/Lineage Android
XDA:DevDB Information
[RECOVERY] [OFFICIAL] [TREBLE] TWRP for Lenovo P2 [kuntao], Tool/Utility for the Lenovo P2
Contributors
darshan1205
Source Code: https://github.com/TeamWin/twrp_device_lenovo_kuntao
Version Information
Status: Stable
Created 2019-05-22
Last Updated 2019-06-02
Changelog:
* 20190522: Based off LineageOS's TWRP & Kernel with EFS backup & Vendor wipe option.
* 2019-06-02: Its OFFICIAL now!
Reserved
Nice Work ?
Thx. Looks like f2fs formatting issue fixed.
Other link please, can't download from sourceforge.
Use desktop version, it won't download on mobile site.
work well thank you.
Tq brother.... ?
Is this treble compatible?
numenory said:
Is this treble compatible?
Click to expand...
Click to collapse
Yes
Update!
Its OFFICIAL now. Builds from twrp-3.3.1-1-kuntao.img are supported by me.
Sorry ... Which difference about this recovery and the Los one ?
How to Flash a GSI?
darshan1205 said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
CHANGELOG for 3.3.1-1:
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
DOWNLOADS: twrp-3.3.1-1-kuntao.img
HOW TO FLASH:
Fastboot Method :
Code:
fastboot flash recovery filename.img
Boot to TWRP > INSTALL > Select Image > Navigate to "filename.img" > Select it & Swipe to Flash
CREDITS:
TeamWin
CyanogenMod/Lineage Android
XDA:DevDB Information
[RECOVERY] [OFFICIAL] [TREBLE] TWRP for Lenovo P2 [kuntao], Tool/Utility for the Lenovo P2
Contributors
darshan1205
Source Code: https://github.com/TeamWin/twrp_device_lenovo_kuntao
Version Information
Status: Stable
Created 2019-05-22
Last Updated 2019-06-02
Click to expand...
Click to collapse
Greetings,
For some reason, I am not able to flash a GSI. I flashed your TWRP as recovery, then flashed your AOSPExtended ROM (because it supports Treble):
https://forum.xda-developers.com/lenovo-p2/development/rom-aospextended-rom-v6-3-lenovo-p2-t3903454
I have used this thread to install a GSI: https://forum.xda-developers.com/lenovo-p2/how-to/ultimate-guide-flashing-gsi-kuntao-t3815070 I've tried using LOS to install GSIs but it didn't work, that's why I later flashed AOSPExtended.
Once i flash any GSI (A, or A/AB), none of them work. They get flashed, but the phone gets stuck at the post screen. Sorry, I'm new at this.
In other words, How can I flash a GSI?
@darshan1205 please help. I am not able to flash any 9.0 rom now as every rom just sticks to boot animation and keeps loading. 8.1 roms and stock rom are working fine.
Twrp also giving different different errors every time like error 7,8,255 etc. When i reboot to recovery my data partition shows 0 mb. I formatted data partition and other partitions also. I have tried reinstalling twrp but same issue persists.
Guys, you really need to put some user guide documentation in along with these.
Did I know that system and system image should not both be ticked for a restore? Nope, I did not.
Hours I spent with TWRP hanging after restoring systyem and telline me it was restoring system image and not doing a darned thing.
And still I just cannot get my backup resatored AND my lernovo P2 restarted where I left off before backup.
Highly frustrating to say the least.
Thanks for the tool though.
myjess said:
Guys, you really need to put some user guide documentation in along with these.
Did I know that system and system image should not both be ticked for a restore? Nope, I did not.
Hours I spent with TWRP hanging after restoring systyem and telline me it was restoring system image and not doing a darned thing.
And still I just cannot get my backup resatored AND my lernovo P2 restarted where I left off before backup.
Highly frustrating to say the least.
Thanks for the tool though.
Click to expand...
Click to collapse
Have u checked your storage before restoration?....i had the same isse but it was because of my low storage
Plenty of storage.
Found out that this phone is a P2C72 with the P2A42 firmnware on it.
I have been able to put the AOSP PIE rom on it, but am having major difficulties putting magisk on it.
I know TWRP is not really built for the P2C72 but it seems to ha
ve worked up to now.
I have tried to install magisk from TWRP 3.2.3 and 3.3.1-1, but all I get on a system reboot is the blue led, the vibration, and a blank screen.
Also 3.2.3 reflash the boot rom so much quicker.
I would love to know how to troubleshoot this.
Note: To ADB sideload large files in TWRP, you may need to make your ADB.exe large address space aware.
https://www.techpowerup.com/forums/threads/large-address-aware.112556/

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