[Q] Edit startup.txt

ketu

Senior Member
Dec 8, 2010
94
17
0
Suceava
hi guys,
could someone pls help me with this, i want to edit the startup.txt so when the android boots up i will always have the following registry:

echo 8 8 > /proc/sys/vm/lowmem_reserve_ratio
echo 8192 > /proc/sys/vm/min_free_kbytes


My startup is like this:

set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set KERNEL zImage
set initrd initrd.gz
set initrd_offset 0x00a00000
set cmdline "nand_boot=0"
set cmdline "wifi.mac_address=00:11:22:33:44:55"
boot

The problem is that after i modify in adroid the reg, every time i reboot it returns to the original values.
The ideea is to always have the same value, if there is another way tot do that pls let me know.
Tks in advance
 

deadmansink

Senior Member
Oct 19, 2010
349
32
0
San Diego
forum.xda-developers.com
hi guys,
could someone pls help me with this, i want to edit the startup.txt so when the android boots up i will always have the following registry:

echo 8 8 > /proc/sys/vm/lowmem_reserve_ratio
echo 8192 > /proc/sys/vm/min_free_kbytes


My startup is like this:

set mtype 2524
set ramaddr 0x11800000
set ramsize 0x1e400000
set KERNEL zImage
set initrd initrd.gz
set initrd_offset 0x00a00000
set cmdline "nand_boot=0"
set cmdline "wifi.mac_address=00:11:22:33:44:55"
boot

The problem is that after i modify in adroid the reg, every time i reboot it returns to the original values.
The ideea is to always have the same value, if there is another way tot do that pls let me know.
Tks in advance
What build are you using? It's possible it already exists in "99?????", I forgot the whole name of the file, but it start with "99.....".