General :: Mounting SDCard With Execute Permissions On HTC ONE

May 6, 2014

I've installed LinuxOnAndroid with Fedora 19, I'm trying to get the /dev/fuse /sdcard to mount with exec permissions.

Currently it's only mounting /dev/fuse without execute permissions.

General :: Mounting SDCard with execute permissions on HTC ONE


General :: Mounting Second Partition Of SDCARD As Internal Memory?

Aug 17, 2012

my internal SDCARD is corrupted and the /data partition is unusable.

My device is i9003 and it's running on MIUI at the moment. By default MIUI didn't detect my external SD or my internal SD but after editing "vold.fstab" I was able to mount the first partition of my external SDCARD as external memory and everything was good, I could finally use the camera and pretty much do everything else.

But I was still unable to mount the second partition of my external SDCARD as my internal memory which meant none of my messages could be saved and the phone would pretty much go back to factory settings after a reboot, this apparently is because the /data partition (present on the internal memory) stores all the user data such as the time, the theme I'm using, etc and not having a /data partition meant none of these settings were really saved.

Having no internal memory also means I cannot install any apps such as Link2SD.

Moving on, after many hours of googling I found out that it might not be possible to mount the internal memory using "vold.fstab" and the only way to do it could be by mounting the memory manually during init.

I want to use the second partition of my external SDCARD as internal memory, this is likely to solve all my problems and make my phone usable again.

View 9 Replies View Related

Android : Unable To Browse /sdcard - Permissions Denied

Feb 28, 2010

On both the emulator and my actual phone (tattoo) I seem unable to browse the SD card - when I run ddms and use the File Explorer, I can browse /data or /system fine, but /sdcard refuses to open, and its permissions appear to be "d---------" (which of course might be the problem).

Similarly when I use ddms's "Put file on device" it fails:

29:43 E/ddms: transfer error: Permission denied Failed to push about.html on SH9CELG00306: Permission denied

The above is for my actual phone but I get a similar error on the emulator (which does have an /sdcard).

View 2 Replies View Related

Android : Execute DD Command From Java App / "copy" Internal Flash Memory In Sdcard

Jul 25, 2009

It's possible execute DD command from my Java application? I need to "copy" internal flash memory in a sdcard.

View 16 Replies View Related

General :: App Update Permissions - Any Way To Restrict Permissions?

Jul 23, 2012

The permissions say that you must agree to allow them to delete files from your storage including your SD card; must agree to allow them to extract any information from your phone, etc. In other words they can do any thing they want with your phone and the data in it.

Is there any way to not grant these permissions and still get updates?

View 2 Replies View Related

General :: Mounting SD On HTC Amaze?

Jun 8, 2013

When I connected my phone through cable it asks for formatting internal storage... After that I'm unable to mount sd and external sd also.. When I'm mounting sd card it shows "preparing sd card" and within a second it shows "sd card safe to remove".

View 1 Replies View Related

HTC EVO 4G :: Will Formatting Sdcard Via Phone Solve Sdcard Mount Read Only Errors

Aug 16, 2010

I replaced my original sdcard with a sandisk 16gb card. Everything went well until I started getting these blasted read on errors. Earlymon suggested a fix from another board but I don't have a stand alone card reader so I couldn't do it that way.

I was wondering if I just backed up all my stuff from my sdcard to my iMac and then just reformatted my sdcard via the phone, would that solve my problems?

View 3 Replies View Related

General :: Failed To Execute Box Appears In SDK

May 19, 2013

when i run the sdk manager i get. Failed to execute tools/android.bat:error 2 the system cannot find the file specified

View 1 Replies View Related

General :: Can't Execute Command Remotely Using SSH

Aug 23, 2013

I am new user in the area of Android, but have Linux knoweldge. I am trying to configure my android device LG Nexus 4 to act as Document Camera

For this purpose, I have to scp the files and then remove the files remotely. I have installed SSH server and my scp works, but my remote execution of commands using ssh not working, it throws error

with -v ssh gives the following messages
"Authenticated to 192.168.21.233 ([192.168.21.233]:57388).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending command: rm -rf /storage/emulated/0/DCIM/Camera/IMG_20130822_111706.jpg
exec request failed on channel 0 "

