yashsingh1/xdaforums huggingface dataset:
[Xiaomi 11 Lite 5G NE] Spaceboy60:
Keep getting an error shown below:

Couldn't unlock

please add your accounts in MIUI's Settings - > developer options > mi unlock status

so I turned on the phone went to developer options, mi unlock status. Clicked "Add accounts and device".

Get a message saying added account successfully account is now associated with DEVICE.

But when I try to unlock I get the same couldn't unlock message posted above

Any ideas?
[Xiaomi 11 Lite 5G NE] NOSS8:
Try;

Make a Mi account through Google and set the region to US - it's important to set the region to US... EU gave me the rebind error

Add the Mi account to your phone (settings -> Mi Account)

Set the recovery phone on your Mi account and verify the phone number.

Make sure you have OEM Unlocking and USB Debugging enabled

Go to Mi Unlock status -> add account (make sure you're on data)

In your PC download the latest Mi Unlock Tool (click on the gear icon and check for updates + download if there are any)

In the same gear menu check for USB Drivers and install them

Log into the same Mi account in the Unlock tool

Enter Fastboot on your phone

Unlock (it may prompt you to wait 168 hours, but after that you should be able to unlock)
[Xiaomi 11 Lite 5G NE] Spaceboy60:
Thanks, now just get:

please unlock 150 hours later. And do not add your account in Miui again, otherwise you will wait from scratch

I guess all should be good now in theory.
[Xiaomi 11 Lite 5G NE] NOSS8:
Yep,everything is good;)
[Xiaomi 11 Lite 5G NE] Spaceboy60:
Does my sim need to be in the phone when I unlock via Mi Unlock Tool?
[Xiaomi 11 Lite 5G NE] NOSS8:
You must use the phone normally and use the same sim for the unlocking procedure.
[Xiaomi 11 Lite 5G NE] Spaceboy60:
So I can't stick sim in my old rooted phone that has all my apps on and then put sim back into Xiaomi lite ne when 150 hours has passed?
[Xiaomi 11 Lite 5G NE] NOSS8:
I don't know, I've always used my phone for this procedure, try it, you'll see, at worst you'll have to wait longer.
[Samsung Galaxy S23 Ultra] neogeo727:
Hi all. I recently changed my CSC from EUX to INS in order to activate the call recording feature. However, I found out that I cannot use Google Wallet on my S23 Ultra anymore, and when I checked integrity, I got the CTS profile match fail probably caused by that CSC change. I've read many people changing CSC with no issue at all. The phone is NOT rooted and I would like to keep it like that. Bootloader is closed. Any suggestion to fix it (and keep INS)? Thanks!
[Samsung Galaxy S23 Ultra] jocanunu:
To be able to record calls I recommend that you put another rom region, since the last of INS the f9 appears in playstore as not certified by Google, with Frija you can download the latest f7 with csc XXV, install it with Odin and then change the CSC with Samfw. Thus 0 problems
[Samsung Galaxy S23 Ultra] neogeo727:
Thanks! I'll test it.
[Nubia Red Magic 6] Creatura_:
I'm not sure if there's anyway to update after rooting, since you can't relock the bootloader. If I can, please tell me how. Thank you in advance.
[Nubia Red Magic 6] Creatura_:
Should I download the rom from the website and do a local install?
[Nubia Red Magic 6] Pisti870923:
Hi!

You can download the rom:

https://rom.download.nubia.com/Europe/NX669J/V604/NX669J-update.zip

If you root the phone and relock the bootloader and hide the root, you will get the updates from OTA, but after updating you will lose the root...
[Nubia Red Magic 6] Creatura_:
I don't think you can relock the bootloader on this phone.
[Nubia Red Magic 6] Pisti870923:
Why? After uploading the rooted boot.img, turn off the AVB check or install a modified vbmeta.img. After that, just as you opened the bootloader, you close it again. /fastboot flashing lock/
[Google Pixel Fold] bs3pro:
Could someone please tell me what # it is?? I messed with mine, and can't remember what it was stock. Thanks
[Google Pixel Fold] bs3pro:
Thanks!
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
Android 13 - SM-T220 (gta7litewifi)

Device tree with a customized kernel to enable touchscreen - https://github.com/R0GUEEE/android_device_samsung_gta7litewifi

Latest Custom Recovery releases -

https://github.com/R0GUEEE/android_device_samsung_gta7litewifi/releases

TWRP manifest - https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp/tree/twrp-12.1

SHRP manifest - https://github.com/SHRP/manifest/tree/shrp-12.1

PBRP Manifest - https://github.com/PitchBlackRecoveryProject/manifest_pb/tree/android-12.1

OFRP manifest - https://gitlab.com/OrangeFox/bootable/Recovery/-/tree/fox_12.1?ref_type=heads

TWRP and PBRP can both be flashed through Odin once your bootloader is unlocked. As for SHRP and OFRP, the zip file must be extracted to flash the contained recovery image. Once you've flashed the recovery with odin, you can reflash the entire zip file to install the necessary files.

View attachment 5975149View attachment 5975151View attachment 5975153View attachment 5975155

Update 8/4/2023: Patched working fastboot to recoveries.
[Samsung Galaxy Tab A7 Lite] tom.android:
Very good for t220 user. But no specific installation guide.
[Samsung Galaxy Tab A7 Lite] Difficul:
Port for T225
[Samsung Galaxy Tab A7 Lite] 2faraway2:
@R0GUEEE : Wouw, sounds promising .. :)

Sorry for 2 noob questions:

- What's the easiest way to install (coming from a magisk rooted A13 stock version (CVL7 with U1 Bootloader) ) ?

1. Flash the tar-file via odin

2. Boot into the newly installed recovery

3. Flash fbe_disabler

4. Wipe all and format data

5. Install magisk.zip

6. Boot into system

7. After finishing the setup doing to final magisk-todos

- I assume all 3 recoveries can't handle decryption, right ?

-> So I suppose step 3 is required ?

My 'long term goal' is to install a gsi (preferably crdroid => 9.7) ...

Thanks in advance for your suggestions / hints :)
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
That’s pretty much it, although some of the recoveries have custom tools that include magisk flashes and disable security. Right now I’m working on finishing up PBRP, between that and OrangeFox, those two have the most options to work with.
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
I don’t have a T225 to test it on but the device tree *should* also work on the t225/t227
[Samsung Galaxy Tab A7 Lite] Difficul:
Thank you
[Samsung Galaxy Tab A7 Lite] Hai Karate:
I've tried both TWRP and PBRP on my T220 and I get nothing but a black screen. I can see via ADB that the device has entered recovery but that's it.
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
This was due to a simple issue with the build flags. Try the latest files from here or from the github page, it's been fixed.

Alternatively you can temporarily fix it by doing adb shell and then nano /sys/class/leds/lcd-backlight/brightness and change the value.
[Samsung Galaxy Tab A7 Lite] Hai Karate:
Great work! It seems to be working fine now. Thanks for the quick response.
[Samsung Galaxy Tab A7 Lite] Difficul:
This kernel can be use to build custom or run Gsi like Miui ?
[Samsung Galaxy Tab A7 Lite] Difficul:
But device tree had added T225 kernel ?
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
This prebuilt kernel is just a modified version of the prebuilt/kernel image that goes in the recovery device tree. It was just modified to enable touch screen drivers in custom recoveries.
[Samsung Galaxy Tab A7 Lite] gun200:
The links lead to the TWRP file with the black screen problem. But in the header the file is good. Who has problems that DATA is not mounted, and you have ROOT, which means you are flashing through the USERDATA slot, but you need it through AP.
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
The github releases should be updated now. As for flashing, the recovery.img is held in the AP.tar.md5 of the stock firmware file so you should be flashing the custom recovery.tar in the AP slot as well. I've yet to see any issues with data not being mounted, the only "issues" you should run into would be if you didn't wipe after installing your custom recovery.
[Samsung Galaxy Tab A7 Lite] Gio125:
hello everyone, i have a t200, but i have problem, i can't flash a GSI trough ADB Sideload because it doesn't work, it just hangs with this text:"Starting ADB sideload feature..." and my pc can't recognize it.
[Samsung Galaxy Tab A7 Lite] tom.android:
you should uses fastboot mode of TWRP for flashing GSI ,should not use sideload.
[Samsung Galaxy Tab A7 Lite] Gio125:
ok i flashed the GSI but it's stuck on the "android" logo.
[Samsung Galaxy Tab A7 Lite] tom.android:
Depend on The GSI if you make a refactory reset after flashing.

( format data==>yes )

flashing GSI with TWRP does not garantee successful.

Do you disable avb vemeta.img?
[Samsung Galaxy Tab A7 Lite] Gio125:
it gives me error when i try disable it

fastboot: error: Failed to find AVB_MAGIC at offset: 0
[Samsung Galaxy Tab A7 Lite] tom.android:
see your download mode , knox status?
[Samsung Galaxy Tab A7 Lite] Gio125:
sorry for the quality :P
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
Some of the other recoveries include addons that can disable security features. I'd try one of those out and see if it helps. Personally I use Orangefox Recovery
[Samsung Galaxy Tab A7 Lite] Gio125:
ok thank you i'll try
[Samsung Galaxy Tab A7 Lite] Gio125:
sorry, I'm not that familiar with the OrangeFox Recovery, could you be a little more specific?

i installed it through TWRP but i don't know what to do. Thanks

Also i don't think this is normal (is this the problem?)View attachment 5980133
[Samsung Galaxy Tab A7 Lite] tom.android:
Kg status - broken if this status is not change to checking or completed, you can't install any GSI.

View attachment 5980283

No matter what using any TWRP..
[Samsung Galaxy Tab A7 Lite] Gio125:
How do I change it?
[Samsung Galaxy Tab A7 Lite] tom.android:
Sorry I don't known , Knox was control by hardware.
[Samsung Galaxy Tab A7 Lite] Gio125:
oh no...
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
Take this file I've attached and flash it with odin into the AP slot, make sure once it boots up you wipe your storage. Then try copying the entire OFRP zip file to your device and flash it.
[Samsung Galaxy Tab A7 Lite] Gio125:
ok i'll try, btw thanks everyone for the help.
[Samsung Galaxy Tab A7 Lite] Gio125:
wait i just locked the bootloader and noticed that the kg status is prenormal
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
You need to make sure your bootloader is unlocked.. also after you unlock the bootloader in settings, when you enter download mode initially, there should be an option there to unlock the bootloader. If I remember correctly, selecting that option should wipe everything for you and finish the process.
[Samsung Galaxy Tab A7 Lite] Gio125:
yes i unlocked it again
[Samsung Galaxy Tab A7 Lite] Gio125:
now i'll install the OrangeFox recovery, also the kg status switched to CHECKING
[Samsung Galaxy Tab A7 Lite] Gio125:
do i need to re-flash the VBmeta? Because i reinstalled the original firmware.
[Samsung Galaxy Tab A7 Lite] tom.android:
Very lucky
[Samsung Galaxy Tab A7 Lite] Gio125:
ok i installed the OFRP full zip
[Samsung Galaxy Tab A7 Lite] Gio125:
ok, i installed the GSI trough fastboot but it's bootlooping (the kg status is still CHECKING)
[Samsung Galaxy Tab A7 Lite] tom.android:
How?
[Samsung Galaxy Tab A7 Lite] Gio125:
i don't know
[Samsung Galaxy Tab A7 Lite] Gio125:
btw i think it's MTK Secure Boot, but i don't know how to disable it
[Samsung Galaxy Tab A7 Lite] Gio125:
wait, maybe i can send the logs of the tablet, so you can look at it
[Samsung Galaxy Tab A7 Lite] Gio125:
here you go
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
Typically I just put the GSI on my device storage and flash it directly from recovery, never had any problems.
[Samsung Galaxy Tab A7 Lite] Gio125:
wait, how do i install it? do i flash the "System.img" or the entire zip?
[Samsung Galaxy Tab A7 Lite] tom.android:
Oh IMG then select system. (First time to use TWRP?)
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
Unzip the GSI then flash the system.img into the system partition.
[Samsung Galaxy Tab A7 Lite] Gio125:
Btw i forgot to tell you that I found a solution by following this thread:

https://xdaforums.com/t/a13-gsi-der...andbook-fastbootd-p1-p9.4608297/post-88811779
[Samsung Galaxy Tab A7 Lite] tom.android:
If you want to read before doing , you will find the way you want. Tooooo many titles from my tutorial.
[Samsung Galaxy Tab A7 Lite] headtrauma101:
Hello everyone,

kinda new here always lurked in the past...

I have read most if not all the custom recovery guides and attempted to no avail.

sm-t220 on latest patch.

Rooted using magisk and followed this guide last after zillions and xbt.

Before you ask yes the phone is unlocked per the download screen.

Flashing through AP slot ive tried twrp , skyhawk , blackout and last orange fox

I run into same problem everytime, the recovery works but soon as i follow step to unencrypt by wipe✓ then format to fix the mounting problem due to encryption 0mb becomes 22gigs data but afterwards i can never boot into system (stock)

I am at my witts end.

I am about to break stuff I need your help lol.

No joke have been losing sleep and at it for the last 3 days 12 hours a day . I must be retarded .

so what am I missing or is it impossible?

I wanted to attempt installing nhpro on here which will require a custom kernel for all functionality, thats supposed to be the hard part from what I gather.

I cant even get a full custom recovery installed without rendering the phone useless.

also default tools in custom recovery i tried always had error of mounting data so to get around it ibused adb push file /sdcard and installed from there..

great except when you wipe/format it goes with it because its on internal storage.

please help, btw I like the guides and appreciate all work you guys do and I am trying to learn enough to be able to do some of this(big dreams lil brains)

EDIT:

So I tried once again, used the SHRP flavor this time and ... everything is good.

I dont know why, what was different....

I really have no idea.

So for me SHRP worked.

I cannot remember the events though, here is how i recall it went down. :/

1. Patched Factory AP with magisk 26.3 . The entire AP not just patched boot+vbmeta.

2. Used ODIN 3.14.1_B to flash Patched AP to AP

3. Went back to download mode before first boot (or maybe i forced rebooted at inital start screen)

4. Immediately flashed SHRP Recovery image with ODIN

5. Forced my way back into Recovery by spamming *adb reboot recovery* in powershell which ive never done but was tired of the hardware button combo.

6. adb push shrp.zip /sdcard

7. Installed the skyhawp recovery project.zip

8. SHRP tools Disabled encryption.

9. I was like no way this is gonna work it doesnt even make sense (to me still confused)

. . . . . within 3 mins the phone was starting correctly instead of being stuck at samsung logo (ive waited close to 1 hour in my other failed attemps)

Thank you , this guide and sources helped ALOT!

tom.android / -xbt / R0GUEEE Your guides and work are appreciated very much, great stuff.​
[Samsung Galaxy Tab A7 Lite] Gio125:
So, do you need help or not? I was kinda confused after reading it. If you need help then send me a DM.
[Samsung Galaxy Tab A7 Lite] headtrauma101:
hello thank you for the response.

i no longer require assistance for the custom recovery, I managed to get it done.

I too am confused as to what was happening.

I do have some questions and want to learn about Porting Roms, Kernels and how to do it myself.
[Samsung Galaxy Tab A7 Lite] Gio125:
Oke👍
[Samsung Galaxy Tab A7 Lite] Zillion:
Great job!
[Samsung Galaxy Tab A7 Lite] Difficul:
Crbkitchen can help you mod stock rom
[Samsung Galaxy Tab A7 Lite] Insomniac05:
Is there a similar touch fix for t225?
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
It should work on the t225 as well, I just didn't have one to test it on. If not I can always rebuild it with a dedicated t225 tree
[Samsung Galaxy Tab A7 Lite] Insomniac05:
Thanks!! It worked perfectly
[Samsung Galaxy Tab A7 Lite] Insomniac05:
Any plans for a14 versions?
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
Yeah, I’ll try to get an a14 version out soon once I finish up some other development work. I’d say definitely sometime this month, assuming each of the recovery projects supports a14.
[Samsung Galaxy Tab A7 Lite] tom.android:
which file for T225?
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
They were all built on the same tree with the same pre-patched kernel so they should all work
[Samsung Galaxy Tab A7 Lite] tom.android:
Can shares your kernel source ? Thanks
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
The kernel source itself wasn’t modified. The built binary was patched using IDA decompiler. There are power state triggers that needed to be modified in order to enable to touch screen drivers while in recovery mode. The patched kernel binary is included in the original post alongside the recovery files.
[Samsung Galaxy Tab A7 Lite] tom.android:
Thank you very much for your explain, because i'm new to compile custom recovery and tried to re-compiled A11 custom recovery for T225 with WSL2. need your recommendation if you can do.

Try to install your TWRP and SHRP only Touch Driver works but not "Disable_Dm-Verity_ForceEncrypt" i can't boot Stock A13 system. during flash this file my boot.img was modifired (patched).
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
If you want to recompile it, my GitHub has the device tree with the kernel already placed in the project folder and quick terminal instructions to compile it into TWRP

GitHub - R0GUEEE/android_device_samsung_gta7litewifi

Contribute to R0GUEEE/android_device_samsung_gta7litewifi development by creating an account on GitHub.

github.com
[Samsung Galaxy Tab A7 Lite] MrZaku086:
great work now we need custom roms and not only gsi for this tablet, a man can dream.
[Samsung Galaxy Tab A7 Lite] jomamal:
Could someone help me with this I have no idea where I'm suppose to start
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
You’re going to need a couple things to do this:

1.) Odin (the firmware flasher) https://androidfilehost.com/?fid=14943124697586345460

2.) Whichever recovery you choose. For this particular tutorial, we will go with TWRP. https://xdaforums.com/attachments/twrp-unofficial-gta7litewifi-tar.5969511

3.) The stock A13 for your device (preferably with the lowest possible bit REV… these are each REV 1)

T220 - https://samfw.com/firmware/SM-T220/XAR/T220XXU1CVL7

