[GUIDE] All in one guide for everyone - Android General

So hi folks i m gonna create this guide which will solve everyone's problem in any matter
So before we start the things required are(with links):-
-Android SDK
-Microsoft Powerpacks
-Notepad++
-Photoshop or GIMP or any other photo editing software.
-Java JRE
-Cygwin
-Android Kitchen
-Android ApkTool
And will be updating when i come to the topic
Setting Up the ADT Bundle
The ADT Bundle provides everything you need to start developing apps, including a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development. If you haven't already, go download the Android ADT Bundle. (If you downloaded the SDK Tools only, for use with an existing IDE, you should instead read Setting Up an Existing IDE.)
Install the SDK
Unpack the ZIP file (named adt-bundle-<os_platform>.zip) and save it to an appropriate location, such as a "Development" directory in your home directory.
Caution: Do not move any of the files or directories from the adt-bundle-<os_platform> directory. If you move the eclipse or sdk directory, ADT will not be able to locate the SDK and you'll need to manually update the ADT preferences.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ANDROID APKTOOL
Requirements:
Winows OS
Installed Java on Windows
Installed Microsoft Powerpacks
- Easy handling: Select your apk and push the "decompile" button!
- This tool makes modding much faster and easier, no cmd handling any more.
- You can read the log which is integrated in the tool to find your mistake in the error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use this tool?
Follow this small how to!
Here you go..
-Well, first extract the AndroidApktool folder to C:\. Otherwise it won´t work, maybe
-copy your framework-res.apk and the apk you want to mod in the AndroidApktool folder
-Next you have to start AndroidApktool.exe
-select your framework-res.apk and push the "install" button (check log for errors)
-select the apk you want to mod/decompile and push the "decompile" button (check log for errors again)
-your decompiled apk will be located in C:\AndroidApktool\"apkname" as a folder
-if you want to compile your apk again, select your decompiled folder and compile it again (check log for errors again)
!!!NOTE!!! After compiling you have to copy the AndroidManifest.xml and the META-INF folder from your old apk to your newly compiled one!! Otherwise you´ll get bootloop !!!NOTE!!!
-your recompiled apk will be located in C:\AndroidApktool\"apkname"\dist
-you want to sign your apk? Just select your .apk and push the "sign" Button! Your signed .apk will be saved as "apkname_signed.apk"
Download
Android ApkTool
Thnx to Flextrix for this apktool
Will be updating it...............

Setting up the Android kitchen
1. Before you do anything install the java jdk(find it in dsixda's thread)
2. Download and extract the cygwin_packages.zip provided by dsixda
3. Run the set up(make sure there is no previous cygwin installation)
4. Follow the kitchen read me txt!!!
5. local package directory *must* be the path to the cygwin_packages folder that you just extracted
6, when it shows all the package names, go to the top and select "all <-> default" until it changes to "all <-> install" (you must click on the arrows)
7. Run the cygwin at least once and close, now you will see a folder inside the cygwin installation like this: Home\your user name\
8. Download the kitchen and extract to the home\your user name\
9. Rename the dsixda-android-kitchen-*** folder to just "kitchen"
10. Now your ready to run the kitchen type:
Code:
cd kitchen(enter)
./menu(enter)
11. If you did things right you should see this:
Step Two: Setting up a working folder
1. First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
2. Inside the kitchen it should look like this:
3. Now we need a rom to work on, for this tutorial. Place the original rom zip in the original_update folder inside the kitchen.
4.run the cygwin.exe again type:
Code:
cd kitchen(enter)
./menu(enter)
5.now enter option 1, enter again. You should see your rom listed, choose and enter
6.you will be asked about changing the working folders name, at this point it makes no difference so just continue.
7.you will be asked to convert to update-scrip do it and continue
8. Now you can view the roms info
9. congratulations you have a working folder!!!
Step Three :repackaging the rom
Now that you have made some changes it's time to test!!
1. Run the kitchen and enter option 99 - "biuld rom from working folder"
2. Choose mgldr or clk
3. I recommend that you go with all default options until you get more experience with the kitchen.
4. When its all done you will find a folder inside "cygwin/home/yousername/kitchen" called output_zip
5. Inside the folder is your new rom ready to be flashed and tested!!!

Reserved 2

Reserved 3

Reserved 4

Cool guide..btw there are many guides on this topic..but i still respect your hardwork..gud luck for ur future guides..

Related

[Videoshot/Screenshot App]Record simultaneous screenshots of your droid!!

For those who want to show some app tutorials or a walkthrough of their phone or a ROM!!
!!!!!This app does not record ACTUAL VIDEO but instead, a line/batch of screenshots which you can put together in a video yourself!!!!
You will need the foll things:
1. JDK
First of all you will need to get JDK 1.6+ installed on your system.
NOTE: that you may need to manually add Java directory to your PATH variable if ddms and/or Ashot won’t launch.
2. Android SDK
Follow this link to get latest Android SDK for Windows platform.
Download installer_r12-windows.exe.
Launch downloaded installation package and accept defaults.
Click Finish to open SDK Manager.
Go to the next section to install USB Driver.
Note: Please remember the full path to the SDK for further steps. In this guide we will assume that SDK path is “C:\Program Files\Android\android-sdk-windows“.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Windows USB driver & Platform Tools
Here are the steps.
1.Please make sure your phone is NOT CONNECTED to your computer.
2.(Skip this step if you have SDK Manager running already after installation) Run SDK Manager.exe from SDK path. And wait until it has finished refreshing sources.
3.(Only on the first run of SDK Manager) Click Cancel since you don’t need anything but Platform-tools and USB driver for screen capture application.
4.Select Available packages on the left panel.
5.Expand the Android Repository and set check next to Android SDK Platform-tools.
6.Expand Third party Add-ons –> Google Inc. add-ons and set check next to Google USB Driver Package.
7.Click Install Selected.
8.Click Accept All to accept License and then click Install.
9.When install finishes, the USB Driver will be in “C:\Program Files\Android\android-sdk-windows\google-usb_driver“.
10.Close SDK Manager.
11.Connect your phone. You will be prompted for driver, which is located in the path mentioned above.
For more details installing driver please visit http://developer.android.com/sdk/win-usb.html.
It could be the end story, but there are some extra steps:
Make sure that standard SDK tool ddms.bat (from C:\Program Files\Android\android-sdk-windows\tools) launches successfully. Otherwise Screen Capture Tool won’t work either.
If ddms won’t launch, add the platform-tools to your system PATH variable like this: Right-click My computer –> Advanced –> Environment Variables –> select Path in System Variables box –> Edit –> append “;C:\Program Files\Android\android-sdk-windows\platform-tools” to the existing Path. Please note the semicolon “;” preceding the path being appended.
If ddms won’t launch even after you have accomplished the step above, try disconnecting your phone, then launch ddms and then connect your phone back.
And also:
Copy adb.exe from platform-tools to tools folder.
Also copy AdbWinApi.dll and AdbWinUsbApi.dll from platform-tools to tools folder.
4. USB Debugging for Android
To capture screens from your Android phone, it needs to have USB Debugging setting activated.
On your Android device click Menu button.
Click Settings.
Click Applications
Click Development
Make sure USB Debugging is checked.
5. Android Screen Capture.
Wheeew. Now you have all set for Android Screen Capture.
1.Download latest installation package from SourceForge: Download
2.Run AndroidScreenCapureSetup.vX.X.exe.
3.Follow onscreen instructions.
4.When finished, run application and go to File -> Set Android SDK folder to set SDK path.
After you've recorded your session you can put those pictures into a video maker and it will look just like you've grabbed a video of your screen!!
Please post if something does not work on your device or your system and provide specific info
(Obviously this is not my own app but its good to discuss if there are common problems!!)
Thanks!
I just tried, and instead of a video it creates png images.
How to capture video?
EDIT:
Seems that I didn't understand well. The app doesn't create a video, just a batch of screenshots in the selected folder.
dancer_69 said:
I just tried, and instead of a video it creates png images.
How to capture video?
EDIT:
Seems that I didn't understand well. The app doesn't create a video, just a batch of screenshots in the selected folder.
Click to expand...
Click to collapse
That's what it is....
You can just line up the screenshots into a video its one and the same
Yeah, it' s not exactly the same.
So, this is basic a screen capture app, not a video capture.
I think you must change the title because is misleading.
Nice app though, thanks.
Hit the button dude!!!
What??
I mean hit the thanks button...but today I noticed that you already did!
i will try it and let you know about the results

[Guide] COMPILE/DECOMPILE APK FILES MY WAY

HEY GUYS HERE I AM WITH ANOTHER GUIDE...
I HAVE RECEIVED MANY REQUESTS FOR THIS...
MANY PEOPLES GET ERRORS/BOOTLOOPS ON COMPILING APK'S...
Click to expand...
Click to collapse
TOOLS I USE:
1. APKTOOL(to play with apk's)
2. APKTOOL for ics (i don't have link, search for it)
3. notepad++(to edit files)
4. 7zip(to edit files)
5. APK One click (optional)(to make things very easy)
Click to expand...
Click to collapse
SETTING UP FILES:
1. Install Notepad++ and 7zip
2. Download apktool-install-windows-* file
3. Download apktool-* file
4. make a folder in windows directory named apktool
example C:/APKTOOL
5. Unpack both downloaded packages to apktool folder named apktool
example C:/APKTOOL/here
Click to expand...
Click to collapse
COMPILING/DECOMPILING
1. Copy stock framework-res.apk, twframework-res.apk and files you want to edit to apktool folder(in my case settings.apk)
2. Go to start > run > type cmd > enter
3. Type:
cd C:\apktool
Click to expand...
Click to collapse
TIP: window 7 users you can skip 2 and 3 step and
go to C:\ just hold shift and press right mouse click on apktool folder.
you will see open command window here, click on it​4. Type: apktool if framework-res.apk (enter)
apktool if twframework-res.apk (enter)​ this will install your frameworks which is needed to decompile system apk files...
5. Type: apktool d settings.apk​ can be something else in your case
6. Minimize cmd and go to apktool folder you will find settings folder
edit files you want to edit. when done go back to cmd
7. Type: apktool b settings​ it might give you errors so read it and find the errors but
if it shows building apk file then forget about errors.
8. When done minimize cmd and go to apktool/settings/dist/
and there is your modded apk file...
now's important part
9. Now open modded apk and stock apk in 7zip
10. Drag/drop meta-inf folder and AndroidManifest.xml from stock apk to modded apk
11. Rename modded apk same as stock apk. (capital/block letters)
example modded > settings.apk >Settings.apk
12. All done now push moded apk to phone and enjoy!!!
Click to expand...
Click to collapse
USING APK One click
HOW TO INSTALL
* Download and Extract the achieve to a folder.
* Open the extracted folder & run shellext-add.cmd
* if some errors occur during install:
- Open Windows Control Panel -> User Account Control Settings
- Set the slider to 'Never notify'
- Reboot Windows
- re-run shellext-add.cmd
HOW TO USE
* Install frameworks with apktool as mentioned above
* Right-click apk file you want to edit and select 'Decompile APK'.
* A folder containing the output will be created in the same directory as the APK.
HOW TO RECOMPILE APK
* Modify the smali code or resources
* Right-click xxx_decompiled folder and select > Recompile APK from source
Click to expand...
Click to collapse
SCREENSHOTS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LINK TO FEW OF MY WORK:
Aroma installer based ATOMODS to have all cool mods, tweaks, apps, cwm recovery, kernel etc on any rom even stock rom...(MUST TRY)
[AROMA] █ ATOMODS █ [Galaxy Ace Plus GT-S7500][Mods/Tweaks/Apps/CWM/Kernel]
Guide for those who want to customize there rom on there own... doo cool mods like center clock,CRT animation, ics and jelly bean style mods etc...
[GUIDE] [MODS] Collection of mods for all gingerbread[2.3] phones..
Learn compiling and decompiling apk files my way
[Guide] COMPILE/DECOMPILE APK FILES MY WAY
Guide on how to make you own custom rom(easy way) (using kitchen)
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
Link to apktool for ics bro
http://forum.xda-developers.com/showthread.php?t=15581
LINK NOT VALID
No thread specified. If you followed a valid link, please notify the administrator
lokeshsaini94 said:
SCREENSHOTS
Click to expand...
Click to collapse
In my case I don't see meta-inf !! Can I skip that step.
What I did..!!
For sample I have taken Dropbox.apk.
Decompiled and Recompiled again.
Got the new apk.
viijay4b7 said:
In my case I don't see meta-inf !! Can I skip that step.
What I did..!!
For sample I have taken Dropbox.apk.
Decompiled and Recompiled again.
Got the new apk.
Click to expand...
Click to collapse
The old apk has metainf folder... Drag it into new apk...
Sent from my Galaxy Nexus using xda premium
thanks bro.
Sent from my LG G4 using XDA Labs

[TUTO] How to deodex stock rom for galaxy S DUOS S7562

[TUTO] How to deodex stock rom for galaxy S DUOS S7562
In the world of Android, a lot of themes, tweaks and tricks require the need of a Custom Deodexed rom. Deodexed roms are firmwares where the .APK files of the System Software itself are packaged in a way so that they can be modified easily without causing any harm to the framework or the Android Environment.
This tutorial will cover all the steps required to deodex stock rom for galaxy s duos s7562, so that you don’t need to install a Custom Rom yourself!
Disclaimer: Follow all the instructions carefully mentioned in this article, I should not be held responsible in any manner if your Android Device doesn’t boot up or gets bricked due to not following the instructions.
Required :
1. Your device should already be rooted.
2. You should already have Android ADB in your computer and should have basic ADB knowledge.
3. JDK already installed in you’re PC (http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html)
4. 7zip installed (http://www.7-zip.org/download.html)
5. Cygwin installed (http://www.cygwin.com/)
6. dsixda's Android Kitchen installed (http://forum.xda-developers.com/showthread.php?t=633246)
7. Busybox should already be installed in your device.
8. CWM already in you’re phone
9. Make nandroid backup (just in case).
10. sgs2toext4.jar ((created by drphrozen) attached
11. DiskInternals LinuxReader (http://www.diskinternals.com/download/Linux_Reader.exe)
Tutorial :
1. Download you’re favorite stock rom
2. Use 7zip to extract it (ignore errors)
You will have these files, we need only system.img.ext4
3. We have to convert it to ext4 format with sgs2toext4.jar
Open a command window and set the directory where you have sgs2toext4.jar file.
Now type sgs2toext4.jar and press enter
The .jar will run in a new window & will ask you to drag & drop the system.img.ext4 file there.
Do the same and wait till the process completes
4.Open the results file with DiskInternals LinuxReader an extract all files in new folder named system
5.Compress the system folder with 7zip (tar and store format) named system.img.ext4.tar
6.Put the file in kitchen folder (in original_update)
7.Lunch Cygwin terminal an cd to kitchen folder and load the menu (./menu)
You have to modify the API from 10 to 15
Look the file in C:\cygwin\home\user\kitchen\tools\deodex_files (api_level.txt)
8.Choose option (1) and do like these :
9.Choose option (0) ADVANCED OPTIONS
10.And then option (11) deodex files in your ROM
Then (b) deodex both folders and then
Take a caffe and be patient, the operation take a time to finish, if all operation finish without problem you will have this :
However, some apks failed to deodex, see the screenshot, for me only one apk failed it’s not very important
To resolve this, go to :
C:\cygwin\home\user\kitchen\WORKING_xxxxxx_xxxxxx\system\app\
and delete the odex apks (you can recognize them by their respective .odex files present in the same folder)
Make sure to delete both apk as well as its respective .odex file.
you can close the kitchen now if you do not want to add more MODs
THATS IT ! you have successfully deodexed both /system/app as well as /system/framework/.
Now to port the deodexed rom do the following :
11.Copy both app and framework folders to your sdcard, from :
C:\cygwin\home\user\kitchen\WORKING_xxxxxx_xxxxxx\system\
12.Connect your phone to computer.(Make sure you have select USB debugging in Settings>Developer options>USB debugging
13.Open Command prompt, Goto folder where android sdk installed. Then goto platform-tools folder in it. Right click on free space in folder while pressing shift key.Select open command prompt here.
Now enter commands. )
14.Enter following codes:
Code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/app/* /system/app/
rm /system/app/*.odex
cp /sdcard/framework/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot
(if you are using adb shell in su for the first time, keep phone screen on. After entering "su" code, super user request prompt in phone. Press allow )
who look for my cygwin i used in this tuto
https://docs.google.com/folder/d/0B7VA567j483ubnBUMXBvamswN3M/edit?pli=1
just extract it in c:\ lunch Cygwin.bat it will creat your user folder in c:\cygwin\home
then move kitchen folder in cygwin\home to your user folder created
cheers
all credits goes to devs from this great forum
Que
what is the use of deodexing Rom.what is its main advantage. in galaxy s duos
Cool.. is there any themes available for S duos?
Phelin said:
Cool.. is there any themes available for S duos?
Click to expand...
Click to collapse
Yes, check out the theme I made
http://forum.xda-developers.com/showthread.php?t=2276756
Hit thanks if I helped
sent from GT-S7562 , with a better stock ROM
Check out the theme I made specially for galaxy s duos.c1
This is the v2.00
Here are the screen snaps
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The link to theme is
http://forum.xda-developers.com/showthread.php?t=2279483
Sent from my GT-S7562 using xda app-developers app
V3.00 greenblast theme for s duos is released
Link
http://forum.xda-developers.com/showthread.php?t=2279483
Lockscreen
Tap to select in toggles is changed
Have a look
Sent from my GT-S7562 using xda app-developers app

[TUT]Decompile and compile apk and jar files

In this tutorial i will show you how to decompile and compile apk and jar files with apktool and apk multitool
Apk multi tool
It is easy to use than apk tool and i prefer to use it
- Download apk multitool.zip from here
- Extract apkmultitool.zip to somewhere in a single folder
- Place the apk you want to decompile inside files folder
open AndroidMultitool.exe which inside apkmultitool folder
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now click on select file under decompiling menu and open the file you want to decompile from files folder
now click decompile
After decompiling it will show like this
You will find the decompiled file in decompiled apk folder if its a apk and in decompiled jar if its a jar file, now show your modding skills in xml, smali files and pngs
After you complete modding lets recompile it. to recompile select the open file option below recompile menu and open the folder
click compile
the compiled apk will be in compiled_apk folder and jar file in compiled_jar folder. Now most important thing, if you are editing any file inside system the file will work without signing it, if it is in data partition you have to sign it. sign it using the signing option
​
Using Apk Tool
Apk tool
To use apk tool you need these 3 files
download this zip
extract the zip file to a single folder
search cmd.exe in c and copy it to that folder
it should look like this
open cmd.exe and you should see that it navigates to folder location like this
now copy the apk or jar file that you want to decompile in that folder. Before decompiling the file you must install it so first use this command to install it, i took SystemUI.apk for this tutorial
type “apktool if SystemUI.apk” and press enter
Now time to decompile, to decompile type “apktool d SystemUI.apk” and press enter. If its successfully decompiled it should show like this and the decompiled apk will be in the same folder named SystemUI
Now time to show your modding skills after completing editing the files you can compile it again
To compile it use “apktool b SystemUI”
it may show some errors you can simply ignore it
and the build apk will be inside SystemUI/dist folder
Now you have known how to decompile and compile apk and rar files with both apk tool and apk multitool​
reserved
after recompile,, i think we have to place META-INF from original apk to modified...
jagnik said:
after recompile,, i think we have to place META-INF from original apk to modified...
Click to expand...
Click to collapse
I haven't replaced META-INF for any apks that i have modded. And for me it worked without replacing META-INF. I also read about it, i think it is required apk is not working
It seems that OP forgot to say that visual basic power tools needs to be installed in order to make this run.
If anyone bothers about "stopped working" issue, just install the needed redistributable here: http://go.microsoft.com/fwlink/?LinkID=145727&clcid=0x804

[GUIDE] Timely: using your own/custom sounds

Hi everyone!
I got the idea for this guide because I just spent about half a day finding a solution to this problem... As I couldn't find any guide for this (or atleast I couldn't find it after some searching on google and this forum), I decided to create my own guide!
DISCLAIMER: I do not hold any rights to the Timely app or trademarks. This guide is purely for educational purposes.
Timely: Installing a custom sound
FAQ:
1) Wait... Timely does not support using custom sounds!
Yes, out of the box, Timely does not support using custom sounds. But what we are doing here is trick Timely into using our own alarm sound by masking it to be a "built-in" sound. This way, selecting the sound in Timely will let Timely play your own alarm sound, thinking it's one of the built-in ones.
2) Does this work on my X device running X android version?
I'm sorry... I just don't know. The only way for you to know is to try out this guide for yourself!
Now, normally, if your phone is correctly rooted and running an android version which the Timely app supports (aka: you can install Timely from the Google Play Store and run it), then you shouldn't have any problem.
The Guide:
Step 0: Prerequisites
- Your Android phone needs to be rooted to perform this operation (as we are going to extract the apk from your phone). Please search on Google or these forums for guides on how to root your phone.
- You need to have a file manager installed onto your android phone which supports Root. Great ones are Root browser, ES File Explorer or Root Explorer (or choose anything you like ).
- You need to have WinRAR installed (I tried doing this with 7-zip, but 7-zip does not easily allow me to change to mode to store).
- You need to have a sound file in OGG format. You can easily convert your mp3/aac/etc... files online to an OGG format. A great site for doing this is http://media.io/
- You need to have basic command line skills. For now, this guide is Windows-only. So you need access to a Windows PC.
Step 1: Downloading/Installing all the necessary files
- Download the latest Java JDK by going to this link: http://www.oracle.com/technetwork/java/javase/downloads/index.html. Afterwards, install it.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
- Create a folder called "timely" in your C drive (C:\timely). Place your OGG file in this folder.
- Please download the "SignApk.zip" at the bottom of this post and place its contents in C:\timely. Big shoutout to A_U for providing it in his post about apktool (http://forum.xda-developers.com/showthread.php?t=2213985)!
Step 2: Extracting the Timely APK
Download and install the Timely app from the Google Play Store onto your device (https://play.google.com/store/apps/details?id=ch.bitspin.timely).
Open your file manager and go to /data/app. Your file manager will request root permissions to access this folder. Copy "ch.bitspin.timely-1.apk" to /sdcard/Download.
Connect your device to your computer. On your computer, go to <devicename>/Download and copy the "ch.bitspin.timely-1.apk" to your timely folder.
At the end of this step, your timely folder should look like this:
Step 3: Modding the Timely APK
Open WinRAR and navigate to your Timely folder:
Click the "ch.bitspin.timely-1.apk" file to go explore the innards of timely!
Go to /res/raw. This folder contains all the built-in alarm sounds of timely.
Allright, now we are going to add our custom sound! What we are going to do is replace one of the built-in sounds with our own custom sound, tricking Timely to believe it's actually a built-in sound when we are setting up our alarm!
Choose one sound you want to replace. You WILL NOT be able to use this sound again, as we are going to replace it. In this example, we are going to replace the "Awakening" sound. Rename your custom sound to "awakening.ogg" and drag and drop it into the /res/raw folder:
In the WinRAR popup window, select "Store" as the mode. Afterwards, click on OK.
Step 4: Signing the Timely APK
In order to reinstall our modded Timely APK to our device, we need to sign it.
Open a command prompt and navigate to your timely folder (using the cd command). Then, execute this command:
Code:
java -jar signapk.jar certificate.pem key.pk8 C:\timely\ch.bitsign.timely-1.apk C:\timely\ch.bitsign.timely-1-signed.apk
This will create a new apk in our timely folder called "ch.bitsign.timely-1-signed.apk".
Step 5: Installing our modded Timely APK
First, uninstall the original Timely from your Android Phone, if you hadn't uninstalled it already.
Move "ch.bitsign.timely-1-signed.apk" to your Download folder on your Android Phone and rename it to "ch.bitsign.timely-1.apk".
Go to your android phone, open your file manager and click on the APK file in the download folder (/sdcard/Download). Your modded Timely should now be installed!
Step 6: Enjoy your custom alarm sound!
When you now set up an alarm in Timely, select the Awakening ringtone and now, your custom sound will play when your alarm goes off!
Have fun!
Little error
Thanks! I found a error in the java code:
java -jar signapk.jar certificate.pem key.pk8 C:\timely\ch.bitsign.timely-1.apk C:\timely\ch.bitsign.timely-1-signed.apk
should be:
java -jar signapk.jar certificate.pem key.pk8 C:\timely\ch.bitspin.timely-1.apk C:\timely\ch.bitspin.timely-1-signed.apk

Categories

Resources