Well i know what the renice script is that was an accidental highlight. lol
Screenshot of my SD Card and what's stored on it:
http://img231.imageshack.us/img231/3467/10459449.jpg
And can I delete them?
No one? Anyone?
You can delete whatever you want. You don't need our permission to delete stuff from YOUR CARD.
Note: the "LOST.DIR" directory will come back if you delete it. It is basically the same as the lost+found directory that is conventional to unix filesystems -- the android implementation of fat32 uses the "LOST.DIR" for the same purpose even though this type of file checking is not standard for MS-trash filesystems.
lbcoder said:
You can delete whatever you want. You don't need our permission to delete stuff from YOUR CARD.
Note: the "LOST.DIR" directory will come back if you delete it. It is basically the same as the lost+found directory that is conventional to unix filesystems -- the android implementation of fat32 uses the "LOST.DIR" for the same purpose even though this type of file checking is not standard for MS-trash filesystems.
Click to expand...
Click to collapse
I meant if it was safe to delete the diskcache items.
Thank you for the side note I learn a little more everyday.
AustinAce said:
I meant if it was safe to delete the diskcache items.
Thank you for the side note I learn a little more everyday.
Click to expand...
Click to collapse
yes, you can delete them safely.
r3s-rt said:
yes, you can delete them safely.
Click to expand...
Click to collapse
Thank you sir
AustinAce said:
Thank you sir
Click to expand...
Click to collapse
opps, let me add, leave LOST.DIR and svox. they will just be recreated, so there's no point.
I did thank you.
Related
When i add/remove things from update.zip do i have to edit the update script? thanks
JJbdoggg said:
When i add/remove things from update.zip do i have to edit the update script? thanks
Click to expand...
Click to collapse
Yes. Use notepad++ to edit it.
Binary100100 said:
Yes. Use notepad++ to edit it.
Click to expand...
Click to collapse
Really...I have never edited an update script and all my edits after signing the file have worked just fine. Just test it without touching the update script and if it doesn't work then update the update script.
Also you sig is hilarious (JJbdoggg). I had to sit and watch it a few times to quit laughing.
thanks(david1171 i got it here http://forum.xda-developers.com/showthread.php?t=528334)
the reason i want to know is whenever i make a update.zip file it always aborts halfway through saying something about not finding update script
JJbdoggg said:
When i add/remove things from update.zip do i have to edit the update script? thanks
Click to expand...
Click to collapse
If you've just added or removed files from /system, then no. update-script just flashes the entire system directory without caring what the contents are. You only really need to modify update-script if you want to change some initial aliases, change the directory[ies] being flashed, that sort of thing.
jashsu said:
If you've just added or removed files from /system, then no. update-script just flashes the entire system directory without caring what the contents are. You only really need to modify update-script if you want to change some initial aliases, change the directory[ies] being flashed, that sort of thing.
Click to expand...
Click to collapse
thanks, just to clarify if i add something to /system/app no edit of the update script is needed but if i add something to /data/app an edit is needed
JJbdoggg said:
thanks, just to clarify if i add something to /system/app no edit of the update script is needed but if i add something to /data/app an edit is needed
Click to expand...
Click to collapse
Yes, because most update-scripts do not touch /data. For good reason too, because everything in a stock update.zip is meant to survive a wipe (Alt+w)
david1171 said:
Really...I have never edited an update script and all my edits after signing the file have worked just fine. Just test it without touching the update script and if it doesn't work then update the update script.
Also you sig is hilarious (JJbdoggg). I had to sit and watch it a few times to quit laughing.
Click to expand...
Click to collapse
I guess it depends on what is already on the update-script file.
If you are trying to add something to a theme template then yes.
But if you are trying to modify a rom or make one of your own then probably not.
thanks guys ill give it another go now
When I run that command, it shows my swap total as 26,760 kB or roughly 26MB. I had set my swap size as 98MB...Am I missing something?
What rom are you using, how did you set the swap size, do you have comp cache, backswapping, what does the output of the free command say?
evilkorn said:
What rom are you using, how did you set the swap size, do you have comp cache, backswapping, what does the output of the free command say?
Click to expand...
Click to collapse
Im using Cyan 4.2.11. I did the swap size via the latest Amon_RA recovery. I do have compcache and its enabled. Backswapping...no clue what that means really. The output of free shows:
$ su# # free
total used free shared buffers
Mem: 107076 105216 1860 0 668
Swap: 26760 16492 10268
Total: 133836 121708 12128
That is the default, you need to modify the user.conf to enable swap. There is an application on the market that helps you create the conf file.
Amon_ra's recovery only creates the swap partition. It is up to the rom/user to impliment.
evilkorn said:
That is the default, you need to modify the user.conf to enable swap. There is an application on the market that helps you create the conf file.
Amon_ra's recovery only creates the swap partition. It is up to the rom/user to impliment.
Click to expand...
Click to collapse
I've tried the user.conf app but it was too confusing for me. I couldn't figure out all the settings.
staunty said:
I've tried the user.conf app but it was too confusing for me. I couldn't figure out all the settings.
Click to expand...
Click to collapse
Can you get the user.conf from /system/bin, then I'll modify it for you
JAguirre1231 said:
Can you get the user.conf from /system/bin, then I'll modify it for you
Click to expand...
Click to collapse
I appreciate that but I just looked and there is no user.conf file in my system/bin. Nor does it seem to be anywhere else.
staunty said:
I appreciate that but I just looked and there is no user.conf file in my system/bin. Nor does it seem to be anywhere else.
Click to expand...
Click to collapse
What rom are you using exactly? If there is no user.conf would you look for a userinit.sh in the same place
JAguirre1231 said:
What rom are you using exactly? If there is no user.conf would you look for a userinit.sh in the same place
Click to expand...
Click to collapse
Cyan 4.2.11. Im using Darkstar .6.7 theme. I do have a userinit file. How would I go about getting it to you? I have astro and andexplorer. Interestingly, I can see the userinit file with Astro but using andexplorer, I don't see the file.
staunty said:
Cyan 4.2.11. Im using Darkstar .6.7 theme. I do have a userinit file. How would I go about getting it to you? I have astro and andexplorer. Interestingly, I can see the userinit file with Astro but using andexplorer, I don't see the file.
Click to expand...
Click to collapse
Just copy it to your sd and upload for me
JAguirre1231 said:
Just copy it to your sd and upload for me
Click to expand...
Click to collapse
How annoying. I am trying to copy and paste it into my sdcard but it won't allow me. I can use adb...would it be possible using that? If so, care to supply some commands?
EDIT: I tried using OI file manager also but it won't allow me to copy it. The file userinit is 0B, there seems to be nothing in it.
staunty said:
How annoying. I am trying to copy and paste it into my sdcard but it won't allow me. I can use adb...would it be possible using that? If so, care to supply some commands?
Click to expand...
Click to collapse
adb remount
adb pull /system/bin/userinit.sh (place you want the file, i.e. C:\)
JAguirre1231 said:
adb remount
adb pull /system/bin/userinit.sh (place you want the file, i.e. C:\)
Click to expand...
Click to collapse
Man, thanks agan for your help but here is what it said when running your command:
remote object 'system/bin.userinit.sh' does not exist
staunty said:
Man, thanks agan for your help but here is what it said when running your command:
remote object 'system/bin.userinit.sh' does not exist
Click to expand...
Click to collapse
/system/bin/userinit.sh
That's weird it's not in Cyanogen...
JAguirre1231 said:
/system/bin/userinit.sh
That's weird it's not in Cyanogen...
Click to expand...
Click to collapse
That was a typo on my part. I entered the command correctly...hmmm, what now? There is a new version of cyanogen I can load but I didn't want to do that until Darkstar is updated.
staunty said:
That was a typo on my part. I entered the command correctly...hmmm, what now? There is a new version of cyanogen I can load but I didn't want to do that until Darkstar is updated.
Click to expand...
Click to collapse
Hanyu has a thread in development for a userinit.sh, I would try that
JAguirre1231 said:
Hanyu has a thread in development for a userinit.sh, I would try that
Click to expand...
Click to collapse
Alright, cool. Thanks!
I have two directories on my phone that I'm not sure about. Here is what ls in the root of my phone spits out:
Code:
sqlite_stmt_journals
config
cache
emmc
sdcard
d
etc
system
sys
sbin
proc
logo.rle
init.rc
init.heroc.rc~
init.heroc.rc
init.hero.rc~
init.goldfish.rc
init
default.prop
data
root
dev
The ones in question are:
init.heroc.rc~
init.hero.rc~
d
Does anyone if these are legit and if they can be deleted or not?
Well, the .rc's are not directories, (or at least they shouldn't be) they are likely configuration files. Since they are appended by tildas (~) they are likely old versions of the originals (can't say for certain). The d folder likely contains daemons.
I am basing this off my own linux knowledge, I do not have experience with an android as of yet.
Transmition said:
Well, the .rc's are not directories, (or at least they shouldn't be) they are likely configuration files. Since they are appended by tildas (~) they are likely old versions of the originals (can't say for certain). The d folder likely contains daemons.
I am basing this off my own linux knowledge, I do not have experience with an android as of yet.
Click to expand...
Click to collapse
So the .rc~'s can go? Not sure what a daemon is, but I'm thinking it's not something I want to delete though
I'll nandroid and give it a shot and see what happens.
the init.hero.rc~ files are backups created while editing. Common when using beta/testing software. You can delete them, but they will return as they are in the ramdisk.
The d is an error. You also have a directory named init . You're supposed to have a directory named init.d, and no dir named init or named d. If this is not something you have done, let the developer of the ROM know there's a little bug that needs fixed.
Off topic, insomnia sucks and I needed to say that
gbhil said:
the init.hero.rc~ files are backups created while editing. Common when using beta/testing software. You can delete them, but they will return as they are in the ramdisk.
The d is an error. You also have a directory named init . You're supposed to have a directory named init.d, and no dir named init or named d. If this is not something you have done, let the developer of the ROM know there's a little bug that needs fixed.
Off topic, insomnia sucks and I needed to say that
Click to expand...
Click to collapse
Thanks! And yes I agree, insomnia is a bummer :/
Are you really from Tanzania?
gbhil said:
Off topic, insomnia sucks and I needed to say that
Click to expand...
Click to collapse
right there with ya man.
Gregalous said:
Thanks! And yes I agree, insomnia is a bummer :/
Are you really from Tanzania?
Click to expand...
Click to collapse
Tanzania? No I'm from Florida. Why do you ask?
And your welcome
edit: nevermind lol. how the hell did that get there??
gbhil said:
If this is not something you have done, let the developer of the ROM know there's a little bug that needs fixed.
Click to expand...
Click to collapse
Darch's AOSP 2.1 actually. I know you're working with him on it so maybe you could let him know. I'll post it in the thread too but this is a fairly minor issue
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
If you didn't say you mounted the partition I can only assume it was not mounted as r/w and still at r/o.
copy/paste - visual representation of cp
push - pushing files from computer to phone
They are not the same.
SiNJiN76 said:
I didn't feel like plugging my phone into the computer so I emailed myself an apk file (arctu's Mms.apk) because for some reason...it seems to revert back to stock every reboot...
Anyway, I didn't have any terminal apps so I used Root Explorer to copy then paste over the existing apk. didn't work. Why not? Is there a something different about copy/paste?
Click to expand...
Click to collapse
Yeah, what didn't work? lol.
djmcnz said:
Yeah, what didn't work? lol.
Click to expand...
Click to collapse
the mms app didn't overwrite. But it could have been user error. I'm using Enom's ROM and didn't have the Community Mms Mod checked...so maybe if I had done that first...it would have worked.
Pushing is taking a file from the computer to copy and paste/overwrite the existing file on the phone. What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
SiNJiN76 said:
Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
k?
I didn't try and explain anything (in this thread at least)?
Either way, yes push literally "pushes" a file to a specified location. However that file needs to be written and if the file system is mounted as read only you will get errors.
If it didn't work you must have received an error message (in root explorer for example), what was that message? If you don't get an error message and the file is still not being written then get a better file manager (ES File Explorer).
The suggestion above by 'evilkorn' was to make sure the file system is in read/write mode before you copy the file over... you can do this in Root Explorer or ES File Explorer.
If your file system is in r/w AND you still don't get an error message AND it still doesn't work then I would try an ADB push as a last resort and if that didn't work, reflash and start from step one I think...
SiNJiN76 said:
What's the difference where the file is being copied over from? Are you sure about what you were trying to explain?
Click to expand...
Click to collapse
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
evilkorn said:
Because that was your question in the title, which I answered, they are different terms for different things. You can't push a file on your phone to your phone, you copy it (cp).
You still didn't answer my question... It's hard to help someone when the suggestions fall on deaf ears and all you get is reverb and static back.
Click to expand...
Click to collapse
LoL. You gotta ask a question first before I can answer it. You made assumptions, didn't ask questions. LoL. Anyway, I wasn't trying to crawl under your skin. But maybe next time you can read the OP in addition to just reading the title of the thread? Usually, details are given to accompany the title of the thread on the first post. Either way, I guess I wasn't detailed enough. Thanks for your feedback, tho, appreciate it.
@djmcnz - Sorry, my error in quoting the wrong person. Thanks for you explanation, also.
So, to summarize...Push and Copy/Paste should produce the same outcome, right? Cool...like I said earlier...it was my error in not knowing that I had to use the Spare Parts option in Enom's ROM to enable Community MMS.
I use root explorer all the time when I can't use a computer to use adb. It works fine. Usually if its the system partition you have to click the icon that says r/o and it changes to r/w. This will allow you to write files to the partition. Then from what I noticed a reboot usually fixes any issues of stuff not working.
Being new to Android, but not to computers, can someone explain the Hierarchy structure of the S3 Mini? I really only need to know what the root directory is. On a computer it's C:\. So if I'm at the root of the S3 Mini what should the path be? Device?
Seems "Device" and "sdcard0" are not the same. So is "sdcard0" a Directory off Device or treated as it's own partition?
Now that I'm writing this, lemmie guess....."Device" is ROM and "sdcard0" is internal flash memory?
Also does Android use inherit permissions from it parent folders by default?
Since I have your attention, what is the path where user contacts and bookmarks are stored?
Thanks
BrrrinAlaska said:
Being new to Android, but not to computers, can someone explain the Hierarchy structure of the S3 Mini? I really only need to know what the root directory is. On a computer it's C:\. So if I'm at the root of the S3 Mini what should the path be? Device?
Seems "Device" and "sdcard0" are not the same. So is "sdcard0" a Directory off Device or treated as it's own partition?
Now that I'm writing this, lemmie guess....."Device" is ROM and "sdcard0" is internal flash memory?
Also does Android use inherit permissions from it parent folders by default?
Since I have your attention, what is the path where user contacts and bookmarks are stored?
Thanks
Click to expand...
Click to collapse
Hi bud, welcome
Since Android OS is the same on all devices, you can search on XDA or google for your questions. Don't take me wrong, but that way you learn more I found other things that you had not expected Have fun.
terrejealcohol
mauam said:
Hi bud, welcome
Since Android OS is the same on all devices, you can search on XDA or google for your questions. Don't take me wrong, but that way you learn more I found other things that you had not expected Have fun.
Click to expand...
Click to collapse
Yeah, did a search already in S3 Mini and Basic Stickys, since I didn't know if they were all the same. I'm only looking for specific info right now. I don't really want to be led in 14 different directions to get an answer if ya know what I mean. But I now know the structure is the same for all Android phones. Could still use an answer to my original question. FYI I have severe arthritis and the less typing/clicking I do the better for my wrist. So don't assume it's laziness. Bad enough I have to type at hen peck speed when I used to type really fast.
BrrrinAlaska said:
Being new to Android, but not to computers, can someone explain the Hierarchy structure of the S3 Mini? I really only need to know what the root directory is. On a computer it's C:\. So if I'm at the root of the S3 Mini what should the path be? Device?
Click to expand...
Click to collapse
Android is Linux based system, so there is no c:\, d:\ or other drive letters, there are so called mount points
All hierarchy starts from root, named as /
BrrrinAlaska said:
Seems "Device" and "sdcard0" are not the same. So is "sdcard0" a Directory off Device or treated as it's own partition?
Now that I'm writing this, lemmie guess....."Device" is ROM and "sdcard0" is internal flash memory?
Click to expand...
Click to collapse
Device is root mount point = /
sdcard0 = /sdcard - its an one of mount points and it is internal flash memory (mount point from CM11)
external sdcard = /starage/sdcard1
/data is a place where user data are stored. All your apps and they data can be found here
/system is a place for your ROM files
If you want to learn other locations, just read about Linux
BrrrinAlaska said:
Also does Android use inherit permissions from it parent folders by default?
Click to expand...
Click to collapse
Yes, it does, as it is linux based system
BrrrinAlaska said:
Since I have your attention, what is the path where user contacts and bookmarks are stored?
Thanks
Click to expand...
Click to collapse
user contacts and bookmarks are apps specific data, so they are stored somewhere in /data/data/