yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] WoKoschekk:
use the latest version of Android IMG Repack Tools cygwin to unpack your boot.img. but don't expect too much because your boot.img only contains the kernel which can't be unpacked.

vbmeta.img => can't be unpacked because it's not a packed container/archive. it only holds the hashes of your verified partitions like /system and /vendor. open it with a hex viewer like HxD.
[Android Head-Units] Renate:
Ok, what's the question? What are you doing?

C:\>imgutil /v boot_dump_from_mtkclient.img
Header1: 1,648 (00000670)
Kernel: 9,823,417 (0095e4b9) 00000800
Payload: 9,720,678 (00945366)
DTB: 102,739 (00019153)
Signature: 512 (00000200) 0095f000
Padding: 23,724,032 (016a0000) 00960000
Command: bootopt=64S3,32N2,64N2 buildvariant=user
[Android Head-Units] WoKoschekk:
how to unpack boot.img and vbmeta.img
[Android Head-Units] Renate:
Well, yeah. But that's like, "how do you disassemble a cuckoo clock".

You take everything down to tiny little pieces and when you're done you sweep it into the garbage.
[Android Head-Units] iceblue007:
Thx bro.

Sorry for being late to reply.

For boot.img unpacked, I got the same result as yours, but why that ramdisk is empty? I really really don't know what happend. Is that boot.img corrupted? or it should be empty? But I guarantee that I use command thru mtkclient `python3 mtk r boot boot_normal.img` to backup first.

Another trouble came to me, any help to me?

I just try to format all partitions(except boot loader) thru SP Flash Tool and flash another whole vendor-stock rom cause of no stock rom for it self. Concretely, I got many errors untill I change the scatter file about partition of preloader, just change its name to my preloader_k65v4.bin, change the path of preloader in this tool as well.

But not my expectation, things goes worst, I got totally bricked cause of it never into recovery or fastboot or os even the logo screen.

Q1:

Should I try to overwrite the preloader partition thru mtkclient? I heard it's a very dangerous action. Pls give me some advice.

In fact I really want to know if a stock-preloader.bin combined with a third rom(except the rom's preloader) could work in any MTK device?

Recent, I've learned Sth about Scatter file and partition layout. I considered that if I could try this below?

a)Parse the gpt_main.bin/gpt_backup.bin backuped by mtkclient before.

b)Create or Fix the scatter file based on the 3rd stock rom to be compatible with device it self.

Q2:

Is there some one can tell me if the idea worth to try?

If it's worth, give me some guide or tool links about that.

All I want to do is just flash any rom succeed and into the os normally.

Any tips would be appreciated.
[Android Head-Units] iceblue007:
Thx bro.

Sorry for being late to reply.

Now I know about that stuff but another trouble came to me, any help to me?

I just try to format all partitions(except boot loader) thru SP Flash Tool and flash another whole vendor-stock rom cause of no stock rom for it self. Concretely, I got many errors untill I change the scatter file about partition of preloader, just change its name to my preloader_k65v4.bin, change the path of preloader in this tool as well.

But not my expectation, things goes worst, I got totally bricked cause of it never into recovery or fastboot or os even the logo screen.

Q1:

Should I try to overwrite the preloader partition thru mtkclient? I heard it's a very dangerous action. Pls give me some advice.

In fact I really want to know if a stock-preloader.bin combined with a third rom(except the rom's preloader) could work in any MTK device?

Recent, I've learned Sth about Scatter file and partition layout. I considered that if I could try this below?

a)Parse the gpt_main.bin/gpt_backup.bin backuped by mtkclient before.

b)Create or Fix the scatter file based on the 3rd stock rom to be compatible with device it self.

Q2:

Is there some one can tell me if the idea worth to try?

If it's worth, give me some guide or tool links about that.

All I want to do is just flash any rom succeed and into the os normally.

Any tips would be appreciated.
[Android Head-Units] Renate:
I've rooted Mediatek devices, but they are not my favorite. Having both BROM and preloader seems a bit confusing to me.

I usually subscribe to "least done, soonest mended" and generally don't try to repartition anything.

I'd rather patch something than install some firmware from the internet.

From the original question, I would have just replaced the kernel.

Sorry.
[Android Head-Units] iceblue007:
Thx anyway.

You're an expert with AOSP but I'm just a totally newbie. Pls tell me how to patch or replace the kernel if I had nothing source code with that stuff. The key point of this issue what I thought maybe is just create or restore the boot.img, then everything will be back as usual. Even sometimes I know that, but I still can do nothing as soon as I can. Actually that always distressed me about every day. I want to fix the issue by myself but I really don't know how? E.g if I can trace the log when the MTK device start from pressed the power-on physical, maybe I can identify some certain thing, just like the preloader is normally, the boot is corrupted, etc.
[Android Head-Units] Renate:
My apologies. I think that I'm muddling things up. I didn't notice that your not the same as the OP.

So, you have the boot.img and the vbmeta.img that you pulled off your device with MTK client

If you want to replace the kernel (why?) where is the replacement kernel then?

vbmeta.img is not "unpackable", not only that, you can't update it because it's signed, you can only disable it.
[Android Head-Units] iceblue007:
Oh It's okay. Renate, No problem for that. I just try to study about that stuff, may be patched the boot.img first. But the very urgent thing now I need unbricking it. BTW, i want to confirm some certain thing with your help,

Is that possible to unbrick with combined conditions of flashing other 3rd rom whole partitions but using the device's original preloader.bin?

Should I need to flash the preloader.bin inside of the 3rd rom or patch the dumped preloader to make all worked fine? Actually I didn't know how the preloader works.

If you are interested at my issue, Maybe you can take a look at details when you are not busy.

https://xdaforums.com/t/urgency-is-...original-preloader-bin.4653083/#post-89310086

Thx a lot always.
[Samsung Galaxy S22 Ultra] coolpixs4:
Did not work in S22+ (Android 12-OneUI 4.1)
[Redmi Note 10 Pro] Clawsman:
Hi all

i am trying to give some adb permissions to my app without any luck.

I read that i need to disable permission monitoring in the developer menu, for those with MIUI. but i cant find anything there saying "Disable Permission Monitoring". is it something they have changed in the MIUI 14?

Any ways to disable it by other methods ?
[Redmi Note 10 Pro] n1dminhd:
Have you found it yet?

Please show me with !
[Redmi Note 10 Pro] Manish9666:
Have you found it yet
[Redmi Note 10 Pro] sbetatester:
If you just restart your phone after giving the 2 permissions namely USB debugging and USB debugging (Security settings), then it will work and you wont need to find this "Disable Permission Monitoring" on MIUI 14 devices
[Android Software/Hacking General [Developers Only]] Phạm Minh99:
tôi gặp lỗi máy đột ngột tắt khi chơi game nặng và rất khó khởi động lại tôi nên làm thế nào để sửa nó xin cảm ơn
[Red Magic 8 pro] NamNathan93:
Already disable the volume+power key function to prevent mistouch while using the phone with one hand.I think i saw the option to make this works somewhere in the setting before but cant remember how to get there again.
[Android Apps and Games] zbieracz2000:
The Android 11 lacks an ability to reboot to recovery or fastboot mode from power menu. With RecoveryRebooter you can reboot directly from your notification panel!

Just install the app, go to Quick Tiles and add newly added shortcuts!

The app will work on any Android version from 7.0.

View attachment 5910577

Source

If you want, you can buy me a coffee or two :D

Donate​
[Android Apps and Games] nek46:
test htc u ultra , rom leedroid android 8 works (y) thanks :)
[General Questions and Answers] SzymcioYa:
Alright, so i will try to make it as simple as possible

A while ago i wanted to custom rom my old samsung galaxy j5 because i found it and it had android 9, so i thought that it was time for a little upgrade

i tried to root it and i think i did it, but the device bricked afterwards

i unbricked it, and now its just the plain stock os. so here are the problems:

1. i cant install TWRP using odin, so i wanted to install it using abd and sdk (fastboot)

2. when i use abd it works fine, but when i type any command with fasboot, it just waits for the device even tho its connected

I watched a indian tutorial on how to fix that and u had to download a driver and thats where the main problem comes in

the device isnt showing in device manager!

i'd appreciate any help but i really wanna custom rom it and just install twrp. thanks!
[General Questions and Answers] WoKoschekk:
Samsung has neither fastboot mode nor a fastboot interface. Never.
[General Questions and Answers] SzymcioYa:
you know, download mode and im talking about the command on windows for ex. fastboot flash recovery twrp.img or something
[General Questions and Answers] WoKoschekk:
Yes, I know. Download mode = Odin

There is

no fastboot

implementation on Samsung devices. You

can't execute fastboot

commands

from a Win PC.
[General Questions and Answers] SzymcioYa:
so if i have a samsung mode, i just cant use fastboot commands no matter what? then how can i flash twrp without the stock recovery mode replacing it?
[General Questions and Answers] WoKoschekk:
Do you have root access and a terminal app like Termux? If no root is available then you have to use Odin.
[General Questions and Answers] SzymcioYa:
i think i did root it, i mean i used cf auto root to root it and then the device just bricked it, but i think so? also can you add me on discord for quicker communication? SzymcioYa#8219
[General Questions and Answers] WoKoschekk:
CF auto root is very outdated. So, you have no root. You must use Odin.
[General Questions and Answers] SzymcioYa:
i checked and it said i had rooted it but root wasnt installed properly

i mean i can still root it right?
[General Questions and Answers] WoKoschekk:
Before you install root or sth else you should install TWRP via Odin.
[General Questions and Answers] SzymcioYa:
it says pdp backup fail or something like that when i start it up after flashing a twrp image. what do i do?

it got replaced by the stock one again :/
[General Questions and Answers] WoKoschekk:
Which tutorial do you use? A link?
[General Questions and Answers] SzymcioYa:
this time i used a different image, still the same result

here is the link: https://www.mediafire.com/file/njal9m9nwq5n2pu/Blacked_On7prime.tar/file

its name is kinda weird but it still has the twrp .img file inside

here are the root statistics btw:

ease of root install rank: 9833

root access available: yes

root install difficulty: hard
[General Questions and Answers] WoKoschekk:
Flash TWRP and use key combo to directly boot into recovery.

You may not boot into system!

​

This will overwrite TWRP with stock recovery. Boot straight from download mode into recovery.

The linked recovery.img is for Samsung Galaxy J7 Exynos SM-J700 (j7elte)

why not from twrp.me?
[General Questions and Answers] SzymcioYa:
so i just flash it when its in download mode and then go immidiately into recovery mode? if yes then it just freezes until i force restart it

it doesnt support it officially i think

View attachment 5910641
[General Questions and Answers] WoKoschekk:
Your linked recovery is for Samsung Galaxy J7 Exynos SM-J700 (j7elte)
[General Questions and Answers] SzymcioYa:
so uhh, can u link me one that is for a samsung galaxy j5 2017? (sm-j530f)

so now i used a different one, and it worked but now there is no os, what do i do?

aand its bootlooping, so i get it, i have to reinstall the system now?
[General Questions and Answers] WoKoschekk:
With no OS installed you can't boot anything... What do you expect? I recommend you to flash the full firmware and try again.
[General Questions and Answers] SzymcioYa:
i got twrp tho, is that the point that you just cant have an os while u have twrp?
[General Questions and Answers] WoKoschekk:
TWRP is /recovery and your system is /system. No OS means that /system is empty.

flash your firmware. that's it
[General Questions and Answers] SzymcioYa:
i did, ill try to do it again and ill message you

alright so, i found out i cant really install twrp normally because i lost the sim card tray. i got a different phone tho, little newer (xiaomi redmi note 5) and i got a sim card tray and a sim card. i tried flashing twrp to root it using magisk, but there is an error

Heres the error:

the status read failed is because i disconnected the device btw
[Samsung Galaxy A40 Questions & Answers] scotcruz:
I seem to having no luck.. bought a phone from Gumtree and it turns out to be an Enterprise Edition.. Seller has gone AWOL..

I assume the Bootloader is locked (as the OEM Bootloader option is greyed out in Developer Options)

I have Odin and the relevant firmware but as I cant go to the Download mode, Odin wont progress.. (can go into bootloader ok to wipe the cache and factory reset)

I have used TWRP previously but it was a long time ago.. not fussed the warranty.. not fussed with root.. just want a stock rom without the enterprise blurb.

Please can someone advise where do I start and what to lookout for?

Many thanks
[Windows 11] persona78:
Hi!

I create this Tool to help in removing Malware from Windows.

This Tool just use native Windows Malware removing Tools from command line with out need os external aplications.

Github: Windows_Malware_removing Tool.exe

View attachment 5910609​
[Windows 11] persona78:
And Windows defender though batch.

I write in main post.
[Windows 11] herrysiddle:
T9 antivirus software is one of the most lightweight and reliable antivirus software available in the market. It helps in protecting your computer from different types of malware attacks, viruses, adware, spyware and more.
[Windows 11] edmondt:
LOL Says Virus detected on your exe :)
[Windows 11] persona78:
LOL

Is FROM bat to exe. False positive, check on Windows defender online. 😄
[Poco X3 GT (Redmi Note 10 Pro 5G)] FurkiCan:
https://anyaforger.cn/ use roms
[Poco X3 GT (Redmi Note 10 Pro 5G)] Taminozizo:
thanx bro ♥️🇩🇿
[Redmi 9C Questions & Answers] mysteriouscat:
Guys i found a unbrick way for redmi 9c nfc , the phone has secretly the fastboot files in its download folder , but when the file manager booster deletes them and then you cant do it so we need someone to zip the folder and upload it somewhere like mediafire , then its possible to unbrick it with sp flash tool with no infinite red box / DA loading 100%

(Folder is called "angelican" like the codename and and fw info)

(File size gonna be +6 gb so i recommend it first to transfer to pc)

Remember your redmi 9c nfc must be unbricked
[Redmi 9C Questions & Answers] ilovedogs12:
I looking for this folder but i can't find it you know more about that
[Redmi 9C Questions & Answers] SubwayChamp:
Can you explain better what exactly you mean? I have a bricked R9a so MTP is inaccessible as of now, no sign of life at all, beside its detected at Preloader or USB VCOM, and SPFT keeps getting that error DA loading 100%, also mtk-client gives "sending EMI data error" permanently.
[Atrix 4G Q&A, Help & Troubleshooting] retomanic:
Hello all, just got my hands on my old atrix (after just moving houses) and was in awe with how it used to function and work.

First ones with fingerprint scanning and webdock. Love it and would like to find ways to explore it.

Just that, now 9-10 years since - is the community or resources still available? Shouting out in this room to see if there are any passerbys or enthusiasts who could share a tip or two.

I'm having issues connecting with wifi on my atrix 4g now. Hoping to find a stable rom that has wifi and webdock access to toy around with it.

Any help would highly be appreciated!
[Android Head-Units] s726887:
Hi All,

Newbie here seeking help on my Android Head unit which is faulty.

After updating the firmware unit screen turned black. However the unit is working. Just the screen is black and nothing on it.

Bluetooth and WiFi is working (phone gets connected and hotshot shows connected to car)

Appriciate any help to get this sorted.

