yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] JesusFreke:
Yep, that's exactly what I'm doing. I'm planning on posting a recovery.img for others to use, since trying to build the thing from scratch is a pain, and takes forever.

I assume you're talking about libaudio.so and librpc.so?

Good idea. Even better would be if we could put the installed apps and all data on the sdcard.. But that would probably be a harder modification than just resizing the partitions.
[G1 Android Development] cmonex:
that partition is the config partition, standard HTC stuff.

T-MOB010 is your CID (carrier ID, spl checks this when flashing NBH), but it is only a backup copy of it, the real CID is in radio part of nand (protected!).

and the rest is just config stuff for SPL and radio. (yes HTC uses strings to set these configs - SPL reads the strings from specific nand addresses and decides what to do)
[G1 Android Development] cmonex:
very nice stuff! have you been able to reflash a recovery.img then to fix the corruption?

and you are right about the boot order... it's : radio bootloader -> SPL (that tricolour screen is SPL mode) -> boot.img or recovery.img.

(if boot.img then the OS loads)
[G1 Android Development] JesusFreke:
Yep. I screwed up the recovery partition and rebooted, and wasn't able to boot into recovery mode. It just went into SPL mode when I tried. Then I normal booted and re-flashed with the original recovery.img and rebooted, and was able to boot into recovery mode.

Thanks for the info on the boot order. I didn't realize the radio image was used for booting, I figured it was just firmware for the 3G chip or something.

I'm getting close to being able to apply my own update.zip style update. I've been able to reflash the recovery partition with a custom built recovery image that skips the signature verification. I'm having a touch of trouble getting it to actually install an update.zip though. It keeps saying "update script not found", even though there is a "META-INF/com/google/android/update-script" file in the zip. Arg! Anyways.. I'm in the process of tracking the issue down. More to come! :)
[G1 Android Development] staulkor:
Ah! Excellent info.
[G1 Android Development] JesusFreke:
I was finally able to get the rebuilt recovery tool to work. The problem with the update.zip was due to the fact that the zip was built in windows, so it had the wrong path separators. It was looking for META-INF/com/google/android/update-script, but the zip file contained META-INF\com\google\android\update-script

After switching the slashes around in a hex editor, it installed the update no problem.

Next, I was tempted to try to flash the boot partition. I was somewhat sure that I would be able to recover from a bad boot flash, with my nifty new recovery tool. But after reading about the guy that bricked his phone (over in the root thread), I was a bit scared.

But I finally went ahead and decided to give it a try. You only live once, right?

So I opened up a root console, and just wiped the boot partition clean. "cat /dev/zero > /dev/mtd/mtd2" and rebooted. Palms sweaty.. breathing hard.. shaking.. Powered the phone on (without holding down home), and it comes up to the recovery tool. So far so good. Then I ran the update on the sdcard - it was a smallish update I had created before hand that just flashed the original boot image back to mtd2. Update runs fine.. phone reboots....

And it boots up normally.

yes!

*takes a big sigh of relief*

So now I can mess around with the boot partition, and know that I have that recovery tool safety net.

And now. It's time to sleep. *head hits the keyboard*
[G1 Android Development] humble:
very cinematic :D good job mate!
[G1 Android Development] staulkor:
Very nice work :)
[G1 Android Development] Chainfire:
Congrats on the successful flash!
[G1 Android Development] alansj:
strings in mda1.img include:

ANDROID!
no_console_suspend=1
-- System halted
ran out of input data
Malloc error
Memory error
Out of memory
incomplete literal tree
incomplete distance tree
bad gzip magic numbers
internal error, invalid method
Input is encrypted
Multi part input
Input has invalid flags
invalid compressed format (err=1)
invalid compressed format (err=2)
out of memory
invalid compressed format (other)
crc error
length error
Uncompressing Linux...
done, booting the kernel.

What are these images? Are they filesystem images that you could theoretically mount? If so, what filesystem (I haven't gotten anything to work).
[G1 Android Development] alansj:
Also, is recovery.img the place from which the phone grabs the root filesystem every time it reboots, in order to replace any changes you've made? I noticed this behavior because I was trying to modify init.rc, but when I rebooted it would be reverted back to the original. It also appears that any new files written to the root directory disappear.
[G1 Android Development] jimparis:
It's a Linux kernel (gz) + initramfs (cpio + gz).
[G1 Android Development] JesusFreke:
recovery.img

No, the boot image contains an initramfs image that contains the root file system that gets loaded when the phone boots normally. If you want to permanently change anything on the root filesystem, you have to modify the boot image.
[G1 Android Development] Technogen:
Does anyone know if R30 will remove the ability to flash the OS?
[G1 Android Development] goodwinm:
We all do...
[G1 Android Development] Technogen:
Yes, well that didn't directly answer my question but thank you. I was assuming that the lack of root access would effect this but I wasn't sure.
[G1 Android Development] goodwinm:
Ok, the long answer: RC30 is not out yet, nobody has seen it.
[G1 Android Development] JesusFreke:
Yes it is :D
[G1 Android Development] prep.krypton:
i know this thread is old, but i've been tryna get this apps-to-card since monday.

everytime i put in "cat /dev/mtd/mtd0 > /sdcard/mtd0.img" i get "/dev/mtd/mtd0: permission denied".

what is going on right now?
[G1 Android Development] Chardodrifteer:
wrong wwrong worng
[Moto G9 Plus ROMs, Kernels, Recoveries, & Other De] CustomRom's:
View attachment 5582217

# EvolutionX | 6.2.2 #

Version: 6.2.2

Patch : April 2022

Device: odessa

Maintainer: KarolineMoraes

Build Status: UNOFFICIAL

Evolution X is a flashable Custom ROM to bring a true Pixel feel to your Android Device at first glance, with many additional configurations at your disposal. We aim to provide frequent builds with monthly security patches from the latest aosp sources.

Based on Android 12.1

Changes ⬇️

• Enabled ZRAM for best performance.

• Moto Actions

• implements

BLOG-EvolutionX

Known issues

Nothing yet

You tell me

DON'T FLASH GAPPS, ALREADY INCLUDED

DOWNLOAD

DIRTY FLASH :

Download the latest build

Reboot to recovery

Flash the latest build

Wipe Cache

Reboot

Telegram Group

Telegram Group for Odessa

EVOLUTION - X

Android OS version: 12.1​

Security patch level: April 2022​

Contributors:

Big Thanks to @erfanoabdi for their amazing working on trees.​

Source code​

Evolution-X​

Kernel Source code​

Kernel Source​

Device Specific Code​

Motorola_Odessa

Version Information

Status: STABLE

Stable Release Date: 07-04-2022​
[Moto G9 Plus ROMs, Kernels, Recoveries, & Other De] christjeam:
This is the best custom rom for this devices right now, working perfectly!
[Moto G9 Plus ROMs, Kernels, Recoveries, & Other De] Habub181:
How many rom's have you installed on this device? You seem to have installed them all :LOL:
[Moto G9 Plus ROMs, Kernels, Recoveries, & Other De] CustomRom's:
yes because before sharing I test to see if it is stable, then I build and test it ;)😊
[Moto G9 Plus ROMs, Kernels, Recoveries, & Other De] christjeam:
Like 5, it really is between Evolution and CherisOS, they are very well optimized, but each one has some things that the other does not have
[Greenify] TechShelter:
Just as the title state... It seems like it would be not much work for Greenify to check for Insular if Island is not present and issue the same commands. Any chance we will ever see this?
[Redmi 9C Questions & Answers] JanitoG21:
I'm using both the cROM and cRecovery from this thread, but after I erased MIUI and tried to install LineageOS, it doesn't install

I'm screwed?

It's unable to open loops from 17 to 20
[Xiaomi Poco X3 Pro] ItsSubhro555:
Hello, I uninstalled POCO launcher through ADB, now my recent button isn't working. Reinstalling it fixed the issue

earlier, but is there a workaround to fix this? Without installing the launcher? Currently using Nova launcher.

The default POCO launcher freezes(6-7secs) with no icons but wallpaper when returning from other apps(not always but it's irritating). So I want to kick this rusty nut out completely.
[Xiaomi Poco X3 Pro] borisku:
Did you try to deactivate the poco launcher insteat of uninstalling?
[Xiaomi Poco X3 Pro] ItsSubhro555:
How to deactivate? You mean? Disable?
[Xiaomi Poco X3 Pro] borisku:
Thought it should be: Settings=> Apps=> "Poco Launcher" => deactivate, i'm running AICP, so i can not tell you the exact way, but with AICP you can deactivate (because the launcher is a System App, System Apps are diffcult to uninstall, only with root ) AICP Launcher, and this should be able with stock, too
[Xiaomi Poco X3 Pro] ItsSubhro555:
No such option, even in app info.
[Touch Pro, Fuze General] msvakos4589:
Anyone know if there is a phone dialer we can install on the TP. The biggest issue i have is when someone calls who is not in your contacts, it comes up unknown number once the call connects and you can't see there caller ID until you hand up. On the Mogul, the number stayed on the dial screen so you could look at it and say is this your number XXX-XXX-XXXX.

Sort of a pain to work around. any insight would be greatly appreciated. thank you.
[Touch Pro, Fuze General] TomasNM:
If you see only Unknown number,perhaps opposite is using CLIR service. Normally it should be available to see all incoming numbers,even is not in contactlist.

Anyway,there is a choice to use another dialer than HTC's...it's builtin MS dialer,which I find much better. All you need is to disable phone skin in Advanced Config.
[Samsung Galaxy Watch] samsmith5:
Is there a way to bypass the message that won't allow galaxy gear 1 to connect to a Samsung fold 3?
[Samsung Galaxy Watch] galaxywatchuser:
No idea but did you try download a much older version of galaxy wearable? https://www.apkmonk.com/app/com.samsung.android.app.watchmanager/#previous
[Samsung Galaxy Watch] samsmith5:
Just tried the oldest one in that link and it wouldn't install. I'll keep trying older ones like you said.
[Realme C21] leon2299:
For Android 10, you need to flash the magiskboot.img and vbmeta patched by Magisk with verification disabled.

Download Platform Tools (we unpack the folder itself and throw it on disk c) and the oppo drivers (install them), also the patched Magisk boot and the stock vbmeta (we throw the boot and vbmeta into the Platform Tools folder)

go to the phone settings and turn on the developer mode, tapping several times on the build number, go there and turn on usb debugging, go to the c drive, open the folder from the tool platforms, write cmd on the command line of the folder and press enter, the adb console will open.

Spoiler content hidden.

Spoiler content hidden.
[Realme C21] logforjj:
I have seen vbmeta is optional in Magisk document so I did not write it.

Also, for me, because I usually have problem with ADB command, so I root mine without it. (install Magisk.apk & moving boot and patched one manually.)

Only tool I used here is MTKclient, and got some something interesting here, because I got bootloop with orange state, differs to other into launcher. So I decided to flash patched boot with other partitions

at the same time just after unlock my devices with MTKclient's GUI. Escaping bootloop, then I can use Magisk smoothly like others.

p.s. If u cannot connect devices with ADB, changing USB option to MTP.
[Realme C21] logforjj:
to me, I never be in fastboot.
[Realme C21] leon2299:
It is not necessary to sew the MTKclient, it is enough for them to unlock the bootloader with one command, then you charge the flash drive, and sew all the partitions, after that you make a root, patch with a magic boot, fill it with anything, at least with a flash drive, at least through a fastboot, at least with a mtk client, why sew with a flash drive, because the filling speed of the super section is very low for the client's mtc.
[Realme C21] leon2299:
fastboot works perfectly on this device and only on android 10, and it is more convenient to use it, unlike the mtk client
[Realme C21] logforjj:
seems this guide is the most fastest way to root this phone, hoping new players can see this topic as soon as they start rooting their devices!
[Realme C21] logforjj:
something did not match this topic: could you share any suggestion to push this devices to the best performance?

I see no custom rom or kernel to overclock or neaten, this make me dissapointed after rooted.
[Realme C21] leon2299:
You can do custom, download the GSI firmware, unpack the super partition, there will be an image of systems.img, delete it, rename the GSI firmware to system.img, copy it instead of the remote system.img, and pack all this into a format raw then sew the mtk client, well or pack in spars format and sew with a SP Flashtool, if GSI 11 is an android, then you must have realme UI2.0 installed
[Realme C21] leon2299:
if you want, I can make you a custom, unpack and pack, I know how, and there just sew a mtk client, a section with a super team:

python mtk w super super.img

super itself needs to be thrown into the client's mtk folder

all at your own peril and risk

well, or do it yourself, in any case, I shared the information, try it, I put these on this device myself GSI

TrebleGSI - Browse /LiR/2022.03.25 at SourceForge.net

sourceforge.net

you can try this
[Realme C21] logforjj:
Well, it seems that these operations are beyond my comprehension.

I've been trying to understand your instructions and find information about them for a while now:

GSI firmware

A/B system

what is super.img

tool to unpack and edit it

It seems that I can't finish the previous operation

unpack tool says: logical partition metadata has invalid geometry magic signature

simg2img says: it is not a super.img

I might know how to write super.img to my device since I have fixed it about unbrick and no sim & IMEI

https://xdaforums.com/t/the-phone-t...ient-client-gui-function-please-help.4420657/

I would appreciate it so much if you would explain the steps in more detail😘(or just make me a custom because of my brainless...)
[Realme C21] logforjj:
wait...

What agZ bgZ avZ bvZ and lite mean? · Issue #20 · eremitein/treble-patches

github.com

Maybe I can hadle it by myself.
[Realme C21] leon2299:
┤Mod Edit├┤Download link removed├
[Realme C21] logforjj:
stuck in orange state, can not boot in (have been wait for a while)
[Realme C21] leon2299:
if you did everything correctly as in the manual, then when there will be an inscription when loading the orange state, you need to wait 5 minutes, then the system should start, if it does not start, then you are doing something wrong.
[Realme C21] logforjj:
sorry for that I do not I have to wait for so long, I go into recovery and wipe data last night, I think I can do custom rom again now and should be success after 5 mins.View attachment 5582959
[Realme C21] logforjj:
After super flashing step is done, I will plug off directly to disconnect without mtk reset.

it does not start after 40 mins.
[Realme C21] logforjj:
View attachment 5582987View attachment 5582989View attachment 5582991View attachment 5582993View attachment 5582995View attachment 5582997
[Realme C21] logforjj:
How to flash a Generic System Image (GSI) on Project Treble supported devices

So your device supports Project Treble, what does that mean for you? It means you can flash a Generic System Image such as LineageOS or Resurrection Remix! Enjoy AOSP-based custom ROMs! Here's a guide on how to install these ROMs.

www.xda-developers.com

I think I got problem due to some manual operation before, like using Magisk patched boot as version 24.2 before processing,

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

this is what I concerned about, maybe I never do this on my device？Trying AOSP you provided after waiting an hour for lineage OS, any suggestion is welcome!
[Realme C21] leon2299:
name your region, what firmware and what region you installed before further manipulations, I will download the firmware for your region, get super from there and make you a custom
[Realme C21] logforjj:
Need to apologize to you for my careless here again, I have not known what that hint means in English exactly, I suppose that it is okay to work on android 10 with realme UI 1.0. I started rooting and unbricking when I initially was android 11 with realme UI 2.0 and end up with android 10 with realme UI 1.0. with magisk 24.2. now I am unbricking device to get information for your demand to getting clear about my region and other.
[Realme C21] MrMiyamo:
Thanks for the simpified method,

But in past, we were not able to boot in to fastboot mode with "adb reboot bootloader" command or with volume+power key combination, unless we unlock bootloader with mtkclient. (the adb way still not works)

Did it just worked for you?
[Realme C21] logforjj:
BTW I find this

GitHub - HemanthJabalpuri/twrp_realme_RMX3201: TWRP for Realme C21. Status: booting

TWRP for Realme C21. Status: booting. Contribute to HemanthJabalpuri/twrp_realme_RMX3201 development by creating an account on GitHub.

github.com
[Realme C21] logforjj:
now just stock in bootloop, I thiink I should get into realme UI recovery asap, just can not getting how to trigger it.
[Realme C21] MrMiyamo:
I already know about it, i am the one who help him to make a working twrp by testing and giving feedback.
[Realme C21] leon2299:
I don't know what it is, but it works for me)
[Realme C21] leon2299:
please tell me how to collect it?
[Realme C21] leon2299:
what country do you live in?

I will download the firmware for your country and make it custom for you

Well, that's why you couldn't log in and waited 40 minutes, android 10 doesn't go to custom, since it's custom 11 android itself, although there are also under 10)

Яндекс

Найдётся всё

disk.yandex.ru

if you have now installed 10 android, put this super
[Realme C21] logforjj:
View attachment 5583361View attachment 5583363
[Realme C21] leon2299:
put this on android 10

Яндекс

Найдётся всё

disk.yandex.ru
[Realme C21] logforjj:
View attachment 5583365View attachment 5583367View attachment 5583369
[Realme C21] leon2299:
well, you have android 10, custom super needs to be set from 10 to 10, on UI2.0 you can put custom super 11 and even 12 android
[Realme C21] logforjj:
Google Drive: Sign-in

Access Google Drive with a Google account (for personal use) or Google Workspace account (for business use).

drive.google.com

Sorry I am unbrick my device
[Realme C21] logforjj:
I bought this phone in Taiwan. And we have some region restrictions and we can not unblock BL with oppo official it just doesn't open.
[Realme C21] leon2299:
you wanted custom?

did everything right)

Custom install only on an unlocked bootloader
[Realme C21] leon2299:
do you live in taiwan?

upgrade to android 11 through the settings, do not root yet, if the fastboot worked on 10, it won’t work on 11, you need to upgrade in order to put you a custom super that I shared at the very beginning, and which doesn’t start for you
[Realme C21] logforjj:
i

it shows no upgrade for me, I will flash a android 11 alternately.

