Build simple app requires root? - Java for Android App Development

I've been on XDA since 4 years and with my experience; nothing more annoying than seeing a repeated question over and over but I'm gonna go ahead and do it.
I'm not a developer and I know nothing about coding, maybe a little c++ but nothing about android apps.
ALL I want is build a simple app that will copy a certain file from the system data and paste it in the SD card, so what's the requirements to build app that requires root?

iLilDark said:
I've been on XDA since 4 years and with my experience; nothing more annoying than seeing a repeated question over and over but I'm gonna go ahead and do it.
I'm not a developer and I know nothing about coding, maybe a little c++ but nothing about android apps.
ALL I want is build a simple app that will copy a certain file from the system data and paste it in the SD card, so what's the requirements to build app that requires root?
Click to expand...
Click to collapse
There are 2 (or more?) root libs. I would use one of them for root parts
Gesendet von meinem LG-D855 mit Tapatalk

Related

[ROM][Beta] Everybody Rom

The idea behind this is that you download the rom and add tweaks to it and if its better than what I already have, that will replace the what's already up but remember it has to be based off of the orig. Once you have installed your tweaks/theme post a download link and sceenshots. I would like to have two different roms, one is ics based the other one is sense based.
[Edit] when you edit make sure you do not include miktweaks as i dont have permission to use that,if you do have miktweaks in there your rom will not be considered
Rom's current status:won't boot up past plash screen
Download:http://d-h.st/1Rn
Logcat:http://d-h.st/ibm
Nice to see this posted here. Alright so now with basic troubleshooting. I'm not very great at this as I'm a themer but maybe a dev will step in and help out too.
First off I need to ask how you "Created" this ROM. What apks did you copy from where. what apks did you modify, how you modified them because we don't have much to go on. And also If you could upload your ROM to media fire or dev host or something and post PUBLICLY because the PM thing will end in failure.
Let's try to get this ball rolling :beer:
Sent from my PG86100 using Tapatalk 2
I would imagine he grabbed widgets and whatnot, in that case it calls for Rosie, then if that's the case Rosie is going to call for resources. A lot of posibilities here
Sent from my myTouch_4G_Slide using Tapatalk 2
strapped365 said:
I would imagine he grabbed widgets and whatnot, in that case it calls for Rosie, then if that's the case Rosie is going to call for resources. A lot of posibilities here
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
From trial in error in the past i once deleted my Rosie. my phone still booted up it was just that i wasn't able to access my screens. But i could still see my apps in the app drawer and i could still get to my settings
notsointeresting said:
Nice to see this posted here. Alright so now with basic troubleshooting. I'm not very great at this as I'm a themer but maybe a dev will step in and help out too.
First off I need to ask how you "Created" this ROM. What apks did you copy from where. what apks did you modify, how you modified them because we don't have much to go on. And also If you could upload your ROM to media fire or dev host or something and post PUBLICLY because the PM thing will end in failure.
Let's try to get this ball rolling :beer:
Sent from my PG86100 using Tapatalk 2
Click to expand...
Click to collapse
Apks: Data\app to Data\app and system\app to system\app
The only apk i modified was the rosie.apk i changed the applistbackground.png and i copie and pasted everything else from supreme to the Everybody Rom
wow! nice to see this .Thanks for your contribution .
Lol thank strapped and notsointeresting, I probly would have never reposted this without nowing id get help from them
Sent from my PG06100 using Tapatalk 2
So as I said in my previous post you grabbed my Rosie.apk and your phone ROM does not have the resources capable of booting Sense 3.0
Also data/app will not work unless you have the data/app enabled and built into the updater-script
Sent from my myTouch_4G_Slide using Tapatalk 2
strapped365 said:
So as I said in my previous post you grabbed my Rosie.apk and your phone ROM does not have the resources capable of booting Sense 3.0
Also data/app will not work unless you have the data/app enabled and built into the updater-script
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
where to find the updater script
Hubertkilgore said:
where to find the updater script
Click to expand...
Click to collapse
In META-INF/com/google/android.
What's the plan on resources though
Sent from my myTouch_4G_Slide using Tapatalk 2
im gonna take a stab in the dark here and say its never gonna work without the proper resources because alot of the tweaks are done in the smali in the jar files. without the proper corresponding smali edits to go with the apks its essentially pointless but i wish ya the best of luck.
-somebody- said:
im gonna take a stab in the dark here and say its never gonna work without the proper resources because alot of the tweaks are done in the smali in the jar files. without the proper corresponding smali edits to go with the apks its essentially pointless but i wish ya the best of luck.
Click to expand...
Click to collapse
But yes like your saying the phone WILL NOT boot without the needed resources
Sent from my myTouch_4G_Slide using Tapatalk 2
My computer just crashed so I should be able to fix it within today, just a matter of patience. So please excuse me if I don't reply right away
Sent from my PG06100 using Tapatalk 2
As of now my computer is for the most part able to be fixed. I'm waiting for this "file" to finish downloading so I can reinstall my operating stystem.
Sent from my PG06100 using Tapatalk 2
Hubertkilgore said:
As of now my computer is for the most part able to be fixed. I'm waiting for this torrent to finish downloading so I can reinstall my operating stystem.
Sent from my PG06100 using Tapatalk 2
Click to expand...
Click to collapse
I wouldn't mention any torrents on here, as that counts as warez (90% of the time). This Site doesn't take warez lightly. Nothing against you just be careful :beer:
Sent from my A100 using Tapatalk 2
i'm now back with my computer up and running with adb install.So what do i need to do
Hubertkilgore said:
i'm now back with my computer up and running with adb install.So what do i need to do
Click to expand...
Click to collapse
If you have the sdk with adb already start logcats on the phone while its bootlooping/stuck at splash and start replacing what's erroring out
Sent from my myTouch_4G_Slide using Tapatalk 2
strapped365 said:
If you have the sdk with adb already start logcats on the phone while its bootlooping/stuck at splash and start replacing what's erroring out
Sent from my myTouch_4G_Slide using Tapatalk 2
Click to expand...
Click to collapse
what should i replace it with
Hubertkilgore said:
what should i replace it with
Click to expand...
Click to collapse
Takke what's erroring from the base ROM and insert into your ROM
Sent from my myTouch_4G_Slide using Tapatalk 2
Wouldnt that give me a broken rom
p.s im running logcat and it looks like a forign languge to me

[TOOL][WINDOWS] ADB Graphical User Interface GUI

Hey guys I know I have posted some other similar programs, but hopefully this will raise the bar on how people use Android Debug Bridge.
So To start off, this program will not root any phone, but can easily break a phone if used improperly.
Secondly, If you need to ask what a button in the program THEN DO NOT USE IT!
I will only answer questions if they involve drivers or programming bugs, NOT for something like "What is Sync?" because If you do not know, then you do not need to know now.
SEE LINKS BELOW FOR MORE RECENT UPDATES!
This program has some built in ADB functions:
Rebooting- Recovery/Bootloader/Fastboot.
Sync from a folder (If you don't know or have to ask do not use!)
Use logcat
Start up a shell instance (With root if possible.)
Remount (Needs root also)
Flash(Recovery/Boot.img)
Root SOME devices(Using Bin4ry Script Credit to him)
Auto Download Root script
adb shell built in now
cmd shell built in
automatic updates
push files
install apks
get misc system information
Download ODIN for Samsung devices
Detect HTC device correctly for once lol
Application Manager
ADB Learning Center (Under Construction but not beta)
4.0-4.3 Backup Manager (Using adb backup NOT Nandroid)
0Nandroid intergration
Build.PROP veiwer (Soon to be editor too!)
Free device ram and kill background process
MORE TO COME!
___________________________________________________________________
Also a BIG thing for this program is the ability to install ADB and Fastboot into Windows as a command in Command Prompt.
This would allow one to use adb as a normal command from CMD.
E.G "C:\Users\Lab\>adb shell"
Instead of having to CD to C:\android\and all that.
Download the program: Version 5.0.2.26:New Download link[/COLOR]
As far as the newest huge feature in ADBGUI goes, the Application Manager is to be considered Pre-beta and should be used with extreme caution.
Requirements for the Application Manager:
> You need root
> It only works with 3rd Party (Downloaded from google play or other source)
> It does not work with all devices and has some major bugs.
Come on guys give some feed back!
Well enjoy!
Have questions or maybe want to report an issue?
Check out my Discussions Forum here otherwise you can post here at XDA Forums
About ClickOnce:
The core principle of ClickOnce is to ease the deployment of Windows applications. In addition, ClickOnce aims to solve three other problems with conventional deployment models: the difficulty in updating a deployed application, the impact of an application on the user's computer, and the need for administrator permissions to install applications.
ClickOnce-deployed applications are considered 'low impact', in that they are installed per-user, not per-machine. No administrator privileges are required to install one of these applications. Each ClickOnce application is isolated from the other. This means one ClickOnce application is not able to 'break' another. ClickOnce employs Code Access Security (CAS) to ensure that system functions cannot be called by a ClickOnce application from the web, ensuring the security of data and the client system in general.
Some other thinks about ClickOnce:
My ClickOnce application is personally signed, so windows will tell you the publisher is "Unknown" but that is OK. It will install just fine.
[UPDATE Nov. 21st 2013]
Hey guys!!
Just wanted to share some news for all you linux users!
I will be starting a linux conversion for ADBGUI to be fully compatible with Ubuntu/Debian/Arch Linux Distros!
Details: Click Here!
Looks great! Will try as quickly as possible.
Sent from my U20i using xda app-developers app
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
thronnos said:
Is this ADB GUI project open source?
I think this is a really cool idea. Might also help get more users into ADB and willing to learn what things do. (sometimes it's scary when thinking of command line)
Shifted from the bottom of the rabbit hole
Click to expand...
Click to collapse
I will be posting the source on github but it is written in VB.NET. I am also happy to answer questions about the source code.
Required program for the source is
visual studio 2012.
Sent from my SCH-R530U using xda premium
Just updated to version 2
Read about it at urgero.org/node/5
Sent from my SCH-R530U using xda premium
Hey guys!!
Just fixed a bug in ADBGUI about a file not found.
Download Fix
Can also be found Here
Fixed bug with version 2.1:
Would still try to download, even if you selected no.
and added Android Device Discovery
currently working on adding an option to browse sd card and to get device information and battery levels.
Tonight around 11pm central time I will be uploading the source code for this project.
Sent from my SCH-R530U using xda premium
UPDATE:
Check out the new updates at http://urgero.org/node/5!!
Added rooting scripts!!
With downloader (No need to hunt down the scripts!!)
Just updated to 2.4!
added:
Automatic updates!!
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
sandix said:
Over 400 dpwnloads and no one has anything to comment about?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Sorry, bro, I thought the same after releasing my first few works... Sadly, that how it seems to be.
To the tool: I think its awesome, haven't had any problems so far. Don't give up!
Sent from my U20i using xda app-developers app
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Just Updated to V2.6:
Added F-Droid for all you Open Source fans!
Also fixed a bug where applications would not install correctly for some devices(Still does not fix all of them)
Download: http://urgero.org/node/5
If you already have 2.4 or higher, just launch the program as administrator and it will prompt you to update, otherwise download 2.4 aat the link above to upgrade to 2.6!
sandix said:
Thank you!
Does anyone have any feature requests?
Sent from my SCH-R530U using xda premium
Click to expand...
Click to collapse
Can you add a file manager to see from your tool all the folders and modify them and files
Inviato dal mio GT-I9070 con Tapatalk 2
I am currently in the process of doing so yes.
Sent from my SCH-R530U using xda premium
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Make sure you run as administrator and that all the files are extracted from the archive. Also make sure they are all in the same folder.
If you could post a screenshot that would be great help
Sent from my SCH-R530U using xda premium
mr_itou said:
Does not work on mine. Dont know why.
it says: "is not valid s Win32."
Please help.
i have winxp 32 bit.
Click to expand...
Click to collapse
I for got to add:
You NEED .NET Framework 4.5, download from microsoft here

[TOOL] Starting a new tool

I'm a beginner in AndroidModding, and the ways that I have found so far are boring (as well as my ability to describe my project).
Basically, I'm developing a visual tool to facilitate mods creation. I know there are already some, but I intend to make a better base for beginners as I don't make crap.
I'll leave out some screen shots and when I make the program more stable I'll upload a first test version.
I wish everyone who has any idea about what I can add in the project manifest and suggest the same. At the end I will give credit to all who help me improve things.
And also, if you guys think this is will be useless please tell me this too
[Change log]
14/10/13
Working features:
-Create and manage Devices and ROMs
--Auto framework change 90% complete
-Create multiple projects of same APK
-Import an APK via dialog box to avoid mistake at folder arrange
-Decompile, Build, Auto META-INF PATCH, Recompile and ZipAlign just at one click for each function.
-Shortcut to working folders
-Debug output
-Set zipalign compression option
Features i'm working on:
-Auto change framework for different devices
-Auto mod scripting
-Translation features
-Pull/Push files via ADB
Features that I already tought about:
-Multi-Framework capability: Switch between frameworks to mod apps of different Roms and devices without complication.
-Project creation: Create a new independent mod with just one click without losing your previous project.
-Auto patch: Select a Mod in a list, choose your preferences and watch while program do the hard work for you.
-Create a auto patch youself: If you are already experient and want automate your mods, you can create a list of actions to auto apply into an apk.
-Create a Zip file to install in recovery mod
-Default stuff to ApkTool like decompile, build, recompile, blabla
[add 06/10/13 18:30]
-Adb pull/push: send or get files from your phone by adb connection
-Smali code autopatch support
ps: I don't know speak english as well, so, sorry about any mistake
This is good and seems fun
will wait for a test release
Will it be Open Source ?
Then we could improve your work by submitting patches
Pixelvernichter said:
Will it be Open Source ?
Then we could improve your work by submitting patches
Click to expand...
Click to collapse
Its a good idea, I'll think aboit it
Sent from my GT-I9100 using xda app-developers app
Also, if you need an tester for your tool I have time and i would do it
That tool will be great for a nope like me thanks
Sent from my GT-I9100 using xda app-developers app
shfddi being
:good:
i'll help to test if u want to..
Live log would be good. To watch as phone boots into an inevitable bootloop when trying something new. Saves running log separately and lets you view as it happens. With filtering would be good. Adbmagic did something similar but you cant copy or search the log.
Sent from my GT-I9305 using Tapatalk 4
Solved!Does anyone know if a xml like instead when inner value is empty interferes something or just make file bigger? I mean to Android, because I know their same thing.
Also, who wants help me making me an logo? I was thinking about an android with Merlin's costume, but I don't have the skills to reproduce this
Goldieking said:
Live log would be good. To watch as phone boots into an inevitable bootloop when trying something new. Saves running log separately and lets you view as it happens. With filtering would be good. Adbmagic did something similar but you cant copy or search the log.
Sent from my GT-I9305 using Tapatalk 4
Click to expand...
Click to collapse
That's a good idea, i'll try implement that, thanks
Sent from my GT-I9100 using xda app-developers app
SkyaTura said:
Does anyone know if a xml like instead when inner value is empty interferes something or just make file bigger? I mean to Android, because I know their same thing.
Also, who wants help me making me an logo? I was thinking about an android with Merlin's costume, but I don't have the skills to reproduce this
That's a good idea, i'll try implement that, thanks
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Bump !
Logo in progress
( Android with Merlin Costum. lol xD )
New changes at thread!!!
I pretend to release a beta version this week yet
Pixelvernichter said:
Bump !
Logo in progress
( Android with Merlin Costum. lol xD )
Click to expand...
Click to collapse
Can we see a preview of our MerlinDroid?
(i would be annoying if i ask an icon version?)

ROM Dev for Ara??

How would ROM deving work for this type of phone where people choose their own specs?
now that i think of it, how would there be updates either? its like a one and done process. so if you buy the phone, you'll stay on the Android version that comes preloaded
I am thinking towards windows kind of update model but free this time.
Only thing is can we modify Linux kernel for enough flexibility.
NaveenKumarXDA said:
I am thinking towards windows kind of update model but free this time.
Only thing is can we modify Linux kernel for enough flexibility.
Click to expand...
Click to collapse
Might be able to work if the MDK enforces a unified modular structure. And extra parts of ROM's would target some v heavy/popular modules.
I think you ubuntu may be the way to go.
Since my knowledge is really limited, if Google and manufacturers cooperate for open-hardware and open-source environment, it will be like installing drivers on a new OS. So everyone can use latest version of Android. Am I right or really really wrong?
Sent from my GT-I8190 using XDA Premium 4 mobile app
I could imagine an official update method in which the used modules are recognized and the update fits perfect to that phone or the modules have anyhow universal usable drivers stored on themselves while you can change them without re-flashing the entire rom.. what do you think?
Surely if all the componets are made by the same manufacter the roms would be universal but with some roms being heavier for the powerfuller phones and lighter for cheaper phones
It will be harder. There will be bloated kernels that account for unused modules. Likely to be devs that tune to a specific hardware set [their's], etc. But w/ a diy modular phone, they'll probably be no shortage of developers.
A cooler way would be to enable more run as module on kernel and have each module self-load its drivers [like plug-n-play]. This could avoid the kernel bloat I aluded to earlier.
Rob
insink71 said:
A cooler way would be to enable more run as module on kernel and have each module self-load its drivers [like plug-n-play]. This could avoid the kernel bloat I aluded to earlier.
Rob
Click to expand...
Click to collapse
I agree with this, or maybe if the system can build the driver files on startup or installation. but then you will be looking at stall's and system freeze if it's interrupted. (just mentioned something similar in another post lol!):fingers-crossed:
If the bootloader can report the serial/models of the components, the kernel can turn on and off what's needed or not. From there yes, there will be a ****ton of modules to compile even if half aren't used. We can also expect to see hybrid kernel drivers doing different things based on some data returned by the actual component (e.g. 16GB vs 32GB storage) -- assuming those components work the same.
Maybe they'll make a new OS for this, kinda like Windows OS. It's supposed to be universal, no matter what kind of parts are installed.
The rom devs can list the minimum specs for the rom so the user has at least the minimum for the rom
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Nope, it is said that you can change modules on the fly. Maybe there are just drivers in the plug in that are loaded first...
Maybe the compatibility to drivers coves with android 5.0?
Regards
Gesendet von meinem C6503 mit Tapatalk
as people have said this wont be common outside the custom pc type market and if it don't support android in some from whether that be via a custom rom and recovery like cwm/twrp it will be a massive flop
i cant see why it cant come with a option that has cwm installed with a rom,them its attractive to coders
I really hope that they have the option for sales of just the outer shell. Then, people like me can custom select whatever they want without having to waste the stock modules which would then be rendered useless.
i hope they make a rolling system similar to how its done by Arch Linux where you start with just a base and let the owner select his own modules or let the user make their own module. that would be fantastic! i mean perfect!
pandasa123 said:
How would ROM deving work for this type of phone where people choose their own specs?
now that i think of it, how would there be updates either? its like a one and done process. so if you buy the phone, you'll stay on the Android version that comes preloaded
Click to expand...
Click to collapse
I think there will only be ROMs for certain phone combinations
Sent from my ultimately bumped up LG-P700 running CM11
The modularity will be programmed into the OS. Wether that part goes open source or not is another question.
Gesendet von meinem XT1039 mit Tapatalk
all parts will be class compliant iirc, meaning each new OS/rom only needs have generic drivers, anything that isn't class compliant needs to carry its own drivers, i could be wrong but im sure thats what he said in the interview with the first working spiral 1
I may be a bit crazy in thinking this.
But I'd LOVE project ARA and Cyanogenmod to partner and have their CM OS on the ARA modular phones. Imagine we could have theme chooser on the device. And customise it exactly to our liking.
inside and out in this case.
But alas it's only a pipe dream.

[APP][WIP] Debloated ES File Explorer (No spying, weird popups, etc)

(If you don't want to wait, I see someone's uploaded v3 right here. There's also a solution on the app store called Solid Explorer. Dev is really great as well as the app, and it works with systemless root.)
Hello. If you're like me, you've been using ES for a really long time. It's a really stable solution, and since I have nothing to do, why not debloat one of the best file managers made?
First off, I removed some unnecessary permissions from "app_permissions_en.txt". Saved the new one as *.txt, and the old one as *.txt.old (* being app_permissions_en). The thing is, I don't know if some of the ones I removed are required for root functionality, so that's why I saved the original one separately. There was a "dxsomething" folder with an image for an ad, so I deleted that.
There's a .txt file name lc.txt, and it has this text in it: "d8JH9lPQkvto1uYe", anyone know what that is? Not bothering with it until I need to.
I'm going to stop here, test if basic file manager functionality works, and I'll get back to this thread.
Edit: yeah I've abandoned this project for various reasons. I haven't really had the time to work on it. sorry to everyone :/
You are doing a nice job mate, upload the debloated file and we can test it, cheers
vtec303 said:
You are doing a nice job mate, upload the debloated file and we can test it, cheers
Click to expand...
Click to collapse
Will do once I ensure it actually runs. Forgot my Nexus 5 wasn't rooted so I had to reroot it in order to install to /data/app and such.
Anybody else able to get es to run root? It keeps saying it failed the test and doesn't support my device it's always supported it.....anybody?
Sent from my SM-N915P using XDA-Developers mobile app
dinaps86 said:
Anybody else able to get es to run root? It keeps saying it failed the test and doesn't support my device it's always supported it.....anybody?
Sent from my SM-N915P using XDA-Developers mobile app
Click to expand...
Click to collapse
Are you talking about the v3 in the OP? I am running v3 that [MENTION=285188]kernelpanic_ suggested in the OP and i am able to run as root. Did you uninstall the play version?
@kernelpanic_ thanks for the suggestion. Awaiting your upload to test.

Categories

Resources