[Learn]Android mods. - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Hey. On my Nokia 5800 there was some WYSIWYG apps to edit the files. Really simple and smooth to edit your phone.
I wounder if theres some app for the PC for android to be able to edit phone stuff. For example, I wanted to add a reboot option when I long press power button it shows the reboot thing.
Is there any program that makes me change those files(which files are they?) and so on?
Thanks, Nuno.

There isn't a unified single program to do everything. Most of the stuff you do by decompiling, editing, recompiling. Check this recopilation, best way to learn is to go ahead and try to do some of the stuff:
http://forum.xda-developers.com/showthread.php?t=1635108

Related

How to make custom 'Keyboard Sliding Sounds'

Want to create your own keyboard sliding sounds?WM6 comes with three by default, and you can't add custom ones...
Or can you?
Using a registry editor, nav to:
\HKLM\Software\HTC\SlidingSound
There are 3 keys: 0,1, and 2. These represent the three current sounds: piano, xylophone, and whatever the third is.
Make a copy of one of these and name it 4. Inside 4, set Default to the name for your sound. Then make the In and Out point to the appropriate wav's in the Windows directory.
Soft reset your device, then go to Start > Settings > Keyboard Sliding Sounds. Your new entry should appear in the list.
Hope it helps!!
Ryan
And do you have cool sliding sounds for download. I already searching a long time for cool ones.
Regards, Tommy
Yeap Indeed, Can someone please link us some sliding sounds??it would be very helpfull for the p4350 community
Well, after downloading a bunch of free sound FX, I've chopped them up and sped them up/slowed them down... Here's a few to try. I think they're pretty cool, better than the built in ones at least...
Ryan
I know ya gotta love the Transformers.
the transformers sounds are really cool. i did speed them uip slightly and lowered the volume
guys...what am I doing wrong here? total commander won't allow me to copy or past in any of the directories?
I followed the above steps...but when it comes down to it...I can use the "copy/move" ....but then it won't allow mw to paste.
I also can't copy my sound from my mem card to any windows directory.
I'm totally new to WM and making mods to my WING...any help would be greatly appreciated!
Cheers!
yeah i dont understand how this works either do you guys think you can make more explained instructions thanx
VooDoo1 said:
guys...what am I doing wrong here? total commander won't allow me to copy or past in any of the directories?
I followed the above steps...but when it comes down to it...I can use the "copy/move" ....but then it won't allow mw to paste.
I also can't copy my sound from my mem card to any windows directory.
I'm totally new to WM and making mods to my WING...any help would be greatly appreciated!
Cheers!
Click to expand...
Click to collapse
It seems like you try to make a classical PPC copy paste by the tap and hold and you're not supposed to act that way.
Be sure to use the Copy/Move option in the File menu to do so.
Good luck.
Googeling for star trek original series door sound.... psssscheek
foxenesys said:
It seems like you try to make a classical PPC copy paste by the tap and hold and you're not supposed to act that way.
Be sure to use the Copy/Move option in the File menu to do so.
Good luck.
Click to expand...
Click to collapse
I did try the copy/move option...still not working? Let me ask you guys this, once I select the item...and then do copy/move...and find the place where I want it to be...how do I then put it in that spot?
Im getting really frustrated because I dont understand what Im doing...I love my Wing tooo much to give up though!
Blaah...this is what happens when you go from Linux phones to WM..haha
hey
DaMyth said:
I know ya gotta love the Transformers.
Click to expand...
Click to collapse
i love the sound effects! thanks a lot dude!
Why not just edit the already existing sound effects.. like inside the folder 0 you can edit the in and out entries.. like on my hermes I edited '0' folder in registry to be the transformers sound by editing in with value data of my documets/slider4_in.wav and out with my documents/slider4_out.wave
For those having trouble following this guide, I have one at the HoFo Forums. Should be real easy to follow.
http://www.howardforums.com/showthread.php?t=1195063&highlight=Sliding+Sound+Guide
My Take
For those of you who are having trouble creating amd understanding the reg file, any easy way to do it is to just edit the ones already listed. That really is just the easiest. Just make sure you copy your wav files into the Windows folder on your device. And for a treat, my sounds; a Lightsaber!
VooDoo1 said:
guys...what am I doing wrong here? total commander won't allow me to copy or past in any of the directories?
I followed the above steps...but when it comes down to it...I can use the "copy/move" ....but then it won't allow mw to paste.
I also can't copy my sound from my mem card to any windows directory.
I'm totally new to WM and making mods to my WING...any help would be greatly appreciated!
Cheers!
Click to expand...
Click to collapse
i guess the easiest way is to
1) download the wav-files and rename then to 3_in.wav and 3_out.wav (the number 3 depends on the number of previously installed sounds)
2) edit the registry on your device (as instructed in the 1st post)
3) connect to activesync.
4) explore your device, go to the windows directory (on the device). and then copy the .wav files into the windows directory.
5) restart the device
6) edit sliding sound settings and it should work
WTF...am I doing wrong
Try as I might (I am regedit savy!) I still can't get this trick / hack / addon to work.
Reg settings seem fine, softreset...nothing...???? WHY
Sound files in windows work perfectly as I've run them directly from a command line address so I know they are pointed to correctly within the 2 paths.
Any help would be appreciated.
SHORTCUT
i first copy original wav to sd. then use the rename trick. right click on original name and select rename. then using the touch screen keyboard press the ctrl key + c. then take the sound u want to use and right click it and select rename. then use touch screen keyboard and press ctrl key + v. now that u have rename ur new sounds with the original name, hightlight both in and out sounds and copy them too the windows folder, overwritting original sound. then go to settings and change sliding keyboardsounds with the original name of one u over written.
are there any programs to allow for slider sounds for the mda???
i have the star trek sounds PM me if you want tehm

Removing some not needed HTC Extras

As always, another newb question. If there is a thread for this already, please let me know.
I need some more space for software. Mainly because I need for these to start on every boot and are today add ins. How can I remove some HTC extras I don´t need? For example:
1. The audio manager which I don´t like at all
2. The voice dial feature which I never used because I´m more into voice Command.
3. The Zip program which I replaced with Resco explorer
4. The old home pluggin which I replaced with Battery Status.
5. The Dialer skin which I replaced with the original WM6, which I consider better.
If I have to do this manually, its fine, I just need to know where to go and what to get rid of.
Thanks Guys.
Not too sure
I'm not too sure if this would work, but if you could find cab files of the programs you want to remove, and install them (stay with me) I would guess it would overwrie the files, and also allow you to remove them from the add/remove programs window under settings. I know for me, that worked when I updated Live Search from 1.0 to 2.0 and then deleted it. Give it a shot, what do you have to lose?
It could
It does sound reasonable. The question would be where to get these cab files. Anybody know where?
Though there is a strong posibility it won´t work. Some of these programs are upgrades. For example, I installed the new x button feature I found here as an upgrade. When I uninstalled the upgrade, it automatically returned to the old version. I tried it because I wanted SPB pocket plus to be my close button software. Tried it too with the Audio Manger installing the upgrade found here and the same happened.
Thanks.
1. to 4 are in ROM, you carn't just delete it.
5. Delete reg keys under HKEY_LOCAL_MACHINE\Software\HTC\PhoneCanvas & set HKEY_LOCAL_MACHINE\Security\Phone\Skin\Enabled=0, it should then return to the default windows mobile dialer. This file has a backup of the key just in case you want to restore it.
You can remove 1 - 4 if you cook your own rom, have a search in the forums.

Question for developers

Right away, forgive my ignorance on the subject, I'm sure I can spend 10-12 hours searching forums and figure it out or someone can take 2 min and just answer it.
Lets say one was to take an app from the market and unzip it into a folder to see what it's made out of. Let's also say that one has absolutely no clue about android, Linux or programming in general, just too much curiosity and a phone to play with. So that certain individual (and I will not admit that it was me, it was.... my friend) found .dex file inside and thought of editing it, nothing fancy, just replace some URLs with other URLs. Here the question: How would I (I mean... my friend) would edit .dex file? Notepad seems to do it but something tell me (I mean... my friend) that it's not the right way. How would I put that app back toghether into .apk format after I'm done with it (Agh, screw it, it's me, it's not my friend). I should also note that I'm not trying to do this for profit or trying to steal someone's app.
Any help is greatly appreciated
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
topdnbass said:
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
Click to expand...
Click to collapse
Whatever you would like to call it. If it make you happy, I "decompilied" apk file using WinRAR to get a number of files including above mentioned .dex file.
Now that we have that figured out, how do I edit .dex file and repack everything else into .apk?
Thanks
First off, yes you can open the .apk file and see the other files but the files for the actual app are compiled. They arent editable. You would need the source to edit the app in any way.
As to the .dex file if you can open it with a text editor and change stuff all you are likely to do is break the app. As for putting it back together and getting it to install, good luck. You will probably need to get it resigned or something.
If you are wanting to learn how to make apps for android you should download the SDK. I believe there is a tutorial with some example apps that you can make out there somewhere also.
Dharkaron said:
First off, yes you can open the .apk file and see the other files but the files for the actual app are compiled. They arent editable. You would need the source to edit the app in any way.
As to the .dex file if you can open it with a text editor and change stuff all you are likely to do is break the app. As for putting it back together and getting it to install, good luck. You will probably need to get it resigned or something.
If you are wanting to learn how to make apps for android you should download the SDK. I believe there is a tutorial with some example apps that you can make out there somewhere also.
Click to expand...
Click to collapse
Agh, now we are getting somewhere.
Just for the record: I do not want to make apps, I'd rather leave it to pros and pay few bucks for working app that has no bugs.
The app I am referring too is StreamFusion which is a streaming audio player. Initial install puts about 30 preloaded stations in the playlist, none of which are of any interest to me. I unzipped apk and found this .dex file (resources.dex? not at home, can't check) which contained URLs for default-loaded streams. All I want to do is replace them with URLs of my own so I don't have to search shoutcast,add my stations and delete defaults everytime I decide to wipe my phone. Sounds like such a simple task, yet there's no clear documentation on how to do something like that (at least for the non-dev crowd).
With that said, I don't want to change the way StreamFusion, they do give you an option to remove defaults manually (one by one!) and they do give you an option to add your own stations in the playlist. It just takes too long and I've done it a few too many times already.
I'll keep playing with it, let me know if anyone for sure knows how to do it, otherwise I'll report when I figure it out or when I get tired of it.
Sorry for being rude earlier, i was in a bad mood
If you mean StreamFurious all you need to do is long press the radio station and hit delete
topdnbass said:
You my friend are a Grade A tard.
apk files are not unzipped.
Decompiled maybe?
Click to expand...
Click to collapse
Have you actually tried renaming an .apk file to .zip and opening it? In short, apk is just like a jar. They're just zip files with specific metadata requirements.
“Always keep your words soft and sweet, just in case you have to eat them.” -Andy Rooney
borodin1 said:
edit .dex file? Notepad seems to do it but something tell me (I mean... my friend) that it's not the right way.
Click to expand...
Click to collapse
when in doubt .. HEX .. hex editing of a file can maintain its purest essence and prevent it from crashing .. provided of course that you edit the right parts .. i've done this thousands of times in computer games .. change one little thing and POOF! your scrawny little piss-ant becomes mighty hercules and you can slay the dragon - LOL - ok .. so maybe not so korny
borodin1 said:
With that said, I don't want to change the way StreamFusion, they do give you an option to remove defaults manually (one by one!) and they do give you an option to add your own stations in the playlist. It just takes too long and I've done it a few too many times already.
Click to expand...
Click to collapse
The defaults that are hard-coded into the apk are loaded on first run into a sqlite3 database. Sure you could edit the hard-coded defaults, but this would be an unclean solution. A better solution would be to backup the sqlite3 database to your computer and restore it with adb whenever you reinstall. You can also easily edit the database conveniently on your pc as well.
The location of the db is /data/data/com.streamfurious.android.free/databases/streamfurious.db
By the way, the SF defaults already include KQED, BBC WS and TWiT. What more could anyone possibly need
You can decompile apk class files from the dex file.
http://zeaster.blogspot.com/2007/11/how-to-decompile-dex-file-on-android_28.html
As for repacking it after the edit.....check this out this might help...
http://forum.xda-developers.com/showthread.php?t=503007
or ask strazzere

Is there a way to open .apk and find the code

Hi All,
i was wondering if there is a way to open a .apk file and see the coding for the app. Thanks in advance for your help all.
You mean like reverse engineering? It's a pretty fine line around here...
Not tryin to do anything bad or illegal..just wanted to see what an app code looks like...how its broken down....thats all
most apks arent just one thing. the apk acts like a zip file, containing potentially lots of files inside. you can use winrar to open them just fine.
thanks just tryin to learn what makes an app and how it works
jef8310 said:
thanks just tryin to learn what makes an app and how it works
Click to expand...
Click to collapse
http://developer.android.com/guide/developing/tools/index.html
thats where you should go then lol
Thanks B-man007...i will check that out
Just rename your .apk extension to .zip and unzip it. You will get to see some stuff there.
Stuff you can't see readily:
The manifest file can be viewed with some tools available on sourceforge (very easy). You can disassemble/reassemble the .dex file(s), but I warn you that this is a pain in the A. I have done it several times and cursed all the way through each time.
What are you trying to do?
Easy apk dissassembler.
The most easy way to dissassemble APK is using this app:
Is easy and intuitive.
http://code.google.com/p/easy-apk-dissassembler/
You have this thread too
http://forum.xda-developers.com/showthread.php?p=14049173
reverse engineering is how i learned to write my own programs for my ti-86 graphing calculator back in high school. seeing how/why things work inside an established program helped me figure out what i needed to make what i wanted. i wish app development was as easy as basic haha. of course, i say that with no knowledge of java or android programming. i plan on going to school starting next year to learn it though.

[Q] Need help with some Basic customisation. Please Please

Hi there. I have had my Nexus One for a week now, and so far im finding it ok - I havent really used it much though. Anyway, I have a few basic questions which are really confusing me, but I know could be simply answered by all you Pro's
Anyway, here is what I want to be able to do. What I want to do is be able to make/select my own Icons to open up applications or folders..
1: Have an Icon/picture of a game controller (or something which symbolises gaming) Then when you click on the Icon it opens a folder full of my games.
2: Have an Icon of something which symbolises Pictures. When you click on the Icon it will open up my gallery.
I Currently have Desktop Visualizer. I know with that you can select a picture and then select what you want to open with that. But I dont know how to make it so that it opens a folder when clicking not an application??
Do I need a different application? Also, Do I download the pictures/Icons on my PC then put them over to my SD Card, or just get them straight on my phone?
Last question, If I want to combine two images (Lets say for example two different types of controllers) into the one image, What software on my pc/application on my phone would I need?
Sorry if that doesnt make sense, its as english as I can make it. All help is greatly appreciated
Get Bettercut or FolderOrganizer. Look for them in the market. They will allow you to customize your app's icons and shortcuts. You should read up on how to use it, it's pretty simple so I'm not going to write it here.
The best way is to download and install "icon Packs" apk's (there are so many on here and on the markets, BIG THANKS TO THE MANY CREATIVE PEOPLE OUT THERE.). It works very well with the above apps.
to download pictures/icons on your pc to the sdcard:
1. download ASTRO file manager (free)
2. connect your phone to pc via usb, then turn on connection (make sure you have usb debugging turned on)
3. once you are connected, then your sd card becomes a "removable storage drive" and you can just copy & paste any files from your pc to the card like you would if you had an external drive.
I don't know if you want to use your phone to combine images or pictures. it will be pretty hard with the controls. i would say do it on your pc and then just transfer it over to the phone.
Thank you Thank you Thank you. Using Folder Organiser now and is exactly what I wanted. Thanks heaps for everything

Categories

Resources