Go Back   xda-developers > HTC Dream: G1 > G1 Android Development


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th September 2009, 05:57 AM
kingklick's Avatar
kingklick kingklick is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,203
Exclamation [HOW-TO] Edit your user.conf

With all these new "hero" builds coming out/updates for them, it is important to have optimal settings. Many people are not sure how to do this so I thought I would take my time to write a quick how to.

I have also attached a user.conf that is setup with comp cache and backing swap, swappiness of 80. I set the cpu scaling from 384 to 528 Mhz. You may edit this with notepad++ if you would like swap instead. Just open the user.conf with notepad++ and make the changes you want (the file is pretty self explanatory) Just be sure to set compcache to 0 along with backing swap

Place the "user.conf" on your sd root, and use the commands mentioned below

P.S. I apologize in advance to the moderators if you feel this is not in the appropriate place or not necessary, just trying to make things a little bit easier

In Terminal type:

Code:
$su
#sh /system/bin/rwsystem
#cp -f sdcard/user.conf /system/bin/user.conf
*If your ROM does not support "rwsystem"* use:
Code:
mount -o remount,rw /dev/mtd/mtdblock3 /system
Once again, I have attached a user.conf along with the JAC kernel that includes the script which allows you to use "rwsystem" (If your ROM supports the kernel)

Here is the link to the JACSki kernel with ttc_smokee's gps fix and Soul Life's script which will allow you to use "rwsystem"
http://www.4shared.com/file/13326171...l-_Update.html

*Just like anything else on this site, I am not responsible for you bricking or damaging your device*

CHeErs
Attached Files
File Type: zip user.zip (930 Bytes, 1479 views)

Last edited by kingklick; 9th October 2009 at 11:24 PM..
Reply With Quote
Sponsored Links

  #2  
Old 17th September 2009, 06:23 AM
kingklick's Avatar
kingklick kingklick is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,203
Default

Post here if you would like any kind of walkthrough for "dummies" reguarding user.conf's or user.init's or
Reply With Quote

  #3  
Old 17th September 2009, 06:40 AM
cx92001 cx92001 is offline
Member
 
Join Date: Aug 2009
Posts: 80
Default

Quote:
Originally Posted by kingklick View Post

*If your ROM does not have a kernel that supports "rwsystem" use
Code:
mount -oremount,rw /dev/mtd/mtdblock3 /system
You missed the space between -o and remount...
__________________
Phone: G1 Black
ROM: any new Hero
Recovery: RA-dream-v1.2.3
SD: 8GB Class 6
Swap: 96 MB
SPL: 1.33.2005
Radio: 2.22.19.26I
Reply With Quote

  #4  
Old 17th September 2009, 06:43 AM
alapapa's Avatar
alapapa alapapa is offline
Senior Member
 
Join Date: Dec 2007
Posts: 417
Default

Quote:
Originally Posted by cx92001 View Post
You missed the space between -o and remount...
works as-is

some progs accept arguments like that
some don't

mount happens to be one that does
__________________
I can help you become more human
Wizard -> Dream -- no regrets
Reply With Quote

  #5  
Old 17th September 2009, 06:46 AM
cx92001 cx92001 is offline
Member
 
Join Date: Aug 2009
Posts: 80
Default

Quote:
Originally Posted by alapapa View Post
works as-is

some progs accept arguments like that
some don't

mount happens to be one that does
Good to know. Thanks
__________________
Phone: G1 Black
ROM: any new Hero
Recovery: RA-dream-v1.2.3
SD: 8GB Class 6
Swap: 96 MB
SPL: 1.33.2005
Radio: 2.22.19.26I
Reply With Quote

  #6  
Old 17th September 2009, 07:14 AM
kingklick's Avatar
kingklick kingklick is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,203
Smile

Quote:
Originally Posted by alapapa View Post
works as-is

some progs accept arguments like that
some don't

mount happens to be one that does
yah it does work without the space, thanks, but i edited the space in anyway to prevent more posts like that
Reply With Quote

  #7  
Old 17th September 2009, 08:21 AM
s15274n's Avatar
s15274n s15274n is offline
Senior Member
 
Join Date: Aug 2009
Location: N.C.
Posts: 330
Default

Are these edits needed/beneficial for those not interested/using hero ROMs?

I recall MikeTaylor had a file, but i know so little on what these can do. Thanks for doing this man.
__________________
___________________________________________
Phone............G1 (& a N1)............ROM......Cyan 4.2.13 w/10MB hack
Radio.............2.2.19.26I...............SD.........CL6 7.4GB/500/64
Recovery.......RA v1.5.2................SPL........HardSPL
Theme...........N/A at the moment
Quote:
"You should have made a backup. Fuck you." - Cyanogen
Reply With Quote

  #8  
Old 17th September 2009, 08:26 AM
kingklick's Avatar
kingklick kingklick is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,203
Smile

Quote:
Originally Posted by s15274n View Post
Are these edits needed/beneficial for those not interested/using hero ROMs?

I recall MikeTaylor had a file, but i know so little on what these can do. Thanks for doing this man.
Not needed, however I'd say most would argue they are beneficial changes for most ROMS... ie) cyanogen uses comp cache on his builds.

and no problem man my pleasure. My way of giving back to this great site
Reply With Quote

  #9  
Old 17th September 2009, 07:38 PM
kingklick's Avatar
kingklick kingklick is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,203
Default

If you do not know how to edit these files post here and ill make you a user.conf to your liking
Reply With Quote

  #10  
Old 17th September 2009, 08:47 PM
soulife soulife is offline
Senior Member
 
Join Date: Jul 2008
Posts: 435
Default

Quote:
Originally Posted by kingklick View Post
With all these new "hero" builds coming out/updates for them, it is important to have optimal settings. Many people are not sure how to do this so I thought I would take my time to write a quick how to.

I have also attached a user.conf that is setup with comp cache and backing swap, swappiness of 80. I set the cpu scaling from 383 to 528 Mhz. You may edit this with notepad++ if you would like swap instead. Just be sure to set compcache to 0 along with backing swap

P.S. I apologize in advance to the moderators if you feel this is not in the appropriate place or not necessary, just trying to make things a little bit easier

In Terminal type:

Code:
$su
#rwsystem
#cp -f sdcard/user.conf /system/bin/user.conf
*If your ROM does not have a kernel that supports "rwsystem" use
Code:
mount -o remount,rw /dev/mtd/mtdblock3 /system
Once again, I have attached a user.conf along with the JAC kernel that will allow you to use "rwsystem" (If your ROM supports the kernel)

Here is the link to the JACSki kernel which will allow you to use "rwsystem"
http://www.megaupload.com/?d=K39IKK7A

*Just like anything else on this site, I am not responsible for you bricking or damaging your device*

CHeErs
Rwsystem is not kernel dependent, its a script I wrote that made its way into a few other builds. Just a script which resides in bin or xbin directory, nothing more or less.
Reply With Quote

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

Forum Jump


All times are GMT +1. The time now is 12:44 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.