yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Cilenco:
Hey everyone, I have a Pixel 3 with the latest Nova 7 launcher installed and I would like to get the app start and close animations (which are called quickswitch if I'm not mistaken) from the original Pixel launcher. Unfortunately I'm not able to set them up. I tried different settings through the Nova settings but nothing seems to work. Do I need root and the Magisk module for that? I thought on Pixel phones it should work without root. I'm running Android 12 btw.
[General Questions and Answers] KevBri:
Hey, I also have a Pixel 3 and tried Nova but couldn't get the animations to work. I'm rooted and still couldn't figure it out. However, I then found Lawnchair 12 (alpha 3) and was able to get animations to work using the QuickSwitch module in Magisk. Unfortunately, that does require root.

Like you, I thought there was some new API allowing third party launchers to tap into the new animations without root, but that's either not true or Nova is still working on it. Lawnchair + root is great, though, if you want to give rooting a shot.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] nikoog:
Do you know an approximate date of when twrp official will be released?
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] ISaidMe0w:
I think there will not be any official twrp for alioth in the near time. For now we only have Nebrassy and vasishath one.
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] theo72:
they don't say when, but sooner or later there will be

https://gerrit.twrp.me/c/twrpme/+/4509
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] LukaNyan:
Xiaomi.eu rom here. I was going to update my POCO F3 / REDMI K40 but it bothers me not having the twrp. I don't understand why it's gone but, if I wait, will it be eventually coming back when you're about to flash it like before ?

If anyone knows big thanks.

PS. I just remembered that magiskhide doesn't even work on android 12 anymore so.. maybe another reason to not update
[Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40] pegasoc:
Just my opinion, but is it so essential to upgrade to version 12? Isn't it better to wait when things are a bit more mature? What's so important about 12?
[Xiaomi Redmi 6 Questions & Answers] SkeweredPickles:
How would one go about reflashing a softbricked Redmi 6 that can only be recognized by a PC for only 2 - 3 seconds in COM mode (Entered via Vol + and Power)? I need advice from first-hand experience.

The device is boot looping with a dark screen, the vibrator only initializes briefly, as opposed to a constant vibration.

This occurred after an attempt at resurrecting it in a prior softbrick state (constant vibration bootloop) using SP Flash tool utilizing the Cereus MIUI v11 fastboot ROM. I have heard now that MIUI v11 can 'lock' the phone, unfortunately I was unaware preceeding this event...

(Note: I accidentally installed TWRP over the boot partition which lead to the perpetual vibration softbrick).

Atleast in the incessant vibration brick state it was feasible to flash the phone via COM mode, again, by holding Vol + and Power; But in this current state it seems F.U.B.R.

Can't enter Fastboot, but had it unlocked prior to the brick with the intention to install TWRP on the recovery partition in an attempt to install Lineage OS, but it would never boot into TWRP mode, neither manually or automatically...

Thanks.
[Xiaomi Redmi 6 Questions & Answers] SkeweredPickles:
Bump!
[Google Pixel 6 Pro] Nekromantik:
Anyone know if bigbiff will be working on P6 series?
[Google Pixel 6 Pro] Golf c:
Send him a PM
[Nova Launcher] tensux:
has anyone been able to do this? When i tried installing a few different versions from mirror apk the settings screen will not open. the reason i want to use an older version is that the ability to change individual icons on the home screen was taken away on version 7
[Nova Launcher] mkhcb:
I don't think that feature was ever removed
[Nova Launcher] tensux:
they did for a short time when they first released 7. tons of complaints in the review section. they did add it back
[Moto G4 Play Questions & Answers] boe#july:
hello everyone, i was trying root my phone, is a XT1641. The problem is when i try to unlock the OEM from the developer options and i enter in the fastboot mode the oem is locked again and the PC don't recognize the device, i think its a problem from the phone but idk how to solve it, i tried everything.

Can someone help me? thanks u.
[Moto G4 Play Questions & Answers] sd_shadow:
Windows 10?

You installed moto usb drivers?

[Guide]Un/locking Motorola Bootloader

Un-Locking and Re-Locking Motorola Bootloader New @ragarcia87 has posted an On-line Data Scrub Tool like Moto use to have. https://xdaforums.com/t/tool-scrubber-v1-0-2024-05-01-motorola-datascrubtool.4670185/ USA...

xdaforums.com
[Redmi Note 8 Pro Questions & Answers] asengpeace@gmail.com:
Hi,

Recently my devices start to boot loop suddenly so, i decide to flash the custom rom back.after flashing the custom rom,the device still boot loop then i try to get into TWRP Recovery mode but it would not appear, then i proceed to flash the TWRP Image recovery (suspecting the recovery already missing during the flashing rom ) via FASTBOOT once the process done, i had disconnect the cable and suddenly the device screen wouldnt turn on even though i pressed the power button for a long time.

Please help.

Thanks.
[Redmi Note 8 Pro Questions & Answers] Kirasu2080:
Connect phone with PC and check if you Notification light turn on or not.

If it's still on, your phone got hard bricked (maybe because you mess with custom roms and TWRP). Next time follow Flash guide in each custom roms.

You can use unbrick hardbrick method (free) or get service (paid). I recommend try free method first but when use SP Flash tool, remember ONLY use "Download Only" (Some stupid local shop can use Format and you can lose IMEI too, so careful).

You can find that method easily on: Youtube, XDA, Github, Telegram,...

If you have any error, you can reply here or join Telegram group to get help.
[Redmi Note 8 Pro Questions & Answers] asengpeace@gmail.com:
hi i already using SP Flash tool but i stuck at this level..
[Nubia Red Magic 6] Hilo01:
Is this ok?
[Nubia Red Magic 6] leipnacht:
is it 6 or 6S pro?

is it CN ROM or Global ROM?

I'm curious coz I'm going to buy this week
[Nubia Red Magic 6] Hilo01:
6 pro global rom
[Nubia Red Magic 6] leipnacht:
I see. I have the 2019 Red Magic 3. I don't experience this on Genshin's event. But maybe coz it's on CN ROM.. but this shouldn't be an issue on global rom.
[Nubia Red Magic 6] Hilo01:
Genshin Is not the only that I have this glitch
[Nubia Red Magic 6] leipnacht:
It's been five days since I got my 6S Pro. I play Punishing Gray Raven and Genshin and didn't encountered any graphic glitches.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Joshuavin:
Please i have tried to flash my rom non is working... im still on version 4 kitkat.is that why?
[Android Head-Units] scalamusical:
Hello, thank you very much to anyone who can help me, I tell you about my situation, I do the whole procedure the 5 files in the root in a Fat32 USB memory, I mark the box to format the internal flash, the stereo takes a long time and indicates that it does not It turns off, then it restarts, everything gives the impression that it is going to perform the procedure but the only thing that happens is that the vehicle logo and the android letters are reset, when it starts after a long time in the Android letters it turns out that a factory settings reset, nothing else .... !! it never reaches the screen where you see how the installation and update bar progresses as in the video, and the information continues to show the same number and date of compilation, mcu, system and the same failures of course .. I'm doing wrong .? I have manually reset to factory, I have changed memory, I have tried 2 different compilations: (20210803 and 20210825) with the name THEME1, I have downloaded from different places ..! Nothing, always the same behavior and result.

Supposedly this is the correct firmware for my Stereo.

My device is a T3L with 1GB Ram and 16GB of Internal memory,

MCU version:

T3L.3.19.-296-10-A49311-210105 (MM030)

System:

V8.1.1_20210430.162039_THEME1

Android Version: 10 (Fake) - 8.1 API Level 29

VW:

(T3L.3.19, PT2313, QN8035, MM030,296)

CPU-Z:

AllWinner A23 1.60 GHZ

Model: QUAD-CORE T3 p1 (t3_p1)

Board: exdroid

Hardware: sun8iw11p1

Build ID: t3_p1-eng 8.1.0 OPM1.171019.026.20210430 test-keys

Resolution: 1027x600 Pixels

Screen Size: 7.42 inches (but I bought it as a 9-inch)

Thank you in advance for the light and the help ..!

Greetings from the Middle of the World
[Android Head-Units] mcruzm:
pudiste solucionarlo?

Mod Edit: English Translation Below

were you able to solve it?
[General Questions and Answers] Razerfang:
Hey guys, I need some urgent help please. I just rebooted the phone from custom ROM and the phone started bootlooping. I use a Poco M2(rebrand of Redmi 9 Prime). Please help guys. I can't access custom recovery or fastboot to fix this. I'm scared right now.
[General Questions and Answers] Deleted member 1890170:
Fastboot should work even if phone is boot-looping, unless the Custom ROM you use is based on Android 10 or higher where Fastboot got moved to Android's userspace.
[General Questions and Answers] Razerfang:
Yes it's based on android 11
[General Questions and Answers] M4yh3m69:
Same issue, any updates on the solution?
[Motorola Edge 20] Author83:
The following sites report issues with WIFI RECEPTION/RANGE:

https://xdaforums.com/t/first-impressions.4327473/#post-85583311

English Community-Lenovo Community

Can anyone report whether a software update has fixed this issue?
[Motorola Edge 20] Username: Required:
I don't seem to have issues with WiFi on my device. It easly goes up to 290Mbps on this exact app. However, I am on a 5Ghz connection, so the problem may be isolated to the 2.4Ghz band.
[Motorola Edge 20] ione2380:
There is no WiFi problem. First is 2.4 and second is WiFi 6.
[Motorola Edge 20] spajdo:
I have issues on my phone. Nothing horrible, but still.

When I'm playing some games and I'm on wifi net, I allways got message about wrong connection and I have lags in the game. When I turn off the wifi and I'm on standard data, games are ok.

When I'm watching netflix or youtube on wifi, everything is ok.
[General Topics] xkobaltx:
Forgive me if this isn't the appropriate section.

I've found a simple solution to the live wallpaper issue.

Using a computer and ADB or LADB directly from your device,

Simply enter (from computer):

adb shell pm install-existing --user 0 com.android.wallpaper.livepicker​

Or from LADB:

pm install-existing --user 0 com.android.wallpaper.livepicker

​

Hope this helps some people.

All Hail the Kobalt Kommander​
[MTCD Android Head Units General] jnshk:
I have a couple of vehicles using Dasaita MTCE PX6 head units running Android 10. Both units have been rooted with Magisk. While trying to troubleshoot some bugs within Magisk, I discovered that both units have SE Linux security policy set to permissive. I've read about how this can be dangerous if a malicious app (or even just a poorly coded app) is installed, but I've also read that most of these head units from China ship in permissive mode. Does anyone know if these units are in fact intended to be set in permissive mode, or if it was something that I did in the process of rooting them which has switched the mode?

Furthermore, if they do ship as permissive, is there any reason not to switch them to enforcing mode if I can do so? I did switch one of them to temporary (until reboot) enforcing mode and didn't notice any odd behavior, but it was not a particularly exhaustive so I may have just not encountered any issues during my brief test.
[Android TV General] Jarod_:
Hi,

Since Google has deployed the new version of Android TV Remote Service (in September 2021), the old applications are not able to pair anymore with Android TV devices…

Does anyone know if Google has an official documentation on how to pair with the new Android TV Remote Service? If no document exists, do you know any app (other than the ones created by Google) that works with the new service? Or any developers discussions about it?

I was able to reverse-engineering the old protocol, but with this new update I have to restart from scratch…

Any help would be appreciated.

Thanks
[Android TV General] Piyush@android:
Exactly. We are giving our head around it. Can someone please help us?
[Android TV General] Jarod_:
I built a documentation for the ATV Remote Protocol v2: https://github.com/Aymkdn/assistant...oogle-TV-(aka-Android-TV)-Remote-Control-(v2)
[Android TV General] gcc1:
Yes, Old protocol works. But Android Remote V1 Protocol documentation does not give any info how to send keyboard keys.

Could you please share the Protocol v1 documentation how to send keyboard keys?
[Android TV General] gcc1:
Thanks for sharing this valuable document.

Could you please point to some doc which shows how to control the tv keyboard? Document explains everything except the keyboard and voice controls...
[Android TV General] Jarod_:
Everything is already explained in the documentation https://github.com/Aymkdn/assistant...ka-Android-TV)-Remote-Control#step-3-commands

As explained, if you want to send "B" you will use the code 30 : https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_B
[Android TV General] gcc1:
Hi,

You are right its explained in the command section. But it only works for NON Keyboard commands like Volume/Channel/Home/Navigation.

It does not work for Keyboard Characters. it only works for numeric keys form 0-9.

For example if I want to send Keyboard Numeric key 3 (KEYCODE_3), Following is the command and it works.

Same format works for volume/mute/home etc. with their corresponding keycodes.

Press

01 02 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09

Release

01 02 00 10 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 09

Now if I want to send Keyboard Character 'B' (KEYBOARD_B), Following is the command and it does not works.

Nothing appears in the TV Search Box !!

Press

01 02 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1e

Release

01 02 00 10 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 1e

Though I have seen official android TV App and other 3rd party apps which handles it very well.

The moment search box is opened on the TV, TV's Gboard keyboard gets disappeared and One bottom Banner saying Use the keyboard on your mobile device appears.

Now whatever is typed on the Phone Remote app, it appears on the TV Search box. Do you have any idea what intent is sent to TV to enable this new keyboard which facilitates the typing?

