Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,594 Members 53,895 Now Online
XDA Developers Android and Mobile Development Forum

[APP] SGS Tools

Tip us?
 
Fr4gg0r
Old
(Last edited by Fr4gg0r; 4th January 2011 at 12:31 AM.)
#1  
Fr4gg0r's Avatar
Recognized Developer - OP
Thanks Meter 677
Posts: 646
Join Date: Aug 2010

 
DONATE TO ME
Default [APP] SGS Tools

View the sourcecode on google Code!
Don't let the app die, develop for it/include its features in another app.
Latest version (4.1.9) can be found on page #37

Hi,
I have written an app, which contains useful functions specially for the Galaxy S imho.
It can do the following things:
-Secret codes list (contains at the moment 31 codes)
(Don't worry clicking around, there will appear a popup if you have selected factory/hard reset )
-System clean up: this means you can delete all system apps you don't like with 1 click. It will remove the .apk, the .odex and the data directory.
It won't let you delete apps that will "brick" your phone, so very useful for android beginners.
-MarketFix: This sets the Fingerprint in the build.prop to JF3 (2.1) and cleares the market cache. After a day you should see 120 hits when searching for "documents".
Useful if you are using a test Firmware and don't see copy protected apps in market.
-Homescreen Settings: In this Menu you can set the default screen (press the home button when you are already on the home screen) and the screen count.
Only works with some Firmwares! Works for example with JM5, JM7.
-Move SGS Tools to System: This will save the app on the device if you do a factory/hard reset. You can also undo this.
-Run a script.
This menu can run scripts, which are written as .txt files.
Simply write every command in a new line and put the script.txt to /sdcard/sgstools.
It checks the inputstream of the process, for example if you want to notify the user about progress with "echo /sdcard/test removed", this will appear in the progressdialog. It also checks the errorstream and will display, if for example a command could not be found.
- Enable/Disable boot/shutdown sound or place custom sounds

-Last but not least, you can add shortcuts to homescreen, which let you run commands. Useful for example as shutdown, reboot recovery, reboot, etc.
There's a bug in 2.2 Firmwares, which won't let you pick custom icons for shortcuts! (I tested it on 2.2 Emulator and also anycut won't set an icon on 2.2 Firmwares..)

That's it. Hope you like it.
(Sorry, it's not on the market - I don't have a market account yet )

PS: Press Menu Button to access further menus.
PPS: It uses a custom menu
PPPS: Rotate the device, and you will see in some menus a rotation animation!
PPPPS: German users can also look in this http://www.android-hilfe.de/samsung-...earbeiten.html.

Ver 3.0: - now translated into english
Ver 3.0.1 - Bugfix: added permission to install shortcuts
Ver 3.1
- Activity handling improved
-new tool for setting boot sound / shutdown sound
Ver 3.1.1:
-MarketFix improved: now show better warnings, for example if busybox is not installed.
-Now a .nomedia file is created in the sgstools folder.
Ver 3.2
-Bugfixes
Ver 3.2.1
-Bugfixes: -Warning when removing system apps now in english
-Standard icons fixed for creating shortcut. (sry, but the broken icons will be only fixed if you deinstall the old version before)
Ver 3.3
-When removing system apps, the .apk and the .odex will be backuped in /sdcard/sgstools
Ver 3.4:
changes
edit: I forgot, please deinstall the old version, so you can read the disclaimer
Ver 3.5.1:
.prop editor bugfix
added 2 small scripts: mount /system ro/rw
command shortcuts now with basic commands (shutdown, reboot, mount..)

Ver 3.6
- script modul update, can now execute .txt scripts wrapped in a .zip
Ver 3.6.1
- script modul can now handle .zips with several scripts in it
Problems with busybox should be fixed now!

Ver 3.8.3
-some useful scripts
-backup & restore your homescreen

Newest version is 4.1.0
-added some tw launcher mods
-modded contacts.apk
-modded browser
-hacked camera.apk
-reverse scripts

If you want to donate something for this free app (Paypal) you can use the following link:
https://www.paypal.com/cgi-bin/websc...=XEMXTUYAZVUGY
Attached Thumbnails
Click image for larger version

Name:	secret_codes.jpg
Views:	20226
Size:	34.7 KB
ID:	395394   Click image for larger version

Name:	homescreensettings.jpg
Views:	14319
Size:	21.4 KB
ID:	395395   Click image for larger version

Name:	system_cleanup.jpg
Views:	15319
Size:	43.2 KB
ID:	395397   Click image for larger version

Name:	propEditor.jpg
Views:	13040
Size:	22.7 KB
ID:	401306   Click image for larger version

Name:	createshortcut.jpg
Views:	11314
Size:	27.1 KB
ID:	401332  

Click image for larger version

Name:	scripts.jpg
Views:	8451
Size:	22.0 KB
ID:	434517   Click image for larger version

Name:	upgradeStockApps.jpg
Views:	8292
Size:	30.8 KB
ID:	435246  
The Following 41 Users Say Thank You to Fr4gg0r For This Useful Post: [ Click to Expand ]
 
ssj4Gogeta1
Old
#2  
Member
Thanks Meter 3
Posts: 70
Join Date: Aug 2010
I guess it requires root access? Haven't tried yet but the description looks great.
The Following User Says Thank You to ssj4Gogeta1 For This Useful Post: [ Click to Expand ]
 
TriC_101
Old
#3  
Senior Member
Thanks Meter 7
Posts: 413
Join Date: Jan 2010
Location: London, Ontario.

 
DONATE TO ME
Very nice app.. Good Work..
The Following User Says Thank You to TriC_101 For This Useful Post: [ Click to Expand ]
 
Fr4gg0r
Old
#4  
Fr4gg0r's Avatar
Recognized Developer - OP
Thanks Meter 677
Posts: 646
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by ssj4Gogeta1 View Post
I guess it requires root access? Haven't tried yet but the description looks great.
Yeah requieres root, but not for the secret codes.
The Following User Says Thank You to Fr4gg0r For This Useful Post: [ Click to Expand ]
 
appelflap
Old
#5  
appelflap's Avatar
Recognized Developer
Thanks Meter 798
Posts: 4,084
Join Date: Feb 2008
Location: Utrecht
Nice one!
You could also add a option to change system sounds, bootscreens etc. (very SGS specific)
 
lajson
Old
#6  
lajson's Avatar
Member
Thanks Meter 0
Posts: 32
Join Date: Sep 2006
Location: Sweden
Quote:
Originally Posted by Fr4gg0r View Post
Yeah requieres root, but not for the secret codes.
Very nice app I have just one remark about secret codes, it seems that the secret codes executes directly which is very handy but in a case of "HARD RESET", Factory data reset" I think the user should been warned about danger this commands can do before one pinch those links

Can you implement that in your app ?
The old one :HTC TyTN
The New One :
HTC Desire HD, Samsung I9000 Galxy S
:
 
LevitateJay
Old
#7  
LevitateJay's Avatar
Senior Member
Thanks Meter 44
Posts: 242
Join Date: Dec 2009
Wow! Looks amazing. Is the rotation animation just in that application or across the whole device?
 
appelflap
Old
#8  
appelflap's Avatar
Recognized Developer
Thanks Meter 798
Posts: 4,084
Join Date: Feb 2008
Location: Utrecht
Quote:
Originally Posted by lajson View Post
Very nice app I have just one remark about secret codes, it seems that the secret codes executes directly which is very handy but in a case of "HARD RESET", Factory data reset" I think the user should been warned about danger this commands can do before one pinch those links

Can you implement that in your app ?
When users execute the Factory data reset code they come in a window in which they explicitely have to agree by clicking a button (same window btw when you trigger factory data reset from the settings->security menu... which also don't present a warning btw)

Hard reset is tricky on the other hand. You never wanna trigger that one
 
Fr4gg0r
Old
#9  
Fr4gg0r's Avatar
Recognized Developer - OP
Thanks Meter 677
Posts: 646
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by lajson View Post
Very nice app I have just one remark about secret codes, it seems that the secret codes executes directly which is very handy but in a case of "HARD RESET", Factory data reset" I think the user should been warned about danger this commands can do before one pinch those links

Can you implement that in your app ?
Already implemented, look at attached picture. Or did u meant a second warning?

@Hard Reset:
I needed that 2 days ago, in order to use the lagfix. I had not enough space on data and only a hard reset (or manually removing much files) could solve that.

Quote:
Originally Posted by LevitateJay View Post
Wow! Looks amazing. Is the rotation animation just in that application or across the whole device?
Rotation is only in that application, sry. For whole device you would have to modify the Framework, which isn't possible because it's not open source.
You would have to build a rom from aosp to implement that.
Attached Thumbnails
Click image for larger version

Name:	warning.jpg
Views:	4133
Size:	29.5 KB
ID:	395439  
The Following User Says Thank You to Fr4gg0r For This Useful Post: [ Click to Expand ]
 
Fr4gg0r
Old
#10  
Fr4gg0r's Avatar
Recognized Developer - OP
Thanks Meter 677
Posts: 646
Join Date: Aug 2010

 
DONATE TO ME
Quote:
Originally Posted by appelflap View Post
Nice one!
You could also add a option to change system sounds, bootscreens etc. (very SGS specific)
Bootscreens is a very nice idea.
I will look if I can implement that feature.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes