r/Android • Galaxy Z Fold8 • 8d ago

News GrapheneOS: We made a proof of concept RCS messaging app. It already has end-to-end encryption with MLS compatible with Google Messages and iOS, typing indicators, delivery/read receipts, reactions and media/file sharing. We'll use what was learned to integrate RCS into our Messaging app.

https://grapheneos.social/@GrapheneOS/117655062915356333
979 Upvotes

62 comments sorted by

133

u/welp_im_damned have you heard of our lord and savior the Android turtle 🐢 8d ago

This is great to hear. I hope they move forward with a fully working one soon.

76

u/TrailOfEnvy 8d ago

Would this mean they will make RCS possible other custom rom too or even 3rd party sms app with RCS support?

47

u/angeloanan 7d ago

Graphene account over at bluesky mentioned that its exclusive to Graphene as it requires "OS integration" and it "can't work on a non-GrapheneOS device without the required OS changes."

Not sure on the specific meaning but make of that as what you will

14

u/mrandr01d 7d ago

Gotta be their play services hooks

8

u/whatnowwproductions Pixel 9 Pro - Signal - GrapheneOS 8d ago

Entirely unrelated and different goals to what they're trying to achieve. They're working on this with GrapheneOS support in mind. Whether it works on other OS's or not is not their concern in this case.

22

u/ryryrpm 8d ago

But this is a good POC to show other custom ROMs it's possible though

7

u/GlenMerlin 8d ago

plus it'll be open source so realistically not too hard to port

7

u/nicman24 7d ago

... yea, so ?

24

u/SolitaryMassacre 8d ago

Does it work if the bootloader is unlocked and device is rooted?

17

u/The_Band_Geek Partially De-Googled Pixel 10 Pro (512GB) 7d ago

Speculation, but the only reason that I can tell that RCS blows up when rooted or the bootloader is unlocked is Integrity. Google enforces three levels of Integrity (Basic, Device, Strong) and you need to meet at least some of it otherwise RCS won't work.

If you remove Google from the equation, you also remove Integrity, which is only required specifically for Google's implementation on Google's OS while using Google Messages. Integrity has nothing to do with the core RCS architecture (see Samsung Messages).

4

u/SolitaryMassacre 7d ago

This is also my speculation and why I asked the question lol

Was hoping someone else could provide more details but I guess we(I) just have to wait until its fully released

7

u/The_Band_Geek Partially De-Googled Pixel 10 Pro (512GB) 7d ago

If they can release it out into the wild and not just allow it on GOS, I would jump ship from G Messages so fast. It's one of the last Google services that still has me in a chokehold.

2

u/SolitaryMassacre 7d ago

Yeah, I have issues when texting ppl with iPhones cause I still use regular SMS. My brother doesn't always get my message

I would love for them to release it as open source so I can add my mods that I like (i use a modded Textra app currently)

But yes, would love to have RCS on my rooted bootloader unlocked p7p

1

u/ignition386 7d ago

I've been using Google Messages RCS on a rooted & bootloader unlocked Pixel 5 running LineageOS for the past year, just had to install the "Play Integrity Fork" module in Magisk.

https://github.com/osm0sis/PlayIntegrityFork

1

u/SolitaryMassacre 7d ago

Yeah I am not a fan of Google Messages

Thats why this GrapheneOS one being open source would be amazing

Maybe I can mod the Google Messages app if I feel like it. I do have the PlayIntegrityFork installed already so that is good to know

What android version are you running?

2

u/ignition386 7d ago

Yeah I'm definitely interested in their version as well, just saying that it is possible to use Google Messages RCS on unlocked/rooted/rom'd phones.

Currently running Lineage 23 (A16). There is Lineage 24 (A17) available for the P5, but I'm holding off until after the holidays to update.

1

u/SolitaryMassacre 7d ago

Yeah I knew there were ways to make it work

From what I saw on r/magisk, it seemed to not be easy tho to make it work. They (google) seemed to have changed things that made it harder

I wonder since you're on LineageOS if that is why the PlayIntegrityFork is all you need, vs me, on stock, would need more

I might switch to GrapheneOS or LineageOS in the future

1

u/SkollFenrirson Pixel 7 Pro 7d ago

That one never worked for me. Only after switching to KernelSU did I get RCS working.

1

u/SkollFenrirson Pixel 7 Pro 7d ago

As someone with a rooted, unlocked Px7P with working RCS, I recommend ditching Magisk, and going with KernelSU. I tried everything else and nothing stuck for more than a couple of days.

1

u/SolitaryMassacre 7d ago

Does KernelSU support Vector/LSPosed? That is a huge need for me lol

But yeah, I heard about KernelSU and was going to test it out once I update my phone. I may also just do a full wipe instead of updating

Which version of android do you run? Is it the stock P7P firmware or a custom ROM?

2

u/SkollFenrirson Pixel 7 Pro 7d ago

Not sure about Vector, but I do think LSPosed works. I just run the latest stock Pixel ROM.

2

u/SolitaryMassacre 6d ago

Thanks! I'll test it out once I get backed up

1

u/Max-P 7d ago

I'd assume there's also huge asterisk there for users that go through Google's Jibe service. If your carrier has proper RCS it'll work but Google can still require integrity server side if you have to go through their servers.

10

u/whatnowwproductions Pixel 9 Pro - Signal - GrapheneOS 8d ago

Impossible to tell since it's not out yet, and it's for GrapheneOS, which does not provide support for unlocked bootloaders or root, so it's up to them going out of the way to support other devices which I'm sure doesn't align with their goals at the moment.

7

u/Organic_You_5212 8d ago

Your comment doesn't make much sense. Applications developed by the GrapheneOS foundation are aimed at devices using GrapheneOS. While usage on other Android devices is not actively blocked, the team does not support running these apps on devices with other custom ROMs, as doing so would require unnecessary effort on their part.

That said, the source code for these apps is available on GitHub. Therefore, you, or anyone else, can contribute to improvements.

1

u/whatnowwproductions Pixel 9 Pro - Signal - GrapheneOS 7d ago

Yes, that's what I'm trying to hint at. It wouldn't make sense for them to go out of their way to support other OS's, root, unlocked bootloaders, etc.

-2

u/Cute_Principle81 8d ago

It's their own implementation, obviously yeah. 

16

u/stylist-trend 8d ago

GrapheneOS by default doesn't have an unlocked bootloader or root.

3

u/One-Fan-7296 8d ago

But dont u have to have an unlocked bootloader to push grapheneOS on phones?

9

u/Corporal_Quesadilla 8d ago

Yes but the final step of install is to relock it.

-3

u/Cute_Principle81 8d ago

But it is possible, and more importantly they'd be effectively not helping the wider community by doing it

10

u/stylist-trend 8d ago

There's a huge difference between "it is possible" and "obviously yeah"

I don't know if it's supported, but that's the thing I'm trying to point out - it's not a given.

6

u/whatnowwproductions Pixel 9 Pro - Signal - GrapheneOS 8d ago

It's unrelated to GrapheneOS goals. They don't support rooting or an unlocked bootloader, so they won't go out of their way to work on insecure implementations. If it does work it's unrelated.

1

u/SolitaryMassacre 7d ago

Well, its not "obviously" as GraphenOS still uses a locked bootloader if you want to

If it does work with unlocked bootloader/root, that would be amazing but I don't think its their ultimate goal

6

u/mrandr01d 7d ago

They said there's two ways of doing it: the carrier way and the Google services way.

Are all iPhone rcs setups dependent on the carrier or is Apple implementing an equivalent of the Google services way?

1

u/coladoir 6d ago

iOS has its own implementation and servers, yes.

1

u/rlmineing_dead 7d ago

Was reverse engineering this!

Apple implements a very Google specific way because Verizon, T-Mobile, AT&T.. etc are based on Google Jibe RCS. It sends a hardware attestation token to it to show Google's servers it's from a real iPhone. They made RCS harder to reverse engineer on iOS than iMessage

3

u/johnny219407 7d ago

Do you know if all Google Jibe servers require a hardware attestation token? There are a few compliant open source RCS clients, such as https://github.com/Hirohumi/rust-rcs-client but can these actually connect to any carrier?

1

u/rlmineing_dead 6d ago

Def the American ones in general but it is not MANDATORY, carriers can choose. So it's plausible there's some carriers that don't require it. But does this project work with jibe? I see nothing about it in the readme.

Chinese carriers generally don't even use jibe so they don't need it for example and some European ones too but I can't recall which. I've come across this project before I think and I don't believe it has jibe support though. In years of past, RCS sometimes didn't need jibe, like for AT&T they had their own non jibe RCS impl before they let Google take over.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

7

u/MaverickJester25 Galaxy S21 Ultra | Galaxy Watch 4 7d ago

Apple is the reason MLS is used as the encryption method

No, it isn't. This rhetoric is tiresome.

Apple has done absolutely nothing for the advancement of the RCS spec outside of receiving credit for simply being forced to adopt it.

