[RECOVERY][UNOFFICIAL][SM-T820][SM-T825][2022-12-11] TWRP 3.7.0_9.0 for Galaxy Tab S3 - Samsung Galaxy Tab S3 ROMs, Kernels, Recoveries, &

Code:
/*
* Your warranty will be VOID after installing a custom ROM.
*
* Get notified yourself that 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
TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM
You can find the source code for TWRP at github.com/teamwin/android_bootable_recovery/
# Features
Flashing a ROM
Factory reset
Erasing the partitions including system, data, cache, internal storage
Backup and restore
Supports F2FS formatting
USB ADB/MTP/OTG
# Downloads
Galaxy Tab S3 LTE (gts3llte, SM-T825)
Galaxy Tab S3 WiFi (gts3lwifi, SM-T820)
# How to install
You have to unlock your bootloader in advance. Check "OEM Unlock" in the device settings.
## Via Odin/Heimdall
Download "twrp-*-gts3l*.img.tar"from the given link.
Check the file name to yours, gts3llte or gts3lwifi.
Enter the download mode by pressing the volume-down + home + power buttons at the same time.
Open Odin or Heimdall and set the AP slot as the downloaded recovery file.
Flash.
Reboot to the recovery by pressing the volume-up + home + power buttons at the same time.
Done.
## Via rooted ADB
This is for those who can get the rooted ADB shell, by the custom ROM or previous TWRP, etc.
Download "twrp-*-gts3l*.img"from the given link.
Check the file name to yours, gts3llte or gts3lwifi.
In this guide, assume that the file is named "twrp.img".
Copy the recovery file into somewhere the device can access.
Enter the ADB shell with rooted mode.
In the shell, go to the directory that the recovery file copied.
Enter the command, "dd if=twrp.img of=/dev/block/bootdevice/by-name/recovery"
Reboot to the recovery by pressing the volume-up + home + power buttons at the same time.
Done.
# Notes
It may slow until formatting data partition when you are from the stock ROM. It tries to mount data partition using ext4 filesystem but it fails repeatedly.
# Sources
Device Tree
gts3llte: https://github.com/awesometic/android_device_samsung_gts3llte-twrp
gts3lwifi: https://github.com/awesometic/android_device_samsung_gts3lwifi-twrp
Kernel: https://github.com/awesometic/android_kernel_samsung_msm8996
# Buy me a coffee
If you like my efforts or would like to support me, please don't hesitate to buy me a cup of coffee.
https://www.paypal.com/paypalme/awesometic
# Credits / Special thanks to
Android Open Source Project
TeamWin Team
LineageOS Team
OmniROM Team
TWRP Minimal Manifests
@Valera1978 for his amazing previous work including his MSM8996 kernel
@ashyx for his amazing previous work on his TWRP
@EonOfBlack for confirming its working on SM-T820

## Changelogs
2021. 11. 30
Updated TWRP version to 3.6.0
Started to use my custom kernel
Set the kernel to "awesometic-kernel-v0.3"
Merged CAF tag LA.UM.7.6.r1-07800-89xx.0
Now it supports F2FS file system
Improved performance
And some more but not related to the recovery
2021. 7. 9
Initial release

reserved

Nice to see TWRP for the sm820...
Cannot really test since my tabs3 is needed as a daily, but that might just change soon...

Flashed with an old TWRP. It works. Can't test with stock rom either... Strange bug with the shell:
Code:
libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfffffffffffffff0 in tid 635 (ls), pid 635 (ls) Segmentation fault
It happens only when trying to access /external_sd/ (ls, find, etc.) no problem at / or /sdcard/ /external_sd/ is accessible with the internal file browser. Portrait orientation? Why not.

I have flashed with tweaked ROM https://forum.xda-developers.com/t/rom-sm-t820-tweaked-rom-sm-t820-tweaked.3659433/ via adb shell. It work right

Awesometic said:
Code:
/*
* Your warranty will be VOID after installing a custom ROM.
*
* Get notified yourself that 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
TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel or on forums like xda-developers.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM
You can find the source code for TWRP at github.com/teamwin/android_bootable_recovery/
# Features
Flashing a ROM
Factory reset
Erasing the partitions including system, data, cache, internal storage
USB ADB/MTP/OTG
## Prepared but not tested
Backup and restore
Hardware decryption
# Downloads
Galaxy Tab S3 LTE (gts3llte, SM-T825)
Galaxy Tab S3 WiFi (gts3lwifi, SM-T820)
# How to install
You have to unlock your bootloader in advance. Check "OEM Unlock" in the device settings.
## Via Odin/Heimdall
Download "twrp-3.5.2_9-0-gts3l*.img.tar"from the given link.
Check the file name to yours, gts3llte or gts3lwifi.
Enter the download mode by pressing the volume-down + home + power buttons at the same time.
Open Odin or Heimdall and set the AP slot as the downloaded recovery file.
Flash.
Reboot to the recovery by pressing the volume-up + home + power buttons at the same time.
Done.
## Via rooted ADB
This is for those who can get the rooted ADB shell, by the custom ROM or previous TWRP, etc.
Download "twrp-3.5.2_9-0-gts3l*.img"from the given link.
Check the file name to yours, gts3llte or gts3lwifi.
In this guide, assume that the file is named "twrp.img".
Copy the recovery file into somewhere the device can access.
Enter the ADB shell with rooted mode.
In the shell, go to the directory that the recovery file copied.
Enter the command, "dd if=twrp.img of=/dev/block/bootdevice/by-name/recovery"
Reboot to the recovery by pressing the volume-up + home + power buttons at the same time.
Done.
# Notes [2021. 7. 9]
I started roughly, so the recovery has some files for dealing with hardware encrypted file system, but I couldn't test yet because I need the stock ROM to test but I should keep the workflow with my LineageOS. If anyone can test this then please let me know it works or not.
# Sources
Device Tree
gts3llte: https://github.com/awesometic/android_device_samsung_gts3llte-twrp
gts3lwifi: https://github.com/awesometic/android_device_samsung_gts3lwifi-twrp
Kernel: https://github.com/awesometic/android_kernel_samsung_msm8996
# Buy me a coffee
If you like my efforts or would like to support me, please don't hesitate to buy me a cup of coffee.
https://www.paypal.com/paypalme/awesometic
# Credits / Special thanks to
Android Open Source Project
TeamWin Team
LineageOS Team
OmniROM Team
TWRP Minimal Manifests
@Valera1978 for his amazing previous work including his MSM8996 kernel
@ashyx for his amazing previous work on his TWRP
@EonOfBlack for confirming its working on SM-T820
Click to expand...
Click to collapse
I would like to help to add dualboot for sm-t820, is there some project in this direction ?
Thanks, Good job!!

samsuffit said:
Flashed with an old TWRP. It works. Can't test with stock rom either... Strange bug with the shell:
Code:
libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfffffffffffffff0 in tid 635 (ls), pid 635 (ls) Segmentation fault
It happens only when trying to access /external_sd/ (ls, find, etc.) no problem at / or /sdcard/ /external_sd/ is accessible with the internal file browser. Portrait orientation? Why not.
Click to expand...
Click to collapse
Actually, on my side, I have no issue when accessing the SD card, /external_sd. I'm usually putting a file into that directory through ADB. Sorry, don't know why that happens..
If there's no problem when you use another TWRP, can you tell me which one?
XolYnrac said:
I would like to help to add dualboot for sm-t820, is there some project in this direction ?
Thanks, Good job!!
Click to expand...
Click to collapse
There's no plan for something related to the dual-boot.

Awesometic said:
Actually, on my side, I have no issue when accessing the SD card, /external_sd. I'm usually putting a file into that directory through ADB. Sorry, don't know why that happens..
If there's no problem when you use another TWRP, can you tell me which one?
Click to expand...
Click to collapse
I tried again, before I messed it up https://forum.xda-developers.com/t/rom-sm-t820-tweaked-rom-sm-t820-tweaked.3659433/post-85316477 and had the same error. Before I was using TWRP 3.2.1-1 and I never had any error with adb shell. The error wasn't with adb push, but adb shell.
I'm a bit tired of this damned tablet, I don't know, it was a bit expensive for a Digital Photo Frame.
---
Interesting. So, I succesfully "unbrick" this doomed tablet with the method of the seven days, then I flashed your TWRP with Heimdall, with the option '--no-reboot' and pressed Home/Vol+/Power to reboot immediately in recovery. The splash screen appear and nothing. I flashed TWRP 3.2.1-1 wich can be find in this forum, reboot in recovery, I had this new red message "RECOVERY IS NOT SEANANDROID ENFORCED" and... it worked. Format Data, wipe everything, flash Lineage, Magisk, as usual, reboot in recovery. Inside TWRP 3.2.1-1 I flashed your TWRP 3.5.2_9-0 and... it worked!
From Stock Rom:
- Flash with Heimdall/Odin -> NOT OK
- Flash with TWRP -> OK
Still, I have the error.
Code:
[email protected] $ adb shell
gts3lwifi:/ # ls /external_sd/
libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfffffffffffffff0 in tid 4616 (ls), pid 4616 (ls)
Segmentation fault

samsuffit said:
I tried again, before I messed it up https://forum.xda-developers.com/t/rom-sm-t820-tweaked-rom-sm-t820-tweaked.3659433/post-85316477 and had the same error. Before I was using TWRP 3.2.1-1 and I never had any error with adb shell. The error wasn't with adb push, but adb shell.
I'm a bit tired of this damned tablet, I don't know, it was a bit expensive for a Digital Photo Frame.
---
Interesting. So, I succesfully "unbrick" this doomed tablet with the method of the seven days, then I flashed your TWRP with Heimdall, with the option '--no-reboot' and pressed Home/Vol+/Power to reboot immediately in recovery. The splash screen appear and nothing. I flashed TWRP 3.2.1-1 wich can be find in this forum, reboot in recovery, I had this new red message "RECOVERY IS NOT SEANANDROID ENFORCED" and... it worked. Format Data, wipe everything, flash Lineage, Magisk, as usual, reboot in recovery. Inside TWRP 3.2.1-1 I flashed your TWRP 3.5.2_9-0 and... it worked!
From Stock Rom:
- Flash with Heimdall/Odin -> NOT OK
- Flash with TWRP -> OK
Still, I have the error.
Code:
[email protected] $ adb shell
gts3lwifi:/ # ls /external_sd/
libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xfffffffffffffff0 in tid 4616 (ls), pid 4616 (ls)
Segmentation fault
Click to expand...
Click to collapse
I haven't faced that issue so far. Actually I use only one kind of SD card so probably I couldn't find that issue.
Could you attach the logcat when the error occurs?

Awesometic said:
I haven't faced that issue so far. Actually I use only one kind of SD card so probably I couldn't find that issue.
Could you attach the logcat when the error occurs?
Click to expand...
Click to collapse
Unfortunately there isn't logcat in recovery and the recovery.log dump doesn't show anything. /external_sd is mounted correctly, that's why I can access it with the internal file browser or choose it to pick up a file to flash. kernel.log (dmesg) doesn't show anything either. The problem is with the shell, busybox. I can't help you more, I'll think to an other way to find where's the error come from.
Reading the logs, I've found where the date and time are, for my other problem in the other thread.
Code:
I:Created '/persist' folder.
I:TWFunc::Fixup_Time: Pre-fix date and time: 2017-01-01--09-56-37
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: Setting time offset from file /persist/time/ats_2, offset 1592833667239
I:TWFunc::Fixup_Time: Date and time corrected: 2020-06-22--23-44-25

samsuffit said:
Unfortunately there isn't logcat in recovery and the recovery.log dump doesn't show anything. /external_sd is mounted correctly, that's why I can access it with the internal file browser or choose it to pick up a file to flash. kernel.log (dmesg) doesn't show anything either. The problem is with the shell, busybox. I can't help you more, I'll think to an other way to find where's the error come from.
Reading the logs, I've found where the date and time are, for my other problem in the other thread.
Code:
I:Created '/persist' folder.
I:TWFunc::Fixup_Time: Pre-fix date and time: 2017-01-01--09-56-37
I:TWFunc::Fixup_Time: Setting time offset from file /sys/class/rtc/rtc0/since_epoch
I:TWFunc::Fixup_Time: will attempt to use the ats files now.
I:TWFunc::Fixup_Time: Setting time offset from file /persist/time/ats_2, offset 1592833667239
I:TWFunc::Fixup_Time: Date and time corrected: 2020-06-22--23-44-25
Click to expand...
Click to collapse
Oh okay, thank you for the report anyway.
And the date/time issue, I didn't know that the time data is stored into the /persist directory.

twrp seems very stable, however incredibly slow to start. it takes 30 to 40 seconds ro get the twrp boot screen for me (t820) other thsn that it works well, I also tested this out by not flashing the kg/rmm state patch, as well the the encryption disabler and was able to boot back to this recovery without my data getting absolutely wiped. before with asyx twrp, twrp would delete all system files and data if those two zip files werent flashed, especially when updating the rom or dirty flashing. so far so good keep it up.

LedgendaryEpics said:
twrp seems very stable, however incredibly slow to start. it takes 30 to 40 seconds ro get the twrp boot screen for me (t820) other thsn that it works well, I also tested this out by not flashing the kg/rmm state patch, as well the the encryption disabler and was able to boot back to this recovery without my data getting absolutely wiped. before with asyx twrp, twrp would delete all system files and data if those two zip files werent flashed, especially when updating the rom or dirty flashing. so far so good keep it up.
Click to expand...
Click to collapse
Yeah I'm using my TWRP and I agree that there's a performance issue. Will look into this problem.

Awesometic said:
Yeah I'm using my TWRP and I agree that there's a performance issue. Will look into this problem.
Click to expand...
Click to collapse
I'd love to see camera first, cause that's what I need much more, than a fast booting TWRP.
That I'm using only once a month or less and if it needs 40"' or 5' to start doesn't bother me.

I have 2 questions. Do I need to install the patch, Tab3 oreo forced encryption disabler??
Second, do i need to uncheck auto reboot after install this twrp version?

hinghing1113 said:
I have 2 questions. Do I need to install the patch, Tab3 oreo forced encryption disabler??
Second, do i need to uncheck auto reboot after install this twrp version?
Click to expand...
Click to collapse
1. Well I never installed so it seems not necessary
2. If you mean Odin flashing the TWRP, surely.
Otherwise the old stock recovery gets revived when auto rebooting and not into TWRP directly.

Does this require root?
I can successfully get into TWRP and format Data but rebooting makes my T820 act as it were factory reset (boots up to setup wizard) and replaces TWRP with stock recovery. I'm not selecting read only mode when first opening TWRP. I'm not latest stock firmware

fulleden said:
Does this require root?
I can successfully get into TWRP and format Data but rebooting makes my T820 act as it were factory reset (boots up to setup wizard) and replaces TWRP with stock recovery. I'm not selecting read only mode when first opening TWRP. I'm not latest stock firmware
Click to expand...
Click to collapse
Hello.
Strange. Once you have installed TWRP recovery on your tablet then it should not be turned into the stock recovery again automatically. I believe.
Have you checked OEM unlock option in the Developer options menu? I don' know it is possible to enter the custom recovery without checking that option..

Awesometic said:
Hello.
Strange. Once you have installed TWRP recovery on your tablet then it should not be turned into the stock recovery again automatically. I believe.
Have you checked OEM unlock option in the Developer options menu? I don' know it is possible to enter the custom recovery without checking that option..
Click to expand...
Click to collapse
I agree. I didn't realize the stock recover could overwrite TWRP once you were able to boot into it. Yes, I did have the bootloader unlocked (by OEM unlock in Dev Options, not sure there's another way). I was using Odin to flash and even tried a few different versions. The tablet originally had the latest Oreo Rom. I tried downgrading it to an older Oreo and also tried a Nougant rom. I had to do a "Format Data", otherwise I would get a boot loop and it seems to me that this then forced a "factory reset" on the next restart where it would sit on the Samsung logo for a very long time. I tried several different angles. I could reboot from TWRP back into TWRP. I even tried flashing TWRP on top of TWRP. Every time I went to boot into Android, it would take forever while it was apparently performing a rebuild of something. I was trying to avoid root to avoid tripping Knox. My ultimate goal was to systemize an app using TWRP which I've done on several older Samsung tablets.
In the end, I flashed Magisk then everything worked on the first try. Booting into Android went quick and I still had TWRP. I tripped Knox but in the end I was able to get what I needed onto the tablet. All is fine now.
Thanks for your work on this TWRP recovery and for sticking around to help support it.

Related

CM 13.0 (Android M) - Nook tablet (acclaim)

CyanogenMod is a free, community built, aftermarket firmware distribution of Android M (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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.
*
* Submitting bug reports on nightly builds is the leading
* cause of male impotence.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed.
This rom is for both the Nook Tablet 512M/8GB and 1GB/16GB versions. The device code name is "acclaim".
Prerequisites:
A recovery. To install a recovery when coming from a stock device, you need to prepare a special SD card. Installation instructions can be found here on xda.
Installation:
Grab a new recovery (http://get.cm/?device=acclaim or TWRP) and flash it with fastboot.
If you have a CM installed, flash the new recovery and try the updater, otherwise download the zip from nightlies, boot to CM recovery or TWRP and flash it.
Once a version is installed (and all bugs fixed), you will be able to use CM Updater
Settings->About tablet->CyanogenMod updates->Refresh
THE NEW NIGHTLIES HAVE EMULATED STORAGE ENABLED. YOU LOOSE ALL YOUR DATA. MAKE SURE YOU BACKUP!!!! THE INTERNAL EMMC 1GB PARTITION IS ALSO NOT ACCESSIBLE ANYMORE. COPY THE CONTENT. THE EXTERNAL SDCARD IS NOT USED ANYMORE AS PRIMARY STORAGE. ALL APP DATA ON THE SDCARD WILL BE LOST. I ALSO RECOMMEND TO WIPE.
BACKUP!
RE-PARTITIONING IS NOT MANDATORY. IF YOU WANT TO RECLAIM THE 1GB PARTITION (called media) YOU CAN TRY TO FOLLOW THE RE-PARTITION GUIDE:
https://docs.google.com/document/d/1wSAaAZfQcnvkiHKlbZ7_H1h67m2kx0mq-p3Wjgue3qA/edit?usp=sharing
PLEASE COMMENT ON THE DOCUMENT IF SOMETHING IS NOT CLEAR.
Building:
The CM wiki explains that here: http://wiki.cyanogenmod.org/w/Build_for_acclaim
Returning to stock BN firmware:
If you have installed above rom and the CWM recovery and you really hate it and want to go back to stock, you may wish to try to flash the original acclaim_update.zip from BN. You have to unzip that file and edit META-INF/com/google/android/updater-script. Drop the first two lines here:
assert(getprop("ro.product.device") == "blaze" ||
getprop("ro.build.product") == "blaze");
Zip the package again. Then go to recovery, flash the zip, wipe, and reboot.
Support:
For any issues encountered, please post into this forum, but add steps to reproduce and dmesg, logcat and audit.log information. If you don't know what this is or how to get them, try to find that out first before posting here.
Thanks:
hashcode, ntemis, kuzma30, fattire, mik_os, and many others that contribute to cyanogenmod and especially this version.
kuzma30 - great kernel job
hashcode - we have reused lots of your work and effort for the various omap devices (esp kindle fire). It is thanks to you mainly that we are now official CM device. Also many thanks for the L bringup help.
mik_os - great touchscreen firmware flasher and other efforts
fattire - for helping us everywhere he can
ntemis - thanks for giving so much energy to this - esp for 4.4 and L I have copied lots of things from you
CM community (stargo, etc.) - thanks for replying to all my questions!
DISCLAIMER:
- update the CWM if you come from older versions - otherwise you'll see funny error messages when installing zip
- It is possible that you need to wipe your device. I did not do that, but...
- Also you must flash your own gapps. It can be found somewhere....
- The SELINUX policies are enforced now.
Known issues:
- system partition is too small for full gapps. use a mini gapp package.
- the touchscreen firmware flasher doesn't work on M. Use CM11 to flash it first.
- Currently the CM13 recovery does not flash the open gapps (due to move to toybox instead of busybox)
- CMUpdater (and adb reboot recovery) don't boot into recovery
- The system is altogether not really the fastest thing on earth
Recently fixed:
- M bringup
Get it from
http://download.cyanogenmod.org/?device=acclaim
Get ENG recovery from here. It allows to adb into recovery even when data is wiped.
File: https://dl.dropboxusercontent.com/u...cclaim-eng-recovery-UNOFFICIAL-20150606.0.img
md5sum: 6136fc49c5e9a32f115d40d762bb6f2d
- Reserved -
Need some help. I flashed the recovery from the CM site, and now it only boots to recovery, even after side-loading the CM13 zip for acclaim. Any ideas how to get out of recovery?!?!
Edit: I also tried to "adb sideload" a different recovery (CWM) but it fails to install, saying "E: footer is wrong, E: signature verification failed"
I can only get into adb sideload mode, as "adb devices" says my device is "UNAUTHORIZED", and can't boot to CM at all.
Edit #2: Anything (other than CM zip) I try to flash from ADB sideload within CM recovery fails due to signature verification. Seems like its checking for updates signed by CM. Ugh, not seeing a way out of this.
Thank you, it runs well in account to the specs and age of this old tablet. This experience is better than the CM12 experience, more stable.
Sent from my LGLS991 using Tapatalk
srgibbs99 said:
Need some help. I flashed the recovery from the CM site, and now it only boots to recovery, even after side-loading the CM13 zip for acclaim. Any ideas how to get out of recovery?!?!
Edit: I also tried to "adb sideload" a different recovery (CWM) but it fails to install, saying "E: footer is wrong, E: signature verification failed"
I can only get into adb sideload mode, as "adb devices" says my device is "UNAUTHORIZED", and can't boot to CM at all.
Edit #2: Anything (other than CM zip) I try to flash from ADB sideload within CM recovery fails due to signature verification. Seems like its checking for updates signed by CM. Ugh, not seeing a way out of this.
Click to expand...
Click to collapse
Most likely the bootcounter reached max number of boots. So when booting, the bootloader sends you to recovery.
I'll try to see if the bootcounter reset doesn't work anymore in cm13 recovery.
Anyway, to get you out of this, can't you hold the nook key during boot to go in cyanoboot menu, start fastboot and flash twrp or old recovery with fastboot?
Chris
I Confirm, experience is much better than CM12.1.
Chris you are a legend.
chrmhoffmann said:
Most likely the bootcounter reached max number of boots. So when booting, the bootloader sends you to recovery.
I'll try to see if the bootcounter reset doesn't work anymore in cm13 recovery.
Anyway, to get you out of this, can't you hold the nook key during boot to go in cyanoboot menu, start fastboot and flash twrp or old recovery with fastboot?
Chris
Click to expand...
Click to collapse
The bootcounter reset indeed doesn't work anymore.
To get out of here:
- Let the device go to recovery
- adb to the device
- run the following commands:
mount /system
/sbin/clearbootdata.sh
Reboot
I'll try to fix this ASAP.
Chris
chrmhoffmann said:
The bootcounter reset indeed doesn't work anymore.
To get out of here:
- Let the device go to recovery
- adb to the device
- run the following commands:
mount /system
/sbin/clearbootdata.sh
Reboot
I'll try to fix this ASAP.
Chris
Click to expand...
Click to collapse
Fixed:
http://review.cyanogenmod.org/#/c/128693/
Chris
chrmhoffmann said:
Fixed:
http://review.cyanogenmod.org/#/c/128693/
Chris
Click to expand...
Click to collapse
Thanks for the reply Chris!
The boot counter does increment (top left corner of cyanoboot, goes from 0-9 then starts over) however no matter what I press on that screen it immediately loads recovery.
Also, I can't get shell access with ADB. When I do "adb devices" it says this device is "UNAUTHORIZED". I can, however, choose "Apply update via ADB" in recovery and it changes to "sideload" but it still won't give me shell access.
Without shell access, what are my options? Seems like i can only flash official CM builds. Will the next nightly help me if your fix is in it? Does it affect the boot.img or or does that only affect the recovery?
First boot time? ... working now!
How long does the initial flash take to boot up for the first time?
I built this ROM (cm-13.0-20160116-UNOFFICIAL-acclaim.zip) and gave up after 45 minutes on the bootanimation.
Right now, I am flashing the cm-13.0-20150117-NIGHTLY-acclaim.zip and it is still booting after 30 minutes.
I flashed with TWRP 2.8.7. Is this OK?
BTW - great work on this ROM!
== // ==
Never mind. I built another (completely Linaro) ROM and it flashed and booted OK. The only thing that I did differently was that I did not flash SuperSu-v2.46 after I flashed the ROM.
Again, thanks for bringing Marshmallow to this device!
srgibbs99 said:
Thanks for the reply Chris!
The boot counter does increment (top left corner of cyanoboot, goes from 0-9 then starts over) however no matter what I press on that screen it immediately loads recovery.
Also, I can't get shell access with ADB. When I do "adb devices" it says this device is "UNAUTHORIZED". I can, however, choose "Apply update via ADB" in recovery and it changes to "sideload" but it still won't give me shell access.
Without shell access, what are my options? Seems like i can only flash official CM builds. Will the next nightly help me if your fix is in it? Does it affect the boot.img or or does that only affect the recovery?
Click to expand...
Click to collapse
I am afraid that you are now in trouble, but it is not fatal.
Options:
a) You can flash with "adb sideload" a zip that installs another recovery. I'll try to create that for CM13 now, as there's only some really old stuff available.
b) You can prepare a SDCARD that flashes recovery like if you would come from stock.
Hang on a bit until I provide a).
Chris
chrmhoffmann said:
I am afraid that you are now in trouble, but it is not fatal.
Options:
a) You can flash with "adb sideload" a zip that installs another recovery. I'll try to create that for CM13 now, as there's only some really old stuff available.
b) You can prepare a SDCARD that flashes recovery like if you would come from stock.
Hang on a bit until I provide a).
Chris
Click to expand...
Click to collapse
Sounds good and thanks.
I actually tried dropping the TWRP recovery.img inside the official CM13 zip and flashing that, but again, it failed due to signature verification. I wonder if you could have access to add a build that includes TWRP (or a fixed recovery image) to the "experimental" channel for CM? Or maybe a boot.img that gives me a second or two to press N and load something other than EMMC recovery.
Maybe that way it would be signed by CM and the current recovery would accept it.
chrmhoffmann said:
I am afraid that you are now in trouble, but it is not fatal.
Options:
a) You can flash with "adb sideload" a zip that installs another recovery. I'll try to create that for CM13 now, as there's only some really old stuff available.
b) You can prepare a SDCARD that flashes recovery like if you would come from stock.
Hang on a bit until I provide a).
Chris
Click to expand...
Click to collapse
I had some time today so I tried b) and it finally got some results. I was able to boot to another recovery and flash twrp. Installing CM13 now! I'll update once im done.
Demetris said:
I Confirm, experience is much better than CM12.1.
Chris you are a legend.
Click to expand...
Click to collapse
Yep, this tablet is usable on CM13.
Sent from my LGLS991 using Tapatalk
srgibbs99 said:
I had some time today so I tried b) and it finally got some results. I was able to boot to another recovery and flash twrp. Installing CM13 now! I'll update once im done.
Click to expand...
Click to collapse
Finally got it up and running on CM13. Runs great, and as others have said its much more stable than CM12.
Also, based on my experience, I would advise against installing the CM custom recovery. Much safer to stick with TWRP.
Thanks for all your help Chris.
The new nightlies should have the boot counter fixed, but it's true that cm recovery doesn't support open gapps flash right now as busy box support was dropped.
So it's maybe best to stick with twrp until further notice.
Chris
Sent from my wiko using Tapatalk
Updated to the latest nightly last night (20160119) and upon reboot got "Google Play Services has stopped", and a notification that Play services wont run until you update,.
am unable to go into apps setting to attempt to clear app storage . Crashes when trying the "manage space" option for Google Play Services
ignore , sorry I thought I was in the CM 12 thread duh...
I never posted on this site but a google now card mentioned cm13 on the ole nook tablet so I gave it a whirl.
Clean flashed the 1/18 nightly the other night. Flashed the smallest gapps I could find because the other kept giving me error that not enough space. Was up and running and though bit slow all seemed well.
Tried running cm updater to get the 1/19 nightly but I got a md5 error. So I ended up downloading the nightly. Then I had to move it to the external sd card. Then I dirty flashed it. Everything still worked and no errors except there were no quick tiles when I pulled down from the top. This was fixed by holding the gear icon for a few seconds until it was spinning. After that there were several options that popped up and then the quick tiles were back.
Lastly and the main reason I am here. Is the home screen supposed to be stuck in landscape mode? The lock screen rotates but the home screen does not. Also the clock is not correct and I am unable to change it.
I use ClockWorkMod 6.0.4.5 to flash the roms btw if that matters.
You must change the auto rotate settings for the home screen.
Chris
Auto rotate is on as is 0, 90, and 270 degrees. Also have rotate on lock screen on. Not sure if there is another rotate setting I am not seeing. I will clean flash the next update and see if this fixes it.
Edit: fixed. I did not know about the cm13 menu by holding the screen then swiping up. Rookie mistake.

[RECOVERY][UNOFFICIAL][ROOT] TWRP for Galaxy A80 ANDROID 10

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.
HTML:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We 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
* y
Let’s start with the installation process
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Now you need to overwrite vbmeta partition, so you can flash third party partitions. Download vbmeta_disabled.tar then go into download mode on your device. Put vbmeta_disabled.tar to userdata in Odin, click start. This should finish pretty quickly, so pay attention when your device reboots, because you need to boot into recovery (Hold power and volume up after the screen turns black). When booted into recovery, wipe your data and reboot normally into system. Now you can setup your phone as usual and make sure oem unlocking is still greyed out and enabled!
Time to flash recovery. Download (link is at the end of this post). . In Odin put the tar file in AP and simply hit start. Congrats you now have TWRP installed!
BOOT TO TWRP RECOVERY AND MAKE FORMAT DATA AND WIPE SYSTEM
Developers specific details
Sources
https://github.com/blacktox/r1q
https://github.com/Grarak/android_bootable_recovery-1
vbmeta_disabled
https://drive.google.com/file/d/1_Ws71h--Z7YBGfllsbt8qlJElXRxTB1p/view?usp=sharing
twrp based on A805FXXU4BTC3 so you must on firmware binary 4
https://drive.google.com/file/d/1FkYQY_O7daPFX6lWt66Bn-aXadRrDWez/view?usp=sharing
XDA:DevDB Information
twrp galaxy a80, Tool/Utility for the Samsung Galaxy A80
Contributors
blackbuga
Version Information
Status: Testing
Created 2019-11-09
Last Updated 2020-07-03
Awesome! Where do I get the vbmeta.tar file?
Nazato said:
Awesome! Where do I get the vbmeta.tar file?
Click to expand...
Click to collapse
https://github.com/Grarak/android_device_samsung_a70q-twrp/releases/download/3.3.1-3/vbmeta.tar
Sent from my SM-A805F using XDA-Developers Legacy app
blackbuga said:
https://github.com/Grarak/android_device_samsung_a70q-twrp/releases/download/3.3.1-3/vbmeta.tar
Sent from my SM-A805F using XDA-Developers Legacy app
Click to expand...
Click to collapse
Just got it to boot and the touchscreen is unresponsive. Quite a bummer since twrp is the only way to root as far as I've concluded :crying:
Nazato said:
Just got it to boot and the touchscreen is unresponsive. Quite a bummer since twrp is the only way to root as far as I've concluded :crying:
Click to expand...
Click to collapse
Rename it to recovery.img then compress to tar file and flash it
Fixed touchscreen
When reboot twrp flash again this img as image in boot to complete rooting
https://www.mediafire.com/file/ccix57wmz61crzd/magisk_patched.img/file
Sent from my SM-A805F using XDA-Developers Legacy app
blackbuga said:
Rename it to recovery.img then compress to tar file and flash it
Fixed touchscreen
When reboot twrp flash again this img as image in boot to complete rooting
https://www.mediafire.com/file/ccix57wmz61crzd/magisk_patched.img/file
Sent from my SM-A805F using XDA-Developers Legacy app
Click to expand...
Click to collapse
I followed your steps to no avail. First try, twrp didn't even boot up completely as it was stuck in the twrp logo screen. My second attempt was wiping data first using the stock recovery, then flashing twrp. Twrp booted up and I was happy as heck, but the touchscreen was unresponsive. I've completely set up my phone again after giving up. I wouldn't mind losing all my data again just to gain root, but I don't want to lose it for nothing
Now it just doesn't load further than the logo! !(
UPLOAD NEW BUILD
FIX TOUCHSCREEN
https://github.com/blacktox/r1q/releases/download/TWRP/recovery.img
blackbuga said:
UPLOAD NEW BUILD
FIX TOUCHSCREEN
https://github.com/blacktox/r1q/releases/download/TWRP/recovery.img
Click to expand...
Click to collapse
Thanks for fixing the issues! Bummer that I can't root. It's just stuck on bootloop with the Samsung splash image.
You must as sg7 firmware
Then flash twrp recovery
Open magisk manager and patch this recovery.img
And reboot to twrp instal image seltect magisk patched and flash it at boot
Wipe all and reboot
Now you have twrp and rooted
For patching recovery with magisk use this custom source
https://github.com/blacktox/work/blob/master/ianmacd.json
For patching with magisk 19.4
Sent from my SM-A805F using Tapatalk
blackbuga said:
You must as sg7 firmware
Then flash twrp recovery
Open magisk manager and patch this recovery.img
And reboot to twrp instal image seltect magisk patched and flash it at boot
Wipe all and reboot
Now you have twrp and rooted
For patching recovery with magisk use this custom source
https://github.com/blacktox/work/blob/master/ianmacd.json
For patching with magisk 19.4
Sent from my SM-A805F using Tapatalk
Click to expand...
Click to collapse
Thanks, man! This finally worked. Any way I can donate to you or something like buy you a beer or what
Is anything working? Decryption? Back-up? Restore?
I have saw the a70 page and it included many custom roms. Is it easy to port it over to the a80? I really want lineage os on my phone. Thanks
(I have an SM-A8050)
@blackbuga ; how about detail explaining about sg7 firmware how can we get it? what about give us step by step way of unlocking until flash twrp within provided link donwload files we needed, & last could u gv us stock recovery img for emergency used while we faced some trouble like bootloop or something else we dont expected. so we dont needed to flash whole firmware stock & make us felt safety & shortcut the time of we got trouble. thx for great works
Hello blackbuga,
I recently installed your unofficial TWRP-build for the A80.
I want to let you know that it is impossible to flash ROMs successfully. I am a TouchWiz developer since 2016 and I wanted to continue with OneUI.
So, I was porting the A71 firmware, but it didn't let me install the zip. It ended with the Error 7.
Here's a part of the log:
" -- Setting ROM Permissions
ApplyParsedPerms: removexattr of /system/system/usr/srec/en-US/wordlist.syms to 0 failed: Operation not supported on transport endpoint
ApplyParsedPerms: removexattr of /system/system/usr/srec/en-US/wordlist.syms to 0 failed: Operation not supported on transport endpoint
script aborted: set_metadata_recursive: some changes failed
set_metadata_recursive: some changes failed
Updater process ended with ERROR: 7 "
It seems like it's a problem of the recovery. I hope to get an answer from you.
Greetings
Soon i realase new build recovery
Im waiting samsung realase new source s4 or u4
blackbuga said:
Soon i realase new build recovery
Im waiting samsung realase new source s4 or u4
Click to expand...
Click to collapse
Will this solve the above mentioned problem, or don't you know what the problem might be?
n0tavailable said:
Will this solve the above mentioned problem, or don't you know what the problem might be?
Click to expand...
Click to collapse
probelme related to your port not from recovery
edit the permission
Is it possible to installieren android 10 GSI i allways in bootloop and restart in recovery
Nazato said:
Thanks, man! This finally worked. Any way I can donate to you or something like buy you a beer or what
Click to expand...
Click to collapse
Bro @Nazato, could you write steps by steps to root A80 please...

[RECOVERY] [UNOFFICIAL] TWRP 3.4.0-0 for Galaxy A20e (A202F)

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.
Code:
#include <std_disclaimer.h>
/*
*
* We 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 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.
*
*/
I’d recommend to read everything in this post, if you care about your phone.
If you already unlocked your bootloader, start with step 3.
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Flash Galaxy A20e TWRP.tar via Odin or heimdall
Reboot into TWRP AS SOON AS THE FLASHING PROCESS IS DONE because otherwise TWRP will get replaced with the stock Android recovery
If you want to flash a GSI, skip to step 7
Factory reset in TWRP and reboot to stock
Wipe everything in TWRP excluding SD Card / USB OTG
Put a GSI image file onto an SD Card, alongside GSI_Fix_boot.zip and Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flash the GSI image, flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, flash GSI_Fix_boot.zip, wipe cache and reboot.
Enjoy
Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work
Latest release: https://drive.google.com/file/d/1Nbrmn7BgA3BxA1bqnLXYMuCY4KjpR0Vn/view?usp=sharing
Social media
Twitter: https://twitter.com/xyn_dev
Telegram: https://t.me/xyn_dev
Reserved.
Wow finally... thx a lot for that
Xyn XDotnest said:
Reserved.
Click to expand...
Click to collapse
Great work
Can you now install GSIs
Make sure you backup boot, data, system before you start
physwizz said:
Great work
Can you now install GSIs
Make sure you backup boot, data, system before you start
Click to expand...
Click to collapse
Yep, GSIs work, I am currently using Descendant X on mine.
Xyn XDotnest said:
Yep, GSIs work, I am currently using Descendant X on mine.
Click to expand...
Click to collapse
Beautiful
I'm stuck at GSI (PixelExperience) installation. I've extracted the img file on sd card and the wizard is asking which partition should be used to flash image (boot,recovery,product image,system image,vendor image).
ZemoDroid said:
I'm stuck at GSI (PixelExperience) installation. I've extracted the img file on sd card and the wizard is asking which partition should be used to flash image (boot,recovery,product image,system image,vendor image).
Click to expand...
Click to collapse
System
A few Questions about the process
Xyn XDotnest 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.
Code:
#include <std_disclaimer.h>
/*
*
* We 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 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.
*
*/
I’d recommend to read everything in this post, if you care about your phone.
If you already unlocked your bootloader, start with step 3.
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Flash Galaxy A20e TWRP.tar via Odin or heimdall
Reboot into TWRP AS SOON AS THE FLASHING PROCESS IS DONE because otherwise TWRP will get replaced with the stock Android recovery
If you want to flash a GSI, skip to step 7
Factory reset in TWRP and reboot to stock
Wipe everything in TWRP excluding SD Card / USB OTG
Put a GSI image file onto an SD Card, alongside GSI_Fix_boot.zip and Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flash the GSI image, flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, flash GSI_Fix_boot.zip, wipe cache and reboot.
Enjoy
Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work
Latest release: https://drive.google.com/file/d/1Nbrmn7BgA3BxA1bqnLXYMuCY4KjpR0Vn/view?usp=sharing
Social media
Twitter: https://twitter.com/xdotnest
Telegram: https://t.me/dotnest
Click to expand...
Click to collapse
,
Hey thanks for this, I´ve got a few questions about the process that might also help others.
Do you recommend this method of rooting still over the new method using Magisk?
Do we still need to wipe everything in TWRP after first boot? And what specifically steps should we take to wipe?
Can you recommend any specific GSI images that are known to boot on the A20e (A202F) because so far I've tried LineageOS 17.1 / AOSP system -quack-arm64-ab-gapps.img and system -quack-arm64-ab-vanilla.img / Crdroid and nothing gets past the loading icon.
Do we still need to flash Disable_Verity_ForceEncrypt and GSI_Fix_boot.zip if not installing a GSI ?
a few notes
for anyone else. It helps if you boot into the rom and install magisk manager via APK (recent version is fine) before installing it via TWRP. After I did that rooting worked properly.
Lost ADB for some reason though, might be unrelated.
I also think that the a20e (SM-a202f) is an A device and not an A/B partition device at least according to treble check app.
ADB and USB connection / USB OTG does not work
Click to expand...
Click to collapse
oh.....right. that stinks
moogle said:
,
Hey thanks for this, I´ve got a few questions about the process that might also help others.
Do you recommend this method of rooting still over the new method using Magisk?
Do we still need to wipe everything in TWRP after first boot? And what specifically steps should we take to wipe?
Can you recommend any specific GSI images that are known to boot on the A20e (A202F) because so far I've tried LineageOS 17.1 / AOSP system -quack-arm64-ab-gapps.img and system -quack-arm64-ab-vanilla.img / Crdroid and nothing gets past the loading icon.
Do we still need to flash Disable_Verity_ForceEncrypt and GSI_Fix_boot.zip if not installing a GSI ?
Click to expand...
Click to collapse
1. This method does use Magisk
The tar file contains boot.img patched with Magisk
It also contains recovery.img and vbmeta.img
2. The boot.img is from Android 10 firmware so you need to upgrade to Q first.
3 there is a step missing in the instructions
It should say
6. Reboot the A20e into TWRP and mount everything you can.
Click Wipe then Format Data (not just wipe) - don't restart
Flash Disable_Dm-Verity_ForceEncrypt
Reboot to recovery and wipe both caches
Reboot system .
Click to expand...
Click to collapse
You can then backup boot, data and system for stock.
You can then install GSIs
I'm having some major problems with sd cards not being recognized by google play store as external storage and whatsapp unable to download images. any idea what it might be?
moogle said:
I'm having some major problems with sd cards not being recognized by google play store as external storage and whatsapp unable to download images. any idea what it might be?
Click to expand...
Click to collapse
What OS are you running?
physwizz said:
What OS are you running?
Click to expand...
Click to collapse
Just the stock android 10, I didn't find a GSI that worked for me.
moogle said:
Just the stock android 10, I didn't find a GSI that worked for me.
Click to expand...
Click to collapse
try Crdroid
physwizz said:
try Crdroid
Click to expand...
Click to collapse
Already have, and LOS 17.1 and AOSP system-quack-arm64-ab-vanilla
all of them got stuck at boot icon for an hour. Thats why I went back to stock.
I'm more interested in why I cannot seem to install discord or firefox from the app store, or whatsapp cannot download images.
moogle said:
Already have, and LOS 17.1 and AOSP system-quack-arm64-ab-vanilla
all of them got stuck at boot icon for an hour. Thats why I went back to stock.
I'm more interested in why I cannot seem to install discord or firefox from the app store, or whatsapp cannot download images.
Click to expand...
Click to collapse
Go into magisk and hide any apps that misbehave
physwizz said:
Go into magisk and hide any apps that misbehave
Click to expand...
Click to collapse
Tried it, no change, there's no apps misbehaving, just strange sd storage card behaviour
Is the SM-A202F/DS supported by these methods, I noticed in some other threads it wasn't working back in March, that's the unit I have.
moogle said:
Tried it, no change, there's no apps misbehaving, just strange sd storage card behaviour
Is the SM-A202F/DS supported by these methods, I noticed in some other threads it wasn't working back in March, that's the unit I have.
Click to expand...
Click to collapse
There is a fix here
https://forum.xda-developers.com/showpost.php?p=80184282&postcount=2
physwizz said:
There is a fix here
https://forum.xda-developers.com/showpost.php?p=80184282&postcount=2
Click to expand...
Click to collapse
Which part are you referring to in that thread?

[RECOVERY] - TeamWin Recovery Project [BLUELINE] [OFFICIAL]

[RECOVERY] TWRP 3.6.0_11-0 - TeamWin Recovery Project
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 , 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. 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 official builds.
Device Config: https://github.com/bigbiff/android_device_google_crosshatch
Hello, this is a test build for crosshatch users.
If others thing don't work, please report the issue and let me know.
I am opening this thread to replace @Dees_Troy's thread with his blessing.
http://twrp.me
I tried to boot to this image on my bootloader-unlocked Pixel 3, but the operation failed.
With the device connected and the bootloader active, I ran the following command:
Code:
$ fastboot boot twrp-3.6.0_11-0-blueline.img
Sending 'boot.img' (65536 KB) OKAY [ 1.797s]
Booting FAILED (remote: 'Error verifying the received boot.img: Buffer Too Small')
fastboot: error: Command failed
I had just performed a factory reset (from
blueline-qq3a.200805.001). Flashing a blank vbmeta.img to disable verification did not resolve the error.
Thanks @bigbiff I've now got this installed on my Pixel 3 running Lineage 18 (A11). So nice to have TWRP back!! I've got one question about backing up. I'm seeing the following backup options:
Data (excluding storage)
Boot
Persist
Super (system system_ext vendor product)
I've not seen this "Persist" before. If I want to backup/restore the device, using TWRP, should all four of these options be selected?
Thanks again!
brainchild said:
I tried to boot to this image on my bootloader-unlocked Pixel 3, but the operation failed.
With the device connected and the bootloader active, I ran the following command:
Code:
$ fastboot boot twrp-3.6.0_11-0-blueline.img
Sending 'boot.img' (65536 KB) OKAY [ 1.797s]
Booting FAILED (remote: 'Error verifying the received boot.img: Buffer Too Small')
fastboot: error: Command failed
I had just performed a factory reset (from
blueline-qq3a.200805.001). Flashing a blank vbmeta.img to disable verification did not resolve the error.
Click to expand...
Click to collapse
See this post, and the subsequent posts.
TWRP 3.2.3-2 for Pixel 3
MTP does not work in TWRP on the Pixel 3 and will not work until we have time to update the TWRP MTP implementation. You may still use adb to push and pull files. Pixel devices have 2 "slots" for ROMs / firmware. TWRP will detect whichever slot...
forum.xda-developers.com
OTG not working -_-
Thank you for the earlier reply. I am still learning about the relation between original firmware, Android version, recovery version, and partition layout. Whereas previously each had been largely independent of the others, recent changes have brought them into a very close dependence, which is often not clarified in the distribution of the various components.
I applied Android 11 firmware to the device, and was able to boot from the image.
I am now having problems installing custom Android 11 images, due to limited space on the system partition. In some cases, I can install the image but not Gapps, not even the pico size.
The general recommendation for this problem is to use the Advanced Wipe feature to resize the partition, but I have found no partition labeled System in the list.
The partitions listed under Advanced Wipe are only the following:
Dalvik / ART Cache
metadata
Data
Internal Storage
USB-OTG
I was able to install LineageOS entirely successfully using the project's own recovery, and then, once the main system was ready, install the TWRP 3.6 recovery image. While this procedure has appeared as a viable workaround, I look forward to any clarification about completing the installation entirely through TWRP. I also look forward to clarification about whether these observations indeed represent a current limitation in the TWRP images available for the device, and whether any other limitations are known.
Wow - TWRP for the Pixel 3 - finally!! What a great job, and thank you very, very much! Successfully completed my very first backup of my Blueline tonight; for the first time since buying this great phone over 18 months ago.
Issues I have found:
USB-OTG doesn't seem to work; I was hoping I could perform the backup to a USB flash drive.
Also, could not seem to get ADB from my computer to work.
Thank you so much @bigbiff for your hard work on this. It is very much appreciated! Well done!!
I do have one question, if I may: is it safe to flash this to recovery, or should we only use it via "fastboot boot twrp..."?
shaunoleary said:
Wow - TWRP for the Pixel 3 - finally!! What a great job, and thank you very, very much! Successfully completed my very first backup of my Blueline tonight; for the first time since buying this great phone over 18 months ago.
Issues I have found:
USB-OTG doesn't seem to work; I was hoping I could perform the backup to a USB flash drive.
Also, could not seem to get ADB from my computer to work.
Thank you so much @bigbiff for your hard work on this. It is very much appreciated! Well done!!
Click to expand...
Click to collapse
Thank you so much too, @bigbiff . Although USB-otg cannot be used, I can back up data on ArrowOS 12.0 without issues. Till now, I haven't tested restoration of my backup data yet.
Can this version of TWRP handle encrypted phones? (ones with lock screen passwords) I've been poking around the internet finding conflicting information.
Fnord12 said:
Can this version of TWRP handle encrypted phones? (ones with lock screen passwords) I've been poking around the internet finding conflicting information.
Click to expand...
Click to collapse
It can handle Android 11 encryption. I don't believe Android 12 encryption works yet.
dcarvil said:
It can handle Android 11 encryption. I don't believe Android 12 encryption works yet.
Click to expand...
Click to collapse
Fun, looks like i'll be waiting for a bit then as I was eyeballing one of the Android 12 ROMs to put on my Pixel 3 and i'll need encryption for NFC payment stuff.
Fnord12 said:
Fun, looks like i'll be waiting for a bit then as I was eyeballing one of the Android 12 ROMs to put on my Pixel 3 and i'll need encryption for NFC payment stuff.
Click to expand...
Click to collapse
You can still use it on Android 12 - you just need to remove the PIN first, then restore it afterwards.
dcarvil said:
You can still use it on Android 12 - you just need to remove the PIN first, then restore it afterwards.
Click to expand...
Click to collapse
You need to remove PIN on Android 12 before invoking backup process of your encrypted data on TWRP as @bigbiff said another thread. Probably, you can restore the backup data after removing PIN on Android 12. Then, you can set PIN on Android 12 again after the restoration.
Another observation... After a OTA update, LineageOS replaced the recovery with its own. From booting the TWRP image from a fastboot connection, the resulting session of TWRP shows option in the advanced menu for installing TWRP to the device. I'm not sure that I would be able to reinstall TWRP without this option, since attempts to flash through fastboot had failed previously. I'm confused about why this menu item no longer appears.
brainchild said:
Another observation... After a OTA update, LineageOS replaced the recovery with its own. From booting the TWRP image from a fastboot connection, the resulting session of TWRP shows option in the advanced menu for installing TWRP to the device. I'm not sure that I would be able to reinstall TWRP without this option, since attempts to flash through fastboot had failed previously. I'm confused about why this menu item no longer appears.
Click to expand...
Click to collapse
You can use Flash Current TWRP to have TWRP reinjected in the ramdisk, it's not showing up for you?
bigbiff said:
You can use Flash Current TWRP to have TWRP reinjected in the ramdisk, it's not showing up for you?
Click to expand...
Click to collapse
No. I believe what has happened is that the OTA update switched the active slot from A to B, with TWRP still residing on the now inactive slot A. Perhaps TWRP only looks in slot A, and if it finds itself installed, it hides this menu entry.
I am not sure what the general use pattern is, as I am still learning the newer paradigm of seamless updates, and A/B and dynamic partitions. Is TWRP compatible with OTA updates? What is the general usage pattern? The updated slot seems to have retained Magisk.
brainchild said:
No. I believe what has happened is that the OTA update switched the active slot from A to B, with TWRP still residing on the now inactive slot A. Perhaps TWRP only looks in slot A, and if it finds itself installed, it hides this menu entry.
I am not sure what the general use pattern is, as I am still learning the newer paradigm of seamless updates, and A/B and dynamic partitions. Is TWRP compatible with OTA updates? What is the general usage pattern? The updated slot seems to have retained Magisk.
Click to expand...
Click to collapse
Usually you have to reinstall twrp to the boot partition, which is typically not A/B
bigbiff said:
Usually you have to reinstall twrp to the boot partition, which is typically not A/B
Click to expand...
Click to collapse
The boot partition is shared by both slots, or each has a separate boot partition? It seems two recoveries are resident on the device.
brainchild said:
The boot partition is shared by both slots, or each has a separate boot partition? It seems two recoveries are resident on the device.
Click to expand...
Click to collapse
There are two boot partitions, boot_a and boot_b.
dcarvil said:
There are two boot partitions, boot_a and boot_b.
Click to expand...
Click to collapse
Right. It seems that when I originally loaded the firmware and installed TWRP, it installed to slot A. Later, LineageOS installed its OTA update on slot B, and activated it. Now the active recovery is the LOS recovery, in slot B. I can boot TWRP from fastboot, but the resulting session may be hiding the menu entry for installation on the the device because it detects itself already installed on slot A.
I suppose the questions are whether installation to multiple slots is supported by TWRP, and whether TWRP and LOS support integration for OTA updates.
More generally, the overall question is what is the overall recommended usage pattern for updating LOS when TWRP is also installed.

