yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] FiniteCode:
Hi everyone,

I'm currently having trouble finding the device tree blob (.dtb) file on my Motorola phone running Android 12. I've tried unpacking the boot image file using various tools, but I haven't been able to locate the .dtb file.

Here are the steps I've taken so far:

I've rooted my phone and have access to all system files.

I've unpacked the boot image using the Android Image Kitchen and other tools, but I can't seem to find the .dtb file.

I've checked the "firmware" and "by-name" folders, but I couldn't find the .dtb file there either.

I've even tried using the dtc (Device Tree Compiler) utility to convert the device tree blob to a human-readable text file, but the resulting file was empty.

I'm at a loss as to what to do next. I need the .dtb file to make some modifications to the device tree information, but I can't seem to find it anywhere.

Has anyone else experienced this issue with a Motorola phone running Android 12? Does anyone know where the .dtb file might be located, or have any suggestions for other tools or techniques I could try?

Thanks in advanced for any help or advice you can provide!
[General Questions and Answers] alecxs:
afaik separate dtbo partition ;)
[General Questions and Answers] Renate:
Isn't dtbo just an overlay?

@FiniteCode post the boot image and I'll check it for DTB.
[General Questions and Answers] FiniteCode:
I'm really sorry but i don't get what you guys wanna say, Actually it's my first time developing rom so you see...
[General Questions and Answers] FiniteCode:
Thank you a lot for your support!
[General Questions and Answers] FiniteCode:
Thank you everyone saw your answers put them to ChatGPT understood some New Concepts and Voila! Thank you a lot everyone.... Special Thanks to @alecxs.7285913 and @renate.4474482
[General Questions and Answers] Renate:
Hmmm...

That's an Android header version 4 which only has a kernel and a ramdisk.

See: https://source.android.com/docs/core/architecture/bootloader/boot-image-header#header-v4

There appears to be no DTB tacked onto the kernel.

Also weird, the ramdisk is CPIO, but they didn't even bother to gzip it.

That dtbo has three DTBs in it, preceeded by that new 128 byte header.

It appears to all be overlays. I don't know much about that.

