General :: Run APKTOOL In Android - No Such File Or Directory

Jan 31, 2013

Tried it, i put aapt,apktool and apktool.jar in /system/bin...

But when typing apktool it says "no such file or directory"

How can i make it work?

General :: Run APKTOOL in android - no such file or directory


Android :: Create Directory Or File Into Data / Local Directory?

Aug 5, 2010

I want to download my apk file into "/data/local/" directory. I am able do this in external storage but unable on "/data/local" also i was trying to create folder on same location but could not do that. Through "adb push" it is possible but i need to do this java program.

View 2 Replies View Related

General :: Can't Delete File In Root Directory

Oct 11, 2012

but I can't delete some file in this directory ".ifs" folder Because. Yesterday I'm rooted my phone (This is a first time i root Android phone) i've explore alot of file in my phone

I found "logo.jpg" ( I Guest this is BOOT SCREEN PICTURE FILE ) in ".ifs folder" I Think if i replace with another JPG file. I can change BOOTSCREEN another Picture too.

when i copy and replace with new JPG file in this directory. I CAN'T replace it. But it create Duplicate file with "logo-Copy.jpg"

I do this 2 time but not work.

I can't delete or replace "logo.jpg" file in " mnt .ifs " Directory

that useless. So ! I want to delete "logo-Copy.jpg" or "logo-Copy (2).jpg" but I CANNOT DELETE IT TOO.

I'm use ROOT EXPLORER program SD Maid and ES EXPLORER it still not work ( SET mounted read and write )

View 3 Replies View Related

General :: Failed To Mount /cache (no Such File Or Directory)

Nov 10, 2013

