yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] temporizer:
Please direct these questions here for fear of clogging up this thread with off topic posts. I have an email out to Cyanogen himself asking if this is safe, i'll let you know what he suggests.
[G1 Android Development] psrtx:
Easy/Automatic way to get ash

Open up terminal App

Press Menu and select Preference

Scroll down to Shell

Click on Command line

Type in "/system/xbin/bb/ash -"
[G1 Android Development] Ohsaka:
Didn't know we should put "For Cyan's ROM!" on posts in the Cyan ROM thread, lol!
[G1 Android Development] alritewhadeva:
Lol i saw it in the other thread. Thought it'd be the same anyway :p
[G1 Android Development] bkmo:
Sorry for being off topic, but I must say "Now that is doing your homework psrtx"
[G1 Android Development] Shane2:
I have noticed something curious, if I clear my missed call list (clear notifications), when I reboot my phone, the missed calls come back in my notification bar, this appears to be new to 3.6.7.2

Any ideas?
[G1 Android Development] Ohsaka:
Creating a symlink will switch out the shell that adb uses also...
[G1 Android Development] Ohsaka:
I have seen this behavior forever... even on JF1.5... It comes and goes... Certain missed calls seem to stick with me longer than others. I just assume my phone is smart and knows the call was important. :)
[G1 Android Development] mdavidf:
I don't think it's Cyan's ROM, I was experiencing that prior to using modified ROMs - Cupcake did it on my phone.
[G1 Android Development] Shane2:
First time I have ever seen it happen. I am not complaining, I love the rom, I was merely pointing out this is the first time I have seen this particular problem
[G1 Android Development] Coreburner:
won't wipe after last update

popped in 3.6.7.2 and updated and it started rebooting, but i figured I haven't wiped it since the 3.6.4. So wipe and rebooted and that fixed the reboot problem. Now I would like to get back to a baseline 3.6.7.2 image but everytime I reboot and wipe from the recovery i get all the apps back ( all 87 ) and thats what I want gone. I renamed the nandroid folder, didn't help, I don't want to format the card in my laptop because win 7 screws up the EXT3 partion just by inserting it and the Fat32 has almost 4 gigs of music and the few APKs i want to reinstall. I've never noticed the apps self restoring after a wipe before so I'm wondering how to dump the all.
[G1 Android Development] njuncos:
the way i do this is to format my ext3 partition using GParted Live CD

once downloaded it is a very useful tool to have...you can format your ext3 very quickly this way.

im sure there is a way to do this from the recovery terminal using cyan's 1.3.1 in my sig, but i'm not sure how yet...
[G1 Android Development] bkmo:
The apps are on the sdcard. They get restored after a wipe unless you delete the app and app-private directories. But a reformat using the gparted cd is even better.
[G1 Android Development] painrage:
speed

i definately notice a huge difference in speed turnng off screen animation wile running compcache and swapper wonder if this might be the problem for some others using compcache
[G1 Android Development] njuncos:
are you really using compcache in conjuction w/ swapper or did i misunderstand?

and then besides swapper, in your sig it shows you have a linux-swap as well??
[G1 Android Development] Smokuevo:
im wondering if there is an issue with HTC VK or what. everytime i reboot the vibrate on keypress comes back :(
[G1 Android Development] marshallladd:
Everything is going good for me on this rom besides two things. Batterly life seems to be draining a lot faster, as others have previously stated, and I can't connect to wifi, even with everyones troubleshooting methods. Not that big of a deal thoug.
[G1 Android Development] no6969el:
Everything is working great for me except one thing.. when my boss sends me an outlook appt via email it no longer makes a google calendar appt. This has ALWAYS worked untill this last update (maybe two updates since I didnt work for three days..lol

Does anyone else have this issue or able to test it.. just make an appt in outlook and send it to you gmail address.. it should make an appt.
[G1 Android Development] facelessuser:
I have given up on 3.6.7.2. I am a restoring an older nandroid backup. Battery can't last me past noon and it runs hot. I have full confidence that cyanogen will remedy this issue eventually, but I'm afraid it's just unusable for me.
[G1 Android Development] TheGreenJester:
I dont think the battery draining issues some of you are experiencing is caused by this rom. I experienced the same thing a while back (on 3.4.x I believe) and I never did figure out what caused it. I reflashed a few times while trouble shooting and it just went away.

I am using the latest release and have 70% battery. Phone hasnt been charged in about 10 hours with moderate use.
[G1 Android Development] painrage:
to clarify

i'm using userinit.sh that has 32mg compcache at 20 swappiness and yes i still have 32 mg lynix-swap but it is not being used for main swap as far as i can tell any ways i can only go by what the guy who wrote the userinit.sh calimed since i haven't had a chance to really research it yet i know it can use the lynix-swap as a back up but i don't know if this was included in the userinit.sh soooo thats it and i meant when i've used lynix swap i laged a little with animations on but with compcache it lags alot with animation on and that probably cause they via for cpu usage and one of the only two graphic buffers this phone has (i think i got that right)
[G1 Android Development] facelessuser:
Weird. I wish I knew the exact problem. I guess I try his next update and hope the issue is resolved. I liked the compcache; my phone ran so smooth. If Cyan's next update takes a while, I may try 3.6.7.2 again and hope this issue doesn't return.
[G1 Android Development] njuncos:
yeah, i'm getting good results so far with 20 swappiness, whereas 60 swappiness seemed to lag a little after awhile.
[G1 Android Development] sha.goyjo:
Another, even better way to do the ash thing is to just set it as the first command that runs upon terminal start. It's even easier to change that way, and no system that uses terminal emulator calls will get confused!
[G1 Android Development] shotad:
just tried to get on wifi, and no signal...is this what everyone's experiencing about "no wifi"??
[G1 Android Development] shotad:
i guess i'm a noob, what does 'ash' do? will that help me with my battery draining?
[G1 Android Development] painrage:
wfi

don't thinks so the other guy had a problem with seats . stupid question but can you confirm with another device that there is a wifi signal?
[G1 Android Development] inoah:
mfree, and swappiness again

The busybox free command is missing some useful statistics, in particular how much file cache is in use. The file cache is an interesting number because your idle ram (i.e. that ram not in mapped into some process) gets used to buffer i/o from the flash and sd filesystems.

When you look at this output:

/ # busybox free
total used free shared buffers
Mem: 97876 95160 2716 0 544
Swap: 32764 4 32760
Total: 130640 95164 35476
/ #

It looks like most of your memory is used; actually some amount of that is reclaimable by processes which need it. My mfree script will show you that amount, plus the amount actually in use by processes. It's similar in output to the standard linux free command.

/ # mfree
total used free buffers cached
Mem: 97876 95160 2716 544 23284
-/+ buffers/cache: 71332 26544
Swap: 32764 4 32760
Total: 130640 95164 35476
/ #

Why is the cache interesting? Because the swappiness parameter we've been playing around with for compcache adjusts the kernel's decision when to swap out idle processes to improve filesystem i/o buffering. The higher you set swappiness, the more you are prioritizing file buffering vs. keeping background processes in ram, which affects how responsive they will be when you switch back to them.

I have been asserting that a low value for swappiness is probably desirable on Android because the amount of i/o to/from the filesystem is relatively small: for the most part only one process at a time is really doing anything interesting and most programs do not handle very much data.

So rather than page processes out to make room for more filesystem buffering when the existing buffered data will probably not be used again any time soon, it would be better to flush what data is buffered and reuse that.

Higher swappiness values make more sense for servers and workstations with lots of memory. It makes far less sense to cache large amounts of filesystem data on something as tiny as the G1.

Without proving this with actual data in the compcache case on the G1, this is my reasoning for using swappiness=20 instead of 60 as most people seem to be doing. I have experienced hardly any latency on my device.

Anyway, here's the script. To use it, download it and then run

adb push mfree.txt /data/local/bin/mfree

adb shell /system/xbin/bb/chmod 755 /data/local/bin/mfree

--Noah
[G1 Android Development] shotad:
what theme works with the current version of Cyanogen ROM?
[G1 Android Development] painrage:
ash

no there talking about a hack for the terminal and it doesn't have anything to do with this thread and nothing to do with battery life it was posted on the last page
[G1 Android Development] shotad:
my laptop gets perfect signal (router wifi is in the next room...) and my phone gets ZERO.
[G1 Android Development] Destriant:
Hey bud, my Wifi is working fine on 3.6.7.2. I'm also in another room and my phone is getting full bars.
[G1 Android Development] painrage:
wifi

k just checking about the signal also to just make sure are u running the newest radio? just to be thuro it's under about phone in the settings menu it's called base band. it should match what on my sig
[G1 Android Development] shotad:
my radio is 2.22.19.26I...i upgraded to this about a while ago when i was running JF version.
[G1 Android Development] Stigy:
If I do a Nandroid backup, wipe the phone and reflash with 3.6.7.2 and then restore the nandroid update did I cancel out the wipe or is this what you are supposed to do keep the same image?

Thanks in advance.
[G1 Android Development] overpower:
You reverted your phone to when you did the Nandroid backup. Pre-wipe, pre flash.
[G1 Android Development] rgl12miami:
It's working fine in my phone. The only difference is that I have no theme installed. I had bad experiences with themes, may the one you are using is the cause of your problem.
[G1 Android Development] derfolo:
Is the router allowing traffic to the phone? (MAC address restriction, etc). My router is in the basement of my house, and my bedroom is in the attic--3 floors of wood and concrete--and my phone connects fine.
[G1 Android Development] ubernicholi:
I agree with setting swappiness to 20 when using compcache, it will drain the battery less and keep the phone from becoming laggy. Aslo for the people with battery issues have you treied to reset the battery?

Let it charge to 100% turn of your phone for 30 seconds and turn it back on, it will reset the buggy battery module that cupcake has.
[G1 Android Development] derfolo:
I just disabled my compcache to see how the phone would respond. I have to say, if anything, the phone runs better without it. Is there a clear benchmark anywhere showing that external swap (linux or compcache) makes the phone run better?
[G1 Android Development] ramkt8:
is it possible to get the MMS problem fixed?

Hello anyone.. is it possible to get the MMS fixed on Tmobile 2g?
[G1 Android Development] devsk:
Dummy questions:

1. I am running cyanogen recovery with JF 1.41 currently. Do I need to update radio and SPL to use cyanogen's ROM? Where are the links for those? Did not see any sticky for those.

2. Does the Nandroid backup include radio and SPL images as well? Will I be able to go back to my current state 100% if I do something wrong?

3. I have 4 partitions on my SD card formatted fat32, ext4, fat32, swap. Will this ROM automatically pick second ext4 partition for APPS2SD?

Thanks for your help!
[G1 Android Development] mdavidf:
Basically, if you do it in the order you described, you'll be wasting your time because you're phone will return to the way it was before you wiped or flashed.
[G1 Android Development] Ted417:
I love this Rom... I love Cyanogens work... Google should hire him to work over there... :p
[G1 Android Development] derfolo:
My answers:

1. You will need the new radio, but not the "scary" SPL.

2. I dunno, but I think not. If you are gonna try to get the newest SPL, read all the threads about it first. It is NOT necessary to run CM3.6.7.2.

3. Yes.
[G1 Android Development] Stigy:
Okay well than does anyone know what would be causing my phone to lag horribly? No swap, no compcache. Just apps2sd on a 8GB class 6 SD card.

For example the first time I launch the browser on a fresh boot, stuff starts to give me [Force Close/Wait] popups (ie. Alarm Clock, ChompSMS, etc...) When I try to drag down the notification bar sometimes it works, sometimes it doesn't and sometimes it lags all the way down. All of my text messages lag even while typing on the physical keyboard.

Any ideas?
[G1 Android Development] robbie725:
Devsk,

1. You don't state what radio and SPL you have... but you do need to update to the new radio, you DON'T need to update to Haykuro's new SPL and you can find the answer/links to this quesiton right on the 1st page of this thread.

2. No I don't think that it does...

3. Not 100% about this but I do believe that it does...

peace
[G1 Android Development] Ted417:
just wipe and flash again... thats the main thing to do :/
[G1 Android Development] derfolo:
I disabled compcache, have no swap, and rebooted. I have none of the problems you describe. No lags, no force closes, browser opens fine. Have you tried running fix_permissions from the console in recovery mode?
[G1 Android Development] fachex:
yeap

Yes, you guess right. It FC a lot, always in the core.android.thing.whatever. At times I feel I am using Rosie trying to go back to home screen. I guess I will be flashing back to 3.6.6. That version worked fine for me.

Fabian
[G1 Android Development] derfolo:
Super stable here, and fast as well. I'll ask you the same: have you tried fix_permissions?
[G1 Android Development] painrage:
read the first post

yes u need the newest radio link is on the first post. no u donlt need a new spl.

no nandroid does nothing to back up your radio or spl just the ui kernel and user settings data and soforth. i haven't heard of some one using 4/partitions so i would say try it. the first thing i would recomend is updating your recovery img this is cyanogen pimped out recovery image also available on the first post because this would alow u too flash your nandroid back up in recovery mode without the use of a computer and if u download all of this first onto your phone pm me and i'll walk you through the commands to do all of the updating directly from the phone with out using your computer
[G1 Android Development] mdavidf:
Working great for me. Most of the issues you're seeing - battery, FC, MMS, etc. - are sporadic. The ONLY FC I'm getting is occasionally from Open Home, but I read on their forum that it's their issue and they're aware of it.
[G1 Android Development] rasturn:
Comanche

i set my swappyness to 20 from 60, everything runs smoother, noticeable difference! no FC and super fast going from browser to home screen, htc music run good as well havent tried everything yet but good so far. the batt meter is not dropping as fast.
[G1 Android Development] devsk:
Man, I love this forum! I did not imagine there would be so many replies to my noob queries. Thanks for your responses guys! Really appreciate it! I think I can move forward now. I will bother you guys if I get stuck or brick my phone...:D:p;)
[G1 Android Development] mdavidf:
Clear Your Caches

When was the last time you cleared your caches? When this type of thing starts happening to me, the first thing I do is clear all caches and reboot. 99.9% of the time if works.

Looking in Settings-->SD Card & Phone Storage-->Internal Phone Storage (Available Space) is a good indication, especially if you know how much you typically have available when your caches are clear. Some people have ~70MB, I'm in the mid-60MB range and when it gets in the low 60MB or upper 50MB range is when I clear caches.
[G1 Android Development] usmc2k:
is there a way to clear all cache's at once ?
[G1 Android Development] njuncos:
dalvik-cache is stored on sd in this ROM
[G1 Android Development] alritewhadeva:
Theres a gscript script. Look for it in dream android development
[G1 Android Development] usmc2k:
when i run busybox df -h it shows i have dalvik-cache on sd
[G1 Android Development] njuncos:
Ur right. Clear the dalvik-cache folder on ur ext partition
[G1 Android Development] mdavidf:
Crap, that's right.

Well, my methods still work ;)
[G1 Android Development] cronin4392:
Can someone please explain to me how to get swap working with this build. I have tried every tutorial and none of them work. Either two things happen, my device gets to the intro thing (what you see the first time you boot up and touch the android guy) and then gets stuck in a boot loop (goes back to android boot screen, then android guy, freezes, goes back to android boot screen...), or I am able to install the build fine, but swap isnt working.

i followed this tut.:

http://xdaforums.com/showthread.php?t=534714

and then:

http://xdaforums.com/showthread.php?t=531988

or

http://xdaforums.com/showthread.php?t=537236

______________________________________________________________________________________________________________

edit:

nevermind, what i had to do was create all three partitions, wipe, update, boot into the rom and complete the introduction thing and then follow the adb instructions in here

http://xdaforums.com/showthread.php?t=537236

i confirmed it worked by typing

su

free

in terminal, but i dont really notice any speed increase...
[G1 Android Development] usmc2k:
if i run busybox rm -r /system/sd/dalvik-cache.... that will only clear the cache right not delete the folder ? tha reason im askn is kus i wanna find out if clearing all cache will make a difference in the lag......
[G1 Android Development] usmc2k:
easiest way for swap is to use swapper on the market it works great and u dont need to make a permanent swap space on ur sd card
[G1 Android Development] njuncos:
Better to use linux swap than swapper...

Personally, cyans roms are so fast already, it makes little to no difference

I don't use swap
[G1 Android Development] alritewhadeva:
Kind of does...allocates more memory so if your browsing and then go answer a txt, without swap you might lose the page. With it you probably wont.
[G1 Android Development] innerspace:
mfree = permission denied

pushed file as instructed.

ran adb shell mfree

got: permission denied

from terminal tried:

su

mfree

got: permission denied
[G1 Android Development] Maisum:
was wondering..

how come no developer uses the 'check for updates' thing on our phone to do automatic updates? since this is open source..wouldn't you be able to re route it to whatever you want and send out an update?
[G1 Android Development] temporizer:
you would have to run

busybox rm -r /system/sd/dalvik-cache/*

if you don't put the /* it will delete the dalvik-cache folder.
[G1 Android Development] Hakeem5:
Market Issues

Hey whats up guys and gals? Since about midnight last night my market has Not been able to download or update ANY apps. Its stuck saying starting download but it never moves anywhere, i have rebooted many times, and took the battery out.....still no luck. Anyone else having this problem on Cyanogen roms? If there is any terminal code i can enter in then please let me know, i have never had this market problem for this long with or without root so im just wondering if its the rom.

Also when i attempted to run the FIX_permissions line in terminal it gave me the operation denied message for all the apps, any suggestions?
[G1 Android Development] Smokuevo:
try this..

su <enter>

chmod 777 /data/app <enter>

exit <enter>

exit ...
[G1 Android Development] Mr.Duckie™:
damn this rom runs so smooth with no for closes or nothing! thanks lol
[G1 Android Development] sha.goyjo:
I told you guys with battery and heat problems that I was going to give you a script. If this changes your results, let me know. Also include the class and size of your SD card, as I have a suspicion that part of the problem may be due to increased paging in compcache from a2sd

Give it a try and get back to me.
[G1 Android Development] n1ghtl1fe:
i feel u on that one bro
[G1 Android Development] mdavidf:
Wish I would've known that sooner! I ran the script and everything Force Closed on me...lol

Fortunately, I backed up, but I didn't even need it because a reboot fixed the folders and everything seems to be running fine now.
[G1 Android Development] Jamison904:
at work and haven't got the time to read the 76+ pages... nut does anyone have an issue when anyone calls and the phone is in "sleep mode" the caller id does not work?

I have found out that if the phone rings and it goes to the page that has the batt. status and what not, you press menu again it show the caller id. But not till then? used to pop up before 3.6.6.

(had the pattern lock turned off when this happens.)
[G1 Android Development] Destriant:
Every call I've had this week has shown the caller id screen. Even if I don't have the contact in my address book, the # shows up. Do you have to press Menu before you can even answer the phone? If not, when you answer, does the caller ID screen show at that point?
[G1 Android Development] Droid8Apple:
i have had similar issues yes, but not always in sleep mode, nor on any specific rom. it did this with jesusfreke's, haykuros, and even the best of cyanogens... do you have whitepages caller ID? and turned on always? how about wifi/3G state, etc.

_________________________________________________________________

White T-Mobile G1

Cyanogens’ 3.6.7 ROM

Cyanogens’ 1.3.1 Recovery

4GB Class 4 SD by PNY

Hard SPL

Apps2SD partitioned at 1GB ext2/ 3GB FAT

Radio: Duh…

Wife’s G1= same as above except bronze

“She’ll whisper “recovery” in my ear, and immediately I fastboot into Hard SPL…”

“You put your new ROM in, you put your new ROM out, you put your new ROM in, but you wipe when you’re in doubt…” – Modded Hokey Pokey
[G1 Android Development] usmc2k:
Script has been workn out so far so good !!!!
[G1 Android Development] shotad:
where do i put this .sh file? sd root?
[G1 Android Development] Jamison904:
I think it might have some thing to do with having the lock turned off. It rings then if I want to see who it is I have to press menu again to open/unlock it, then I see who is calling. before it would just pop up. going to test with lock on... brb ( I unlock it when I am texting or using Google talk a lot.)
[G1 Android Development] Hakeem5:
Viking LOL wow thanks that trick ACTUALLY worked to log into gtalk to make the downloads go through
[G1 Android Development] shotad:
where do you put this script?
[G1 Android Development] o2ak:
Can anyone give me some commands on how to stop the home screen from autorotating? Just not my preference.
[G1 Android Development] usmc2k:
/system/sd
[G1 Android Development] shotad:
and take out the .txt extension correct? then reboot?
[G1 Android Development] bkmo:
menu-> settings -> sound and display -> orientation
[G1 Android Development] usmc2k:
yea it should end in .sh
[G1 Android Development] shotad:
do i need to reboot after i put it in system/sd ?

err..tried using ASTRO to move/copy paste to /system/sd and it wont let me...
[G1 Android Development] Jamison904:
OK just tried with it locked and unlocked. still the same out come. This really bothers me because when it happens at work i have to answer it. 90% of the time it is a unkown number or a telemarketer. Then I have to inform them I am at work and can't talk. You know how they are, they push till you want to go through the phone and punch them in the face...

does this happen to anyone besides me?
[G1 Android Development] Jamison904:
turn off in settings