yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] yahyoh:
ram setting always go back to 0 :( i hope next build have xl version

edit: even i tried like 3 or 4 scripts non of them work idk why i'm going back to 2.79

here is 1

#!/system/xbin/sh
touch /data/local/DevilSettinxExecuted.log
echo "DevilSettinx executed @`date`" >> /data/local/DevilSettinxExecuted.log
mount -o remount,rw -t /dev/block/mtdblock5 /system

#
#RAM settings
#Choice between three RAM Settings
#0:CM9 378MB|1:XL 391MB|2:XL_bm 403MB
echo "1" > /sys/kernel/bigmem/enable && touch /data/local/devil/bigmem && echo "1" > /data/local/devil/bigmem

2

#!/system/xbin/sh
mount -o remount,rw -t /dev/block/mtdblock5 /system
echo "1" > /sys/kernel/bigmem/enable

3

#!/system/xbin/sh
#
mount -o remount,rw -t /dev/block/mtdblock5 /system
#
#RAM settings
#Choice between three RAM Settings
#0:CM9 378MB|1:XL 391MB|2:XL_bm 403MB
echo 1 > /sys/kernel/bigmem/enable && touch /data/local/devil/bigmem && echo 1 > /data/local/devil/bigmem

and non of them work even i tried to save them on sh or txt then remove txt :o:(
[Galaxy S I9000 Android Development] anuj_blaster:
is the kernel tested/supported on latest CM9 nightly? coz i am having too many hang ups on phone..
[Galaxy S I9000 Android Development] yahyoh:
what do u mean hang ups ?
[Galaxy S I9000 Android Development] purpleraintoxicity:
http://db.tt/C27S4UlV

Put thus in system/etc/init.d

Change to the right permissions.

And remember its wont stick if you will shut the phone down... Only works after reboot
[Galaxy S I9000 Android Development] yahyoh:
what u mean if shut down the phone , i think the script will run on boot :confused: or what :rolleyes:
[Galaxy S I9000 Android Development] FadeFx:
It will run on boot, but only set the value for next reboot, a full shutdown will reset this value to 0. So it sticks on reboots, but not on cold boot.

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] yahyoh:
thx for the answer but i hope next build we have XL and BM version from beginning :rolleyes:
[Galaxy S I9000 Android Development] :
I love your kernel! But I have 1 question. Has the newest VC version got 720p recording?
[Galaxy S I9000 Android Development] FadeFx:
I'm not sure, but i think derTeufel is working to make it stick anyway...(at least i hope) if its not possible, probably it would be better to have seperate kernels again, the neccassity for second reboot after a startup is indeed annoying.

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] anuj_blaster:
how do u set it up for boot?
[Galaxy S I9000 Android Development] FadeFx:
Either with command center, or better through an init.d script containing:

#!/system/xbin/sh

echo 1 > /sys/kernel/bigmem/enable && touch /data/local/devil/bigmem && echo 1 > /data/local/devil/bigmem;

If u want bigmem change 1 to 2 in both places.

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] ( V ):
check out OP - there's some info + look for it on Semahpore ICS thread , stratosk made a pretty good summary about it (#1814)
[Galaxy S I9000 Android Development] DerTeufel1980:
Are you all turning your device off this often?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] FadeFx:
I am using it a lot, and often my battery does not make it through the day...

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] :
Has the VC version got 720p recording? And is the difference between no VC and VC really that big?
[Galaxy S I9000 Android Development] ( V ):
yes - there's no difference between VC and CMC versions regarding 720p. I suppose it's a matter of taste really, but I know I prefer VC to CMC.
[Galaxy S I9000 Android Development] .:Crack:.:
Well why won't you just include /data/local/devil/bigmem in the initramfs and set the value of that file (the devil.json creates it) on every boot?

I guess it would be like this:

1st boot (no cc settings) = 0 ; set via cc /data/..../bigmem + /sys/.../bigmem/enable = 1/2; 1st reboot (initramfs checks the value of /data/.. and echos it to /sys/) probably back to 0; 2nd (and every other) reboot thecorrect ram settings will be applied (because it turned off with the correct one and the correct value will be set by the initramfs for the next reboot and so on)

Wouldn't that be a solution?
[Galaxy S I9000 Android Development] graco2213:
What mean in this kernel - vc, cmc, xl, and other shortcuts?

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] Full HD:
Please read the first post. You will find all answers there :)

Sent from my GT-I9000 using Dark Knight 3 / ICS 4.0.4
[Galaxy S I9000 Android Development] yahyoh:
read OP :):)
[Galaxy S I9000 Android Development] saphirrot:
yeah bro :D every day !
[Galaxy S I9000 Android Development] DerTeufel1980:
Too bad, it's not...

Because it has to be set before the initscript is working... The only other way would be, to let the kernel grab the value of the file itself.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] yahyoh:
so what about set ram setting in devil menu in recovery :D
[Galaxy S I9000 Android Development] prbassplayer:
This would be awesome. Cc is annoying to set and on I897 and slim if I don't set ram alot of my video playback starts fc'ing or giving error. Would love a Recovery set up feature, just my 2 cents.
[Galaxy S I9000 Android Development] FadeFx:
I guess the recovery can only do the same as CC or init.d script. Setting the value and overtaking it into initramfs isn't possible as initramfs is not changeable. So i guess we are stuck with what we have as most likely ram settings need to be set even before the filesystem is initialized, so it can not be fetched from the file... am i right derTeufel?

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] ( V ):
so it's either this way or the 3 'pre-specified ram' kernel versions.
[Galaxy S I9000 Android Development] DerTeufel1980:
exactly. i am trying to make the kernel read the bigmem file in /data, but i did not get it working yesterday.

edit: i just thought about it again....i am sure, the filesystem is not mounted at this time....
[Galaxy S I9000 Android Development] rtoussaint:
I can't get the settings to stick. Only bigmem sticks after a reboot. I'm trying to get touchwake and devil/deep idle enabled (and thus bluetooth disabled). I've tried it manually, via command center, nstools and init.d script. Nothing works. The init.d script doesn't seem to run at all, it only gets moved to the backup folder. Any ideas?

Could it be a rom issue? I'm running Team Kang build 38.
[Galaxy S I9000 Android Development] vitoski:
I found a bug that swap cannot be disabled. One you enable swap or Zram and then try to disable it nothing happens. It stays the way you used it, even if you restart the phone.

Btw. Do you guys experience micro lags as well? Sometimes when i start contacts or SMS it takes 2-3 seconds to load... Anyone has found the same?

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] yahyoh:
i think this not micro lag this because the first start for the app then it will be cached and it will start faster :rolleyes:
[Galaxy S I9000 Android Development] .:Crack:.:
Well why does an init.d script work then?

Or like the others said, make an option in the recovery that creates an init.d script. ;)
[Galaxy S I9000 Android Development] vitoski:
Yea that's true but it continuously comes back:-) The app gets killed then cached and killed again... That sucks!:-)

Also do you use swap? If yes, have you changed the value mentioned in OP? I was wondering what are the min and max for negative and positive values?

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] DerTeufel1980:
It doesn't. With init.d script you also have to reboot, after you powered off the device.

Placing an option in recovery would be the same. You would need to boot to Recovery everytime the device was off.

But I think i found a dirty workaround. Have to test it later.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] .:Crack:.:
oh wow, didn't even realize that, i always thought it stays :D Everytime I looked, well seems like i rebooted after turning it off completely :D

Good luck,

well if you can't manage to do that, you might want to let the kernel create an init.d script like s99reboot and place it in init.d if it realizes the phone was completely shut down?
[Galaxy S I9000 Android Development] FadeFx:
Not a good idea, this would extend boottime a lot. Better to reboot mually then.

DerTeufel, do u think it is possible to place a file in same place where kernel is loaded from? Or is this what your dirty hack is all about?

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] DerTeufel1980:
it's more like crack said. the very first file which is executed (while devil logo is showen) is checking if /data/local/bigmem is containing value 1 or 2. if yes, and bootmode=0 (this is default after power on), bigmem gets applied and then the device reboots. this way the first boot only takes few seconds longer :)
[Galaxy S I9000 Android Development] :
Which version is better? VC or normal?
[Galaxy S I9000 Android Development] yahyoh:
vc=voodoo color

cmc= cyanogenmod color
[Galaxy S I9000 Android Development] DerTeufel1980:
here comes my latest test kernel. main change:

at boot: /data/local/devil/bigmem is read. if it contains 1 or 2, the desired bigmem mode gets applied.

This requirs the device to be rebooting once (while devil kernel splash is shown). this only happens after device was turned off.

it is called devil3, because i am compiling the same kernel for cappy and vibrant, too now.

this is a voodoo color version
[Galaxy S I9000 Android Development] DerTeufel1980:
this is the i9000B kernel!
[Galaxy S I9000 Android Development] yahyoh:
so this version make auto reboot when trun off the device to apply the ram value when it read the value from data/local/devil/bigmem

another quistion today i update my sis phone from 2.72 to 2.94 and change the value to 1 in sys/kernel/bigmem/enable the reboot the ram change to 391 but there is no bigmem in data/local/devil did i make something wrong ?:rolleyes: in my phone there no problem
[Galaxy S I9000 Android Development] DerTeufel1980:
The file does not created by the kernel. You have to create it, and write the value to it. You could use command center for this.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] fishears:
Sticky bigmem with new version working very well. Thank you!
[Galaxy S I9000 Android Development] purpleraintoxicity:
As always, Derteufel provides the best! !!
[Galaxy S I9000 Android Development] DerTeufel1980:
glad to hear :)

could you make further testings with twrp? i could not find any problem in the code yet. you also can tell me via pn.
[Galaxy S I9000 Android Development] dark_knight35:
Wh0t? We're already on Devil3? Have to go back to ICS :D.
[Galaxy S I9000 Android Development] jelle2503:
why switch to VC on test kernels.

:sadpanda: vc sucks.

now i will not test it :(
[Galaxy S I9000 Android Development] DerTeufel1980:
Sorry, I like vc more, and it was already late yesterday. Did not want to compile again.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] sUsH667:
odin-versions

thx for your latest kernel, works fine as always.

but one problem still remains for me: i can not flash the 0.94-kernels via odin because of md5errors. i'm wondering how you others manage to flash them via odin... already downloaded them again with the same result. any suggestions what i am doing wrong? or maybe one of you could re-tar both 0.94-kernels for me? would be cool.

greetz n thx,

sUsH
[Galaxy S I9000 Android Development] DerTeufel1980:
Sorry, I think i have to remove the 0.94 tar files. They are corrupted.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] FadeFx:
Try removing .md5 file extension. Not sure if the kernel will work, but sure it will flash...

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] Bejda:
For me,last time I've tried, when removing .md5 extension it did flash successfully but kept stucked (stuck,not bootlooping or else) at device boot image.

Same with the supposedly fixed .md5 version someone posted on the thread(.md5 mismatch and stucked at device boot if .md5 removed).

The thing is i tested it only when i was trying to recover from a cwmless bootloops issue so it could be different on a normal situation.

Actually the only "working",at least seems booting (edit:in that cwmless situation,booted fine on a normal one), Devil .tar i have is my own windows/iZarc made version (wich is probably a dirty/missing stuffs version i guess?).

Sadly,on another point,i did have kernel logo but kept cwmless bootlooping when i tried (but as i said,it's another story).
[Galaxy S I9000 Android Development] ( V ):
+1 :)

Excellent job Teufel!
[Galaxy S I9000 Android Development] yahyoh:
i want to test the new kernel but i hate vc :o:o:p i hope to see soon cmc version :rolleyes:
[Galaxy S I9000 Android Development] Rahlp:
Hi guys, nice stuff.

Has anyone tried using USB host mode? I tried to use it but it is not working.. it says "root hub present, USB host mode is not active or not available" in the usb control app..

Rahil
[Galaxy S I9000 Android Development] gokussjx:
Wrong thread mate. (please search before posting)

Go here: http://xdaforums.com/showthread.php?t=1450298
[Galaxy S I9000 Android Development] DerTeufel1980:
Which kernel did you try?

I can't verify the host mode myself, because I do not have the needed hardware.

Also, is it working for you, with the kernel linked below?

Well, mine also should work...

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Rahlp:
I am using the latest Devil2..

EDIT: I am only trying to connect a 2gb USB stick through OTG cable.

---------- Post added at 06:14 PM ---------- Previous post was at 06:13 PM ----------

Mate this kernel supports USB host mode.
[Galaxy S I9000 Android Development] All Day On XDA:
Lovely kernel but I have a problem I hope someone can help with. I'm on Devil 2 0.94

The swap partition works great. But when I apply any kind of datafix (I've tried several) I end up in a bootloop.

I would really like to have both the swap and the datafix running at the same time.

Has anyone managed to do so?

(I'm on Slim ICS 3.8)
[Galaxy S I9000 Android Development] yahyoh:
i think swap do nothing with datafix ,its do different things

swap use to cached apps on memory

data fix move apps from datadata to data/data (as i know maybe it work in different way)
[Galaxy S I9000 Android Development] DerTeufel1980:
Is it working with the OTG host kernel?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] e30power:
Hi,

Can you make a app like semaphore to activate, select, or deactivate kernel Features? , thx
[Galaxy S I9000 Android Development] Rahlp:
Haven't tried any other kernel with USB host. Will try and let you know.
[Galaxy S I9000 Android Development] sUsH667:
settings of aroma filemanager

hey DerTeufel, can you tell me where the settings for the aroma filemanager included in devil recovery are stored? no matter what i change in the settings of it, after i exit and later reopen it, settings are reset to standard.

any idea anyone?

greetz n thx,

sUsH
[Galaxy S I9000 Android Development] supergeorg:
Love your kernel very much, especially the recovery.

Is there any brightness setting in recovery or did I just overlooked them?

Danke für den Kernel!

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
Yes. Command Center.

Sent from CM9.
[Galaxy S I9000 Android Development] Bejda:
@sUsH667,then according to the way DerTeufel once said "should work" (boot.img renammed to zImage and tar'd),here's the three latest versions:

http://db.tt/SPcRlVjh

http://db.tt/rilZgH56

http://db.tt/4o2pt30K

I've just flashed Devil3 0.65 with success.
[Galaxy S I9000 Android Development] gokussjx:
I know, but you can't directly connect a USB Drive to the Phone, inspite of USB OTG support. You need a power supply (I9000 doesn't output power), & a Y-Cable... etc, the method is explained in the thread. Read it.

DerTeufel, no tweak, or idea to have I9000 output power to drive yet?
[Galaxy S I9000 Android Development] saszseb:
When you flash a Devil kernel S30datafix will be pushed to /etc/init.d.

Sent from CM9.
[Galaxy S I9000 Android Development] All Day On XDA:
Please forgive my noobishness, but how do I use this info to have both the datafix and swap running at the same time?
[Galaxy S I9000 Android Development] Bejda:
Yep but no activated until you create a datafix file in /data/local (+reboot).
[Galaxy S I9000 Android Development] Rahlp:
I am not connecting a External HD its just 2/4 gb usb stick... does it require a external power source?
[Galaxy S I9000 Android Development] ak:
init.d

You may have noticed when starting from a fresh install rom with the latest kernel performs automatic backups of your init.d folder?

Thanks a lot. :confused:
[Galaxy S I9000 Android Development] All Day On XDA:
I've installed the Devil kernel after applying the datafix, and as far as I can see the datafix is working properly. It is in /etc/init.d as stated.

Inside /data/local there are two subdirectories.... devil and tmp

Should I move the datafix file into /data/local/devil/ after activating swap?
[Galaxy S I9000 Android Development] fishears:
Hopefully tomorrow. Had a busy time with the Jubilee here ;)
[Galaxy S I9000 Android Development] .:Crack:.:
yes it does
[Galaxy S I9000 Android Development] e30power:
But in command center, the people must write the commands selfs, it very easier when the commands can check by exsiting box, for people which are not so intellectual, and it were much faster and easyier ;-), thx
[Galaxy S I9000 Android Development] Bejda:
No no,don't move anything ;)

I don't know about swap+datafix (but can't see why they shouldn't get well along).

Flashing the Devil (with his datafix "if" in init) didn't change anything in your configuration, it's still the same as set by the previous datafix you had in init.d but this one has been moved in /system/etc/backup folder so he won't apply anymore at boot to the futures apps you will install or to the newly created data's (caches/libs or else) of your already installed apps.

---------- Post added at 06:00 PM ---------- Previous post was at 05:53 PM ----------

It exist,search for Crack's (the guy above you ;) ) devil.json file on this thread and put it in /sdcard/Android/data/com.askven.commandcenter/files folder.

Reset command center app and at next app launch you'll have a Devil tab with existing boxes to tick.

But they are many ways that will maybe suits you or work better than command center.Search the thread.

The most user friendly could be an init.d script that has been posted by here or you can manually edit concerned files (see second post in first page).Edit them manually or via terminal emulator.
[Galaxy S I9000 Android Development] Rahlp:
ok
[Galaxy S I9000 Android Development] vitoski:
Guys what are the best settings for swap? I have increased the value from 512 (default) to 726 but did not notice any big difference:-)

What is the best setting for balance between performance and multitasking? Also what are the max negative and positive values we can use?

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
No. Open CC>>preferences>> tick "Execute on tap".

Sent from CM9.
[Galaxy S I9000 Android Development] gokussjx:
Seriously, don't go beyond 512. Its a waste of memory. 512 is more than sufficient. You're not gonna use even 25% of it ;)
[Galaxy S I9000 Android Development] Bejda:
@All Day On XDA,

The S30datafix from Devil (wich is activated only if a datafix file,a blank one just named this way you have to create yourself,is found in /data/local) is that one:

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

The one you were using before has been put when you flashed the Devil in /init.d/backup folder.

If it was the same or if you want to use this Devil version from the link above just create that blank datafix file in /data/local it will then apply on the next boots.

If you were using another one and keep wanting to use your previous one take it back from /init.d/backup to /init.d
[Galaxy S I9000 Android Development] Weedalot:
And will work, tested works great!

Model:GT I9000

Rom: ICS slim 3.9

Kernel: Devil 2 0.92 CMC

Swap: on (1024 mb)

Theme: Freehand CirclesMod ICS Blue 5
[Galaxy S I9000 Android Development] Weedalot:
So true i got 1gb of swap and it never uses more than 10%

Model:GT I9000

Rom: ICS slim 3.9

Kernel: Devil 2 0.92 CMC

Swap: on (1024 mb)

Theme: Freehand CirclesMod ICS Blue 5
[Galaxy S I9000 Android Development] All Day On XDA:
Well I activated the swap again and it seems to be working along with the datafix

The only difference between this time and the time before was the order in which I applied the datafix and swap.

Activating the swap first then datafix gave me bootloops (on the second boot)

This time I activated the datafix first and then the swap and everything is working (so far)

Right now my /etc/init.d/ directory contains S05userinit and S30datafix and a backup directory.

/data/local/ doesnt contain anything except devil and tmp subdirectories

You mentioned that I need to create a blank datafix file in local for it to apply, but it seems to be applying without it - which has confused me tbh

Also I would just like to confirm something.....

since I have S30datafix in init.d, that means it will run on every boot, correct? So I don't need to explicitly run it when I install a new app do I? A simple restart should sort things shouldn't it?
[Galaxy S I9000 Android Development] DerTeufel1980:
if you are using the datafix script, coming with my kernel, you need to create the filöe mentioned some times now. i have edited the script, to only work, if this file got created. after this, the script is running at every boot, without the need to do anything else.

if you are using another datafix script, it should work out of the box, just placing it in init.d
[Galaxy S I9000 Android Development] vitoski:
Yea that's true. Right now I have 250 swap partition but I'm talking about the value in the file stated in OP. The value can be set either to negative or positive but don't know what are the max numbers...

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] didicola:
http://xdaforums.com/showpost.php?p=26621026&postcount=5272
[Galaxy S I9000 Android Development] doc_2nas:
Do you mean fudgeswap? (I think there's a typo there to write it as fugeswap). If I'm not mistaken it's sort of a part of swap that included in lowmemorykiller. In other word, fake the total ram to be a little bigger. Just let it on it's default setting (512 kb). Please google it just to be sure.

@DerTeufel1980: so sorry Sir, I'm still unable to donate, I'm having a trouble with paypal. Just a suggestion, maybe you could make an app in playstore like Glitch did, so people with no paypal account can still donate?
[Galaxy S I9000 Android Development] DerTeufel1980:
that's correct :)

i can't code an app, so i can't place one at market ;)
[Galaxy S I9000 Android Development] vitoski:
Thx I was searching it already but using the word with mistake. Will look at the correct name:-)

Cheers

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] doc_2nas:
Thank you Sir. Maybe someone here on this thread could make an app like that on behalf of DerTeufel for donating purpose?

I think me and all the users here really sure that DerTeufel really deserve the appreciation.

Damn paypal....:mad:
[Galaxy S I9000 Android Development] barome:
Yes dear ! Your kernel is amazing. One thing miss : init.d support but we have a kernel with sio !!! Yes !