yashsingh1/xdaforums huggingface dataset:
[Google Chromecast] arpruss:
We have a Toshiba Fire edition TV which after too many forced Amazon updates got really unstable, so I blocked it from the Internet and am using it as a dumb TV with a Chromecast HD. But I don't want to have two remotes on the sofa while watching. I can do almost everything with the CC with the Fire TV remote, except for the home button (which goes to the TV's home) and Google Assistant. And it's home that I care about more.

My first attempt was to use a button remapping app to remap the menu button on the TV remote to home. I tried two apps and neither recognized the menu button. I then tried the CC's built-in Accessibility Switches app, and it recognized the menu button, but remapping it to home didn't work.

So here is my Dr Frankenstein style solution. It needs an always-on computer with adb on the same WiFi network as the TV and the CC where I run a python script that detects menu button presses on the TV remote and relays them as home button presses to the CC. I used a Raspberry PI.

0. Things work best if both TV and CC have static IP.

1. Enable adb on both the TV and the CC. Connect adb on the computer to both, giving permissions to both as needed.

2. Download homebutton.py.

3. Switch the TV's input to the CC.

4. Run this logcat command

adb -s XXX.XXX.XXX.XXX logcat *:S HDMI:D

replacing the XXXs with the TV's IP address. Press the menu button and note what it says in the log. In my case it says:

01-27 09:35:26.385 593 666 D HDMI : [S]:<User Control Pressed> src: 14, dst: 4, params: 02

