[Q] How can I remove messages from the phone log? - Captivate Q&A, Help & Troubleshooting

I am on a rooted 2.2 captivate but one thing really bugs me and that is the sms messages in the phone log. I know that on some custom ROM's the developer hs removed them. Cognition comes to mind. But without flashing the whole ROM is there a way to get just that functionality? Like say just replacing the phone.apk?
I have done some searching but have been spectacularly unsuccessful. Thanks for any guidance.

Yes you can just replace the apk however it's not the phone.apk it's the logproviders.apk, grab that from a rom and drop it into /system/app on the phone then reboot.

studacris said:
Yes you can just replace the apk however it's not the phone.apk it's the logproviders.apk, grab that from a rom and drop it into /system/app on the phone then reboot.
Click to expand...
Click to collapse
I was wondering the same thing. Thanks for the answer.
Support getting a solved button on XDA
http://forum.xda-developers.com/showthread.php?t=1178712
This is a signature.

studacris said:
Yes you can just replace the apk however it's not the phone.apk it's the logproviders.apk, grab that from a rom and drop it into /system/app on the phone then reboot.
Click to expand...
Click to collapse
Thank you! I couldn't have hoped for a better answer.

studacris said:
Yes you can just replace the apk however it's not the phone.apk it's the logproviders.apk, grab that from a rom and drop it into /system/app on the phone then reboot.
Click to expand...
Click to collapse
Do I need to do anything about the.odex file? I don't see one in the ROM's I've checked.

You won't find one in the rom its more than likely been deodexed, umm I think you just leave the odex file there.
Rename the original with a .bak at the end before you paste the new one in that way if it doesn't work yo usage a backup of the original.

studacris said:
You won't find one in the rom its more than likely been deodexed, umm I think you just leave the odex file there.
Rename the original with a .bak at the end before you paste the new one in that way if it doesn't work yo usage a backup of the original.
Click to expand...
Click to collapse
I copied in a logprovider file from Cognition... verified that the new file is there. But sadly it looks and acts the same as the old one.
I rebooted as well. Thoughts?

Related

change camera_click.ogg

ok guys.... here is where im at... i wanted to replace the camera click sound to the sound of the camera from texas chainsaw massacre.... i just like the way it sounds... i downloaded the file, converted it to .ogg renamed it camera_click.ogg but i am not sure what to do from here. i know i need to unzip the apk, replace the file, zip it again, and sign the file, but i have no clue where to begin on that. any help would be appreciated guys!
PS- i attached the .ogg file just remove the .zip to listen to it. also, if anyone just wants to try to tackle job that would rock as well
where did the ogg come from? (as in what location)
You should just be able to push it back using the terminal
cp /sdcard/nameoffile.apk /new/location/
AdrianK said:
where did the ogg come from? (as in what location)
You should just be able to push it back using the terminal
cp /sdcard/nameoffile.apk /new/location/
Click to expand...
Click to collapse
the ogg is packed inside of camera.apk----- system/app/camera.apk
inside the apk, it is camera/res/raw/camera_click.ogg
i know i need to replace the .ogg file, once i do this do i just zip it back up, sign and push the new .apk to my phone?
running jacxrom btw
palosjr said:
the ogg is packed inside of camera.apk----- system/app/camera.apk
inside the apk, it is camera/res/raw/camera_click.ogg
i know i need to replace the .ogg file, once i do this do i just zip it back up, sign and push the new .apk to my phone?
running jacxrom btw
Click to expand...
Click to collapse
You may have to re-sign it but you can try as is
borodin1 said:
You may have to re-sign it but you can try as is
Click to expand...
Click to collapse
i want to try it, but im too chickensh** to try it right now, got class in the morning and i dont wanna spend tonight wiping my phone and setting things back up if it doesnt work right lol
question... once i edit the files i need to, i zip back up and it is named as zip... do i just change .zip to .apk and voila its changed and able to push to my phone or am i missing something here?
so i got the file replaced, but when i try to push/install back to my phone through adb i get install parse error. i tried using stericsons autosign util but no luck getting it working on my computer at the moment. if i upload the zip of the camera with the file replaced can someone sign and upload it back here again so i can use it? I would appreciate it.
EDIT---I got it signed and installed, but none of the sounds from the camera app play when i take a picture. Any idea as to why this may be?
palosjr said:
so i got the file replaced, but when i try to push/install back to my phone through adb i get install parse error. i tried using stericsons autosign util but no luck getting it working on my computer at the moment. if i upload the zip of the camera with the file replaced can someone sign and upload it back here again so i can use it? I would appreciate it.
EDIT---I got it signed and installed, but none of the sounds from the camera app play when i take a picture. Any idea as to why this may be?
Click to expand...
Click to collapse
Don't zip it. Open the apk with winrar and drag and drop in the new sound, it should remain as an apk. At this point you can try pushing it as it is. If it doesn't work then sign it, and make sure the method you're using works for apks (some are only for update.zip). If that adds a .zip on the end, remove it.
AdrianK said:
Don't zip it. Open the apk with winrar and drag and drop in the new sound, it should remain as an apk. At this point you can try pushing it as it is. If it doesn't work then sign it, and make sure the method you're using works for apks (some are only for update.zip). If that adds a .zip on the end, remove it.
Click to expand...
Click to collapse
Thanks adriank, that worked so much easier... all the other sounds play except for the new .ogg file i replaced though still.
palosjr said:
Thanks adriank, that worked so much easier... all the other sounds play except for the new .ogg file i replaced though still.
Click to expand...
Click to collapse
Is the new ogg the exact same length and bitrate.
AdrianK said:
Is the new ogg the exact same length and bitrate.
Click to expand...
Click to collapse
no they arent. could that be it?
palosjr said:
no they arent. could that be it?
Click to expand...
Click to collapse
Yeah, I'm 99% sure that the length is the problem, just due to the way the app is programmed to load sounds. Wouldn't hurt to make it the same bit rate.
AdrianK said:
Yeah, I'm 99% sure that the length is the problem, just due to the way the app is programmed to load sounds. Wouldn't hurt to make it the same bit rate.
Click to expand...
Click to collapse
ok ill try it when i get home. im sitting in BCIS right now.. boring

Replacing .apk files?

I would like to use this Phone.apk file in this ROM.
Do I just unzip the ROM, replace the .apk, rezip the ROM, sign the .zip, and flash?
Is there only one Phone.apk file to replace?
Last thing I want is a paper-weight
Thanks!
I just thought of this: could I just install the .apk via a file manager (as long as unknown sources are checked)?
NViouz said:
I would like to use this Phone.apk file in this ROM.
Do I just unzip the ROM, replace the .apk, rezip the ROM, sign the .zip, and flash?
Is there only one Phone.apk file to replace?
Last thing I want is a paper-weight
Thanks!
Click to expand...
Click to collapse
First, you're not going to brick your phone.
Second, I don't know how CSDI works. Try it and find out.
NViouz said:
I just thought of this: could I just install the .apk via a file manager (as long as unknown sources are checked)?
Click to expand...
Click to collapse
No. Maybe if you remount /system in read-write, even then it's probably easier to try it by just replacing and resigning.
I know in donut, you can just replace it without any problems (like other system apps depending on it). Don't know about anything else.
Edit:
1. unzip and copy Phone.apk to /sdcard
2. remount system rw
3. cat /sdcard/Phone.apk > /system/app/Phone.apk
4. rm /system/app/Phone.odex (only do this if there is a Phone.odex file)
Click to expand...
Click to collapse
There's what the thread says about installing it, have you tried? (Nandroid in case that ROM doesn't like it.)

Fascinate Live Wallpapers Leaked

This is great news! Currently you have to flash them, but I'm sure some of you on here would know how to make them downloadable on this forum for us or straight from the android market itself.
You can read all about the article here
Also, download the files to be flashed right here
Anyone think they can make these downloadable instead of having to flash them to have them?
ATTENTION!
Some people are having problems flashing this. Luckily Xfactor520 created another method.
"update.zip method didnt work neither did installing .apk ...i got them working on my captivate by copying lib to system/lib and the apks to data/app with root explorer.
then they work fine."
I tried flashing these, but nothing happened. Is there a trick to getting them to show up?
Aphex13 said:
I tried flashing these, but nothing happened. Is there a trick to getting them to show up?
Click to expand...
Click to collapse
Well there is a lot of little stuff you need to be careful of.
for instance "unplug the USB cable during this step, as some users are reporting problems flashing recovery while plugged in"
Its pretty straight forward as I can tell, its like flashing anything else.
Just follow every step precisely and you will get the result you are looking for. It took me a few tries to do it right. I got a little frustrated and didn't give up, but now I have these wonderful new live backgrounds
Read through the comments on the guide's website, there were a lot of questions asked and they were answered, maybe it will help you
Aphex13 said:
I tried flashing these, but nothing happened. Is there a trick to getting them to show up?
Click to expand...
Click to collapse
update.zip method didnt work neither did installing .apk ...i got them working on my captivate by copying lib to system/lib and the apks to data/app with root explorer.
then they work fine.
xfactor520 said:
update.zip method didnt work neither did installing .apk ...i got them working on my captivate by copying lib to system/lib and the apks to data/app with root explorer.
then they work fine.
Click to expand...
Click to collapse
I can confirm that your method works, and I would say yours is the best! Good find
xfactor520 said:
update.zip method didnt work neither did installing .apk ...i got them working on my captivate by copying lib to system/lib and the apks to data/app with root explorer.
then they work fine.
Click to expand...
Click to collapse
This way worked for me. Thx.
xfactor520 said:
update.zip method didnt work neither did installing .apk ...i got them working on my captivate by copying lib to system/lib and the apks to data/app with root explorer.
then they work fine.
Click to expand...
Click to collapse
so you just do this WITHOUT flashing, correct?
Aftashok said:
so you just do this WITHOUT flashing, correct?
Click to expand...
Click to collapse
yes sir. Just unpack the .zip and put the folder on your sd card and copy the lib into system/lib and copy the apks into data/app
xfactor520 said:
yes sir. Just unpack the .zip and put the folder on your sd card and copy the lib into system/lib and copy the apks into data/app
Click to expand...
Click to collapse
Yes this works great....
I installed these with root explorer like you all are doing. They appear in the live wallpaper list but when I open them they give me force closes. Anyone know what I'm doing wrong?
edit: nevermind, apparently the lib file didnt copy right. working great

Battery Icon

Can I change the battery icon in the notification bar? I have a Captivate with 2.2 and rooted.
Yes you can... search the forums for framework-res.apk you can modify that to put the icon you want... make sure you replace files within your ROMS framework-res.apk else you will get into trouble!!
Thanks, I will see if I can do this.
And don't forget to back up the original framework-res.apk so if you mess something up you can push the original back and all will be well.
Check out this site. circle.glx.nl I've used it a number of times to make battery icon changes. Only requirement is that you do NOT have a highly customized framework-res.apk You can also add your own boot animations. The rest of the kitchen isn't usable for our phones though. It's pretty straightforward.
rob989_69 said:
Check out this site. circle.glx.nl I've used it a number of times to make battery icon changes. Only requirement is that you do NOT have a highly customized framework-res.apk You can also add your own boot animations. The rest of the kitchen isn't usable for our phones though. It's pretty straightforward.
Click to expand...
Click to collapse
If the theme is properly created it should still work in the UOT kitchen.
I was hoping after rooting I could change the battery icon easily, but I noticed the note about not working with stock "odexed" roms... which I run. Does anyone have info on how to de-odex the framework-res.apk so that I could just replace the battery icon?
It's literally the only mod I'm really interested in doing since I hate how (even in pics of 2.3) they don't show the battery % which I would think to be a very basic feature people would want!
On my rooted captivate on Rogers 2.2 I did install a battery icon change appt now the phone turns into an vibrator and black screen, any help to bring it back to life.
chickennoodle said:
On my rooted captivate on Rogers 2.2 I did install a battery icon change appt now the phone turns into an vibrator and black screen, any help to bring it back to life.
Click to expand...
Click to collapse
Do you have a back up of the original framework-res.apk ???
I have backup all my apps a couple days ago through titanium but now I can't even access to my phone v my pc.
It's literally the only mod I'm really interested in doing since I hate how (even in pics of 2.3) they don't show the battery % which I would think to be a very basic feature people would want!
Click to expand...
Click to collapse
If you would go through adding this, then why don't you pick a new ROM that has it included? Cog v3.04 has it on my phone, and my guess is that it is just as easy to flash a new ROM as it is to change up your battery icon. PLUS...you get the benefits of a new ROM too! Just my two cents.....
sethjamto said:
If you would go through adding this, then why don't you pick a new ROM that has it included? Cog v3.04 has it on my phone, and my guess is that it is just as easy to flash a new ROM as it is to change up your battery icon. PLUS...you get the benefits of a new ROM too! Just my two cents.....
Click to expand...
Click to collapse
In my past experience with custom ROMs, it seems that the developers like to toss in too much of their own "personal taste" that I usually don't like. I rather like the setup of the stock Rogers ROM I'm using - I just wish they'd upgrade to 2.3 or whatever the current version is now.
I will admit, the more time it takes before any news of Rogers updating this phone, the more appealing looking in to custom ROMs is becoming.
Besides, going with a new rom containing the mods I'm interested in doesn't help me learn how to do them myself ;P
is there any update on this? does anyone know how to do it and want to help me out? so basically i went back to stock rooted 2.2 kb1 and now i just want to change the battery icon.
the UOT kitchen will work with 2.2 stock. I have tried it.
http://uot.dakra.lt/
you will need something like Root Explorer to extract the framework-res file then it will work.
jack man said:
the UOT kitchen will work with 2.2 stock. I have tried it.
http://uot.dakra.lt/
you will need something like Root Explorer to extract the framework-res file then it will work.
Click to expand...
Click to collapse
so it root explorer i go to /system/framework and copy twframework-res.apk? and i upload that to the Uot kitchen?
Then how would you install it? do i just need to replace the old apk. with the new apk? im waiting for it to be cooked.
ok i got the .zip file and it contains a framework folder and a META-INF folder. what should i do from here? TIA!!!
smanzor88 said:
so it root explorer i go to /system/framework and copy twframework-res.apk? and i upload that to the Uot kitchen?
Then how would you install it? do i just need to replace the old apk. with the new apk? im waiting for it to be cooked.
ok i got the .zip file and it contains a framework folder and a META-INF folder. what should i do from here? TIA!!!
Click to expand...
Click to collapse
Dont use the TWFramwork-res.apk. You should be using a file called framework-res.apk.
Should be the framework-res.apk in the system/framework/framewwork. When you go to the kitchen, choose your battery mod. If you do a custom design, make sure you click "generate preview" to make sure it's what you want. remember you can change the colors of the battery mod near the bottom.
You can upload the file on the File Upload tab. click system files, and upload it using the first option. I tried doing a boot animation on stock 2.2 but I couldn't get it to work. I just used the battery mod for stock. I also did NOT change any of the options on the file upload page, and it worked fine.
When done with editing the battery options and uploading file, click summary tab at far right. It will show the options you chose. If anything is highlighted red, there are errors.
When you submit it, it will give you your order number and tell you to go to the pickup page. When your order shows up on that page, just download the zip, and install it though ClockWorkMod. If you don't have CWM, you will need it, obviouosly. Find it on the forums if you dont have it. And if you're on 2.2 without CWM, then you will need to read about getting past 3e recovery so you can install zips through recovery. If you're not famiiliar with all this, it will be a little confusing at first.
Hope this helps.
jack man said:
Dont use the TWFramwork-res.apk. You should be using a file called framework-res.apk.
Should be the framework-res.apk in the system/framework/framewwork. When you go to the kitchen, choose your battery mod. If you do a custom design, make sure you click "generate preview" to make sure it's what you want. remember you can change the colors of the battery mod near the bottom.
You can upload the file on the File Upload tab. click system files, and upload it using the first option. I tried doing a boot animation on stock 2.2 but I couldn't get it to work. I just used the battery mod for stock. I also did NOT change any of the options on the file upload page, and it worked fine.
When done with editing the battery options and uploading file, click summary tab at far right. It will show the options you chose. If anything is highlighted red, there are errors.
When you submit it, it will give you your order number and tell you to go to the pickup page. When your order shows up on that page, just download the zip, and install it though ClockWorkMod. If you don't have CWM, you will need it, obviouosly. Find it on the forums if you dont have it.
Hope this helps.
Click to expand...
Click to collapse
does animated battery icons work? have you tried it?
smanzor88 said:
does animated battery icons work? have you tried it?
Click to expand...
Click to collapse
I havent tried all of the battery choices, but if it works with one, it should work with all of them.
IMPORTANT: remember to save a copy of your original framework-res.apk incase something goes wrong with the custome ones.
Updated uot
in the updated UOT kitchen it says it supports touchwiz based roms....should i upload framework.apk and twframework.apk?

[Q] Kitchen - problem flashing

i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
marchking said:
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
Click to expand...
Click to collapse
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
maximo360 said:
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
Click to expand...
Click to collapse
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
marchking said:
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
Click to expand...
Click to collapse
You should just do what LDrifta said if your still having problems.
OH and regarding the update-script, heres your answer straight from the op of the kitchen:
QUESTION: Why do I need to convert the ROM's updater-script to an update-script when using the kitchen?
The kitchen can only perform operations on an update-script. UpdateR-scripts are too complicated to check because there are so many combinations of parameters for every command and for different devices; plus they can be written in different formatting styles. Thus the kitchen converts them to update-script so that there is one universal method to modify any device's configuration. If we didn't convert the updater-script then it would take months of work to overhaul the dozens of scripts (plus doubling my work) to accept updater-scripts, which would really NOT make a difference in the end anyway and would likely slow down the kitchen due to extra checks made in the updater-script. So please do not request this again and again, there is no gain in doing it (I also don't have that much free time ...).
When you build the ROM you have the option of converting it back to an updater-script, or the kitchen will convert it automatically if it decides it's necessary. The conversion back to the original updater-script is near-perfect, as I have already spent months on the implementation to get it right.
QUESTION: I have converted my update-script to an updater-script, but after flashing I still have the original ROM on the device.
That means your updater-script did not have the proper mount points defined for the system (and/or data) partition. Refer to this post for more info.
QUESTION: My device only supports ROMs with the updater-script/update-binary files but not the update-script
If you extract a ROM that contains an updater-script, then the kitchen will ask you if it should convert it to an update-script. You *must* use an update-script while customizing the ROM, as the kitchen is not capable of modifying updater-scripts. When you are ready to build the ROM, though, you will need to convert it back to an updater-script if the device requires it. Use the option in the Advanced menu to convert update-script to updater-script, or else the kitchen will ask you to convert it while building the ROM.
Click to expand...
Click to collapse
ldrifta said:
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
Click to expand...
Click to collapse
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
ok well depending on what apk's you are putting in.. if they are system required like a sense app.. it wont work on a froyo base rom.. but if its something like superuser or mail or something and is compatible with your rom than put it in system/app folder.. if its something that you want the choice to uninstall later on like a 'task killer' apk or something, place it in data/app folder..
and to sign it you dont need kitchen, you can download an auto-sign.zip file for windows here on xda.. all you do is unzip it directly to C: drive, place zip file in filder rename it to 'update.zip' than run the 'sign.bat' and it will sign the zip file. than you can flash it
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
maximo360 said:
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
Click to expand...
Click to collapse
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
marchking said:
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
Click to expand...
Click to collapse
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
maximo360 said:
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
marchking said:
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
Click to expand...
Click to collapse
sign them using the sign apk/zip command in the kitchen
maximo360 said:
sign them using the sign apk/zip command in the kitchen
Click to expand...
Click to collapse
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
marchking said:
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
Click to expand...
Click to collapse
I read the thread, and he said he dropped some of the phones he was porting miui for, he was still doing the eris/hero. So seems to me he maybe dropped the g1, not sure tho. I guess you're gonna have to wait til either delsa is done porting it to the g1 or drakko.
Sent from my COS-DS using XDA App

Categories

Resources