yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
The newer version (1.0.273860567) checks for a feature and exits if it is not present. Specifically, it checks for

getPackageManager().hasSystemFeature("com.google.android.feature.PIXEL_2019_EXPERIENCE")

. If it returns false, it'll

throw new IllegalStateException("Cannot start Recorder on unsupported device");

, which should be the reason that it crashes on other devices.
[OnePlus 7 Pro Themes, Apps, and Mods] Clintroymkt:
any chance anyone can mod this out?
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
Just deleting these lines that check this and recompile the apk may work. I haven't had a chance to do that yet. If anyone's interested, the lines of codes of interest are in src/main/java/com/android/apps/recorder/p003ui/application/RecorderApplication.java, lines 52, 95, 96. I exported the apk to Gradle using jadx, so your lines may not be the same as mine.

Edit: recompiled the apk using apktool. After getting rid off relevant code the new version works. Nothing much different from the previous version other than the device check. Still no transcript after saving.
[OnePlus 7 Pro Themes, Apps, and Mods] emiljano539:
Can you share the apk?

Thanks
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
Despite being on XDA for over 3 years, I do not know how to upload an APK to this website, so I uploaded it to GDrive: link (file sha256: b00380cec6ecc3db36fe9d010a7ff5d4ad78bdf75c11c4f4dbad787fb3d22c57).

Things to note before installing this

I had to sign this with my own test key after repacking this, which means that you must uninstall the Google version before uninstall this one. This also means that you'll have to uninstall this one before you install any official updates.

Google Play Protect may also complain about this apk because my test key is never registered.

You'll likely have to save your recording or make a full backup of the app before uninstalling the original recorder, if your previous recordings are important. (The recordings should be in /data/data/com.google.android.apps.recorder/files/recordings)

Always be careful of what you download from the internet. This APK passes Avast and MalwareBytes on my device.

Changes from 1.0.271580629 to 1.0.273860567 (modded):

Pixel experience 2019 check

There are a few changes in ui.recordings.MainActivity, which I hadn't have time to go through. I didn't notice changes during my use.

New findings:

The transcriptions are saved in the audio files (.m4a) as one of the tracks. You can extract them from the audio file with ffmpeg. This means that, at least on my 5T, transcription is saved.

The transcriptions are successfully loaded on my Huawei Mate 20, but not my 5T. Logcat comparison for loading transcript from the same file:

Mate 20:

11-01 21:46:42.359 786 23188 D MediaExtractorFactory: MediaExtractorFactory::CreateFromService mime:(null) uid:1013
11-01 21:46:42.361 786 23188 D MediaExtractorFactory: Created an extractor 'MPEG4Extractor' with confidence 0.40
11-01 21:46:42.361 786 23188 I MediaExtractorService: extractor service created name = MPEG4Extractor, mime = (null), uid = 1013
11-01 21:46:42.361 788 25398 I GenericSource: initFromDataSource track[0]: application/transcription_1
11-01 21:46:42.361 788 25398 I GenericSource: initFromDataSource track[1]: application/audio_tags_1
11-01 21:46:42.361 788 25398 I GenericSource: initFromDataSource track[2]: audio/mp4a-latm
11-01 21:46:42.361 788 25398 I GenericSource: initFromDataSource mSources.size(): 3 mIsSecure: 0 mime[0]: audio/mp4a-latm
11-01 21:46:42.361 788 25398 I GenericSource: checkDrmInfo: No PSSH
11-01 21:46:42.361 788 25398 I GenericSource: finishPrepareAsync
...
11-01 21:46:42.361 788 25398 I GenericSource: onPrepareAsync: Done
...
11-01 21:46:42.387 25324 25324 I Recorder_PlaybackViewMo: Transcript with 28 words loaded using 1 requests in PT0.002700521S

5T: (No MediaExtractor activities in the logcat)

11-01 22:38:10.964 15330 15330 I Recorder_PlaybackViewMo: Transcript with 0 words loaded using 1 requests in PT0.014132449S

