Android :: Partitioning File System On Phone?

Sep 6, 2010

I'm trying to re-partition an SDCard on Android, with root access. What I'm trying to do is resize the 5.9GB partition into 3GB, and then make an EXT partition with the remaining space. I can think of two ways to do this, but I'm a bit stumped in doing either of them: 1) Cross-compile GNU parted, and run it on Android to modify the filesystem in place. This would be my preferred method, but I've been trying to statically compile parted using scratchbox and haven't had much luck, and I haven't been able to dynamically compile for Android in scratchbox either. 2) Directly modify the 512 byte MBR using some utility on my computer, and then dd the file on Android. I have a tool to view the MBR (mbrwiz), but I don't know how to edit it. Does anybody have any suggestions for either, or possibly a third route?

Android :: Partitioning file system on phone?


General :: Deleted System File On Android And Phone Doesn't Turn On

Aug 20, 2013

I deleted (accidentally) some system files, and then nothing happened, but i hit the restore or backup from setting and it went fine untill the loading screen, i mean it shut down then the first loading image fine and the next one doesn't load my system.. What can i do? (I think i know what software i shouldn't have deleted).

View 3 Replies View Related

HTC Desire :: Low Phone Storage / Partitioning Sd Card

Aug 15, 2010

I rooted a few weeks back and very happy with everything apart from I keep getting low on space notification for my phone storage, when I rooted I didn't bother with partitioning my sd card as read about Mod Install Location which basically forces apps to be installed onto the sd card and didn't think I would need to install anything on my internal storage but it seems I keep getting low storage notification. So I am assuming some of the apps I install have to use a little bit of the internal memory? I used Cache Mate and checked all the apps etc. So considering doing the partitioning to trick my phone to think it has more space but wondering will I lose everything or have to back it up? Or any other tips to free up internal space as it seems ROM I am using (neophyte 1.6) didn't free up much space.

View 7 Replies View Related

General :: Botched System File Permissions - Phone Stuck In Rebooting

Apr 13, 2013

I was following the directions of this thread trying to install notifications toggles to my phone. Used root explorer. However, l changed the permissions on the wrong file or folder, it seems, as the phone just displays the logo and reboots, caught in a loop.

What files and folders has to have which permissions? How can I change them if I can't boot my phone? I don't have any mod other than Root, as this was the first I was trying to use, as I have to have better access to the toggles.

View 1 Replies View Related

Sprint HTC Hero :: Way Of Rooting My Phone / Partitioning SD Card

Apr 6, 2010

So I've tried and tried again using RA and other linux based programs (GParted) to get my 8GB card to partition for apps2sd. Everything always runs smoothly and shows that the card is partitioned correctly. But then upon reboot the SD card shows full fat32 memory (6.9 GB). No matter what I do, after reboot, the partitions never happen. When I used GParted, and then loaded the SD card on the phone it always says that the SD card is damaged and I need to reformat. I've done that and rerun everything to no avail. Someone please tell me this issue is that the SD card is corrupted and I should give up. Because I've followed everything to a T as far as partitioning. With that I'll say that I had no problems rooting my phone, flashing ROM's/RA's, etc, and have been able to do whatever I want as far as new things to load. I've finally decided after all this time to do apps2sd, and I literally screwed around for 5+ hrs today, trying to partition the SD card properly. Any thoughts?

View 8 Replies View Related

Motorola Droid X :: File System / File Size Max

Sep 12, 2010

Does the X use a FAT32 file system? Is there any way to change this? I'm asking because I have a 4+GB mkv file I want to put on it, but I'm getting a message telling me its too large for the file system. If no way to change, then can anyone suggest a way to make this file small enough to fit?

View 11 Replies View Related

HTC Desire :: Partitioning SD Card - "Move To Phone"?

Oct 30, 2010

I've been reading up on partitioning my SD Card for the Apps 2 SD functionality. Few n00b questions to clear up if I can! 1) Once partitioned, I believe that all app data will be able to be installed on the SD, as opposed to leaving a few hundred KB's on the internal? If I make a direct copy of all SD Card contents, partition the SD, and copy back, will the App's still appear 'as normal', or is a fresh backup/install required? 2) If the answer to the first question is that I CAN simply copy back to the SD, can I then use the "Move to Phone" and "Move to SD Card" options to move ALL of the app data, including the original few hundred KB's originally on internal? Feel like a douche asking these just can't quite get my head around it trawling through the other threads.

View 3 Replies View Related

Android :: What Is Best FTP / File System Explorer App?

Nov 21, 2010

i had one that was very seemless and felt much like windows xp sort of. but i factory defaulted my device the other day and now it gone and oddly i don't remember the name of it.

View 3 Replies View Related

Android :: Am I Able To Hook File System?

Mar 2, 2009

Am I able to hook file system on Android?that means before a file is opened by other application, a registered function by the third application is invoked, and in the registered function, it can decide whether permit other application to open that file.

View 5 Replies View Related

Android :: How To Create A File On System?

Mar 20, 2009

I need to save some persistent data (byte array) in my application.I decided to write these data into a file on the Android hardware.But I cannot create a file under /system/ or /data/.Can any body tell me under which directory can I create a file to save my data except SDCARD(Because We cannot suppose every Android has a SDCARD)?

View 8 Replies View Related

Android :: File System Security

Sep 1, 2010

I am wondering that how android is providing security against corruption of data in file. I also want to know about security model for Shared Preferences, Sqlite datbase etc. storage methods.

View 2 Replies View Related

Android : Way To Read System Log File?

Jul 22, 2010

I am trying to read system logs in my code to generate something like an error report. Similar to adb logcat, but in a programming way.

View 1 Replies View Related

Android :: Saving Pictures To File System

Apr 30, 2009

I am developing a photoshop application for the G1 where you can apply different filters to your pictures stored in the pictures folder. So I use a gallery and a cursor to select the picture I want to manipulate, copy the picture to a bitmap so I can perform some filter operations and afterwards save the new bitmap as a new file to the phone. So I figured out that there are basically two options I have to save the image. One is to use the MediaStore.Images.Media.insertImage() method, which generally would work, but I don't want a thumbnail to be created. The second option, which I actually use, is to use an OutputStrem.

