yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] stellarman:
Cyanogen's ROMS come with only one or two ringtones and notifications in /system/media. As a result, almost everyone who uses CM has put the media folder and its contents on the /SDCARD, usually in /SDCARD/media. Android automatically will find them there and add them to the available ringtones. I found that I had duplicates because I had another, older media file in the /sdcard/music folder where I keep my MP3 music. And, when I moved my /media folder to /system/sd/media, I found that the ringtones and notifcations were doubled or tripled in the selection screen because Android was 1) finding them in /system/sd/media, and 2) also still finding them in the /sdcard/media and/or sdcard/music folders. The solution for me (and probably for you) was to find the duplicates on the /sdcard partition and rename or remove them.

The user init file will not move your media from /sdcard/media to /system/sd/media. It only moved stuff from /system/media to /system/sd/media. You will need to move the media from /sdcard/media manually. At least I did.

BTW: Android will find the ringtones and notifications folders (or the audio folder that contains them) even if they are located in a folder that is not named 'media'. If you want to rename instead of remove, to get rid of the duplicates, you will need to rename ALL of the folders: ringtones, notifications, and alarms. Otherwise, the duplicates will continue to show up (...which drove me crazy for a while until I figured it out).

If you need help making that move, send me a PM.

Everyone else: Sorry for the Off Topic post, but I am just trying to help. He started it. ;)
[G1 Android Development] mpusatera:
I flashed this and it stuck on the android screen. going back to 3.6.8.1 (nandroid), but android screen is taking forever to load. Anyone else have this issue?
[G1 Android Development] zimphishmonger:
That is incorrect. Even on 3g, you cannot access data while making a phone call. Try opening google maps while on thew phone, I deal w this everyday while in traffic. It makes sense as the cell radio is used for both data and phone calls, however, wifi might work on a phone call as it is a completely different chip. Anyone try that?
[G1 Android Development] Bavilo:
You probably didn't let it load long enough or you did something wrong. Did you perform a wipe before flashing the rom?
[G1 Android Development] temporizer:
This is correct. while browsing the internet through 3g you are UNABLE to place a call. If you are browsing through wifi as opposed to 3g, the phone calls will work. I called t-mobile and got this information. If you are able to call and browse on 3g, then don't complain. lol
[G1 Android Development] mpusatera:
I let it load for a long time. Do I need to wipe? If I'm going to wipe, how can i use nandroid?
[G1 Android Development] bhilgeman:
nandroid won't help you recovery your lost info on a wipe. You need a backup app to do that..

if you want to use nandroid you should re-flash 3.6.8.1, then do a nandroid backup from recovery, then flash 3.9.7. If all works well you're good, if it still doesn't work you can nandroid back to 3.6.8.1

To use nandroid power down, hold home and power up. Now you have an option to do a nandroid backup. If you're using recovery 1.3 you will have to use fastboot to reflash a nandroid recovery, if you're using 1.4 you can use the nandroid restore option.
[G1 Android Development] mpusatera:
That is what I did:

- was working with 3.6.8.1

- booted to recovery and did nandroid backup

- updated to 3.9.7

- reboot

- sits @ android screen (looks like it tries stalls the animation every once in a while)

- reboot to recovery