000000 Android header
000080 Header
0000b8 / {
0000c0 fragment@channel-id {
0000d8 target-path = "/";
0000e8 __overlay__ {

Edit: If you want the kallsysms (using my tools):

C:\>imgutil /x boot.img payload
C:\>kallsyms /b8 payload boot.sym
[General Questions and Answers] FiniteCode:
yup... i tried to open the dtbo.img i came up with one error on every software/method i tried (bad magic number)
[General Questions and Answers] Renate:
Lop off the first 128 (0x80) bytes (of the Android non-standard header) and you'll see the signature, bigend 0xd00dfeed.

There are three concatenated DTB(O)s.
[General Questions and Answers] FiniteCode:
Could you attach them If possible. I've been having a hard time with getting them
[General Questions and Answers] Renate:
@FiniteCode Oh, alright.
[General Questions and Answers] FiniteCode:
Thank you so much can't explain my happiness like seriously thank you a lot
[General Questions and Answers] Renate:
Don't get too excited. Each of those dtbo's are only ~100k.

A real dtb is more like 300k and upwards.

Moreover, those three are all variants of each other, they are 75%+ the same.

And since they are all actually overlays we still don't know where the base dtb is.

Edit: Oh, I forgot that I had posted my dtbview.exe (in the sig).

If you do Windows it can dump dtb & dtbo (also wacky Android header).

C:\>dtbview dtbo.img > big.txt
[General Questions and Answers] DragonPitbull:
Some new devices with header version 4 has more in the vendor_boot.img like kernel-dt so that not in the boot.img (only kernel).

But I made attempt to extract dtbo.img & dtb. Not know if help.

UPD

Okay. Again my friend @lopestom updated me on Header V4 information.

I used the correct tools on Linux and now it seems to be much better than before. Well it looks like you have a Mediatek phone.

Attached pictures "dddd".png and unziped_dtbo.zip
[General Questions and Answers] FiniteCode:
Thank you all for help I'll try if this works in my custom rom
[General Questions and Answers] FiniteCode:
Or else, the last resort might be contacting Motorola which I don't think should help out, I don't have any hopes from Motorola...
[General Questions and Answers] DragonPitbull:
I not search in total but has very dts and dtc files.

GitHub - AbzRaider/kernel_moto_vicky: Kernel Tree for MediaTek MT6789 Based Motorola G72 ( Vicky )

Kernel Tree for MediaTek MT6789 Based Motorola G72 ( Vicky ) - GitHub - AbzRaider/kernel_moto_vicky: Kernel Tree for MediaTek MT6789 Based Motorola G72 ( Vicky )

github.com

GitHub - theh0riz0n/android_kernel_motorola_vicky: Kernel sources for Motorola G72 DS XT2255-1

Kernel sources for Motorola G72 DS XT2255-1. Contribute to theh0riz0n/android_kernel_motorola_vicky development by creating an account on GitHub.

github.com

Kernel sources for Motorola G72 DS XT2255-1
[General Questions and Answers] FiniteCode:
Using which tools were you guys able to extract the boot.img I'm unable to do that actually I need to extract the ramdisk and kernel please do attach if you can
[General Questions and Answers] alecxs:
AIK is the only tool I use. maybe you have separate vendor_boot partition
[Samsung Galaxy Z Fold3] benzersizadam:
Hello,

I am using Fold 3. I need really huge help. Everyday i am getting spam calls from same santral. Means 0 850 484 XX XX and after 0 850 484 XY XZ etc.

I would like to know if possible to block all numbers starting with 0 850 484 .

I tried to add 0850 484 with no further numbers no success

I tried 0850 484 ** ** no success.

All helps and offers appreciated.
[Samsung Galaxy Z Fold3] TheMystic:
As far as I can tell, these are computer generated numbers that appear to come from a certain region/ locality (but are actually from somewhere else). While I'm unaware of a way to block numbers beginning with a certain set of digits, I don't think it will solve your problem either (although it may lessen it to some extent). You'll have to block them individually and be careful on who you give your numbers to.
[Samsung Galaxy Z Fold3] goattee:
I wish I had the solution. Because I would also like this. I had an old app called CallFilter from a Japanese developer. It is no longer in the Play Store, probably because it violates newer Android security rules. 😢 It supported wild cards, which I am sure would make you happy.

I looked at the Play Store now and I don't think there are apps of general usefulness because everything depends on the phone model and Android version. Reviews for each current app vary widely.

My best advice is to set your phone app to only accept calls from your address book and be prepared to occasionally return calls when your rejected caller leaves a valid voice message.

If anyone has a better answer, please tell us.
[MX Player] puckhead89:
I just got a new phone, the pixel 7 pro.

I play videos on 2.5 speed. HW decoder is unplayable on that speed: it lags. videos are unwatchable.

with hw+ the audio and video goes out of sync.

Going out of sync was a problem with my Mi 11 a had before, but switching to HW solved that problem (if it was available).
[Sony Xperia 5 IV] hasztagL:
can anyone knows how to hide VoLTE icon from status bar without disabling it in settings?
[Sony Xperia 5 IV] DanielMode:
first of all i think without root no chance

i'll check on GravityBox here
[Sony Xperia 5 IV] viper.:
You can change lte to 4g thru my guide and pixelIMS but i dont think you can hide it
[Sony Xperia 5 IV] hasztagL:
ok. bad. i cant root, wallet dont work good.

i have 4G icon but still have VoLTE 😅
[Touch HD General] kjt57:
Can anyone recommend a good print utility to use with the HD on a wireless network. Jetcet will not work with my Brother AIO printer.
[Touch HD General] Sir.B:
here is how I got it working for my Brother HL-4040CN

this trick works well with Laser Printers ingeneral, don't have any InkJet to try

first try the generic HP LaserJet 10xx drivers (1015 works well)

then if you need color move on to some HP Color LaserJet drivers

I'm no print driver guru but most printers work fine with HP drivers because HP seems almost like the industry baseline

anyway hope this helps
[Touch HD General] kjt57:
Thanks for advice, will try later. I also downladed a trial program from Handango, called Active print Basic. Works perfectly, recognised my printer and set up conection with network. Full version only £9.50 with 20% off in their sale:)
[Vivo X90 Pro Plus] bartbrat:
Dear fellow XDA and Vivo users,

I have a really annoying problem on my Vivo X90 Pro+.

For some reason it cannot open app links from Chrome.

For example:

- I click on a Youtube link in an email in Gmail app

- The link opens Chrome

- The system app says 'Chrome requests to open Youtube'

- I click open and nothing happens

Same happens for payments links, Zoom links, etc.

It does work when I use Firefox as a default app so it seems Vivo/Google related. Do other people also experience this problem or do you have ideas on how to solve this? I prefer to use Chrome as my default app.

Thanks a lot!
[Vivo X90 Pro Plus] alt-tea:
It's not a bug, it's Chrome can't deal with Google Services not being system app or smth like that... Every other browser I've tried is fine with opening links, it's just Chome as default browser that creates this problem.

You need to give Chrome permission for 'Background pop-ups'
[Vivo X90 Pro Plus] bartbrat:
This solved it! Working now. Thank you so much for your quick response, really appreciate it. Very happy, this was driving me nuts.
[Android TV General] arthyko:
Hello, I have a HISENSE H55MEC5650 tv and it has the VIDAA operating system, is there a way to install android tv on it?
[Touch Diamond, MDA Compact IV ROM Development] anubis23:
UPDATED: Fixed it :D ty for replying everyone.

Hey guys, i finally got my a new sys build for my rom, my rom is now, CE )S 5.2.20757 (Build 20931.1.5.0). Sys build i got from elf forums. My phone boots up perfect and sms and other apps i got working perfect, (cuz of the tmail.exe and other fixes) but... all the programs in my OEM folder was not installed :( such as, adobe pff, adobe flash lite, htc album, audio booster, camera, labyrinth, quickgps voice record, music id, basically everything 90% of the OEM folder wasent installed, however touchflo "shows" that it was installed, in the Settings > System thing, but TouchFlo was not active, and the htc black theme showed it was installed but not active. I tried to enable it, but the option for TouchFlo is not there, and the htc black theme wont load, i tried hard reset and reflash but not luck, so im guessing it has something to do but SYS build folder not intiating the OEM stuff? i guess. Anyone knows how to fix this?

Update: Still not fixed, but would like to add, when trying to install cabs, and i mean any cabs, like sdkcert and advance config 3.3 and others like TomTom 7, i get a message saying it was unsuccessful.
[Touch Diamond, MDA Compact IV ROM Development] qtotter:
i guess you did not port oem certificate properly. how did you get the oem folder?
[Touch Diamond, MDA Compact IV ROM Development] anubis23:
hi

the oem folder was one i made from blackstone roms, mixed with hk and eu and us roms. the entire rom was based off the US rom 1.93.422.4 with ported xip 20757. and oem certs, as in the ones in Metadate? if so, no i didn't port those.
[Touch Diamond, MDA Compact IV ROM Development] qtotter:
oh, you mean you mixed oem folders from different operators? your rom sounds like a patchwork... i don't think oem folders from different operators work well together unless you resolve the certificate issue.

the easiest way to resolve your issue is to use an official rom as a base for sys and rom. first, make your oem folders work with an official rom. then, try to replace os by a newer build. if you do two things at the same time, it seems like a detour to me.
[Touch Diamond, MDA Compact IV ROM Development] anubis23:
hi

hmm.. so do i need to get the oem folder for CE oS 5.2.20757 or the oem folder for the Build 20931.1.5.0? And this blows, i'd thought the oem folder was stand alone, and was completely dedicated to phone drivers, which i kept from other diamond roms? and yea its a patch work the oem folder, but up until i ported the Build 20931.1.5.0 SYS folder, if usto work :/
[Touch Diamond, MDA Compact IV ROM Development] qtotter:
i guess you misunderstood me. forget about os version now.

i suppose what you did was mixing oem folders from different operators without dealing with certificate. htc apps are signed by htc, and some oem apps are signed by operators so that they run only when you have proper certificate. even if you copy and paste some oem folders from different operators into your kitchen, they would not run unless you deal with certificate properly.

it might be easier for you to stick with oem folders from "one operator", and take necessary oem folders made for cooking, not from other operators, until you resolve certificates yourself...
[Android Q&A, Help & Troubleshooting] Lubo99:
Guys, I have motorola edge 30 rooted via magisk(boot.img patched flash). Google wallet worked for few weeks even when I received warnings that my devices does not meet security requiremens) well last 2 weeks it's a nightmare. I completely remove cache and personal data from google play services. message device meets security requirements is restored and i can use wallet for day or two. then again this message appears when i open wallet your device DOES NOT meet security requirements and neither I can pay by google wallet it somehow warns my bank and it blocks my bank account and card. i call the bank clean cache and personal data from google services app. again my device MEETS security requirements and this works for day or 2. then again same thing your device DOES NOT meet security requirements are you kidding me?? I have turned off app autoupdate option in google account and google play services are in deny list in magisk. it does not seem to help at all. I have shamiko,magish hide props config and universal safety net modules installed.

any idea how to stop stupid google play services make my life miserable? thanks!
[Android Q&A, Help & Troubleshooting] V0latyle:
Please read this post. You need to install a Magisk module. You must be using minimum Magisk 24.
[Android Q&A, Help & Troubleshooting] Lubo99:
I have magisk :) latest version 26. let me check the link. i havent found module name. as stated i have 3 modules installed for this .
[Android Q&A, Help & Troubleshooting] V0latyle:
Ah, I missed that.

The "official" Universal SafetyNet Fix by kdrag0n does not properly fix the Play Integrity issue, which is why you have to use the Displax mod. If you're on the stock ROM you don't need MagiskHide Props Config.

Make sure you're passing Play Integrity DEVICE and BASIC labels as described in the thread I linked, and if you continue to have issues with Wallet see this thread. I don't even have Wallet/GPay in Magisk DenyList, and they work fine.
[Android Q&A, Help & Troubleshooting] Lubo99:
i dont pass only the 3rd strong requirement which dont pass like 90 percent of phones lol. and wallet worked fine. i have reinstalled kdragon unsf by displax mod? lets see if it helps. I wonder why wallet is not yelling that you have magisk installed... lol.. as I am sure this app checks magisk presence too...

By the way when you check the picture magisk package dedpite i hide it! is exposed do you think it can be problem too? According app even fandím magisk package name can be a problem..
[Android Q&A, Help & Troubleshooting] V0latyle:
Don't assume. Address the basics first and go from there.

What is your Play Integrity response? You seem to be skipping over the basics.

Displax USNF module changes DenyList. Keep in mind that DenyList is not MagiskHide and does not function the same way. Package name hiding is only necessary for apps that specifically detect it. In my case, none of the apps I use do, so the only module I use is USNF by Displax
[Android Q&A, Help & Troubleshooting] Lubo99:
Now i'm not skipping basics😀 this is on all rooted phones i had. Strong integrity fails (attachment)but i was able to pay Google wallet. Question is which exact package or application IS telling Google wallet that there is security breach . So far Google wallet is not yelling anything after displax mod installed and autoupdates turned off .
[ZTE Nubia Z17  Guides, News, & Discussion] KKwq:
please help i install magisk v26.2 .apk and i use trwp install magisk.zip but i can't boot stuck in logo please help!
[ZTE Nubia Z17  Guides, News, & Discussion] fillwithjoy1:
bootloop issue. Can you boot into recovery mode on the phone? (or if you have a removable battery, disconnect the power)
[ZTE Nubia Z17  Guides, News, & Discussion] KKwq:
i can boot recovery i can't remove battery
[ZTE Nubia Z17  Guides, News, & Discussion] fillwithjoy1:
That's a good first step. I'm actually not knowledegable about this specific phone, but I can tell you that if you search up bootloop fix for your phone and find a youtube video, that could help you
[ZTE Nubia Z17  Guides, News, & Discussion] Klinsmann (Capt):
magisk 26.2 may be install by patch image.

how to >> https://magiskroot.net/magisk-app/#Patching_Images

my phone Nubia z17s install with this.
[Huawei P30 Questions & Answers] GamerPL98:
Hey, I've got a P30 with a locked FRP.

I can't seem to find the password.

Been using Fastboot Reader, here's the info from that:

Spoiler content hidden.

Does any of you know what I could do to unlock the FRP?
[Huawei P30 Questions & Answers] Oswald Boelcke:
The easiest way might be to ask the one for the credentials, from whom you've got the device.
[Huawei P30 Questions & Answers] GamerPL98:
They don't remember the password.

So the only option is to try and circumvent it.

It's this code that I need.

View attachment 5907195
[HTC Excalibur] Donaldpilger:
First off, I'd like to say I've been scouring this site for a rather long time now, learning what I could silently from everyone on here and got my Dash looking and running better than I ever thought would be possible. So a big thank you goes out to you guys for all of the help I've gotten on here.

Alright, awhile back I had the idea that an app that shuffled your ringtones with every call would be a nice app to have, and after some googling, I really didn't see anything. Some iphone things as well as some Palm Treo apps, which are obviously irrelevant. Does anyone know of anything like this that works with the Dash? That would be pretty sweet if that was the case.
[Redmi 9A Questions & Answers] the_arxyn:
Hello guys I am on lineage os 19.1 (A -12.1) and Recovery PitchBlack and I was trying to install Kali Nethunter by flashing in recovery but the process ended with Error one anyone knows how to fix this ?? A small response will be appreciated 🙂👍
[Redmi 9A Questions & Answers] Rares6567:
Read above the error one ( not enough ram/ file corrupted)?
[Upgrading, Modifying and Unlocking] mbuettell:
I have updated my HTC Tytn 11 with the AT T Windows mobile 6.1 upgrade but it has eliminated the Internet sharing program and I cannot get the new program to work with my TMobile sim card.... also would like to have HSDPA back on my phone and enabled... that has also been eliminated.... there is no longer a Windows folder under the program tab with Internet sharing in it as in the past.... thanks
[Moto G Stylus (2021)] FLASHCAT255:
Now, I'm not really a developer or anything, but I like to play around with things sometimes, especially where Android modding is involved, So basically, the Moto g Stylus (2021) has an unofficial TWRP with broken touch, but also an unofficial Orangefox recovery which is based off TWRP with working touch, and I hope I'm not violating any rules or anything since I didn't write any code in either of these recoveries, I've never actually posted to XDA before despite the age of my account, so I apologize if I'm doing something wrong, but I took both the recoveries from these sources

https://xdaforums.com/t/recovery-unofficial-orangefox-recovery-project-r11-x.4299523/

(Specific comment I sourced from since the original link is broken to the recovery)

https://xdaforums.com/t/recovery-unofficial-orangefox-recovery-project-r11-x.4299523/post-86642111

and

https://xdaforums.com/t/twrp-for-moto-g-stylus-2021-xt2115-1-otg-mouse-necessary.4286779/

for the TWRP

Basically I threw both of these into Android Image Kitchen, saw they both had uncanny similarities, and got the idea I might be able to work with that, so I copied everything over from the Orangefox Recovery (Literally everything), pasted it into the TWRP recovery with the broken touch, and removed the files specific to OrangeFox (pretty sure I got most if not all of them), after that, I repacked the TWRP recovery and booted it up on my Moto g Stylus (2021), and the touch seemed to finally work along with everything else, again, I do hope I'm not violating any sort of rules here since I didn't make the code to either, but I've used this multiple times without fail and hoping others can make use of it too, unfortunately if anyone runs into any sort of issues with this, I may not be able to help since I'm not the creator of either of those recoveries, so I do apologize in advance if you find an issue I didn't notice yet. Hope this is helpful to someone!

If you have any questions you think I may be able to help with, or if by chance you own either of these recoveries and want this taken down, by all means feel free to ask me please and I'll happily oblige!

Only thing about this I'd hardly really say is an (Issue) per se, is that the terminal thinks the device codename is odessa which as far as I know is the codename for the Moto g9 Plus, and MTP storage is labeled as Motorola g8 Plus, whereas the actual codename for the Moto g Stylus (2021) is Minsk, despite this, everything still seems to work just fine

Sidenote: One time I left my device in a state where the system was left unbootable, this TWRP DOES SUPPORT data decryption, but it seems to work best when the system is still bootable, but it seemed unable to decrypt the data partition, the aforementioned OrangeFox recovery did a better job at decrypting it in an unbootable state and helping me recovery my data, so in the event you end up in the same situation, you should rely on the linked OrangeFox recovery for data decryption if your system can't boot, just wanted to make that known to any who see this.
[Moto G Stylus (2021)] kmsnyder115:
We will watch your career with great interest
[OnePlus 9 Pro] damaflo:
Battery live is longer when You used charge level below 100%. The Question is how to set this parameter up? The earlier version of software had this option.
[OnePlus 9 Pro] xCopyright:
Hi there,

I'm afraid you can't do that anymore. You can try to use apps like AccuBattery to set a charge reminder if you're not rooted.

If you're rooted, you can try out the ACC module for Magisk - however - it's not guaranteed to work.

OxygenOS 13 has an "Optimize Charging" feature in Settings>Battery that optimizes night charging, if you're interested in that.
[OnePlus 9 Pro] GolovaRaoul:
For Tasker,

Enable charging (cable/wireless)

echo 1 > /sys/class/oplus_chg/usb/chg_enable

echo 1 > /sys/class/oplus_chg/wireless/chg_enable

Disable:

echo 0 > /sys/class/oplus_chg/usb/chg_enable

echo 0 > /sys/class/oplus_chg/wireless/chg_enable

Root required tho for Tasker. Maybe you can also not use root and grant it using ADB but not sure.

View attachment 5908491View attachment 5908493

View attachment 5908495
[OnePlus 9 Pro] the bolt of thunder:
I use battery charge limit. it works but you need root