Where is the system upgrade within the filesystem? - Realme 7 Questions & Answers

My Realme 7 has a notification which reads:
"New system version downloaded. Install now!
RMX2155_11_A.78"
Where is it located within the filesystem?
Is it somewhere I can copy from on an unrooted device?
I'm assuming Magisk can use this to get it's 'boot.img' file & others may be interested in a copy too.

@alanthehat THREAD CLOSED as you've already created a similar one minutes ago:
I have a 'system upgrade', where is it?
My Realme 7 has a notification which reads: "New system version downloaded. Install now! RMX2155_11_A.78" Where is it located within the filesystem? Is it somewhere I can copy from on an unrooted device? I'm assuming Magisk can use this...
forum.xda-developers.com
XDA Forum Rules (excerpt):
...
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
...
Click to expand...
Click to collapse

Related

[Q] How to use SU permissions in an app?

Hey everyone.
I'm developing an android application in java, and I'm pretty familiar with all that stuff, but now it's the first time when I need to use SU permissions.
The goal is to move some file from /system/ directory to SD, I tried to use renameTo method from File class, but it returns 0 (FALSE), which means that some error occured.
I also noticed that there was no Superuser app prompt, asking to confirm granting superuser permissions.
So, how do I replace files from /system/? Shall I use the same method but with some additions in manifest? Or is there any other way?
I already searched xda, googled for it, but I can't find any useful information. I also checked Android Superuser website and I didn't find any documentation or something like this.
Thanks in advance!
UPD: Found a solution http://www.stealthcopter.com/blog/2010/01/android-requesting-root-access-in-your-app/
thanks to stackoverflow
Sorry for this thread
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

[Q] phone vs notification ringtone

Why are the two lists not the same? Can they be made the same?
As usual, if my attempt at searching was poorly done (I found only a recommendation for a download, no explanations) feel free to point me to an existing thread.
yeah u can
Apparently I should have been clearer: if it can be done, how do you do it?
sprry but I do not understand what you are trying to achieve. like, you want blahblah.ogg or whatever to be your ringtone and your incoming gmail/sms/notification at the same time?
Ringtones are stored in system/media/audio/ringtones
Notifications are stored in system/media/audio/notifications
Just copy the ones that you want to the location that you want and reboot. It should be able to be selected after it comes back up.
FYI- If you are adding new audio, make sure it has the correct permissions or else it will not show up in the list.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
tenorntex said:
Ringtones are stored in system/media/audio/ringtones
Notifications are stored in system/media/audio/notifications
Just copy the ones that you want to the location that you want and reboot. It should be able to be selected after it comes back up.
FYI- If you are adding new audio, make sure it has the correct permissions or else it will not show up in the list.
Click to expand...
Click to collapse
I'm assuming I need superuser rights to move them around.
lufc said:
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Damnit! I don't know why I keep forgetting that.
Click to expand...
Click to collapse
That is correct. Root is required, with a file explorer, or you can make a zip file to flash.
You can also place them under
<sdcard>\ringtones or
<sdcard>\media\ringtones
I cant remember which, it supports like ogg/wav/mp4 or so, it's the standard way for android I believe
I keep forgetting about the media folder on the SD card.
Thanks for the update. It does makes sense to use the SD Card location so it doesn't get overwritten every time you flash a new ROM.

Can't download any apk file

Hello people, first i'm sorry if i'm on the wrong forum. My problem is in the title, i can't download any .apk file, when i try to download an apk from chrome, it shows me an unknown error, when i try to download an apk from firefox it's the same error, and if i try to transfer the file from my pc to my phone, i get an error installing the app, it's like my phone accepts everything except apk files, i have no anti-virus or task killer, no firewall or something, help me please
Thread Closed as its already posted here :- https://forum.xda-developers.com/android/help/download-apk-t3692223/post74240507
Kindly avoid creating duplicated threads/posts
https://forum.xda-developers.com/android/help/download-install-apk-file-t3691970#post74248744
5. Create a thread or post a message only once.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
Click to expand...
Click to collapse
Thanks
XDA Staff.

How to spoof an app's signature?

Hello.
I have patched an app. The app resists to run since the app's signature is now changed.
How can I spoof the app's signature to make the app itself think that it's genuine and signed with the developer's signature?
Can I make this effect system-wide, so all apps that try to retrieve the app's signature actually gets spoofed signature?
Is there any XPosed/Magisk module that will allow me do to that?
I also saw the CorePatch XPosed module. The description says:
Code:
allow downgrade application [INSTALL_FAILED_VERSION_DOWNGRADE]
allows direct install apps after modify file in apk [ignore invalid digest error etc..]
allow overlay install apps with inconsistent signatures
Does it mean that it will allow me to install an apk with an invalid signature? For example if I somehow could copy the signature from the genuine APK to the patched APK despite the fact that the signature will not be valid.
If it does, then how can I copy the signature from the original APK to the patched APK?
okali said:
Hello.
I have patched an app. The app resists to run since the app's signature is now changed.
How can I spoof the app's signature to make the app itself think that it's genuine and signed with the developer's signature?
Can I make this effect system-wide, so all apps that try to retrieve the app's signature actually gets spoofed signature?
Is there any XPosed/Magisk module that will allow me do to that?
I also saw the CorePatch XPosed module. The description says:
Code:
allow downgrade application [INSTALL_FAILED_VERSION_DOWNGRADE]
allows direct install apps after modify file in apk [ignore invalid digest error etc..]
allow overlay install apps with inconsistent signatures
Does it mean that it will allow me to install an apk with an invalid signature? For example if I somehow could copy the signature from the genuine APK to the patched APK despite the fact that the signature will not be valid.
If it does, then how can I copy the signature from the original APK to the patched APK?
Click to expand...
Click to collapse
Hello and good afternoon, @okali
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Need step by step instructions how to automatically add files to the APK in Android Studio

I am trying to do this very trivial task, but I cannot find any complete instructions on how to do it.
So far, I gathered that
APK is just an archive that files can be added to using aapt add MyApp.apk file1 file2 ...
Or the files must be added to the assets folder
The APK must be less than 100mb to be allowed on the APP store
The files must be signed
The problem is that I am finding these one-line answers in Stack Overflow questions, and not in any official instructions from Android Studio developers, and they leave a lot of necessary steps out. Which I have to guess, like where to put the files, where are they getting stored on the device. If adding files to the assets folder, I need to know Which assets folder? app/build/intermediate? Do I need to add something to Gradle scripts? Are there any other steps?
This is a very basic thing that probably every android app needs to do, and I am baffled that there is not an option or support in the IDE to import and sign the files being used by the application.
So far I had to resort to manually uploading these files (YOLO ONNX models, label text files, test images, etc) to my phone and the emulator for testing.
I am looking for some clear and concise step by step instructions to how someone can add something like a text or image file to their APK, sign it, and make it deploy to the phone or emulator automatically when building, running, or debugging the app.
Can someone please help point me to such a resource?
Thank you,
dmitryengr said:
I am trying to do this very trivial task, but I cannot find any complete instructions on how to do it.
So far, I gathered that
APK is just an archive that files can be added to using aapt add MyApp.apk file1 file2 ...
Or the files must be added to the assets folder
The APK must be less than 100mb to be allowed on the APP store
The files must be signed
The problem is that I am finding these one-line answers in Stack Overflow questions, and not in any official instructions from Android Studio developers, and they leave a lot of necessary steps out. Which I have to guess, like where to put the files, where are they getting stored on the device. If adding files to the assets folder, I need to know Which assets folder? app/build/intermediate? Do I need to add something to Gradle scripts? Are there any other steps?
This is a very basic thing that probably every android app needs to do, and I am baffled that there is not an option or support in the IDE to import and sign the files being used by the application.
So far I had to resort to manually uploading these files (YOLO ONNX models, label text files, test images, etc) to my phone and the emulator for testing.
I am looking for some clear and concise step by step instructions to how someone can add something like a text or image file to their APK, sign it, and make it deploy to the phone or emulator automatically when building, running, or debugging the app.
Can someone please help point me to such a resource?
Thank you,
Click to expand...
Click to collapse
Hello and good afternoon, @dmitryengr
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources