Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP] SGS Tools

OP Fr4gg0r

5th September 2010, 08:24 AM   |  #1  
Fr4gg0r's Avatar
OP Recognized Developer
Flag Bremen
Thanks Meter: 682
 
686 posts
Join Date:Joined: Aug 2010
Donate to Me
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:	20490
Size:	34.7 KB
ID:	395394   Click image for larger version

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

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

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

Name:	createshortcut.jpg
Views:	11494
Size:	27.1 KB
ID:	401332   Click image for larger version

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

Name:	upgradeStockApps.jpg
Views:	8436
Size:	30.8 KB
ID:	435246  
Last edited by Fr4gg0r; 4th January 2011 at 01:31 AM.
The Following 42 Users Say Thank You to Fr4gg0r For This Useful Post: [ View ]
5th September 2010, 09:24 AM   |  #2  
Member
Thanks Meter: 3
 
70 posts
Join Date:Joined: 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: [ View ]
5th September 2010, 09:37 AM   |  #3  
Senior Member
Flag London, Ontario.
Thanks Meter: 7
 
417 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Very nice app.. Good Work..
The Following User Says Thank You to TriC_101 For This Useful Post: [ View ]
5th September 2010, 09:43 AM   |  #4  
Fr4gg0r's Avatar
OP Recognized Developer
Flag Bremen
Thanks Meter: 682
 
686 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by ssj4Gogeta1

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: [ View ]
5th September 2010, 10:44 AM   |  #5  
appelflap's Avatar
Recognized Developer
Flag Utrecht
Thanks Meter: 808
 
10
4,088 posts
Join Date:Joined: Feb 2008
Nice one!
You could also add a option to change system sounds, bootscreens etc. (very SGS specific)
5th September 2010, 10:44 AM   |  #6  
lajson's Avatar
Member
Flag Sweden
Thanks Meter: 2
 
33 posts
Join Date:Joined: Sep 2006
More
Quote:
Originally Posted by Fr4gg0r

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 ?
5th September 2010, 10:46 AM   |  #7  
LevitateJay's Avatar
Senior Member
Thanks Meter: 44
 
243 posts
Join Date:Joined: Dec 2009
More
Wow! Looks amazing. Is the rotation animation just in that application or across the whole device?
5th September 2010, 10:49 AM   |  #8  
appelflap's Avatar
Recognized Developer
Flag Utrecht
Thanks Meter: 808
 
10
4,088 posts
Join Date:Joined: Feb 2008
Quote:
Originally Posted by lajson

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
5th September 2010, 10:50 AM   |  #9  
Fr4gg0r's Avatar
OP Recognized Developer
Flag Bremen
Thanks Meter: 682
 
686 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by lajson

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

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:	4149
Size:	29.5 KB
ID:	395439  
The Following User Says Thank You to Fr4gg0r For This Useful Post: [ View ]
5th September 2010, 10:54 AM   |  #10  
Fr4gg0r's Avatar
OP Recognized Developer
Flag Bremen
Thanks Meter: 682
 
686 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by appelflap

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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes