yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] wcgbmd:
I'm tired of my Hero lagging crazy. Its hard to use my phone and I'm going to switch if its not fixed soon. I'm looking at Fresh Toast v1.1 with Overclocking, Compcache, and Ramzswap all supported by a .27 kernel which won't allow the camera to work on 2.1 roms but will on 1.5 roms correct? If the camera will work if this kernel is pushed to a 1.5 rom how exactly do I get the kernal on my phone.

Even if this isn't possible try and list the fastest kernel so far with camera features working. Looking at the Kernel list in the wiki doesn't really help...

Please XDA, I once loved this phone.
[Hero CDMA Android Development] 98classic:
http://xdaforums.com/showthread.php?t=671670

nice.
[Hero CDMA Android Development] thedudejdog:
this is a basic summary of the last thread you started on this exact same topic. i guess if you didn't get the answer you wanted then starting a new thread is the best way to figure out the problem.......:rolleyes:
[Hero CDMA Android Development] toastcfh:
:/ ............................................................................................................................................................................................................................................................................................................................................................................................................................................................... :/ ...................................................................................................... ... ... ... ................................................................................................................................................ . ................................................. :(
[Hero CDMA Android Development] danaff37:
+1

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] kyouko:
...honestly?? http://xdaforums.com/showthread.php?t=671670

............................................________

....................................,.-'"...................``~.,

.............................,.-"..................................."-.,

.........................,/...............................................":,

.....................,?......................................................,

.................../...........................................................,}

................./......................................................,:`^`..}

.............../...................................................,:"........./

..............?.....__.........................................:`.........../

............./__.(....."~-,_..............................,:`........../

.........../(_...."~,_........"~,_....................,:`........_/

..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....}

...........((.....*~_......."=-._......";,,./`..../"............../

...,,,___.`~,......"~.,....................`.....}............../

............(....`=-,,.......`........................(......;_,,-"

............/.`~,......`-...................................../

.............`~.*-,.....................................|,./.....,__

,,_..........}.>-._...................................|..............`=~-,

.....`=~-,__......`,.................................

...................`=~-,,.,...............................

................................`:,,...........................`..............__

.....................................`=-,...................,%`>--==``

........................................_..........._,-%.......`

...................................,
[Hero CDMA Android Development] wcgbmd:
Wow, are you guys serious? I started a new thread because the last thread consisted of only 1 person recommending some gumbo kernel, I looked at the kernel it has overclocking but no ext4(or EXT3 I think). If your not going to be helpful and your just going to act like idiots don't reply at all. Stop roid raging when I tell you my Hero is too slow and I'm pissed off about it.
[Hero CDMA Android Development] thedudejdog:
it seems like tkirton is willing to compile a kernel with these features you want, but just tell him if you want to run a 1.5 rom (camera) or a 2.1 rom (no camera)
[Touch Pro2, Tilt 2 Windows Mobile General] csice365:
When receiving texts, my phone now seems to only vibrate after returning from sleep mode, i.e. hitting the power button. How can I fix this?

Secondly, is there a way to edit the vibration style for receiving text messages? A majority of the time I don't even notice....assuming it vibrates before I unlock it that is. Thanks
[Touch Pro2, Tilt 2 Windows Mobile General] csice365:
Anyone....please lol?
[HD2 General] simeezee:
Hi, I'm just wondering how to edit swype library?

I want to be able to see a list of all the customized words that I have saved and edit them.

Thanks.
[Android Apps and Games] marioknight:
I just released the first fully-functional version of Pastedroid, an app for Pastebin. It has all the features provided by the Pastebin API, and as far as I know they all work.

However, I would like feedback on it (both suggestions for future releases and things that don't work) as I don't have the time or patience to test it thoroughly. So leave any and all feedback here (good or bad), and be as detailed as you can, especially in regards to any errors.

To download it, search for Pastedroid Beta in the Android Market.

Apologies for the lack of a QR code; I don't yet have permission to embed images.

Thanks!
[Droid Incredible General] mrmomoman:
I noticed that on the HTC Desire/N1 that the HTC Mail integration for lets say Exchange is different than on the incredible.

I really liked the Mail that has the emails in rows listing the subject, etc. Instead on the Incredible the emails comes in a single white backgrounded page and you have to flick up to read the next email. You don't have a choice to pick different options when you add the widget.

Am I am missing something here?
[Droid Incredible General] mt2020:
What you seem to be describing is the "Widget" interface. It only shows one page. When you select the "mail" icon, the one that shows how many emails arrived, it will come up with the list of emails, opened and unopened. From the widget you can get to it by clicking on the bottom left icon showing the small horizontal bars (in the widget, there are icons at the bottom.)
[Droid Incredible General] mrmomoman:
Looking for this type of screen that they show:

Exchange Widget? Not sure.. Just like this one better. It seems like the incredible doesn't allow for you to select the 3 tabs like it does on the UK Desire. :(

It only offers the 1st one.

View attachment 319759
[General Topics] aeroflix:
hello, i need a digitizer for t5358 wherein the connector is in the upper right hand. coz i search ebay and their connector is in the upper side left. thanks

can somebody give me a link? thanks
[G1 Android Development] zimphishmonger:
Hey,

So Ive been playing with CM-5.0.7-DS test1, like everyone im sure ;), however I am noticing some major slowdown in the Launcher, many apps, and especially in 3g gallery without some memory assistance such as Swap\CC for the "low-memory" devices like the G1\Dream.

I enabled a 96mb swap partition, swappiness 60 using a userinit.sh script (see attached), and it really helped speed things along.

Wanted to know everyone else's experience using swap on this crazy new upgrade to our 2-yr old device :D
[G1 Android Development] kristoff123:
Good call. You can also just install "Swapper" from market, and go to advanced preferences, enable partition, good to go.

I am using a 96mb swap partition, and am overclocked to 596 mhz with the replacement kernel. Everything is working brilliantly for me, very stable.

Android 2.1, 600mhz Android device, ample RAM via swap, 16gb card, new slim extended battery - I am once again a happy G1 owner!
[G1 Android Development] chim4ira312:
:O howd u overclock to 596mhz?!
[G1 Android Development] kristoff123:
The overclock thread that's been sitting on the top of this forum for the last week :0

the kernel I used is on page 38 or 39...anything over 600 eventually crashes for me, but 596 works very well. Flash video even plays fine with Skyfire - so many new goodies for my beloved G1!

-Although I am sure cyanogen will include that kernel or a better one with the next release, but leave it to the user to overclock using setcpu or whatever. Just leave it at 528 default via userinit.sh, so people can choose to what degree they want to melt their G1's, lol.
[G1 Android Development] lefeudedieu:
hello

link please :confused:
[G1 Android Development] zimphishmonger:
Here, searched my ass off to find it...your welcome :cool:

http://xdaforums.com/showpost.php?p=6352322&postcount=402
[G1 Android Development] lefeudedieu:
ok, thank

but i put the image boot by fastboot and G1 reboot and reboot ?

:confused:
[G1 Android Development] philosophics:
In my personal experiences with swap..... I'm not exactly sure what it was supposed to do after I applied it.

I do know what it does though...

As stated in previous forums,

The longevity og my card is very important to me

And finally, Cyanogen advises against swap.

if you would like to learn his thoughts, read his wiki.

And op, you crack me up. +10!

Sent from my HTC Dream using the XDA mobile application powered by Tapatalk
[G1 Android Development] kevinzlb:
i think its not a image that can be flashed. it should be paste to /sd-ext document.
[G1 Android Development] zimphishmonger:
u need to extract the userinit.sh script and put it in /sd-ext
[G1 Android Development] dangambino:
and thats it??
[G1 Android Development] billquinn1:
This conversation is confusing. 2 people talking about swap and 2 trying to overclock. Use the zip file from this thread, unzip it, open it with gedit or notepad++, add the stuff in the link from @zimphishmonger talking about overclocking. Follow the stepsw in that post. If you fastbooted the boot.img and it just boot loops, you may have trouble. You may need to reflash cm5.0.7. Or reinstall the Nandroid backup you made before you flashed it.:D

Also if history tells us anything, Cy will never include any over clock hack. He is pretty conservitive along those lines.
[G1 Android Development] billquinn1:
Not exactly

do

adb shell chmod 755 /sd-ext/userinit.sh

to give it permissions.

My userinit.sh looks a little different so I can't say for sure it is correct.

...You mileage may vary.
[G1 Android Development] dangambino:
thanks. running command now

seems to of took!
[G1 Android Development] lbcoder:
Swap is not a good feature to use, and I'll explain why:

When you enable swap, your end result is that you have a lot more "memory" available for programs to run in. Because of the memory management scheme used by android (kill background processes on low memory), it ends up that you will be RUNNING MORE PROCESSES. And this is a bad thing because (1) it means that your CPU will be more loaded (multitasking/background processes), and (2) it means that it will end up doing a lot of swapping (sdcard is SLOW) in order to continue providing all the "memory" allocated to each of those running programs.

The end result is that your phone will become VERY SLOW.

The ONLY legitimate use for swap is when you are running a process that is SO LARGE that it can't physically fit in the RAM available on the device *even when* all killable processes are already dead. And on Android, I have yet to encounter such a program.

DON'T USE SWAP! It will accomplish precisely TWO things;

(1) it will make your phone SLOW.

(2) it will kill your SDCARD.
[G1 Android Development] deimdos:
(1) I disagree, it's the opposite ;-)

(2) agreed, but it probably will last enough till my next phone...
[G1 Android Development] seaweeduk:
Most class 6 cards feature wear levelling from which from what I understand means I'll have upgraded my phone way before it ever dies.

For me using CM without swap has been impossible for quite a while now, gmail sync just doesn't work properly without the extra memory to fall back on. As for it slowing the phone down I've never noticed anything ever being slower with swap although I do have a class 6 card.
[G1 Android Development] SilentTweak:
+1 I disagree as well.

If anything it helps the phone operate normally. Especially with the G1 it has a tendency to push GTalk out of the memory. That means it stops pushing email notifications to your phone, which is really annoying. Even eBuddy has a hard time staying in the memory if you minimize it. The G1 one really benefits from having the swap. And really, are SD cards that expensive? I've had swap on for 8 months and my SD card is fine. I personally use 64MB on my G1 and 30 swappiness, anymore is excessive.

Really you only want enough memory that it holds all the essential apps in place. Autokiller helps too if set at Moderate. So far CM5 though, the battery life is phenomenal compared to the old 4.2.15 (especially after the battery wipe stats fix, if you're having battery drain issues).

If you're using this on the Magic, then I have an issue with that, since it isn't even needed. Unless you have like over 300MB worth of apps and cache. Then maybe you'll need an ext partition. But that's a separate issue.
[G1 Android Development] cloverdale:
Check out autokiller in the market. It limits the running processes so that swap actually works.
[G1 Android Development] kristoff123:
For those uncomfortable with making a userinit script, as I said before, Swapper does the same thing, it's free, and it's not a program that runs in memory. With the benefit being that you can experiment with swappiness and other settings on the fly. Just go to "Advanced" and select your partition - it's the right location by default.
[G1 Android Development] :
For those saying swap is a bad idea you are wrong. Swap a great way to get the most out of a low memory phone like the dream. Swap is something i can't live without.

Sent from my HTC Dream using the XDA mobile application powered by Tapatalk
[G1 Android Development] kristoff123:
Agreed - especially when running experimental ROMs that are more demanding to begin with!

I definitely, notice a longterm speed and responsiveness increase when using swap, and don't lose core components that should stay running in memory. Of course, I wouldn't recommend swap on anything but a Class 6 card.
[G1 Android Development] dangambino:
why isnt it enabled by default? any ideas? you would think if anyone could optimize a rom, cyanogen can. knowing what hacks and mods are currently available, why wouldnt he include them?

You know what I'm saying?

Just curious
[G1 Android Development] cyrictheman:
I live by swap. With a class 6 with wear endurance, its awesome. I've had the same card for 6+ months with no issues. When I didn't have swap enabled on CM5, things like my widgets stopped updating, which sucks when you use it for the time.

I use Advanced Task Manager, the one that costs a couple of bucks, and it lets you end all but excluded apps in an interval of your choosing. I gotta say the combination of swap, ATM, and CM5 has made my phone the fastest its ever been.
[G1 Android Development] kristoff123:
// golf clap //

Well said!

// end golf clap //
[G1 Android Development] dabotsonline:
What model of battery are you using?
[G1 Android Development] vincom2:
Awesome post. Swap helps with a lot of things. I tried running without it today and could barely browse the web and play music at the same time without the music app dying on me on every other image load in the browser. I use 48mb swap, 20 swappiness.

(incidentally, I think 60 swappiness is way too high even for a desktop; it seems to make the computer disgustingly slow to respond whenever you leave it alone for a bit. I run my computer with 10 swappiness :o)

Compcache is terrible on the phone imo. I've tried it before and all it did was make my phone run slower and slower and slower until eventually I couldn't do anything (I don't count waiting for 5 mins to make a phone call doing something). To be fair though, it did help greatly with my objective of keeping gtalk alive... but so does swap, and so does cm5.0.7. Don't use compcache, basically.

(another irrelevant aside, but while cm5 seems awesome at keeping gtalk alive, now my newsrob sync service dies every time I try to do something else >.>)
[G1 Android Development] studjuice:
I love swap. It just always aids the OS to make it smoother.

I hate compcache. never makes it faster.

but i never really see a difference between swap sizes or swappiness. In fact, swappiness is hard for someone new to this stuff to change without it being in spareparts or anything (and it almost never is). I just learned how to enable swap manually using userscript.sh last night...
[G1 Android Development] cloverdale:
Swapper does not initialize on boot, even when set to do so.
[G1 Android Development] kristoff123:
The one from fommy:

http://www.fommy.com/view-full-page.asp?divid=T-Mobile&model=T-Mobile+G1&skuno=81931

If you read the reviews, you realize that everyone actually gave it 4 or 5 stars except for some who ordered it too early, or are stupid, hehe. Great battery.
[G1 Android Development] cloverdale:
For an easy way to enable swap, download

http://www.jbthemes.com/metamorph/07swap

And push to /etc/init.d

Since /etc is actually symlinked and is a subdirectory of /system, you will probably need to mount /system as rw.
[G1 Android Development] vincom2:
Believe me, run with 60 swappiness for a long time and you will want to dash your phone against the floor >.>
[G1 Android Development] kristoff123:
Why not use swapper from the market? I've had no problems with it, and it has options for everything you need...
[G1 Android Development] zimphishmonger:
I agree w/ the shortening the life of my sdcard, but with running an app like autokiller, which would limit the # of programs\apps running in memory in combination w/ swap has really speed things up for this build. Never used swap on donut, but I feel this build really benefits from the extra ram, Just my opinion
[G1 Android Development] zimphishmonger:
Thanks for the easy add, and link!
[G1 Android Development] quierotacobell:
Nvm........
[G1 Android Development] farmatito:
I would suggest a different approach to swap that worked fine for me.

It involves the use of compcache and a swap partition with different priorities.

Ramzswap disk with higher priority and swap disk with lower priority.

The performance empirically seems better than compcache with backing swap

maybe due to the fact that the sdcard is not used so often.

To make this work you need a busybox swapon with support for the -p

switch:

-p priority
Specify priority for swapon. This option is only available if
swapon was compiled under and is used under a 1.3.2 or later
kernel. priority is a value between 0 and 32767. Higher numbers
indicate higher priority. See swapon(2) for a full description
of swap priorities. Add pri=value to the option field of
/etc/fstab for use with swapon -a.

Some stats on a fresh rebooted system:

rzstats
DiskSize: 32120 kB
NumReads: 158
NumWrites: 924
FailedReads: 0
FailedWrites: 0
InvalidIO: 0
NotifyFree: 56
ZeroPages: 52
GoodCompress: 75 %
NoCompress: 3 %
PagesStored: 831
PagesUsed: 299
OrigDataSize: 3324 kB
ComprDataSize: 1146 kB
MemUsedTotal: 1196 kB
total used free shared buffers
Mem: 98036 95500 2536 0 156
Swap: 64232 8256 55976
Total: 162268 103756 58512
vm.swappiness = 40
Filename Type Size Used Priority
/dev/block/ramzswap0 partition 32112 8256 2
/dev/block/mmcblk0p3 partition 32120 0 1

I use a script like this to set it up:

# Default swappiness
SWAP=40
PRIO=""
# Compcache setup
uname_r=`uname -r`
moddir=`find /system/modules -type d -name $uname_r`
insmod=/system/bin/insmod
$insmod $moddir/compcache/ramzswap.ko
rzscontrol /dev/block/ramzswap0 --disksize_kb=32120 --init
/usr/bin/swapon /dev/block/ramzswap0 -p 2
if test $? -eq 0 ; then
PRIO="-p 1"
fi
# Swap partition setup
if [ -e /dev/block/mmcblk0p3 ] ; then
/usr/bin/swapon /dev/block/mmcblk0p3 $PRIO
fi
echo $SWAP > /proc/sys/vm/swappiness

Enjoy ;)
[G1 Android Development] ZombieReagan:
Ok, It's driving me nuts, swap doesn't "improve performance" or "make my phone faster". It lets you keep more crap open at once, that's it. If you're actually paging in/out of swap, your performance and battery life are going to suffer.

If you're doing Apps2SD + Swap, you're REALLY shooting yourself in the foot, because when you try to open an app on the SD, you've also got the swapper paging memory in/out from the swap partition. You can test the hit yourself by copying files to the SD card at the same time you pull something off of it to your PC.

You're actually better off letting android kill off the process and just open it back up again when you're going to use it. At least it's all going to be reads at that point. Of course if your launcher is getting killed off, try either locking it in memory, or killing off some widgets. Swap should be your last resort shortly before buying a phone with more RAM.

I know some people will insist that it makes their phone faster, have a stronger signal, whitened their teeth and got their girlfriend to take them back. I'm not trying to convince you, this is meant to educate someone who might be casually reading through this thread and wondering if they REALLY need to have swap or not.
[G1 Android Development] deimdos:
Try using a "heavy" app and return to home, with and without swap, then come here and tell us how it was ;-)
[G1 Android Development] g1g:
Can some one tell me the comand from terminal to see if i have swap enabled or what my swapiness is ? I set up a swap partion at 96 on sd via amon ras recovery but thats all so not sure if im using it..
[G1 Android Development] ZombieReagan:
cat /proc/meminfo - Will break down your memory usage statistics

cat /proc/sys/vm/swappiness - Shows your swappiness setting

http://lwn.net/Articles/83588/ - It's about as exciting as reading your TV owners manual, but it's the best explanation for what exactly swappiness does that I've ever found.
[G1 Android Development] g1g:
ok thanks i checked by (cat /proc/sys/vm/swappiness - Shows your swappiness setting) and came up with 60 so does this mean it is enabled and working?
[G1 Android Development] ZombieReagan:
No, check /proc/meminfo and look for "SwapTotal" to be a non-zero number. Swappiness at 60 is a default setting, you probably wont want that.
[G1 Android Development] philosophics:
too many buttons to press.

open terminal emulator and type

$free

and on the line where it says swap, if it's anything but 0's, it's enabled...

Sent from my HTC Dream using the XDA mobile application powered by Tapatalk