Need help with TWRP Device Tree /data decryption - Android Q&A, Help & Troubleshooting

I am currently developing a twrp device tree for the Gigaset GS4.
GitHub - StarMiner99/android_device_Gigaset_Gigaset_GS4_twrp: TWRP Device Tree for Gigaset GS4
TWRP Device Tree for Gigaset GS4. Contribute to StarMiner99/android_device_Gigaset_Gigaset_GS4_twrp development by creating an account on GitHub.
github.com
Everything is working so far but there is one major problem.
The Data Directory is unreadable:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is probably due to encryption.
Things i figured out:
- the device has a metadata partition
- the device uses file base encryption
- twrp does not ask for a password
This is the output of twrp decrypt:
Gigaset_GS4:/ # twrp decrypt twrptest
Attempting to decrypt data partition or user data via command line.
Failed to decrypt data.
Gigaset_GS4:/ #
General information:
- build using twrp-10.0 twrp-minimal-manifest
- stock rom: android 10
- chipset: mt6771
Help would be appreciated!

Related

[RECOVERY][OP2]Twrp 3.3.1-0 [UNOFFICIAL]

TWRP 3.3.1-0 for OP2
Download: https://github.com/clienthax/twrp_device_oneplus_oneplus2/releases
Source: https://github.com/clienthax/twrp_device_oneplus_oneplus2
Good job sir
Updated to resolve a few issues with baseband checks.
Great work! One odd error message when I backup a ROM:
{
"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"
}
I encountered two issues.
1.
This package is for "OnePlus2" devices; this is a "".
Updater process ended with ERROR: 7
Error installing zip file '[filename]'
2.unable to wipe /data -- unknown file system 'auto0'
I later used twrp 3.2.1, and the issues were gone so this should be the problem.
This TWRP is unusable with device encryption. "decrypt took too long", decryption fails every time.
How come this version does not support backup of the EFS partition?
I am using TWRP 3.3.1 Test 2, i found a bug that this twrp cant flash stock rom OOS last rom, its showing Error 7, I am not blind, i flashed OnePlus 2 Rom only. Check this issue

Development Progress

Hey folks,
{
"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"
}
If you're anything like me you were itching to modify your Galaxy Fold and with the help of some very helpful folks in the community I've so far managed to achieve the following:
- Device rooted
- Magisk installed
- Encryption disabled
- Process authentication disabled
- Debloated (to my requirements)
The things I have not yet managed to achieve are:
- No custom kernel (no kernel sources released yet despite 4 requests! >_>)
- No TWRP (same reason as above - can't build a kernel for it until we have kernel sources.)
Once the custom kernel is out I'll draft together a guide for the whole process end-to-end of unlocking the bootloader, rooting the device, installing TWRP and installing Magisk.
Just holding off for now until we have a working recovery since if you do something wrong and break your Fold without a recovery you're in a very bad position.
Wow!
Fantastic news
I'm guessing this is for the oversea models? Not the unlocked an att
Sorry for bumping and old thread but..
If it's possible to share the resources that may work for the F900U this would be great.. Please!! *begs*

How To Guide [12.1 GSI] NitrogenOS unofficial (closed)

Use For Testing Only : Mod system.img and Repack again.
Support : exFAT sdcard
NO GAPPS PRE-INSTALLED
NOT SUPPORT : my overlay file.
There are overlay for SM-T220 by someone uploaded for public.
Spoiler: Features
{
"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"
}
Test patching (with Ubuntu win10 Subsystem)
Apply Offine Charging Patched: with 0004-fix-offline-charger-V7.patch
Download
patches/personal/system_core/0004-fix-offline-charger-v7.patch · 3a7b5af09df5faa9193225173afd8b27acdbd251 · Victor Bo / Treble patches · GitLab
Included patches from Phh, Andy Yan and my personal Treble works. You can using patches/solutions from here and from linked manifests in none-commercial usage only and you should...
gitlab.com
Make magisk24.3-patch(boot.img.lz4 + vbmeta.img.lz4) flashing with odin (userdata) slot between flashing GSI.
Or used to reinstalled when Test uninstall magisk.
FILEMANAGER: MIXPLORER SILVER.
Download: https://sourceforge.net/projects/thegsis/files/NitrogenOS/
Recommend: NitrogenOS-12.1-UNOFFICIAL-arm64_bgN-lite-secure.img.xz
ONLY TESTING FOR OFFLINE CHARGING . A LOT OF BUGS
Test patch offine charging OK, problems are how to write new Patched file to read only system.

jailbreaking sato1004 android scope; where do i go from here?

Hi,
i've been looking into jailbreaking the micsig sato 1004 scope, which runs android 11 on some aarch64 rockchip SoC as far as i can tell so far. Both developer mode and installation of third party apps is blocked.
I found out how to get into upgrade mode, which exposes the device through usb for use with the rkdeveloptool:
GitHub - rockchip-linux/rkdeveloptool
Contribute to rockchip-linux/rkdeveloptool development by creating an account on GitHub.
github.com
This allowed me to download the full storage image, which looks like this:
{
"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"
}
(ignore the unallocated 436gb at the end, i flashed the image to an ssd for easier access)
Sifting through the boot partition in an hex editor, i noticed that the default serial interface should be active.
My goal is to root the device and enable the installation of third party apps.
I was wondering what would be the smartest choice to do from here on? I was thinking opening it up and hooking up the serial port - but i would very much like not to open it up just yet, if any of you has a better suggestion.

How To Guide microG + kernelsu [(LOS-TD QPR3 bvN) vs (YAAP QPR2 bvn)]

{
"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"
}
New LOS-TD 20230622 QPR3 : https://sourceforge.net/projects/an...UNOFFICIAL-arm64_bvN-vndklite.img.xz/download
YAAP QPR2: https://github.com/ahnet-69/treble_...605/YAAP-UNOFFICIAL-20230605-arm64-bvN.img.xz
microG: https://androidfilehost.com/?fid=10620683726822057114
Kernelsu for SM-T225
[KERNEL] KernelSU for Samsung Galaxy Tab A7 Lite LTE [T225] [UNOFFICIAL]
What is KernelSU? KernelSU is a root solution for Android GKI devices, it works in kernel mode and grant root permission to userspace application directly in kernel space. Warning Please do some research if you have any concerns about...
forum.xda-developers.com
GitHub - tiann/KernelSU: A Kernel based root solution for Android
A Kernel based root solution for Android. Contribute to tiann/KernelSU development by creating an account on GitHub.
github.com
All passed SafetyNet testing
Play protect is certified.
Kernelsu for YAAP (A13 QPR2)
Kernelsu Manager for LOS-TD (A13 QPR3)
How2 install.
(microG installation need Read/Write System partition: such as vndklite variant , or customed R/W super partition.)
For YAAP uses this tutorial. this guide
(Recommend use QPR2 more stable than early QPR3 for now.)

Categories

Resources