After using Odin to update firmware on my Galaxy Player 5.0 (model g70cwy/xaa), I can no longer get it to start. I get the Failed to mount /cache (no such file or directory) (see attached screenshot.

I tried the factory rest option, it does not seem like any of the options on this screen works.

View 2 Replies View Related

General :: How To Replace Any File In System Directory Remotely

Aug 3, 2013

Well actually I wanted to replace/ place a text file in system directory (e.g. /system/etc/) of android phone remotely which means I don't have any physical contact to that phone.

By remotely I mean via downloading or through app. or any other mean ?

- Is it possible?
- Is it necessary to have that phone rooted?

View 8 Replies View Related

General :: Failed To Mount /sdcard (No Such File Or Directory)

Jul 31, 2012

i own a galaxy note n7000. i just update it to ics via kies. so i decide to root it. i read in some thread it said download the cwm.zip i do as the instruction but when i get into recovery mode and choose apply update from external storage the phone keep saying E:failed to mount /sdcard (No such file or directory).

View 5 Replies View Related

General :: Streaming Video File Located In Online Password Protected Directory

Nov 27, 2012

Using MX Player. It worked best. All you have to do is have the username and password put in together into the URL after http, but before the URL of the video file. So lets say the directory is protected by the username FrancisFord and the password is Copola and the URL is URL...., you would enter this address when streaming from a URL:

URL.....Remember to remove the www from the URL and that the username comes first then the password seperated by a colon, followed by the @ symbol. URL....

So, I have video's uploaded to my personal site. I password protected the directory with .htaccess. The permissions of the videos are set to 777. If I surf to the directory of the video through the browser on my Galaxy S II, it asks for a username and password and then displays the files that are there. When I click on a file, it tells me that I cant play the video and thats with any video player I use. If I try to play the video in my browser itself by putting it into something like JW player, it also doesn't work. The only time it works is when I unprotect the directory. Then it streams it fine.

I am using A Samsung Galaxy SII (s2) or Epic 4G touch from Sprint. I have Cyanogen Mod 10, beta 2 with Jelly Bean on it. I use the built in browser and also Chrome. The video players I have tried using to no avail are:

Daroon Player
ES Media Player
MX Player
FPlayer
Rockplayer lite
Showtime Player panel
Stock Android Video player.

View 2 Replies View Related

General :: Copy File From Internal Device Directory To External SD Card Rooted Galaxy S4

Jul 14, 2013

When making an image I accidentally had Clockworkmod image be saved to the device itself instead of being saved to the external SD card.

I am able to browse to it using Root Explorer and select to Copy it, but how do I PASTE it onto the external SD card when Root Explorer only accesses the device directory and not the external SD card?

Quick 2nd question: I know on some previous devices such as the Galaxy S 4G you were *not* supposed to run Clockworkmod after booting in and from the Apps Drawer, instead you were only supposed to run directly from the startup screen before booting in. Is it OK to actually start the Clockwork Backup/Restore process from the Apps Drawer of the Galaxy S4 and let it reboot and do its thing or is it only supposed to be run BEFORE booting in?

View 5 Replies View Related

General :: How To Edit System Apps With APKTool For Android

Nov 1, 2013

how to decompile system apps with apktool for android....

View 2 Replies View Related

General :: Native APKTool - Looking For App To Recompile Apps Within Android?

May 18, 2013

I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?

View 2 Replies View Related

Android :: How To Write File With Directory?

Apr 17, 2009

I wrote a file to the sdcard, but it failed as follow:String sdcardFIle = "/sdcard/xxx.txt" FileOutputStream fos = openFileOutput (sdcardFile, Context. MODE_ WORLD_ WRITABLE ) ; openFileOutput failed, because fIle "/sdcard/xxx.txt" contains a path seperator. It is so strange. Is there another way to handle the situation?

View 5 Replies View Related

Android :: Write File In Sub-directory

Mar 31, 2010

I'm trying to save a file in a subdirectory in Android 1.5.I get a exception saying I can't have directory separator in a file name ("/"). I'm missing something of working with files in Android..I thought I could use the standard Java classes but they don't seem to work.I searched the Android documentation but I couldn't fine example and google is not helping me too.I'm asking the wrong question (to google).

View 2 Replies View Related

Android :: Creating File Inside Own Directory

Sep 13, 2010

I am using following to code to create a directory

private static final String TRIAL_DIR_NME="trial";
File dir = getDir(TRIAL_DIR_NME, MODE_PRIVATE);

Now I want to create a custom file inside this directory. Basically I want to write "trial start date" for app and then compare that date to determine if trial period has expired.

View 4 Replies View Related

Android :: Save New File Into Asset Directory From App

Sep 18, 2009

Is it possible for the App to create a new file/asset and write this into the /assets directory. The reason being, that's the only way I can tell webkit will load a local file/resource.

View 10 Replies View Related

Android :: Save File To Sdcard Directory

Jul 28, 2009

When I saved a file or open a dir under sdcard dir, it always complains:"Parent directory of file is not writable: /sdcard/myfile, java.io.IOException: Parent directory of file is not writable" Any idea what's wrong?

View 2 Replies View Related

Android :: How To Create File In Current Directory?

Apr 29, 2009

I am new to Android and creating my first application.I want to create a file in the current directory. Basically I have a file bundled with aplication package as raw resource. I want to make a copy of this file in the current file. The reason to create copy in current directory is that I want my file reading code in native java, portable code.So my query is how can I create a file on current directory? The location current directory is important here as I do not want to make use of device specific hardcoded path or any Android API while reading the file. This is so I want my file reading code portable.

View 4 Replies View Related

General :: APKTool Not Recompiling Gmail App?

Jan 14, 2014

I tried to decompile the Gmail.apk with Apktool, but it said: can't decode attr value, value=0x00004001. And after that some more errors.

I tried it with and without framework install first, and I got the latest version of Apktool. Still nothing works, although I can decompile other apps.

View 6 Replies View Related

General :: APKTool Can't Compile Unchanged App?

May 6, 2012

I have made a CM7 theme and I'm unable to compile it. I have investigated it a little and found out that if I decompile a theme and then compile it back without ANY change, it gives the following error:

Code:
chris@ubuntu:~/Desktop$ apktool b xres
W: Could not find sources
I: Checking whether resources has changed..[code]....

View 9 Replies View Related

General :: APKTool And SystemUI No Status Bar?

Apr 12, 2013

My ROM for the Note 2 is a TW base (people want the S-Pen functions). And they like the AOSP feel so i decided to try and make a ROM that is AOSP themed. Well i have the launcher and a few AOSP themed apps such as the messaging app.

The flashers were very satisfied with my work so far. But they wanted an AOSP themed status bar. Meaning some AOSP battery images wifi and so on. I decided just just replace the EXACT images. I used a cm10 ROM to get the pngs. I also did use the newest Apktool to do it. I did all the framework installation. I decompiled both and started transfering. Here is what i did. I went to the drawable-xhdpi folder in both ROMs. They had pretty much identical png names. But the icons were different (one being the blue theme) so i took the blue icons (battery and wifi) and transfered them to my rom. I made sure that only the pngs with the same names were transfered. so there wasnt any issue compiling.

Next i compiled the APK file.Then i used my backup systemui.apk file to transfer the META-INF folder to the new one using 7-zip.Then i went and signed it and used dsixda's android kitchen to zipalign it. Then after all that i pulled that apk from the zipaligned folder and put it on my phone's sd card. I have the root explorer app. I move it to my /system/app folder. It moved successfully. Then i reboot and when it comes back up i dont have a status bar. And my wallpaper is black for a little while and then goes back to the feather thing.

I have tried signing and not signing. Zipaligning and not zipaligning.I am really wanting the AOSP themed icons in the status bar.

View 9 Replies View Related

General :: Editing Apps With APKTool?

May 2, 2014

I have been playing with apktool to learn how apps are made. Decompiled following the guide from this forum.

However I can't find what I'm looking for in the apps. For example, it's easy to edit the drawable folders of the apps and change the images.

I took some apps that gather feeds from news sites and I tried to find where are the feeds URLs coded or embedded inside the apps files, and could not find any info at all. No URLs at all. I opened the XMLs, and other files inside res, lib or smali folders, opened a lot of the files with Notepad++ and I can't find any information about it, or any place where the app connects to the website.

Is it possible to access that info when we decompile with apktool?

I also watched a lot of videos in YouTube, on how to edit apps with apktool, and all of them explain how to change the images, but nothing else.

Is it only possible to edit the theme/design of an app, when we decompile with apktool? Or can we go further and change something else?

View 2 Replies View Related

Android :: Loading HTML File From Local RES Directory

Sep 29, 2010

This should be very simple, but I can't find the answer anywhere. How do I load an html file (which I assume I keep in res/raw folder) into a webview?
neither mWebView.loadUrl("file:///raw/about");
or
mWebView.loadUrl("file:///raw/about.htmal");
works.
What's the correct syntax or arrangement.

View 3 Replies View Related

Android :: Why I Can't Find .db File In Data Directory Of My Application?

Aug 21, 2009

I have written a test case to implement a conference contact management system with Content Provider and SQLite. The launch activity is a Listactivity and the customized provider is extended from ContentProvider, u know, actually the sample is so similar to the Notepad Sample in the official SDK packages. However, i can't find the created .db file in the /data/data/myapp/ except the /lib directory. Why?

View 2 Replies View Related

Android :: Play Audio File From Assets Directory

Jul 20, 2010

when I run this code, it starts playing all the audio files in the assets directory, in alphabetical order instead of just playing the audio file I requested. What am I doing wrong? Is there a better way to play audio files from the assets directory?Is there a difference between keeping audio files in the assets directory and keeping them in the res/raw directory? Besides the fact that they don't get ids if they are in the assets directory. If I move the audio files to the res/raw folder then I have a problem with reusing MediaPlayers because there is no id parameter for setDataSource(). I can't find a good guideline for handling this kind of problem.

View 1 Replies View Related

Android :: Link Keyword In TextView To File / Directory

Sep 2, 2010

Is there any way that I can link a keyword in a TextView to a file or directory on the user's SD card? My app produces stack trace files when it crashes and I want the user to able to click a link in my About dialog to view either the latest one or the folder containing all of them. (Something like "If this app crashes, please send [link]the latest stack.trace file[/link] to us at myapp@example.com.")

View 1 Replies View Related

Android :: Manually Read A File In Files Directory

Nov 10, 2010

Friends, My application has to get current gps position in every seconds and write this data as byte array to a file in files directory. To check the data in that file I tried to open mnually. But i couldn't open. How can i read the file. The file is a text file

View 1 Replies View Related

General :: Modify With APKTool App - Block In Dalvik

Jan 31, 2012

my friends mods and give me an app that he had blocked only for my imei code and date control..i have modify with apk tool the app (the condition control where the app check imei and date) but when i resign the app and install it, when i launch it crash.How i can remove these blocks?

View 1 Replies View Related

Android :: Place Eclipse Project File In Separate Directory

Jun 17, 2010

I'm using a default Eclipse project file generated for my Android application, and I want to keep it in a targets/ directory (along with other eclipse-specific files) in order to better organize my project structure (I also plan on adding a target for NetBeans).

View 1 Replies View Related

Android :: Need To Read Trace - Text File /no Data Directory

Sep 25, 2009

Sometimes in LogCat I'll see Wrote stack trace to '/data/anr/traces.txt'

But when using the DDMS perspective, "File Explorer" View, I can't see anything in the "data" directory, I'm assuming because permission denied. Is there a way (short of rooting my ion device) to read what's in that text file?

Is there perhaps an android app for developers that will show the contents of the file? It would seem there would have to be some way of reading the file without rooting the device, otherwise why does the o.s. write it out? How can I read this file?

View 3 Replies View Related

Android :: Cannot Find File After Decompressing From Archive / App Directory That Stores It?

Jun 3, 2010

I am using ZipInputStream and BufferedOutputStream to decompress a file from a zip archive in Android 1.6. The code runs without exceptions, but when I check the existance of the file, I can't find it. I am just looking for the filename. Is there an application directory that stores this file? Do I need to specify a directory?

View 1 Replies View Related

Android : Get Parent Directory Of File Is Not Writable For An SDCard Export

Aug 26, 2010

I have this code:

CODE:...............

On the marked line of file.createNewFile();

I get java.io.IOException: Parent directory of file is not writable: /sdcard/log.db

I have an sdcard installed and I can easily copy files to it. What might be wrong?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved