Adding notifications - G1 Q&A, Help & Troubleshooting

I found several post telling how to add notifications to the g1 but im just wondering is this not possible with cyn's 4.0.2 Rom?

softwhitewolf said:
I found several post telling how to add notifications to the g1 but im just wondering is this not possible with cyn's 4.0.2 Rom?
Click to expand...
Click to collapse
can you clarify that? .. what do you mean by 'notifications'?

text,email,alarms

umm... idk if I'm missing something, but those are standard.
Atleast I've been getting them on my phone with Cyan.

ok let me explain this... There is 1 Notification sound for the rom. I would like to add more then 1. The single one there is "look at me" I would like to make it where there is more then just that one. Is this possible by adding certin files/folders to sd or browsing the systems files.

Notifications are stored internally at "sytem/media/audio/notifications/".
But you can make a "media/audio/notifications" folder on your sd card and put your notifications there, and they will show up when you go to pick a notification sound.

ffff00 said:
Notifications are stored internally at "sytem/media/audio/notifications/".
But you can make a "media/audio/notifications" folder on your sd card and put your notifications there, and they will show up when you go to pick a notification sound.
Click to expand...
Click to collapse
I did this but they do not show up.. that's what i can not figure out

Is the system folder at the root of your sd? Are the folders spelled correct?
If it doesn't work, than you can always push them to the internal memory.
Other than that, idk.

ffff00 said:
Is the system folder at the root of your sd? Are the folders spelled correct?
If it doesn't work, than you can always push them to the internal memory.
Other than that, idk.
Click to expand...
Click to collapse
system folder as in "media/audio/notifications"? if that then yes. How would i push it to internal?

i tried to move the file via androzip to the media folder in system but it told me that it was restricted.

Do you have adb set up?
If so,
adb remount
adb push filename /system/media/audio/notifications/

ffff00 said:
Do you have adb set up?
If so,
adb remount
adb push filename /system/media/audio/notifications/
Click to expand...
Click to collapse
nvm i got it ,Thanks for your help man!

Related

SOLVED - Pull an APK from unrooted phone

I have a Motorola Cliq, Also a G1. I was wondering. Is there a way to pull an APK from an unrooted phone? I can "adb shell" into the phone and look at it's contents. I see the APK i want to copy but since i don't have root, it says "CP Permission Denied"... Is there a way of pulling or copying an APK if the phone is not rooted???
Did you try adb remount first?
Karolis said:
Did you try adb remount first?
Click to expand...
Click to collapse
yes, I tried ADB remount but it doesn't work... I can do adb devices and it'll show but it won't mount it as rw... it just lists the contents but can't copy,move,pull or push.
Where is the apk located? If it's in /system and it's read-only in theory you should still be able to pull it. Don't know why you're using 'cp' rather than adb pull.. If it's in data/app-private then no you won't be able to pull it. Hence the ADP1 has root but can't download paid apps (to prevent piracy)..
Solved
I tried CP, MV, PULL, PUSH... nothing worked because the phone is not rooted... BUT I SOLVED THE PROBLEM!
Here's what my goal was. My wife got a Motorola Cliq. It came with the TeleNav program and i wanted to put it on my G1... I couldn't get it out because the phone's not rooted....
I fixed the problem though...
I installed ASTRO File Manager on the Motorola Cliq, located the APK and used the e-mail option to e-mail it to myself... that actually worked... woot woot!
Installed it on the G1 and it works like a charm... so now I have Turn by Turn directions on my G1.
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
jbearamus said:
follow up question because i'm attempting to do the same thing, just trying to extract the apk. where exactly did you find that file using astro, i've been looking but haven't seen it
Click to expand...
Click to collapse
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Ooglez said:
Apps should be in /data/app.
Also, you could have used ADB
Code:
adb pull /data/app/app.to.pull.apk C:\apps
Click to expand...
Click to collapse
now i understand the fact that i have a different device may screw things up, but when i look in the data file it says "directory is empty" and when i executed that command via cmd prompt it says remote object...does not exist
the new google maps in market hs turn by turns as well...
Problem solved through other means, thanks for the help!

please help me here

