Related
I am running a slimed down version of Froyo on my DInc, I know enough that I am able to Titanium back up my device as well as Nandroid back up as well. I loaded the new software on and then continued in the CMD to delete some of the pre loaded programs that I didn't want, example "Footprints", "Car Panel", etc. I inserted the command to delete City ID and I got an error code. below is the line of code:
***CityID***
/system/bin/mv CityID.apk CityID.apkb
At this point I realized that for not being a computer guy I have done pretty well so far. However I would like to know how you experts out there view the files and then delete them, because up to this point all i am doing is using other people findings and I would like to be able to do it myself. So I guess the question it what do I need to look at my file structure to find City ID and then determine what line of code to type into the CMD?
My name is Adam Hosman I am from the Twin Cities in MN, please leave a response or feel free to give me a call at 612.226.7017
Thank you,
Adam:mad
Which rom:
The newest leak?
Newest leak lite?
Sky raider?
Incredible does?
Jdfroyo?
Sent from my ADR6300 using XDA App
be sure to specify the location /system/apps/filename.apkb
/edit I created a folder /system/apps.disabled , then i used the mv command to move the files to /system/app.disabled
I am using the newest 2.2 froyo leak lite with nothing else
Yes I am renaming them so they do not show up. but when I try to do it with City ID i get an error, So how would I do the same thing with City ID? That is why I want to know how to view the files so I can locate the proper path and type it in correctly.
make it simple...
cd /system/app
mv CityID.apk CityID.apkb
the caps are important***
So no one knows hoe to view the files on the device?
The ls command should list all files in the current directory.
I commented in the thread that lists the apps you might want to delete. The problem was with city id, teeter, and my Verizon. It was an oversight by the OP. It should read just as the other apps do.
Check page 2 of this forum. It's title "List of APKs..." I think that's what you're looking for.
Sent from my incredible Droid Incredible using the XDA app
IShootPixels said:
I commented in the thread that lists the apps you might want to delete. The problem was with city id, teeter, and my Verizon. It was an oversight by the OP. It should read just as the other apps do.
Check page 2 of this forum. It's title "List of APKs..." I think that's what you're looking for.
Sent from my incredible Droid Incredible using the XDA app
Click to expand...
Click to collapse
Thank you guys for your help
I opened up the CMD and typed in cd/ enter, cd tools enter, cd sdk enter, cd tools enter, adb shell enter, then Is and it did not list anything so then I typed exit and hit enter and it went back to C:\sdk\tools and then I hit enter and this is what it showed:
C:\sdk\tools>Is
'Is' is not recognized as a internal or external command, operable program batch file.
I dont understand why it is so hard to just look at the files?
It is ls with an L not an I, as in list.
adamhosman said:
I opened up the CMD and typed in cd/ enter, cd tools enter, cd sdk enter, cd tools enter, adb shell enter, then Is and it did not list anything so then I typed exit and hit enter and it went back to C:\sdk\tools and then I hit enter and this is what it showed:
C:\sdk\tools>Is
'Is' is not recognized as a internal or external command, operable program batch file.
I dont understand why it is so hard to just look at the files?
Click to expand...
Click to collapse
after you enter "adb shell"
type: cd /system/app
then type: ls
Ok I will try that
Sent from my ADR6300 using XDA App
Also try
ls -l
for long view. Gives more details. You can do a Google search for linux commands if you want to learn more.
Sent from Incredible using Tapatalk.
to view the files while booted into android take a look at root explorer, its a paid app file explorer in the market. as of now you can only view and not write to the system files on our phones outside of recovery
Nice, that's what I wanted to know. Thank you
Sent from my ADR6300 using XDA App
Can anyone explain exactly how to use logcat?
Simplest way is to download: "aLogcat" from the market.
Want the more complex answer:
"adb logcat" and watch the messages fly by
Want to log to a file to send to someone:
"adb locat > c:\path\to\file.txt" when you're done capturing what you want, hit crtl+c to break the logging to the file.txt.
So is there a reader or do I go through the code and determine the issue being provided?
Thank you
You can also search the market for "logcat widget" and see it live on your phone.
uniquenameevo said:
You can also search the market for "logcat widget" and see it live on your phone.
Click to expand...
Click to collapse
I know this and thank you for your input...
What exactly I'm getting at is the code read simply from that log myself(though I haven't the slightest) or (in a google search it came up) do I have to turn the logat over to someone who can identify the issues?
If someone would like to give a howto for cyphering logs, then I'd be glad to copy and paste giving all credit to that individual in the OP...
thanks for the tip about aLogcat. Ironically, my log seems to be full of red Javascript entries from the xda website
spiicytuna said:
Simplest way is to download: "aLogcat" from the market.
Want the more complex answer:
"adb logcat" and watch the messages fly by
Want to log to a file to send to someone:
"adb locat > c:\path\to\file.txt" when you're done capturing what you want, hit crtl+c to break the logging to the file.txt.
Click to expand...
Click to collapse
I got alogcat on my phone but the command "adb locat > c:\path\to\file.txt"
says "specified path not found, what am I doing wrong, thanks
Houndog101 said:
I got alogcat on my phone but the command "adb locat > c:\path\to\file.txt"
says "specified path not found, what am I doing wrong, thanks
Click to expand...
Click to collapse
You have to replace the part "path\to\" with the actual path where you want the file saved. For example, mine would look like this:
c:\Users\Francisco\Desktop\file.txt
excuse my ignorance about alogcat since I use adb from my PC via the Android SDK, but if you are doing this on the phone, wouldn't you use /sdcard/logcat.txt or something other than c:\ ? or does alogcat output to a PC? Our phones don't have C:\ drives.
anyway, it's just a text file. Open it up, copy/paste to pastebin or another "paste" website, share link with developer, win (lose? or draw?)
Every time i get a picture and try to open it, it gives me a force close. then i go back and click on it and it wont let me open the pic at all....any ideas?????
nard_23 said:
Every time i get a picture and try to open it, it gives me a force close. then i go back and click on it and it wont let me open the pic at all....any ideas?????
Click to expand...
Click to collapse
Might be something wrong with your permissions! Does this happen with other apps or just the gallery?
Try one of these....
1. Bring up the Terminal APP....Type
su
fix_permissions
If you don't have the terminal app and want to do it via ADB
type this in via ADB
adb shell fix_permissions
From Recovery
In Amon_Ra's recovery, the fix_permissions script is run by selecting the 'other' menu then selecting 'Fix apk UID mismatch' .
In CM-1.4 recovery, it must be run manually from console (alt+x on G1) or adb shell, as above from terminal except 'su' is not needed.
Once you get done fixing permissions do a reboot and you should be golden!!
2. Boot into recovery, wipe and re-flash the MIUI rom again and that should fix your problem!
3. Post this same exact question in this forum and see if someone running the same exact rom you got can duplicate your problem and fix it!
http://forum.xda-developers.com/showthread.php?t=915527
GOOD LUCK DUDE!!
hi my htc desire keeps restarting when i flash any gingerbread miui rom i have tired data2ext and a2sd and have wiped and also formated my sdcard and stil have same problem with both but it works fine with all other roms and the froyo version of miui. please help
What hboot are you using and how did you root your phone?
Sent from my HTC Desire using xda premium
hi im using normal hboot-0.93.0001 i used unrevoked to root my phone i am not really a noob i have flashed and rooted many phones but for some strange reason all other roms including miui froyo work on my phone but gingerbread miui wont it loads up to the home screen and then just reboots ive tried data2et version and a2sd version and same thing happens with both versions.i have also tried using diffrent recoverys amon-ra,clockwork etc and still get the same problem.
You need to understand what is going on under the hood.. Getting an adb logcat is the way to go..
Code:
Windows>Start>Run
echo "null" > log.txt
start log.txt
adb logcat > log.txt
Use Notepad++ to associate with the txt file and reload the file every couple of seconds while keeping the cmd shell in the background.. See what's happening just before it reboots. It could be anything from a bad script to a bad module
Have you tried gingerbread 2.8, its simple and a very plain ROM, I have had issues with miui roms with my desire, if that doesn't work I will keep looking my self, sorry I'm not very insightful, you have an odd problem.
Sent from my HTC Pyramid using xda premium
Nice one Droidzone, I will have to try that also.
Sent from my HTC Pyramid using xda premium
Hi droidzone thanks for your reply could u please maybe help me and tell me the steps to get the log cat i know how to access adb by cmd but thats about it im a noob when it comes to adb commands and dont know much about it and didnt really understand the commands that u asked me to do,do i enter those while in adb or before.
casanova786 said:
Hi droidzone thanks for your reply could u please maybe help me and tell me the steps to get the log cat i know how to access adb by cmd but thats about it im a noob when it comes to adb commands and dont know much about it and didnt really understand the commands that u asked me to do,do i enter those while in adb or before.
Click to expand...
Click to collapse
Once you open a command line prompt in the folder where adb is installed (or anywhere else, if the file adb.exe is in your Windows path variable-Dont worry about that if you dont know), you can directly type each line of the commands starting from step 2.
Before that, install Notepad+, and associate .txt file to open with it by default..
By the way, you have to start typing those commands directly after rebooting from recovery after installing the Rom..
hi droidzone i have installed notepad++ but dont understand how to install Notepad+, and associate .txt file to open with it by default. also my adb is located in c:\androidsdk\tools that is what i type in cmd to get adb working and if i type adb devices it shows my device.also i typed the commands u gave me once in adb and it says "the process cannot access the file because it is being used by another process."
casanova786 said:
hi droidzone i have installed notepad++ but dont understand how to install Notepad+, and associate .txt file to open with it by default. also my adb is located in c:\androidsdk\tools that is what i type in cmd to get adb working and if i type adb devices it shows my device.
Click to expand...
Click to collapse
Hmm.. I seem to be offering more Windows support than Android!
I meant Notepad+. Hold Shift, rightclick any text file, Choose Open with Notepad+ as default. You can go to your adb folder like you normally do and then type each line I posted and hit Enter after each time. You can also make a batch file with all those commands (search Google for that if you dont know how)
hi thanks i have made notepad+ to open as default but when i type the commands u told me it says "the process cannot access the file because it is being used by another process."
casanova786 said:
hi thanks i have made notepad+ to open as default but when i type the commands u told me it says "the process cannot access the file because it is being used by another process."
Click to expand...
Click to collapse
Hmm yes, that can happen if you have more than one adb.exe process running in the background because you exited it by closing the command shell with the close button instead of typing
Code:
exit
after done with it.
Use Ctrl+Alt+Del or Process Explorer to terminate the background adb.exe processes
Followed all the instructions on team venum's page but cannot get this to work, after searching i found a bunch of fixes which none worked. I placed in system/bin folder and after getting su permission i enter "superfreeze" and it gives me a "superfreeze: Permission denied" same with superdefrost. I tried entering the PM commands myself but at the end i get a "df: /mnt/.lfs: Function not implemented" & "df: /mnt/secure/asec: Permission denied" "[1] killed pm disable com.samsung"
Under the hood:
Calk's 2.8.1 rom
Rouge "hitman" 1.5.0 kernel w/ -75mv
v6 supercharger 1000hp option
for me i manually place all the files where they need to go in my rom the bin files in the bin folder and the system files in the system folder and then i run the superfreeze commane in terminal emulator...which it sounds like u have tried...
what i have noticed is i get permission denied on the things my rom doesnt have and the only one that actually goes through is system update
from my understanding...you really dont need superfreeze...not with calk's rom because everything that it freezes is not included in the rom... calk already removed drm, media hub, social hub, and i believe sns...the only thing im not sure he disabled is system updates...i am currently on a different rom which is why i still get system notification updates...and why this script freezes it...
with all that being said i would assume that the reason this is not working is because there is nothing for it to freeze...calk already removed it...you dont need this script not with calk's rom
Disable Updates
If you just want to disable updates go into terminal emulator and type "su" hit enter, this command gives you super user access. then type "noupdates" this should disable all updates. to enable again just type "update". I hope this helps!
K Ron Hubbard said:
If you just want to disable updates go into terminal emulator and type "su" hit enter, this command gives you super user access. then type "noupdates" this should disable all updates. to enable again just type "update". I hope this helps!
Click to expand...
Click to collapse
sweet dude i hope this works because i just noticed that even though i have updates frozen like i can visually see its frozen....i still get update notifications
after running noupdates
Oh, btw if after running no updates you get the ota update message click accept and then let it try to update. It won't be able to so just reboot your phone and you'll never get that message again.
K Ron Hubbard said:
Oh, btw if after running no updates you get the ota update message click accept and then let it try to update. It won't be able to so just reboot your phone and you'll never get that message again.
Click to expand...
Click to collapse
i tried running the noupdates and it errored out said the file didnt exist any suggestions
can i click on the system update message when system updates are frozen...will that make it go away?
That's strange, when I do it it reads "updates from com.Samsung disabled"
And yes once updates are disabled accept the update it will try to install and then fail.after that you just reboot and you'll never receive the update again.
Sent from my SPH-D710 using XDA App