when I goggled it says that editing ssh_config file and uncomment: 'AddressFamily all' and changing it to 'AddressFamily inet' will work I checked in the android devices /etc directory, I did not find the ssh_config

View 1 Replies View Related

General :: Execute ADB Commands From C# Form?

Nov 2, 2012

Basically I have been working on a Boot animation changer for the Nexus 7 and the program so far is coded in a C# form for windows.

I have coded everything fine up till now. I need to run a ADB command to push a file from my Program files x86 to the nexus 7 and write over the original Boot file.

But is there a simple and easy solution for writing this code? Or do I need to make a console application which does this process when started?

( I can push files manually via ADB, but the point is to make the tool " one click " If you get my drift.)

View 9 Replies View Related

Android :: Refreshing Sdcard From Code After Pushing File To Sdcard

Feb 22, 2009

I've got some code that downloads mp3s remotely over a streaming url connection... This all works fine but my problem is once the file is complete and I pull up the music app it's not there. A reboot of the phone and it now shows up... anyone know how to force this refresh to occur from without my code?

View 3 Replies View Related

General :: Internal / External SD Not Mounting?

Jan 22, 2013

Since my last upgrade of cynaogenmod nighties yesterday on my galaxy s2, my internal AND external sdcard are not mouting anymore

I tried to understand why and I found that my /storage folder was empty. I think it should have been populated by /init.smdk4210.rc script :

Code:
...
on early-init
export EXTERNAL_STORAGE /storage/sdcard0
export SECONDARY_STORAGE /storage/sdcard1
mkdir /storage 0775 system system[code]...

I would like to retrieve my internal sdcard content.

View 9 Replies View Related

General :: Force Mounting Root On USB?

Mar 22, 2014

yesterday my phone fell off my hand, so the touchscreen is unusable... so the phone. The trouble is that I'm... well... not very clever at all, so all my contacts are on the phone itself, not the SIM card or my Google account. That's why I need to get into the root files with my computer, to find out the databases files.

The USB debugging mode wasn't activated I think. But I'm pretty sure there's a way to force mounting system files, even with a command line...

My phone is a "Le Mobile Sosh", a branded Alcatel OneTouch Idol Mini with Android 4.2.

View 1 Replies View Related

General :: Mounting Points On ClockWorkMod

May 25, 2013

So the past few days i have been working on porting clockworkmod to my tablet Vexia Navlet 2 White (cpu telechip tcc892x, board m805_892x_evm), i have setup a build environment and managed to make a bootable CWM but have reached a bit of a wall, my recovery dont mount anything.

And so i have a few doubts:

1 - In boardconfig.mk

I have these lines

Code:
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00a00000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00a00000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x19000000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x39800000
BOARD_FLASH_BLOCK_SIZE := 131072

The size must be set based on the cat /proc/mtd result (or so it says on the different guides i found)

Code:
dev: size erasesize name
mtd0: 00a00000 00200000 "boot"
mtd1: 00600000 00200000 "kpanic"
mtd2: 19000000 00200000 "system"
mtd3: 00400000 00200000 "splash"
mtd4: 09600000 00200000 "cache"
mtd5: 39800000 00200000 "userdata"
mtd6: 00a00000 00200000 "recovery"
mtd7: 00200000 00200000 "misc"
mtd8: 00200000 00200000 "tcc"

After searching on the forums and googling i saw that some people use the hexadecimal value of the column size but other people convert it to decimal, what is the right way? are both okay? is the code from my boardconfig.mk up there ok?

2 -

Code:
BOARD_FLASH_BLOCK_SIZE := 131072

This value, after researching it seems that this must be the decimal converted value of the erase column

Code:
mtd8: 00200000 00200000 "tcc"

In this case 00200000 (hex) -> 2097152 (dec), but if i set this value i get and boot.img too big error, i dont know if this is the reason of the mounting not working, but leaving the default value i can make it and the recovery boot.

View 1 Replies View Related

General :: Script For Mounting / Playing ISO?

May 8, 2012

I have a multimedia player in living room and have made ISO files from almost all my DVDs. Easier and faster for all the family.

