• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [TOOL] AIO ROOT, UNROOT, and RECOVERY INSTALLER (GUI EDITION)

ok so now i can at least keep one usable link without having to remove and all that stuff every time, that was getting tedious lol
 
i don't think the file is there or something. Clicking from the browser says error.
 
Yea i was afraid of that. Gonna have to get the link from pg or somethin for it to be static

ok, I will check back later and once you get the link I will update the installer and upload. If it is a static link and you just replace the file with same name file, the script will always download the newest version whenever they use the installer. There will also be an update script to use after it is installed to get the even more awesome stuff as you develop it ;)

edit: I attached the icon here so you can hopefully add it to your app. Right now your app show the java icon when it is running. No big deal, but it would be cool if it was Junkified
 

Attachments

  • JavaAIO.png
    JavaAIO.png
    1.9 KB · Views: 97
and that is whats up, i need to figure out how to make the program itself check for updates though...

I can remove the update script once you get it figured out...or you could have the app run the update script if it sees an update
 
sweet XD thanks superr, and btw it has now been "junkified" lol. program icon is my J and is built into the program

that only applies when its running though, the actual icon for the jar file remains the same
 
sweet XD thanks superr, and btw it has now been "junkified" lol. program icon is my J and is built into the program

that only applies when its running though, the actual icon for the jar file remains the same

Right on!!! It is beautiful now :) FYI, linux users using the installer don't really see the jar icon (unless they go into the install dir to poke around). Your icon is in the dash and on the app when it's running so it is perfect.
 
I thought about adding a check for udev rules during install, if not there add them. What do you think?

edit: although then the installer would require elevated privileges. prolly not a good idea lol
edit2: besides, I already made a udev script on the BuildBox thread
edit3: udev rules may be something you could add to your app
 
sweet. ill have to work on a windows installer in a bit, right now though i think its time to rest by brain i been at this all day and id say i got a fair amount done
so far it has
buildprop editor
rooting/unrooting
recovery installing
root checking and system variable pulling
and the adb command executor

come tomorrow who knows what ill end up doing
and keep in mind its still just as customizable as the modular c++ version so anyone wanting to port it to another phone is welcome to do so and the features one the system and buildprop tabs are not phone specific so feel free to use them on anything you like

and the udev rules thing is not necessarily a bad idea, hell the tool itself could perform that action it would just need to be run from a gksu or something
 
I wrote this in case you want to add it to your app. udevrule will check to see if you have a rule set up in /etc/udev/rules.d/99-android.rules. If so it quits, if not it adds one. Pretty simple. I was not sure what to look for, so currently it just looks to see if "ATTR" exists in the file. This file is usually blank until you add a rule so this should be sufficient. It needs to be run as root "gksu udevrule " should work fine. Anyway, use it or not :)
 
Have you considered github? It may be perfect...version control for your app, and the installers can gitclone everything on install thus never needing to be updated. You could edit files at will. Smaller installer download. Something to think about anyway :)

edit: that may not work unless everyone has git installed. Not sure if you can make an installer that installs git then uses it in windows.

edit2: or is there a git executable similar to adb.exe for windows?

edit3: found this portable git for windows, but the package is 20MB.
 
git shouldnt be necessary, though it would be preferred... ive got a working java based updater thanks to this site
Creating An Updater In Java - Java Tutorials | Dream.In.Code
just gotta tweak it a little and make it recognize the version number then compare it to the actual applications version, that way it can tell you if you need an update

no external link to the updater will be required btw it just needs to be put in the same place as the main jar file and it should work from there

ill finish modifying the code and get it out to you guys asap
 
here see if you can make this an icon for now

J_zps190c5619.png

i realize the sizing isnt great and it may not even be the right format... but it can easily be converted im sure


Maybe this version? A little Photoshop work with that image = JPEG.

Than conversion to ICO.

Which I'm being told is "invalid" to attach here.

So here's a web-site, FOR free download of "Pixilon" a quick and painless conversion, to ICO file.

NCH Software - Download Video, Business, Graphics & Computer Utility Programs
 

Attachments

  • JunkiesJ-Icon.jpg
    JunkiesJ-Icon.jpg
    37.5 KB · Views: 90
thanks dim, soon as i get to working on the windows installer im sure ill use that. also superr youll have to update the installer. i changed the directory so that it has its own folder and added the updater

http://androidforums.com/unleashedprepaids.com/upload/devs/junkie2100/javatool/JavaAIO.jar

http://androidforums.com/unleashedprepaids.com/upload/devs/junkie2100/javatool/updater.jar

just make sure they go into the same directory and it can take it from there. i have an update.zip on the server as well, that is for the updaters use though, and the program will notify you when there is an update

hang on its broken... gotta switch server configurations gimme a sec
 
thanks dim,im sure ill use that.


Glad to do something to help the guy's doing the heavy lifting.

Be advised, that or, (or any other idea for an image) has got about a million variations.

Any other desires are easily entertained.

Layers in Photoshop are changed like dirty diapers, (and often for the same reasons) :)
 
k it should all be fully functional now. enjoy

the program itself should now recognize whether or not there is an update. no more having to watch this thread to see you can actually just fire up the program and it will tell you on the rooting page, the main program can launch the secondary updater application, had to keep them separated so that the program itself could be overwritten, but they are directly linked to one another

im thinking of putting in an auto update feature, not sure yet though. it wouldnt be hard to just automatically force the update if there is a new version apon opening the program

i also need to try to remember to modify the code for major and minor build numbers... for now though having it hardcoded to version 1.x wont hurt anything
 
also superr youll have to update the installer. i changed the directory so that it has its own folder and added the updater

I updated the installer, so it grabs JavaAIO.jar and updater.jar and puts them both in ~/.JavaAIO. I also removed my update script. Here is the installer post

Note: when I click on the update tab, it says I am running the newest version. If I then click the "Launch Updater" button the app just closes.

edit: just curious, is updater.jar updating only the JavaAIO.jar or all scripts/files as well?
edit2: is that because updater.jar removes JavaAIO.jar and grabs a new one? If so maybe you could add a line in the updater script to start JavaAIO.jar when finished updating (with the update tab open preferably, lol).
 
well i dont have it set up to run automatically on completion but it does have a button that will kick you back into the program. as far as the aio just closing and nothing else popping up though i dunno it should kick you into the updater program if they are in the same directory... let me see what im working with here
 
yea i dunno. as long as both jars are in the same folder and executable they should work together, and its gonna keep saying the newest version till i put out a new version lol
 
Well, i have tried it many times now and the "Launch Updater" button only closes the app. The 2 files were downloaded directly from your links, are in the same directory, and are both executable.

errr...actually they were not executable but now that they are i have the same problem lol I guess it doesn't matter with jar files run from a java -jar command?

edit: let me know if the jar files need to be executable, because the installer is not currently doing that but it can very easily

edit2: after some google searching, it seems there is no need to make the jar executable unless you want to be able to run it like ./JavaAIO.jar. The installer however, runs it like java -jar JavaAIO.jar. Here is a link

edit3: so then i thought maybe your script was running ./updater.jar in which case the jar would need to be executable, but again even when executable the "Launch Updater" button only closes the app :(

edit4: lol. sorry for the rambles. Is it possible "Launch Updater" is calling a library I don't have installed? I am running Ubuntu, not Mint. I doubt this is the case just asking.

edit5: ok it works when I run it in terminal. So why does it die when it's not in terminal? Because updater.jar kills the parent process before opening? lol
 
i think i might have figured out what your issue is, it might be looking in the directory you launched from not the directory its actually in... might be dependent on how you launched it
 
Back
Top Bottom