yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] devsk:
Has anybody tried compcache yet? Its compressed swap and it is ideal for this device, if it can be made to run.

http://code.google.com/p/compcache/
[G1 Android Development] unrafa:
Swap = apps running 999999 % slower because its writing/reading from sdcard instead from memory.

I even deactivated swap, in my laptop (2gb memory) and never had problems with that.

If apps need more memory i wont let them swap to disk, CRASH BUT NEVER SLOW DOWN!!!!

For those who dont understand, running from memory means driving ferrary and swap means WALK.

Cache always to memory if possible. not disk

Swap always off.
[G1 Android Development] MoridinBG:
In fact Linux has quiet good swap control that makes real good balance between keeping pages in RAM and swapping them off.

Turning this on with a Class 6 Transcend microSDHC (~4MB/sec transfer speed) results in in fact faster and snappier OS overall. After all when the necessary files are in swap they are ready to be moved to RAM and used. But with no swap the OS has no other choice but to unload everything when an app is closed, because of no free RAM and then start and load everything from the beginning when you start it again.

In fact Skype + Music + Browser + Meebo is now possible.
[G1 Android Development] LucidREM:
how did you speed things up? same instructions from the first post?
[G1 Android Development] mystica555:
Going to buy an 8gig class4 Sandisk with the "Wake Up Your Phone" logo.

Sadly its not the "Mobile Ultra" but according to this one test, its just about as fast...Benchmark from the Kaiser forum (If I am unable to get the performance I am after, I will order the Ultra card online...Ive found one in a local store, but for 2x the price. )

I haven't had the time to keep messing with this, but I will today! :)
[G1 Android Development] Manacit:
Edit: To make a long story short, I wouldn't recommend using your SD card as swap, it messes up the whole android process model because of the "extra" ram, and read/write on the SD card is VERY slow. After about 10 minutes of usage thing started going way to slow, once the screen turned off it would take five minutes to come back on, and then it would tell me xx program was not responding, etc etc. I don't think I'll be messing with it anymore ;).
[G1 Android Development] strowger:
128mb swap is waaaaay to much. there's only 99mb of actual ram!

32mb might be more appropriate.
[G1 Android Development] Joushou:
Yes, he did
[G1 Android Development] MoridinBG:
Not exactly the same instructions. I created a dedicated swap partition on the SD card, remounted /system in read-write mode and added the partition in /etc/fstab to mount it on every reboot.

But yes, I must admit that after some use things tend to get real slow. THe entire OS becomes so unresponsive that it's unusable To be more specific, when it swaps 50MB and more. I haven't tried yet to limit the size of swap to more reasonable size, like 32 or 48MB, but I suppose that it may be slightly better.

Faster card could be a better solution. Now I have 3-4MB/sec read/write. In a few days I would try with class 2card, providing 13-15MB/sec write and 20MB/sec read. That should make a difference.
[G1 Android Development] bakgwailo:
13-15 megs a second really will not make a difference. SATA II is 300MB/second, and you can feel it swap even on that. For reference:

SDCARD = 16?MB/Sec

IDE (ultra 100) = ~100MB/sec (never saw over 50 on bench marking...)

SATA-II SWAP = 300MB/sec

DDR200 = 1.6 GB/sec

DDR400 = 3.2 GB/sec

DDR2 400 = 3.2 GB/sec

DDR2 1066 = 8.53 GB/sec

Which is all dog slow compared to the actual cache.

So basically, unless you can get a card that is close to or greater than the speed of SATA II or even IDE (100MB/sec), i really do no see this as feasible.

That said, you are also limited to the BUS speed for the SDCARD, along with concurrency issues (ie, OS wants to read/write a regular file to the card, but the OS is also trying to swap to it, creating a race condition and slowing things down even more).
[G1 Android Development] DebauchedSloth:
Not necessarily. Swap tries to page out unused pages. If it is successful in doing so, and it often is, it will speed tings up since the memory free'd up by swapping will allow you to keep more applications in RAM at the same time, rather than killing them off and restarting them. Not only could this be faster, it could increase battery life by quite a bit.
[G1 Android Development] eleazar6:
The HTC Dream service manual that's posted in this forum says "RAM: 192 MB DDR (include 64MB baseband chip [guessing this is for radio])". Does the ARM CPU have onboard cache?

Anyways, yeah - HTC should have put another 64mb of RAM in our phones (not to mention twice the Flash memory) I'm guessing either tiny DDR memory is expensive and/or they used the minimum to keep power consumption down.

BTW, does anyone know how much RAM iPhones have? Is their storage just flash memory like ours?
[G1 Android Development] ex87:
Swapper

I wrote simple application for easy enabling/disabling swap. Have using it and in my opinion the only thing that slows down is switching between programs. But overal "close rate" is dropped down to usable level (intensive browsing doesn't close other nessesary programs for example).

Iy you want to test it, here it is: http://xdaforums.com/showthread.php?t=483110
[G1 Android Development] MoridinBG:
Hint:

Tuning Swappiness

Currently it is

# cat /proc/sys/vm/swappiness
60
[G1 Android Development] MoridinBG:
Bump.

I shrinked the swap down to 32MB and set the swappiness to 20

echo 20 > /proc/sys/vm/swappiness

This seems to have really big effect. Previously, with 128MB swap and swappiness at 60 after some use of several memory hungry apps (Browser and AndNav2) the system tended to heavily use the SLOW swap, which resulted in heavily degraded performance. It took ages for the Browser to flip orientation, scrolling pages or songs in the music player wasn't smooth at all.

Now, wtih 32MB swap and swappines @ 20 the system is much more responsive. I have been testing it for 30-60 minutes, and the performance hasn't degraded at all. Browsing and scrolling is smooth, Home opens almost instantly, apps switch immediately or with 0.5 sec delay at most.

32MB swap seems to be just enough for normal use. Browse, AndNav2, Music, Pictures, SnapPhoto, Watts, PowerManager.

According to "free" it is using 97MB of RAM and 27 of swap.
[G1 Android Development] unrafa:
again:

Swap in embedded systems, is the worst thing one can do. Worst yet in a mobile device.

Swap should be done only in a very very spetial situations, imagine you have 100 MB ram and need 150 to run a program. And 100 Mb are already used. Swap means moving 50MB from memory to disk to be able to load the prog. Since almost all of the apps running in the mobile needs instant response or are critical. You CANT LET THEM SWAP TO DISK.

What you will do to execute a program bigger than your installed memory, swap "contacts" to disk? swap "system graphics backgroud, icons" to disk ?

or swap radio firmware to disk? swap lan driver to disk? The fact is that you never know what the system is going to swap to disk, but if the system have swap, you can be sure it will use it even if it doont need it. It will start to swap important things to disk when you load any app.

This is not a laptop or a computer that when u need memory, the system swaps "non critical programs / loaded but sleeping background programs" like "printer manager" "internet browser" "nero quickstart" "acroread quick start" or any other **** you may have haging around in your systry.

and dont tell swaping under linux is better, because i have both systems for years and swap always sucked, i am always seeing things moving to swap even when i have almost 2 gigs free of memory. Even if i had 99 GIGS of ram, i would see programs swaping to disk and slowing down.
[G1 Android Development] MoridinBG:
You didn't really read the link in Kernel Trap about swappiness. Did you?

You have no idea of the organisation of swap in the linux kernel. Do you?

Swap a driver. Really?

Have you noticed that in normal circumstances you can not have less than 65-70MB of RAM used on the phone. Some things are meant to stay in RAM and they do.
[G1 Android Development] justanothercrowd:
The comments in that article are hilarious...the author responds by restated by already one-sided opinion instead of offering a real answer to legitimate questions and that you should SWAP...no matter what...which is a horrible joke....especially if you do any RAM intensive work on a machine.

More RAM>SWAP

Swap is never good period...more RAM is the solution..SWAP is a bandaid. Now I know alot of Distros are optimized to run on legacy hardware but if you wan't real performance you want to never swap..bottom line. It's like trying to tune up a HONDA CIVIC...I'm sure you guys have seen those funny looking kids with the buzz cans and cool cold air intakes driving around hoping that they can turn there slow underpowered car into something fast...SWAP is the equivelant in the computing world.
[G1 Android Development] Ron Overdrive:
I agree, more RAM is better then SWAP and always has been. Problem is its not like we can exactly go to NewEgg and order additional RAM for our G1s. Also last I checked we don't exactly have a G2 floating around the corner so SWAP is the current "bandaid" solution some folks need. Thankfully I haven't had a need for this yet.

Looking at this is rather interesting, but is ultimately a really old method of RAM expansion. This sounds a lot like the Hurricane and MagnaRAM back in the mid 90's for Win9x machines which I have used back then because RAM was expensive then. It worked well for what it was. Didn't speed anything up, but made multi-tasking easier.
[G1 Android Development] All~G1:
A "riced" out G1.... haha, sorry had to say it :D
[G1 Android Development] TheBlur:
I've been running it for a couple of days now and still haven't encountered any problems with performance. The issue that is bothering me now and I didn't foresee is that the SD Card cannot be mounted anymore while doing this. Since I don't know much about this and just following suggestions from this thread, does it make sense to try to swap with the ext2 partition of my SD Card? I'm going to try it out either way but figured you guys might have an idea.
[G1 Android Development] TheBlur:
Edit: It looks like this was already discussed earlier in the thread and the answer is yes, it work well with the ext2 partition. Now if someone could explain how to make the changes permanent, that would be great. :D
[G1 Android Development] unrafa:
No i didnt read the article talking about the 9 wonders in kernel trap, i only read my favorites and kernel.org's changelogs. kernel trap is boring.

i remember reading about swappiness about 10-12 years ago when i really needed memory in my pc, i researched swap swapiness and i was testing for weeks in computers lacking enought ram, and i taked a decition then, and i will hold it until you demonstrate me than i am wrong. and i stated before, swap only is meant to be used in certain and specific conditions. (i never said its useless)

im not going to research swappiness again, just to respond your post, anyway, swapiness looked nice on paper, very promising, etc. but the fact is, im sure its the same thing used to be even after 10 years of development. And you know why? When you need memory no matter how good is the program swapping to disk. Disk is slow, terribly slow. period.

Maybe i dont know as much about swap as you, but this is old story wich will lead to the same results.

I readed your posts, and you maked same mistakes as everyone does when researching with swap, first too much swap=unusable, less swap = crappy, lesser swap=lesser crappy but still suck. continue to decrease that number until you reach 0.

But it is good that you have it enabled in your phone, and tell us how much faster your battery is drained, or when your memory card died, or how much time elapsed your phone switching apps or geting calls, and tell us then if that is worth or not and reconsider what you read in kernel trap.

Also its nice to have a poll on that matter.

The sad is google ****ed up with this phone, theres too much mistakes made with this phone. 1 ok, 2 ok, 3 ok, but there is A LOT of mistakes on the table now. im disapointed with google and its a matter of time people start hating it like hates microsoft.

anyone wanting memory, run service viewer. check services, processes, and tasks. take notes and start uninstalling stupid apps who start at boot with no reason and eats memory. there is a lot of them and should make a small difference.

apps who starts at boot are notified when installing them.

some apps starting at boot

mybackup.

web server

k-9 email

text to speech <??? this really slow down everything for me

ak notepad

phone recorder

etc...
[G1 Android Development] MoridinBG:
Dude, take it easy.

We are really not having a discussion here. You won't read, you won't try. You don't accept other point of view.

As I said, with less swap size with less swappiness there is no performance penalty. May be a second or even less when switching between apps, but no waiting for Home, dialing, icons, scrolling, whatever. It works for me and I am happy.

Considering the write cycles of recent flash products, the improvements in wear leveling logic and the further improvement in different file systems, it would take it a good year or two before there are some

noticable

effects on the card.
[G1 Android Development] McLin:
Bill Gates said, that we never need more then 128KB RAM...:p
[G1 Android Development] foxtrickle:
I think the quote was, "640K ought to be enough for anybody."

-Bill Gates, 1981
[G1 Android Development] MoridinBG:
"640K оught to be enough for anybody" - Bill Gates, 1981
[G1 Android Development] LucidREM:
thus the basis of 640k "conventional memory" that has been the core of the PC world from MS-DOS up to XP/Vista .. XP was when they really started making big strides away from this old line of reasoning .. everything up to WindowsME was still based on an MS-DOS shell .. now the cmd.exe is inside the windows shell .. remarkably 640k of base memory took us very very far
[G1 Android Development] damnoregonian:
while swap does hurt the performance of any modern OS, it hurts less than not having it. what is important is tuning one's swap to the constraints of the wired backend ram and swap.

if you do not have swap, you force linux to flush its file caches and buffers in favor of program memory (that may or may not actively be in use) this is just as painful as pulling from swap, because it is the difference between pulling a file from ram instead of off the filesystem.

anyone who says NO SWAP, or NO SWAP IN EMBEDDED STUFFS clearly has no understanding of modern VMM's. you cripple them running them without swap. you severely limit the tuning that years of coding have gone into.

of course, the inverse is also true when you're talking about a slow device. the idea is to only swap what is unused, and allow the OS to still keep adequate buffers. keep your swap small, and tune your swappiness so that it only swaps pages of ram to disk under the direst of circumstances. the goal is not to fool the OS into thinking that it has more ram than it does, it is to get the OS to use it more intelligently (and not kill our precious processes). unfortunately, the guys at google did not do this for us, and so it is up to us.
[G1 Android Development] ivanmmj:
Try using Windows Mobile on 64mb. I am AMAZED by the RAM the phone has. lol
[G1 Android Development] sureptitious:
You guys are seriously joking with this argument about 'swappiness' right? I mean there are actually children dying of hunger in the world. I mean really, I do not know much about linux or pc's but an argument about virtual ram in physical reality, seriously? Cant everyone just get a long.
[G1 Android Development] SH31KH:
Not to sound like a d*ck, but did you really have to bring such an old post back to life to say that? You could have shared your thoughts, perhaps in the general section and actually get some positive responses....

I'm just saying =P

In any case, I completely agree with you. It's quite foolish of *us* to argue over such things when there are more important, real things going on in the world..
[Shift General] gigino:
Hey everybody,

I need some tech information on the shift before I go out and buy one.

1 is it possible to install WM software on it like PI8 Wallet etc etc?

2 Would it be possible to run Igo8 navigation software on the device as while?

3 Can I make phone call from it?

4 If you install software on the device for WM where can you install it on the Hard Drive or the SD card?

5 While an SD Card of 32Gb work on this device?

Thank you for any advice you can give me.

Ciao

Gigino
[Shift General] koala996:
It is possible when you have liberated SnapVue, or you can flash it with a liberated rom. I don't know about PI8 Wallet, but everything depends on the size of the application.. the shift has too few space to install many programs. But it would be better with time

It is possible but with the constraint that Windows have to be running. You can use IGO8 PC with GPS GATE application to share GPS from WM to Vista or you can use IGO8 but you need to create a network share between vista and WM to get space in WM.

you can actually make phone call with a modified rom but you will not have the voice working (it means you can hear the other but he will not hear you).

but this should be ok in a week or 2.

currently, there are no storage solution for WM.. except if you use network sharing with Vista there you can write on HD but not on SD.

I think it should without any problem.

Regards

Koala
[Shift General] saiweb:
Yes, Koala is right. I tested 16 SDHC and it works flawlessly. I have not tested the 32GB, so I think it should work in my opinion.

Thanks

Ram
[8125, K-JAM, P4300, MDA Vario ROM Development] vampire_8_7:
Mobinil Egypt

Vodafone Egypt

Etisalat Egypt

:):)Wait me:):)​

Go on​

http://www.ce4arab.com/vb7/showthread.php?t=148263​
[8125, K-JAM, P4300, MDA Vario ROM Development] Dr.yahya:
We R waiting ;-)
[8125, K-JAM, P4300, MDA Vario ROM Development] waterfall1512:
im waiting too
[8125, K-JAM, P4300, MDA Vario ROM Development] Ather:
one more day and this thread is closed!
[8125, K-JAM, P4300, MDA Vario ROM Development] waterfall1512:
i need vodafone egypt and etisalat egypt GPRS settings please
[8125, K-JAM, P4300, MDA Vario ROM Development] kingbrazile:
all middal east gprs setting

all middal east gprs setting

an all egypt network
[8125, K-JAM, P4300, MDA Vario ROM Development] Dr.yahya:
i rather prefer u post a reg keys instead of other ways
[8125, K-JAM, P4300, MDA Vario ROM Development] Ather:
@all try this : http://rapidshare.com/files/178754651/i-mate_Configurator_PPC.cab

its a app from imate, awaialbe only to members with registered devices ;)

works for my operator in bahrain (Middle East) should work for Egypt too ;D
[8125, K-JAM, P4300, MDA Vario ROM Development] vampire_8_7:
It dosen't work in Egypt and reallay i'v the setting for all egyption operators but the xda forums has many restrictions that banned me for posting this thread so I'll post it in another site and I'll put the link for this thread​
[8125, K-JAM, P4300, MDA Vario ROM Development] escoda:
plz close this Bad game
[Touch Diamond, MDA Compact IV Themes and Apps] 2revup:
So I have tracked the manila down 6c422ab4_manila but I am unable to find exactly where the font colors are, I have looked and looked but nothing and one that could help me with this please (would like to change the white to black) ?

I am using 'HD Contacts Tab CFC.cab'

any help is appreciated

Thanks
[Touch Diamond, MDA Compact IV Themes and Apps] dingil:
Use that one...
[P3470 General] scoba:
Every one can download it from here:

http://4pda.ru/forum/index.php?showtopic=105312&view=findpost&p=2273606
[P3470 General] M_i_M:
мог бы и на 4пда спросить )

1 хз

2 нужно обновлять драйвер touch.dll

3 опять таки драйвер толкьо какой именно уже не подскажу

комплект английских драйверов с трудом но можно выдрать из англокитайской проши http://xdaforums.com/showthread.php?t=460846 собстно на 4пда я её перевыкладывал , если нужно могу куда нить запостить но ближе к ночи

а проблемы с камерой уже поборол или просто недопроверял ;) ?

зы мой ник на 4пда Cynique ))))
[P3470 General] scoba:
4pda сейчас не пашет. С камерой все ок версия 6.14. QuickGPS взял старый, т.к. в новом - новый только скин, можно тупо перерисовать фоновое изображение под манилу. С touch.dll проверю чуть попозже, выдеру из какой нибудь прошивки где это точно работает. А так я уже второй день с новой прошивкой пока полет почти нормальный.
[P3470 General] scoba:
Ну вот выбор клав заработал!!! Остается две проблемы... Буду играть с другими буржуйскими дровишками...
[P3470 General] scoba:
Рано обрадовался. После замены драйвера перестает работать прокрутка TouchFlo... Что делать?
[P3470 General] M_i_M:
возможно надо ещё в реестре данные обновлять

жди запуска 4звф, мне там в личку кусок рестра кидали , или таки мучай ту прошу ))) там всё пашет но она на инглише
[P3470 General] scoba:
мои опасения подтвердились - в той проше из которой я доставал touch.dll прокрутка тоже не пашет...
[P3470 General] M_i_M:
в той на коьорую я дал линк работает и то и то ) сам сейчас на ней сижу

а с какой ты брал ?
[P3470 General] scoba:
Ну что ж проблема с прокруткой и SipMenu решена выдрал из прошивки на которую ты дал ссылку файлы из пакет TouchFlo и все заработало. Ну что остается USBToPCPopUp и poweroff. Кстати в той ветке люди тоже жалуются что телефон не отключается... Ну чтож очень надо решить проблему с попапом
[P3470 General] scoba:
как оказалось проблема с USBtoPC гораздо серьезьнее - не работает режим кард ридера. Похоже есть какойто секрет в реестре...
[P3470 General] M_i_M:
user и default hv из этойже проши поизучай , думаю все вопросы по реестрам в них , как и драва там )))

или надо пинать авторов для решения

на 4пда , люди так и не вспомнили как активизировали
[P3470 General] M_i_M:
зы если не сложно выложи бету потестить :)
[P3470 General] scoba:
Взял USBtoPC из старой прошивки и все заработало... Ну на этом я думаю можно остановиться по крайней мере пока... Потестирую прошивку еще два-три дня и выложу.

По поводу реестра - у меня есть файл с полным реестром от буржуйской прошивки где все пашет. Выложу его вместе с бетой, будем искать вместе. Попросил у автора совета, может он ответит...
[P3470 General] SmaLL:
ha) vot 4to zna4it 4pda ne pabotaet)). uspexov vam.
[P3470 General] Parkerc:
Ыыы =) Русские =)) Удачи с прошивкой )
[8125, K-JAM, P4300, MDA Vario General] zacnotes:
CANCELED- see second post

So, I am a regular at the kaiser forums, but i recently got my hands on an 8125. I am not a complete noob, but i don't have much direct experience with this phone yet. the problem is, the screen has a crack and displays nothing. the device turns on, and i can get it to make noises, such as the voice command and shutdown, but i cannot get it to connect to my pc via activesync. i have v 4.5. i believe this to be because the previous owner had a pin # set. I would like to do a hard reset, connect it via active sync and load soti pocket explorer so i can see how well it still runs, and whether purchasing a new screen is worth it. i have read all the posts/wikis i can find on hard resetting this device, however, they all assume you can see what is on the screen. can someone give me a detailed report on EXACTLY what happens? how long it takes, what lights flash when, etc?

thanks!
[8125, K-JAM, P4300, MDA Vario General] zacnotes:
cancel

cancel that, just got soti installed. everything looks good, aside from the screen. anybody know a good place to get one, or is somebody selling one?
[8125, K-JAM, P4300, MDA Vario General] sythen:
i have a spare wizard screen that i know works if your interested