[GUIDE] Timely: using your own/custom sounds - Android General

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

Related

Enabling Gingerbread ScreenOff Animation

The CRT style screen off / lock animation that comes with Gingerbread is disabled by default. This tutorial (partially copied and edited) will help you to Enable this.
First, you should root your device.
[SCH-i509] Gingerbread ScreenOff Animation
What you need:
- Root Explorer
- APK Manager from APK Multi-Toolkits | APK Multi-Tool
- Notepad
- 7Zip
1. Using Root Explorer, take the framework-res.apk (you can copy it from system/framework to /sdcard, and load it to your pc)
{
"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"
}
2. Copy from /sdcard to your PC. Paste it at "place-apk-here-for-modding" at the APK Manager folder.
3. For the first time you run APK Manager, please run setup.bat, and then choose option number 3. Please wait untill the progress done. Run Script.bat from the APK Manager folder. Press any key, choose 9 (decompile) and wait.
4. When it finishes go to \APK_Manager\projects\framework-res.apk\res\values.
5. Open up the file called bools.xml in Notepad (Right click and open with Notepad)
Look for a line that says "<bool name="config_animateScreenLights">true</bool>"
Change true in that line to false so it should read
"<bool name="config_animateScreenLights">false</bool>"
Click to expand...
Click to collapse
6. Go back to the apkmanager script.bat. Open it, or if you still have it open you want to type 11 (Compile the apk) and then press "y"
When you see the picture like below, dont press any key too fast.
Theres a new folder in the apk manager directory called 'keep'. Before you hit enter to finish the process... go to that 'keep' folder and find a file called resource.arsc. Delete that file.
Go back to the apk manager and hit enter. It will start copying a bunch of files and it will be done. Close the script.bat window when it finishes.
7. Navigate to that folder that you put your framework-res.apk in initially and you'll see a new unsigned .apk. Open it in 7-zip and pull out the resource.arsc file inside of it (drag and drop it like on your desktop...do not unarchive/unzip). Using 7-zip open your framework-res.apk that you initially used for this mod (from your flashable .zip) and delete the old resource.arsc file thats in it...and drag and drop your new one in.
Code:
http://static.pbsrc.com/flash/onSiteVideo.swf?file=http://vid124.photobucket.com/albums/p32/lucubrb/SCH-i509/part07.mp4&t=1350846756&os=1&ap=1
8. Copy your new framework-res.apk to /sdcard. And then move it to /system. Do not copy the file to \system\framework at this point or you will cause the system to bootloop. Change the file permissions to rw-r--r--. Graphically it would look something like this:
9. Move framework-res.apk from \system to \system\framework, letting it overwrite the original. Completely power down your device, then power it back.
10. Last, using Root Explorer, goto /system/build.prop. Find "debug.composition.type=mdp" and change "debug.composition.type=gpu"
11. Restart your phone, and see the different
Tested at my SCH-i509. Do it with your own risk and good luck
Sources from here before i do some modif
Thank you for the very detailed guide. I managed to do everything without ending up with any bootloops or problems but the animation remains the same old one, even after enabling all animations at the end in my display settings. It actually removed my previous animation which was a quick fade out, now when I press the lock button it's like it quickly shuts off, doesn't really bother me but I really wanted to have CRT animation.
Got any suggestions on what else to try? I'm running Gingerbread 2.3.6
Mitko said:
Thank you for the very detailed guide. I managed to do everything without ending up with any bootloops or problems but the animation remains the same old one, even after enabling all animations at the end in my display settings. It actually removed my previous animation which was a quick fade out, now when I press the lock button it's like it quickly shuts off, doesn't really bother me but I really wanted to have CRT animation.
Got any suggestions on what else to try? I'm running Gingerbread 2.3.6
Click to expand...
Click to collapse
Well did you add the gpu line
Debug composition type gpu

[tool] AIPPackager and Installer - create installers for your RT Desktop apps [14/01]