I have a TF101G (Asus Transformer) with ICS custom ROM and I would use it to play movies. So until now, I ripped my ISO files (themselves ripped from DVD) and converted them into avi or mkv files. I'm tired of doing that and wonder if there would be no one way to read the ISO files.

Code:

mount -o loop -t iso9660 /path/to/file.iso /mnt/somewhere

But then?

1. Is there a reader for unpacking ISO files and play them? Apparently Daroon Player can do it but I do not understand how?

2. Would it be possible, once the reader identified, to create a script that mounts the ISO file and read through the player? How can I do this?

View 4 Replies View Related

General :: Execute Shell Commands From Tasker?

Jan 14, 2014

I am trying to create a tasker automated thing, which would show a scene which will have a button to execute a shell command (The command should be executed as root). how to do it?

Code:

reboot recovery

View 1 Replies View Related

General :: Tasker With Locale Execute Plugin

Sep 8, 2012

It seems there is a lack of support for using tasker.

My aim: When ran, use a tasker task to execute the WiFi for Root users tether start, and if I'm lucky, stop as well in a separate task.

What I have done: I have locale execute plugin. I start an execute task and in configuration I typed

Code:
/data/data/com.googlecode.android.wifi.tether/bin/tether start
as this is what is displayed when enabling tethering in the WiFi tether app itself.

The problem: Though when ran, this exe task does nothing. Wrong code? Wrong plugin in tasker? I want to do this not just for convenience, but also to learn.

See attached for reference.

View 2 Replies View Related

General :: Run Linux Execute File On Android

Apr 27, 2013

I Want to run This File in my phone (via terminal emulator).

but after type ./amxxpc i have error

line 1: syntax error: unexpected "("

File which I Want to start is in scripting.zip

View 3 Replies View Related

General :: Mapping Keycodes To Execute Commands

Apr 5, 2012

What I want to do is be able to map arbitrary keycodes to execute custom commands. I purchased a Bluetooth numeric keypad, and with CM7, I am able to sync it and generate key events. However, they're not mapped to anything, so it's pretty useless. My hope in buying this product was the ability to map the keys to input events and be able to control my phone (Maps, IME, etc) while my phone is docked in my car so I'm not doing the "distracted driving" thing. So, is there a way I could code an app/service that would capture key/scancodes and execute user-defined commands (such as screen events)? Further, could this service change its behavior when the IME is active, allowing me to map the keys to the on-screen keyboard? I use a T9 app, and if the program could map to screen events when the IME is active allowing me to type T9 on a physical keyboard, that would be amazing.

View 1 Replies View Related

General :: How To Execute Command Shell Programmatically

Apr 11, 2012

i have made a kinda theme installer (for stockrom)..

so.. first of all i extract needed file from assets to sdcard

n on button click i add this line of code..

the code is work n sometimes not...

when execute the code, my phone hang for several time

"here is the line of execution code :

Code:

Process ppush;
try {
ppush = Runtime.getRuntime().exec("su");
DataOutputStream os = new DataOutputStream(ppush.getOutputStream());
os.writeBytes("mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
");
os.writeBytes("cp /mnt/sdcard/dys/SystemUI.apk /system/app
");

[code].....

View 4 Replies View Related

General :: No Option For Mounting SD Card When Recovering

Feb 12, 2014

I'm using celkon a112 smart phone i had rooted my phone with framaroot app and i had installed rom manger when I was changing font of system my phone stopped working now its stuck on boot loop i have tried installed cwm recovery but there's no option for mounting sd card to apply the zip file so any solution for mounting my extsd card.

View 2 Replies View Related

General :: Mounting Partition In Update-script?

Nov 3, 2012

i want to write a update-script that makes some changes on the phone, but before i can extract files, set symlinks, etc. i have to mount some partitions.

The format of the partitions is MTD, but i don't know how to find out which block is for /system, /hidden, /data, etc. and where is the block?

View 4 Replies View Related

General :: Mounting External HD No Root - SGPT12

Mar 22, 2013

I hame an xperia tablet S and a dock hooked up with hdmi to my TV. I want to hook up my external HD to it for HD movies and what not but it will only read the HD formatted as Fat32 and as most of you know, it will only accept files up to 4gigs. Well that kind of kills HD. I also cannot root my device as it is release 6b .

View 1 Replies View Related

General :: Execute ADB Commands From Java Desktop Application

Jun 28, 2012

I would like to execute adb commands from my Java application. At the moment I use Runtime.getRuntime().exec(command), is there a better way? Maybe even a library?

View 5 Replies View Related

General :: Error Mounting Emmc And Cannot Detect External SD Card?

May 2, 2013

I am using SGS2 i9100g.

I have flashed from CM10.0, JB4.1.2 to pacman 3.00, JB4.2.2

ISSUES:

1. error mounting emmc and cannot detect external sd card

2. When i want to use camera or gallery, there is an error saying "No external storage available"

Attempted solutions:

I have tried the following but it does not solve my problem

1. re-flash the custom rom and gapps. (full wipe with wipe cache and dalvik cache)

2. reformatted my sd card to fat32.

3. went to recovery to unmount and remount my external sd card

4. tried to mount emmc in recovery but returns an error "error mounting emmc"

5. off and on and also rebooted my smartphone

6. tried these codes shown at the bottom(to manual remount)

- I have a storage folder which has sdcard0 which contains nothing, sdcard1 which contains my file in my external sd card and a usbdisk0 contains nothing also.

- Now i am not sure which is the cause of the problem where i cannot use my camera phone and gallery

View 2 Replies View Related

General :: Increase Internal Memory Of Phone For Apps Without Mounting SD

Nov 5, 2013

How to increase the internal memory of phone for apps without mounting SD card in devices like Micromax Canvas hd and Karbonn S5

View 1 Replies View Related

General :: Android Device - Remotely Execute Batch File On PC Via WiFi Connection

Sep 6, 2011

I want to use my android device (4G Systems One Tab) to remotely execute a batch file on my PC via WIFI-Connection.

I want to have an Icon on my homescreen and when its clicked the batch-file on the desktop computer is executed. (no feedback or output needed, this is all done by the batch).

View 3 Replies View Related

General :: (SL4A) Importing PHP Or Python Script From Github To Execute From Command Line

Jun 1, 2013

What I am trying to do is get either nest-api in PHP or pynest in python to run out of SL4A in order to control my Nest thermostat ultimately out of Tasker. Both are found on github, but I can't link to them as I apparently need ten posts to do so. So a google search for "nest-api github" and "pynest github" will have to do I suppose.

I have absolutely no issues getting either to run out of Terminal on my MacBook Air, but for whatever reading the SL4A shell seems to escape my understanding. I would rather have the PHP script work, as it has more options for things I can set, which I like. Where to put the nest.class.php on my phone in order for the PHP shell to reference it when running the example.php or any script I write myself. When I put both files in the sdcard/sl4a/scripts folder and try to run either from within either sl4a or sl4a's shell I get a call to undefined function error.

For the python script, I'm not sure how I need to import the module so that I can call it with nest.py at the beginning of my command line prompt and follow it up with the user name and password and so on. I've done everything including trying to create an .egg file, which I've since been told is not necessary, and that I simply have to put it in the /sl4a/scripts folder. That doesn't make sense to me though, as I needed to run the setup.py command on my computer in order to start using it, and the .egg file should be the equivalent of that on the phone, no?

So what I am looking for is the foolproof way to get either a php or python script running through the shell that isn't actually hooking into the Android environment at all, which is what all the writeups I have found in my searching seems to pertain to. Then eventually make sure that they are available in a way that Tasker can call them. I should also note that all this has been done in an emulator through eclipse until this point, as I didn't want to go screwing around with my brand new Nexus 4's file structure until I had the best practice perfected.

View 2 Replies View Related

General :: App That Allow To Change Another App Permissions

Jun 9, 2013

I found the DroidWall, which has been useful in restricting internet access, but what if I want to deny other apps my location or access to my camera and microphone (facebook), etc?

View 2 Replies View Related

General :: Removing Certain Permissions From App?

Feb 28, 2012

So I am wondering if we remove a certain permission from an app, does the app still have the ability to use that permissions?

Example: Pandora can read contacts list, I remove that permission from the APK, Can Pandora still read my contact list?

View 9 Replies View Related







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