outa boredem i decied to try apps 2 sd and i did the partion stuff (with ext2 to 3) and then went to dconfig(damge control) and did the apps2sd save and all now i wont to use my apps but i dont know how and dont have android sd installed because i keep getting errors and dont know how to get my apps back or cant download from market and nadroid wont let me nadroid soooooo what do i do??
Yeah the DCconfig is kinda buggy right now. What I would suggest is set the DCconfig back to the no A2SD and then get anything off of your SD that you need then wipe the SD and then reformat it to FAT. Hope that helps
Thomas1218 said:
Yeah the DCconfig is kinda buggy right now. What I would suggest is set the DCconfig back to the no A2SD and then get anything off of your SD that you need then wipe the SD and then reformat it to FAT. Hope that helps
Click to expand...
Click to collapse
how...lol(oblivious expanding my knowledge AND NOT WORKING lol)
try to do UID fix in Recovery under Other
1.Plug your phone into your computer and copy all of your essential files to your desktop.
2.Set the DCconfig back to the default with no A2SD enabled
3.Go to Menu-settings-sd card & phone storage-press then press unmount sdcard then "Format SD card"
Jus10o said:
try to do UID fix in Recovery under Other
Click to expand...
Click to collapse
didnt work now i have market as THIS APP IS NO LONGER INSTALLED ON YOUR PHONE...
rulyskull said:
didnt work now i have market as THIS APP IS NO LONGER INSTALLED ON YOUR PHONE...
Click to expand...
Click to collapse
This happened to me i ended up just formating my sd and reflashing my rom(i was using fresh)
rulyskull said:
didnt work now i have market as THIS APP IS NO LONGER INSTALLED ON YOUR PHONE...
Click to expand...
Click to collapse
cuz market moves to sdcard when using a2sd, I dont know why..
Something definitely went wrong when moving the files to your sd card.
Type this on the computer
adb shell
cd /system/sd/app
ls
If you see a list of apps, then your apps are on your sdcard.
If your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
If your apps are not there or you dont have the directory /system/sd/app then create the folder yourself. Reboot your phone and see if anything works
adb shell
mkdir /system/sd/app
Jus10o said:
cuz market moves to sdcard when using a2sd, I dont know why..
Something definitely went wrong when moving the files to your sd card.
Type this on the computer
adb shell
cd /system/sd/app
ls
If you see a list of apps, then your apps are on your sdcard.
If your Apps are there, then in Recovery you can move apps to fat32 sdcard.
You can then format your sdcard, just repartition it using Recovery, just repeat the process, it erases everything of the card. So do Usb toggle in Recovery, move all your stuff and apps you just backed up to your computer and then after you format it, move all of it back and then do the Restore apps back to ext partition or whatever it says.
If your apps are not there or you dont have the directory /system/sd/app then create the folder yourself. Reboot your phone and see if anything works
adb shell
mkdir /system/sd/app
Click to expand...
Click to collapse
my computer wont let me install sdk (it wont show packages availe for download)
rulyskull said:
my computer wont let me install sdk (it wont show packages availe for download)
Click to expand...
Click to collapse
You have to go to setting and click on force download.. Or whatever the check box says.. Ill double check
Edit: Its "force htt://blah blah" it should then show up in downloads.
Jus10o said:
You have to go to setting and click on force download.. Or whatever the check box says.. Ill double check
Edit: Its "force htt://blah blah" it should then show up in downloads.
Click to expand...
Click to collapse
now what? were do i type the commands?
rulyskull said:
now what? were do i type the commands?
Click to expand...
Click to collapse
In to command prompt (assuming you run windows)
go to start at the bottom left (i hope you know start on windows)
run "cmd"
when that comes up type
cd\
cd /android-sdk/tools (Or the folder you installed everything to and names)
adb remount
blah blah and everything else i said to type, i dont remember
One question? how did you root your phone without having android/tools? Im guessing using the flash app on the phone??
Jus10o said:
In to command prompt (assuming you run windows)
go to start at the bottom left (i hope you know start on windows)
run "cmd"
when that comes up type
cd\
cd /android-sdk/tools (Or the folder you installed everything to and names)
adb remount
blah blah and everything else i said to type, i dont remember
One question? how did you root your phone without having android/tools? Im guessing using the flash app on the phone??
Click to expand...
Click to collapse
used very first kitchen (pre-kitchen) and did auto root from there on been flashing and playing with EVERYTHING but thanks for this this really helped if theres anything eles ill pm you one of my ims and sorry for the headack i probally gave you!
No headache.. I used to not know what everything meant also.
But im the type to never ask for help and try to figure it out on my own. Yet im always willing to help the best i can. Im no expert though so I cant answer everyones questions.
Jus10o said:
No headache.. I used to not know what everything meant also.
But im the type to never ask for help and try to figure it out on my own. Yet im always willing to help the best i can. Im no expert though so I cant answer everyones questions.
Click to expand...
Click to collapse
ok well thank you and i don't like to ask either but this one got me and this is giving me a headache it keeps saying the path can not be found i tried many different ways (folder paths) but it keeps saying that and im on vista and i seen what it said when i clicked on all including tools and typed thaT and still no
rulyskull said:
ok well thank you and i don't like to ask either but this one got me and this is giving me a headache it keeps saying the path can not be found i tried many different ways (folder paths) but it keeps saying that and im on vista and i seen what it said when i clicked on all including tools and typed thaT and still no
Click to expand...
Click to collapse
Well go to start > computer> c:/ drive
Find the android folder you created.. You can rename it to "android".
When typing in cmd when it first opens type
cd/
then type
cd /android/tools/
If you renamed your folder to android.
wait so if i go to dconfig and turn off a2sd do the apps auto go back to the phone, or what happs there cause i feel like when i use a2sd i feel like my phone is kinda laggy
Jus10o said:
Well go to start > computer> c:/ drive
Find the android folder you created.. You can rename it to "android".
When typing in cmd when it first opens type
cd/
then type
cd /android/tools/
If you renamed your folder to android.
Click to expand...
Click to collapse
ok so i had a retard move and didnt place it in the c drive lol sorry my bad but now when i do it it says phone not found so do i do htc sync(because i cant mine got infected by a virus so if i luge my phone it idk what will happen) but if i do ll need to do it on a freinds computer BUT I FIGURED IT OUT!!....sorta