I am attaching the Screenshots how it look like when TV search keyboard disappears and another appears. Pasting the official android app link and other 3rd party link which handles it well.

Official Android TV Remote App

Third Party Remote App

View attachment 5575455

Gboard Keyboard

View attachment 5575453

Keyboard which handles the remote keyboard inputs
[Android TV General] Jarod_:
Sorry but I don't know... I'm not using it it this way.
[Android TV General] Piyush@android:
@gcc1 @Jarod_ Thanks for the doc. I was trying to build remote for Android to Android TV. Can u please help how to achieve the same in Java as what i saw in the doc is PHP Code.

Can u help how to achive it in Java.
[Android TV General] PuckBass:
google has release new remote app its now included in google home app !
[Android TV General] gcc1:
As you can see in my question, i am not asking for 3rd party apps. we all know there are many apps which are doing this.

THIS IS ABOUT HOW TO DO IT BY MYSELF AND WRITE A JAVA LIB FOR THAT.
[Android TV General] Sharika_Singh:
You can use the Android TV remote to

Navigate the TV screen.

Control media.

Turn the TV on or off.

Activate the Google Assistant.

Change the volume.

Enter text to perform searches or enter login information.
[Android TV General] oldman20:
Any keyboard for Android TV which has full-size? I mean like hacker keyboard but support remote?
[Android TV General] hamidoo:
Hi, for this exact reason, I've developed my own remote control app using bluetooth HID API's.

It is the only free, ad-free and open source Bluetooth remote on the Play Store.

Bluetooth Remote & Mouse - Apps on Google Play

A Bluetooth remote application for Android TV and other devices.

play.google.com
[Android TV General] Eliran123:
hi i have a question

when i add the last 2 charecters to the hash of the secret - what do i need to add?

the last 2 charecters from hex string to byte[]? or from regular string to byte[]?
[Android TV General] Jarod_:
In my PHP code I do the below:

// use SHA-256
$ctxHash = hash_init('sha256');
hash_update($ctxHash, $clientModulus);
hash_update($ctxHash, $clientExponent);
hash_update($ctxHash, $serverModulus);
hash_update($ctxHash, $serverExponent);
// only keep the last two characters of the code
hash_update($ctxHash, hex2bin(sübstr($code, 2, 4))); /// HERE
$alpha = hash_final($ctxHash, true);

So, I convert the last two characters from hexadecimal to bin.
[Android TV General] Eliran123:
hi thanks for replying!

from this PHP code it apears we take the last 4 charecters since substr("123456",2,4) should return "3456", the js implemention seems to do so as well

i am trying to implement it in java but my code doesnt work for some reason - i would appreciate if you would take a look:

PublicKey publicKey = certificate.getPublicKey();
PublicKey publicKey2 = s.getSession().getPeerCertificates()[0].getPublicKey();
if(!(publicKey instanceof RSAPublicKey) || !(publicKey2 instanceof RSAPublicKey)){
System.out.println("Expecting RSA public key");
}
RSAPublicKey rSAPublicKey = (RSAPublicKey) publicKey;
RSAPublicKey rSAPublicKey2 = (RSAPublicKey) publicKey2;
try {
MessageDigest instance = MessageDigest.getInstance("SHA-256");
byte[] bArr = new BigInteger(text.substring(2),16).toByteArray();
bArr = removeLeadingNullBytes(bArr);
byte[] byteArray = rSAPublicKey.getModulus().abs().toByteArray();
byte[] byteArray2 = rSAPublicKey.getPublicExponent().abs().toByteArray();
byte[] byteArray3 = rSAPublicKey2.getModulus().abs().toByteArray();
byte[] byteArray4 = rSAPublicKey2.getPublicExponent().abs().toByteArray();
byte[] removeLeadingNullBytes = removeLeadingNullBytes(byteArray);
byte[] removeLeadingNullBytes2 = removeLeadingNullBytes(byteArray2);
byte[] removeLeadingNullBytes3 = removeLeadingNullBytes(byteArray3);
byte[] removeLeadingNullBytes4 = removeLeadingNullBytes(byteArray4);
instance.update(removeLeadingNullBytes);
instance.update(removeLeadingNullBytes2);
instance.update(removeLeadingNullBytes3);
instance.update(removeLeadingNullBytes4);
instance.update(bArr);
byte[] one = {8,2,16, (byte) 200,1, (byte) 194,2,34,10,32};
byte[] two = instance.digest();

byte[] combined = new byte[one.length + two.length];

for (int i = 0; i < combined.length; ++i){
combined[i] = i < one.length ? one[i] : two[i - one.length];
}
socketOutputStream.write(combined);

remove leading null bytes in my code returns new byte[] without any 0 at the start
[Android TV General] Jarod_:
Yes, you're correct it's the last 4 digits!

I don't do Java… I found some code on the Web that I put in the documentation.
[Android TV General] Eliran123:
finaly managed to pull it off!

the problem was the byte[] named "one" (the start of the payload)

byte[] one = {8,2,16, (byte) 200,1, (byte) 194,2,34,10,32};

turns out the payload shoud start with the overall length which is 42 so replacing this line with:

byte[] one = {42,8,2,16, (byte) 200,1, (byte) 194,2,34,10,32};

fixed the problem

i suppose its something you might want to add to your doc as well
[Android TV General] Jarod_:
"42" is the message size, so yes you have to send it all the time. I'll update the doc to clarify.
[Android TV General] yogeshwar-xda:
Please give me any react native or native mobile app code to run the above code.
[Android TV General] EowynREN:
Hi Jarod,

Thanks for sharing this doc! It's super helpful! I'm following the steps you listed in the doc.

I just met a problem. When sending pairing messages, how did you get the byte code for the SERVICE NAME? Is there a way to convert a name (a string maybe) to bytes?

BTW, is it necessary to set up an SSL connection to communicate with the TV server? Can we set up a general socket connection if it's just for test usage.
[Android TV General] Jarod_:
I'm simply using https://www.rapidtables.com/convert/number/ascii-hex-bin-dec-converter.html (cf attachment). Just make sure to provide the size of the message (you can compare with my doc).

You need a SSL connection with the certificate that has been approved during the pairing.
[Android TV General] EowynREN:
Hi Jarod,

Thanks for your swift reply! Does that mean the most important part is the size, the version, and the status while the rest of the parts (service name tag, service name, device name, and client name) I can make them up since they don't truly take effect?
[Android TV General] Jarod_:
Everything is important, but the "service name" and "client name" can be customized. In the 3 pairing messages, they are the only things you should change (with the related "lenght/size of the message"). Everything else should remain as they are in the documentation.
[Android TV General] EowynREN:
Hi Eliran,

Thanks for sharing your solution! I'm also working on this problem now in Java. Having trouble with how to set up an SSL connection with the tv server. Would you mind sharing your code for this part with me? I'll be very appreciated!!
[Android TV General] EowynREN:
Hi Jarod,

Hope everything is great! I'm following your doc to implement a remote service on smartwatches. I can pair up with the TV server successfully and receive the same format response from the server you described in the SEND COMMANDS section 1st Configuration Message sub-section.

View attachment 5968167

I have trouble when trying to send my 1sr configuration message. It seems that the server replies nothing to my request. I took a detailed look at the 1st Configuration Message sub-section section. It seems that the size of the sub-message consists of

4 tags

8, 238, 4, 18

MODEL_NAME

VENDOR_NAME

24, 1, 34

YOUR_APP_VERSION_NUMBER

APP_NAME

APP_VERSION

which gives the length of the sub-message as 60 in your example

while what is left uncounted are:

SIZE_OF_MODEL_NAME

SIZE_OF_VENDOR_NAME

SIZE_OF_YOUR_APP_VERSION

SIZE_OF_PACKAGE_NAME

SIZE_OF_APP_VERSION

which takes 1 byte for each and should give the length of the whole message as 65. Why 73 is presented as its length? and should the total length of the payload be 65 + 2 (SIZE_OF_THE_WHOLE_MESSAGE, SIZE_OF_THE_SUB_MESSAGE)? Why it's 74?

View attachment 5968519

I would very much appreciate it if you could clarify this. Thanks again for your help! It really saves me a lot of time
[Android TV General] tieulac:
Have you achive this behavior yet?

I also notice that those keycodes won't work (but with a keyboard plug in, those keys on keyboard work totally fine). May be there's some kind of command as a lot of command enum hasn't been explored yet.
[Android TV General] oldman20:
Any idea for using this make android phone tranform android tv (samsung dex, etc..) with remote controller?
[Android TV General] odyshewroman:
There are more commands than those presented in the wiki. I have used reverse engineering and achieved some success in editing the text. However, there are still commands that I am not aware of, which complicates comprehensive editing. Nevertheless, some individuals somehow have access to the knowledge of these commands. If anyone else is also trying to address this issue and has any knowledge, I encourage collaboration on this matter.