import android.provider.MediaStore.Images.Media; import android.content.ContentValues; import java.io.OutputStream;
// Save the name and description of an image in a ContentValues map. ContentValues values = new ContentValues(3);
values.put(Media.DISPLAY_NAME, "road_trip_1");
values.put(Media.DESCRIPTION, "Day 1, trip to Los Angeles");
values.put(Media.MIME_TYPE, "image/jpeg");
// Add a new record without the bitmap, but with the values just set.
// insert() returns the URI of the new record. Uri uri = getContentResolver().insert(Media.EXTERNAL_CONTENT_URI, values);
// Now get a handle to the file for that record, and save the data into it.
// Here, sourceBitmap is a Bitmap object representing the file to save to the database. try {
OutputStream outStream = getContentResolver().openOutputStream (uri);
sourceBitmap.compress(Bitmap.CompressFormat.JPEG, 50, outStream);
outStream.close(); } catch (Exception e){

View 8 Replies View Related

Android :: Copy Files To File System

Apr 19, 2010

How can I copy files to the file system (place) in android? How can I access it?

View 5 Replies View Related

Android :: How To Sign .apk File With System Certificate?

Apr 15, 2009

I have an application that I want to be able to use the userid: android:sharedUserId="android.uid.system", I need to sign the .apk file with the same certificate as the built in system applications, such as the 'Settings' application. I've located the keystore file in my build directory which is: cacerts.bks, and I have the password for this. What I seem to be missing in order to sign my .apk file is the alias fo the keystore. Does anyone know what the alias is? Or is there an easier way to do this that I'm missing.I know this not a standard thing to do, and is perhaps a hack, but I have a client requirement to meet.

View 2 Replies View Related

How To Know Which Type Of File System Does Android Device Using

Dec 4, 2013

how to know which type of file system does my android device using ?

View 2 Replies View Related

General :: How To Access Android File System

Sep 25, 2013

My objective is to create a text file in an android file system.

Using java language, I am creating an app. It has a screen with a table of 3columns. Each time a user enters the table row and click on Submit button, the row entry should be created as a separate comma-separated file on an android device. So each time when the table gets updated with new entry and clicks a submit button, a new file is getting created on the device file system. So I am looking for the file connectivity to the internal device memory where I could open the files and access it.

I have done the same in Nokia mobiles using J2ME. But for Android, I am not able to find the device file path.

View 3 Replies View Related

General :: How To Restore Android System File

Apr 17, 2012

I had format my phone's system through cwm.

now i want to restore it but it just stuck when i power on my phone.

View 1 Replies View Related

Android :: Need To Have Partitioning My SD Card

Nov 21, 2010

I used ROM Manager to Partition my SD card (I have clockwork recovery latest version), I select 512 for EXT and 32 for Swap. Phone reboots and when I check the file manager on my SD card, it reads my SD card has 7069M left. Is it partitioned? if so how can I make my apps Run off of it? If it is, NOW WHAT? How do I use it to actually install Apps on it and Make my Phone faster?

View 4 Replies View Related

Android :: File System Root - Name Has Extra Characters

Jun 13, 2009

First I found the problem, then I found this truly ancient post:

http://groups.google.com/group/android-developers/browse_thread/threa...

...with no responses. To browse the file system from the top down I suppose I can simply hardcode the root as a single slash, but I would rather "do it right". Can anyone explain why listRoots returns a root named "/XX" where X is a junk char? It's problematic because that file cannot subsequently be queried for further file system exploration.

View 3 Replies View Related

Android :: How To Change / SDCard To Be Not Read Only File System?

Aug 19, 2009

I am trying to copy an image to the emulator sd card by: $ adb push ~/Desktop/bullet_ball_ glass_red.png /sdcard /bullet_ball_glass_red.png But I get an error saying: failed to copy '/Users/n179911/Desktop /bullet_ ball_glass_red.png' to '/sdcard/bullet_ball_glass_ red.png': Read-only file system So I tried to go to adb shell to manual change the /sdcard to non read-only, but it still wont let me. $ adb shell # su # chmod 777 /sdcard Unable to chmod /sdcard: Read-only file system #.

View 8 Replies View Related

Android :: Use Linux Built System.img File In Windos Sdk

Oct 11, 2010

I had built the system.img file in linux ubuntu OS for Android. I copied the system.img file in the widows SDK at /out/packagees/ target/generic directory. But when i am trying to start the emulator its not starting. And the logcat messages are not shown.

Is it possible to build the system.img in ubuntu and use it in windows.

View 3 Replies View Related

Android :: Where To Find Stored Sqlite Db File In My System

Sep 23, 2009

In android am using the SDK 1.5 am using the Database concepts to create the Sqlite Db file but i don't know where the file is stored. any one help me to find that Db file in my system please.

View 6 Replies View Related

General :: Temp Directories In Android File System

Apr 4, 2012

Are there any temp, volatile directories in the Android file system that get wiped once the device is off? In Linux we have /tmp, but this doesn't seem to exist in Android.

View 3 Replies View Related

General :: Restore Android Deleted System File?

Jun 11, 2012

2 days ago I tried to update my aunts sensation xl and told her that it is better to update its ROM from 2.3.5 to 4.0.3. So i created a google account in phone and added it in order to sync contacts....and after 2 hours, I thought that it has been synced...After upgrading device to ICS, and adding the previous account that i made before upgrading, I was waiting for contacts to restore, but nothing happend.. I opened the gmail account on PC and saw that there was no contacts. So the only way for me to restore the contacts is to find a way to restore them from Phone device. So,is there any software, either on phone or PC, to restore contacts from phone? or is there a way to have access to root folders and files of phone on PC to use a recovery program to restore "Contacts.db" file that was erased while flashing ICS?

View 5 Replies View Related

General :: Why Android Ignores /system/etc/hosts File

Jun 19, 2011

i edited /system/etc/hosts file but it looks that my edit is ignored by Android.

In "hosts" file i added line with text "1.1.1.1 customdomain" And then i used "ping customdomain" command in Terminal Emulator but i got error "unknown host am".

View 9 Replies View Related

General :: Why Android Not Support NTFS File System

May 14, 2012

why android not support NTFS file system. I think NTFS more speeder than FAT and FAT 32 and other file systems. So is it technical or patent issue? I think NTFS file system developed by Microsoft

View 7 Replies View Related

General :: Android Won't Boot After Modifying System File

Sep 28, 2013

I have a HUAWEI Y300-0100, and it comes with a funny feature: every time it can't connect to WIFI a popup message appears saying that if you switch to data plan charges may apply.

I am constantly switching between WIFI/no-WIFI zones so that message really bothered me, and I searched a way to disable it.

Presumably, the only way to do that is by modifying a system file called "build.prop". I already had my phone rooted so doing so wasn't very hard.I used Jota+ to change a setting from "true" to "false" (ro.config.hw******), and saved the file in the root of the SD card. Then, with ES File Explorer, I renamed the "build.prop" in /system to "build.prop.bak" and copied there the "build.prop" I previously saved in the SD root.All seemed to be fine, except that after rebooting my phone it could not get past the HUAWEI logo.

Android recovery mode seems to work, but I don't know how to use a lot of its options nor I want to do a Factory Reset if there's a better alternative.Is there a way to modify system files before booting Android? I really would like to try to delete the "build.prop" file and rename the "build.prop.bak" back to "build.prop".

View 6 Replies View Related

General :: Can Mount Android File System Image?

Dec 10, 2013

So after a failed attempt to upgrade from CyanogenMod 10.1.3 to 10.2, I was unable to access /data or /sdcard because both systems were encrypted. I ended up having to factory reset my phone because it refused to co-operate or let me access my files. However, before I did that, I was able to run

Code:
adb shell "dd if=/dev/block/mmcblk0p2" > data.img
and

Code:
adb shell "dd if=/dev/block/mmcblk0p3" > sdcard.img

Which appears to have copied the raw partition images from the phone (at least, they're the right sizes).

According to my reading, Android (and, I'm inferring, CyanogenMod) encrypts filesystems using dm-crypt, with a AES-CBC ESSIV:SHA256 cipher, with the key being derived from the password using PBKDF2. Knowing the precious little I do about encrypted file systems, my guess is that if I configure the image in cryptsetup to create a drive mapping, I can mount the mapped drive and recover the data from the images.

According to /fstab.herring on my ahem, fresh, install of Android, the /data partition is in ext4 format whereas the /sdcard partition is vFAT. So, once I've gotten through the encryption on the partition images, they should mount normally, right?

I know that dm-crypt accepts plain, LUKS, LoopAES and TrueCrypt device formats. I'm inferring from the PBKDF2 extension that Android goes the LUKS route for encrypting. Is this conclusion correct?

Whether it's possible to decrypt a dumped android image? I'm really hoping that the cypher information is stored on the file system and not on some key file that I nuked in the factory reset. If it can, in theory, be decrypted, am I using the right tools to approach the matter? If so, I'll continue fiddling with cryptsetup and mount, but no sense in wasting time if it's an impossible task.

View 3 Replies View Related

Android :: Install Files In File System - Samsung Galaxy 5

Sep 20, 2010

1) I am using Eclipse IDE and Android SDK 2.1 for my application. My application reads some data files from the File System, so using DDMS i push all the files in "/data/data/com.mypackage/" folder and run my application on emulator. I am able to see my desired output properly on the emulator.

2) Now i have Android device and i don't know how to push the files in the Internal memory of the phone. I have installed driver CD. But it only shows me the SD card directory.

3) Actually what i want is that the moment my application is installed and run it should read the data files from the file system. So there should be no added efforts to push the files in the file system.

4)Means can i pack my data files with my .apk file and when the apk is getting installed can the data files be placed directly in the internal memory(file system) i.e. "/data/data/com.mypackage/" folder. Is this possible ?

View 3 Replies View Related







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