T225 - https://samfw.com/firmware/SM-T225/BTU/T225XXU1CVL5

T227 - https://samfw.com/firmware/SM-T227/TUR/T227JXU1CVL5

Turn your device completely off and enter download mode:

Hold Volume Up + Volume Down at the same time, then plug your device into your computer immediate while holding the buttons.

Open up the Odin software and flash your stock firmware. When you unzip the stock firmware, you should find 3-4 tar packages: AP, BT, CP, and CSC. Each go to their corresponding slot in Odin. Odin may freeze briefly when you select AP, just give it a minute. Once they’re loaded, just hit start. (If there are any issues, you may have to choose a different firmware with a higher bit REV). It’ll take a bit of time but once it’s done, you’ll be flashed completely stock.

Once your firmware is flashed. Setup your device as you normally would (although you don’t have to sign in to google or Samsung. Skip as many setup options as you can because you’ll just have to wipe your device again shortly)

As soon as you’re able, head into settings and scroll to the bottom where you’ll find your “About Tablet” and then “Software Info” section. Tap the “build number” box until a popup shows developer mode has been enabled.

Now head into the new developer mode menu in settings and find the option to unlock the boot loader.

Once you’ve done that turn your device off and head back into download mode. There should now be an option to long press Volume Up to unlock the bootloader and then confirm.

Now that your bootloader is unlocked and on fresh firmware, it’s time to install your custom recovery. Once again, head into download mode and start up Odin on your PC. Download TWRP from the link above, and select the tar file using the AP slot of Odin. Hit start and flash it.

Once that’s done, assuming there have need no issues, you should now be able to enter the custom recovery by holding Power + Volume Up until the Samsung logo pops up.

There are a few tutorials that may have some addition info since I wrote this tutorial entirely from memory:

https://xdaforums.com/f/samsung-galaxy-tab-a7-lite.12329/?prefix_id=37
[Samsung Galaxy Tab A7 Lite] tom.android:
Didable DM Verity ForceEncrypt for T225 did not works.
[Samsung Galaxy Tab A7 Lite] hexaheximal:
What changes did you make to the kernel to get touchscreen stuff working?

I can't find the kernel sources for these builds (the android_kernel_samsung_gta7litewifi repository you put on github is not equivalent - I checked), despite the fact that XDA does not allow modified kernels without equivalent source code available.
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
To get the touch driver working for a13 I had to modify the precompiled stock recovery kernel image using IDA Pro. The driver triggers were not active in custom recovery because of how the boot process worked. I used IDA to modify those triggers so the drivers would activate during the recovery boot. From there I included it in the device tree posted on my GitHub and compiled each recovery around it.
[Samsung Galaxy Tab A7 Lite] hexaheximal:
Whoa. That's... that's... I don't even know how to describe it...

So was it like a kernel module or something that didn't get activated?

Regardless of what the problem is, I can just patch the source code to do the same thing (as one can infer from the SM-T220 kernel package I made for postmarketOS, I've already figured out the patches needed to get it building fine) so you don't have to use a frankenkernel. Even if you don't need that I definitely do - the postmarketOS port has a broken touchscreen driver and I still haven't figured it out.
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
The kernel triggers were set to activate certain drivers during certain boot scenarios (download, recovery, OS, etc). During recovery, the touch drivers were always set as inactive because the stock recovery had no touch screen capabilities, so I just had to tweak the code of the binary to force driver activation during recovery. I never did find anywhere in the kernel source itself to fix the touch issues but my method worked just fine.
[Samsung Galaxy Tab A7 Lite] Zillion:
I didn't have to deal with any of that issues, I just had to add /vendor/firmware with a basic kernel built from source.
[Samsung Galaxy Tab A7 Lite] R0GUEEE:
I added those but without my modified kernel, the stock didn’t do anything. Nonetheless, it only took about 10 minutes to modify the binary with IDA and add it back to my device tree, and it ensured the touchscreen works 10/10 times no matter what recovery I compiled. Easy shortcut to avoid having to recompile the kernel from source.
[Samsung Galaxy Tab A7 Lite] Difficul:
Can you make a custom kernel which can allow to set overclock higher than 2300Hz ?
[Samsung Galaxy Tab A7 Lite] rudrasharma:
Bro tell me some ans

1. How to flash kernel in samsung t225? Vey important bcz i try but not cha ge my kernel

2. Then i flash twrp image by odin in ap section???

3. Is this kernel support kernelSu?????

Plzzzz reply as soon as possible!

Thanks
[Samsung Galaxy Tab A7 Lite] Alldayismokebomb:
What is gsi?