Go Back   Android Forums > Android Phones > HTC EVO 4G > EVO 4G - All Things Root
EVO 4G - All Things Root Rooting, ROMS, Overclocking, etc.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree3Likes
  • 2 Post By akazabam
  • 1 Post By Mikestony

Closed Thread
 
LinkBack Thread Tools
Old February 16th, 2011, 06:10 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default More information about Android partitions

This thread is meant to be a supplement to novox77's thread on partitions and kernels, found here. This is strictly an informational thread, and does not include an actual guide for accomplishing anything. It will, however, provide some background on some of the inner workings of Android, hopefully. Read novox77's thread, first, before reading this information. Novox77 and I decided it would be better to make a separate thread for this, but Mod's, if you feel otherwise, please merge them.


I. The Basics


Every operating system has a way of viewing and manipulating the filesystem(s) available to it. In the case of Windows, you have designated drive letters which represent the physical drives or partitions on a drive. Under each drive, you have folders and files. Those folders and files are data on each one of those specific drives. It's all very concise and obvious as to what data exists on what drive. There *are* things you can do complicate this, but this is not a discussion about Windows.

Android does not work anything like Windows, however, as it is a Linux based system. Linux/UNIX type systems have one top level file structure. The top level is called root, and is designated by /. There are no drive letters, and the files and folders under / are not necessarily all stored in the same physical location. Let me just take a very brief detour here. The top level file system is called root. When we say root in this case, we are not talking about the root user or root level permissions. When you root the phone, we're talking about have permissions to do things as the root user and make changes we couldn't otherwise do. The word root is used for different things. When you hear the word root used with filesystems, we mean the top level.

From this point on, the root of the file system will just be referred to as /. There really isn't much under / by itself. It's generally a small partition. In order to use other partitions, Android must make these partitions available under /. There is a special directory called /dev. Under this directory, you will find logical representations of partitions and resources available to the system. These, on their own, are just device files. These files exist solely so that the system knows they exist. You cannot try to view anything in them. So, in order to use partitions found in /dev, the system must mount them under /. This means the system must take a physical or logical media where you have some data stored, and make it available.


II. Mounting

When the system (or the user) initiates this process of mounting, a directory (folder) must exist somewhere under / for the partition to be mounted to. It can be directly under / or in a nested directory under /. We call this a mountpoint. What it means is that an empty directory will be designated to show the contents (data) of a partition. So, we say that internal storage is partitioned with various partitions such as /boot, /system, /data, /cache, etc. What this really means is that these partitions are all a part of internal storage, but have been logically separated so that the system sees them as separate as different physical media (i.e. partitions), but are then all mounted (made accessible) in one logical location. If you browse files on /system, then browse file on /data, you're under the root filesystem in both cases, but are looking in two different actual locations.

This type of thing is certainly not limited to partitions on internal storage. Any time you have a different physical media, it must be mounted under / just like any other partition. For example, you have a directory under / called /sdcard. That is a symlink (shortcut) to /mnt/sdcard, which is a mountpoint for the sdcard. More information on symlinks and how they work later. For now, just understand that it's basically a shortcut. Anyway, its partition can be found in /dev, as well, albeit in a different location. It is mounted under /mnt, accessible under /, all the same. The reason it's mounted under /mnt rather than / is because Linux based systems usually use /mnt for external device mounts. It doesn't have to, though. It could be mounted directly under / as /sdcard. It would still work. In any case, think of viewing the sdcard this way in the same manner that you would connect a usb flash drive to a Windows computer. When you do that, Windows sees the physical drive, then creates a letter drive for you to view it's contents. The principle is the same in that Android sees the physical media, but it mounts it in the same logical location (/) as all the other mountpoints. From a user's perspective, on Android, all the mountpoint directories look like they may as well be on the same media, even though they are not. On a Windows computer, when you are done with a flash drive, you have to tell it to safely eject the hardware. On Android (Linux), you have to do something similar, called unmount. If you do that to the sdcard, you will no longer be able to view /sdcard. Though you could create a directory under / called sdcard, it wouldn't have anything in it, and would be just a directory on internal storage until you remount the sdcard. Typically, the system mounts and unmounts partitions automatically when necessary.

There are two very important conclusions made from the above:

1) The system mounts and unmounts partitions at boot and shutdown. If you pull the battery out while the system is running or use a poorly written app to reboot the phone, partitions are still mounted, and if the system is writing to them, you could easily corrupt something. Granted, sometimes this is necessary if the phone becomes unresponsive. It's more likely to be a problem if repeatedly done.

2) Ever wonder why you cannot access the sdcard while the phone is connected to a computer as a disk drive? It's because the computer is mounting the sdcard partition so that you can see it there. What does that mean? It means Windows, Linux, etc. (whatever OS you have on your computer) has *direct* access to that physical media. No two operating systems can have direct control over physical media at the same time. It would result in massive data corruption. You may be wondering how it's possible to share drives or partitions in the networking world. You can do so because the Computer that has the physical media is still the only host that can physically read and write to the media. Sharing of the data is done at a much higher level and is controlled by the operating system.


III. Mount Options

Linux based systems have a file called fstab. That file is a mapping of physical partitions and their mountpoints, along with options it needs to know when mounting said partitions. It uses this file to mount partitions at boot time. So, the fact that you don't have to mount /system, /boot, /data, etc. yourself is because the system does it for you. It uses options it's told to use, though. There are various options that can be specified, but it is out of the scope of this explanation. What is important, though, is the designation between read/write (rw) and read-only (ro). This option is specified at boot time for automatically mounted partitions.

The partition mounted as /data is mounted as rw. It has to be, otherwise the system would be all but unusable. You wouldn't be able to install apps, change settings, etc. Do not confuse this with file permissions. That is a different discussion for a different time, but at least understand this - file and directories have certain permissions that allow the file owner, the group the file owner belongs to, and everyone else specific access to said file. Those permissions can be either the ability to read the file, write (modify) to the file, or execute it. The same goes for directories (though executing a directory doesn't make sense). The point is that a partition must be mounted as rw in order for write permissions to work. If you have permission to write to a file on a partition, but it is mounted as ro, it will not work.
dustwun77 and bindasboy like this.

akazabam is offline  
Last edited by akazabam; February 17th, 2011 at 05:01 PM.
The Following 23 Users Say Thank You to akazabam For This Useful Post:
3club (September 5th, 2011), 9to5cynic (May 21st, 2011), AARONONE (June 18th, 2012), bindasboy (October 19th, 2012), Chief YYZ (December 20th, 2012), CriticalCritic (March 4th, 2012), dannymur (May 21st, 2011), Granite1 (September 5th, 2011), HanzoH (February 17th, 2011), jnichols959 (April 29th, 2011), JoeSchmoe007 (May 23rd, 2011), Kaddoble (December 6th, 2011), maheshjagadeesan (February 4th, 2012), Mr. Ed (February 17th, 2011), mshawn3 (February 16th, 2012), ocnbrze (May 21st, 2011), Rxpert83 (February 5th, 2012), sdrawkcab25 (September 14th, 2012), spiderplant0 (February 12th, 2013), stevcha (February 17th, 2011), Tempusfugit (February 17th, 2011), tessler65 (January 24th, 2012), TodWulff (July 22nd, 2013)
sponsored links
Old February 16th, 2011, 06:11 PM   #2 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

IV. The System Partition

The partition mounted as /system is automatically mounted as read only. It's like this because, even with root (the unlocked ability to make changes to the partition mounted as /system) it's dangerous to make changes there if you do not know what you are doing. When you flash a ROM from recovery, it wipes that partition, and writes new contents to it. Recovery scripts, however, are smart enough to mount this partition in rw mode. If you are going to make changes to /system while booted up in Android, you must have /system mounted as rw. Otherwise, you will just get permission errors even thought you have root level permissions.

To do this, you must remount the partition under /system as rw. There are many ways of doing this. All of them are system-wide. What that means is, if you use an app to remount /system as rw, the entire system and any other app will see it such until you reboot the phone or remount it as ro. Root explorer, for example, has an option in the top right corner to mount whatever file system you are currently browsing as either rw or ro depending on what it's currently mounted as. Basically, it toggles between rw and ro. There is also an app in the marketplace called "Mount /system (rw /ro)", which will do that as well if you don't have root explorer. Let's look at it in a little more detail, though.

Should you want to remount the partition mounted under /system as rw using the command line from a terminal emulator, you would run this:

su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

The "su" command is how you get root level permissions at the command line. You cannot change how a partition is mounted without it. Let's break down the second command:
  • mount is the generic command used to view or modify currently mounted partitions or any media for that matter.
  • -o is the option used to specify certain special mount options.
  • a comma separated list following -o are the options you want to specify for mounting.
  • remount means that the file system you are mounting is already mounted, and you want to specify some other options. You would leave this out if the filesystem was not mounted yet. As /system has to be mounted by virtue of the fact that you're using the system, you must specify the option to remount.
  • rw means that you want /system to be mounted in read/write mode. By default, it is read-only, as previously explained.
  • -t yaffs2 is the filesystem type of the partition. It's not that important for this explanation. Just understand that a partition must be formatted with a particular file system, which basically means how files are stored. Each operating system has the ability to understand certain file system types. More on this later.
  • /dev/block/mtdblock4 is the logical location of the partition itself under /dev as previously explained. Should you want to mount a different partition, you would replace this line with it.
  • /system is the location under / where the files belonging to the mtdblock4 partition will be made accessible. In the case of a remount, these last two strings should not change from how it is currently mounted. For example, if /system was mounted as /asdfasdf (just an example), you should not use remount to then mount it as /system. You'd stick with /asdfasdf. Just a point to remember; it will always be /system in this case. This is not the case if you’re mounting something for your own use, but changing the mount point of /system would be detrimental.

Once the above is done, a user can then make changes to /system, but only as the root user, of course. This requires using the terminal emulator after having typed "su" OR using an app that can run as the root user and browse all partitions. An example is Root Explorer.

Once the user is done making changes, /system should be remounted in ro mode, again, to avoid making unwanted changed. It's the safe thing to do. Rebooting will take care of it, but it can be done much quicker by reverting the change manually. Root explorer has the toggle, as does the other mentioned app. To do it from the terminal emulator, type:

su
mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system

The only difference between the two commands is that rw changed to ro. That's it.


V. Current Mounts


If you want to see how the system is currently using various partitions, you can run the mount command from the terminal emulator by itself, with no arguments or options. It will list several things including the partition itself, the mountpoint for said partition, and options used while mounting it (such as rw or ro). If you are interested in only a particular partition, run:

mount|grep /whateverpartition

where whateverpartition is the partition you want to see. For example, to see how /system is currently mounted:

mount|grep /system

You will see something like:

/dev/block/mtdblock4 /system yaffs2 ro 0 0

All of that information should look familiar now. The 0 0 at the end are other options that you don’t need to be concerned with outside or real Linux administration.

Having an understanding of how this works will help you determine ways of saving space and making the most of your available storage. The three major partitions are /data, /system, and /cache. A majority of your 1 GB of internal storage is used by these. The partitions sizes are set when the partitions are created. By default, this is how they are partitioned:

/system – 350 MB
/data – 430 MB
/cache – 160 MB

As you can see, you only have 430 MB for apps and data. That’s less than half of the advertised space. There are numerous apps on the market that will display the free space available on each partition, but it can be done from the command line as well by typing this:

df -h

That will show all mounted partitions, how big they are, and how much free space you have. You can check the same for just one partition by doing something like:

df -h /system

