yashsingh1/xdaforums huggingface dataset:
[Moto G40 / G60] Purplegunpowder:
If anyone is using this ROM can they please tell me if gyroscope is working on "always on" settings in New state mobile or Apex legends Mobile. Any of these two.

It's working in a few games only. I would love to switch to this ROM if gyroscope is working in those games.
[Moto G40 / G60] vatsalc:
Not yet.
[Moto G40 / G60] vatsalc:
Supports Widevine L3. Prime Video runs in 480p I guess.
[Moto G40 / G60] chxd8536:
is this working with moto g60s?
[Moto G40 / G60] Raghu varma:
Note - installation procedure changed to TWRP now. please read the main thread installation guide before proceeding.

Changelog Thu Jun 9 13:05:59 UTC 2022

===========================

• added OTA ( over the air ) support

• build signed with new private keys specially generated for Moto G60/G40 Projects. this will reflect for security reasons and on top of it OTA update verification as well.

• fixed slot switch while flashing rom from recovery mode.

• initiated stock retail build fingerprint

• extended reserved space for every partition to 250 MB
[Moto G40 / G60] hemanga101:
downloading now
[Moto G40 / G60] SohamDeb:
The dedicated Google Assistant button on both the G40/G60 isn't working, can you find a fix for this, like mapping it or something, or push a fix through a software update?
[Moto G40 / G60] marwanjaber888:
work with moto g60s?
[Moto G40 / G60] Raghu varma:
Note - the people who are on May 2022 security patch can simply update to latest release via OTA from settings like stock rom.

Changelog Thu Jun 23 17:51:03 UTC 2022

===========================

• June 2022 security patch

• fixed default global action gestures

• powered by OSS black caps kernel

• switched to compressed kernel by default
[Moto G40 / G60] Raghu varma:
Announcement

==========

Recently we pushed OTA update for Lineage OS & Pixel experience. We are aware with the fingerprint issue on few Motorola G60 & G40 units.

At the moment we debugged the issue and decided to do some changes from the kernel level. Especially the units which are packed with chipone sensor encountered with fingerprint bug. Anyway we resolved it somehow.

For now we request whoever encountered with fingerprint issue to flash the recommended kernel via TWRP or OFX which is linked below.

Link : BLACK_CAPS-12L-hanoip-kernel-20220625-1333.zip

Thank you !
[Moto G40 / G60] AVI8152:
@Raghu varma Hello my name is Avi and I am from India .... I am 18 years old and recently I got admitted to a college.... Before going to college my father asked me if I want a new phone but I denied and decided to take a phone that's kept in my home its a MOTO G60 .... After a recent android 12 update I don't know why the whole UI started lagging and my god its soo laggy ,,,,, I have installed Pixel experience rom before on Oneplus 2 as well but this time I am confused .. Like I went to Pixel experience rom website but I did not see MOTO G60 there although it's a new phone ......

SO my first question would be -