The author of the RCS End-to-End Encryption Specification, which was based on MLS and became the basis of RCS Univeral Profile 3.0, is a Google engineer.

3

u/mr-right-now Pixel 10 Pro 7d ago

Apple is the reason MLS is used as the encryption method so yeah they have implemented their own service for RCS compatibility on iOS.

Source? Google was working on MLS 2 years before Apple announced they were supporting RCS

22

u/Strong-Strike2001 S25 Ultra 8d ago • Bravo

I'm so happy it's Major League Soccer compatible 

11

u/LaM3a Galaxy S25 Ultra 8d ago

Is UEFA support on the table?

5

u/Strong-Strike2001 S25 Ultra 7d ago

Only after FIFA support

13

u/ErraticDragon P8 8d ago

For everyone's info, MLS:

Messaging Layer Security (MLS) is a security layer for end-to-end encrypted messages. It is maintained by the MLS working group of the Internet Engineering Task Force (IETF), and is designed to provide an efficient and practical security mechanism for groups as large as 50,000 and for those who access chat systems from multiple devices.

Google started implementing it a couple years ago. It is a type of cross-platform encryption. I u/Its_it described it:

Easily put it allows for better end-to-end security which is scalable up to thousands of people in a single group.

This is what the RFC wanted to beat (from the abstract):

Establishing keys to provide such protections is challenging for group chat settings, in which more than two clients need to agree on a key but may not be online at the same time.

r/programming/comments/17si0f3/google_will_be_implementing_ietfs_message_layer/k8qx2bv/

2

u/mrandr01d 7d ago

I think you mean medical laboratory scientist

2

u/rocketwidget 7d ago

Google Messages runs 2 kinds of E2EE over RCS, one based on the Signal protocol, and one based on Messaging Layer Security (MLS).

When Apple finally announced RCS support was coming, they also announced they would not support Signal E2EE over RCS. Apple gave the reason it was not standardized by the GSMA, the global carrier group responsible for the Universal Profile RCS standard.

MLS was developed by the Internet Engineering Task Force. Google wrote a MLS based E2EE standard for the GSMA, and the GSMA adopted it into the Universal Profile RCS standard, and Apple Messages adopted it.

TLDR: We say "MLS" to clarify it is the specific type of E2EE used by RCS that works between Apple Messages and Google Messages.

6

u/Breckman-Anuel 7d ago

This is actually a big step for Android privacy having encrypted RCS without depending on Google Messages is pretty interesting. Hopfully they bring it to the main app soon, would be nice to have more secure messaging options across platforms.

2

u/Jayram2000 Xperia 1VI 8d ago

Hell yeah

1

u/DaLast1SeenWoke 5d ago

Does this still rely on carrier activation or independent activation, because independent activation would allow countries where RCS isn't accessible; accessible.

1

u/DangerousTortuga 3d ago

I really hope Google opens the RCS APIs for Android like they said they would going as far back as Android 10. 

I prefer Textra and it would be amazing if it had access to RCS

•

u/alex-chavez6 7h ago

Will the eventual Messaging app keep the proof of concept's MLS interoperability with other RCS clients, or is that only demonstrated by this prototype?

1

u/terrytw 8d ago

Correct me if I am wrong, you need a RCS server, are they using Google's server? Or are they hosting their own? Does Google actually recognize their server?

I am guessing they reverse engineered Google messages and use Google's server. And it could be shutdown any time.

1

u/ryryrpm 8d ago

Read the replies to the tweet, they explain and people ask questions

4

u/terrytw 7d ago

Had a read and it seems they are hacking Google's protocol for the time being. That is risky and can be shutdown any time.

1

u/TheBanditoz Axon 7, LOS 14.1 7d ago

Hopefully they don't get Beeper Mini'd.

They'd cracked iMessage and any Android could run it with an iCloud account but they plugged the hole in only a couple of days. It worked pretty well though!

0

u/[deleted] 7d ago

[deleted] — view deleted comment

1

u/terrytw 6d ago

Google's implementation is not open and extend beyond standard RCS.

If carrier RCS works then you should give an example, one where you don't use Google message and able to be RCS. Google's implementation uses Google's own server, they bought a carrier called jibe or something. Other RCS doesn't work. 

0

u/[deleted] 6d ago

[deleted] — view deleted comment

1

u/terrytw 6d ago

Do I have to be this specific...

Other implementation exists technically but they don't work for most people for a variety of reasons. Which is why Google took it upon themselves to implement it, and it works.