yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] DroidBatteria:
someone to shed some light, I installed the stock rom miui 11 [I even tried several versions] and strangely my sim card is not recognized or the device's ID and IMEI - I've done everything, and to make matters worse the bootloader is blocked, and to unlock it I need have data [YES] active - being impossible, my question - how to unlock bootloader without access to mi account ??? without using the sim card ??

Is there any way to unlock without using the sim card and IM account?

Or is there any way , way to solve the SIM CHIP detection ?

MI MAX 2 !!

Attempts already made : STOCK rom 9 \10 \ 11 via EDL mode; they all have the same error

already tried by the way of native app SIM ACTIVE MI - clearing cache, and giving the permissions !!

if someone gives me a direction I will give gratitude and recognition !!

Thks
[Samsung Galaxy A51 5G Questions & Answers] IndulgeInXDA:
Model number: SM-A516U

it's t-mobile but carrier unlocked now

Still no methods of making that OEM unlock button appear in US versions?

I've probably spent 20 hours on here looking for something to unlock the bootloader and root.

Coming to the point where I'm about to start a class action lawsuit against Samsung for right to repair laws. Bleh
[Samsung Galaxy A51 5G Questions & Answers] ShaDisNX255:
Only paid methods, but I don't even know if it's still feasible I just remember costs were pretty high.
[Samsung Galaxy A51 5G Questions & Answers] IndulgeInXDA:
Phones worth like $120 so yea makes sence
[Samsung Galaxy A51 5G Questions & Answers] velvetfox1337:
not sure if this is the correct thread, if not i do sincerely apologize, but here we go.

I purchased a referb samsung galaxy a51 5g (At&t if it matters)

the fact it was going to be frp locked wasnt i the details listed on the purchase. completely explains why it was discounted. however, i am atleast somewhat tech savy, so i decided to try and tackle this hurtle...

been rolling Nat 1 on a d20 for a month now... i have attempted to the best my skill lvl every youtube based "new solution" and every forum guided how to i could find. to no avail...

currently i am using it firing on 3 cylinders, im running a launcher parallel to the standard ui, and cant run any google based apps, dont have a home button, or a tabs button, notification bar, and have to back out of one thing to do another...

unfortunately i do not have access to a pc, or adb cable right now and wont for a while, however i do have an active sim card i it( using it as we speak) and have ordered a sd card so i can possibly boot from sd, however i csnt get developers menu to open, and God only knows hiw long its gonna take that card to arrive... im willing to attempt any sugestions sent my way, and i am semi versed in python, so termux/ linux is one of the options im looking at. but would like to have this device opened properly, i bought it legally and feel like 3 cylinders is ... less than it should be... i feel like im pushing a corvette... smh... please any ideas are welcome, if ive tried it already, ill try it again
[Samsung Galaxy M12] pando345:
is there already any really functional recovery port for the m12?
[Redmi Note 10S] muharremp:
hello everyone. I need to install burp certificate on phone as root certificate. I was able to do this with magisk. My certificate has been sent to /securit/cacerts . But I guess /It should also be sent to cacerts_google. Because when I enable proxy, I can't connect to google. I tried many times to move the certificate to cacerts_google but failed. No apps worked. adb commands are not working. Can anyone help? When I try to send, I get a "read only" error. I tried all known commands but it doesn't work. I allowed writing in file manager applications, but it still didn't work. An application was able to send the certificate, but it went 0kb. My phone is note10s. Version: miui13.6.0.

Thanks

I have twrp and magisk installed.
[Redmi Note 10S] roirraW "edor" ehT:
Hello muharremp,

Please see Rule 5 of 📚 XDA Developers Forum Rules 📚, particularly the two parts that I bolded:

Heads up that although you *can* bump your unanswered questions once every 24 hours, it's not wise to do so more than once or twice, and may still be considered abuse of the system if it goes on perpetually.

Also, I merged your first two posts. Instead of making two posts in a row, just use the Edit button on your existing post and add the new information.

If you have any questions, please PM me.

Thank you,

@roirraW "edor" ehT

P.S. Consider this a free bump of your thread. :) No bumps of thread are necessary for another 24 hours from now.
[Moto G Stylus 5G] ragarcia87:
View attachment 6093103

/*
*Disclaimer
*
* Your warranty is now void.
*
* We're not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/

Introduction

Images

​

​

Features

​

Installation instructions

​

Changelog

Downloads

FAQ

​

Thanks To/Credits
[Moto G Stylus 5G] jpearson82:
Thank you for this! I will give it a shot.
[Moto G Stylus 5G] ragarcia87:
You're welcome. Let me know! I am personally using it if course and so far only complaint I got is a little lag but touchscreen works out the gate with no need of a script or anything. Got it set to load the modules from vendor partition for touchscreen to work properly.
[Moto G Stylus 5G] ddougg:
Really ? It reboots to system instead of to a brick? What's next custom ROM? People like you restore my faith in humanity. Confirmed working
[Moto G Stylus 5G] ragarcia87:
Glad, to be of service :)

And thank you for confirming it's working. No problems with touchscreen or anything? (not that I am expecting there to be issues, just curious)
[Moto G Stylus 5G] Practixal:
i flashed the zip multiple times before realizing i was supposed to unzip it 💀
[Moto G Stylus 5G] ragarcia87:
My bad, I updated the post with explicit don't flash zip, unzip first. I apologize man. That's why on the expanded install instructions I named the zip like I did, lol. Did you get it sorted though?
[Moto G Stylus 5G] Practixal:
yea its all good
[Moto G Stylus 5G] ragarcia87:
K good. Wanted to make sure all was well. Confirmed working for you as well?
[Moto G Stylus 5G] Practixal:
yup, it does take a second after loading for the touch to work but it does work.
[Moto G Stylus 5G] ragarcia87:
Yeah that's normal. It's loading the modules from the vendor partition so it's mounting that first then searching for the modules then loading them
[Moto G Stylus 5G] jpearson82:
Does this work on Android 12?
[Moto G Stylus 5G] ragarcia87:
Um, I haven't tried it on Android 12. I will see about also compiling with Android 12 TWRP base. If you wanna try it on A12 and report back that would be awesome 👍
[Moto G Stylus 5G] jpearson82:
I'll give it a try :}
[Moto G Stylus 5G] ragarcia87:
Awesome! Let me know. Decryption might not work on A12. I'm compiling A12 based TWRP now. Seeing if it compiles anyways, lol.
[Moto G Stylus 5G] jpearson82:
Question. Do I need to do this from a stock/rooted device. What if I already have root with magisk installed? Do I need to uninstall Magisk first before doing this?
[Moto G Stylus 5G] ragarcia87:
No you dont have to uninstall it first. You can just use

fastboot boot twrp-boot.img

to just try it out first and see if it boots and works properly before picking Advanced Install to Ramdisk...
[Moto G Stylus 5G] jpearson82:
Alright. touch screen works after i turn off the screen and turn it back on. umm it also wont let me backup any data.
[Moto G Stylus 5G] ragarcia87:
Ok thank you. Yeah I didnt think decryption would work. It's meant for A11... but I will work on A12 compile version of it now. Just gotta get the right modules, etc from A12. Once It's done I'll add it to this thread in addition to the A11 version.
[Moto G Stylus 5G] jpearson82:
I look forward to trying it out!
[Moto G Stylus 5G] jasonmerc:
No offense man but I have no clue what you said there
[Moto G Stylus 5G] f0ndubious:
Possible Custom ROM links for the XT2131-1 (Compatibility Unknown)

https://yzu.moe/android-builds/[/URL]

https://t.me/electichannel[/URL]

Downloads for Motorola G8 Fast / Plus / Power (amogus)

downloads.blissroms.org

[/URL]

https://xdaforums.com/t/rom-13-amogus-aosp-13-0.4483745/[/URL]

https://xdaforums.com/t/rom-official-los-modded-19-1-discontinued.4392453/
[Moto G Stylus 5G] YTxIcyModz420:
looking forward too a12 version will defo test and report back after its released :D thanks so much for doing this the current version will boot but will not mount storage at all on android 12 :/
[Moto G Stylus 5G] jpearson82:
I am definitely looking forward to the A12 version too.
[Moto G Stylus 5G] ragarcia87:
I actually just got done with first test compile, havent tested it myself.. but if yall wanna try it I can send it to yall in PM to try.. just PM me...
[Moto G Stylus 5G] YTxIcyModz420:
pm sent
[Moto G Stylus 5G] ragarcia87:
UPDATE

Known Issues with Android 12 and TWRP

-For decryption to work, you must remove your pin/password and have only swipe set in security options

-Lag on splash screen. It might take up to 10-15 seconds before its fully booted. This is because the way I compiled my releases, is to mount the vendor partition and use your vendor partitions modules instead of including them in the img file. Just give it a second and it'll boot up.

//EDIT//

Tested pin number decryption and it works perfectly.

TWRP 3.6.2_12-v1 - Download attached below. Touchscreen works just like my Android 11 release. Tested myself, installed to ramdisk, flashed magisk.zip, etc.

//EDIT 10-2-2022//

I updated main thread post with the install directions and the downloads.
[Moto G Stylus 5G] jpearson82:
Well I can confirm that backing up data is working like a charm. Thank you for this!
[Moto G Stylus 5G] ragarcia87:
You're very welcome! :) Glad to be able to help.
[Moto G Stylus 5G] jpearson82:
Is it safe to install to ramdisk if I am already rooted with magisk already installed?

EDIT: nvm I just uninstalled magisk and then reflashed it in recovery.
[Moto G Stylus 5G] YTxIcyModz420:
are there any roms yet
[Moto G Stylus 5G] BLeAk11:
Recovery works but Wifi stopped working on my device
[Moto G Stylus 5G] ragarcia87:
You didn't install the Android 11 stock-boot.img did you?
[Moto G Stylus 5G] BLeAk11:
no, i used the one you gave me in PM
[Moto G Stylus 5G] ragarcia87:
Did you do:

fastboot flash boot a12-twrp-boot.img or this fastboot boot a12-twrp-boot.img

Either way, I PMd you my telegram if you have it. If you'd like me to continue troubleshooting, it would probably be easier that way. :)
[Moto G Stylus 5G] BLeAk11:
All sorted now thank you. I think it mustve been the wrong stock boot.img. Thanks for the help and your work on the recovery.
[Moto G Stylus 5G] ragarcia87:
You're welcome. Glad you got it sorted. I updated the thread and removed the stock boot part of the directions and made it less complicated. :) Enjoy!

//UPDATE//

I am going to release an update soon to both recoveries fixing fastbootd mode
[Moto G Stylus 5G] BLeAk11:
Yeah its maybe better to let folks extract their own boot.img from their stock rom, to avoid confusion.. I'm not sure. But thanks again
[Moto G Stylus 5G] ragarcia87:
UPDATE

Just updated the attachment on first post with latest A12 with Fastbootd working... A11 still doesnt work but I am phasing it out... wont update it anymore...
[Moto G Stylus 5G] jpearson82:
Awesome! Thank you for the update!
[Moto G Stylus 5G] jpearson82:
I should probably give you a heads up. I noticed when I am doing a backup in recovery. when it gets to the end it says the following:

createTarFork{} process ended with ERROR: 255

Backup Failed. Cleaning Backup Folder.

Yet when I go to the backup folder it still has the backup files in there. Do I just ignore this message or is the backup gonna be corrupted and unusable?
[Moto G Stylus 5G] ragarcia87:
Well dag nabbit... Lol.. once I wake up I'll work on it before work. That's weird, I am using the latest version and didn't see that.. which partition was it you were backing up?
[Moto G Stylus 5G] jpearson82:
data partition
[Moto G Stylus 5G] ragarcia87:
Yeah, I just tried mine out and see it now. I'll work on it when I go to work tonight. For now, just use the previous version and I'll fix it after I wake up..
[Moto G Stylus 5G] jpearson82:
It did the same thing on your last version too :} Its alright. Take your time bro.
[Moto G Stylus 5G] ragarcia87:
Ahh.. seems it's an A12 bug when backing up data partition... I can live with that lol .. gonna test out if I remove screen lock first then try backup if it finishes smoothly..
[Moto G Stylus 5G] maddog3030:
That may not be twrp's problem I ran into the same thing and was due to corrupted data in the folders it was trying to back up, I deleted the folders restarted the phone the new folders backed up just fine.
[Moto G Stylus 5G] jpearson82:
What folders might those be if you don't mind me asking?
[Moto G Stylus 5G] maddog3030:
You'll have to check the error log at the end of backup, for me it was /data/fonts/....5 encrypted or curroped folders
[Moto G Stylus 5G] maddog3030:
There is a problem with fastbootd HAL

It is not recognizing some of the commands, could that be from TWRP?
[Moto G Stylus 5G] ragarcia87:
What is the error? Could you screenshot it for me?

@jpearson82 -- As @maddog3030 said, I removed the folder /data/fonts completely and rebooted, then tried to backup data again and it worked flawlessly.. So the issue isnt with TWRP.. altho I am releasing and update right now... lol..

Here is screenshot to show successfully backed up /data with latest recovery I just released 3.7.0_12-v2

Also...

//UPDATE//

Just compiled brand new TWRP 12.1 and it just so happens to be TWRP 3.7.0_12-v2 ... didnt realize 3.7.0 was released yet but it guess its what it is lol.. testing out if /data backup is working before I release...

Also, discontinuing support for TWRP 11 for Android 11... I will leave it as download available to those that use it still however I will only be releasing Android 12 recoveries here on out...
[Moto G Stylus 5G] jpearson82:
Ok i updated to your latest version and deleted the data/fonts folders and backup was completed successfully. Thank you ragarcia87 you are a damn recovery god! Lmao

Thank you maddog3030 for pointing us in the right direction!
[Moto G Stylus 5G] ragarcia87:
That's not a TWRP issue that's normal when in fastbootd mode. Since fastbootd is in userspace it can't access HAL. Also I fixed all the fscrypt errors.
[Moto G Stylus 5G] maddog3030:
Ok

Ok
[Moto G Stylus 5G] YTxIcyModz420:
why does it say createtarfork() process ended with error:255 when backing up data?
[Moto G Stylus 5G] ragarcia87:
Read the thread .. few posts up. Shows how to solve the problem

//EDIT - TO AVOID DOUBLE POSTING//

Anyone interested in OrangeFox Recovery version? PM me for installation zip.
[Moto G Stylus 5G] crazypwn:
I rooted this device before the android 12 update was released and sense you awesome ppl have 12 on root I tried to do and system update which I would then use the new method for it's root/recovery, etc but when I try to update it states that the it is not compatible with what is installed(well obviously I'm trying replace v11 with 12). Is this because it's reading that it is rooted and not stock firmware? Should I do a complete restore of a stock firmware (being android 11) then do a system update before trying the newer version root method?
[Moto G Stylus 5G] ragarcia87:
Being rooted and bootloader unlocked will usually not allow you to use the usual Update System on the device. The way I updated my rooted system to the latest Android 12 from Android 11 and kept my userdata was by doing it manually using fastboot.

I used the motoflash2sh script and used the generated sh file to flash the stock Android 12 rom over my Android 11 without wiping my data.

The stock updated Android 12 rom I ued was "DENVER_GLOBAL_S2RES32.29-16-1-5_subsidy-BOOST_DISH_regulatory-DEFAULT_cid50_CFC"

I attached the script file I used to flash it. Use at your own discretion...
[Moto G Stylus 5G] crazypwn:
Great ty. I've rooted devices in the past but this is the first Ive actually cared about updating it while keeping root access. Honestly I'm fine with it on 11 but it's constantly pulling up a screen wanting me to update which every time kicks me out completely of games(I tell it not now and then 20min-hour it kicks me out again) but after I believe 30 times of "not now" it sort of hibernates for a few weeks without asking anymore.
[Moto G Stylus 5G] ragarcia87:
Now you will have to re-root the boot.img unless before you flash the update you copy the boot.img to your phone and use magisk to patch it then use the patched boot.img in the stock flash upgrade... either way, youll have to reroot but you wont lose data and youre modules will still work etc
[Moto G Stylus 5G] androiddlifee:
Hello. I don't have a PC to root my device. However, is this thread away to download the twrp then load the magisk root?
[Moto G Stylus 5G] maddog3030:
You can get roots with magics and boot image but you need a PC to install TWRP
[Moto G Stylus 5G] maddog3030:
Check the "info" thread post #8 and #9
[Moto G Stylus 5G] androiddlifee:
Thank you will check now
[Moto G Stylus 5G] abense:
Installed this and root after OEM Unlocking was enabled after 72 hours. Everything working great. Can't wait to see a ROM
[Moto G Stylus 5G] Flexlew:
You can always use a second phone to send the file I used

Bugjaeger Mobile ADB -USB OTG to root my phone it's an amazing app and it's free
[Moto G Stylus 5G] miker1111769:
Hey all,

I've been rooting, flashing and unlocking phones for years so it seriously kills me to ask such a noob question!

How the heck do I get to the recovery menu (Not rootedat the moment)!

I've gotten there twice, and it keeps seeming luck dumb luck I'm getting there...

And I've searched for 5 days on this....

I do the volume down+power, Get to the bootloader, volume to recovery, get to the "no command" screen, and from there it either just sits forever, I've tried power+volume up from that screen which sends it back to a normal boot... and all kinds of other things! that aren't working....

So can someone please give me the exact procedure to get into recovery? lol thanks!

Mike
[Moto G Stylus 5G] maddog3030:
hummmm....5 days

First unlock bootloader then

Follow the instructions on the 1st page of this thread
[Moto G Stylus 5G] miker1111769:
Well gee thanks, I didn't start at the beginning I decided to start backwards.

The first thread says nothing about getting into recovery BEFORE installing TWRP.

Now if I could just get an answer to the original question that'd ve much appreciated
[Moto G Stylus 5G] maddog3030:
Hummmm...

1) adb reboot bootloader.

2) fastboot boot a12v2-twrp-boot.img

3)

Once TWRP boots up, go to Advanced > Install Recovery Ramdisk

Then choose the a12v2-twrp-boot.img

Then go to Install and choose the Magisk-v25.2.zip file to re-root the device

Then go to Reboot > System....

Profit 😁 Doesn't get any clearer.
[Moto G Stylus 5G] ragarcia87:
Use the app like https://play.google.com/store/apps/details?id=eu.sisik.hackendebug and enable wifi adb in developer settings, and connect that app to the WiFi adb on your phone and use the app to send the command adb reboot recovery to get it to recovery... Best way if you don't got computer
[Moto G Stylus 5G] miker1111769:
Did you even read my original post?

I want to know how to get to the recovery of an on a unrooted moto g stylus 5G XT2131-1!

hace I confused you?
[Moto G Stylus 5G] ragarcia87:
I explained how to get to stock recovery on unrooted stylus phone. You don't have to be rooted to use wireless adb. Just enable developer options and do as I instructed. Either way.
[Moto G Stylus 5G] Tommy2tones2022:
When you get to the no command screen hold power button while tapping the volume up button. It works for me.
[Moto G Stylus 5G] MineMasterHD:
So I made the mistake of forgetting to backup the stock boot partition like I normally do before flashing the Magisk .zip. This is fine for now but I know it will become an issue when the next OTA update is released. What is the simplest way to perform the OTA update without losing data?
[Moto G Stylus 5G] MineMasterHD:
Thanks. I had no idea motoflash2sh is a thing. This will be very helpful.

Where do I get the original firmware files from?

As for re-rooting, my process is a little different. In the past, on my Moto G Fast (rav), I never permanently flashed the recovery to the phone. I used fastboot to boot TWRP, create a backup of the stock boot image (to make OTAs easier next time), use Magisk to create a patched version of that boot image, go back into fastboot, and flash that boot image with fastboot for root.

Then, when OTAs came around, I would simply use fastboot to boot into TWRP again, restore the stock boot image from the backup I made previously, and then with that, I can perform OTA updates normally through the system updater. Once the update is finished, I repeat the steps of backing up the stock boot image, patching, and flashing.

Similarly, with this denver device, I did not permanently flash TWRP. I simply booted it with fastboot and then flashed the Magisk .zip.

It seems like an easier way to get the OTA update done would be to keep the boot.img from the most recent OTA update, flash that boot.img when the next OTA update comes around, update it, and then follow my usual rooting process.

Would this still work on denver?
[Moto G Stylus 5G] ragarcia87:
It should still work.. Magisk has this nice little feature that if you are on stock boot.img when you flash the zip file it makes a backup of the original stock boot.img file on your phone, I think in the /data/ partition but dont quote me... and then you can go into Magisk and click uninstall (its for otas) and it will restore that backup of the original boot.img stock so you can do the ota.. then before reboot for ota... go back to magisk and pick install to other slot or something like that... so that when it reboots for ota it reinstalls magisk on the reboot

i think thats how that works... either way... you can find the files a few ways... theres a telegram to get them and also https://mirrors.lolinet.com/firmware/motorola/denver/official/
[Moto G Stylus 5G] callihn:
I don't see any XT numbers or code names in about phone, I bought the unlocked version currently on sale for black friday so I don't know if this is what I need? Can anyone verify?
[Moto G Stylus 5G] ragarcia87:
Go to Settings > About Phone > Regulatory labels

That will show the XT number such as below
[Moto G Stylus 5G] MineMasterHD:
Something unrelated to root but I wanted to ask: Is there any way to disable the creation of shortcuts for newly installed apps with the default Moto launcher? I don't see any option for it in the launcher settings like I usually would.
[Moto G Stylus 5G] ragarcia87:
Yeah, just long tap on the home screen and then pick settings and you can change it there i believe.
[Moto G Stylus 5G] callihn:
Thanks, I found it, everything is a few more taps in 12, annoying. The wifi calling quick tile keeps coming back up too but only on one phone. Weird!
[Moto G Stylus 5G] MineMasterHD:
That's what I usually do. But it appears on this phone the launcher settings don't have any option to disable this.
[Moto G Stylus 5G] ragarcia87:
It is it's just hidden. Long tap the home screen then go to Home Screen Style and then push the little cog and you can edit the setting there
[Moto G Stylus 5G] MineMasterHD:
Oh wow, that is really buried. Thanks once again. I never would have found that.
[Moto G Stylus 5G] ragarcia87:
No worries and yeah very buried... I had to search Home in settings lol and then click every option lol
[Moto G Stylus 5G] Kerrylee1738$$$:
Would this work for xt2131-1 model?
[Moto G Stylus 5G] ragarcia87:
Yes the XT2131-1 model is denver. This was made for it. 😀
[Moto G Stylus 5G] Kerrylee1738$$$:
How did you unlock bootloader? Motorola said mine wasn't eligible