This version/thread retired
new version - with source - can be found here: http://forum.xda-developers.com/showthread.php?p=36854150
This release composes of two parts:
The RTDPackager which creates an AIP file, and AIPInstaller which is the installer for these AIP files.
V1.1 of RTPackager release - now fully functional.
AIPInstaller Usage
Place the exe file and associated DLL in a folder somewhere sensible. I have not tested in ProgramFiles yet but the app elevates UAC so should be ok.
Double click on any AIP file (I include one as an example) and windows willl show this:
{
"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"
}
select 'more options' which will show this:
check the check box at the top and then click 'Look for another app on this pc'
A browse dialog will open - find and select AIPInstaller and you are done. You only need to do this the first time. I intend to add an auto install to this, so in future you can just double click the installer and it'll set itself up, but till then...
From now on, you can double click an AIP file and the installer will pop up. Usually just hitting 'install' will be all you need to do (there are some advanced functions like disabling the install batch if it exists, and changing the install path which isnt really recommended)
RTDPackager Usage
This utility is designed for creating AIP files. Its worth paying note that the AIP format is designed for repos more than it is the installer - so there are a lot of details here which the repo can use to make you app more visible.
V1.1 now has full open and save support.
Save will save a template XML, which can be loaded later with the Open button. Open will also open an existing AIP file and fill in the details.
Create Package no longer saves in the same place as the files being packaged - it opens a save dialog.
The browse button will now work and populate the run EXE field and the folder field.
some details:
AppName is the display name - and the install folder - so avoid \'s and such. If you change this in an update, it will get installed to a new folder.
Updates are detected based on the App GUID. Change this, it will appear as a new app - use the same GUID on more than one app and you will have conflicts. The generate button for GUID *DOES* work - you should only use it on the first release of your app - and for the time being, keep it safe for any updates.
Run EXE is the exe that will be launched by the store when the user asks to run it - and if a shortcut name exists, will be placed in the start menu.
Install/uninstall batch files are option batch files for installing/uninstalling registry settings and the like. There is currently no uninstaller, but the store app should have this built in - the uninstall batch is NOT for deleting files - the store will handle that.
App version number is a REAL number. ie. 1.03 is ok. 1.0.3 is not.
App category is for placing your app in a 'folder' - it is free form, with | splitting. Anyone can create a new category this way and its not up to the repo manager to manage this. Obviously it will work better if we have sensible categories such as 'Apps|Browsing' or 'Emulators|GameBoy' - while its totally possible to do 'djboo|prerelease|funthing' - i hope we dont do that.
DOWNLOADS
First Release of AIP installer: http://forum.xda-developers.com/attachment.php?attachmentid=1644222&stc=1&d=1358172785
V1.1 Release of RTD Packager: http://forum.xda-developers.com/attachment.php?attachmentid=1644631&stc=1&d=1358184708
Example AIP file (is in a zip as XDA wont allow the AIP extension): http://forum.xda-developers.com/attachment.php?attachmentid=1644224&stc=1&d=1358172785
reserved
Note: Once the RTD Packager is complete, code will be shared for both - that should be tonight.
Nice work so far, haven't tested all elements of it yet but it looks pretty good! Keep up the good dev work!

[GUIDE] All in one guide for everyone

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..

[Tutorial] How to remove any Ads on any apk without root