I can not find any useable file on the net.
[Realme C21] leon2299:
why sew one by one, download the firmware ofp, unpack it, and use a flashtools

download from here:

Realme Firmware Update (Stock ROM) - Realme Firmware

Flash your Realme phone with latest firmware rom (Flash File) via Realme Flashtool.

realmefirmware.com

even after unpacking, you will have to glue the super section with something for your region

I will download, unpack, glue Taiwan Super for your region, and post the link here

Maybe someone will be interested, I convert from saved format to equal and vice versa, unpack firmware ofp with subsequent gluing under the super region, unpack and pack img images, just one uka program, a module for magisk, you must have a root with magisk before installing this program , in the magisk itself, put this module, after that put the terminal, which I attached below, go to the terminal and enter:

su -enter
menu -enter

you will see a menu with all the useful functions of the kitchen

I will also attach a good file manager for you

link to topic:

┤Mod Edit├┤Download link removed├
[Realme C21] logforjj:
it is okay for me, I think I can flsh all these images into my Android 10.

View attachment 5583843
[Realme C21] leon2299:
you will not be able to flash until you glue super for your region from pieces

I will help you, glue it, and send you a link to download the firmware

already downloaded, unpacked and glue your super)

and based on this super I will make you a custom

first install the stock firmware 11 of the android, then install the custom super, before uploading the custom super, be sure to flash it with the command:

python mtk w vbmeta vbmeta.img.empty

then pouring custom:

python mtk w super super.img
[Realme C21] logforjj:
View attachment 5583867
[Realme C21] leon2299:
lol, they just forgot super, I explained to you, you need to glue super, which I’m doing now, and then put it in the scatter so that the flashtool sees it and sews
[Realme C21] logforjj:
View attachment 5583871

after SPflsh tool : python3 mtk w super super_TWOP.img

seems super is the only image did not be flashed by SPflash tool
[Realme C21] leon2299:
don’t sew for now, you need to super glue it for your region, and in order for the flashtool to see it, the scatter needs to be edited, I’ll do everything, wait.

it's the same time, unpack, pack, pour, go for a walk, then I'll lay out everything and sew safely
[Realme C21] logforjj:
OK I see, I will use SPflash tool again to flash all images together after you edit scatter.txt by map.
[Realme C21] leon2299:
yes, everything will have to be done all over again

the firmware is already ready, I glued the super for your region, now based on this super I will make you a custom

Yandex disk is suitable?

I can fill in
[Realme C21] logforjj:
I will try to get your file from Yandex( but if it need a "phone number verify"then I can not since it brick now

So maybe google drive?
[Realme C21] logforjj:
View attachment 5583879anyway TWOP is flashed, may I try to boot in?
[Realme C21] leon2299:
and why the phone number, just throw off the download link

Well, I'll try on Google, if the number does not request)))

already copied to google drive, wait

20 minutes
[Realme C21] logforjj:
Okay, just upload the file the quickest way you feel convenient and I'll get it as I try to follow up！
[Realme C21] logforjj:
same to me, when I tried to root this device and saw at most posts ask you get into bootlaoder and unlock it, but this device has its own official recognize unlock BL way, and tool online just and adb command just not usable for me, so I dig into mtkclient.
[Realme C21] leon2299:
RMX3201export_11_C.09_2022031900070000.7z

drive.google.com

keep stock for now

be sure the firmware will rise and specifically for your region
[Realme C21] logforjj:
just stuck Yandex registration due to capcha error.

Have sent request to you.View attachment 5583907
[Realme C21] leon2299:
ready

RMX3201export_11_C.09_2022031900070000.7z

drive.google.com

now still custom super zalyu
[Realme C21] leon2299:
link to custom

LineageOS 18.1 Mod.7z

drive.google.com

try it and good luck!
[Realme C21] leon2299:
just don’t be silent, did you manage to do something so that I calmed down, I still worry, I tried to do everything as correctly as possible
[Realme C21] logforjj:
View attachment 5583977