Thanks
[Android Q&A, Help & Troubleshooting] Cabo448:
I am trying to get my Mother's Moto G to automatically answer her phone and turn on the speaker. I have tried the MotoAnswer app and it will answer the phone, but the app's speaker on function does not work. Neither will Tasker. I found out at some point Google made phones unable to automatically turn the speaker on. My Mother is 90 YO, bedridden, and has torn rotators in both shoulders so she cannot put the phone to her ear. I am looking for help on how to bypass this, accessibility items that are available or get another phone (older Android phone possibly. Any help is appreciated.
[Android Head-Units] Nerv0x:
Hey there guys, i have a general Chinese android headunit 32/4 gb, every since I got it and plugged to my sounds system (1 4ch amp and 1 monoblock), the subwoofer exit doesn't work at all, and I cant figure out the way to listen to my favorite music the way Im used too.

has any one come across any software solution for this kind of problems? (ill attach the unit model number later on)

any creative solution will help (before buying a new headunit).

Thanks everyone!
[Google Pixel 7 Pro] rester555:
Does anyone know a way to make Google assistant voice typing work?

I got stuck with gboard saying multilingual typing and no longer can enable assistant typing even though the options are turned on.

It keeps defaulting to regular voice typing. I don't want to wipe my phone just to get this stupid busted feature working. I had to do that last time this bug happened to me.

Edit: I just reset the cache and data in Google, Gboard, and set all Google voice and Google Assistant settings to one language. I also set my activity controls to one language as well. Anywhere a language was set on Google account side or within the phone settings seem to do the trick. Google makes this a insane setup to figure out.
[Samsung Galaxy Z Flip Questions & Answers] 4xc7xy:
Hello, I am currently missing the OEM Unlock option on my Samsung galaxy Z Flip (SM-F700U1/DS), how do I reenable it?
[Samsung Galaxy Z Flip Questions & Answers] Jan Skokan:
Hello, try this.
[Moto G 5G Plus Questions & Answers] troubadourpark:
Hi,

I installed microG Lineage 20 on my Moto G 5G Plus. Everything works fine except that one (banking) app that complains that "Google Play Services are not Installed".

I assume that means SafetyNet?

I tried to get it to work using the path depicted here: https://xdaforums.com/t/safetynet-on-lineageos-20-microg.4558065/, but no luck on this phone.

Is there anyway to get safety net to pass, ideally without rooting the phone/using magisk?

EDIT: there's a switch in the microG settings "Allow Device Attestation" but it's greyed out ...

Best,

N
[Moto G 5G Plus Questions & Answers] troubadourpark:
Ok, first of all, you have to enable "Device Registration" in the microG settings. Didn't know that.

That way, I got to the point where I can check for device attestation, and get the notorious "CTS Profile Doesn't Match" error.

I've tried using Magisk and Zygisk, and the Univesal SafetyNet fix, but to no avail, still not passing.

EDIT: tried the modded universal safety net fix by displax, not the check says "integrity check failed" ... not sure whether I sould count that as progress or not :(
[Moto G 5G Plus Questions & Answers] tamas646:
Hi,

I had the same problem, but I found the solution and now I successfully pass safetynet with LOS 20 microG.

You have to do 3 steps:

Enable zygisk in Magisk and configure denylist to hide root from 'microG Services Core'

Enable 'Device Registration' and 'Google SafetyNet' at microG settings

Install Magisk module MagiskHidePropsConf, reboot, then configure it in any Terminal Emulator as follows:

su (start root shell)

props (run props command line tool)

1 (edit device fingerprint)

f (choose from the list)

select any fingerprint you like, then proceed and reboot

This third step solves CTS profile mismatch error by changing the device's fingerprint to one trusted by Google.

It should work. :)

Edit: I did not use any 'Universal SafetyNet fix' module.
[Moto G 5G Plus Questions & Answers] troubadourpark:
Hmm ok, I have read about it but never tried, as the page states is a deprecated project ... That'd probably mean I'd have to install an older version of Magisk, right ?
[Moto G 5G Plus Questions & Answers] tamas646:
Hmm... I haven't noticed yet. Good to know. :D

It's working fine for me with the latest Magisk version.
[Android Q&A, Help & Troubleshooting] ErikUden:
Hello there!

I just recently wanted to switch from my old Huawei P20 to a Samsung S10. I went through the whole setup with Smart Switch during initial startup etc. and assumed that this would also transfer app data, WiFi passwords, etc., but it doesn't! This is an exclusive feature of the Google One backup!

Sadly, during the whole file transfer process from old to new, I wasn't notified of the fact that I had never actually run a Google One backup on my old Huawei P20. It just transferred all apps and pictures etc., but never any app data and all that important stuff!

Now, I did a lot of complex things to my new Samsung phone (such as rooting) and I would not wish to repeat all of that!

How can I restore a Google One Backup even without being in the initialization process?

According to Google:

I do not believe that. I made the backup from my old Huawei P20 a while ago, my new Samsung S10 hasn't adjusted anything. The Google One App also doesn't show any known backups, which makes sense as these are entirely different devices.

Now, my whole goal is to simply transfer the data from my old Android phone (Huawei P20) to my new Android phone (Samsung S10). The Huawei P20 is not rooted, the Samsung S10 is rooted. I have made backups using Huawei's own software of the phone, which I do believe includes app data, but I have not yet found a way to restore a Huawei backup on a Samsung phone.

The USB-C port of my Huawei / old phone is broken, so it can be charged, but no data can be transferred, hence not even Titanium Backup, Helium, or oandbackup which could backup app data through USB debugging and a computer, would work.

INFO ABOUT MY PHONES:

Samsung S10:

Model Name: Galaxy S10
Model number: SM-G973F/DS
Baseband version: G973FXXSGHWC2
One UI version: 4.1
Android version: 12
Board: exynos9820

Huawei P20

Model Name: EML-L29
Build Number: 12.0.0.226(C432E6R1P1)
EMUI Version: 12.0.0
Processor: HiSilicon Kirin 970

TL;DR:

Is there any way you can imagine that I would be capable of restoring my Google Backup or something of equal effect (make a backup with app data, WiFi logs, call history... and restore it)?

PS: Also asked this question on Reddit
[Android Q&A, Help & Troubleshooting] ErikUden:
View attachment 5911065

This is a lie! This has never happened to me. My new phone simply claims there has never been a backup.
[Android Q&A, Help & Troubleshooting] rodken:
To restore a previous phone’s backup to a new phone, you need the PIN, password, or pattern for your lock screen.

After resetting your phone, tap Start. Follow the on-screen steps.

Connect to a Wi-Fi or mobile network.

When you see "Copy apps & data," tap Next > Can't use old phone.

Under "Copy another way," tap OK > A backup from the cloud.

Sign into the Google Account that has the backup of your data.

Follow the on-screen steps.
[Android Q&A, Help & Troubleshooting] ErikUden:
Strongly agree! However, your phone needs to be rooted for this which my Huawei P20 sadly isn't! For the future, these options, as well as Neo Backup, will be super helpful to transfer my data!
[Android Q&A, Help & Troubleshooting] ErikUden:
Good idea! Sadly, only possible when resetting my phone and doing everything again, which I will sadly now do. Wish me luck, folks!