5. Edit the LOGCAT_CMD line in the python script to match what you see (note: I've seen "src" change between uses, so I have a regular expression for it). Probably the main difference will be the the address after "dst", which depends on which device's output is currently being displayed on the TV.

6. Run the python script (I added it to systemd on my PI). If everything works, it will connect to the TV and the CC, and will send a home button press whenever you press the menu button. The script should print "home" each time it does that.

Unfortunately, I have not been able to figure out yet how to do the assistant button, because I don't know how to use adb to simulate holding down the mic button. I can send keycode 231, which is the equivalent to tapping the assistant button, but I don't know how to hold it. Does anyone know the keycode for the mic button? Is it also 231?

BTW, the assistant button on the CC's remote doesn't go through the /dev/input/eventX interface. Neither do the buttons on the Fire TV's remote (presumably they go through the cec device, but that's not accessible without root, and I don't have root.)
[Google Chromecast] arpruss:
Alas, this doesn't work quite as well as I hoped. Unfortunately, the adb connection between the computer and the TV isn't sufficiently stable, and sometimes the computer can't reconnect to the TV. :-(
[Google Chromecast] arpruss:
I've tweaked a bunch of stuff in the script, and now it seems a lot better at reconnecting. The reconnection isn't instant--there is not much I can do about that--but it does seem to eventually reconnect after the TV has been off (maybe half a minute later--so for the first half minute, the home button functionality won't be available).
[Google Chromecast] arpruss:
I ended up going for a hardware solution that should have lower latency and doesn't require the TV to be on WiFi. I have a blue pill stm32f103c8t6 microcontroller hooked to a USB hub with the Chromecast on it, and also tapping into the CEC line of an HDMI cable. The microcontroller emulates a USB media keyboard, and generates a homepage press when it detects a menu button press on the CEC line.

The code uses the libmaple-based core for the blue pill, together with a CEC library:

https://github.com/arpruss/ArduinoLib_CEClient

and the latest version of my USB Composite library:

https://github.com/arpruss/USBComposite_stm32f1

On the hardware side, I think all you have to do is to attach the PA0 pin on the blue pill to the HDMI CEC line and ground to ground. (It was a long time ago that I actually did the hardware.)

Setting all this up is not for the faint of heart.
[OnePlus 12] dhaern:
I guess this is too early to get a TWRP version for OP 12 but can we install Magisk in Oneplus 12? Do you have a method to install it?

Do we need keep the phone unlocked to install TWRP and/or Magisk?
[OnePlus 12] Canuck Knarf:
Not sure ..I think someone said they Rooted in our first post
[OnePlus 12] Swap_File:
Magisk is the way to go, a basic guide is here:

How to Root OnePlus 12 via Magisk Patched Init Boot [Video]

In this guide, we will show you the steps to root your OnePlus 12 via the Magisk patched init_boot.img file.

droidwin.com

If you need to hide root from difficult applications, you may want to look into using Magisk Kitsune
[OnePlus 12] dhaern:
Thanks for the link, I will try later. Yeah Im using always Magisk Kitsune (former Magisk Delta) and this is better.

Are Substratum themes working with OxygenOS?
[OnePlus 12] Swap_File:
@dhaern What region of phone do you have? I'll be curious to hear how it goes for you. I have a CPH2583 (US) one coming in a few weeks.
[OnePlus 12] dhaern:
I have the white chinese version from 2 weeks ago, I already converted to OxygenOS and phone is unlocked but I cant use a phone without Magisk lol.
[OnePlus 12] clsA:
It's a really nice phone and I'm sure it will attract a few developers and we can come up with some version of TWRP for are phones. I'm not a developer per say, but I have tinkered with a few devices in my time. Mostly HTC Lenovo, LG, Huawei
[OnePlus 12] PFusion:
Will this work for U.S unlocked variant?
[OnePlus 12] PFusion:
Do you use your Chinese version in the U.S? If so what features/bands are you missing?
[OnePlus 12] alp47470:
Unfortunately that's a bummer. Substratum is dying day by day. Lite app have closed sources too. Google messing up a lot too with resources.

Some themes still working with oos13/14 are Liv Dark, Iris , Some overlays of Flux.
[General Questions and Answers] Allan2021:
I tried to add Sidify music Converter and I couldn't do it, I tried to do it with a zip file and I couldn't unzip it and I couldn't either, please help me
[General Questions and Answers] xXx yYy:
Sidify For Android​

comes as APK file. For your convenience I have attached it
[General Questions and Answers] Snakeforhire:
Hello fellow xda'ers !

So I got a GT5 Pro (CN model, with stock CN firmware) and am testing it out. Up to now it looks great, save for a few annoyances (ColorOS seems to make it impossible to use a 3rd-party launcher for example, not in stock config anyway).

But ever since I've received it I've been looking for the stock firmware so I can root it with Magisk and get around this pesky launcher lock-in, but cannot seem to find any, anywhere : I've found two sites, one German (android-hilfe.de) and a Russian one (4pda.to) that have threads with links to Realme firmwares, but the links seem to be dead (timeout when trying to connect -and I've tried just about any browser that can be found, as well as any network/vpn/firewall config that I could think of !) 😪

So I was just wondering if any of youse guys (and gals) out there might have gotten this device too and perhaps had any more luck than I in finding this seemingly elusive piece of software ?

Come on people please, help a brother out ! 😃

(Alternatively, if anyone has a method to dump specific partitions from a stock Realme/Oppo device which has its bootloader unlocked and ADB debugging enabled, that would be kewl too, until I can get my hands on a whole firmware update 🙂)

TY to anyone who took the time to read this. 🙃
[General Questions and Answers] xXx yYy:
Request the stock firmware directly from Realme.
[General Questions and Answers] Snakeforhire:
Do I have a chance of getting a positive answer ? Because this device is only intended for the chinese market, I'm afraid I'll get the "Standard Tech Support answer" : View attachment 6061903
[General Questions and Answers] sero_t:
Hi there, i am also a lucky gt5 pro owner just like yourself and i also am trying to root this beat of an phone. My reasons are different as yours. I have no problems with the launcher, but i have a problem with the 5 app limit to auto start to receive push notifications or notifications at all. I tried adb shell to pull my boot.img but it says inaccessible or not found. So this is not working. i saw some pulling methods on github but those require linux or python experience, which i don't have. Can you maybe verify what happens to your phone when you turn it off and then try to boot it up holding the volume down and power button at the same time? I get just a reboot option and factory reset option, not a recovery option. i am on the latest firmware i just install every update. Do you also have that when updating some settings of basic stuff changes? like notification toggle colors or permissions of some stock apps like the browser of search app.
[General Questions and Answers] KLAUS 2334:
hi guys i have a problem whit my realme gt 5 pro after an update all my google serivce and google apps don t work , i try to factory reset the phone and nothing still don t work , not to mention that after the update it gets a bit warmer on game , on old version of firmware it was soo damn cold and smoot . so i want to reinstall old version of firmware but i didn t find any version of the firmware for rmx 3888 nowhere. i know how to unlock the bootloader etc.. i just want a firmware for this phone please
[General Questions and Answers] Snakeforhire:
You can't flash via adb, it's not meant for that...

You need to reboot into fastboot or fastbootd mode to flash stuff.

Also, on Realme devices apparently it's rather the "boot-init.img" that you need to patch and flash.

The problem is that, if your phone is like mine (bought off a seller on Aliexpress), it's been cobbled together from different firmware versions to yield a "pseudo-global" version (aka a "Frankenstein"). These are very tricky, as you can't update them with OTA packages (hard brick guaranteed should you try), but you also cannot enter fastboot the "normal" way, the phone just displays the fastboot robot for like a half-second then boots into system as normal... 😥

After much careful reading forums (4PDA mostly, although it's a real b1tch : the default language is Russian, and you get pre-ban warnings if you post in plain old English there... 🙄 Also, their login captchas are in cyrillic as well, and the captcha riddles are composed of Russian idioms which google-translate doesn't handle too well, making it nigh impossible to solve them for a westerner... Just tick "can't solve", wait for a login link to appear in your email -it can take up to 1h- and use that instead. Use the google translate app's camera feature to see what the site is displaying, as Chrome sometimes doesn't translate some of the fields -and neither obviously the graphics... 🤬), I've figured out that you need to :

- enable adb debugging,

- connect to the phone via adb,

- open a cmd or powershell and then

- issue the "adb reboot fastboot" command for it to reboot in fastbootd mode.

This mode lets you flash partitions, but it is more limited than bootloader/regular fastboot (doesn't handle super-partitions, IIRC), so be on the lookout for error messages, because you easily can completely mess up your phone if you miss something!

I'd advise to thoroughly read all the Realme firmware-related threads over at 4PDA before you do anything though.

Feel free to PM me if you need to pow-wow too. 🙂

(edited for clarity)
[General Questions and Answers] sero_t:
Hi thanks for your answers, i have the original stock rom, and receive ota. I can't get in to fast boot it gives a error message in Chinese, for 1 ms, can't read it. I have the gt5 pro, not gt5. But we'll have a look in to what you said. I tried adb fastboot but didn't work either

Yes i want it to for rooting. Of you can find it let me know. I searched a lot. I found a Chinese website, it says for rmx3888 and she's the right picture and says GT5 Pro, but it says for mediatek, so that's a bit weird, don't want to try it because maybe brick the phone
[General Questions and Answers] KLAUS 2334:
Give me the site man 😎

Hi

Hisnakeforhire it depends of what seller of AliExpress you buy . Some saller It flash a "global rom" they say that yes can t support payment and ota update . But my phone was not unsealed was sealed i talked to the seller and he said he didn't do anything to my phone . I istall on the update on ota the update was officially of realme my phone 100% original without a stupid system that is not usable and can be changed so easily. Usually tomno on aly install a stupid sistem without asking
[General Questions and Answers] sero_t:
Here you go man, let us know what happens. I want to make clear, i am not the owner of the website and i also am not responsible for any damage of what ever kind happends to you or your phone:

{Mod edit: Link to paid services website removed! Oswald Boelcke, Senior Moderator}
[General Questions and Answers] Snakeforhire:
Did you mean "Hongkong Tommao Store" ? That's where I bought mine :O
[General Questions and Answers] sero_t:
Do you have a link to the discussion on how to fix the bootloader? Also i tried search on telegram but it gives different results
[General Questions and Answers] KLAUS 2334:
Bootloader? I see a video of ... unlocked bootloader and install a new firmware on a realme I think all realme are the same .

{Mod edit: Link to paid services website removed! Oswald Boelcke, Senior Moderator}
[General Questions and Answers] sero_t:
Thanks, the problem is there is an option in the developers settings to unlock bootloader. But it's broken
[General Questions and Answers] KLAUS 2334:
How? Have you try?
[General Questions and Answers] sero_t:
Yeah that is why i know it is broken 😂 i get a screen with chinese text for 1 second can't read it it is very quick and then it just reboots but maybe i will try the software in the video you send but currently I'm to busy to try
[General Questions and Answers] KLAUS 2334:
Man i talked to the developer and it fix the eror in writing
[General Questions and Answers] KLAUS 2334:
But I don't know how to install the developer say this " you must have msm download tool auth to flash it" i don't know how to use i see the phone need to be in edl mod i think ? Anyone help?
[General Questions and Answers] sero_t:
Yeah that is why i know it is broken 😂 i get a screen with chinese text for 1 second can't read it it is very quick and then it just reboots but maybe i will try the software in the video you send but currently I'm to busy to try

OnePlus Community

Introducing our new OnePlus Community experience, with a completely revamped structure, built from the ground-up.

community.oneplus.com

Realmefirmware.com/realme-flash-tool
[General Questions and Answers] BotchedRPR:
to enable fastboot in realme devices, you need to enter "deep test mode". you need to find the apk which is shared on a certain russian forum the name beginning with 4. search for your model there and download the apk. once you get accepted (china vpn needed) you can enter "deeptest" mode and then use fastboot to your hearts content
[General Questions and Answers] Oswald Boelcke:
Hello and good morning, @sero_t and @KLAUS 2334

Paid services websites are in violation of rule no. 13 of the XDA Forum Rules and in turn links or references to or promotion of such websites are not accepted on XDA! I've edited your above quoted posts. In future, please refrain from sharing links or references to such sites. Thanks for your cooperation.

Regards

Oswald Boelcke

Senior Moderator
[General Questions and Answers] Snakeforhire:
I've been warned that it's forbidden to post links to a "certain site" here (probably because it has better info and very knowledgeable people than they got here, and it stirs up some sharp sense of jealousy, unfittingness and/or triggers a wicked inferiority complex in the mods here, or something of that ilk... xD

(Pretty stupid rule, AFAIC : sweeping something irritating under the rug does not make it disappear. It has a way to come back to bite you in the ass later, when you least expect it... :rolleyes:)

But if you shoot me a PM, I'll try to retrieve it from my knowledge base and send a link to it (lucky for you I make a point of saving every page from a lifesaving thread I stumble onto -just in case it gets taken down later for the aforementioned reasons... lmao)
[General Questions and Answers] GLangEd:
Hello fellow comrades,

I am eyeing to buy this phone too. For some reason there isn't even a specific forum for this model.

Regarding you question, I wouldn't try to do any flashing as I understand from 4pda is that bootloader isn't unlocked, so you either enjoy phone as it is or get a different one.

They suggest getting the China ROM so you get at least OTA. The Frankestein Global ROM isn't recommended.

Also worst comes to worst if you brick it get it to official service center, there is one in Russia and surely in China, not sure about your countries tho
[General Questions and Answers] Alexandra75:
Hello everyone ...

is there an (easy) solution to change from Chinese Firmware RMX3888 to global stock or custom rom, so I can use it in Germany?

Tried to unlock bootloader, but fastboot I can see less 1 sec. before it boots to main system.

I`ve got no response from Realme EU Support on my request for global stock rom.

Happy to hear if someone had success.
[General Questions and Answers] Snakeforhire:
I'll upload the fix package to my cloud drive and post the link to it., hold on.
[General Questions and Answers] sero_t:
T

Thanks man, i found the Russian site with explanation and the telegram group. But didn't have time to try it yet. Also how do others experience gaming and battery life? I am playing some games now, and sometimes it sucks battery and sometimes it's ok
[General Questions and Answers] Snakeforhire:
Yeah, no wonder : the phone # for Realme EU is actuallly the same as Realme France, and they basically told me to FO : "Sorry, this is a china-only phone, don't have the tools or service account to fix it !".. :(

The only ones who seem to have a service account are Realme China, Japan or Russia -there are several official service centers there (who have managed to fix and/or "roll back" bricks and mutants), the closest is in St-Petersburg. But given the political situation in the world right now, well... Call me paranoid if you will, but I'm kinda hesitant to ship my 750€ device to a country under an international sanctions regime. :'(
[General Questions and Answers] Snakeforhire:
And : no. There's no "global" firmware for the GT5p, they're "mutants" cobbled together to circumvent the network-lock.

You need to either get an unlock code from Realme Support in China and enter it via the engineer menu, or you can bypass it if you manage to root the device, there's a Magisk module that seems to work well.
[General Questions and Answers] Snakeforhire:
Just for my own reference and to check if we got the same one, can you post the link to where you found it ? (Or the name of the archive, I guess that'd do too.)
[General Questions and Answers] sero_t:
It's in 4pda, https://4pda.to/forum/index.php?showtopic=1082890 and the telegram group for the firmware is: Oplus official roms
[General Questions and Answers] Alexandra75:
Thanks for reply ... it seems there is no way to get this phone working with an official global rom, german language and Google Apps (or Alternative like gapps etc.). What I read: Regio Lock can be removed, Rooting possible.
[Android Q&A, Help & Troubleshooting] Diamondkid237:
Hello to y'all... Do anyone know where is the test point on Tecno bd2d on the motherboard or tell me how to find a test point on a schematic diagram ?? Thanks
[Redmi Note 8 Guides, News, & Discussion] emiloski94:
Hi, is there a rom with a built-in option to change device ID? So that applications can see that they are on a "new" device? If not, is there any program? I used Android Faker but it didn't seem to work.
[Redmi Note 8 Guides, News, & Discussion] loopypalm:
Каталог модулей для Magisk - 4PDA

Каталог модулей для Magisk

4pda.to
[Redmi Note 8 Guides, News, & Discussion] emiloski94:
404 not found ;/
[Redmi Note 8 Guides, News, & Discussion] loopypalm:
it work fine

you need to register

see attachment

and tell me if it work
[Redmi Note 8 Guides, News, & Discussion] emiloski94:
Yes, I downloaded it. Thank you. I couldn't register because it wanted a Russian capatche
[Redmi Note 8 Guides, News, & Discussion] loopypalm:
what app require ID change ?

and what android are you using ?
[Samsung Galaxy M02s] Wisdom jonah:
I love this phone is really amazing
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] harshjawla:
Recently I flashed Lineage OS in my mi 11x, but when I rolled back to my stock rom, flashed stock rom via fastboot method and locked bootloader, my device's play store certification is gone. I searched everywhere all of them says your bootloader is unlocked, I flashed the rom again with same method, I also tried to flash the stock rom via recovery method, but nothing works. Can anyone tell me why is that problem happening even in locked bootloader and stock rom and how to fix that?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Green27:
I am also curious, running arrowos 12.1 and was thinking of going back to stock and flashing the official MIUI 14 and locking the bootloader, but apparently it doesn't pass play protect anyways?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] V0latyle:
Google has revoked CTS certification for many Xiaomi phones because of leaked/broken keystores. Unfortunately there is no official workaround. You should be able to pass again with root using Play Integrity Fix, or by using the Xiaomi.eu ROMs.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] harshjawla:
How to do that by using Xiaomi.eu?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] Green27:
So going back to stock and locking the bootloader doesn't fix things?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] V0latyle:
I explained this.

@pndwal can explain this better than I can but the fact of the matter is that Google controls Play Integrity verdicts and CTS certification. Xiaomi, for several reasons, has failed to meet Google's requirements as well as Android security requirements, thereby resulting in the revokation of CTS approval by Google. This means that even with a locked bootloader and OEM key, you won't pass CTS, and you won't get MEETS_DEVICE_INTEGRITY.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] pndwal:
It's not clear what you mean by "I searched everywhere all of them says your bootloader is unlocked"... is device locked or not?... splash screen indicate locked or not?...

Did you check Play Integrity deviceIntegrity status?... Should have MEETS_STRONG_INTEGRITY if locked, and if Play Protect device certification is initially blank, it should show Device is certified after a short time...

If really locked and integrity verdict labels are missing and you have 'Device is not certified', most likely your custom ROM or other has messed with your/persist partition... There are ways to restore this, especially if you took a nandroid backup of your unique partitions incl. /persist as soon as you have custom recovery. (Nb. persist image in ROM is generic and doesn't contain unique numbers for your device.) Xiaomi also often include persistbak partition which can be used to restore persist. Sometimes flashing generic persist from ROM is enough (if unique numbers/values for your device are still intact) but normal ROM flash doesn't flash persist even though it's included in ROM... EDL mod apparently flashes all partitions but you'll need Authorised Account holder or Xiaomi service centre (user account can't) to do that on Xiaomi.

If device simply failed to lock, it may simply be a matter of stock images not being restored properly...

I believe in most instances where Google revokes keys (I think it's unlikely to be the issue here), devices still have MEETS_DEVICE_INTEGRITY when locked.

🤠 PW