You can, of course, replace /system with whatever partition you want to see. You will probably notice that both /system and /cache have a lot of free space. As it turns out, most of that free space rarely gets used, and cannot be used by you for apps, at all. It’s wasted space. Cache, of course, will show mostly free space, but it’s necessary for things like OTAs, which will download to that directory. It does need to be somewhat large, but not *that* big. In any case, there are ways of having more space available than just 430 MB. The best place to start is a2sd.
akazabam is offline  
Last edited by akazabam; February 16th, 2011 at 06:17 PM.
The Following 15 Users Say Thank You to akazabam For This Useful Post:
3club (September 5th, 2011), AARONONE (June 18th, 2012), dannymur (May 21st, 2011), Granite1 (September 5th, 2011), hno3 (January 28th, 2013), Kaddoble (December 6th, 2011), Mr. Ed (February 17th, 2011), ocnbrze (May 21st, 2011), rob0t (March 31st, 2011), sdrawkcab25 (September 14th, 2012), spiderplant0 (February 12th, 2013), stevcha (February 17th, 2011), Tempusfugit (February 17th, 2011), tessler65 (January 24th, 2012), TodWulff (July 22nd, 2013)
Old February 16th, 2011, 06:17 PM   #3 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

VI. A2sd, Apps2sd, and File System Types

With all of this knowledge in mind, you can probably get a better understanding of how something like a2sd works. A2sd is a system devised to move all installed applications to the sdcard. This is by no means the same thing as the built-in froyo apps2sd.

With Froyo apps2sd:
  • The developer of a certain app specify that it is allowed to be moved to the sdcard.
  • Even when it is, if the app has widgets, those widgets will not be available once the app is on the sdcard. Why? Because the sdcard is unmounted once the phone is connected to a computer as a disk drive. If widgets belonging to such an app were on the homescreen at that time, they would stop working. Google designed Android to avoid such a case by just making those widgets unavailable.
  • Only a part of the app is moved, not the entire thing. If you've ever looked at at an app that has been moved to the sdcard in manage applications, you will see that it still is taking up space on internal storage (in /data). The reason this happens goes back to file system types.

Linux based systems have a certain number of file system types that it can use. Windows has its own as well. The sdcard needs to be formatted in a file system that is basically universal. This means that no matter what kind of computer you plug the phone into, plus the phone itself, you need to be able to view/modify the contents of the card. That file system is fat32. Both Linux and Windows can view/modify said contents. BUT, Linux (Android) can't execute anything off of a fat32 partition. Its use of it is somewhat limited. That being said, Android cannot move an entire app to the sdcard in its stock condition, as it would be moving it to a fat32 file system, where it would not be able to execute it.

A2sd has none of these issues, and gets around them in a fairly creative way. The sdcard, in stock state, has one partition, which is this fat32 partition. You still need a majority of the card to have this fat32 partition for the purpose of using it *normally*, but a2sd must use a partition type that is native to Linux. So, the first thing you must do to use a2sd is partition the card into two separate partitions. This can be done in recovery. Once it is done partitioning, it formats the two partitions using a particular file system. The bigger partition, which the user will continue to see as /sdcard and keep all of there data, remains fat32. The smaller partition (usually made between 512 MB and 1 GB) is formatted in the ext3 file system. This ext3 file system type is native to Linux. What does this mean? It means that Android can use that partition on the sdcard the exact same way it could internal storage.

Now, You might be asking yourself at this point, doesn't Android have to mount this new ext3 partition just like it does internal storage partitions and the normal fat32 sdcard partition? Why, yes it does. It mounts the partition just like any other partition, but it makes the mount point /system/sd. Once you've created the ext3 partition, you can browse /system/sd. It will look just like a directory in internal storage, but since it's a mountpoint, when you view it, you're looking on the sdcard, just in the smaller, ext3 partition. Having done this, you've basically fooled the system into thinking you have more internal storage. The issue is that Android will look for apps in two main places - /data/app and /system/app. if you just stuck an apk (Android application) in /system/sd, Android system would never find it, as it will never look there. For those interested in seeing how the sdcard partitions are mounted, run these two commands:

mount|grep /sdcard
mount|grep /system/sd

The output for /system/sd, for example, looks like:

/dev/block/mmcblk0p2 on /system/sd type ext3 (rw,noatime,nodiratime,errors=continue,data=writeb ack)

Both of those commands, though, will show how the fat32 sdcard partition is mounted (/mnt/sdcard) and how the ext3 sdcard partition is mounted (/system/sd). As you can see, mmcblk0p2 is the ext partition, while the majority of the card (the fat32 partition) is mmcblk0p1. Another quick important point is that /system/sd is mounted as rw so that you can make changes. Remember this - if a partition is mounted as ro (/system) but a directory under it is used as a mountpoint (/system/sd) you will still be able to write to whatever is mounted under that second directory as long as the partition is mounted as rw. That being said, you can leave /system mounted as ro, and still always make changes to /system/sd.

Anyway, a2sd is how you use this new ext3 partition. The first thing a2sd does is move all applications from /data/app and /data/app-secure to /system/sd/app and /system/sd/app-secure. Remember that with *just* this step, the system would not see apps anymore. At this point, a2sd makes use of something called a symlink. Think of a symlink as a shortcut in Windows. When you create file in a particular folder, then make a shortcut to that file from a different folder, it exists in the first folder, but is accessible from the second folder. The same holds true for folders. A symlink is basically the same thing. So, a2sd removes the /data/app and /data/app-secure directories, then creates symlinks (shortcuts) called /data/app and /data/app-secure that point to directories in /system/sd for apps. This means that the system will continue to look in /data/app and /data/app-secure for apps, but will be directed to /system/sd. Basically, the system doesn't care where files actually are. It only cares that it can find them where it knows to look.

A2sd can also be used to move dalvik cache to the sdcard. It does this in exactly the same manner as moving apps. Dalvik cache is normally stored in /data/dalvik-cache. A2sd creates a directory in /system/sd for dalvik-cache, then creates a /data/dalvik-cache symlink that points to the real location.

As dalvik cache is stored in /data by default, it takes up your usable storage, needlessly. That is why it can be moved to the sdcard ext3 partition. If you choose to, though, it can also be moved to the /cache partition. /cache is normally just unused space on internal storage that is way bigger than it needs to be. Thus, dalvik cache can be moved there instead, too. The idea is the same, but it doesn't use symlinks. It does some creative work with the mount command to make the system look there for it. How it actually works is out of the scope of this information.


VII. Other Space Saving Options

