yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] eatabagel:
Ok... despite the changes in my user.conf, none of the settings are actually being set. Here's what I get for swap. Where are the errors coming from?

swap -s

=== user.conf ===

*** general ***

apps2sd=0

media2sd=

*** CompCache ***

compcache_en=1

cc_memlimit=16

cc_disksize=32

cc_backingswap_en=1

cc_backingswap=/dev/block/mmcblk0p3

swappiness=40

*** Linux Swap ***

linux_swap_en=0

linux_swap_partition=/dev/block/mmcblk0p3

*** VM ***

sys_vm_en=1

page_cluster=0

laptop_mode=0

dirty_expire_centisecs=4500

dirty_writeback_centisecs=750

dirty_background_ratio=5

dirty_ratio=10

*** CPU ***

proc_cpu_en=1

scaling_min_freq=128000

scaling_max_freq=528000

sampling_rate=2000000

powersave_bias=0

up_threshold=45

=== CompCache status ===

CompCache version 0.6+

!!!ERROR Compcache disabled

CompCache: MemLimit (system) 16384(user)

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

!!! Unable to set compcache cc_swappiness to user specific "80"

Current system value is "60"

=== CompCache status output ===

Failed to open /dev/block/ramzswap0: No such file or directory

=== VM status ===

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

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

ERROR!!! Set VM: dirty_expire_centisecs - 3000(system) 4500(user)

ERROR!!! Set VM: dirty_writeback_centisecs - 500(system) 750(user)

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

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

=== CPU status ===

ERROR!!! Set CPU: scaling_min_freq - 245760(system) 128000(user)

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

ERROR!!! Set CPU: sampling_rate - 200000(system) 2000000(user)

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

ERROR!!! Set CPU: up_threshold - 40(system) 45(user)

#
[G1 Android Development] akycia:
Yes, Flash the ROM as it comes packaged, and then push the edited user.conf file to your system/sd

in terminal:

su

mount -o remount,rw /dev/block/mtdblock3 /system

cp /sdcard/user.conf /system/sd

chmod 755 /system/sd/user.conf

then exit terminal, and reboot device

at least this is how i have been doing it.... correct me if i am wrong, please..... i'm still quite noobish
[G1 Android Development] miketaylor00:
Disksize is ignored when backing swap is turned on.
[G1 Android Development] miketaylor00:
1. You are using an overclock app

2. You need to set the swapiness in Linux swap and Compcache to the same value

Fix those and see if the VM goes away. If not, post your user.conf because I don't know the cause of the VM errors.
[G1 Android Development] lycoln:
I'll correct you...every where that you are directing to /system/sd for this ROM needs to be directed to /system/bin
[G1 Android Development] eatabagel:
Thanks.

But I don't think I'm using an overclock app. This is the newly flashed install of JACxHEROSkiv2.0. So whatever runs default is all I have. I haven't installed or turned on any overclocking applications.

My user.conf only has compcache and backingswap turned on, and linuxswap is turned off. Despite this, I have to do the settings for linuxswap too?
[G1 Android Development] lycoln:
Apps Error

Apps will install correctly...Still only on the data network WON'T install on Wi-Fi

Apps will install and run fine, UNTIL REBOOT at which time some apps will only give you a force close upon launch until you uninstall and reinstall.

Apps this is happening with for me: -Advanced Task Killer -Pandora -Handcent
[G1 Android Development] mccurt29:
I seen some1 mention it earlier about the camcorder sound is not working its not working on mine either can we plz get a no wipe fix for this
[G1 Android Development] eatabagel:
I am still getting error messages still for CompCache and VM, (which I pasted in my post above.

I am still puzzled as to where the errors are coming from. It still seems like CompCache is not turning on (which explains the load screens for Rosie).

Here's what my user.conf has:

# General parameters

general{

apps2sd=0	# this is useless here, require a modified a2sd script

dalvik2sd=0	# relinks the dalvik to sd if /system/sd/dalvik-cache exists

data2sd=0	# moves the data to sd if user enables

smsurgent=1	# sets the sms to urgent priority if user enables

lednotify=1	# activates led notification if user enables

}

#compcache related parameters

compcache{

compcache_en=1	# enable(1) or disable(0) compcache

cc_disksize=32	# Ram swap disksize - any number between 1 to 95 should work

cc_memlimit=16	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)

cc_backingswap_en=1	# enable(1) or disable(0) backing swap

cc_backingswap=/dev/block/mmcblk0p3 # pointing to the backingswap partition device

cc_swappiness=60 # default 40

}

#Linux swap parameters

#

# linux swap can only be enabled if cc_backingswap_en is set to "0"

#

linux_swap{

linux_swap_en=0	# enable(1) or disable(0) linux swap

linux_swap_partition=/dev/block/mmcblk0p3 # swap partition device

swappiness=60 # default 60

}

#virtual memory

sys_vm{

sys_vm_en=1	# enable(1) or disable(0) virtual memory configurations

page_cluster=0	# default 3, (0 since CM3.9.6+)

laptop_mode=0	# default 0

dirty_expire_centisecs=4500# default 3000

dirty_writeback_centisecs=750	# default 500

dirty_background_ratio=5	# default 5

dirty_ratio=10	# default 10

}

#cpu clock

proc_cpu{

proc_cpu_en=1	# enable(1) or disable(0) user cpu configurations

# freqency options

# 19200

# 122880

# 128000

# 245760

# 384000

# 528000

scaling_min_freq=128000 # default 245760

scaling_max_freq=528000	# default 528000

sampling_rate=2000000	# default 2000000 depending on kernel version

powersave_bias=0	# default 0, (200 since CM3.9.6+ )

up_threshold=45	# default 40, percent cpu usage before going up a speed step

}
[G1 Android Development] simon.romin:
Is it normal that when pressing 'Back' or 'Home' 30% of the time I will just see the htc splash screen and then it takes a few seconds to load the home screen again. Is there anyway to avoid that?
[G1 Android Development] miketaylor00:
Try increasing your swap size. I think swap free notify for compcache is too agressive and gets rid of data that it shouldn't I have noticed more reloads with it than before. I guess it is a trade off for it not slowing down in other ways. Hopefully it will be improved over time.
[G1 Android Development] captnjagerbomb:
Cant seem to get the weather to load up with the clock widget... its just a blank space below the time..
[G1 Android Development] ccyrowski:
PLEASE DO NOT POST UNLESS YOU HAVE A LOGOT OR HAVE SUBMITTED AN ERROR.

Not to point you out, but your problem is limited to you, as my clock displays the time and weather fine.

Please people, this IS a development forum. :)
[G1 Android Development] captnjagerbomb:
Sorry... i thought it might be something with the update since i had just flashed to it.. while 1.8 was rockin out.
[G1 Android Development] mccurt29:
This problem is not his limited to u mines does this to after flashing a new build all u have to do is restart id phone or his remove the widget then put it back up sometimes I had to reboot the phone 2wice
[G1 Android Development] jugg2000:
JAC 1.8 and 2.0 have been running flawlessly for me.

For the 2.0 build, my settings are as follows:

linux swap paritition = 96mb

compcache = 1

cc_backingswap = 1

cc_swappiness = 60

linux_swap = 0

up_threshold = 35

scaling_min = 384000

scaling_max = 528000

I haven't tested the linux-swap on this build. I've only been doing the compcache. linux-swap was blazing for the 1.8 build with the same threshold and scaling specs.

Hero is running just as good as Cyanogen's ROMs for me.

I am getting an error when tethering, but it seems to work regardless. I'll post it later.
[G1 Android Development] hassle:
2.0

fast! very nice.
[G1 Android Development] devsk:
Is anyone seeing any hangs with this ROM? Very unusual hang and seems to be kernel related. Note how messages are getting generated every few milliseconds in the kernel. This is the snippet from 'dmesg'. Some driver is really stuck.

<6>[10631.184600] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.191253] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.198181] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.207183] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.214447] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.221069] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.228027] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.234741] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.242950] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.249420] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.257629] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.264312] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.271118] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.277923] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.284881] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.291320] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.298278] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.307220] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.314910] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.322113] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.331542] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
<6>[10631.339172] binder: 2937:2956 ioctl c0186201 46457e38 returned -14
[G1 Android Development] ccyrowski:
Please note, BFS is still experimental. Also, JAC looked into HZ and is irrelvant to some extent in the android-msm because of the dynamic tick patch. But thanks for the log! Looking into it now.
[G1 Android Development] miketaylor00:
Hmmm, sounds like it could be BFS related to me.
[G1 Android Development] Conundrum68:
Unstable for me

