yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] uwonsum:
Again, my script which is on page #115 should not run display that error, it detects which version you have and use the appropriate parameters.:rolleyes:
[G1 Android Development] sha.goyjo:
Uwonsum, I say again, take your personal feelings out of the development thread. If you have an issue with me, PM it and stop taking up thread space.

As to my install, it is exactly as specified. If you have any other troubleshooting advice, that'd be great. I'm currently working and unable to post logfiles, but I'd like to try and figure out what the problem is.
[G1 Android Development] sha.goyjo:
Uwonsum, I'M RUNNING YOUR SCRIPT! Do you have a better idea?
[G1 Android Development] uwonsum:
Are you that dumb. OMFG. You made it personal. It started when you asked about CPU freezing, and I replied it was already addressed, but you took an offense. So I gave you the link to where it was address. Then now again are you talking rubbish. If you would stop being so F##i(i#6 lazy and visit the compcache website, you will know that cat /proc/ramzswap is for .5 only.
[G1 Android Development] ERamseth:
you guys bother are getting a little heated...

@Uwonsum: is it a known feature/change that /proc/rzswap is not created? If so, then there doesn't seem to be an issue.... rzscontrol /dev/block/rzswap0 --stats gives me output as does userinit.sh -s

I am satisfied at this point. Thanks for the autodetecting script.

@sha.goyjo: I commented out the line in user.conf that has to do with setting the compcache version. Just add a "#" at the very beginning of the line that reads

cc_version=0.5	# compcache version used in the ROM,if you using CM 3.9.6+ or compache 0.6+ make sure you change this to 0.6

so that it now reads

#cc_version=0.5	# compcache version used in the ROM,if you using CM 3.9.6+ or compache 0.6+ make sure you change this to 0.6

you can make this edit with vi in the terminal if you know how. this isn't the right place for a vi tutorial though.
[G1 Android Development] eViL D::
using Uwonsum's mod.

I am still getting compcache disabled.

I have setting compcache_en=1 on both files.

push both to /system/sd/

chmod 755 both

reboot.....
[G1 Android Development] uwonsum:
It looks like you figured it out. Yes there are lots of changes between .5 and .6 including the way they are loaded and checked to see if it's working properly.
[G1 Android Development] uwonsum:
Please post your user.conf file.
[G1 Android Development] eViL D::
Thanks, this is driving me nuts.

Attached is my "not working" setup.
[G1 Android Development] sha.goyjo:
lol ERamseth, it's not a problem. I've got a linux box and I can just sudo nano, or sudo gedit if I want to, it's not a problem. I think the problem (although I can't be sure because at the time I've begun typing this uwonsum has not yet responded to your question) is in fact that /proc/ramzswap is not being created. Even when I manually run userinit.sh it doesn't seem to be there.

what still confuses the living daylights out of me is why the script isn't creating a ramzswap node or a backing swap reference during startup...If I find anything noteworthy in logcat I'll let you know. It may be a specific problem with something in my box, and I think I've already taken up far too much time in this thread
[G1 Android Development] tman7510:
I'm using CM-3.6.8.1 and just setup userinit-v0.1.3.1 and get some errors when I run userinit.sh -s:

unable to set compcache c_swappiness to user specified 30. Curent system value is 15

error!!! Set VM: page-cluster - 0(system) 3(user)

error!!! Set CPU: sampling_rate 200000(system) 2000000(user)

error!!! Set CPU: powersave_bias - 0(system) 200 (user)

What' happening here. I had compcahe with backing enables jsut fine with userinit before using a user.conf file and now its broken?

As it turns out these error go away after reboot! :-)
[G1 Android Development] sha.goyjo:
Give Uwonsum's script on post 115 a try and see if it works for you....one fewer complexity can't hurt.
[G1 Android Development] uwonsum:
This will be a good experiment. Try the one on post #115
[G1 Android Development] uwonsum:
Try this

adb shell

ls /dev/block

and you should see something similar to below. I hope this answers your question.