Some people do not want to use a2sd, as they do not have good enough sdcards and are not interested in buying a new one. A2sd will not work well with a slower card, such as the one that comes stock with the Evo. However, it is possible to reclaim some of the unusable internal storage. If you remember, /data, /system, and /cache make up a majority of your internal storage. They can be resized with this mod.

That process is only recommended for advanced users and only under certain circumstances. Should you decide to move all apps and app data to the sdcard using a2sd, there is no purpose in resizing the partitions. Very little else goes in /data. Basically, either use a2sd to its fullest extent or resize partitions. Don’t do both.
akazabam is offline  
Last edited by akazabam; February 17th, 2011 at 05:14 PM.
The Following 17 Users Say Thank You to akazabam For This Useful Post:
AARONONE (June 18th, 2012), CriticalCritic (March 4th, 2012), dannymur (May 21st, 2011), Granite1 (September 5th, 2011), HanzoH (February 17th, 2011), hno3 (January 28th, 2013), Kaddoble (December 6th, 2011), maheshjagadeesan (February 4th, 2012), Mr. Ed (February 17th, 2011), ocnbrze (May 21st, 2011), PreMo15 (August 9th, 2012), sdrawkcab25 (September 14th, 2012), stevcha (February 17th, 2011), stueym (January 24th, 2012), Tempusfugit (February 17th, 2011), tessler65 (January 24th, 2012), TodWulff (July 22nd, 2013)
Old February 16th, 2011, 06:25 PM   #4 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

Reserved just in case.
akazabam is offline  
Old February 16th, 2011, 07:10 PM   #5 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 22,554
 
Device(s): Galaxy Note 3, HTC Evo 4g LTE(no longer have), HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 28,912
Thanked 13,990 Times in 8,951 Posts
ocnbrze@gmail.com
Default

wow!!
thanx akazabam. this is a lot of info. that i'm trying to absorb. i will have to read this a few times to fully understand everything. i have been wanting to learn a littleabout linux and this is a good start. thanx for putting this out there.
__________________
“The Guide is definitive. Reality is frequently inaccurate.”.......Hitchhiker's Guide to the Universe
“I seldom end up where I wanted to go, but almost always end up where I need to be.”.......Douglas Adams
ocnbrze is offline  
Old February 17th, 2011, 12:35 PM   #6 (permalink)
Senior Member
 
stevcha's Avatar
 
Join Date: Nov 2009
Posts: 856
 
Device(s): HTC EVO 4G
Carrier: Not Provided

Thanks: 142
Thanked 274 Times in 121 Posts
Default

WOW!! That's a ton of info!! Thanks for the write up
stevcha is offline  
Old February 17th, 2011, 12:43 PM   #7 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

I hope it was useful . If anything isn't clear, or doesn't make sense, let me know so I can reword it. I'll be adding more information to this eventually, as well.
akazabam is offline  
The Following 2 Users Say Thank You to akazabam For This Useful Post:
hno3 (January 28th, 2013), ocnbrze (February 17th, 2011)
Old February 17th, 2011, 05:22 PM   #8 (permalink)
Senior Member
 
stevcha's Avatar
 
Join Date: Nov 2009
Posts: 856
 
Device(s): HTC EVO 4G
Carrier: Not Provided

Thanks: 142
Thanked 274 Times in 121 Posts
Default

Is it possible to set up an external swap partition? Any 3rd party apps thatcan do it easily?
stevcha is offline  
Old February 17th, 2011, 05:49 PM   #9 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

Quote:
Originally Posted by stevcha View Post
Is it possible to set up an external swap partition? Any 3rd party apps thatcan do it easily?
Yes to the first question. When you partition the card, you can create a small swap partition that can be used by a2sd. You don't really *need* to, though. As for apps, you can create a swap file, kind of like how windows does it, using something like this. It really shouldn't be necessary, and there are conflicting reports that doing the latter is more harmful than helpful. I suggest you research it before doing it. In any case, to use the a2sd method, you need a2sd set up with an ext partition on the card. I don't believe swapper needs anything special other than root.
akazabam is offline  
The Following User Says Thank You to akazabam For This Useful Post:
stevcha (February 17th, 2011)
Old February 18th, 2011, 02:14 PM   #10 (permalink)
Senior Member
 
stevcha's Avatar
 
Join Date: Nov 2009
Posts: 856
 
Device(s): HTC EVO 4G
Carrier: Not Provided

Thanks: 142
Thanked 274 Times in 121 Posts
Default

If I use the Mount /system (rw /ro) app to enable rw will running the "fix permissions" setting in Clockwork or ROM manager revert everything back to read only?
stevcha is offline  
sponsored links
Old February 18th, 2011, 03:09 PM   #11 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

Quote:
Originally Posted by stevcha View Post
If I use the Mount /system (rw /ro) app to enable rw will running the "fix permissions" setting in Clockwork or ROM manager revert everything back to read only?
No, it shouldn't. Basically, all directories and files have file permissions. It means the access a certain person or group has to a file or directory. You can have read, write, or execute. Each file or directory will have placeholders that look like this ----------. If you saw something like that, it would mean nobody had access. That's pointless. In any case, the first - means it's a file. If it was a "d" instead, it would mean it was a directory. The following nine dashes are placeholders for permissions for the owner of the file (first three dashes), the group the owner is in (the second three dashes) and everyone else (the last three dashes). So, it's basically three sets of three dashes. Each placeholder is either a dash or a letter for whatever that place represents. The first dash would be a "r". If it's there, it means you have permission to read. The second dash would be a "w". That means you can write. The third dash would be a "x" and means you can execute (really only applicable to files that can be executed). So, if you see something like -rwxr-xr-x, that would mean a file can be read, written to, and executed by the owner of the file, read and executed by the group, and read and executed by everyone else. Android has special users and groups that certain files have to be owned by. Sometimes, certain things you can do with root will mess up these permissions. If that happens, the system cannot run certain things correctly. That's what the fix permissions option is meant to fix.

This is not the same thing as a filesystem being mounted as ro or rw. That will override permissions. So, if you have root, and you have *permission* to write to /system, you can't until the filesystem is mounted in read/write mode. Fixing permissions will affect permissions only, and not how a filesystem is mounted. If you want to remount /system as ro, you have to select the option that app, or use the terminal emulator (or use any other app that has a toggle). Or you could just reboot.

I probably repeated a bunch of other information I already wrote down, so the short answer, again, is no, selecting the option to fix permissions shouldn't affect that. To be honest, you want to leave it mounted in rw for only as long as you need it.
akazabam is offline  
The Following User Says Thank You to akazabam For This Useful Post:
stevcha (February 18th, 2011)
Old February 18th, 2011, 03:20 PM   #12 (permalink)
Senior Member
 
stevcha's Avatar
 
Join Date: Nov 2009
Posts: 856
 
Device(s): HTC EVO 4G
Carrier: Not Provided

Thanks: 142
Thanked 274 Times in 121 Posts
Default

Thanks!! So with that app should I leave the "Mount system dir for r/w access at boot" unchecked?
stevcha is offline  
Old February 18th, 2011, 03:22 PM   #13 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Jun 2010
Location: Near Los Angeles
Posts: 4,418
 
Device(s): Samsung Galaxy Nexus
Carrier: Not Provided

Thanks: 101
Thanked 1,386 Times in 1,050 Posts
Default

Quote:
Originally Posted by stevcha View Post
Thanks!! So with that app should I leave the "Mount system dir for r/w access at boot" unchecked?
Yeah, I see no good reason to mount /system as rw at boot. There's too much potential to break things. I see it as a tool that you should use only when you need it.
akazabam is offline  
The Following 3 Users Say Thank You to akazabam For This Useful Post:
dannymur (May 21st, 2011), hno3 (January 28th, 2013), stevcha (February 18th, 2011)
Old May 21st, 2011, 04:45 PM   #14 (permalink)
Member
 
dannymur's Avatar
 
Join Date: Mar 2011
Location: Ireland's Lake Land
Gender: Male
Posts: 361
 
Device(s): GT-I9300, GT-i8150, Momo11 Bird China Tab.
Carrier: Tesco Mobile Ireland

Thanks: 96
Thanked 153 Times in 136 Posts
Default

Well Thank You akazabam.......

All this has been very useful and presented in a very readable format.

Speaking of format, this is why I stumbled into this forum, I usually hang out in ZTE Blade/OSF, and I had a problem after formatting my little 2G SD card, which came with FAT16.

I am using App2SD, and Mod Install Location to "force" as many apps as I could onto the SD.

Well, after the Format, my restore of the SD did not go well, and I lost a lotta apps.

This was because the back-up tool I used did not actually copy the real contents of the /mnt/sdcard/.android_secure.....which are the apps of course.

So, the restore did not work out too well.

When my new 16G SD card arrives this week, I will be exploring the possibilities you have referred to with A2SD, which seems quite exciting really.

Anyway, thanx again for the above, I will check out all your posts, and perhaps learn something....

Cheers,

Danny
dannymur is offline  
Old September 5th, 2011, 07:19 PM   #15 (permalink)
Junior Member
 
Join Date: Dec 2010
Location: Michigan
Posts: 50
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 9
Thanked 4 Times in 4 Posts
Default

Wow, akazabam, thanks! That was the most readable guide I've ever seen on such technical material. You wouldn't happen to have any other tutorials, would you? I'm interested in learning more about the booting process, bootloaders, kernels, what resides where and what loads what and when.
3club is offline  
Old September 5th, 2011, 07:38 PM   #16 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 22,554
 
Device(s): Galaxy Note 3, HTC Evo 4g LTE(no longer have), HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 28,912
Thanked 13,990 Times in 8,951 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by 3club View Post
Wow, akazabam, thanks! That was the most readable guide I've ever seen on such technical material. You wouldn't happen to have any other tutorials, would you? I'm interested in learning more about the booting process, bootloaders, kernels, what resides where and what loads what and when.
thanx for bringing this awesome thread back. i do not think that akazabam is round very much any more. he is the god of these forums in my opinion. and unfortunately you will not see many threads that he has started himself. this is just one of a few that he has done. most of the info he gives out are just in answering posts.
ocnbrze is offline  
Old September 5th, 2011, 07:39 PM   #17 (permalink)
Zercron Encrusted Tweezer
 
Granite1's Avatar
 
Join Date: Dec 2010
Location: Pittsburgh, PA
Gender: Male
Posts: 6,478
 
Device(s): EL TEvo, The OG (wife), Hero (retired)
Carrier: Sprint

Thanks: 11,190
Thanked 6,348 Times in 3,384 Posts
Default

Quote:
Originally Posted by 3club View Post
Wow, akazabam, thanks! That was the most readable guide I've ever seen on such technical material. You wouldn't happen to have any other tutorials, would you? I'm interested in learning more about the booting process, bootloaders, kernels, what resides where and what loads what and when.
Akazabam is the man, unfortunately he hasn't been seen around the forum on a couple months. He was moving and stated he wouldn't be around for a while. Guess he still doesn't have time. No one knows. Epic loss for the EVO community none the less. He was a library, knew everything! Truly very missed.
__________________
"Not everything that counts can be counted, and not everything that can be counted counts." Albert Einstein
Granite1 is offline  
The Following User Says Thank You to Granite1 For This Useful Post:
ocnbrze (September 5th, 2011)
Old September 5th, 2011, 07:52 PM   #18 (permalink)
Junior Member
 
Join Date: Dec 2010
Location: Michigan
Posts: 50
 
Device(s): Droid X
Carrier: Not Provided

Thanks: 9
Thanked 4 Times in 4 Posts
Default

He has a gift, no doubt! Guess we can't hog him all to ourselves!
3club is offline  
Old February 4th, 2012, 04:29 PM   #19 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 1 Time in 1 Post
Thumbs up Excellent Android primer

Quote:
Originally Posted by akazabam View Post
VI. A2sd, Apps2sd, and File System Types

With all of this knowledge in mind, you can probably get a better understanding of how something like a2sd works. A2sd is a system devised to move all installed applications to the sdcard. This is by no means the same thing as the built-in froyo apps2sd.
This information is exactly what I was looking for to understand Android's innards. As a long-time Linux user, the stuff about partitions and mounting I was fairly familiar with, but I had no idea until I read this post how they work in Android. So, a fantastic post, and one that I read with many thanks!
maheshjagadeesan is offline  
The Following User Says Thank You to maheshjagadeesan For This Useful Post:
ocnbrze (February 5th, 2012)
Old February 4th, 2012, 06:32 PM   #20 (permalink)
Zercron Encrusted Tweezer
 
Granite1's Avatar
 
Join Date: Dec 2010
Location: Pittsburgh, PA
Gender: Male
Posts: 6,478
 
Device(s): EL TEvo, The OG (wife), Hero (retired)
Carrier: Sprint

Thanks: 11,190
Thanked 6,348 Times in 3,384 Posts
Default

Quote:
Originally Posted by maheshjagadeesan View Post
This information is exactly what I was looking for to understand Android's innards. As a long-time Linux user, the stuff about partitions and mounting I was fairly familiar with, but I had no idea until I read this post how they work in Android. So, a fantastic post, and one that I read with many thanks!
Exactly what I thought the first time I read it.

I think we need to link this thread in the root guide for future reference. Too good of a thread to disappear in the void!
Granite1 is offline  
The Following User Says Thank You to Granite1 For This Useful Post:
ocnbrze (February 5th, 2012)
sponsored links
Old February 5th, 2012, 09:03 AM   #21 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Granite1 View Post
Exactly what I thought the first time I read it.

I think we need to link this thread in the root guide for future reference. Too good of a thread to disappear in the void!
I agree!
maheshjagadeesan is offline  
Old February 5th, 2012, 09:26 AM   #22 (permalink)
Zercron Encrusted Tweezer
 
Granite1's Avatar
 
Join Date: Dec 2010
Location: Pittsburgh, PA
Gender: Male
Posts: 6,478
 
Device(s): EL TEvo, The OG (wife), Hero (retired)
Carrier: Sprint

Thanks: 11,190
Thanked 6,348 Times in 3,384 Posts
Default

Quote:
Originally Posted by maheshjagadeesan View Post
I agree!
Done. Linked under general info in the root guide.
Granite1 is offline  
The Following 4 Users Say Thank You to Granite1 For This Useful Post:
hno3 (January 28th, 2013), maheshjagadeesan (February 7th, 2012), new optimus (February 5th, 2012), ocnbrze (February 5th, 2012)
Old February 5th, 2012, 02:18 PM   #23 (permalink)
Senior Member
 
Join Date: Mar 2011
Location: Jax Fl
Posts: 4,169
 
Device(s): LG Nexus 4, HTC EVO 4G Sold, LG Esteem Wifes, Samsung Galaxy Prevail, Samsung Nexus S 4G, LG Optimus
Carrier: Not Provided

Thanks: 391
Thanked 1,455 Times in 1,003 Posts
Default

Glad I saw this, much of it I had already learned in one form or another but having it all laid out like this is very good.
new optimus is offline  
The Following User Says Thank You to new optimus For This Useful Post:
ocnbrze (February 5th, 2012)
Old February 7th, 2012, 10:22 AM   #24 (permalink)
New Member
 
Join Date: Nov 2009
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Granite1 View Post
Done. Linked under general info in the root guide.
Thanks
maheshjagadeesan is offline  
Old September 13th, 2012, 08:31 AM   #25 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default Very Informative

Quote:
Originally Posted by akazabam View Post
I hope it was useful . If anything isn't clear, or doesn't make sense, let me know so I can reword it. I'll be adding more information to this eventually, as well.
I m having Galaxy Pocket attached via USb cable in debug mode, using ADB shell via PC. When i enter mount | grep /system the result is grep: not found. So kindly let me out of here. Also i wan to know the mount point of /system.

Once again thanks a lot
rmivuxgc is offline  
Old September 13th, 2012, 08:52 AM   #26 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 18,845
 
Device(s): Samsung Galaxy S3 4G Rooted..
Carrier: Verizon

Thanks: 15,159
Thanked 12,610 Times in 7,765 Posts
Default

Quote:
Originally Posted by rmivuxgc View Post
I m having Galaxy Pocket attached via USb cable in debug mode, using ADB shell via PC. When i enter mount | grep /system the result is grep: not found. So kindly let me out of here. Also i wan to know the mount point of /system.

Once again thanks a lot
Not familiar with the Galaxy Pocket, however, when you enter the command adb shell, do you get the $ sign, then type su, and then you get the # sign?
Perhaps the word spacing of your command is incorrect?

Edit: I just tried it on an unrooted Evo 4g and it errored like yours did.
Then I tried it on a rooted Evo 4g and got this.

Code:
C:\Users\support\Desktop\platform-tools>adb devices
List of devices attached
HT185HL01161    device


C:\Users\support\Desktop\platform-tools>adb shell
# mount | grep/system
mount | grep/system
grep/system: not found
# mount | grep /system
mount | grep /system
/dev/block/mtdblock4 on /system type yaffs2 (rw,nodev,noatime,nodiratime)
#
at first my spacing was wrong and "not found"
Then I got the correct spacing.
ocnbrze likes this.
__________________




Click "Show" for my signature
Android Forums FAQ's
List of Staff
Mikestony is online now  
Last edited by Mikestony; September 13th, 2012 at 09:16 AM.
The Following User Says Thank You to Mikestony For This Useful Post:
rmivuxgc (September 14th, 2012)
Old September 13th, 2012, 09:35 AM   #27 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 22,554
 
Device(s): Galaxy Note 3, HTC Evo 4g LTE(no longer have), HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 28,912
Thanked 13,990 Times in 8,951 Posts
ocnbrze@gmail.com
Default

yeah you can't mount system unless you have root access. so if you are not rooted that command will not work.

by the way i love this thread. all folks should have this book marked and read.
ocnbrze is offline  
The Following User Says Thank You to ocnbrze For This Useful Post:
Mikestony (September 13th, 2012)
Old September 14th, 2012, 05:17 AM   #28 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by Mikestony View Post
Not familiar with the Galaxy Pocket, however, when you enter the command adb shell, do you get the $ sign, then type su, and then you get the # sign?
Perhaps the word spacing of your command is incorrect?

Edit: I just tried it on an unrooted Evo 4g and it errored like yours did.
Then I tried it on a rooted Evo 4g and got this.

Code:
C:\Users\support\Desktop\platform-tools>adb devices
List of devices attached
HT185HL01161    device


C:\Users\support\Desktop\platform-tools>adb shell
# mount | grep/system
mount | grep/system
grep/system: not found
# mount | grep /system
mount | grep /system
/dev/block/mtdblock4 on /system type yaffs2 (rw,nodev,noatime,nodiratime)
#
at first my spacing was wrong and "not found"
Then I got the correct spacing.


I m rooted as well. This is all i get via ADB :


C:\Documents and Settings\user>cd Local Settings\Application Data\Android\android-sdk\platform-tools

C:\Documents and Settings\user\Local Settings\Application Data\Android\android-sdk\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
0123456789ABCDEF device


C:\Documents and Settings\user\Local Settings\Application Data\Android\android-s
dk\platform-tools>adb shell
$ su
su
# mount | grep/system
mount | grep/system
grep/system: not found
# mount | grep /system
mount | grep /system
grep: not found
#

Plz tell me wts wrong there. Also as u have seen that i get List of devices attached
0123456789ABCDEF device
Doesn't this device code seems somewhat like dummy?
rmivuxgc is offline  
Last edited by rmivuxgc; September 14th, 2012 at 05:21 AM.
Old September 14th, 2012, 06:40 AM   #29 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 18,845
 
Device(s): Samsung Galaxy S3 4G Rooted..
Carrier: Verizon

Thanks: 15,159
Thanked 12,610 Times in 7,765 Posts
Default

yeah, that is odd.
What happens if you type


Code:
C:\Users\support\Desktop\platform-tools>adb get-serialno
HT185HL01161

C:\Users\support\Desktop\platform-tools>
Does that same "generic" serial # come up?

(not using adb shell command at all)

Edit: did a brief search about this "generic" serial number and it doesn't seem limited to your phone.
However, perhaps posting in the Galaxy Pocket forums will yield a better answer?
http://androidforums.com/samsung-galaxy-pocket/
Seems like that forum is not very popular in the root forum

Although, I am curious also about that!
Mikestony is online now  
Last edited by Mikestony; September 14th, 2012 at 06:56 AM.
The Following User Says Thank You to Mikestony For This Useful Post:
rmivuxgc (September 14th, 2012)
Old September 14th, 2012, 07:18 AM   #30 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,029
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,693
Thanked 54,828 Times in 21,864 Posts
Default

Need to install Busybox to have grep on Android.
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)


For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is online now  
The Following 2 Users Say Thank You to EarlyMon For This Useful Post:
Mikestony (September 14th, 2012), rmivuxgc (September 14th, 2012)
sponsored links
Old September 14th, 2012, 07:31 AM   #31 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default

C:\Documents and Settings\user\Local Settings\Application Data\Android\android-s
dk\platform-tools>adb get-serialno
0123456789ABCDEF

C:\Documents and Settings\user\Local Settings\Application Data\Android\android-s
dk\platform-tools>



Now wt next dear?????
I m very upset over this issue. Btw i m greatfull to u for ur quick replies. Also feeling somewhat good that even expert like u found it little bit challenging
I really appreciate ur quick replying attitude towards prob-solving. Keep it up.
rmivuxgc is offline  
The Following User Says Thank You to rmivuxgc For This Useful Post:
ocnbrze (September 14th, 2012)
Old September 14th, 2012, 07:36 AM   #32 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default

hmmm.... i m going to install it. Shall let u know soon.
rmivuxgc is offline  
Old September 14th, 2012, 07:37 AM   #33 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 18,845
 
Device(s): Samsung Galaxy S3 4G Rooted..
Carrier: Verizon

Thanks: 15,159
Thanked 12,610 Times in 7,765 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
Need to install Busybox to have grep on Android.
As in, needs this?
https://play.google.com/store/apps/details?id=stericson.busybox&feature=nav_result#?t =W251bGwsMSwxLDMsInN0ZXJpY3Nvbi5idXN5Ym94Il0.


Quote:
Originally Posted by rmivuxgc View Post
C:\Documents and Settings\user\Local Settings\Application Data\Android\android-s
dk\platform-tools>adb get-serialno
0123456789ABCDEF

C:\Documents and Settings\user\Local Settings\Application Data\Android\android-s
dk\platform-tools>



Now wt next dear?????
I m very upset over this issue. Btw i m greatfull to u for ur quick replies. Also feeling somewhat good that even expert like u found it little bit challenging
I really appreciate ur quick replying attitude towards prob-solving. Keep it up.
no problem...
Mikestony is online now  
The Following 3 Users Say Thank You to Mikestony For This Useful Post:
EarlyMon (September 14th, 2012), ocnbrze (September 14th, 2012), rmivuxgc (September 14th, 2012)
Old September 14th, 2012, 07:48 AM   #34 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 44,029
 
Device(s): LTEvo, 3vo, and Shift
Carrier: Sprint

Thanks: 41,693
Thanked 54,828 Times in 21,864 Posts
Default

Yep, that one, I've always used Sterickson's.
EarlyMon is online now  
The Following 3 Users Say Thank You to EarlyMon For This Useful Post:
Mikestony (September 14th, 2012), ocnbrze (September 14th, 2012), rmivuxgc (September 14th, 2012)
Old September 14th, 2012, 08:07 AM   #35 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default Thanks

Quote:
Originally Posted by EarlyMon View Post
Need to install Busybox to have grep on Android.

Yaa mount | grep /system working now thanks dude.
BTW wts ur opinion about:

List of devices attached
0123456789ABCDEF device

Is dats my device code?
rmivuxgc is offline  
The Following 2 Users Say Thank You to rmivuxgc For This Useful Post:
EarlyMon (September 14th, 2012), Mikestony (September 14th, 2012)
Old September 14th, 2012, 08:19 AM   #36 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 18,845
 
Device(s): Samsung Galaxy S3 4G Rooted..
Carrier: Verizon

Thanks: 15,159
Thanked 12,610 Times in 7,765 Posts
Default

Quote:
Originally Posted by rmivuxgc View Post
Yaa mount | grep /system working now thanks dude.
BTW wts ur opinion about:

List of devices attached
0123456789ABCDEF device

Is dats my device code?
Nice that you got grep working.!
Now, about the serial # "issue"
I, myself will have to do some research on this as I do not know why it would come up that way.
Does your phone act normally atm?
Mikestony is online now  
The Following User Says Thank You to Mikestony For This Useful Post:
rmivuxgc (September 14th, 2012)
Old September 14th, 2012, 08:22 AM   #37 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default

yaa it works normally.

atm????
rmivuxgc is offline  
Old September 14th, 2012, 08:47 AM   #38 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 18,845
 
Device(s): Samsung Galaxy S3 4G Rooted..
Carrier: Verizon

Thanks: 15,159
Thanked 12,610 Times in 7,765 Posts
Default

Quote:
Originally Posted by rmivuxgc View Post
yaa it works normally.

atm????
Sorry,
atm---at the moment
Mikestony is online now  
Old September 14th, 2012, 09:24 AM   #39 (permalink)
New Member
 
Join Date: Aug 2012
Posts: 11
 
Device(s):
Carrier: Not Provided

Thanks: 7
Thanked 6 Times in 3 Posts
Default

Quote:
Originally Posted by Mikestony View Post
Sorry,
atm---at the moment

oooopss
No need to say sorry lol
I m also having some queries regarding other issues e.g installing system inbuilt fonts via "adb push". May i share those issues here? or should i look for another post?

Once again thanks a lot to u guys
rmivuxgc is offline  
The Following 3 Users Say Thank You to rmivuxgc For This Useful Post:
EarlyMon (September 14th, 2012), Mikestony (September 14th, 2012), ocnbrze (September 14th, 2012)
Old September 14th, 2012, 09:30 AM   #40 (permalink)
~30% Carbon Black ±
 
Mikestony's Avatar
 
Join Date: Sep 2010
Location: N/W Indiana
Gender: Male
Posts: 18,845
 
Device(s): Samsung Galaxy S3 4G Rooted..
Carrier: Verizon

Thanks: 15,159
Thanked 12,610 Times in 7,765 Posts
Default

Quote:
Originally Posted by rmivuxgc View Post
oooopss
No need to say sorry lol
I m also having some queries regarding other issues e.g installing system inbuilt fonts via "adb push". May i share those issues here? or should i look for another post?

Once again thanks a lot to u guys
I would suggest starting a new thread.
We can go from there...yay!
Mikestony is online now  
The Following User Says Thank You to Mikestony For This Useful Post:
ocnbrze (September 14th, 2012)
sponsored links
Old October 12th, 2012, 12:01 PM   #41 (permalink)
Member
 
xevious's Avatar
 
Join Date: Jun 2010
Location: Near NYC
Posts: 188
 
Device(s): HTC Evo 3D (x2), HTC Hero (retired)
Carrier: Ting (Sprint)

Thanks: 24
Thanked 11 Times in 10 Posts
Default

Quote:
Originally Posted by rmivuxgc View Post
BTW wts ur opinion about:

List of devices attached
0123456789ABCDEF device

Is dats my device code?
I don't know why adb echoes that, but it's not the device code. "fastboot devices" will show the device code, though.
xevious is offline  
Old February 12th, 2013, 09:25 AM   #42 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 13
 
Device(s): Samsung Galaxy GT-i5500
Carrier: Not Provided

Thanks: 10
Thanked 1 Time in 1 Post
Default

Thanks very much for the guide. For this section..
VI. A2sd, Apps2sd, and File System Types
I'm still confulsed about A2SD. What actually is it? When I search, I get references to a command, but also references to apps and to methods of doing things.

Also, from reading the explanation about shifting where /data/apps/ points to, I get the feeling that you must move all apps to the SD card. I.e. you cant just move some to the SD Card and keep others in internal flash chips. Is this correct?
spiderplant0 is offline  
Old February 12th, 2013, 01:18 PM   #43 (permalink)
DON'T PANIC!!!!!!!!!
 
ocnbrze's Avatar
 
Join Date: May 2010
Location: los angeles
Gender: Male
Posts: 22,554
 
Device(s): Galaxy Note 3, HTC Evo 4g LTE(no longer have), HTC 3vo(no longer have), HTC EVO (not activated)
Carrier: Sprint

Thanks: 28,912
Thanked 13,990 Times in 8,951 Posts
ocnbrze@gmail.com
Default

Quote:
Originally Posted by spiderplant0 View Post
Thanks very much for the guide. For this section..
VI. A2sd, Apps2sd, and File System Types
I'm still confulsed about A2SD. What actually is it? When I search, I get references to a command, but also references to apps and to methods of doing things.

Also, from reading the explanation about shifting where /data/apps/ points to, I get the feeling that you must move all apps to the SD card. I.e. you cant just move some to the SD Card and keep others in internal flash chips. Is this correct?
welcome to the forums!!!!!!!!

i love this thread. akazabam is the man!!!!!!!!

people get confused with a2sd vs apps2sd. apps2sd is what you would when you go into settings>apps>move apps to the sd card. this is something that was added in froyo. and this is where most people get confused. it does not move the app fully to the card. it only moves part of it.

with a2sd, it is different. it moves the entire app to the sd card. it sets up a symbolic link on the phone that tells the phone where to look for the app on the sd card.

to understand it more please read the [Revised] Rooting Gingerbread 2.3.5 Dummies Guide. skip the first post, since you are not rooting it, and go to the second post. there is a section about partitioning and moving apps section. it has more details about it.
ocnbrze is offline  
The Following User Says Thank You to ocnbrze For This Useful Post:
Mikestony (February 12th, 2013)
Closed Thread


Go Back   Android Forums > Android Phones > HTC EVO 4G > EVO 4G - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:54 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.