- recover with nandroid (i'm on 1.4)

- same as above (sits @ android screen)
[G1 Android Development] prash:
Give it at least 10-15 mins at the android screen. I know even 5 minutes seem like such a long time, but I noticed after I restored it took a while as well. But let it do its thing, and don't get impatient with it. If you have adb running you can plug it in and do 'adb logcat' to see whats it doing behind the scenes. I don't think you have any issues to worry about really.
[G1 Android Development] bhilgeman:
More than likely you need to do a wipe, then flash 3.9.7

EDIT: If you restore a backup that you did when you were getting the bootloop you're still going to get a bootloop.
[G1 Android Development] pinetreehater:
Everyone has me stirred up about this media thing. My ringtones and such were on the sdcard under media. Fine enough.

I'm getting the vibe that having your ringtones, notifications, and alarms on INTERNAL memory has shown speed improvements when the phone rings (or whatever).

I have tried everything that I know of to move the ringtones to /system/media/audio/....and in fact I have three folders (ringtones,alarms,notifications)located there. All my sounds are now under /system/media/audio

After I deleted the media off my sdcard, I now have no ringtones or notifications. I can still see them under /system/media/audio, but my "select ringtone" under sounds & notifications is empty.

I know I can have them on sdcard....but I wanted to try internal memory. Where am I going wrong? Can you not move your media to internal?
[G1 Android Development] mpusatera:
any way to back up my sd without it booting (windows)? I'd like to not have to reinstall everything again...

it's been at the android screen since my first post and I haven't touched it...

EDIT: any way to mount the sdcard for windows from the recovery menu?
[G1 Android Development] andonnguyen:
T-mobile doesn't know anything haha, I usually talk to 7 or 8 reps until I get consistency in the answers they give me. I've been able to place a call, surf using the browser, and load google maps at the same time ever since 3G launched in my city, and every city i've driven to in southern california, all the way down to the mexican border.

BTW, in 3.9.7, anyone else experiencing loss of data connection (even when 3G/Edge, icons are present next to the signal bar)? As if it will connect to a tower, but then stops sending/receiving packets through it? It persisted even after a fresh wipe of the data, cache, and ext partition. Although data worked momentarily, it would happen again. Can't really send a log, because it comes back as unable to reach the host address, which doesn't really tell us much (it just sort of stops sending/receiving data out of nowhere). I actually drove to 7 different cities (I had time to kill) and did the wipe and reinstall in each city and it happened each time. Maybe it's time for a warranty replacement =]
[G1 Android Development] bhilgeman:
try this.. next time do a nandroid backup when things are stable so you always have something to revert back to...

EDIT: Or get a card reader....
[G1 Android Development] Sirus20x6:
3g does voice and data at the same time, edge and lower can't
[G1 Android Development] pinetreehater:
No...I have this problem too. Loss of connectivity even though the up/down arrows indicate its connected. Usually have to enable/disable airplane mode to get it working again (sometimes a reboot). I have already replaced the radio on this phone, so I am certain its not that (I posted a comment somewhere about this).

I wish more people would pipe up about the loss of data connection problem....lets me know it isn't just me. BTW...does yours seem to happen more after you use and then disable wifi...check it out!
[G1 Android Development] thfoster:
Dude!! This worked like a charm! Thank you guys so much! Now listening to Coheed and Cambria with no problems!!

And to the poster a few pages who had issues mounting to a Vista machine: check your USB debugging. I turned mine off ( no admin rights on my XP work machine so I got tired of seeing the install device screen) and had to turn it back on when connected to my Vista machine at home in order to mount.
[G1 Android Development] ubernicholi:
they should be in their respective folder. I.e alarms, ringtones, notifications and ui.

also the folder permissions need to be set to 777 and the files need to be set to 666.

cd /system

chmod 777 media

cd media

chmod 777 audio

cd audio

chmod 777 *

cd alarms

chmod 666 *

cd ../ringtones

chmod 666 *

cd ../notifications

chmod 666 *

cd ../ui

chmod 666 *

.. = previous directory, saves a step

then reboot and wait a few minutes before changing your ringtones. the system needs to find them first
[G1 Android Development] mpusatera:
so now wipe doesn"t clear the sdcard...
[G1 Android Development] bhilgeman:
no, wipe doesn't clear the card...
[G1 Android Development] pinetreehater:
Ubernicholi, it still doesn't work (by the way, thanks for showing me the cd ../ trick..sweet).

I gave everything permissions (adding alarms also). Here is my commands, does anyone see where I goofed?

# cd /system
cd /system
# chmod 777 media
chmod 777 media
# cd media
cd media
# chmod 777 audio
chmod 777 audio
# cd audio
cd audio
# ls
ls
alarms notifications ringtones ui
# chmod 777 *
chmod 777 *
# cd alarms
cd alarms
# chmod 666 *
chmod 666 *
# cd ../ringtones
cd ../ringtones
# chmod 666 *
chmod 666 *
# cd ../alarms
cd ../alarms
# chmod 666 *
chmod 666 *
# cd ../ui
cd ../ui
# chmod 666 *
chmod 666 *
# exit
exit

C:\android\tools>adb shell reboot
reboot returned

Kind of frustrating me, I had already tried chmod 755 on the media folder
[G1 Android Development] pinetreehater:
Wait....what is this? When I change to the /system/media/audio folder....and then print working directory....I get this

C:\android\tools>adb shell
# cd /system/media
cd /system/media
# pwd
pwd
/system/sd/media
# cd audio
cd audio
# pwd
pwd
/system/sd/media/audio

Why am I redirected to the system/sd/media directory when trying to enter /system/media/audio ????(symlink perhaps?)

Is this even worth it?
[G1 Android Development] chevycowboyusa:
bt and edge

Thanks for the clarification! And yes bt does not interfere when I'm on wifi.
[G1 Android Development] mianosm:
Check out this cool tool:

# ls -l
ls -l
drwxrwx--- 1 1000 2001 2048 Jul 17 13:47 cache
drwxrwx--x 1 1000 1000 2048 Jul 15 06:02 data
-rw-r--r-- 1 0 0 118 Jan 1 1970 default.prop
drwxr-xr-x 12 0 0 2500 Aug 6 22:22 dev
lrwxrwxrwx 1 0 0 11 Aug 6 22:22 etc -> /system/etc
-rwxr-x--- 1 0 0 102652 Jan 1 1970 init
-rwxr-x--- 1 0 0 1677 Jan 1 1970 init.goldfish.rc
-rwxr-x--- 1 0 0 11899 Jan 1 1970 init.rc
-rwxr-x--- 1 0 0 1765 Jan 1 1970 init.trout.rc
lrwxrwxrwx 1 0 0 11 Aug 6 22:22 lib -> /system/lib
dr-xr-xr-x 66 0 0 0 Jan 1 1970 proc
drwx------ 2 0 0 0 Aug 4 21:30 root
drwxr-x--- 2 0 0 0 Jan 1 1970 sbin
d---rwxrwx 16 1000 1000 4096 Jan 1 1970 sdcard
drwxrwxrwt 2 0 0 40 Aug 7 22:08 sqlite_stmt_journals
drwxr-xr-x 14 0 0 0 Jan 1 1970 sys
drwxr-xr-x 1 0 0 2048 Aug 5 01:54 system

or even:

ls --help
[G1 Android Development] andonnguyen:
It happens regardless, before and after using wifi. Already replaced the radio, for comparison this issue didn't occur in JacxRom, and JF 1.51.
[G1 Android Development] :
Also noticing this on my G1. 3.9.5 browsers, both the built-in one and Steel, wouldn't reload a page when I switched back to browser app from elsewhere. With 3.9.7 appears to be back to normal browser behavior where every time I switch back to app there's a reload.

Not to make this a compcache post, but just for info, was running compcache on both 3.9.5 and 3.9.7, backing swap enabled on 3.9.7, not sure about 3.9.5, but otherwise stock settings from the at the time latest compcache user scripts from the compcache thread.
[G1 Android Development] pinetreehater:
Why are you showing me the permissions and help arguments for the list command?

Are you seriously implying those commands will help me; or are you trying to take advantage of, or perhaps even belittle, a less knowledgable member?

I'm just trying to get to the bottom of this. I was hoping it could've been answered quickly, but alas it appears not....and I've already hijacked this thread enough. Perhaps I'll ask it in the Q&A section
[G1 Android Development] aceo07:
I noticed that GPS/AGPS stopped working for me yesterday. I'm on 3.9.5. It would only pick up 2 satellites with weak signal. I was in front of vehicle and got great and quick reception earlier. I didn't do anything to resolve the problem and stopped using it yesterday. I waited around a minute. It usually locks gps location within a few seconds.

Today I checked again while outside and also couldn't get a location lock. Even with AGPS on too. I rebooting and it worked great as usual.

I'm not sure if this is related to the 'Maps issues' that was resolved in 3.9.7?
[G1 Android Development] The Paradox:
I sincerely appologize if this has been asked before. Not trying to annoy anyone. I'm a noob to android but I've come a long way thus far with the help on these forums.

Here's about what I did:

1)Rooted, I was on the JesusFreak 1.5 build (Cyanogenmod recovery 1.4), updated Radio and SPL, hadnt done anything with apps2sd.

