Build an app for editing system files [help] - Android Q&A, Help & Troubleshooting

Hey, I'm new to xda and Android developing at all, I was asking on stack overflow, and they said I should ask someone here. So basically I'm making an app in Android studio for editing system files, like magisk module, vut i already made magisk module, and trying to learn something new.
I wonder, how can I create new file, then write to a file in mainactivity.kt
I tried this File(TestName).writeText(BruhHelp) and it doesnt work.. or im stupd

NNGzT said:
Hey, I'm new to xda and Android developing at all, I was asking on stack overflow, and they said I should ask someone here. So basically I'm making an app in Android studio for editing system files, like magisk module, vut i already made magisk module, and trying to learn something new.
I wonder, how can I create new file, then write to a file in mainactivity.kt
I tried this File(TestName).writeText(BruhHelp) and it doesnt work.. or im stupd
Click to expand...
Click to collapse
@NNGzT
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
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A as it didn't qualify for development.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Related

App loader

Please excuse me if this sounds stupid or I'm over thinking it. But im looking for a solution to a multi APK installer. Basically I load firesticks with IPTV apps. All of which I use a downloader program and URL links or each individual APK. I was wondering if there is a way of grouping all of the apks and only download one file containing them all and then install them??
pazzy1 said:
Please excuse me if this sounds stupid or I'm over thinking it. But im looking for a solution to a multi APK installer. Basically I load firesticks with IPTV apps. All of which I use a downloader program and URL links or each individual APK. I was wondering if there is a way of grouping all of the apks and only download one file containing them all and then install them??
Click to expand...
Click to collapse
@pazzy1
Welcome to XDA. I hope you'll always get the support you require.
Prior to your next posting please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

How to port oxygen os and other ROMs[Requesting latest guide]

I know that there are already many "how to port" in this forum. But all of them are old. Please make a new guide on how to port ROMs, especially for Oxygen os (latest builds). Because it only contains a payload.bin file in the rom zip and after extracting also we only get some files like boot.img. But the update-script file is missing and we cannot even find the google folder in these oxygen os rom files. So, Please make a new guide for this.
I am just a newbie in this so kindly consider helping me.
Prasanna_16 said:
I know that there are already many "how to port" in this forum. But all of them are old. Please make a new guide on how to port ROMs, especially for Oxygen os (latest builds). Because it only contains a payload.bin file in the rom zip and after extracting also we only get some files like boot.img. But the update-script file is missing and we cannot even find the google folder in these oxygen os rom files. So, Please make a new guide for this.
I am just a newbie in this so kindly consider helping me.
Click to expand...
Click to collapse
@Prasanna_16
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Galaxy A11 (SM-A155M) Hard brick help

Hello... I'm new to posting in the forum, I've been lurking for a while but decided to post here since I'm on the end of my rope.
I accidentally deleted the entire android OS on my A11 ( i was messing around too much..) and the phone is on EDL mode, It's a qualcomm soc.
I have found the firehose file for this phone, but I don't know how to obtain the rawprogram and patch0 files for this since QFIL requires them.
I hope you guys get to see this thread, any help would be appreciated, thank you!!
structuredivine said:
Hello... I'm new to posting in the forum, I've been lurking for a while but decided to post here since I'm on the end of my rope.
I accidentally deleted the entire android OS on my A11 ( i was messing around too much..) and the phone is on EDL mode, It's a qualcomm soc.
I have found the firehose file for this phone, but I don't know how to obtain the rawprogram and patch0 files for this since QFIL requires them.
I hope you guys get to see this thread, any help would be appreciated, thank you!!
Click to expand...
Click to collapse
Hello and good morning, @structuredivine
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator
I know how to fix it, but the work is paid for.
cyphermister09 said:
I know how to fix it, but the work is paid for.
Click to expand...
Click to collapse
How did you get it? Im in the same boat atm.

my ZTE V768 got derooted somehow and it is not working properly

after it somehow got derooted ( it still is using android 2.3.7 ) it wont open any apps that use root and any apps that need root, it also wont open supersu orsome system apps, i DID factory reset
btw supersu is a system app
concorduser said:
after it somehow got derooted ( it still is using android 2.3.7 ) it wont open any apps that use root and any apps that need root, it also wont open supersu orsome system apps, i DID factory reset
btw supersu is a system app
Click to expand...
Click to collapse
Hello and good morning, @concorduser
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
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google 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

Help! xposed framework repository module from github installation.

im tring to install this module on xposed framework in bluestacks 5 but i have no idea what im doing or if this even works(im new to all of this). my problem is with emulator detection on a game called "last island of survival: unknown 15 days" (asian Rust copycat for mobile devices) so i started searching on the web if i could find anything that could bypass it and frankly very little was found on the topic. but i found this "antiemulatordetection" code in github for xposed framework that was released 8 years ago and im trying to install it and see if it works but i dont know how to( i tried to find a topic on how to install xposed framework code modules from github but couldnt find anything). so if anyone could help me out (or if you know any other methods that work) that would be pretty mint. (feel free to correct me on my grammar/use of word mistakes since i know very little on this topic)
Antiemulatordetecton: https://github.com/lijiansong/AntiEmulatorDetection
Cheers!
unknownartifact
unknownartifact said:
im tring to install this module on xposed framework in bluestacks 5 but i have no idea what im doing or if this even works(im new to all of this). my problem is with emulator detection on a game called "last island of survival: unknown 15 days" (asian Rust copycat for mobile devices) so i started searching on the web if i could find anything that could bypass it and frankly very was found on the topic. but i found this "antiemulatordetection" code in github for xposed framework that was released 8 years ago and im trying to install it and see if it works but i dont know how to( i tried to find a topic on how to install xposed framework code modules from github but couldnt find anything). so if anyone could help me out (or if you know any other methods that work) that would be pretty mint. (feel free to correct me on my grammar/use of word mistakes since i know very little on this topic)
Antiemulatordetecton: https://github.com/lijiansong/AntiEmulatorDetection
Cheers!
unknownartifact
Click to expand...
Click to collapse
Hello and good afternoon, @unknownartifact
Welcome to XDA! I hope you'll alawys get the support your 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
Oswald Boelcke said:
Hello and good afternoon, @unknownartifact
Welcome to XDA! I hope you'll alawys get the support your 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
Click to expand...
Click to collapse
sorry about that, i will for sure! and thanks for moving it to the right place.
unknownartifact

Categories

Resources