MediaExtractor should be the one responsible for extracting the transcript, and it does not seem that it is triggered on my 5T. There may be some reason that the MediaExtractor is not triggered, and it may be an OOS problem.
[OnePlus 7 Pro Themes, Apps, and Mods] Clintroymkt:
thanks! can you post the recompiled apk?
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
It's the link in the post above. I don't know how to directly upload it to this thread. If anyone knows please let me know. I haven't yet been able to upload it through XDA Labs. It says "uploading" and disappears after a while. If anyone knows how, they can also download from that link and upload it to this thread.
[OnePlus 7 Pro Themes, Apps, and Mods] pth6:
Thanks [MENTION=7401072]Mushinako[/MENTION].

It is really strange that MediaExtractor is not triggered, especially because the search is working.
[OnePlus 7 Pro Themes, Apps, and Mods] cd993:
Try visiting xda with a browser, like chrome and see if it successfully uploads that way
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
Per XDA FAQ, there should be a "Manage Attachments" section below the textbox, but I do not see one.

[IMG="Reply to Thread Interface"]https://i.imgur.com/zUxOsQe.png[/IMG]

(I also don't know how to upload images so I uploaded to Imgur and then added a IMG tag)

On XDA Labs, it always says "Bad Request" once I try to upload something.
[OnePlus 7 Pro Themes, Apps, and Mods] Marocco2:
I got this error when trying to record something. It happens immediately when I press record button.

Mi 9t pro with miui 11 stable

Inviato dal mio Mi 9T Pro utilizzando Tapatalk
[OnePlus 7 Pro Themes, Apps, and Mods] hero_wisdom:
Thank you very much [MENTION=7401072]Mushinako[/MENTION], how did you extract the transcript from the m4a file?

I can see the transcript using a hex editor but I can't figure out how to extract it using ffmpeg.
[OnePlus 7 Pro Themes, Apps, and Mods] pth6:
The new version of the APK seems to have the same Pixel check as the previous version. It will need to be modded again.
[OnePlus 7 Pro Themes, Apps, and Mods] bagl0312:
I have the same question of [MENTION=2548807]hero_wisdom[/MENTION] for [MENTION=7401072]Mushinako[/MENTION]: which is the ffmpeg command to extract the transcript from the m4a file ?

I tried several combinations but without success

Thanks!
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
Sorry for the late reply [MENTION=2548807]hero_wisdom[/MENTION] [MENTION=2541018]bagl0312[/MENTION]

The transcription is the first data stream and can be extracted thusly:

ffmpeg -i INFILE.m4a -map 0:d:0 -c copy -copy_unknown -f data OUTFILE.bin

Note that this file is not a raw text, as it seems to encode some information about timestamps. I haven't yet looked into the actual format of this

Also the apk ver 1.1.283481728: link

SHA256: 2fc2b186a976b3588152022f8253907c357c7306ff099d7d03cd3c1340d2dd7b

Somehow I can upload it here this time, but the file is too large, so GDrive it is. It is signed using the same key as the previous one. Haven't seen changes while using yet
[OnePlus 7 Pro Themes, Apps, and Mods] pisanty:
Transcripts are not working on one plus 7 pro can this be fixed please?
[OnePlus 7 Pro Themes, Apps, and Mods] vedant_pancholi:
Same for 6 t, i will realy love the app if transcription issue fixes i think everyone have only one issue. HELP
[OnePlus 7 Pro Themes, Apps, and Mods] SimBoi:
How do I open the OUTPUT.bin to see the extracted text?
[OnePlus 7 Pro Themes, Apps, and Mods] Bernard9:
I'm on OP5T rooted and edexposed installed. Transcript worked but after saving - it doesn't show. Same issue, anyone has a fix? :angel:
[OnePlus 7 Pro Themes, Apps, and Mods] Bernard9:
I tried opening the file via hex editor and type in this command but it returned no results :rolleyes:

Is this method workable to extract the transcripts on op5t?

I think my problem is that I can only 'get the mp4' file if I first share it to Google drive but then it asks if I want to share text and audio. But text doesn't save due to media extractor issue.

I tried searching for the folder location with root file explorer but could not identify the location where Google recorder saves the recordings locally. So I'm kinda stuck there for now.

Grr. So annoying, I hope it's possible to make it work eventually as it's a killer feature!
[OnePlus 7 Pro Themes, Apps, and Mods] THE_KINGDOM:
Any updates and fixes to make this Google recorder work with OnePlus 7t/7Pro?
[OnePlus 7 Pro Themes, Apps, and Mods] SpasilliumNexus:
Edit: nevermind
[OnePlus 7 Pro Themes, Apps, and Mods] dbareis:
The recorder installs on my OnePlus 5T, but crashes on startup, is it known to be incompatible or is there something I can do?
[OnePlus 7 Pro Themes, Apps, and Mods] dknight178:
Is this via a OP device or from another device?
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
Working for my 5T. Transcription still not showing during playback. I'm on version 1.1.289058594. Versions 1.1.2849 and earlier should crash due to the PicelExperience2019 check
[OnePlus 7 Pro Themes, Apps, and Mods] dbareis:
Thanks. I have the same version from APKMirror somewhere... I'll try it again, maybe try a logcat.

Seems it is unsupported on the OnePlus 5T (at least without doing something else):
[OnePlus 7 Pro Themes, Apps, and Mods] Mushinako:
I've just done some digging and it seems like to be some issue on my end. In version 1.0 this app checks for system feature "com.google.android.feature.PIXEL_2019_EXPERIENCE" (Pixel 4 series), and in 1.1 it switched to "com.google.android.feature.PIXEL_2017_EXPERIENCE" (Pixel 2 series). I installed magisk modules that impersonate Pixel 2 XL experiences so that may be the reason it's working for me. Can anyone else confirm?
[OnePlus 7 Pro Themes, Apps, and Mods] dbareis:
After installing the Magisk Module "Pix2lify (SLIM) v 3.0.4, the Recorder app now starts on my OnePlus 5T
[OnePlus 7 Pro Themes, Apps, and Mods] SpasilliumNexus:
It's on a OnePlus 7 Pro.
[OnePlus 7 Pro Themes, Apps, and Mods] SpasilliumNexus:
Correct. At minimum it checks for the 2017 feature name.

My post a few back with screenshots attached mentioned this, but I deleted the text because this thread was mainly about modding the app itself.

A simple Magisk module with the XML files is enough to make all versions of the Recorder app, along with some other Google apps work as intended. No spoofing of the device needed.
[OnePlus 7 Pro Themes, Apps, and Mods] cd993:
Ah nice, so with this module the recorder works perfectly as well as the transcript? Where can I find this module? Can't seem tk locate it on Magisk downloads
[OnePlus 7 Pro Themes, Apps, and Mods] tafo:
Sorry but where did you get the "google pixel features" module? Can you share it with us?
[OnePlus 7 Pro Themes, Apps, and Mods] SpasilliumNexus:
The app worked perfectly, minus transcript files saving or viewing. However, searching words will bring up transcripts that only have said word inside them.

I created the module myself. It's very basic as it contains the 2017, 2018, 2019, and midyear 2019 XMLs from Pixel factory images to allow downloading most Google apps minus Camera, along with framework and permissions needed for Google Dialer to install and work.

Edit: for clarification, the module DOES have the framework and permission files to allow installing and using Google Dialer. It DOES NOT have files needed for Google Camera.
[OnePlus 7 Pro Themes, Apps, and Mods] tafo:
Thank you so much sir, well appreciated for sharing ur work
[OnePlus 7 Pro Themes, Apps, and Mods] cd993:
That's great, thank you!
[OnePlus 7 Pro Themes, Apps, and Mods] Khushi_rochwani:
Please can you tell me how to open OUTPUT.bin fil
[OnePlus 7 Pro Themes, Apps, and Mods] arpitp:
You can just open the file in a text editor (notepad), but there will be a bunch of unreadable data there as well.

You can use a text extraction tool (e.g. https://www.boxentriq.com/code-breaking/text-extractor), but the utility of this binary file is still limited since you'll lose all sentence structure.
[OnePlus 7 Pro Themes, Apps, and Mods] Khushi_rochwani:
Any other way to extract transcript?

I followed all the steps but OUTPUT.bin file had nothing. Is it working for you? Is there any other way to extract the transcription from the google recorder audio files?
[OnePlus 7 Pro Themes, Apps, and Mods] coral_:
I believe the data exported by ffmpeg here is encoded as a protcol buffer. It contains each word, its start / end offset in milliseconds, and optionally a string containing the word plus any punctuation in the transcript:

1 {
1: "the"
3: 14100
4: 14160
}
1 {
1: "same"
3: 14160
4: 14280
}
1 {
1: "or"
3: 14280
4: 14400
}
1 {
1: "different"
2: "different."
3: 14400
4: 14580
}

I was able to decode the output using protoc --decode_raw in some files but it failed in others. This makes me think I'm missing something about the file format or its headers.

Would be curious to know if anyone else is able to parse it further.
[OnePlus 7 Pro Themes, Apps, and Mods] coral_:
I was able to extract the transcripts from the m4a files produced by Google Recorder. They are encoded in a metadata track as protocol buffers prefixed with a 32-bit length.

Here is a node.js script that prints the transcript as JSON for an input m4a:

const mp4box = require("mp4box");
const fs = require("fs");
const protobuf = require("protobufjs");

const protos = protobuf.Root.fromJSON({
nested: {
Word: {
fields: {
word: {
type: "string",
id: 1,
},
formatted: {
type: "string",
id: 2,
},
startMs: {
type: "uint32",
id: 3,
},
endMs: {
type: "uint32",
id: 4,
},
},
},
Result: {
fields: {
words: {
rule: "repeated",
type: "Word",
id: 1,
},
size: {
type: "fixed32",
id: 2,
},
},
},
},
});
const Result = protos.lookupType("Result");

const filename = "Monday at 08-48.m4a";
const data = new Uint8Array(fs.readFileSync(filename)).buffer;
data.fileStart = 0;

const mp4 = mp4box.createFile();
mp4.onSamples = (_, _, samples) => {
if (
samples.length === 0 ||
samples[0].description.content_encoding !== "ion/transcription_1"
) {
return;
}

let transcript = [];
for (const sample of samples) {
const res = Result.decode(sample.data.slice(4));
const { words } = res.toJSON();
if (words) {
transcript = transcript.concat(words);
}
}
console.log(JSON.stringify(transcript, undefined, "\t"));
};
mp4.onReady = function (info) {
for (const { id, codec } of info.tracks) {
if (codec !== "mett") {
continue;
}
mp4.setExtractionOptions(id);
}
mp4.start();
};
mp4.appendBuffer(data);
mp4.flush();
[OnePlus 7 Pro Themes, Apps, and Mods] JustAPhoneUser:
Has anyone figured out a way to fix the recorder app given this information? I am guessing by this that the underlying reason things are not working is a m4a processing library that is included with the system has issues reading metadata. If we can identify said library perhaps we could add it to that apk bundle and change references if needed?
[OnePlus 7 Pro Themes, Apps, and Mods] jameslfc5:
Any idea why this works on my Note 9 but not my Oneplus 7 pro?

I absolutely love this app and would love it to work with transcription on my oneplus! ?
[OnePlus 7 Pro Themes, Apps, and Mods] BlueBottleKnife:
mp4box node.js confused

So, I've never used node.js before but I installed and saved your code as mp4box.js and changed

const filename = "Monday at 08-48.m4a";

To my filename, yet when I try and call the script from cmd (after cd to my directory), it first threw this error:

SyntaxError: Duplicate parameter name not allowed in this context

So I removed _, _, from mp4.onSamples = (_, _, samples) => {

So it is now

mp4.onSamples = (samples) => {

My final error was

Error: Cannot find module 'mp4box'

Are you using a mp4box module to parse directly from the m4a, and not FFmpeg?

Is it evident to you where I am going wrong? I would love to be able to extract cleaned timestamped transcripts from these files.
[OnePlus 7 Pro Themes, Apps, and Mods] coral_:
grec

I created a new tool called grec that extracts transcripts from Google Recorder m4a files. Unlike the script I posted above it's a self-contained binary so you don't need any development tools installed to use it.

I'm not able to post links in this forum yet, but you can find the tool by searching for my username, maxhawkins, on Github. The repository is named grec.
[OnePlus 7 Pro Themes, Apps, and Mods] TotallyAnxious:
What are your thoughts on the pixel exclusivity being something tied to how the file is encoded?
[OnePlus 7 Pro Themes, Apps, and Mods] twoxa:
Fun fact. App is available in Google play store for 7pro if you are on T-Mobile firmware. No real downsides to FW either. Can be rooted the same way and debloated with xXx.
[OnePlus 7 Pro Themes, Apps, and Mods] coral_:
You all might be interested in this hackaday project porting the Android offline speech recognition engine to tensorflow:

https://hackaday.io/project/164399-android-offline-speech-recognition-natively-on-pc
[OnePlus 7 Pro Themes, Apps, and Mods] Aadil Gillani:
Hello is it possible that you can do the same to Google pixel personal safety app
[OnePlus 7 Pro Themes, Apps, and Mods] urbanmec:
Any news about this port ? Any fixes for the transcriptions not saved ...(project seems abandonned).

Anyway, if you are kind enough to point me in the direction of what might cause it to not load the loaded transcriptions I might get "hands on" and port the latest version with a fix for this.
[OnePlus 7 Pro Themes, Apps, and Mods] phendrome:
I'd take a logical guess that it would work if you have an AOSP-based ROM, like Pixel Experience or whatever. Then the Google Recorder would work flawlessly.
[OnePlus 7 Pro Themes, Apps, and Mods] urbanmec:
Not everyone can flash custom roms, also , the transcription problem seems to be device related of some sort... I will start working the coming days and see what I can discover and if its worth the time.
[OnePlus 7 Pro Themes, Apps, and Mods] phendrome:
Keep us updated!
[OnePlus 7 Pro Themes, Apps, and Mods] urbanmec:
App ported successfully and fully functional on my phone, and given that the app has an online counterpart (for backing up the recordings), there is an issue with the signature verification (which I also solved using an Xposed Module=> Root + Xposed => Only for online services, app works locally without root nor xposed)

However, and by my own previous message, this defies my own policy of porting apps (if it requires root / custom Rom flashing / some advanced stuff to work, unless someone really really needs it, it is not worth working on).
[OnePlus 7 Pro Themes, Apps, and Mods] jbl0ggs:
Is version 3.5 available that works on non-Pixel phones?
[OnePlus 7 Pro Themes, Apps, and Mods] great420amit:
Can anyone remove pixel experience 2017 check from latest version 3.5

It's material you.
[OnePlus 7 Pro Themes, Apps, and Mods] macho mucho:
is there somewhere a mod versione of Recorder 3.5.439815822 that unlocks pixel 6/Pro specific languages to other pixel phones?
[Galaxy Tab S2 Q&A, Help & Troubleshooting] xXFutureGuyXx:
Hi, the current Samsung Galaxy Tab S2 9.7 is a SM-T813N.

On the Wiki is only the old version SM-T813: hXXps://wiki.lineageos.org/devices/gts210vewifi

Does the SM-T813N work with LineageOS too?

General Question to the Galaxy Tab S2, is lineageos flawless on it?
[Galaxy Tab S2 Q&A, Help & Troubleshooting] kanka124:
It works, but it's not very fluid, at least for me.

It gets pretty warm just browsing the web too
[Galaxy Tab S2 Q&A, Help & Troubleshooting] MrCsabaToth:
What's the difference between the SM-T813N vs SM-T813?
[Google Pixel 4 XL Accessories] stuntnmore:
I recommend these two together, its all for under $20.

Just ordered it and feels durabled, already preorderd my pixel 4 xl just black, its going to look sick

Pixel Xl 4 Case

https://www.amazon.com/gp/product/B07T9P1XF8/

Glass Protector

https://www.amazon.com/gp/product/B07YCBZCP3/
[Google Pixel 4 XL Accessories] quahog_convo:
Have you used the Qitavo screen protectors before?
[Google Pixel 4 XL Accessories] State.of.mind:
No. Have you? What's the scoop?
[Google Pixel 4 XL Accessories] quahog_convo:
Never used them either. The reviews seem a little bit fishy, but the pricing is good.
[Google Pixel 4 XL Accessories] State.of.mind:
Oh gotcha. I always use Zagg
[Google Pixel 4 XL Accessories] mkouk:
For those of you on the UK, InvisibleSHIELD Glass Elite Screen Protector for Google Pixel 4XL is around £16...it sells for £39.99 on Zagg'a official website
[ZenFone 2 Q&A, Help & Troubleshooting] grafikermc:
My Asus Zenfone 2 phone crashed. The fastboot mode screen came when it was turned on. I hooked it up to my computer to install the software,

but my computer can't see my phone. I installed all the necessary intel and asus drivers. Still haven't seen.

The fastboot mode screen opens every time I start the phone or try to enter recovery mode.

Please help me.

Thanks.[IMG="Asus Zenfone 2"]https://i.hizliresim.com/86oqgA.jpg[/IMG]
[Samsung Gear Sport] mickash01:
Hi,

Since the latest Tizen update, my sleep alert has suddenly stopped and I cannot seem to find an option on the watch to enable it. 30 minutes or so after I had woken up it would automatically alert me to the quality etc of my nights sleep before the update. Can anyone let me know how to get this back on again?

Secondly, when I set up a multiple workout widget, it doesn't continue to the next exercise, it jumps back to the main exercise selection screen where I have to rotate the bezel to find the next exercise. Is there something I have missed?

Thanks,

Mike
[Xiaomi Poco F1 Questions & Answers] ravi72925:
Hii,

I am using Netmonster app. Which shows 4CA and 3CA in Airtel. But I do not see any difference in speed. :confused:
[Xiaomi Poco F1 Questions & Answers] TatsuyaKaneki2015:
i cant see my back up files in my itnernal after formatting so i cant go back to stock rom. .im using TWRP as of now. i cant do anything coz i dont see my files to be flashed

ive already done this a many times but this is the first time i dont see my backup files after i transfered it.

maybe its because of TWRP or something i dunno.
[Xiaomi Poco F1 Questions & Answers] TatsuyaKaneki2015:
never mind i found it. seems weird the location changes to media instead of sd card or external sd which i find it normally.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] AjaYKumaR91240:
Can anyone help me with the stock recovery image please?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] nakulp:
Which rom are you using? Stock but version number?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] OperationNT:
You can get full factory images from Xiaomi website. For example, here is the link for Global EEA:

https://c.mi.com/thread-2459743-1-0.html

You will have 2 versions: the ".zip" and the ".tar.gz" (which is often bigger)

Take the ".tar.gz" version and uncompress it: you will find inside a "recovery.img" file which can be flashed by fastboot or TWRP.

However, like nakulp means, you should take care. In my case, I wanted to apply recent OTA update Global EEA 10.3.4 for 10.3.3. As I had TWRP recovery, I needed to replace it by original recovery and the image I got was from 10.3.1: it resulted in a black screen on recovery start. Only the "recovery.img" from 10.3.3 worked fine. This image seems to work fine also on 10.3.4.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] AjaYKumaR91240:
Thanks man appreciate your help now i am on MiUi 11.0.2.0 stable based on android 10 which is really good and bloatware free

Its working smoothly
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] HardZikk:
Hi, my recovery doesn't boot up, I only have fastboot mode, can someone publish the stock recovery image if you have it, i don't find it... it would be so cool, thank you everyone ;)
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] Robbo.5000:
Download a fastboot ROM and extract the recovery.img file. There's lots of links to fastboot ROMs on these forums.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] HardZikk:
Yes thank you, but download are so slow, it's the reason i asked for a stock recovery directly. If I finish my download one day, I would post the stock image if I can, but not beforce tomorrow for sure...
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] gwenmillett:
I need this too, someone please upload