[OFFICIAL&TESTS]TWRP for the Motorola Moto X4 (Payton) - Moto X4 ROMs, Kernels, Recoveries, & Other Develop

{
"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"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about doing this to your device
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Introduction:
Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch-driven user interface, with 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.
Key Features:
Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Easy selection of internal/external storage
In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.
We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open-source project.
Source Code:
GitHub - https://github.com/TeamWin/android_bootable_recovery
Gerrit Instance - http://gerrit.twrp.me
If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.
Pease note! TWRP cannot currently decrypt any A12 ROM on any device. This is a known issue as AOSP changed the way encryption keys are stored. If a new workaround isn't found? TWRP may never decrypt again... We recommend removing lockscreen security, rebooting to TWRP, make your changes and then reboot to system and setup your lockscreen security again.
This is for OFFICIAL and BETA builds of TWRP for the Motorola Moto X4 (payton)
Stable Downloads:
https://twrp.me/motorola/motorolamotox4.html
Test Downloads:
https://osdn.net/projects/twrp-for-payton/releases/
Sources:
Official: https://github.com/TeamWin/android_device_motorola_payton
Tests: https://github.com/ThEMarD/android_device_motorola_payton-twrp
Platform Tools (adb/fastboot):
https://developer.android.com/studio/releases/platform-tools.html#download
Installation:
Make sure your bootloader is unlocked
Download the recovery image (and optionally the TWRP installer zip) from above
Reboot into bootloader
Run this command (Change the .img to whatever the name of file is you downloaded):
Code:
fastboot boot twrp-3.4.0-1-payton.img
Optionally at this point, if you want TWRP to be your default recovery? You can install TWRP via the TWRP installer zip. Please note that ROM upgrades overwrite boot which in turn overwrites recovery so this process would need to be repated.
Upgrade instructions
Download desired TWRP installer zip version
Reboot to recovery
Select Install
Tap on install and select the TWRP installer zip you downloaded from step one
Reboot to recovery and confirm that the updated version of TWRP is installed
Nandroid backup/restore
Have an available microSD Card or USB OTG drive
Backup boot, dtbo, system image, vendor image and data (optionally any other partitions you want a backup of) to your external storage device of choice
Once you wish to restore? Reboot to TWRP and format data (Wipe > "format data" button > type yes > keyboard checkbox)
Reboot to TWRP
Restore boot, dtbo, system image and vendor image
Reboot to system
Once it boots to system without issues? Do not set any lockscreen security and reboot to TWRP
Restore data
Reboot to system
After it finishes boot? Your data and ROM will be restore but sometimes the UI might be incorrect, so reboot to system again
For the TEST builds of TWRP? Please let me know if this works. If so? I will submit it to Gerrit for official updates.
Credits:
bigbiff for helping me get setup on on gerrit.twrp.me for official status and updating official TWRP
kaneawk, erfanoabdi for working on TWRP for payton
All the users who tested my builds of TWRP
ok I could literally be here all day typing so essentially anyone who has worked on the Motorola sdm660-common kernel for LineageOS and TWRP

i have seen you are trying to fix encryption in recovery.fstab - please note the file is overwritten from twrp.fstab during runtime, so either remove twrp.fstab or do the changes in there
for working encryption the flags should be written completely, afaik there is no autocomplete in twrp (like in android)
fileencryption=ice:aes-256-cts
---
furthermore i recommend /system_root instead of /system to keep things in line with other devices (although most flashable zips meanwhile can detect SAR)
to avoid `mount /system` (perhaps silently) fail instead of symlink i recommend bind mount (not standard so far, at least haven't seen that in official builds)
Code:
/system_root ext4 /dev/block/bootdevice/by-name/system flags=display="System Root";backup=1;wipeingui;slotselect
/system auto /system_root/system flags=fsflags="bind";backup=0;usermrf;ignoreblkid
---
another change what seems official now and (in request of user @lowerhater) you may include /data/media/0 aka Internal Storage for backup purposes (decision is up to you, external storage is required for backup location)
Code:
/storage auto /sdcard flags=fsflags="bind";display="Internal Storage";backup=1;usermrf;ignoreblkid

Hey thanks!
Any clue if restoring a nandroid backup works on the newest builds?

Heyyo @aIecxs , thanks for the suggestions! For the fstab change before erfan was saying that's optional as mentioning ice was the only important part, but I can definitely put the full description in for payton. FBE decryption on payton is fixed already as I used the same commits that I did to fix it on nash since sdm660 and msm8998 are the exact same CAF tags.
For the /system_root thing? Afaik that was for devices with A-only SAR that use the pie SAR implementation as it doesn't look like beyond1lte is an A/B device like Motorola sdm660 devices are. berkeley would be another example of A-only SAR device using pie's SAR implementation, but sadly though it seems they haven't had TWRP updates since 2019... Tbh I don't really know any other devices like that offhand...
As for that last suggestion? Yes we can implement that too.

ThE_MarD said:
fastboot boot twrp-3.4.0-1-payton.img
Click to expand...
Click to collapse
when i am giving this command
fastboot boot twrp-3.2.1-1-payton.img
downloading 'boot.img'...
its keeps stucks on this.

Heyyo @DARK EMP3ROR , unfortunately it seems Motorola devices are super picky... For me? It wouldn't work on my Windows 10 PC or Ubuntu Mate 20.04 either... My wife's old Windows 7 notebook it worked fine though, so you might need to setup a USB Live Boot for Windows 7 or something to get it going

you can try to figure out with fastboot options like kernel offset etc..
fastboot boot TWRP.img Not working
edit: or boot from bootable slot
aIecxs said:
found another possible reason why fastboot boot won't work when it should.
Exelios said:
Even worse than that "fastboot boot" works only if current slot is not marked as not bootable, so any try to launch TWRP fails once your in this mode.
Click to expand...
Click to collapse
Worth a try checking which slot is flagged bootable and set as active (the one with yes)
Code:
fastboot getvar current-slot
fastboot getvar slot-bootable
fastboot getvar slot-successful
fastboot --set-active=other
Click to expand...
Click to collapse

Heyyo, I have TWRP 3.6.1_11 test10 build up. It's rebased on TWRP-11 branch with source-built bootctrl HAL and libgptutils.
Please note! This will decrypt Android 11 ROMs, but can't decrypt Android 12.x ROMs unless you remove your lockscreen security first within the ROM before rebooting to TWRP. Currently TWRP does not have a method to decrypt A 12.x ROMs so this isn't a bug specific to payton.
Release twrp-for-payton twrp-3.6.1_11-test10-payton - twrp-for-payton - OSDN
Release twrp-for-payton twrp-3.6.1_11-test10-payton - twrp-for-payton #osdn
osdn.net

Your test 3.6.1_11 test 10 build with lineageOS 19.1 does boot when I use 'fastboot boot <file>', but it cannot unencrypt the drive like 3.5.0_9 was doing on lineageOS 18.1. this is the same behavior I see with the default 3.6.0_9.img file from twrp.me for Payton. All the 3.5.x versions of twrp get stuck booting and I never get far enough to enter a pin. I can't compare against the lineage recovery from the 19.1 test build, as whenever I try a fastboot of that img file, it just boots lineageOS rather than recovery, which seems weird given it works for twrp.

ThE_MarD said:
Heyyo, I have TWRP 3.6.1_11 test10 build up. It's rebased on TWRP-11 branch with source-built bootctrl HAL and libgptutils.
Release twrp-for-payton twrp-3.6.1_11-test10-payton - twrp-for-payton - OSDN
Release twrp-for-payton twrp-3.6.1_11-test10-payton - twrp-for-payton #osdn
osdn.net
Click to expand...
Click to collapse
The previous version prevented me from booting into the rom I installed. Will this work?

Heyyo @jtnc , the twrp.img file is only meant for temporary use (fastboot boot) and then install the twrp-installer.zip to install TWRP to both slots. Please check the installation instructions. Installing the twrp.img will overwrite your kernel which will break the installed ROM.
It didn't decrypt LOS 18.1 for you? That's odd, other users confirmed it did.
@Dukenukemx I confirmed on my payton it works. As I mentioned, the problem before with TWRP builds was the prebuilt bootctrl HAL and libgptutils.
Here is the latest pre-official TWRP test builds from their build server.
TWRP image:
https://build.twrp.me/twrp-3.6.1_11-0-payton.img
TWRP installer zip:
https://build.twrp.me/twrp-installer-3.6.1_11-0-payton.zip
Please test these. If they are confirmed as working? I will ask for a new official TWRP build for payton.

I understand the .img file is only for temporary use (fastboot) and that was all I was using it for. I could fastboot with the twrp 6.1 test10 image fine, but it would not decrypt. As such I did not bother installing it and stayed on 3.5.0_9. I did eventually realize my sdcard was not encrypted (d'uh!) and was able to flash the lineage recovery w/o a problem. I can't see the bulitin storage with lineage, so I'm assuming it's not decrypting either (nor did it prompt).
Using fastboot boot (so .img files for all), I saw:
twrp < 3.6 -- hangs on the twrp boot screen
twrp 3.6 -- fails to decrypt, but boots fine otherwise
lineeageOS recovery (any) -- boots to OS not to recovery when running 'fastboot boot lineage....recovery.img
I will try the official build you just posted later today when I can get back to my old laptop.

I just tried out the 3.6.1_11-0-payton.zip version of twrp on the official build server you pointed me at. It had the same results as with your test build, namely it does not decrypt internal storage for me. Probably worth someone else validating - assuming others are encrypted.
Since all the 3.5 series hang for me, I tried rolling back to an older version that used to work with encryption, namely a 3.3.3_1 version by Syberhexen, but it too failed decryption. I haven't looked at how encryption works, but it makes me wonder if something changed in 19.1 related to it.
18.1 encrypted worked fine with 3.5.0_9. I can't recall if I was running 3.5.0_9 or the 3.3.3_1 syperhexen version with 17.1/HavocOS.
Depending on how time goes this weekend, I might try rolling back to 18.1 and see if your build will decrypt that or not.

@jtnc, just to check, are you using FBE and not FDE for encryption methods? I just formatted the data on my payton and wiped dalvik and flashed LOS 18.1 and tested both via fastboot boot twrp-3.6.1_11-0-payton.img and adb sideload twrp-installer-3.6.1_11-0-payton.zip and both booted fine and I could PIN decrypt my LOS 18.1 ROM
It does take a minute or three to boot into TWRP, so I do recommend giving it a bit of time for decryption to work.
As I mentioned above though, TWRP cannot currently decrypt A12.x ROMs, so users MUST remove lockscreen security in the ROM before rebooting to TWRP.

Will there some time be a chance to decrypt A12 ROMs with lockscreen security by TWRP?
Thanks for an answer.

Heyyo @woodpe, from my understanding? Android 12.1 changes the way security key storage works, so the path that TWRP usually uses for decryption does not exist... so unless a new solution is found? Potentially TWRP might never decrypt lock screen security ever again...

Please test the pre-official TWRP build from their built server.
TWRP image:
https://build.twrp.me/twrp-3.6.1_11-0-payton.img
TWRP installer zip:
https://build.twrp.me/twrp-installer-3.6.1_11-0-payton.zip
If they are confirmed as working? I will ask for a new official TWRP build for payton.

I'm using lineageos19.1 in combination with the pre-offical TWRP.
All works fine, but no decryption.

@woodpe for A12 ROMs? You must remove lockscreen security, reboot to TWRP, make changes, reboot to system and then setup your lockscreen security again

ThE_MarD said:
Heyyo @woodpe, from my understanding? Android 12.1 changes the way security key storage works, so the path that TWRP usually uses for decryption does not exist... so unless a new solution is found? Potentially TWRP might never decrypt lock screen security ever again...
Click to expand...
Click to collapse
I think this is the problem I've been seeing then. I think I was hoping your test build fixed that problem! All my decryption issues with TWRP have occurred after moving to LineageOS 19.1. I did not have a chance to roll back to 18.1 and revalidate the 3.6.1 build you posted over the weekend, but given the above comment and your experiment on 18.1 I'd expect it to work fine for me.
Removing the lock screen pin and rebooting to recovery worked fine with 19.1 and TWRP 3.6.1_11, I have not tried it on TWRP 3.5.0_9. It's a bit annoying that you have to redo fingerprints every time you remove the lock screen security (at least for PIN, I assume that's true for any).
But given that TWRP 3.6.1 is not expected to work well PIN and 19.1, I'd say go ahead and make 3.6.1_11 official. The only thing I haven't tried is a complete ROM install but I was able to flash recover and other zips from it fine.
Question, would it be worth adding a note to maybe the second post of the lineageOS 19.1 thread indicating TWRP + 19.1 + lockscreen PIN does not currently work?

Related

[RECOVERY][2019-06-09] UNOFFICIAL TWRP 3.3.1 for ASUS MeMO Pad 7 (ME176C(X))

Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
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.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
About
This port of TWRP is built alongside the LineageOS ROM using the same kernel. It's the recommended recovery if you want to use the LineageOS ROM (or another ROM based on it).
Features
TWRP 3.3.1 (built in LineageOS 16.0 tree)
F2FS
USB OTG
Full disk encryption
Installation
Install ADB and Fastboot on your PC. There are guides available online for this, for example on the LineageOS wiki.
Make sure you are running Android Lollipop (5.0).
You need an unlocked bootloader. TWRP 3.3.1 requires me176c-bootstrap 0.3.0, included in me176c-boot 0.3.0. (The old "Intel" bootloader is no longer supported.)
Boot into Fastboot mode: Press Volume Down + Power to turn the tablet on and select Fastboot mode in the menu.
Flash the downloaded TWRP recovery image using Fastboot:
Code:
fastboot flash recovery twrp-recovery-3.3.1-20190609-UNOFFICIAL-me176c.img
Usage
Before you start flashing ROMs I recommend making a backup of your system, especially of the Factory and Vendor Data partition. These tend to get corrupted for unknown reasons, so it's good to have a backup.
Download
Recovery image: twrp-recovery-3.3.1-20190609-UNOFFICIAL-me176c.img
XDA:DevDB Information
Unofficial TWRP for ASUS MeMO Pad 7 (ME176C(X)), Tool/Utility for the Asus MeMO Pad 7
Contributors
lambdadroid
Source Code: https://github.com/me176c-dev
Version Information
Status: Stable
Created 2018-02-05
Last Updated 2019-06-10
Version History
TWRP 3.3.1 (2019-06-09)
lambdadroid said:
Updates
TWRP 3.3.1
Linux (4.19.42 -> 4.19.49)
CPU Microcode (version 838)
Download
Recovery image: twrp-recovery-3.3.1-20190609-UNOFFICIAL-me176c.img
Click to expand...
Click to collapse
TWRP 3.3.0 (2019-05-12)
lambdadroid said:
New installation instructions
TWRP 3.3.0 requires me176c-bootstrap 0.3.0, included in me176c-boot 0.3.0. The old ("Intel") bootloader is no longer supported.
Major changes
Update to TWRP 3.3.0, build on LineageOS 16.0 (Android 9.0 Pie)
Update Linux kernel to 4.19 (4.14.72 -> 4.19.42)
Fixes
MTP
Download
Recovery image: twrp-recovery-3.3.0-20190512-UNOFFICIAL-me176c.img
Click to expand...
Click to collapse
TWRP 3.2.1 (2018-09-26)
lambdadroid said:
New features
Added Backup/Wipe functionality for "ASUS Product Demo (APD)" partiton.
This partition only contains some product images/videos about the tablet and is likely only relevant for the stock ROM (if at all). It has ~300 MB of space available so it works great as additional partition to place boot images/kernels on when using dualboot.
Other changes
Updates: Linux (4.14.42 -> 4.14.72)
Download
Recovery image: twrp-recovery-3.2.1-20180926-UNOFFICIAL-me176c.img
Click to expand...
Click to collapse
TWRP 3.2.1 (2018-05-22)
lambdadroid said:
New features
Added USB OTG support: You can now connect USB devices (e.g. USB keyboards or USB flash drives) to the tablet using USB OTG adapters.
Improvements
Minor power management improvements: Put more devices into suspend when not used (ported from LineageOS ROM)
Other changes
Updates: Linux (4.14.19 -> 4.14.42)
Updated CPU microcode to 836 (2018-01-10) - includes Spectre-related fixes
Download
Recovery image: twrp-recovery-3.2.1-20180522-UNOFFICIAL-me176c.img
Click to expand...
Click to collapse
TWRP 3.2.1 (2018-02-16)
lambdadroid said:
Announcements
TWRP is now available in a separate thread on XDA.
Major changes
Kernel upgrade to Linux 4.14: Experimental, might break things. More improvements and optimizations coming soon.
New features
Support for full disk encryption
Fixed USB mass storage mode for file transfer
Known problems
MTP support is disabled. However, given that file transfers were already broken before I don’t consider this as a regression. You can use ADB to transfer files.
Download
Recovery image: twrp-recovery-3.2.1-20180216-UNOFFICIAL-me176c.img
Click to expand...
Click to collapse
TWRP 3.2.1 (2018-02-16) now available
Announcements
TWRP is now available in a separate thread on XDA.
Major changes
Kernel upgrade to Linux 4.14: Experimental, might break things. More improvements and optimizations coming soon.
New features
Support for full disk encryption
Fixed USB mass storage mode for file transfer
Known problems
MTP support is disabled. However, given that file transfers were already broken before I don’t consider this as a regression. You can use ADB to transfer files.
Download
Recovery image: twrp-recovery-3.2.1-20180216-UNOFFICIAL-me176c.img
Is this compatible with the MeMO Pad 8? (ME181C)
ChazyTheBest said:
Is this compatible with the MeMO Pad 8? (ME181C)
Click to expand...
Click to collapse
No, the ME181C never got the Lollipop (and as such, the UEFI) update, so you're stuck with the stock ROM and tethered TWRP unfortunately.
TWRP 3.2.1 (2018-05-22) now available
New features
Added USB OTG support: You can now connect USB devices (e.g. USB keyboards or USB flash drives) to the tablet using USB OTG adapters.
Improvements
Minor power management improvements: Put more devices into suspend when not used (ported from LineageOS ROM)
Other changes
Updates: Linux (4.14.19 -> 4.14.42)
Updated CPU microcode to 836 (2018-01-10) - includes Spectre-related fixes
Download
Recovery image: twrp-recovery-3.2.1-20180522-UNOFFICIAL-me176c.img
Quick question: can this image be safely flashed with the 'Flashify' app? Thought I'd ask before I attempted it. ?
seamo123 said:
Quick question: can this image be safely flashed with the 'Flashify' app? Thought I'd ask before I attempted it. ?
Click to expand...
Click to collapse
Well, you still need the unlocked bootloader, which is probably something that app cannot do. Otherwise, I see no reason why it wouldn't work for flashing new recovery images. It's really hard to break this tablet completely so you can just try it.
Unfortunately every ROM I try to flash with this TWRP version results in error signal 7. Tried removing the assert command of the roms I try to flash (lineage and the custom rom) but no success.
I do have model K013
TWRP 3.2.1 (2018-09-26) now available
New features
Added Backup/Wipe functionality for "ASUS Product Demo (APD)" partiton.
This partition only contains some product images/videos about the tablet and is likely only relevant for the stock ROM (if at all). It has ~300 MB of space available so it works great as additional partition to place boot images/kernels on when using dualboot.
Other changes
Updates: Linux (4.14.42 -> 4.14.72)
Download
Recovery image: twrp-recovery-3.2.1-20180926-UNOFFICIAL-me176c.img
Twrp 3.3.0 (2019-05-12)
New installation instructions
TWRP 3.3.0 requires me176c-bootstrap 0.3.0, included in me176c-boot 0.3.0. The old ("Intel") bootloader is no longer supported.
Major changes
Update to TWRP 3.3.0, build on LineageOS 16.0 (Android 9.0 Pie)
Update Linux kernel to 4.19 (4.14.72 -> 4.19.42)
Fixes
MTP
Download
Recovery image: twrp-recovery-3.3.0-20190512-UNOFFICIAL-me176c.img
Does this work with the ME375CL (ATT Koox version) of this tablet Trying to root this pig and I'm having problems.
pwag said:
Does this work with the me176cl (ATT Koox version) of this tablet Trying to root this pig and I'm having problems.
Click to expand...
Click to collapse
You may be able to launch a temporary recovery session using https://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096
But considering https://forum.xda-developers.com/showpost.php?p=79554718&postcount=47, I'm guessing you do not have a ME176CL but a ME375CL (K00X). Unfortunately, those have nothing in common with the ME176C, it has a completely different GPU and SoC. TWRP/LineageOS won't work at all for it.
lambdadroid said:
You may be able to launch a temporary recovery session using https://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096
But considering https://forum.xda-developers.com/showpost.php?p=79554718&postcount=47, I'm guessing you do not have a ME176CL but a ME375CL (K00X). Unfortunately, those have nothing in common with the ME176C, it has a completely different GPU and SoC. TWRP/LineageOS won't work at all for it.
Click to expand...
Click to collapse
You are correct, that was my mistake. It's the Asus Memo Pad 7 LTE.
Trying to root this damn thing. I managed to get lolipop on it. So taht's some progress
Twrp 3.3.1 (2019-06-09)
Updates
TWRP 3.3.1
Linux (4.19.42 -> 4.19.49)
CPU Microcode (version 838)
Download
Recovery image: twrp-recovery-3.3.1-20190609-UNOFFICIAL-me176c.img
@ChazyTheBest This TWRP is compatible with k011 https://drive.google.com/open?id=1BiSPms0AsYsEis-sUvKQIX-siyagb-Dq
enable debugging option
connect your tab with a pc
start launcher.bat
ME572CL
PLease Help Instal it ASUS ME572CL, HOW I Can Do It? Thx
MrZlobnyj said:
PLease Help Instal it ASUS ME572CL, HOW I Can Do It? Thx
Click to expand...
Click to collapse
Unfortunately, this version of TWRP is not compatible with your ME572CL. Sorry!
An additional note for newcomers
Hi,
Thanks for this, it helped a lot as I'm completely new to this and really want to replace the old android 5.0 with something from this century.
One issue I kept bumping my head into was that after following the steps above, I could not get TWRP to work.
First installing adb on a PC, (ok)
then installing the new unlocked bootloader (ok)
and finally installing TWRP, (not ok)
after trying to boot into recovery it always ended up with "Error".
A cute little robot laying on its back with the message "error" ... No details beyond that.
Tried reflashing the bootloader and TWRP many times, including different versions of TWRP, but it would not matter.
No recovery for me.
But I'm a tad stubborn, so eventually it dawned on me to try and install the first TWRP from the list (3.2.1) and after that it booted into recovery OK and I was able to update to TWRP 3.3.3.
Now TWRP works OK (well it boots into TWRP, so I think it is now fine).
cheers!
Strangely I tried all 3.2.1 versions from that list but always got the error.
Chimay said:
Hi,
Thanks for this, it helped a lot as I'm completely new to this and really want to replace the old android 5.0 with something from this century.
One issue I kept bumping my head into was that after following the steps above, I could not get TWRP to work.
First installing adb on a PC, (ok)
then installing the new unlocked bootloader (ok)
and finally installing TWRP, (not ok)
after trying to boot into recovery it always ended up with "Error".
A cute little robot laying on its back with the message "error" ... No details beyond that.
Tried reflashing the bootloader and TWRP many times, including different versions of TWRP, but it would not matter.
No recovery for me.
But I'm a tad stubborn, so eventually it dawned on me to try and install the first TWRP from the list (3.2.1) and after that it booted into recovery OK and I was able to update to TWRP 3.3.3.
Now TWRP works OK (well it boots into TWRP, so I think it is now fine).
cheers!
Click to expand...
Click to collapse

[ROM][Unofficial][20180617]CarbonROM | cr-6.1 [payton]

Credits
Moto X4 is getting some custom rom love, because @erfanoabdi worked in BEAST mode and created the trees for this device, even though he does not own the device.
Obligatory Warning: This guide and ROM assumes you know the fundamentals of fastboot, flashing TWRP, and running a flash all. Your warranty is voided because of the unlocked bootloader. This is a Third Party ROM. Things may not work as expected compared to stock (for better or for worse).
Warning 2: If you can't do fastboot commands, do a flash all, root your device or flash TWRP/ROM, please do not ask for help here. If you cannot flash all back to stock, please stay stock for everyone's sake.
Warning 3: if you don't flash the firmware zip so both slots have the firmware, when you boot after flashing, you WILL have a bootloop or even a brick.
Warning 4 : This is an Engineering build, which means it's pre rooted and all apps have access to root. Only the SU binary is missing.
Warning 5 : Kernel is permissive.
This is an initial release and it WILL have bugs. If your phone is a daily, and you cannot afford downtime or random reboots then please do not flash.
I am new to this, DO NOT expect fixes on the fly. Post logcats and I will see what I can do.
{
"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"
}
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
​
About Carbon ROM :
CarbonROM is an aftermarket firmware based on the Android Open Source Project. We are dedicated to fast, stable, and feature-filled roms, honesty and communication with our users, and openness with our code. We like frequent builds, with the very latest and greatest hardware support and fixes. We strive to not only provide you with the best rom we can build, but also to give back to the Android community and our fellow developers. For us, this is about creating something we can be proud of and hope you will enjoy.
Not Working :
[*] Engineering Build - you will get a strict mode red-rectangle flash.
no moto onenav gestuers
You tell me
How to Boot into fastboot/bootloader mode
1. Reboot phone, and keep volume down pressed while device is rebooting until you see bootloader mode screen.
2. While phone is off, press volume down and then press power button. Keep holding both until you see bootloader mode screen.
How to Install
Video is for LineageOS, but process is same for Carbon ROM as well.
Video
Moto X4 A/B Slots Explained
Steps
1. Download the ROM, TWRP (zip and Image), Gapps (optional) from Downloads section. Place TWRP image zip in same folder as where you have fastboot.
2. Prepare your phone for AOSP style ROMs. (download one of the firmwares depending on your model). Boot into bootloader mode.
Flash the firmware with the flash_all.bat (Windows) file or the flash_all.sh (Linux & Mac) (See links on Post #2).
Windows
Code:
flash_all.bat
Mac/Linux
Code:
./flash_all.sh
Tested only on XT1900-1 on Android 8.0 model for now. Feel free to try on other models. Check for any errors in the process, DO NOT proceed if you have any errors. Once flashed successfully, reboot into Android to make sure all is well.
Windows
Code:
fastboot reboot
Mac/Linux
Code:
./fastboot reboot
3. Wipe internal data. Reboot back into bootloader mode and run the command "fastboot -w" (this will erase EVERYTHING from your phone, even internal SD, but is needed to have these ROMs work). Make sure to remove your external sdcard before doing this. Once done, REBOOT into Android to make sure all is well. Skip all the setups.
Windows
Code:
fastboot -w
Mac/Linux
Code:
./fastboot -w
4. Transfer ROM zip and TWRP zip to internal memory of device. Reboot device into bootloader mode.
5. Boot to TWRP using fastboot. Using command prompt/terminal navigate to folder where fastboot is.
Windows
Code:
fastboot boot twrp-3.2.1-1-payton.img
Mac/Linux
Code:
./fastboot boot twrp-3.2.1-1-payton.img
5. Once booted into TWRP, click on Install - and select TWRP zip transferred in Step 1. Once done, Reboot back into system to check all is well.
6. Boot into TWRP again (reboot device, keep volume down pressed while device is rebooting. When you see bootloader mode, let go of volume down. Press volume up until you see recovery mode, press power button to select. Now you will boot into TWRP recovery).
8. Once in TWRP. Go to Wipe and swipe to factory reset. Go back, select Install and select Linage OS Rom zip, also add the TWRP zip file and click on install. Once done, wipe cache/dalvik.
Do note, recovery is built into kernel with our device so flashing any rom or kernel will result in TWRP being overwritten. DO NOT flash Magisk (any root package) or Gapps. Once ROM (and optional TWRP) have flash successfully, go to main menu :-
Now you have two options. If you WANT gapps do step 9. else go to 10. If you install gapps after booting into rom, gapps will crash. So, make your choice now.
9. Go back to TWRP main menu. Click on reboot, note down the slot you are on and select recovery.
You will now boot back into TWRP recovery. Click on reboot, and you should be on the other slot. Go back to main menu, transfer the gapps package to internal memory and install gapps.
10. Go back to TWRP main menu. click on reboot and select bootloader.
11. Once in bootloader mode. issue below command.
Windows
Code:
fastboot -w
Mac/Linux
Code:
./fastboot -w
Once done, reboot.
Windows
Code:
fastboot reboot
Mac/Linux
Code:
./fastboot reboot
11. To ROOT, booting into Android once is necessary whether you want gapps or not. After booting into Android once reboot back into TWRP, and then flash your root package zip, reboot and enjoy.
How to Update
Transfer rom, gapps and twrp zip to internal storage.
Boot to TWRP.
flash Rom + TWRP zip
Boot back to TWRP recovery
Flash GApps
Wipe Cache + Dalvik
Reboot to System
Coming from Another custom ROM, have already flashed firmware zip
Transfer rom, gapps and twrp zip to internal storage.
Boot to TWRP.
Wipe -> Swipe to factory reset
flash Rom + TWRP zip
Boot back to TWRP recovery
Flash GApps
Wipe Cache + Dalvik
Reboot to System
How to go back to stock
Support :
1) Search. Search, search, search. If you make the effort of reading atleast 5 pages back, most if not all your questions will be answered. I personally, will ignore any questions, if I know they have been answered in the last 5 pages. Not being rude, but please read.
2) If you can't find answers in last 5 pages, ask here, be respectful and have a good time.
Downloads :
TWRP (Zip + Image, Download 3.2.1-1): TWRP for Payton
ROM : Unofficial Carbon ROM (payton)
Gapps : OpenGapps
Magisk : Stable Magisk
Notes :
Only Clean Installation Please
Bug Report Without logs means nothing
3rd PARTY ADDONS/MODS :
While we have no issues with people using supersu/magisk/xposed/custom kernels/etc, we can't provide support for users who have them installed.
This thread is not the right place to discuss about mods/addons.
Reporting Bugs :
DO NOT Report bugs if you installed Xposed.
DO NOT Report bugs about Magisk Modules.
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format above may be ignored.
Sources :
Carbon ROM
Device tree :
moto-sdm660-common
payton
Kernel :
moto-msm8998
Vendor tree :
moto-sdm660-common
payton
XDA:DevDB Information
Unofficial Carbon ROM cr-6.1 for Payton, ROM for the Moto X4
Contributors
erfanoabdi, mightysween, gee one, Lineage Team, Carbon Team
Donations
Donate to Carbon ROM
Buy me Coffee.
ROM OS Version: 8.1.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: No Requirements
Based On: AOSP
Version Information
Status: Testing
Created 2018-06-13
Last Updated 2018-06-17
Firmwares
Firmwares
https://forum.xda-developers.com/showpost.php?p=76775043&postcount=2
mine002
Changelog
17th June 2018
* fixed FM radio
* userdebug build (no more red border) Thanks again @erfanoabdi
Excellent work. What would you say are the main differences between Carbon and Lineage?
sizz-lorr said:
Excellent work. What would you say are the main differences between Carbon and Lineage?
Click to expand...
Click to collapse
Lineage is pure stock android, whereas Carbon offer some customizations! I have not tried the ROM yet, i am on RR right now! But as far as I know, it is going to be stable! :fingers-crossed:
I would like to try this ROM, however, I'm hesitant to due to I have the TWRP v 3.2.1-0 which doesn't make nandroid backups that can be restored.
Does the posted TWRP version (3.2.1-1) make restorable nandroid backups?
------------
NetSpeedZ said:
I would like to try this ROM, however, I'm hesitant to due to I have the TWRP v 3.2.1-0 which doesn't make nandroid backups that can be restored.
Does the posted TWRP version (3.2.1-1) make restorable nandroid backups?
------------
Click to expand...
Click to collapse
I've restored from a nandroid on the newest twrp and haven't had an issue. Just remove any pin or lockscreen security before buying into twrp or you can't decrypt.
brandontowey said:
I've restored from a nandroid on the newest twrp and haven't had an issue. Just remove any pin or lockscreen security before buying into twrp or you can't decrypt.
Click to expand...
Click to collapse
Copy that. I don't have lock screen enabled, just the 'screen saver' that shows when phone senses motion nearby and shows the clock, etc.
Appreciate the clarification.
------------
New build is up.
Changelog in post 2.
brandontowey said:
I've restored from a nandroid on the newest twrp and haven't had an issue. Just remove any pin or lockscreen security before buying into twrp or you can't decrypt.
Click to expand...
Click to collapse
Follow-up question to your reply:
When you made your backup, did you include System Image? If so, when you restored did you enable Boot, Data, System and/or System Image?
------------
NetSpeedZ said:
Follow-up question to your reply:
When you made your backup, did you include System Image? If so, when you restored did you enable Boot, Data, System and/or System Image?
------------
Click to expand...
Click to collapse
I did whatever the default in TWRP was, backup and restore. I googled what I should do but there wasn't anything definite. I did get an error 255 from resting the Bluetooth thing so i just omitted it.
I'm on the fence looking at these new custom ROMs available for our X4, so please help me clarify a few points:
1) does Lineage have the option to set navigation bar height? If I'll take the plunge I'm interested in having a navigation bar narrower than Android' standard;
2) is it possible to tweak the kernel with Kernel Adiutor or something similar?
3) is it possible to install and use Moto Display in some way?
Thanks!
P.S. Plese bear with me as I'm asking the same questions all over the three custom ROMs threads.
One button navigation
Is one button navigation still not working on this rom?
superj1018 said:
Is one button navigation still not working on this rom?
Click to expand...
Click to collapse
not yet.

[RECOVERY][SHARED][SURYA/KARNA][R11-0_5] Orange Fox Recovery Project by ManoloRey [UNOFFICIAL]

{
"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"
}
Orange Fox Recovery Project 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.
Code:
#include <std_disclaimer.h>
/*
* Devs are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this RECOVERY
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at them for messing up your device, they will laugh at you.
*
*/
Features:
Synced with the latest Teamwin changes
Designed with latest Material design 2 guidelines
Implemented support for Flyme and MIUI OTA, and incremental block-based OTA in custom ROMs
Included customization
Inbuilt patches, like Magisk and password reset patch
Password protection
Fully open-source
and more
Bugs:
- files sorting is not remembered between reboots (it seems this depends on the MIUI base used, I just found out that on 12.0.7 this works, but not on 12.0.8)
Screenshots:
Click to expand...
Click to collapse
Changelog - current version:
-----------------------------------
OFOX R11-0_5
md5: 28094aef3c3c8b4ed99810991aecadc6
-----------------------------------
• Sync with latest OrangeFox source
• Added zip encryption-disabler-v1 on modules ofox (Menu/Fox Addons/Other)
• Fixed version number Ofox
• Fixes minor bugs that appear in the previous release
DOWNLOAD - HERE
(also for older versions): BOX
or see attached files
Changelog - older versions:
Spoiler
-----------------------------------
OrangeFox-R11-Unofficial-Beta-surya-10-01
md5: 6e35f2aedc8a11621bd490dec12dc6db
-----------------------------------
• Fix Vibration
• Rework Fastbootd and Adb Sideload code
• Use USB configs from MIUI
• Remove predefined services
-----------------------------------
OrangeFox-R11.0_0_B004-Beta
md5: cb6ffb8710e2a31e68bf8345d1c5d6a9
-----------------------------------
• Fix ADB sideload
• Fix Fastbootd (It's in the reboot menu - "fastboot")
• Decryption works 100% now (Even with PIN or password and Android 11)
How to flash the OFOX:
- via fastboot
Code:
fastboot flash recovery recovery.img
Next reboot in OFOX manually or using a fastboot command.
Code:
fastboot boot recovery.img
REMEMBER: it is important that from fastboot you directly reboot into OFOX recovery or the OFOX will be overwritten.
- via custom recovery:
Code:
flash zip file (see attached file) in recovery
Credits:
- Thanks to TeamWin devs
- Thanks to Orange Fox Recovery Project devs
- Thanks to @MrYacha and @DarthJabba9 - Source Development
- Thanks to @ManoloRey - DONATE
Thanks for the work!
What is the difference with the rest orangefox recoveries?
ManoloRey builds are noticeably faster at startup than Brigudavs, also naming of internal storage is different, also name of backup folder differ. Other needs to be tested, now you can choose between two excellent devs/products and if you feel for it, you can compare which one suits you better...
Thx @jeryll for your help !!! Trying this evening...
Thanks @jeryll for presenting this new variant of OrangeFox.
Is it safe to switch between the different OrangeFox variants?
If you don't use backup restore function, then it is safe to switch between them, otherwise you need move your backups to a proper location so that specific recovery can see them:
ManoloReys OFOX use
/Fox/BACKUPS/insert_your_number_here/folders_with_your_backup(s)
Brigudavs OFOX use
/Fox/BACKUPS/POCO_X3/folders_with_your_backup(s)
Thank you for the swift response! I'm only using TitaniumBackup so I should be safe
Can decrypt after install if coming from a twrp mauronofrio version?
Thanks
jorgeepelos said:
Can decrypt after install if coming from a twrp mauronofrio version?
Thanks
Click to expand...
Click to collapse
probably yes, but I never used mauronofrios TWRP, so IDK
jeryll said:
If you don't use backup restore function, then it is safe to switch between them, [....]
Click to expand...
Click to collapse
I.e. the problem of dynamic position handling is solved and a full system backup/restore is now supported?
Do you know if there are plans to make OFox for surya an official version?
just Nob said:
I.e. the problem of dynamic position handling is solved and a full system backup/restore is now supported?
Click to expand...
Click to collapse
- AFAIK the problem of dynamic position handling is not solved (yet)
- full system backup/restore is now supported (if certain conditions are met) more about it - HERE
just Nob said:
Do you know if there are plans to make OFox for surya an official version?
Click to expand...
Click to collapse
AFAIK only two people can answer that ManoloRey or brigudav, they are kindly providing OFOX builds for POCO X3
Damned, totally overlooked that you started a new thread @jeryll
So OrangeFox-R11.0_5-Unofficial-surya is indeed a newer version than @brigudav's OrangeFox-R11.0_1.0-A10-Beta-surya?
With ArrowOS 11 just having moved to OSS vendor, people are reporting problems with decryption in recovery.
Can the current OFOX deal with device decryption on a real A11 base + OSS vendor or does it require an update to OFOX?
Master One said:
Damned, totally overlooked that you started a new thread @jeryll
So OrangeFox-R11.0_5-Unofficial-surya is indeed a newer version than @brigudav's OrangeFox-R11.0_1.0-A10-Beta-surya?
With ArrowOS 11 just having moved to OSS vendor, people are reporting problems with decryption in recovery.
Can the current OFOX deal with device decryption on a real A11 base + OSS vendor or does it require an update to OFOX?
Click to expand...
Click to collapse
OFox is indeed older & It won't probably work with A11 OSS encryption, but you can find & try newer TWRP version by brigudav which dates from 3.5.2021. It's on 4pda. I would share download link, but brigudav doesn't allow it.
SkaboXD said:
OFox is indeed older & It won't probably work with A11 OSS encryption, but you can find & try newer TWRP version by brigudav which dates from 3.5.2021. It's on 4pda. I would share download link, but brigudav doesn't allow it.
Click to expand...
Click to collapse
I thought @brigudav is maintaining both OrangeFox and TWRP?
So no new version of OrangeFox that supports A11 OSS decryption yet?
I've just downloaded twrp-3.5.2_10-1-surya.img dated with 20210503, but I already got used to OrangeFox, which just looks nicer, has the proper keyboard for PIN entry and the simplified view for OTA updates.
Can you or someone else confirm that twrp-3.5.2_10-1-surya.img is indeed the correct and newest version supporting A11 OSS decryption?
No it doesn't work. There is no recovery available right now that supports OSS vendor rom decryption. Go back to MIUI vendor roms if you need it.
syl0n said:
No it doesn't work. There is no recovery available right now that supports OSS vendor rom decryption. Go back to MIUI vendor roms if you need it.
Click to expand...
Click to collapse
Even if with MIUI Vendor there's no way to access to internal storage if it's related to an Android 11 rom. Neither with the latest TWRP release by Brigudav. I see only weird folders / files names.
EDIT : there's a new version by Brigudav... maybe ?!
PYCON said:
Even if with MIUI Vendor there's no way to access to internal storage if it's related to an Android 11 rom. Neither with the latest TWRP release by Brigudav. I see only weird folders / files names.
Click to expand...
Click to collapse
I, too, saw "weird" folders / filenames,
but eventually I was able to access the internal storage, via TWRP
(ie. read the files unencrypted).
This is not recommended, because it weaken's the phone security,
but you can read some steps --> here
metaxda said:
I, too, saw "weird" folders / filenames,
but eventually I was able to access the internal storage, via TWRP
(ie. read the files unencrypted).
This is not recommended, because it weaken's the phone security,
but you can read some steps --> here
Click to expand...
Click to collapse
I don't understand what some users mean with "no security at all"...
Running Android 10 for example, even if your device is encrypted, if u have a TXT in the internal storage with your bank user / password, it's sufficient to reboot into recovery ( or turn on the device into the recovery pressing VOL + ) and... et voilà. The TXT is here. Encryption of course but perfectly readable.
So the difference? From that situation to a device with Android 11 and a decrypted internal memory... I can see no differences...
My 2 cents
PYCON said:
So the difference? From that situation to a device with Android 11 and a decrypted internal memory... I can see no differences...
My 2 cents
Click to expand...
Click to collapse
If phone has Android 11 with OSS Vendor ROMs (or MiUI ROM),
then the TWRP does not show files from internal storage,
ie. all files show like this
Even if encryption is turned off (or no lockscreen/PIN/pattern),
the files/folders cannot be decrypted by TWRP.
metaxda said:
If phone has Android 11 with OSS Vendor ROMs (or MiUI ROM),
then the TWRP does not show files from internal storage,
ie. all files show like this
Even if encryption is turned off (or no lockscreen/PIN/pattern),
the files/folders cannot be decrypted by TWRP.
Click to expand...
Click to collapse
So basically, it seems that Android 11 is more "secure" than Android 10, speaking only about recovery accessing memory... right ?

[RECOVERY][UNOFFICIAL]TWRP 3.6.0 for 2020 Galaxy Tab A7 10.4[SM-T500]

{
"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"
}
​
Code:
/*
* Disclaimer
*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/
Introduction
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
TWRP version: 3.6.0_11
For device: gta4lwifi
Device tree: https://github.com/pazos/android_device_samsung_gta4lwifi
Maintainer/Authors build: paziusss
Known limitations
FBE encrypted storage (Internal Data) not able to be decrypted in TWRP.
Changelog
2021-12-08:
Added: exfat support
Added: mass storage support
Fixed: USB composition rules
Supressed audit messages in logcat
Misc changes (see device tree for details)
2021-12-05: Initial release
Motivation and credits.
AFAICT there're two TWRP builds on xda for the SM-T500, made by ragarcia87 and agreenbhm
The main motivation for Yet Another TWRP build was getting fastboot working, so we can follow official instructions to flash GSI builds on our devices.
Credits to u/agreenbhm for the device tree: https://github.com/agreenbhm/android_device_samsung_gta4lwifi
Credits to u/ragarcia87 for the thread, which I used as a template for this one
Installation Instructions
Spoiler
From computer:
Download Odin Flashable Tar from bellow
Put tablet into Odin Download Mode
Flash Blank vbmeta via Userdata
Flash Odin Flashable Tar via AP
From TWRP:
Download recovery.img from below
Copy recovery.img to device
Install > Install Image > recovery.img to Recovery
Reboot > Recovery
Flashing system/vendor/product/odm partitions
Spoiler
Logical partitions are read only from TWRP. If you want to flash them you'll need to reboot in fastbootd.
Boot in TWRP
Go to reboot and select fastboot.
Wait until you see a TWRP dialog saying "entered in fastboot"
Once you flashed all desired partitions reboot to recovery
In recovery wipe -> format data.
Notes on GSI flashing:
/product partition is unused in GSI builds. You can flash an empty image to gain 1GB for other logical partitions.
/system partition will be resized to the size of the GSI image you're flashing.
Thanks for migrating this to Android 11! One issue I'm seeing is that I can't mount the Micro SD card.
Also, the link for your device tree seems to be broken. Could you please update?
Hi Magendanz. Thanks for your feedback.
I have no issues mounting the MicroSD card. Do you have some logs?
Updated DT link!
About the device tree: I'm having trouble pushing the changes to github because my slow connection. Will see if I got them pushed somehow. If not I will revert blobs to agreenbhm version.
Magendanz said:
Thanks for migrating this to Android 11! One issue I'm seeing is that I can't mount the Micro SD card.
Also, the link for your device tree seems to be broken. Could you please update?
Click to expand...
Click to collapse
paziusss said:
I have no issues mounting the MicroSD card. Do you have some logs?
Click to expand...
Click to collapse
Here's the log...
Hi!
Indeed, I didn't test with exfat. Should be fixed soon. Also adb sideload don't work in the version attached.
I will make the changes ASAP and give a better commit history in device tree
Hi. Device tree updated with support for exfat and ADB sideload fixed.
Will upload the binaries in a few hours!
Thanks for bringing a nicer TWRP for GSI loading to our devices. I flashed this with no issues, but I am really struggling to get my device to boot any GSI. I am sure it is something that I am doing wrong on my end, since I have not messed with Samsung devices or any GSI installations before. Is there a change to have a more in-depth guide written up on installing a GSI on our device, or is there one already available that has similar instructions? I am planning on starting from scratch once I get home, and would like to have all of my ducks in a row before attempting again.
stompysan said:
Thanks for bringing a nicer TWRP for GSI loading to our devices. I flashed this with no issues, but I am really struggling to get my device to boot any GSI. I am sure it is something that I am doing wrong on my end, since I have not messed with Samsung devices or any GSI installations before. Is there a change to have a more in-depth guide written up on installing a GSI on our device, or is there one already available that has similar instructions? I am planning on starting from scratch once I get home, and would like to have all of my ducks in a row before attempting again.
Click to expand...
Click to collapse
Sure, I'll write a deep guide when I get basic stuff sorted out.
For starters, it is:
On TWRP -> Reboot -> Fastboot
Let the device reboot, wait until you see TWRP "entered fastboot"
Check your computer sees the device with
fastboot devices
(retry until it does)
Now erase system and flash a new image:
fastboot erase system
fastboot flash system whatever-aosp-gsi-ab-arm64.img
Finally reboot to recovery
fastboot reboot recovery
And format data:
Wipe -> Format data
Now you can reboot to the system. It will work.
I've tested it with Google AOSP builds, PHH builds and LineageOS builds based on PHH.
Bugs you'll find on any GSI build:
1. MTP doesn't work (needs a kernel change)
2. Brightness slider doesn't work (can be fixed easily without kernel change)
3. Probably more that I didn't found yet
Hi. I've updated recovery binaries and added a changelog.
Please report the issues you find.
paziusss said:
Sure, I'll write a deep guide when I get basic stuff sorted out.
For starters, it is:
On TWRP -> Reboot -> Fastboot
Let the device reboot, wait until you see TWRP "entered fastboot"
Check your computer sees the device with
fastboot devices
(retry until it does)
Now erase system and flash a new image:
fastboot erase system
fastboot flash system whatever-aosp-gsi-ab-arm64.img
Finally reboot to recovery
fastboot reboot recovery
And format data:
Wipe -> Format data
Now you can reboot to the system. It will work.
I've tested it with Google AOSP builds, PHH builds and LineageOS builds based on PHH.
Bugs you'll find on any GSI build:
1. MTP doesn't work (needs a kernel change)
2. Brightness slider doesn't work (can be fixed easily without kernel change)
3. Probably more that I didn't found yet
Click to expand...
Click to collapse
Will it work with Pixel Experience?
EdwardTCM said:
Will it work with Pixel Experience?
Click to expand...
Click to collapse
I didn't try. Install instructions are the same for all GSI roms. You can get a big list of GSIs in https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Some roms are bigger than stock, so you'll need to delete/wipe your product partition first. OP has instructions about it. I personally prefeer to flash an empty product.img instead of deleting the logical partition, to avoid TWRP warnings trying (and failing) to mount the partition.
paziusss said:
I didn't try. Install instructions are the same for all GSI roms. You can get a big list of GSIs in https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Some roms are bigger than stock, so you'll need to delete/wipe your product partition first. OP has instructions about it. I personally prefeer to flash an empty product.img instead of deleting the logical partition, to avoid TWRP warnings trying (and failing) to mount the partition.
Click to expand...
Click to collapse
Alright Thanks
paziusss said:
Sure, I'll write a deep guide when I get basic stuff sorted out.
For starters, it is:
On TWRP -> Reboot -> Fastboot
Let the device reboot, wait until you see TWRP "entered fastboot"
Check your computer sees the device with
fastboot devices
(retry until it does)
Now erase system and flash a new image:
fastboot erase system
fastboot flash system whatever-aosp-gsi-ab-arm64.img
Finally reboot to recovery
fastboot reboot recovery
And format data:
Wipe -> Format data
Now you can reboot to the system. It will work.
I've tested it with Google AOSP builds, PHH builds and LineageOS builds based on PHH.
Bugs you'll find on any GSI build:
1. MTP doesn't work (needs a kernel change)
2. Brightness slider doesn't work (can be fixed easily without kernel change)
3. Probably more that I didn't found yet
Click to expand...
Click to collapse
I flashed phhusson's GSI rom but my galaxy tab a7 keeps boot looping
paziusss said:
Sure, I'll write a deep guide when I get basic stuff sorted out.
For starters, it is:
On TWRP -> Reboot -> Fastboot
Let the device reboot, wait until you see TWRP "entered fastboot"
Check your computer sees the device with
fastboot devices
(retry until it does)
Now erase system and flash a new image:
fastboot erase system
fastboot flash system whatever-aosp-gsi-ab-arm64.img
Finally reboot to recovery
fastboot reboot recovery
And format data:
Wipe -> Format data
Now you can reboot to the system. It will work.
I've tested it with Google AOSP builds, PHH builds and LineageOS builds based on PHH.
Bugs you'll find on any GSI build:
1. MTP doesn't work (needs a kernel change)
2. Brightness slider doesn't work (can be fixed easily without kernel change)
3. Probably more that I didn't found yet
Click to expand...
Click to collapse
I'm trying to flash the ROM I downloaded but I keep getting Sparse errors and when it finishes I get this FAILED (remote: Operation not permitted)
Edit: Maybe this is happening because of the ROM being A only
EdwardTCM said:
I flashed phhusson's GSI rom but my galaxy tab a7 keeps boot looping
Click to expand...
Click to collapse
You need one of the ARM64 AB variants. No matter if it is vanilla, floss or gapps.
thank you for twrp and fastboot but i noticed that most gsi images are bugy no brightness or randemly rebooting
paziusss said:
You need one of the ARM64 AB variants. No matter if it is vanilla, floss or gapps.
Click to expand...
Click to collapse
OOOH I thought it was A Only
EdwardTCM said:
I'm trying to flash the ROM I downloaded but I keep getting Sparse errors and when it finishes I get this FAILED (remote: Operation not permitted)
Click to expand...
Click to collapse
paziusss said:
Sure, I'll write a deep guide when I get basic stuff sorted out.
For starters, it is:
On TWRP -> Reboot -> Fastboot
Let the device reboot, wait until you see TWRP "entered fastboot"
Check your computer sees the device with
fastboot devices
(retry until it does)
Now erase system and flash a new image:
fastboot erase system
fastboot flash system whatever-aosp-gsi-ab-arm64.img
Finally reboot to recovery
fastboot reboot recovery
And format data:
Wipe -> Format data
Now you can reboot to the system. It will work.
I've tested it with Google AOSP builds, PHH builds and LineageOS builds based on PHH.
Bugs you'll find on any GSI build:
1. MTP doesn't work (needs a kernel change)
2. Brightness slider doesn't work (can be fixed easily without kernel change)
3. Probably more that I didn't found yet
Click to expand...
Click to collapse
To anyone who wants to try the Pixel Experience rom
USE A/B NOT A ONLY
EdwardTCM said:
To anyone who wants to try the Pixel Experience rom
USE A/B NOT A ONLY
Click to expand...
Click to collapse
Btw the wifi doesn't work
One Issue when downgrading to TWRP 3.5 is that it will boot loop

[ROM][Android 12L][BERYLLIUM] crDroid v8.12 [19.12.2022]

{
"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"
}
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Features:
https://github.com/crdroidandroid/crdroid_features/blob/12.1/README.mkdn
Flashing Instructions:
Pre-installation:
Recovery (from download page, recovery button)
NikGapps core (Download from here - note that you may also need setup wizard addon if you rely on Google restore)
Magisk root (after first boot)
First time installation:
Backup your data to PC, OTG flash drive
Boot to fastboot and flash recovery
Code:
fastboot flash recovery recovery.img
Now boot to recovery by holding VOL UP + POWER
Navigate to Factory reset and format data, wipe cache and wipe system
Now reboot to recovery
Navigate to Apply update and choose from adb (if you have crDroid.zip on external sdcard, you may choose this option and navigate to where the zip is)
Now sideload crDroid zip
Code:
adb sideload crDroid.zip
If you are running with gapps, choose again to apply from adb and sideload gapps.zip
Reboot to system
Update installation:
Via recovery
Boot to recovery
Navigate to Apply update and choose from adb (if you have crDroid.zip on external sdcard, you may choose this option and navigate to where the zip is)
Now sideload crDroid zip
Code:
adb sideload crDroid.zip
Via OTA:
Go to Settings -> System -> Updater and download latest build
Choose install and let it finish
Reboot
Do note that crDroid 8 is encrypted by default, so if you want to run decrypted, you'll need to sideload dfe.zip
Sources:
ROM: https://github.com/crdroidandroid
Kernel source: https://github.com/crdroidandroid/android_kernel_xiaomi_sdm845
Download:
ROM https://crdroid.net/beryllium
Known isues:
- none critical
Visit official website @ crDroid.net
crDroid Poco Telegram
crDroid Community Telegram
If you like my work, consider a donation > My Paypal
The installation worked liked charm. Thank you so much!!
Thanks for your work Gabriel! Wonderful, I'm glad the ROM is finally encrypted by default
Bug: Bluetooth is trying to turn on and off, repeatedly.
Overall, it feels like a LOS developer build with unlocked features.
HI GWOLFU TNX IN ADVANCE
im not be able to root
flash latest magisk apk or zip no difrens beetwin apk and zip
Sia_scazy said:
HI GWOLFU TNX IN ADVANCE
im not be able to root
flash latest magisk apk or zip no difrens beetwin apk and zip
Click to expand...
Click to collapse
Needs magisk canary
That has support for A12
a9k1t said:
Bug: Bluetooth is trying to turn on and off, repeatedly.
Overall, it feels like a LOS developer build with unlocked features.
Click to expand...
Click to collapse
Aware from telegram chat
Will try to fix with next update
Thanks
Best rom.
Thanks gwolfu! I'd love to upgrade this week, but I've got a few questions first:
Is a dirty flash upgrade from crDroid 7 supported?
I had issues with nikgapps before, with the signal app not receiving any messages unless I open the app (nikgapps specific issue). I'd like to try bitgapps instead. your rom should also work well with that gapps pack, right?
I use encrypted f2fs data partition right now. is that also supported by this crdroid 8 build? or do I have to update the fstab again?
Does it pass safetynet (with/without magisk)?
Oehr said:
Thanks gwolfu! I'd love to upgrade this week, but I've got a few questions first:
Is a dirty flash upgrade from crDroid 7 supported?
I had issues with nikgapps before, with the signal app not receiving any messages unless I open the app (nikgapps specific issue). I'd like to try bitgapps instead. your rom should also work well with that gapps pack, right?
I use encrypted f2fs data partition right now. is that also supported by this crdroid 8 build? or do I have to update the fstab again?
Does it pass safetynet (with/without magisk)?
Click to expand...
Click to collapse
1. Not possible to dirty flash
2. Should work with other gapps (I just shared what I used, however not tested by me)
3. F2FS data is not added yet due to some bug I've noticed
4. Passed SN out of the box even without magisk
Build 20200124 is up
Changelog
- Fixed bluetooth issues
There is an issue with the recovery: it does not automount the micrsod card. manually mounting using adb shell works, but as I am not sure where to mount it, I have no means of applying the update from the microsd card.
P.S. I am using a 1TB microSD card with a single exfat partition
gwolfu said:
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Features:
https://github.com/crdroidandroid/crdroid_features/blob/12.0/README.mkdn
Flashing Instructions:
Pre-installation:
Recovery (here)
NikGapps core (Download from here)
Magisk root (after first boot)
First time installation:
Backup your data to PC, OTG flash drive
Boot to fastboot and flash recovery
Code:
fastboot flash recovery recovery.img
Now boot to recovery by holding VOL UP + POWER
Navigate to Factory reset and format data, wipe cache and wipe system
Now reboot to recovery
Navigate to Apply update and choose from adb (if you have crDroid.zip on external sdcard, you may choose this option and navigate to where the zip is)
Now sideload crDroid zip
Code:
adb sideload crDroid.zip
If you are running with gapps, choose again to apply from adb and sideload gapps.zip
Reboot to system
Update installation:
Boot to recovery
Navigate to Apply update and choose from adb (if you have crDroid.zip on external sdcard, you may choose this option and navigate to where the zip is)
Now sideload crDroid zip
Code:
adb sideload crDroid.zip
Do note that crDroid 8 is encrypted by default, so if you want to run decrypted, you'll need to sideload dfe.zip
Sources:
ROM: https://github.com/crdroidandroid
Kernel source: https://github.com/crdroidandroid/android_kernel_xiaomi_sdm845
Download:
ROM https://crdroid.net/beryllium
Known isues:
- none critical
Visit official website @ crDroid.net
crDroid Poco Telegram
crDroid Community Telegram
If you like my work, consider a donation > My Paypal
Click to expand...
Click to collapse
Bug bluetooth.....not working
wladoom said:
Bug bluetooth.....not working
Click to expand...
Click to collapse
Works fine for me with Build 20200124:
gwolfu said:
Build 20200124 is up
Changelog
- Fixed bluetooth issues
Click to expand...
Click to collapse
gwolfu said:
1. Not possible to dirty flash
2. Should work with other gapps (I just shared what I used, however not tested by me)
3. F2FS data is not added yet due to some bug I've noticed
4. Passed SN out of the box even without magisk
Click to expand...
Click to collapse
as for bitgapps: doesn't work. It fails mounting the vendor partition. tried nikgapps now and receiving message in signal seems to work for now. only time will tell!
as for f2fs, the mounting parameters for encryption differ. I didn't check out the fstab yet, but for crdroid 7, I had to remove the ext4 mount for /data and leave only f2fs with the following permissions in there:
Code:
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,background_gc=off,fsync_mode=nobarrier latemount,wait,fileencryption=ice,quota
And even then it was wonky: it only worked when the data partition was COMPLETELY empty, so that encryption was enabled on first boot. encrypting afterwards failed. Maybe that helps you in troubleshooting f2fs support for data.
P.S. Unless it goes mainline again, I'll stick with the current ext4 variant, as I had to patch fstab every time I updated the rom back with crdroid 7...
Hey, huge thanks for crDroid, currently on 7.13, will flash 8 this weekend. I've noticed that when hiding nav bar, the back gesture doesn't work anymore and haven't find out how to fix this (7.13 version though). Did I miss something ?
Oehr said:
Works fine for me with Build 20200124:
as for bitgapps: doesn't work. It fails mounting the vendor partition. tried nikgapps now and receiving message in signal seems to work for now. only time will tell!
as for f2fs, the mounting parameters for encryption differ. I didn't check out the fstab yet, but for crdroid 7, I had to remove the ext4 mount for /data and leave only f2fs with the following permissions in there:
Code:
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,background_gc=off,fsync_mode=nobarrier latemount,wait,fileencryption=ice,quota
And even then it was wonky: it only worked when the data partition was COMPLETELY empty, so that encryption was enabled on first boot. encrypting afterwards failed. Maybe that helps you in troubleshooting f2fs support for data.
P.S. Unless it goes mainline again, I'll stick with the current ext4 variant, as I had to patch fstab every time I updated the rom back with crdroid 7...
Click to expand...
Click to collapse
you can't encrypt afterwards
you either do it at first boot (does that automatically in crDroid 8), or you flash DFE and no encryption from there on
also no real benefits in F2FS imo
gwolfu said:
you can't encrypt afterwards
you either do it at first boot (does that automatically in crDroid 8), or you flash DFE and no encryption from there on
also no real benefits in F2FS imo
Click to expand...
Click to collapse
f2fs has been specifically developed for flash memory. it comes with fs-based wear leveling which is great for flash memory without a proper flash controller (microsd cards, emmc, etc.). Some more recent android phones (e.g. pixel 6, poco x3) use f2fs as its default fs for the data (and cache) partition.
Makigo123 said:
Hey, huge thanks for crDroid, currently on 7.13, will flash 8 this weekend. I've noticed that when hiding nav bar, the back gesture doesn't work anymore and haven't find out how to fix this (7.13 version though). Did I miss something ?
Click to expand...
Click to collapse
do not disable nav bar. switch to gesture bar and set its size to compact and/or disable navigation hint instead. i stumbled into the same "issue" in crdroid 8, until i figured out that I was doing it wrong. It is confusing, as all these options are split between basically three different screens.
Oehr said:
do not disable nav bar. switch to gesture bar and set its size to compact and/or disable navigation hint instead. i stumbled into the same "issue" in crdroid 8, until i figured out that I was doing it wrong. It is confusing, as all these options are split between basically three different screens.
Click to expand...
Click to collapse
Thanks, you made my day brighter
Unfortunately, I have the issue with receiving message in the Signal app again: After a while, especially while not charging, signal stops receiving messages on the phone unless I specifically open the signal app again...
I checked the usual culprits, such as battery optimization and such, but everything checks out... I had the issue before with crdroid back when I also tried nikgapps... There was no issue when I later switched to opengapps, but that is not possible for now.
Any clue as to how to fix this? I really don't want to check my signal app all the time
Oehr said:
Unfortunately, I have the issue with receiving message in the Signal app again: After a while, especially while not charging, signal stops receiving messages on the phone unless I specifically open the signal app again...
I checked the usual culprits, such as battery optimization and such, but everything checks out... I had the issue before with crdroid back when I also tried nikgapps... There was no issue when I later switched to opengapps, but that is not possible for now.
Any clue as to how to fix this? I really don't want to check my signal app all the time
Click to expand...
Click to collapse
issue is with nikgapps
should be fixed in latest build released today
if dirty flashing new gapps on top, do also clear app data of Google Play Services app and reboot after dirty flash done and booted

Categories

Resources