loop0 loop3 loop6 mmcblk0p1 mtdblock0 mtdblock3 mtdblock6
loop1 loop4 loop7 mmcblk0p2 mtdblock1 mtdblock4 ramzswap0
loop2 loop5 mmcblk0 mmcblk0p3 mtdblock2 mtdblock5 vold
[G1 Android Development] uwonsum:
How are you pushing these files?
[G1 Android Development] eViL D::
Adb remount

Adb push userinit.sh /system/sd

Adb push user.conf /system/sd
[G1 Android Development] timmymarsh:
Guys, please resolve your differences and kool it or have a 3 day break on me, your choice.

THank you.
[G1 Android Development] JimmyMcGee:
Hey Kool Aid!
[G1 Android Development] uwonsum:
Are now able to get it working or the issues remain?
[G1 Android Development] tearsphere:
Whats the difference

Ok... No one yell at me, but what is the difference between :

linux_swap

backing_swap

compcache

I made a 3rd partition for my g1 and called in linux_swap to help swap memory. In terminal when i type "free" .. I get :

total used free

Mem : 97972 89372 8600

Swap : 31080 2248 28832

TOTAL: 129052 91620 37432

Everytime i do it, the free SWAP is a lot and mem free is low.. Is this normal..

I am running just userinit.sh .... I tried the user.conf and didnt seem like it made much of a differnce.. Just wondering if someone can clear things out and SUGGEST which one and how i should do it...

Thanks again.
[G1 Android Development] pinetreehater:
Has anyone used compcache .6 long enough to no if it shares its predecessors drawbacks (i.e., significant slowdown after continued use). I used .5 for a while and decided the Linux-swap gave me the best performance.

I decided to give the new compcache and a swap a try.

Uwonsum, what do you think about the compcache...worth it?
[G1 Android Development] Lakers3408:
Has anyone got it working on 3.9.7?

I get

CompCache version 0.7

CompCache is disable

CompCache: DiskSize (system) 32768(user)

CompCache: MemLimit (system) 18432(user)

CompCache: cc_swappiness - 30(system) 30(user)

=== CompCache status ===

Failed to open /dev/block/ramzswap0: No such device or address

I had it working on 3.8.5 and made a simple change from 0.5 to 0.7
[G1 Android Development] uwonsum:
The Jury is still out. But I want to lean towards--its worth it mainly because even with the compressed pages, access time is still faster than using regular swap since in general RAM is faster than disk drives. Another reason is this, with the compcache/swap enabled, you can load many more apps without them having to reload, because they are already cached in memory.

Here is a good test to see what I mean. Open terminal emulator and run free command. Now don't use the back button at any time during this experiment. Press home button, open up another program, then press home button, then open terminal again. You should still see the output of the free command. This is the benefit of compcache/swap. Repeating the steps, opening different programs and then going back to terminal emulator, you will notice that it reloads and the free output is gone--mainly because the memory was reclaimed. All this of course depends on on your swap size, swapiness, and your VM settings.

As for the slow down issue, I don't get that.

edit: change your powersave_bias to 200. Cyanogen did his own test and found it to beneficial, so it is now the default on builds 3.9.6+. Also your page-cluster, I would not go over 1. Swappiness of 60 on this device has a negative effect--I would not go over 32.
[G1 Android Development] uwonsum:
Use the script on post # 115. Yes i have tested it with 3.9.5, 3.9.6, 3.9.7 and had some other folks test it.
[G1 Android Development] pinetreehater:
It is working on mine...I used Uwonsum's latest script. settings in siggy..

Here is my initial feedback. Compcache has never worked well for me. Linux-partition has been so-so.

However, I can now hide an icon in the drawer and go back to the browser without reload. It has NEVER done this before. Something is definitely better. I will stick with these settings for a while./

Thanks to all who got these scripts together. It has made it tremendously easier to tweak our settings for optimal performance. Also, if more people start putting their settings in their sigs, it will make comparison even easier.
[G1 Android Development] pinetreehater:
It would only slow down after use...I don't know, but thats my opinion of it. Nevertheless, it is working now. And working well.

Also, I bumped up my swapiness on the Compcache, thinking it was ok to have this high because when it fills, it will run over into the linux-swap (which has a lower swappiness)...

err...just noticed my Linux swap wasn't even enabled...lets try it now.

Let's see how this pans out.
[G1 Android Development] sacredsoul:
Working fine one 3.9.7 from a no-wipe upgrade from 3.9.6.
[G1 Android Development] uwonsum:
The script is huanyu's. I just modified it since he wasn't here. Your compcache mem size seem quite small though--3mb? Not sure if that has any benefit.
[G1 Android Development] pinetreehater:
Linux Swap not working?

I guess I haven't actually gotten the linux swap working....or at least there is some kind of error associated with it. It looks like it is running, but the script cannot change the size to 40...which is what I set.

Any thoughts...is this even a problem.

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

C:\android\tools>adb shell sh /system/sd/userin
===CompCache status===
Compcache is enabled
CompCache: DiskSize 32768(system) 32768(user)
CompCache: MemLimit (system) 0(user)
CompCache: cc_swappiness - 60(system) 60(user)
===Linux Swap status===
Linux SWAP enabled on /dev/block/mmcblk0p3
ERROR!!! Set Linux Swap: swappiness - 60(system
===VM status===
Set VM: page-cluster - 3(system) 3(user)
Set VM: laptop_mode - 0(system) 0(user)
Set VM: dirty_expire_centisecs - 3000(system) 3
Set VM: dirty_writeback_centisecs - 500(system)
Set VM: dirty_background_ratio - 5(system) 5(us
Set VM: dirty_ratio - 10(system) 10(user)
===CPU status===
Set CPU: scaling_min_freq - 128000(system) 1280
Set CPU: scaling_max_freq - 528000(system) 5280
Set CPU: sampling_rate - 2000000(system) 200000
Set CPU: powersave_bias - 0(system) 0(user)

and the swap must be working because

# free
free
total used free shared buffers
Mem: 97972 95792 2180 0 676
Swap: 64852 13944 50908
Total: 162824 109736 53088
#
[G1 Android Development] uwonsum:
First, huanyu has updated the script on the main page and should work with any version of compcache. Your swap is enabled, I can tell looking at your output. What you are doing is using both compcache and linux-swap (not backing_swap). Make sure you are not editing your user.conf with windows notepad. Use a Linux compatible text editor.
[G1 Android Development] huanyu:
This is because you have two different values for linux swap and compcahe swappiness . The linux swap is working. I will fix this in next release
[G1 Android Development] rsxtypes72:
I was running v1.1 w cm 3.9.5 w no problems.

Flashed lastest rom with no wipe and now no compcache.

Tried new script v1.3.2

got error

CompCache is disable

Failed to open /dev/block/ramzswap0: No such device or address.

Tried script on post 115.

got error

CompCache is disable.

What am I doing wrong? I am pushing the script thru terminal emu.

I am using stock settings.
[G1 Android Development] huanyu:
hum... i am using 0.1.3.2 on CM3.9.5. It works fine

after you push the script, make sure you run the script again or reboot the phone before you check the status.

can you post the status output log (sh /system/sd/userinit.sh -s) for compcache part?
[G1 Android Development] uwonsum:
I just tested 0.1.3.2 and it works fine with 3.9.6 and 3.9.7. I am flashing now to 3.9.5 and will edit/post the result.

Edit: I can report back that 0.1.3.2 works flawlessly with build 3.9.5 which means it should work with every other build using compcache .5.x

Thanks for the script.
[G1 Android Development] Lakers3408:
A reboot should solve your problem as it did mine
[G1 Android Development] rsxtypes72:
Thanks for all the quick replies.

Yeah a reboot took care of it.

Weird thing is I check status after running script on 3.9.5 and it check out.

Ran script from #115 then reboot and everything is fine.

Thanks for your help.

Will run 1.3.2 thanks again
[G1 Android Development] uwonsum:
I recommend you use the one on the post # 1. It is more up to date.
[G1 Android Development] ThR1LL:
I'm going to apologize ahead of time for this noob question. I currently have a linux-swap partion and I'm wanting to use compcache primarily and have the linux-swap in reserve when compcahe fills up. Is this possible and if it is how do I go about doing this?
[G1 Android Development] Denkai:
okay, noob question, did some searching of course and didn't see it. why are you setting cc_disksize=0 when enabling back_swaping? is there any benifits vs cc_disksize=32?
[G1 Android Development] uwonsum:
It use to matter in the old script but not anymore. If backing swap is enabled, cc_disksize is ignored and cc_memlimit is what sets the memory size. You can't use both cc_disksize and cc_memlimit.
[G1 Android Development] uwonsum:
Please read the entirety of post # 1, the OP explains this well. If you still have questions then...I will gladly help where I can.

Thanks
[G1 Android Development] huanyu:
cc_memlimit is used instead of cc_disksize when backingswap is eanbled. You do gain some benefits if cc_memlimit=32 but i can't tell you how much. CC rely on the algorithm ( which i haven't done anywork on it) to decide which to store in ramzswap (faster) and which in backingswap(slower). However, if you have larger memlimit, the more you can store in ramzswap.
[G1 Android Development] ThR1LL:
Kk so I've read the post and I still have some questions. What's the difference between compcache with backing_swap and compcache with linux-swap?
[G1 Android Development] huanyu:
compache = ram based swap (much faster when compare to disk/flash based swap)

back_swap = ram based swap + normal swap based on disk/flash and managed by compcache

linux swap= disk/flash based swap managed by Linux
[G1 Android Development] ThR1LL:
So for back_swap, compcache utilizes the linux-swap partition when needed and as for linux swap it just runs alongside compcache at the same time. Right?
[G1 Android Development] huanyu:
yes. So you you plan to use linux swap with compache, I will suggest you use compcache with backing swap.
[G1 Android Development] ggrant3876:
Disregard this thread, answered it myself.
[G1 Android Development] pinetreehater:
Thought better of it...

Thanks Uwonsum and Huanyu

http://xdaforums.com/showpost.php?p=4268870&postcount=156
[G1 Android Development] StaggerLee123:
compcache working, but...

This script seems to be functioning as intended on my G1, but I've noticed I'm getting only 74% page compression, whereas I see most users show 100%.

What parameters do I need to change to get this, or is 74% within the acceptable range?

Here's my terminal output:

$ sh /system/sd/userinit.sh -s

===CompCache status===

CompCache version 0.5

Compcache enabled

CompCache: MemLimit (system) 18432(user)

CompCache: cc_backingswap (system) /dev/block/mmcblk0p3(user)

CompCache: cc_swappiness - 32(system) 32(user)

=== CompCache status ===

DiskSize: 24468 kB

NumReads: 3509

NumWrites: 4921

FailedReads: 0

FailedWrites: 0

InvalidIO: 0

PagesDiscard: 0

ZeroPages: 294

GoodCompress: 74 %

NoCompress: 4 %

PagesStored: 4627

PagesUsed: 1521

OrigDataSize: 18508 kB

ComprDataSize: 6038 kB

MemUsedTotal: 6084 kB

===VM status===

Set VM: page-cluster - 1(system) 1(user)

Set VM: laptop_mode - 0(system) 0(user)

Set VM: dirty_expire_centisecs - 3000(system) 3000(user)

Set VM: dirty_writeback_centisecs - 500(system) 500(user)

Set VM: dirty_background_ratio - 5(system) 5(user)

Set VM: dirty_ratio - 10(system) 10(user)

===CPU status===

Set CPU: scaling_min_freq - 245760(system) 245760(user)

Set CPU: scaling_max_freq - 528000(system) 528000(user)

Set CPU: sampling_rate - 2000000(system) 2000000(user)

Set CPU: powersave_bias - 200(system) 200(user)

$

THanks!
[G1 Android Development] ttabbal:
Compcache isn't using the backing_swap properly. That older version of compcache (0.5) is really finicky with parameters and you have to call it just so to get it working with backing_swap. If you're on cm-3.9.x experimental, just update to the latest. If not, wait for it to release as 4.0. I found that just using linux-swap was better on the older roms anyway. You can't set the size of compcache if you use a backing_swap with 0.5 and it uses too much memory by default based on the amount used stats.

When backing_swap is working, uncompressable stuff gets pushed out to the swap partition. That's why you see people getting 100% GoodCompress values.
[G1 Android Development] ekeefe41:
I can not find

linux_swap_eanable

In either file....
[G1 Android Development] ttabbal:
linux_swap_en in user.conf on the first post. No idea about the zip as I didn't use that file. I would think it's there though as it's a somewhat important value.
[G1 Android Development] ekeefe41:
I can find linux_swap_en with no issue, but linux_swap_eanable... is not in any file i can see.
[G1 Android Development] pinetreehater:
Change to Backing swap

Can we change straight from a linux swap to a backing swap without repartitioning the SD?

I tried to do so, but the backing doesn't list as running

C:\android\tools>adb shell sh /system/sd/userinit.sh -s
===CompCache status===
Compcache is enabled
CompCache: DiskSize 32098(system) 0(user)
CompCache: MemLimit 14692(system) 32768(user)
CompCache: cc_swappiness - 60(system) 60(user)
===VM status===
Set VM: page-cluster - 3(system) 3(user)
Set VM: laptop_mode - 0(system) 0(user)
Set VM: dirty_expire_centisecs - 3000(system) 3000(user)
Set VM: dirty_writeback_centisecs - 500(system) 500(user)
Set VM: dirty_background_ratio - 5(system) 5(user)
Set VM: dirty_ratio - 10(system) 10(user)
===CPU status===
Set CPU: scaling_min_freq - 128000(system) 128000(user)
Set CPU: scaling_max_freq - 528000(system) 528000(user)
Set CPU: sampling_rate - 2000000(system) 2000000(user)
Set CPU: powersave_bias - 0(system) 0(user)

. I am not real familiar with the backing swap, perhaps it must be formatted differently than a linux swap. I enabled backing swap, disabled linux swap, here is my .conf
[Touch Pro2, Tilt 2 Windows Mobile General] jaso2005:
Hi,

Can anyone tell me if they can connect to TomTom services such as traffic etc? It just doesnt want to work for me?

Thanks
[General Questions and Answers] Groundrush1:
During the past year we have had a company designing mobile solution software similar to Cognito to be used on a PDA/XDA phone

As expected we are facing a lot of problems with the company creating software that actually does what we want. The main problem at the moment is that the programme they have created will only work if there is a data connection. We have asked that the application should be like Internet explorer where it automatically connects on startup but for whatever reason they can not do this.

Does anyone know of a way of being able to automatically activate the data connection without having to expect the user to manually do it themselves?

Surely there must be way that they could do what internet exploer does

any suggestions

Thanks
[8525, TyTN, MDA Vario II, JasJam ROM Development] russco77:
I searched all forums but I cant find WM 5.0 for Hermes?

I have MDA Vario 2 now, and do not need anything spectacular than WM 5.0, only important thing is ENGLISH version :)

One more question-is flashing same as for WM 6.0?If it is, how about putting official ROM WWE 838Pro HK?

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

Is this only procedure, as I see? Just to confirm, more than 50 flashed devices but Hermes for the first time ;-)

1. Download and do Hard SPL V7

http://www.mrvanx.org/thg/index.php?option=com_content&task=view&id=16&Itemid=26

2. Download and flash ROM

http://www.mrvanx.org/thg/index.php?option=com_content&task=view&id=17&Itemid=26

Tnx, Danke, Grazie, Hvala!
[8525, TyTN, MDA Vario II, JasJam ROM Development] + Que PPC:
well there is no wm5 for hermes.. in my knowledge cause hermes was shipped with wm6 by default...

Yes all te procedures are correct..

BTW BEFORE!!!! you flash a new rom please please please flash the stripped Att original radio rom wm6 ok? ciao

PD you can found the stripped rom on every thread about rom development...

Good luck!.
[8525, TyTN, MDA Vario II, JasJam ROM Development] russco77:
Thanks man, now I see it is WM 6 :)

I did not understand this- do you suggests me to put AT&T ROM or to find only radio ROM and flash??

Is it possible to have problems with Hermes after upgrading only thi WWE ROM?

Same procedure for flashing or??? Cos' i found hundred of threds on this theme...
[8525, TyTN, MDA Vario II, JasJam ROM Development] + Que PPC:
nonono

if you flash that WM6 ithink is fine cause it seems to be original...

but if you want to flash a custom.. i mean a cooked rom

you must to flash before the att stripped.

yes is the same procedure.
[8525, TyTN, MDA Vario II, JasJam ROM Development] russco77:
OK :)

I need only stable ROM, just to work fine on this PDA, not cooked...yet ;-)

Tnx man!
[8525, TyTN, MDA Vario II, JasJam ROM Development] + Que PPC:
no problem man!

good luck ;)

this thread can be erased cause even it must be on upgrading forum... was solved

Any mod please.
[8525, TyTN, MDA Vario II, JasJam ROM Development] russco77:
OK, if its possible to move or erase in total, no needed any more. My mistake during posting, i was reading WM 6 and put it occasionaly
[8525, TyTN, MDA Vario II, JasJam ROM Development] ultramag69:
Actually, most Hermes CAME with WM05... It was just that after WM06 came out the carriers upgraded them to that. If you look hard enough you MIGHT find WM05 but it wasn't as stable as WM06 so wasn't maintained. I know I got rid of my old WM05 roms... If you want an old WM05, look for Jasjammin's Black Magic... Was a brilliant rom in its time...

Cheers....
[8525, TyTN, MDA Vario II, JasJam ROM Development] + Que PPC:
Nice to know that man Thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] boog:
Actually, I still have a copy of at&t's wm5!