Flashing process went fine.

ROM seems fast while its working but is unstable to me.

I get many spontaneous reboots while the phone is in use or just sitting there "asleep".

Several FC's as well.

I've tried disabling CC/Bswap and going to just Linux-swap and that doesn't help.

So for now I'm going back to 1.7R2 with Linux Swap.

Thank you guys for the effort.
[G1 Android Development] vtecbros:
Why doesnt the 2.0 have QWERTY word prediction?
[G1 Android Development] harpreet1988:
I'm getting random reboots with the new kernel as well.
[G1 Android Development] ccyrowski:
I have no idea where these random reboots are coming from. Especially since several people are reporting them while I haven't gotten any.

If you get them, will you attempt to recreate what you did a second time with a log cat?

Again, BFS is experimental, and while there is a marked improvement in speed a phone isn't much use if it reboots while you're in the middle of a call.

So this is what I think we're going to do. Update kernel with latest commits but drop BFS and use CFQ and SLAB and move BFS to an experimental branch.
[G1 Android Development] eatabagel:
Ah... from this post: http://xdaforums.com/showpost.php?p=4512469&postcount=9656

I guess I'm the third to report this (rainabba and setenza also posted similar error messages)

So it seems my CompCache error stems from the same problems. I wonder if anybody has any clues about this. Is right that xvmalloc.ko is built against 32A? Has anyone else looked into this or found a way around it?
[G1 Android Development] akycia:
same for me, no text prediction. if i remember correctly, 1.8 didn't have prediction/correction either when i flashed.

note: i flashed both 1.8 and 2.0 multiple times, completely reformatting ext and swap partitions on my sd card, but it did not resolve this issue. also, when i reflashed akirah's rom, the text prediction came back(but, i couldn't resist testing out 2.0, and it is very well made!)

edit: it would appear that it is only in the messaging app that the prediction/auto-correction does not work... i think that if i remember correctly, it was the same in 1.8... it does work in other apps(such as ebuddy and peep)
[G1 Android Development] gary.lavin:
Left it to boot all last night, lots of green androids. I did the wipe from the recovery console, not sure what you mean on partitions?
[G1 Android Development] JoeSzymkowicz:
Unstable for me as well. Just wish the whole linux-swap issue was taken care off before the release was put out. With linux-swap disabled, is there any reason to have a linux-swap partition? Prolly going back to 1.8.
[G1 Android Development] devsk:
Actually, HZ=1000 is relevant, even more so with the dynamic tick patch, because the dynamic tick patch reduces the overhead associated with HZ=1000 traditionally. This was the whole point of posting and requesting for it...:D Please at least look at the thread that I posted about.

HZ=1000 gives you 1ms latency and HZ=100 gives you 10ms. which one would you choose for an interactive device? HZ=100 is best suited for server environment. HZ=1000 wasn't used as default because of overhead. Once NO_HZ (or dynamic tick patch) got rid of that overhead, Linus made HZ=1000 as the default. And I think we should move too!
[G1 Android Development] xitaxuta:
if you really like text prediction download TouchPal from market .. it uses prediction everywhere.. ex. YouTube, Market, i mean EVERYWHERE
[G1 Android Development] Fictionles:
Has anyone else come across an issue where sound events for notifications don't always get played if the screen is off?

I'm trying to reproduce it to get a log, but its very unpredictable thus far.
[G1 Android Development] dweller88:
I've been running 1.8 since release. Very stable. No reboots only one or two FCs of touchflo due to open keypad. Seems very stable to me. I'm not upgrading to 2 until others convince me that it is as stable as 1.8. I like the word stable it seems ;)
[G1 Android Development] lycoln:
-Hmm I saw that some ppl were having problems with the alarm, I've tested it out and the alarm (including snooze) works fine for me.

-I have had 2 random reboots (while phone was just sitting asleep) since updating to 2.0
[G1 Android Development] roguestatuskat:
ive had like 8 random reboots in 2 says since i erased my dalvik that i had from my 1.8

also my snooze didnt work this morning -.-
[G1 Android Development] mgorman:
where can i get just the kernel like how cyan had his stand alone? i want to apply it to another hero rom thats using the older kernel.
[G1 Android Development] :
Downloaded again and when flashing i "failure at line:80"

still corrupt
[G1 Android Development] rahduke:
I'm getting random reboots as well, seems to happen when the phone goes into idle..... Rom runs great I'd love to stick with it hopefully someone figures out this problem.

I started with a clean freshly formatted class 6 SD, and I've enabled CompCache only as per Cyrowskis directions...
[G1 Android Development] ~~Tito~~:
Look test this right now. I am running 45 up_threshold, with a 64mb swap partition. Its running fast but it reloads the home screen too much.

Also, when I flashed, I repaired ext partitons wiped, repaired wipe. Then updated, and it works. Never failed me yet. Only on my very first flash, did I have bootloops, and that was because I was learning.
[G1 Android Development] anddep:
listen to this man :)

i just turned Linux-swap off.. it came enabled stock. testing this out, seein a better proformance without linux-swap though.

good job on 2.0
[G1 Android Development] gary.lavin:
I'm getting this same failure but it goes away if I wipe.
[G1 Android Development] ce_rob:
anyone experiencing random reboots? i flashed 1.8 yesterday and was good most of the day until around 9pm...phone randomly rebooted. it's nearly 1pm here and it's happened three times already...
[G1 Android Development] Fictionles:
Vibration on notifications do get played; audio ones do not.
[G1 Android Development] PsychoKilla666:
if you're getting bootloops and you always follow directions, try completely deleting the ext and l-s partitions thru parted in recovery console

boot into recovery [1.3.1+ cm] by holding Home when you turn on your phone

go into console and type the following

parted /dev/block/mmcblk0

print (to verfiy we know what size card we are dealing with

rm 2

rm 3

mkpartfs primary ext2 [ie. 7622 8134]

mkpartfs primary linux-swap [ie. 8134 8166]

quit

upgrade_fs

recovery

then wipe and apply update

*if you're memory card is different size write down the ending size of your FAT and the total size of your card and count backwards, 96 for l-s is good and if you have to cut your ext a bit to make l-s bigger its fine, just make sure to start ext at the end of your FAT # and end l-s at the # of your total size

hope this helps some people, since partitioning is annoying and most people will try to wipe and fix, rather than reformat

p.s - credit goes to "youneek"'s thread which can be found here, http://xdaforums.com/showthread.php?t=533731 , you can also format FAT there if you want to
[G1 Android Development] anddep:
had that problem with 1.8

try out 2.0 its on the front page
[G1 Android Development] ~~Tito~~:
Major improvement! I used jugg2000's settings, and wow it is silkyyyy! Wow! Its fast! Now any little speed differences are because I need a class 6 card, so it can be flawless!

CC, and backing_swap FTW!

EDIT: DAMN IT!!!! I just experienced my first random reboot out of all the hero's I have flashed. Hopefully its the last. . .
[G1 Android Development] jasonsplace:
I've gotten that a few times but only when I forgot to wipe first. I just installed 2.0 and it's working phenomenally. I think I'm content now and will probably stick on this version until there is a major update.
[G1 Android Development] ulyssesclark:
how can i pull the user.conf...lol i forgot
[G1 Android Development] ~~Tito~~:
su
rwsystem
cp /system/bin/user.conf /sdcard/user.conf

then when your done editing it

su
rwsystem
cp /sdcard/user.conf /system/bin/user.conf
[G1 Android Development] jacko6969:
---------------------------------

I am having this issue on a Magic 32B as well. Any hope for a fix soon?
[G1 Android Development] ccyrowski:
try turning off and on your phone in the normal manner.
[G1 Android Development] crr127:
i'm having one little issue.. when i get the htc screen which has only been twice when it finishes loading back to the home screen it disables compcache and errors it out... i got it twice and both times i wasn't at home to run a logcat on it... anyone else having this issue???
[G1 Android Development] ~~Tito~~:
I did and none so far, I love the silk and speed of this rom! I just need a class 6 so it will feel like I have a real hero! :D
[G1 Android Development] ulyssesclark:
thanks bro
[G1 Android Development] miketaylor00:
I'm going to do some tweaking this weekend. I think that with swap notify free and BFS that there are better settings for this ROM now. I'll let you guys know what I find out.
[G1 Android Development] shaolinx:
iam trying to push back the user.conf, but it says "failed to copy... read only file system" any help?
[G1 Android Development] seanhassars:
i don't think the having 10 texts sent to you consecutively while browsing is an entirely accurate way to test whether or not your sms is working. honestly, how many times do you get 10 rapidfire text messages while browsing the net heavily on your phone? if you're trying to break it then it shouldn't be surprising that it doesn't work every time.
[G1 Android Development] edwinr29:
what i meant was, is it necessary to download the whole sdk for them to work, and if not, does any body know where to download it??
[G1 Android Development] dbhatesyou:
to anyone whom knows how to read.. just saying you're having an issue only helps out about ... .5% how about plugging your phone into the computer, pull up your cmd promt; type

adb logcat

reproduce your issues; copy the log and paste it; so we can see whats going on. because saying you're having issues is like saying you live on the street with the trees. by posting your log with said issues we can see what the internals is trying to do.
[G1 Android Development] Henchman:
Wow, this ROM is smooth.

Even with the weather widget running on one page and the c;ock/weather widget on another, I have yet to see the HTC screen when returning to the desktop.
[G1 Android Development] Ted417:
Haha... just tried that and I just got a bunch of Tether lines :P...
[G1 Android Development] big nu:
which..

w

Which one are you talking about?
[G1 Android Development] ccyrowski:
Thank you kind sir for the fitting analogy! PLEASE SEND LOGCATS!
[G1 Android Development] abteer:
Is anyone else's notification tones getting set back to the default ones after changing them? I'm on 2.5 by the way.
[G1 Android Development] tmac12:
All I have to do is connect my g1 and click the fix file?
[G1 Android Development] xREVOx:
extract all the files to your sdk\tools folder or where ever your ADB is.
[G1 Android Development] r_dub:
Alright to get SU back can i just install superuser.apk using package installer and im good or is there soemthing else i have to do and is there a way to do it with out adb if i have to do something else?

EDIT: NVM answered my own question by just trying it it works
[G1 Android Development] MvP77:
those commands are not for adb, i was giving an example of how u could use root explorer or Su file explorer to do the same thing as adb, of course without using adb. Look for those programs on the market
[G1 Android Development] MvP77:
I just did this, and i got every single message my girl sent me. Im on an edge network BTW.
[G1 Android Development] Nismo300zx:
any1 tried using the mms.apk from page 66 so see if that helped the sms issue?
[G1 Android Development] sullitf:
I just tested my SMS with 5 messages from text4free.net and received 5/5. This was just one test so it absolutely doesn't mean I am always receiving 100%, but I don't think I've missed one since setting up 2.5 last night. Immediately after hitting Send on text4free.net I switched back to my other window and loaded a new page on the forums. This has been enough in the past to make me miss test messages in the past but they came through no problem this time.

My settings for those who care:

JACHero 2.5

1GB ext3 partition for apps2sd

Mms.apk from 1.72 (I think) pushed in place of the preinstalled apk

256MB swap/ 80 swappiness

SMSPopup & text widget (they aren't causing any problems)

Widgets on all 7 screens (email, messaging, clock+weather, people, calendar, bookmarks, text widget, various application shortcuts)

256MB seems like way too big a swap file, but it seems to work well because it lets Dalvik swap anything it needs to, basically things just don't get killed off.

I have only slight lag going back to the homescreen, from ~1/4 of a second to 1 second tops. I am assuming that Rosie gets swapped pretty easily with my 256MB/80 causing the slight delay going home. However, after initial boot up I NEVER see the HTC or loading screens.

EDIT: @Nismo, I did use the Mms.apk "fix" batch file mentioned earlier in this thread. I'm assuming that is what you were referring to from page 66. I didn't do too much sms testing with 2.5 prior to pushing the new(well, old) Mms.apk over, but I haven't missed an sms since
[G1 Android Development] DMaverick50:
what are the drawbacks to using that large of a swap setting as opposed to say 124/60? if its just shorter sd life thats no biggie...thanks
[G1 Android Development] chordmasta:
It shouldn't matter how many "rapid fire" texts you send. My phone SHOULD receive every single text I get, regardless of rate, frequency, activities happening on the phone, NO MATTER WHAT. I should get all of my texts. I'm not trying to break it. When browsing, I get 0/5 texts. ZERO. That means that I don't get them while browsing. That's an issue. It's not network related (I'm on AT&T).
[G1 Android Development] abteer:
I've only posted 4 times it's working for me and I used to only receive 60% of my texts.
[G1 Android Development] hell4hot:
jac is the maNNNN

thankx from the great work bro, god bless you..