Is this ROM really pixel experience ROM ? I mean if G60 supports it then why its not on their website (sorry if I am asking silly questions I'm just a 18 year old boy)

Secondly I wanna ask that recently I was reading your threads and I got to know about that incident that happened with you and brother I want to apologise on that man's behalf .... Please I want to pursue computer science as well and people don't understand how much patience and hardwork goes into all this so please forgive us all .......... You are a great man and even your friends like @arsradu.. But I just want to ask if you have started the development again? Sir Like I don't wanna take a risk like I install the rom but then I get to know that development is stopped so then I will be stuck .... Please brother this XDA is too confusing for me ....... Please tell me if the development is open or closed ...... Also this rom is normal version or "PLUS VERSION" ? Like is this the stable ..... ahhhhhhhh everything is sooooo confusing ........ All in all sir the questions are as follows -

1 - If you are giving G60 Pixel experience rom then why PE website don't have it like is this an OFFICIAL ROM ?

2 - I saw that incident you had to face and then you closed the development so is the development open now ? and is it stable or beta and is it nearing the completion?

3 - My phone will not get BRICKED right ? Although I did it on my Oneplus 2 I am still too scared on Motorola .... Is unlocking boot loader on G60 or Moto in general hard/risky?

4 - Where are the current patch updated links ( If the development is going on)

5- My phone is still in warranty so although its not advised to unlock boot loader in warranty can you tell me what's the main reason ?

6 - If I restore back to original MOTO OS will I get updates on that ? No right ?

7 - I saw that you have uploaded PE ANDROID 13 --- and then AOSP ANDROID 13 (but that is closed) so does that mean it has been made ? ---- then I saw you have also uploaded Lineage OS Android 13 ||||| So which one is the best and with most exclusive Pixel features and most smooth and least bugs ?

Sir I sincerely hope you reply me back I have to depart for college in few days and I seriously don't want to take any risk doing this cuz this is a good condition phone I have at home but I want to make it's experience good once and for all
[Moto G40 / G60] arsradu:
Hello,

I'd like to address some of the questions in your post. But before that, I would really appreciate if you could post in English so we can all understand it. If I'm not mistaken, it's also one of the forum's rules.

Now, let's get into your questions:

1. Why is this ROM not on the official PE site?

That's because this ROM is not official. And, for as far as I know, Raghu Varma doesn't have any plans to make it official.

2. What's the current state of progress with this ROM.

This ROM is in BETA (the PE sources are in Beta), and the development is currently open. For how long...that's up to Raghu Varma and the servers he's using to building these ROMs.

However, if you go a few posts up, you'll probably see a list of issues with this ROM. Take a look at that before going forward with flashing this ROM.

3. Will my phone get bricked?

No. Your phone will be fine as long as you don't do stupid things, and follow the unlocking bootloader procedure carefully as well as the installation procedure posted on the main page of this thread. For anything else, ask if you're not sure.

No, unlocking bootloader is generally not a risky procedure in its own. However, some of the apps won't work with an unlocked bootloader, even on stock ROM. For example contactless payments. Also, every time you lock or unlock the bootloader, an "erase userdata" (or factory reset) command will be done. Which means you will lose all the user data on that phone. So, make a backup.

However, what follows after that can potentially damage your phone. Especially reverting to stock and most importantly, locking back the bootloader. DO NOT lock the bootloader on any custom ROM. This is 1# rule of flashing a custom ROM on your phone. NEVER do that, or you'll likely brick your phone.

4. I'm sorry, I'm not sure what you mean by that.

5. Why is unlocking bootloader not recommended while still under warranty?

You lose warranty the second you request the unlock key from Motorola. I'm guessing that's also one of the reasons why it's not advised to do it while your phone is still under warranty. I did it, cause I don't really need that warranty. The stuff that's covered by warranty is usually stuff I can fix myself, and the stuff that's not...well, it's not, so I can't take advantage of that. So, a software issue I can fix myself, for example, and if you break your screen, the warranty is not gonna cover it anyway. So...that's why I don't really care much about warranties. But your mileage may vary.

6. Will I still get updates if I revert to stock ROM?

Yes, you will get updates, as usual.

However, when/if you decide to ever get back to stock ROM, make sure you do it properly, using LMSA! Make sure there's no junk left from other installations.
[Moto G40 / G60] AVI8152:
So sorry I am new to all this XDA and I did not know the rules the UI is so confusing to me ....... I am very sorry again wait wait wait I will edit the post and convert it in English ......... Please check now PLEASE I am sorry again
[Moto G40 / G60] AVI8152:
I edited it please check now and sorry again I will not do it again ......
[Moto G40 / G60] AVI8152:
Okay in the 4th question I was asking where are the current updated download links which has the latest security patch ?........ And also can you please answer question no 7 which I asked.......Again is there any problem if I am installing an unofficial ROM ? Like can we get an assurance that Raghu sir will take this development unto stable version ? Is AOSP in stable ? is it better than PE ? Again is TWRP recovery version available of this PE ROM .... and I saw that you said somethingablout going back to the original stock OS ... well don't we just going TWRP and restore the OS ?

Im sorry can you please clear all my doubts and I want to thank you as well like you are so so so so so hardworking I am seeing you everywhere and honestly I didn't expect you will reply this fast
[Moto G40 / G60] arsradu:
No worries. :)

Also, you don't need to make a separate post. If you want to add something new to your existing post, just use the Edit function.

Ok, back to your remaining questions:

1. is this ROM really Pixel Experience ROM. And the answer to that is: yes. But it's not the official version, because Raghu Varma had his own reasons not to become an official maintainer for that. So...that's why the ROM is not official.

Personally, I understand his reasons. Though I would also prefer to have this ROM as the official PE ROM for this device. But...it is what it is. :)

2. is this regular version or PLUS?

For as far as I know, it's the regular. But I could be wrong.

3. is it stable?

Yes, it's stable. In the sense that there are no crashing apps. HOWEVER, please, read my post here and the following ones on pages 6-8. There are a few things that don't work in this release. Make sure you read and understand them before flashing this. :)
[Moto G40 / G60] arsradu:
1. Download links are on the first post on this thread. :)

Or you can click here if you still have problems finding it. Also, here for instructions.

2. The security patch for this ROM is September.

3. Are there any assurances that the development will continue? That's up to Raghu Varma to decide. But...it's hard, because those servers are not easy to keep. Again, go through pages 6-8. You will find some of the answers you're looking for there.

4. I haven't tested the new AOSP. So I don't know. Personally I prefer PE rather than pure AOSP, but thats just my preference.

5. TWRP recovery is available. You have the download link on the page at my first answer of this message.

6. NO! You don't do TWRP and then restore OS. You just use LMSA to restore your ROM.

Also, my advice would be not to flash TWRP. But only boot from it, as instructed.

Command for that is: fastboot boot twrp.img (it's in the instructions, as well).

Also, maybe the best advice I can give you: DO NOT RUSH! Don't skip steps! Read carefully and follow as close as you can.

Also, personally I find it easier to flash this ROM from an SD Card rather than pushing it from the computer. But...if you don't have one available, you can do it whichever way you want. The idea is to get the ROM to your phone someway.
[Moto G40 / G60] AVI8152:
My god you're such a helper I hope I'm not disturbing you right now as I don't know where are you from ..... Anyways you answered most of my questions ...... But when I installed PE officially from their website on my OnePlus 2 way back then i first flashed TWRP then from that i installed PE then if i wanted to go back i used to go to TWRP again and i go to back and restore and then restore the whole stock OXYGEN OS that i took backup of ... Is it not the same process nowadays ? ..... And you know one thing I'm so like you lol 😂 i also think that i don't have to do nothing with my phone warranty if it breaks they are not gonna repair it anyways ...
[Moto G40 / G60] arsradu:
I don't know for OnePlus devices. I never had one, nor do I have any knowledge of unlocking bootloader/rooting/flashing custom ROMs on those devices. I just don't know.

But it is different for this phone.

First of all, PE comes with its own Recovery. At least for this phone. Again, I don't know for OnePlus.

So you don't need to flash TWRP. Booting into it, enough to flash the custom ROM, is enough.

Second, flashing stock ROM does not require TWRP at all for this phone. Please, don't use TWRP for that.

So, in short, to flash this ROM:

1. unlock bootloader

2. boot into fastboot mode

3. do: "fastboot -w"

do: "fastboot erase userdata"

4. BOOT into TWRP (again, you've got the instructions in my posts above, or on the main page of this thread).

5. get the ROM someway on the device. SD Card, or push from PC. Your choice. Just get it there somehow.

6. flash the ROM

7. reboot

To restore stock ROM, all you need is LMSA, in Rescue mode. That's all.

I'll provide more info, if necessary, when you get there.

Now I gotta take care of some personal stuff. Hope the info I provided above helps you in your journey. And one last advice I have for you: when unsure, don't just improvise. Ask to make sure it's the right way to do things. Otherwise, your "improvisation" might not be the best choice, and you'll go from one mistake to another trying to fix what you broke one step before, but actually breaking more stuff.

So, when in doubt, just ask. Simple as that.
[Moto G40 / G60] AVI8152:
Thank you so much there were more things to ask but I'll just leave the question here and you can answer later no worries in that .. okay ?

So as I saw your post you mentioned all in all 6 bugs or problems I guess in the beginning.And also there were some bugs mentioned in pages 6-8.. Can you give me an update if they have been fixed either by Raghu sir or PE team or from Google's side ? ...... As for signal strength Raghu sir said it's fine and i also live in India so I guess it will be fine for me as well ... Ummm yeah then again i don't use contactless payments so that's not an issue as well ... In short if all the important stuff is working like all the stuff general people use and the ui is smooth and feels like any stock OS that comes with phone with no hassle and seamless experience in all the stuff then i am fine .. also this rom as OTA update feature right ? All that i am confused right now is about the installation part ...as i am new in all these things so I will probably attempt to install it soon so please you all be there for me cuz I will ask many stuff then ..... Also if you get time let's have a chat i am so curious about you and your field ... Okay reply me back when you get time .... Thank you so much My name is Avi but you can call me Kim just Kim......

I just saw the installation process 😭😭😭😭😭😭😭😭 it's so hard for me i am not familiar with all those code and all that .. also i use Mac OS what to do ... Please is their an easier way for this ? Is flashing TWRP not recommended?
[Moto G40 / G60] arsradu:
You can use MacOS, too. But I can't go into all the details right now. Please wait and I'll try to help you tomorrow.
[Moto G40 / G60] AVI8152:
Sure no hurry 😊
[Moto G40 / G60] AVI8152:
My god why does it seem so hard 😭 I'm just a noob .... Is it hard only for mac OS or in general this is hard ..... Also i searched that adb sideload is better option than instaling from a custom recovery as it said to have fewer errors ..... But i thought i only needed to download platform tools and drivers and then place it on my Mac ... But the steps you mentioned 😭😭😭😭 I'm sorry it must be so frustrating for you to make me understand all this ..... But honestly the first thing i have to do is unlock the bootloader ... So first of all let's do that and i have to do it on mac os so now the easy steps regarding that would be helpfull 😊
[Moto G40 / G60] arsradu:
The steps I mentioned are useful if you want to use adb and fastboot from anywhere on your Mac. If you just download the folder and unzip it, you can still use it, but all the stuff will need to be in that folder. And, if I'm not mistaken, you'll need to use ./ in front of adb and fastboot commands to make them work.

The way I proposed, you can just use adb and fastboot as they are.

So it won't be:

./adb devices

it will be:

adb devices

Just an example.

To unlock bootloader, use this tutorial.

You can skip downloading Android Studio (you don't need all that, you only need platform-tools). And driver. You don't need that either.

But the rest of the steps you do need to do in order to get your unlock code.

The code will be used, from fastboot mode, like this:

"fastboot oem unlock [unlock key from your email]"

Also, don't worry about all this. I know it's new, but we all started at the same place: at the bottom. So, it's normal to have questions. Just take them one by one.

Do the adb & fastboot set up and unlock bootloader first, and let me know if you have questions.
[Moto G40 / G60] AVI8152:
kkay

Okay first of all what I'll do is try to set up those adb and fastboot and all .... I was just like having some difficulty understanding the part which is above "Now open the terminal and test adb and fastboot" in your recent reply i mean the part where we set up adb ... It seems so complicated for me ..... Anyways I'll see to it .... And trust me if i am able to install it I'll help you all with the testing i am a keen observer and i can tell you small small bugs as well after all i want to pursue software engineering so i should have a little experience with skilled people like you all ...... For now i just have to figure something about the adb .......

Edit -----

Okay as you said I downloaded platform tools for Mac and then I went to my Macintosh then into my user account name then I saw some folders there but as you said there was no developer folder there so I just created it and placed platform tools in it and now it looks like this .....
[Moto G40 / G60] arsradu:
Forgot to add a small but important part to the steps above. I added them now. But in case you missed them, here it is:

To make the hidden files visible, use this key combination: Shift + CMD + .

Once again, the . is part of the deal. So you need to include that, too!

This is important, cause otherwise you won't see the .zshrc file you created. The . in front of the file tells the OS it's a hidden file. So, if you don't have hidden files turned on, so you can see them, well, you won't see them. :)

If you encounter issues on the way, let me know.

And yes, it can be complicated. But good thing is that you'll only have to do this once. :D
[Moto G40 / G60] arsradu:
Take them one step at a time. :)

Once adb and fastboot are set installed and zshrc set up, you can just invoke the Terminal app from your Spotlight search box (CMD + spacebar to launch it faster), or from the Utilities folder and then do the commands I mentioned above.

Meaning:

adb devices

and

fastboot devices (later on).
[Moto G40 / G60] AVI8152:
The screenshot was okay right ? We have to create developer folder there only no ? .... zshrc setup is the main problem .. cuz you said something nano of terminal or Sublime text ... I don't know all these .... Then what i should do
[Moto G40 / G60] arsradu:
Ok, let's try with Sublime Text. :) Should be easier.

So:

1. download Sublime Text

2. install it

3. create a new file with the content I mentioned above (the if HOME...etc etc, that one) inside the file

4. save the file as ".zshrc" to your home folder. So it should be under /Users/[username]/.zshrc

5. press Shift + CMD + . (in case you haven't done that already) so you can see the file

You can also check the file by double clicking it and make sure the text inside it is correct.
[Moto G40 / G60] AVI8152:
Roger that ...

Attempt 1 of setting up adb and fastboot

Trying it now ☺️
[Moto G40 / G60] arsradu:
One step at a time. :) No worries. I'm here to guide you every step of the way.
[Moto G40 / G60] AVI8152:
I've got into a bit of a problem so i saw that LMSA is only available for windows...... Not for MAC OS ... So if i want to restore my stock OS if any problem occurs so how will I do it ? .......... And also i want to take backup of my OS ... See lots of confusion that's why I was leaning towards TWRP but then i saw that it may get me errors ....

Currently i am trying to unlock bootloader but since i saw the problem of LMSA not being on Mac OS i am skeptical...
[Moto G40 / G60] arsradu:
LMSA is not available on MacOS, that's true. However, if you're on an Intel Mac, you can use UTM or another app to install Windows and get the job done from it. I'm on a Mac, as well. So, I understand you perfectly. It's more complicated for M1 Mac users (like myself).

But there are ways to flash stock ROM from fastboot itself. We'll get to that when the time comes. So, don't worry about it. You don't necessarily need Windows for that. I just thought it would be best to do it from Windows, because, you know, it's the official app for that.

About ROM backup, I don't know... I haven't done it, I also don't have enough space on my SD Card to do that, so I just made a backup from the OS itself (on Google account). That was good enough for me.
[Moto G40 / G60] AVI8152:
Ohhhh i understand...... I was just concerned that while unlocking bootloader my phone gets bricked so i could have used the TWRP to restore my OS cuz it provides backup and restore function right ....... Hmmmmm let's see what we can do here
[Moto G40 / G60] arsradu:
No worries. Unlocking bootloader doesn't harm your phone. The worst thing it does is erases your user data. But that's the case with all Android devices. Other than that, it's a safe process.

Locking the bootloader is also easy. BUT you need to make sure the ROM you have at that moment is 100% the official one. No leftovers from other ROMs. But, as I said, we'll get to that if/when the time comes.

Also, while the bootloader is unlocked, you can soft brick your phone all you want. You can easily recover it (usually by reflashing the ROM). It's when the bootloader is locked that issues can occur. And it can be non-recoverable. Cause then, it will not allow you to do flash commands anymore. But, as I said, one step at a time.
[Moto G40 / G60] AVI8152:
Roger that
[Moto G40 / G60] AVI8152:
Okay I also need to ask one general question....Is your G60 camera quality also bad ? Cuz damn my phone's camera is sooooooooooo bad I mean 108 megapixels sound so fake like the photos it gives seems like those old weird photos of phones of 2010...... Even the UI of camera is soooo laggy and weird and there is a slight weird tint also on the interface of viewfinder.... I don't know if my unit is faulty or what..... Also recently after the android 12 update the phone has become extremely laggy like its sooo extreme opening of apps and eve pulling down the panel is soooo laggy even on 120 Hz ... I hope this PE rom fixes all those and the recent heating issues in the upper part of the screen... I also have a Galaxy M31 that has such a good camera even the mic and speaker quality on the G60 is sooooo like not good enough but on Samsung's the hardware and the fundamental core stuff is high quality and everything seems so good even when I have a mid range Samsung not a high end ---

Anyways I have installed adb and Fastboot and tomorrow I'll unlock the boot loader hope everything goes fine .... I just need to revive this G60 with the PE rom so that whoever uses it I or my mom we don't get frustrated with the UI like we do now and I hope Gcam is better