http://www.4shared.com/file/9559746...NGULAR_WWE_2155023_6275_1403000_108_Ship.html
[8525, TyTN, MDA Vario II, JasJam ROM Development] + Que PPC:
opening the time capsule huh? thanks boog
[8525, TyTN, MDA Vario II, JasJam ROM Development] russco77:
is the procedure for upgrading same??

i didnt start upgrading yet, because something doesnt match in my official ROM package
[8525, TyTN, MDA Vario II, JasJam ROM Development] brewhoxs:
Here if you'll need WM5.0 for Dopod 838 Pro http://xdaforums.com/showthread.php?t=549410
[XPERIA X1 Themes and Apps] xplod89:
who has any bigger size visual QWERTY keypad software??can post the link on here.thx
[XPERIA X1 Themes and Apps] de Wolfe:
Searching makes sense sometimes...

Try FingerKeyboard...
[XPERIA X1 Themes and Apps] Morghoth:
SPB Keyboard

Only SPB Keyboard! Try full screen mode ;)
[XPERIA X1 Themes and Apps] xfelix:
Rohdium keyboard

try this ! from the Rohdium pack.

http://rapidshare.com/files/269747598/Rohdium_WVGA_FullKbd.cab.html
[XPERIA X1 Themes and Apps] digito91:
I think Fingerkeyboard2.1 is the best app..

It's very useful...
[XPERIA X1 Themes and Apps] M.Ozturk:
I use Cliquick. Not so goodlooking app like Fingerkeyboard, but has bigger buttons on portrait :)
[XPERIA X1 Themes and Apps] viper3ez:
any link to this?
[XPERIA X1 Themes and Apps] de Wolfe:
Use google! And yes, you have to pay for it!
[XPERIA X1 Themes and Apps] DaRkMyk:
try CooTek TouchPal.. so far it's the Best...

you can get the trial version from their website.

http://www.cootek.com/
[XPERIA X1 Themes and Apps] jrguy8:
how about a phone keypad for easy one finger texting. can someone post it here? norti is down. thanks.