Hello,
Today I want to share with you a method to remove any ads from an apk that should work on any Android version without root permissions.
You will need a minimum level of skills to understand the method and a computer (needed to edit the apk).
Obtain the apk
When you install an application, its apk will be placed in /data/app directory. However, you need a rooted phone to access that directory. Luckily, often there is a pre-installed system application to backup your apps (on Huawei there is Huawei Backup) that can access that folder. Thus, you don't need root permissions. You can use this backup pre-installed app to save your apk on the sd and transfer it on your computer.
Edit the apk and re-install it
I'm assuming that you're on Linux, but the same can be done with Windows or Mac. Continue with the following steps:
An apk is just a zip file, thus extract it in a folder. On Linux:
Code:
$ unzip com.example.apk
Now, try to look at the strings, regarding ads, in plain text inside the file classes.dex (you don't need to extract it). For example:
Code:
$ strings classes.dex | grep "ads"
Keep note about all the ads urls contained in classes.dex (e.g. googleads.g.doubleclick.net)
Use an hex editor as GHex or Bless to replace these ads urls with invalid urls (I suggest to use the same length). So, for example, you can transform: googleads.g.doubleclick.net into foobarfoo.b.arfoobarfoo.bar.
Save overwriting the original classes.dex and zip all the files into a new apk (e.g. com.example_noads.apk)
Sign the new apk. The process is easier using some tools (look for apk signer on google, there are one click tools).
Transfer the new apk on your phone and install it (the phone should ask if you want to upgrade your app, say yes).
In this way, the application should work as always, but it will try to load the ads from invalid urls. Thus, it should not display any ads.
Note: I've tested this method and it works, however it's possible that some applications are encrypted thus there aren't plain text ads urls.
EDIT: I added a new step where you must sign the new apk. In fact, this is the rule. However, when I wrote this post I didn't talk about that, because in my case I found an application that I succesfully re-installed without re-sign the apk (bug? hash collision? I still don't know).
Application implementing this method available: Purify
I developed an application to do all this process directly and automatically on your phone!
The application is still unmature, consider it a proof of concept. It will remove only google ads for the moment.
Click here to see the source code on GitHub
If you want to try the compiled apk:
Note: This is the first pre-release, keep in mind that it is just an example of implementation. Some purified applications could crash, for example because they don't handle the wrong urls or for other reasons. However, I tested it on some apps and it seems to work. Unpacking, editing and re-packing the apk can require few minutes. Please read further details on the github page linked above.
Hey there, thank you very much, I used Purify on android 8.0 and works great. It didn't sign my apk but I signed it from the pc and it installed and worked correctly without ads. Great!
Edit: Zipsigner isn't on the play store any more but I downloaded and installed the apk from apkpure and it signs it but doesn't do it well because it doesn't let me install it after that no matter what kind of sign type do I use. So I sign it from the pc using "signapk"
Nice app.....now a days ads from other sources are increasing such as facebook.ads, mobileads, inmobi,etc.....to my knowledge, manifest.xml contains every ad activity, service, receiver etc.....is it possible to add an interface to selectively remove those....so that i can remove any ad from any app.......by the way....thanks for your work?
I could call this "Unlucky Patcher". It broke all apps I applied on.
thank you for sharing. i hope you can revive this with some updates. would like to download the apk in github releases too.
Is it still working because I have tried on latest android version where I followed the below step and I got the error as "There was a parsing issue with the package".
1. Downloaded APK file and renamed it's extension from .apk to .zip.
2.Extracted the files in one folder and edited classes.dex file using HxD editor and searched for "https://googleads.g.doubleclick.net" and replaced with "https://foobarfoo.b.arfoobarfoo.bar".
3. Later I zipped back and renamed the file from .zip to .apk.
4. Generated keystore using jdk keytool and signed with jarsigner. for more information(https://stackoverflow.com/questions/4853011/how-to-sign-an-android-apk-file)
5. Did Zipalign using the above mentioned link and transferred file to my Android 10 OS .
Can anybody help if there is any problem with app signing or compressing the files. thanks
Nrin said:
Application implementing this method available: Purify
I developed an application to do all this process directly and automatically on your phone!
The application is still unmature, consider it a proof of concept. It will remove only google ads for the moment.
Click here to see the source code on GitHub
If you want to try the compiled apk:
Note: This is the first pre-release, keep in mind that it is just an example of implementation. Some purified applications could crash, for example because they don't handle the wrong urls or for other reasons. However, I tested it on some apps and it seems to work. Unpacking, editing and re-packing the apk can require few minutes. Please read further details on the github page linked above.
Click to expand...
Click to collapse
I did all as you said and I have apk
icallscreen_82_9601261.apk-purified.apk
bat I can't install it?!?!
Interesting,didn't know about this
removing ads is one thing, but what about fignerpritning & anayltics?
Hello, im looking for an app that can remove all kind of ads in apk other than google, like ads shown by modders in the aps. will attach a screenshot which shows an ad from modder for one app in first thing after installing the app and opening 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"
}
the generated apk fails to install on miui 12
ON MIUI 13 Lucky patcher 10.2.6 works perfectly
pankajk said:
Is it still working because I have tried on latest android version where I followed the below step and I got the error as "There was a parsing issue with the package".
1. Downloaded APK file and renamed it's extension from .apk to .zip.
2.Extracted the files in one folder and edited classes.dex file using HxD editor and searched for "https://googleads.g.doubleclick.net" and replaced with "https://foobarfoo.b.arfoobarfoo.bar".
3. Later I zipped back and renamed the file from .zip to .apk.
4. Generated keystore using jdk keytool and signed with jarsigner. for more information(https://stackoverflow.com/questions/4853011/how-to-sign-an-android-apk-file)
5. Did Zipalign using the above mentioned link and transferred file to my Android 10 OS .
Can anybody help if there is any problem with app signing or compressing the files. thanks
Click to expand...
Click to collapse
aye bro did you find the solution?
hey I tried everything but unfortunately without success the ads stay unfortunately! Unfortunately the sylkat apache is not available for purchase without ads! tried everything! can someone help me please! have a good app for signing too ! Thanks
I have Android 10 and Android with root on the Nintendo Switch
This No Work with my Apps
googleads.g.doubleclick.net into foobarfoo.b.arfoobarfoo.bar
Thanks
I remove the ads ! Happy ! Remove ads in Apache sylkat and mobile telnet ! With lucky Patcher

.APK files not showing up in app folders

I am really lost with this problem as i cannot find any other instance of it...
device: Redmi note 9S, not rooted, developer options enabled, Android 10, MIUI 12.0.4.0
in the android/data/ directory, under the com.[author].[app] files, i can't seem to find any apk files, it just appears to be empty except for an additional "files" folder that doesn't contain any useful files, while the tutorials i was following need access to a base.apk file that, in my case, does not exist. I need to know if this is a new version general android change, a device specific one ? where are the apps running from? are they all web shortcuts? if they use an apk file, where can i find it? I'm unexperienced in all those things, but I felt this would be the best place to get an answer.
LasevIX_ said:
I am really lost with this problem as i cannot find any other instance of it...
device: Redmi note 9S, not rooted, developer options enabled, Android 10, MIUI 12.0.4.0
in the android/data/ directory, under the com.[author].[app] files, i can't seem to find any apk files, it just appears to be empty except for an additional "files" folder that doesn't contain any useful files, while the tutorials i was following need access to a base.apk file that, in my case, does not exist. I need to know if this is a new version general android change, a device specific one ? where are the apps running from? are they all web shortcuts? if they use an apk file, where can i find it? I'm unexperienced in all those things, but I felt this would be the best place to get an answer.
Click to expand...
Click to collapse
Go through your file manager settings and find the option to show hidden files.
@LasevIX_
An app's APK-file is housed in folder /data/data. The APK-file itself gets installed in folder /data/app as base.apk.
Example:
/data/app/[your_package_name]-[1,2,n]/base.apk
jwoegerbauer said:
@LasevIX_
An app's APK-file is housed in folder /data/data. The APK-file itself gets installed in folder /data/app as base.apk.
Example:
/data/app/[your_package_name]-[1,2,n]/base.apk
Click to expand...
Click to collapse
yes, i know that path. my problem was that it isn't available/doesn't exist on my machine
Droidriven said:
Go through your file manager settings and find the option to show hidden files.
Click to expand...
Click to collapse
I have done that already, but the apk files still don't show up.
also, I think this thread may benefit from further precisions:
the .apk files do not show up either in the phone's built in file manager, windows explorer or in ADB ls commands.
I am practically sure it isn't hidden files, I have all the settings for viewing them enabled.
if there's some secret setting that may provide access to those files, please do tell where.
after further checking, the app i was trying do copy to my computer reports an app size of 106MB, but the com.____._____ folder reports 21B, so i suspect it may be some sort of shortcut to another folder.
.
Typically one makes use of ADB commands to pull an APK file ( Android must NOT be rooted ):
Step 1: Get location of desired app in Android's filesystem
Code:
adb shell "pm path com.example.someapp"
The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk
Step 2: Using the full path name from Step 1, pull the APK file from the Android device to the Windows computer
Code:
adb pull /data/app/com.example.someapp-2.apk <PATH-ON-PC>
jwoegerbauer said:
Typically one makes use of ADB commands to pull an APK file ( Android must NOT be rooted ):
Step 1: Get location of desired app in Android's filesystem
Code:
adb shell "pm path com.example.someapp"
The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk
Step 2: Using the full path name from Step 1, pull the APK file from the Android device to the Windows computer
Code:
adb pull /data/app/com.example.someapp-2.apk <PATH-ON-PC>
Click to expand...
Click to collapse
I wasn't aware that you could use adb to find the location of apps, but the command you suggested gives an unexpected result (screenshot attached). it gives multiple results of files despite them being invisible to file explorers. Once i try to pull the package with the method you suggested, it gives an error as if it wasn't there. Did I type the wrong syntax? does the "pm path" command only give expected locations for files?
{
"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"
}
for clarification, I am trying to access the netflix client APK in order to manually make it recognise widevine L1 certificates, as described in this thread: https://forum.xda-developers.com/t/netflix-hd-on-tab-s2.3274295/#post-65001865 .
The NETFLIX APK you want to extract from Android is a so-called Split-APK. IMO you've to turn this Split-APK into a normal non-Split-APK.
How to:
How to turn a split APK into a normal non-split APK - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
Hey guys, recently many modders contacting me about how to mod a split APK. We have already many tutorials about how to download or extract the split APKs, mod a split APK as it is and how to use a split APK installer to make the mod apply to the device. Here some examples of the mentioned...
platinmods.com
jwoegerbauer said:
The NETFLIX APK you want to extract from Android is a so-called Split-APK. IMO you've to turn this Split-APK into a normal non-Split-APK.
How to:
How to turn a split APK into a normal non-split APK - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
Hey guys, recently many modders contacting me about how to mod a split APK. We have already many tutorials about how to download or extract the split APKs, mod a split APK as it is and how to use a split APK installer to make the mod apply to the device. Here some examples of the mentioned...
platinmods.com
Click to expand...
Click to collapse
This will be helpful for teh future, thank you for directing me to that tutorial.
but it still requires to pull the apk, which i have not been able to do.
as described in my previous reply, ADB seems to be able to return the location of the apk, but can't pull it, as if it never existed.
According to the screenschot you provided earlier I think the package ( APK ) you want to pull is stored as
/data/app/com.netflix.mediaclient-YUY-VwSu3KeCc44bkA
shorthanded as
base.apk
but don't really know it: this is not my world.

Categories

Resources