[Q] Double Image in Gallery

Hi there..
I update my SGS to Froyo last 2 days.. and yesterday I apply Voodoo 5 on it.
But today I just noticed that any images from my external SD will appear double in gallery.. dunno when it started to happen.. is there any way to fix this?
thanks
Im my case was 5 for each original, and with a lot of problems to delete the "non-real" ones...
thats hurt.. anyone can help here?
Yup! Just go to Application Manager, then easily clear cache for Media Storage! Ta-Da! No more duplicate images!
(It made my ringtones reset, but I could live with it!)
Eienkei said:
Yup! Just go to Application Manager, then easily clear cache for Media Storage! Ta-Da! No more duplicate images!
(It made my ringtones reset, but I could live with it!)
Click to expand...
Click to collapse
thanks for suggesting.. but it still appear double..
crap.. now i'm also lost all my ringtone
Got a Mac? It happened for me when Spotlight indexed my storage after mounting it one day. I used root explorer to delete all the Spotlight files.
Don't have a Mac but i will try use the root explorer like u said..
Hello, i got the same problem, what i have noticed is that a clone of my sdcards is found at /sdcard/ and the original is at /mnt/sdcard/ have not tried to delete /sdcard/ yet since i want to backup my external one before, but i will tell you how it went.
is FROYO 2.2 officially available in INDIAfor samsung Galaxy S.can any one confirm please?
If you have Root Explorer
GO into /dbdata/databases/com.android.providers.media
and delete both the internal and external files
Reboot
elhpianist said:
If you have Root Explorer
GO into /dbdata/databases/com.android.providers.media
and delete both the internal and external files
Reboot
Click to expand...
Click to collapse
Great hint, just wondering though if there is any way to have an app or script run at boot-up to do this for you, so people don't have to do it manually every time their gallery has a fit?

[Q] ClockPackage on di11igaf's

