Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ShatBag1105
Old
#21  
ShatBag1105's Avatar
Senior Member
Thanks Meter 2
Posts: 112
Join Date: Feb 2009
Ok Heres what i get.

Quote:
===CompCache status===
/proc/ramzswap: no such file or directory
Compcache is enabled
/proc/ramzswap: no such file or directory
CompCache: DiskSize (system) 0(user)
/proc/ramzswap: no such file or directory
CompCache: MemLimit (system) 8192(user)
"!! Unable to set compcache swappiness to user specific "30
Current system value is "60"
===VM status===
ERROR!! Set CM: page-cluster - 0(system) 3(user)
Set CM: laptop_mode - 0(system) 0(user)
Set CM: dirty_expire_centisecs - 3000(system) 3000(user)
Set CM: dirty_writeback_centisecs - 500(system) 500(user)
Set CM: dirty_background_ratio - 5(system) 5(user)
Set CM: dirty_ratio - 10(system) 10(user)
===CPU status===
ERROR!! Set CPU: scaling_min_freq - 384000(system) 245760(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)
These errors were from Compcache w/ backing swap configuration.
Ive received these errors with your STOCK user.conf/userinit.sh files and from a modified user.conf file for compcache w/backing swap.

Quote:
To use compcache with backing_swap
-set compcache=1
-set linux_swap_eanable=0
-set cc_disksize=0
-set cc_memlimit=8
The main thing that worries me is >> "/proc/ramzswap: no such file or directory" What does this mean?

Ive installed CM 3.9.2 on a fresh wipe, and my sd card is partitioned FAT32/EXT3/Linuxswap(32mb) with gparted live cd. Thanks to ALAPAPA

WHAT THE DEUCE??
TMOBILE LG G2X
 
huanyu
Old
#22  
Senior Member - OP
Thanks Meter 13
Posts: 124
Join Date: Apr 2009
Quote:
Originally Posted by alapapa View Post
I don't get it...what's the point of a config file for a config file?
As more configurable options available to userinit.sh, the userinit.sh became more difficult to manage and modify for some of the users. It is also little confuse for many users as they don't know much about shell script.
 
uwonsum
Old
#23  
uwonsum's Avatar
Senior Member
Thanks Meter 0
Posts: 203
Join Date: Jul 2008
Quote:
Originally Posted by pychobj2001 View Post
If you could maintain a version numbered system for your compcache scripts that would rock, so every time you modify it and we try different setups we could know which "version" we like and use that one....I would love this...I never know what i'm getting w/ all these compcache/swap scripts..but this is the best working one by far..and which roms it works w/...like tested w/ 2.4.1 kinda stuff...IDK just some random thoughts....and would love to see a maintained compcache thread!!!
I think this is a great idea...I wish huanyu would have reserved for himself the 2nd and 3rd posts for this.
 
huanyu
Old
#24  
Senior Member - OP
Thanks Meter 13
Posts: 124
Join Date: Apr 2009
Quote:
Originally Posted by ShatBag1105 View Post
Ok Heres what i get.



These errors were from Compcache w/ backing swap configuration.
Ive received these errors with your STOCK user.conf/userinit.sh files and from a modified user.conf file for compcache w/backing swap.



The main thing that worries me is >> "/proc/ramzswap: no such file or directory" What does this mean?

Ive installed CM 3.9.2 on a fresh wipe, and my sd card is partitioned FAT32/EXT3/Linuxswap(32mb) with gparted live cd. Thanks to ALAPAPA

WHAT THE DEUCE??
can you try
Code:
sh /system/sd/userinit.sh
before you enter
Code:
sh /system/sd/userinit.sh -s
 
huanyu
Old
#25  
Senior Member - OP
Thanks Meter 13
Posts: 124
Join Date: Apr 2009
Quote:
Originally Posted by sacredsoul View Post
Ok I tried but hanged at the G1 screen for 3.9.3. Apparently, the exit command have to be removed from the userinit.sh. I removed the last "exit;" in the file but still got stuck. Any idea guys?
this is a know issue with 3.9.3 http://forum.xda-developers.com/show...46&postcount=2
Quote:
* Made startup use "source" instead of executing userinit.sh directly - this could cause problems for some people. If you system doesn't boot, rename your userinit and check it for errors. I will probably revert this behavior.
I may give a go with this new rom tomorrow if i got time.
 
ShatBag1105
Old
#26  
ShatBag1105's Avatar
Senior Member
Thanks Meter 2
Posts: 112
Join Date: Feb 2009
Quote:
Originally Posted by huanyu View Post
can you try
Code:
sh /system/sd/userinit.sh
before you enter
Code:
sh /system/sd/userinit.sh -s
OOPS.

5 DAYS of messing with this and FINALLY I am up and running! My hands are shaking...
HUANYU THANK YOU! this user.conf file is what it took.

oh btw how do we get 3.9.3 to work?
TMOBILE LG G2X
 
huanyu
Old
#27  
Senior Member - OP
Thanks Meter 13
Posts: 124
Join Date: Apr 2009
Quote:
Originally Posted by pychobj2001 View Post
If you could maintain a version numbered system for your compcache scripts that would rock, so every time you modify it and we try different setups we could know which "version" we like and use that one....I would love this...I never know what i'm getting w/ all these compcache/swap scripts..but this is the best working one by far..and which roms it works w/...like tested w/ 2.4.1 kinda stuff...IDK just some random thoughts....and would love to see a maintained compcache thread!!!
Good idea.

rom compatibility can only be done by users, as i don't have that much time to try out everything. But i could try to list them on the first post or third post
 
huanyu
Old
#28  
Senior Member - OP
Thanks Meter 13
Posts: 124
Join Date: Apr 2009
Quote:
Originally Posted by ShatBag1105 View Post
OOPS.

5 DAYS of messing with this and FINALLY I am up and running! My hands are shaking...
HUANYU THANK YOU! this user.conf file is what it took.

oh btw how do we get 3.9.3 to work?
I just had a look at the a2sd file in 3.9.3
change
Code:
    # call a userinit.sh script if it's present on the sdcard
    if [ -e /system/sd/userinit.sh ];
    then
        . /system/sd/userinit.sh;
    fi;
to
Code:
    # call a userinit.sh script if it's present on the sdcard
    if [ -e /system/sd/userinit.sh ];
    then
	/system/bin/sh /system/sd/userinit.sh;
    fi;
may fix the issue... but i am not sure until i test it out
 
sacredsoul
Old
#29  
sacredsoul's Avatar
Senior Member
Thanks Meter 374
Posts: 1,288
Join Date: Feb 2007
Location: Singapore
Quote:
Originally Posted by huanyu View Post
I just had a look at the a2sd file in 3.9.3
change
Code:
    # call a userinit.sh script if it's present on the sdcard
    if [ -e /system/sd/userinit.sh ];
    then
        . /system/sd/userinit.sh;
    fi;
to
Code:
    # call a userinit.sh script if it's present on the sdcard
    if [ -e /system/sd/userinit.sh ];
    then
	/system/bin/sh /system/sd/userinit.sh;
    fi;
may fix the issue... but i am not sure until i test it out
Ill test it... How do I pull the a2sd file using ADB?
Phones Used:
Nokia 8250
Nokia 8310
Nokia 3200
Sony Ericsson K750
Sony Ericsson K800
O2 Atom
Nokia N80
Dopod 838 Pro
Apple iPhone 2G
Apple iPhone 3G
HTC G1
Apple iPhone 3GS
Nokia N900
HTC Legend
Apple iPhone 4
Dell Streak
LG Optimus 2X
Apple iPhone 4S
Apple iPhone 5

Sony Xperia Z
 
Binary100100
Old
(Last edited by Binary100100; 1st August 2009 at 12:02 PM.)
#30  
Binary100100's Avatar
Retired Forum Moderator
Thanks Meter 1075
Posts: 5,373
Join Date: Apr 2008
Location: Detroit, Mi

 
DONATE TO ME
Quote:
Originally Posted by huanyu View Post
I just had a look at the a2sd file in 3.9.3
change
Code:
    # call a userinit.sh script if it's present on the sdcard
    if [ -e /system/sd/userinit.sh ];
    then
        . /system/sd/userinit.sh;
    fi;
to
Code:
    # call a userinit.sh script if it's present on the sdcard
    if [ -e /system/sd/userinit.sh ];
    then
	/system/bin/sh /system/sd/userinit.sh;
    fi;
may fix the issue... but i am not sure until i test it out
I'll give it a go.

/system/bin/a2sd right?

edit: didn't work. just hanging at boot screen.
Device(s) Info:

HTC Amaze 4G :
Energy ICS | Rooted | SIM Unlocked | HBOOT-1.93.2222 JuopunutBear S-OFF | Recovery 4ext | Kernel: HTC Stock

HTC EVO View 4G:
[ACS]CleverNameHere Rom RLS 1 (HC) | hboot 6.14.5556 | Revolutionary S-OFF | TWRP 1.0.3 Port

Samsung SGH-T959 Vibrant (unlocked) :
FFC v2 Mod
| Bionix NextGen 2 | Kernel: OverStock 2.4.1 | KB5 Modem | ClockworkMod Recovery



 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more