2)Formatted my sdcard using the script here.

3)Installed Cyanogen's 3.9.7 -- So far so good!

But now when I'm downloading Apps, I see they are being saved to the ext4 partition, not to the fat32, which is where most of my space is on the sdcard. This doesnt change once i reboot either. I haven't done anything additional to setup appstosd. I thought it was auto-config'd with this build. Could someone clue me in on what I'm missing/ what I've done wrong / why I'm an idiot?

Thanks.
[G1 Android Development] linuxrebel:
Bug report Long term use

Longer term use evalutation of 3.9.7 (upgraded from 3.9.4 on the 4th)

System T-Mobile G1 with extended battery running 3.9.7 and the latest radio from HTC (2_22-26I IIRC) NO themes. All Audio/UI/Ringtones running from ext2 partition (OK too dang lazy to convert it to ext3, to dang smart to use ext4) Compacache with the latest mods to userinit.sh and user.conf.

What I"m finding with the phone is that it seems over time these errors start to appear. after 48-72 hours I see the first symptoms creep in and then it gets worse. I rebooted. and poof all is back to normal.

Symptoms.

1. Slow down in screen change.

2. When calls come in I don't get a "notification" screen of who is calling untill the 3rd or 4th ring. So I often answer blind as right after the 4th ring it goes to Voice Mail (or if I hit the menu key it will either pop up or cut the caller off. 50/50)

3. I lose the ability to connect to the Market to download/update apps. Download/update hangs forever both on WiFi and on 3g/2g. But as soon as I rebooted, bang the hanging update (which I had canceled before) began and ran fine.

4. Updating apps seems to accelerate these problems (though this could be co-incidental not cause and affect. )

5. The alarm screen won't pop up over lock screen either. If I hit the menu key it will automagically dismiss the alarm. Causing me to have to go into alarm and uncheck it to dismiss it for the day.

It seems that today was the only day the logs captured but that is OK as today was up until just now when I rebooted the most problematic. The slow down is VERY annoying for sure as it never rears it's head until I go to do something like take a picture or demo the phone ( Sys-Admins Luck)

More info available as you need. Hopefully I've filed a bug report you can use. I've converted the android log capture to windows style so I can upload it and have attached it from there. Thanks loads for your help and a really fun product to play with.
[G1 Android Development] pinetreehater:
Paradox...I'm a little unsure of what you mean.

If you are "downloading apps" then you must be using an extension like Astro to do so (the stock G1 browser won't d/l apps). In this case, you should tell the download manager where to download.

Also, apps are supposded to be on your ext3/4 partition after you install the .apk...this is by design, else you would have to store it on your internal memory, which is small. Apps2sd allows you to use the ext.3/4 partition as extra internal memory.
[G1 Android Development] The Paradox:
Thanks for the fast response pinetreehater!

By Downloading Apps I just meant simply going to the android market and installing. I'm guessing I'm confused as to how this is supposed to work.

It is possible to have the .apk files running from the Fat32 partition?
[G1 Android Development] linuxrebel:
Being a Linux Geek I'll field this one. That is correct, apps will go to the ext4 partition when you install them from market. Fat32 (AKA DOS) partitions don't allow for the proper permissions etc that Linux needs to have in order to establish the executability and other rights an application has. Different OS, different strokes. The whole concept is to create a partions on the SD that speaks Linux, which would be for this kernel ext2/3/4 No problem With a 500mb partitons you'll be able to hold pretty much all the market you could want, as most Dalvek apps are like the old days of DOS and tiny as heck. The largest app I've ever seen is 1MB and that would mean you could hold 500 of them. You aren't likely to see anything larger than about 1.5 to 2MB for a single app in the next couple of years. Not enough RAM or CPU to handle something that large. So you will be OK. The FAT32 portion on the other hand is a great place for a lot of your apps to store their data, cache files and more (and they do). As a result of this that section has to be the largest.
[G1 Android Development] The Paradox:
Thanks for that explanation. Makes total sense. You guys are the best.
[G1 Android Development] pinetreehater:
EDIT: WHAT HE SAID TOO...I hate small keyboards...guess it could be an on screen though

That clears it right on up. Yes, you want you installed apps to go to the ext3 partition. They haved to be installed somewhere, and since you are really not supposed to see most program's install executable (the apk)., the system installs it to an out of site location (your internal phone memory...or in apps2sd case, the ext3 partition.

By the way, the reason you keep most of your space in the fat32, is that programs for android are tiny...even if your ext3 space is small, it will hold many hundreds of programs. You keep the fat32 big for stuff like music or pictures.

I hope I am making sense...typing from the G1 in a car (passenger btw)
[G1 Android Development] ubernicholi:
Your userinit.sh probably has a symlink. Save all your ringtones and stuff some where. Disable media2sd in your user.conf if you using it

Rm -r /system/sd/media

Rm -r system/media.

Mkdir /system/media

The drop your audio folder in there. Redo the permissions on all folders just in case. And try again

Will take care of the sysmlink

Gtalk : ubernicholi at gmail.com if you want some more direct help.
[G1 Android Development] Shane2:
Actually, the applications in Android are small because they are written in Java, it has nothing to do with the CPU or the ram in the device.
[G1 Android Development] aryndar:
Swap + Compcache

----deleted----
[G1 Android Development] mianosm:
I PM'ed you, but if anyone uses a search and finds the information useful...

You seemed lost in the file tree, and didn't understand how you were redirected, the most obvious answer to the question is to use `ls -l` and see that you have a symlink created, ls has many other options though, and is highly useful.

Yes, those commands will greatly help you, now and forever more that you are tinkering away in the command line, not belittling, but hopefully eye opening.
[G1 Android Development] The Paradox:
Ok you all were so awesome at answering my question before, I figured I'd try to throw another quick one out there...

Since I've updated to Cyanogen, I haven't been able to have the sdcard to mount to my computer using the normal USB mounting option from the notification bar. But I'm not even sure if that's supposed to be possible with all the apps2sd and cyanogen stuff. Any suggestions?

I realize there's a number of different ways to transfer files between a computer and my phone. ADB is working fine. Just was curious about this easy, normal method.

Thanks again!
[G1 Android Development] willmav5000:
I don't know if this has been mentioned before but there appears to be a bug with mounting and unmounting the sd card.

Example; I mount the sd card, transfer files and whatnot, unmount it, then I go to the market, try to install an app and it throws an Installation error stating I have Insufficient storage available.
[G1 Android Development] drpfenderson:
You should be able to. I just did a little while ago, running CM 3.9.7.

You mentioned you wiped to begin with - have you installed a theme at all?

I found that running the command "fix_permissions", and "repair ext" from the recovery menu helped when I had that issue.. Also, a wipe and reinstall usually help - but like I said, pretty sure you knew that.
[G1 Android Development] All~G1:
I have also seen this running through logcat along with "FAILED BINDER TRANSACTION"...
[G1 Android Development] corteccio:
usbnet support

Hi all,

I "upgraded" from JF1.51CRB43 to CM 3.9.7 + Recovery 1.4 and am pretty impressed :eek:

One reason I wanted to try out CM 3.9 was usbnet, since wifi tethering is nice but tends to produce heat and seems a bit unstable :(

Has anyone tried it out yet? I am willing to test, any instructions? :confused:

I just loaded usbnet + cdc_ether + cdc_subset on my linux pc, but don't see any log in dmesg when I plug my G1. Anything special needed to ? :D

thanks
[G1 Android Development] wesbalmer:
Did anyone else have issues sending a picture using image viewer and trying to share through messaging. I get a force close everytime
[G1 Android Development] Blind Oracle:
Please consider mouting sd with additional options

Most consider use of noatime and nodiratime good additions for use with flash. It both improves performance and reduces needless writes to the media.

/data/the dalvik-cache is mounted with these options - good

/system/sd is also mounted with these options - good

/sdcard is not mounted with these options. Given that music, camera (contact images), movies, etc are frequently pushed here, it seems like an excellent pair of options to use. What ya think? :confused:

From my 3.9.7 install:

/dev/block//vold/179:1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)

It would be nice if it read:

(rw,noatime,nodiratime,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8)

Thanks for the excellent rom!
[G1 Android Development] simms22:
network location bug/fix

i posted this on another site first , but here is a repost...

http://androidcommunity.com/forums/showthread.php?p=233631#post233631

" someone came to me with what they thought was a bug in cyanogens 3.9.7, and asked me to check it out .so , curious as i am , i did . the problem was that when went into the the settings , security and location , and then enabled(checked) use wireless locations , went back to the homescreen , the wireless locations wouldnt work . if they went back to the settings , the use wireless network would be unchecked . they couldnt get wireless networks to work .

so , i tried to duplicate this bug . since i already had wireless network on , i turned it off(unchecked it) . then i checked it again , went back to the homescreen , and the wireless locations didnt work . so i went back to setting , it was unchecked ! every time i checked it then left settings it would uncheck . i couldnt get it to work .

i found a solution to this problem pretty quickly . i checked(turned on) both wireless locations and gps , and went back to the homescreen . using the new power widget from donut thats included in the rom , i turned off gps . now wireless is checked again and works fine . i know some other people were having this problem . i hope this helps you "