Issue 1: I'm trying to install ClockPackage.apk, Gallery3D.apk, MyFiles.apk in order to have the stock clock. I keep getting the error "Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]" when i try to use the command adb install (any of the 3).apk. I have also tried "adb push" which doesn't seem like a valid command. I tried moving the 3 apk files to my sd card on the phone and using "installer" and "eoeAppinstaller" from the market and these fail as well. Any more suggestions? I really like this di11igaf's ROM, but I cannot stand the new alarm ( i like the gradual volume increase of the stock). I have tried a couple of market clocks, but they just didn't work for me. Thank you very much in advance.
Issue 2: If I use CWM and choose Reboot into Recovery i get the following:
Android system recovery <3e>
Samsung Recovery Utils
- for BML -
Enter OK Key, Select : Vol UP / Vol Down
reboot system now
apply sdcard:update.zip
wipe data/factory reset
wipe cache partition
format internal sd card
update media, please wait
update media finished
-- Install from package...
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
-- Applying Multi-CSC...
Installing Multi-CSC
(in red)
Installation aborted
At this point I can use the volume buttons to scroll up and down, but the power button will not select anything. The only thing I can do is remove the battery and boot the phone back up, which then takes me into CWM recovery v2.5.1.0. I was able to install the di11i add on, but I don't think that I'm supposed to be pulling the battery to get to this point.
Thanks again and sorry about the long post.
Im no expert on this type of stuff but I use di11i roms and I just transfer apk's to the root of the phone through the regular mass storage mode and use root explorer for the rest.Havent had any problems yet.
As for issue 2 is the package a .zip file? If not that may or may not be the problem.
From my own personal experience the 3dapp isn't sign so I can't install it too
System apps are best copied manually into the /system/app folder using app like root explorer. Make sure the folder is in r/w mode.
diablo009 said:
System apps are best copied manually into the /system/app folder using app like root explorer. Make sure the folder is in r/w mode.
Click to expand...
Click to collapse
+1 you can simply use root explorer to copy the apk files into \system\app folder. quick and easy.
booty hater said:
As for issue 2 is the package a .zip file? If not that may or may not be the problem.
Click to expand...
Click to collapse
It is a zip file and it installed. What concerned me was the process. Should it have frozen up like that and forced a battery pull? Nothing I've read leads me to believe that was proper behavior of the CWM.
diablo009 said:
System apps are best copied manually into the /system/app folder using app like root explorer. Make sure the folder is in r/w mode.
Click to expand...
Click to collapse
I don't have that directory. Are you creating it on the phone and then putting the files into it? I may have not been clear on what I am trying to do. I am trying to do what was posted in this forum http://forum.xda-developers.com/showthread.php?p=11207089&highlight=clockpackage#post11207089 posts #2515
I just looked into exactly what you were talking about and I got it figured out.It wasnt installing for me either but this is what I did and it works now.
Through mass storage mode I copied the 3 files to the root of the card.
Then I moved the files to the app folder which is inside the system folder.
I use root explorer for the moving.
When you move them into the app folder its gonna ask to overwrite say yes.
After you get everything moved it will work if you go to the app in the drawer.I never actually installed anything but did an overwrite.
booty hater said:
I never actually installed anything but did an overwrite.
Click to expand...
Click to collapse
Right. Apps in the system/app folder are auto-picked up
supervg3 said:
I don't have that directory. Are you creating it on the phone and then putting the files into it? I may have not been clear on what I am trying to do. I am trying to do what was posted in this forum http://forum.xda-developers.com/showthread.php?p=11207089&highlight=clockpackage#post11207089 posts #2515
Click to expand...
Click to collapse
u cannot see it in my files. u need to have root access, and something like root explorer.
So it looks like I could have just copied and pasted the files from the sdcard/Clock folder I placed them in to the /system/app folder using Super Manager. I swear I tried that and it failed before I went through all the crappy steps below. Oh well.
Ok this is going to sound pretty cheap, but I didn't want to pay the ~$4.02 for an ap that I was going to use three times. I did find another way. I used Super Manager and http://forum.xda-developers.com/showthread.php?t=877316&highlight=installing+apk post #3.
So for any other cheapskates out there.
1. Install Super Manager on phone
2. Install ADB on pc
3. Connect phone to pc and copy the three files ClockPackage.apk, Gallery3D.apk, and MyFiles.apk to the sd card. (I just drag and dropped in windows explorer)
4. Use Super Manager to move to /system/app/ and rename the existing file Gallery3D.apk (I renamed it to Gallery3D.old)
5. Use adb to copy the 3 files from the directory in which you originally placed them on the phone to /system/app/
in adb type:
adb shell
su
(accept the prompt on your screen)
cd /sdcard/whereveryoustuckfile
cp blahblahblah.apk /system/app/ (the red from Pirateghost).
6. Reboot
The clock and alarm work fine, but I cannot get Daily briefing option in alarm to work. I get a FC. I did install the "apk add on pack for 5.6" post 3 of http://forum.xda-developers.com/showthread.php?t=897416 , but I dont think Daily Briefing was included in that. Any suggestions? And one last thing - what is the di11iBrowserfix.zip from post 3 of the thread above for? Thanks again to all who contributed.
I got the daily briefing working. Everything is almost perfect, but I would like two things still.
1. Is there anyway to change the tune that is played when you have smart alarm selected? I have a different tone selected, but I think once you select smart alarm it defaults to that new age tone.
2. My alarm goes off, I stop it, but then I have to unlock it before I see the daily briefing. Can anyone think of a way to have the phone unlock when I turn off the alarm. I know it is so insignificant, but it used to do that when it was stock and it was pretty cool.
Come one guys and gals - don't make me figure this one out by myself j/k but seriously I have surprised myself already by getting this far and I really don't have skill or knowledge for the last two things. I'm learning though....slowly.
Thread etiquette
Did I do something wrong here? I got some really quick responses to my questions before, but nothing on my latest. I ask this next question with all seriousness - should I have started a new thread since it's kind of a new topic? No worries either way, I just want to post in the the most effective way. Thanks. BTW, my phone is working great. I'm getting ready to install 6.0 GPS is a little screwy - often has me west of my location by about 30 meters by I attribute that to the phones hardware. Other than that I have no complaints (except for the lame smart alarm tune)
diablo009 said:
Right. Apps in the system/app folder are auto-picked up
Click to expand...
Click to collapse
Diablo, I know this totally off topic and I´m sorry, but I´ve just seen your signature and noticed you run di11igaf´s 6.0 on Glitterballs and as I´m not able to post on development yet, here´s my question:
Will I have too much trouble on flashing another kernel over the di11picKle? I was happy with speedmod + jk4... that was the best working config for me so far...
Just keep in mind I´m a noob
ddoubt said:
Diablo, I know this totally off topic and I´m sorry, but I´ve just seen your signature and noticed you run di11igaf´s 6.0 on Glitterballs and as I´m not able to post on development yet, here´s my question:
Will I have too much trouble on flashing another kernel over the di11picKle? I was happy with speedmod + jk4... that was the best working config for me so far...
Just keep in mind I´m a noob
Click to expand...
Click to collapse
you should start a topic instead append to other's topic.
you can flash any kernel/modem using CWM, just make sure it is i9000's.
ddoubt said:
Diablo, I know this totally off topic and I´m sorry, but I´ve just seen your signature and noticed you run di11igaf´s 6.0 on Glitterballs and as I´m not able to post on development yet, here´s my question:
Will I have too much trouble on flashing another kernel over the di11picKle? I was happy with speedmod + jk4... that was the best working config for me so far...
Just keep in mind I´m a noob
Click to expand...
Click to collapse
Nope. Get the CWM flashable zip, and copy to ur sdcard. Then go to CWM recovery console, and install this zip. Reboot.
But, please take a nandroid backup, and try to avoid OC kernels if u r unsure ur phone can handle it. Phones freeze when tried to oc beyond their capability.
diablo009 said:
Nope. Get the CWM flashable zip, and copy to ur sdcard. Then go to CWM recovery console, and install this zip. Reboot.
But, please take a nandroid backup, and try to avoid OC kernels if u r unsure ur phone can handle it. Phones freeze when tried to oc beyond their capability.
Click to expand...
Click to collapse
Thanks for the info and sorry for appending to this topic!

[Q] Notification sounds not listed

I've put a variety of mp3 files into the /sdcard/Notifications/ directory on my phone however they are not listed in the Notification sounds list. I'm using an HTC One with Android Revolution ROM if that matters.
Any ideas on how to get them to show up?
prng said:
I've put a variety of mp3 files into the /sdcard/Notifications/ directory on my phone however they are not listed in the Notification sounds list. I'm using an HTC One with Android Revolution ROM if that matters.
Any ideas on how to get them to show up?
Click to expand...
Click to collapse
Try the media/audio/notification folder.
Rex2369 said:
Try the media/audio/notification folder.
Click to expand...
Click to collapse
I tried that and rebooted but they did not show up. Any other locations I should try?
prng said:
I tried that and rebooted but they did not show up. Any other locations I should try?
Click to expand...
Click to collapse
What format is the notification? If it's mp3 it should show up.
prng said:
I've put a variety of mp3 files into the /sdcard/Notifications/ directory on my phone however they are not listed in the Notification sounds list. I'm using an HTC One with Android Revolution ROM if that matters.
Any ideas on how to get them to show up?
Click to expand...
Click to collapse
You need to place them in /system/media/audio/notifications and then chmod 755
MacHackz said:
You need to place them in /system/media/audio/notifications and then chmod 755
Click to expand...
Click to collapse
There's no way to leave it on the virtual SD card or in a "user" directory? I did it with /sdcard/Ringtones and those worked fine. Are notifications done differently?
prng said:
There's no way to leave it on the virtual SD card or in a "user" directory? I did it with /sdcard/Ringtones and those worked fine. Are notifications done differently?
Click to expand...
Click to collapse
I am not too sure about that, it will definitely work in that directory stated though. If you aren't rooted then I can't help too much
I'm not rooted and I have placed ringtones and notification in the media/audionotification folder and ringtone folder when I plug in my phone to my PC and they all show up. But mind you the mp3 I use are small. If I try to put a whole track or song of mp3 it won't show in my list.
Ignore the last sentence I just placed a track in my ringtone folder and it showed up in my list.

Categories

Resources