Samsung 10.1 gt-n8010 stuck on TWRP loop

Hi everyone!
I'm using a Samsung gt-n8010. It could be done for due to the age, but maybe there is still hope.
My problem is that the tablet boots always to TWRP recovery and I can switch to download mode as well. Everything seems all right, internal storage and sd card shows exactly how they should, BUT... I can't do anything in TWRP. If I have the Keep system partition read only unticked, it still says the storage is read only and /data/media is not accessable. I can see it and access it with TWRP File manager. I tried flashing ROM and Recovery, also stockROM with Odin, but Failed. Clearing Cache, Data, Dalvik... also ends up with error. Format Data works, and also changing the partition types, but when I reboot device, it all comes back the same as before, no changes take effect. In Download mode I tried to use Adb from computer terminal, but it was stuck saying 'Waiting for device'. If Tab is in Recovery my PC shows both internal storage and sd card, but the internal storage is empty when I open it.
For details: I use Lineage OS 18.1 with TWRP 3.6.1_9-0. On my computer I use Linux Mint 20.3, but I tried with a laptop using Win10 as well, no success.
I've read many solutions on 'Unmodified system partition' or some had 0MB internal storage problem, but in my case that is different, as I have them all, but it seems all is read only and not accessable. I even tried to have the last Backup (2 month old) set using Restore of TWRP, but during the process, the tablet reboots and TWRP comes up again. I can't even turn it off, as TWRP comes up after some minutes.
Please help me somehow to be able to use the Tablet. If you need any further details, just tell me.
TWRP is not out yet on android 12, if you have it as of writing it wont be able to unencrypt your device. So all you can do is use it to install roms (YOU MUST FIRST FACTORY RESET THE DEVICE).
I also have never used odin as I have prefered adb
Code:
adb shell
/sbin/recovery --wipe_data
/sbin/recovery --update_package=SDCARD:romname.zip
adb should work in twrp?
I see your point. I intended to change/downgrade LineageOS version, but I was not successful. Now I am not able to do a factory reset either with success from TWRP, but I give a try to your adb codes. Give me some time
leathan said:
TWRP is not out yet on android 12, if you have it as of writing it wont be able to unencrypt your device. So all you can do is use it to install roms (YOU MUST FIRST FACTORY RESET THE DEVICE).
I also have never used odin as I have prefered adb
Code:
adb shell
/sbin/recovery --wipe_data
/sbin/recovery --update_package=SDCARD:romname.zip
adb should work in twrp?
Click to expand...
Click to collapse
Hi, I gave a try to that code both on TWRP and Linux terminal (from PC). But no effect First I did a FactoryWipe (successful) and went back to the Terminal each time. I tried with ROM zip and TWRP img as well, but after rebooting, TWRP 3.6.1 comes back again. I downloaded Lineage OS 17.1 (with GAPPS pico) and TWRP 3.5.0-9. It seems somehow I got stuck with that TWRP 3.6 and all I get on every attempt of flashing or wiping is it can't see '/data/media (No such file or directory)' or 'Unable to make /cache/recovery: Read-only file system'. I hope there would be a solution to get my system out of Read-only state
Nektarin87 said:
Hi, I gave a try to that code both on TWRP and Linux terminal (from PC).
Click to expand...
Click to collapse
Do you have adb installed and do you see your phone when you type "
Code:
adb devices
"
Usually its as simple as just booting into TWRP -> Factory reset then install the rom and done.
Maybe you do need odin but im pretty sure you can use adb instead like I outlined above, I hated using odin but if you find the right file it should also fix your issue.
What is the codename for your tablet? I cant find it on lineageos's site, what guide did you use its an official lineageos im assuming?
leathan said:
Do you have adb installed and do you see your phone when you type "
Code:
adb devices
"
Usually its as simple as just booting into TWRP -> Factory reset then install the rom and done.
Maybe you do need odin but im pretty sure you can use adb instead like I outlined above, I hated using odin but if you find the right file it should also fix your issue.
What is the codename for your tablet? I cant find it on lineageos's site, what guide did you use its an official lineageos im assuming?
Click to expand...
Click to collapse
Well, I have adb installed, but as my Tablet can only load in recovery it says like these:
adb devices
List of devices attached
4107cd04a2b611b5 recovery
When I load Odin or fastload mode (Download mode as tablet says) I can not list it with 'Fastboot device" command. It says 'waiting for device'.
My tablet is Samsung gt-n8010 (10.1) and I follow this thread to make changes:
LineageOS 16.0 Android 9 for GT-N8000 GT-N8010 GT-N8013 GT-N8020 FINAL VERSION EOL
/* * 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...
forum.xda-developers.com
I had Lineage OS 18.1 installed and maybe what caused the issue is that I did not update the TWRP, or we do not have a TWRP ready for it yet, but currently I have TWRP 3.6.1_9-0 installed and stuck with. As I mentioned, on rebooting tablet always starts with TWRP, asking if I want system read only or not with an Unmodified system partition heading. I can not boot OS at all, I can go to Download mode, but Odin always failed indicating my system is read-only.
Ok yes your device is listed as recovery because it has not booted anything. I'm not sure if the commands I gave work without the system actually booting however.
After you entered adb commands there was no error text?
Also if you cant get odin to recognize your phone (RUN IT AS ADMINISTRATOR) you should figure out that first as thats a last resort fix when you really mess things up which I dont think you have yet. I think you must have something off in your configuration if its not reading anything make sure u can access another phone to rule out your pc, but get this working asap.
Usually if your device boot loops you can wipe the cache, and now days remove magisk modules.
If your device still boots straight to recovery It should be as easy as I outlined above, try not isntalling the apps/plugins after the initial rom, and again make sure you wipe cache/data before hand.
If your device boots straight to the bootloader then your left with Odin.
Man I hate video guides. But it looks good (unless he forgot to wipe) should have been as simple as that. He does not however provide you with the firmware (not rom) file that I believe you are going to need if you improperly downgraded the android a full version number. Post on his youtube and find that firmware file and fix your odin connection and flash it. If odin is also dead I have no idea but I have never in nearly 20 years had a phone fully brick even when I try to brick them. But I know it can be possible but your most likely going to recover from this.
If he doesn't respond just read more and learn, you may need some specific large file though to flash over what I believe may now be missing partitions entirely.
Maybe someone else here can help too. Good luck!
leathan said:
Man I hate video guides. But it looks good (unless he forgot to wipe) should have been as simple as that. He does not however provide you with the firmware (not rom) file that I believe you are going to need if you improperly downgraded the android a full version number. Post on his youtube and find that firmware file and fix your odin connection and flash it. If odin is also dead I have no idea but I have never in nearly 20 years had a phone fully brick even when I try to brick them. But I know it can be possible but your most likely going to recover from this.
If he doesn't respond just read more and learn, you may need some specific large file though to flash over what I believe may now be missing partitions entirely.
Maybe someone else here can help too. Good luck!
Click to expand...
Click to collapse
Hi there, I actually find some videos or instructions useful and some helped me out a lot. But as always, things can only be proper if anyone is qualified to do it or when you have the exact same issue on the device. Now back to my case...
I tried many ways, many aspects, but none helped me out. There was this good and working Samsung 10.1 gt-n8010 and one afternoon I found it turned off. When I charged it for a while I turned it on and all it could load is TWRP and I could not do anything. It seems to be working, but I could not see internal storage, while it showed all the 12 GB amount I had, so the issue is not that it shows 0 GB like in many videos. I tried to wipe cache, data, system, even change partition types, all ended with a fail saying my 'system is read only'. I also tried to use Odin and Heimdall to flash new recovery and ROM, also gave a chance to stockRom with android 4.1 or 4.4, but in all cases it said FAILED. To conclude all: I think it could be a hardware issue and as the machine is more the 10 yrs of age, it would not be a surprise, but it's a same it can't be flashed.
If anyone had a similar issue or may have suggestions I'm all ears and the thread remaines, but I am out of ideas at the moment and put my Samsung tab on the shelves.

Categories

Resources