yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] fishears:
Anyone else having problems creating backups with TWRP? I get an error due to missing libflashutils.so
[Galaxy S I9000 Android Development] djlukas1983:
Zram is like swap but it's compressed space placed in ram.

Wysłane z mojego GT-I9000
[Galaxy S I9000 Android Development] Sacob:
so swap is faster right?
[Galaxy S I9000 Android Development] sergyum:
Swap is better for multitasking, zram is faster but require more CPU, so it is up to everyone that it favors
[Galaxy S I9000 Android Development] erpurohit:
I just tried backing up through twrp and it working fine on my sgs.
[Galaxy S I9000 Android Development] rahatbek:
everything is good, but after another restart ram is back to 378mb. and battery life is less then before.
[Galaxy S I9000 Android Development] FadeFx:
Has nothing to do with battery life...

Btw, the ram setting is something i set from init.d script... this way it sticks after reboot.

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] yahyoh:
how did u set the ram?
[Galaxy S I9000 Android Development] Half Man Half Biscuit:
I did it that way and after 5 reboots it´s still 403mb RAM.

Battery life is as always here,how did you set the RAM?:confused:

Ahhhhh did you click the save button after you typed 1 or 2???

Here you go sorry my bad thought people would see that (shame on me)
[Galaxy S I9000 Android Development] Bejda:
And this way i presume it sticks (or is write again in enable file?) even after power off?

I'm often changing battery so...

Anyway i'd be glad to see your init.d script at least by curiosity to see how it is settled (does it write on enable file at each boot before the enable file is read, something like this?)

Is it possible for you (or anyone) to explain or provide an init.d script please?

edit:hmm, seeing user.log it seems the /sys/... files are read before init.d so my idea of how it works must be wrong.

Anyone noticed that boot time (kernel logo) is much shorter since 0.94?Before it seemed sometimes standing randomly, sometimes very long sometimes not... i wonder what could be the change made for that (thinking about the last_version file in /system...)

In the background i'm still wondering about the whole unexpected cwmless bootloops issues some experience since ics...
[Galaxy S I9000 Android Development] jelle2503:
hey devil current json file is missing some commands. the cpu tunables you have made for the governors. ;)

i set them with init script but shame to not include in json file :)

im wondering is custom int voltage for screen off coming too? :)
[Galaxy S I9000 Android Development] :
Big decrease in battery life with new kernel. Used to achieve two days no problem, struggling to get one day with new version. All settings are the same, little change in use.
[Galaxy S I9000 Android Development] FadeFx:
I just used the command from .json file:

#!/system/xbin/sh
echo 1 > /sys/kernel/bigmem/enable && touch /data/local/devil/bigmem && echo 1 > /data/local/devil/bigmem

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] rulala:
sorry , may I ask a question?

It's a music problem when I use the music app to play any song

It will become "unstable" just the screen is "off" ...

I can't use the EQ（dsp .others） or it will happen that.

If I don't use EQ to play music, it will be fine anything.

I also find a interesting thing, Neutron Music Player is the Exception.

other kernel like MnICS is normal .

so I don't understand why devil kernel has this problem:confused:

sorry my very bad english.:)
[Galaxy S I9000 Android Development] Helloworld294:
why would you use stock music player? use PowerAMP
[Galaxy S I9000 Android Development] JJustin:
Is anybody using 403mb ram on CM9? As far as I know, CM9 uses a different memory configuration; does it break anything other than 720p recording? Thanks!
[Galaxy S I9000 Android Development] kamalmawa:
Kernel will will patch cm9 with required libs for that... I am on 391mb setting with cm9. Can't bother setting it to 403mb and test it for you but you could try your self.. it just echo 2 to memory configuration and restart your phone... can't be that hard ;)
[Galaxy S I9000 Android Development] rtoussaint:
Just wanted to say big thanks for this kernel. Flashed it this friday, finally got devil idle working, and my battery is still at 70%. I'm no heavy user, but it used to drain in 36 hours with previous kernels. Very happy so far!
[Galaxy S I9000 Android Development] vigaruhul:
Smooth_ui included to ondemand, conservative, smartass, lulzactive, lagfree and lazy governor (only one setting for activating/deactivating it in general)

I'm sorry for this question ,but ,how can i activating/deactivating smooth_ui ? from CWM right?

and ,smooth_ui a little bit ate battery i think?? correct me if I'm wrong guys :D thanks for response :)
[Galaxy S I9000 Android Development] fishears:
Hmm..

I'm using external SD as backup device and get this in the recovery log each time:

[BOOT (7 MB)]
...Backing up boot partition.
I:Backup command: 'dump_image boot /emmc/TWRP/BACKUPS/3735FD257BB100EC/2012-05-26--17-51-45/boot.mtd.win'
link_image[1965]: 457 could not load needed library 'libflashutils.so' for 'dump_image' (load_library[1120]: Library 'libflashutils.so' not found)CANNOT LINK EXECUTABLE

When I check the backup location the system, data and datadata are there but no boot backup :( Hopefully DerTeufel can take a look at this when he returns.

Until then, would someone mind searching their filesystem for 'libflashutils.so' and maybe post it here?

(I'm running Devil on AOKP b37)
[Galaxy S I9000 Android Development] kamalmawa:
Don't know whether changing performance settings in cwm have an effect on smooth ui or not but you can enable (echo 1) and disable (echo 0) at sys/class/misc/devil_tweaks/smooth_ui_enabled
[Galaxy S I9000 Android Development] ( V ):
I'd like to do that also, but I'm not familiar with creating init.d scripts, could you show an example pls?
[Galaxy S I9000 Android Development] FadeFx:
Just put a file named something like 'S00myinit' to. /system/etc/init.d/

With the content of above code...

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] FadeFx:
Btw, DerTeufel, it would be nice if we could put a file somewhere with an exception list for init.d cleaning. Do u think its possible?

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] purpleraintoxicity:
I think you should better pm him, as he said that he wont be here for couple Ogg days
[Galaxy S I9000 Android Development] ( V ):
wonderful, thx! and using this method its possible to set the other parameters, the ones that can't be set through NStools (eg. devil idle, smooth ui, ... etc.), or those settings will stick in CC after power off / hard reboot anyway?

edit: tried it and ram settings reverted back to default cm9 after power off - reboot :(
[Galaxy S I9000 Android Development] Christophe86:
I'm using 403mb ram on cm9. beside that 720p is broken, everything is working fine :)

only issue I encounter is that memory settings don't stick after a reboot. I changed mem settings through terminal. how could I make them stay?
[Galaxy S I9000 Android Development] .:Crack:.:
Here's an updated .json,

the other ones had typos and/or wrong paths in some settings I didn't change (because i thought they were correct)

Now settings like smoothui, screen off min/max freq, vibrator, profiles will stick after rebooting.
[Galaxy S I9000 Android Development] fattox:
sorry for this question... but I never did this before:

for enabling devil idle I have to setup the command center right?

now I'm stuckein here:

open Terminal Emulator and type "free", you should get values by "Swap.

What I have to do?
[Galaxy S I9000 Android Development] FadeFx:
Was the same for me on first or second reboot, but then it sticked.

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] pbecks1963:
My phone had a spontanious shutdown last night. I disabled deep idle with nstools because i have a feeling that it is connected to this problem. I use my phone as alarmclock by the way.

Settings: smooth, BM, sio, lulzactive

Min: 100 max: 1400

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy S I9000 Android Development] yahyoh:
i didnt had like this problem before but some times i had touch not working when i receive call when deep idle on idk if it get fixed

i tried between deep idle and without battery the same

i think deep idle save battery only when listening music and screen off

if i'm wrong some one correct me :)
[Galaxy S I9000 Android Development] ghul21:
Try to change the init voltage at 100 MHz from 1000 to 1100.

For me that work :D
[Galaxy S I9000 Android Development] burakgon:
Bump for 0.94
[Galaxy S I9000 Android Development] Szighy:
Is there a thread where everything is explained simply? Like how to enable smooth ui etc.

I never used command center, plus I couldn't follow this thread due to my exams at the university...

Thx in advance...
[Galaxy S I9000 Android Development] pbecks1963:
agreed! top = on works when screen is OFF and bluetooth/gps is ON (saves battery)

top = off works when screens is OFF and you are listening to music (saves battery)
[Galaxy S I9000 Android Development] dark_knight35:
You don't need command center, and devil idle has nothing to do with swap.
[Galaxy S I9000 Android Development] fattox:
thanks. so just to make it easy because seems I misunderstood something... how can I enable devil idle?
[Galaxy S I9000 Android Development] sUsH667:
i'm asking again, anyone else got problems with the odin-versions? or are they working for you?

greetz & thx,

sUsH
[Galaxy S I9000 Android Development] mikiept:
it's working
[Galaxy S I9000 Android Development] yahyoh:
is any one use zram and is there any noticeable different? :D
[Galaxy S I9000 Android Development] mikiept:
Personally I prefer Swap. My experience with zram was that it generates a lot of micro lags and that doesn't happen with swap. Just my personal opinion ;)
[Galaxy S I9000 Android Development] Weedalot:
Problem,md5 issue.

Model:GT I9000

Rom: ICS slim 3.8

Kernel: Devil 2 0.92 CMC

Swap: on (1024 mb)

Theme: Freehand CirclesMod ICS Blue 5
[Galaxy S I9000 Android Development] yahyoh:
i tried the new one it has bug in cc after reboot the number go back to 0 for ram setting but the actual ram still 391 i wasn't have this problem in previous version but not a big deal and thank u :cool:

---------- Post added at 07:41 PM ---------- Previous post was at 07:37 PM ----------

but swap is for cached apps not for the running apps in ram as i know so it will not make big difference

lol i think i will not use zram or swap android is still good in ram management and i haven't see any lag like what happened in GB ICS FTW :cool:
[Galaxy S I9000 Android Development] Weedalot:
I do use swap and there is a noticeable difference. Multitasking is quicker and smoother.

Model:GT I9000

Rom: ICS slim 3.8

Kernel: Devil 2 0.92 CMC

Swap: on (1024 mb)

Theme: Freehand CirclesMod ICS Blue 5
[Galaxy S I9000 Android Development] .:Crack:.:
This problem presists in every version, its nothing that can be fixed by me and i never said so :P
[Galaxy S I9000 Android Development] yahyoh:
I thought in previous version the number was sticking after reboot cuz i have 2 GS one with the new devil.json and the number go back to 0 after reboot and one with the old devil.json and number stick for 1 after reboot ;)
[Galaxy S I9000 Android Development] FadeFx:
No, only way to make it stick is using init.d script which i posted a few pages back because it sets the value at each boot for the next boot.

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] yahyoh:
here a screenshot after reboot with old devil.json
[Galaxy S I9000 Android Development] philbring:
I could confirm that. With an older Devil2 version (the last before 0.94) and an older devil.json file the value stick after reboot.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] .:Crack:.:
This is just because the command status is read from a different file (in data/local/devil/) in that version, the real file that affects the bigmem settings has the value 0.
[Galaxy S I9000 Android Development] KiRAdot47:
i too have problems with cc (cleared cache and stuff, 1 in ~8 tryes it works rest nothing, it even crashed my go laucher :)

so i have a request - could you integrate all the options in cwm?

and a noobish question:

- if i make a backup in twrp recovery > with [Enable Compression] > can i restore it in "normal" cwm?

(i guess not :)

thank you in advance
[Galaxy S I9000 Android Development] saphirrot:
guys, i dont know why, but i dont have the setting "RAM Settings" in my CC .... i got the latest JSON file from crack.... its the first time i saw it in the screenshot above me...

edit : found the solution, i deleted data from CC via Titanium Backup.. it helped !
[Galaxy S I9000 Android Development] FadeFx:
Then you probably don't have latest CC version.

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] saszseb:
You don't need the latest one for it.

I use one from 19.05 and every settings will be stuck after reboot.

Sent from CM9.
[Galaxy S I9000 Android Development] FadeFx:
I meant if he had to delete app data to update from .json file.

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] czater:
I have a big battery drain on lastest devil kernel :/ 5 min of Mass effects cost me 10% battery! Also when I woke up and check my phone, i saw next 10% less battery ;/ WTF? I do not oc processor, and i use ondemand. Also i just turn on Zram and ram compression.
[Galaxy S I9000 Android Development] purpleraintoxicity:
Same here, huge battery consumption..

Will provide some data today
[Galaxy S I9000 Android Development] ghul21:
+1 :(

During the night I do not disappeared. But in the morning as soon as I took the phone in your hand and checked the mail in 2 minutes disappeared at 8%! And still the screen whenever I turn the battery goes down.
[Galaxy S I9000 Android Development] yaatzek:
For me it is ok, I think the same as on 0.79. Maybe it's the case of smooth ui, I have it disabled.
[Galaxy S I9000 Android Development] gonsa:
same here. some of my setting do not stick after reboot either and were sticking in 0.79.
[Galaxy S I9000 Android Development] adytum:
Are the settings supposed to stick after reboot if I use the json file in command center? I didn't really understand whether this should work or if I have to make individual init.d scripts.

Using GT-I9000 my sent Tapatalk 2 from.
[Galaxy S I9000 Android Development] burakgon:
Flash this to enable swap + XL ram without any commands or etc.

This is an init.d script that enables XL Ram and Swap. I hate command center etc.
[Galaxy S I9000 Android Development] fishears:
Using the test kernel with twrp, I get the following error any time I try to backup boot:

[BOOT (7 MB)]

...Backing up boot partition.

I:Backup command: 'dump_image boot /sdcard/TWRP/BACKUPS/3735FD257BB100EC/2012-05-26--17-51-45/boot.mtd.win'

link_image[1965]: 457 could not load needed library 'libflashutils.so' for 'dump_image' (load_library[1120]: Library 'libflashutils.so' not found)CANNOT LINK EXECUTABLE

Can someone help me out? I'm running it with standard AOKP b37.
[Galaxy S I9000 Android Development] FadeFx:
I think this is a known issue, twrp is not ready to use atm.

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

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] Bejda:
The what seems to be missing lib is downloadable from there if you want to give a try.

https://github.com/TeamWin/Team-Win-Recovery-Project/tree/master/prebuilt
[Galaxy S I9000 Android Development] fishears:
Thank you for this!!!!

It turns out you need to download four libs from the TeamWin prebuilts:

libbmlutils.so

libflashutils.so

libmmcutils.so

libmtdutils.so

Copy them to /system/lib/ and give them the usual permissions and BYU! Backups now work perfectly. :D

I've zipped the libs here if anyone else wants them.
[Galaxy S I9000 Android Development] Bejda:
:) Was trying it (curiosity) at the moment,you saved me some times with fast report and precisions,thanks.
[Galaxy S I9000 Android Development] fishears:
Teamwork ;)
[Galaxy S I9000 Android Development] DaveBG:
Guys maybe stupid question but what is the difference between CMC and VC versions:

http://devil.haxer.org/Devil2_0.94_i9000_CFS_BLN_CMC_20120524.zip

http://devil.haxer.org/Devil2_0.94_i9000_CFS_BLN_VC_20120524.zip

I will be flashing via CW Recovery... what should i flash? I am currently running Semaphore 1.2 but have problems with video playback and i also want the swap option.
[Galaxy S I9000 Android Development] fishears:
Might sound harsh but please just read the start post. The answers are there to be found plus lots of other interesting information about this kernel
[Galaxy S I9000 Android Development] DaveBG:
Yeah I saw it just now. I swear a read it all several times... In only mentions that VC has Voodoo Color and CMC is patched against 720p... I guess I will be going with CMC.
[Galaxy S I9000 Android Development] fishears:
Pretty sure it says CMC=CyanogenMod Colour
[Galaxy S I9000 Android Development] saszseb:
I like CC. Tested on 3 ROMs. No prob here.

Sent from CM9.
[Galaxy S I9000 Android Development] purpleraintoxicity:
How can I make one that enables zram instead of swap?
[Galaxy S I9000 Android Development] lippol94:
Find the line that echoes 1 to /data/local/devil/swap_use.

Than replace 1 with 2 :)

Sent from my Samsung Galaxy S running CyanogenMod Blueberry EDITION
[Galaxy S I9000 Android Development] ( V ):
neither the init.d script nor CC sticks ram settings after a power off - boot cycle, tried it several times and its just keeps getting reset to default cm9 378mb :(
[Galaxy S I9000 Android Development] hassanalip21:
command center works great for me .... values dont reset after reboot !!
[Galaxy S I9000 Android Development] ( V ):
yes, after a "simple" reboot they'll stick, but once you turn OFF / power OFF you're phone and boot it up again, they'll reset!
[Galaxy S I9000 Android Development] hassanalip21:
No dude, I turned off my phone for almost two hours and nothing changed :p
[Galaxy S I9000 Android Development] ( V ):
then lucky you :P somehow my ram settings gets reset to default...
[Galaxy S I9000 Android Development] SGT John Doe:
Thanks for sharing that. Did not notice it untill now, and yes, all the setting is going back to default when shuting down the phone :(

Have not been reading the last 15 page, is there any easy solution or should i choose Semaphore instead?
[Galaxy S I9000 Android Development] hassanalip21:
semaphore is a great choice for those who are not so lucky :p with devil
[Galaxy S I9000 Android Development] dark_knight35:
Why don't you just create an init.d script? It's read on boot, so the settings are always right. A few minutes and you're done.
[Galaxy S I9000 Android Development] hassanalip21:
yes thats right and if you need a script I can give you mine :p
[Galaxy S I9000 Android Development] dark_knight35:
I already have one :p. But as I don't use devil idle, I only use it to activate ZRAM. For the rest, Nstools is enough.
[Galaxy S I9000 Android Development] ( V ):
I would gladly give it a try! the ones posted here so far failed for me.
[Galaxy S I9000 Android Development] dark_knight35:
We're talking 'bout init.d scripts, not cc .json files.
[Galaxy S I9000 Android Development] saszseb:
Ok. I never turn my phone off.

Sent from CM9.
[Galaxy S I9000 Android Development] ( V ):
aware of that - so was I ;)
[Galaxy S I9000 Android Development] hassanalip21:
http://www.4shared.com/zip/Ol1rZTbh/Compressed.html

Flash it through cwm .
[Galaxy S I9000 Android Development] ( V ):
thanks, but it's the same as this one, and it didn't worked for me :(
[Galaxy S I9000 Android Development] _PrEzi_:
Mmm... why put something on a sign/pay - or don't download - service ?

What's this file about ? Any decent description of the content ? Maybe another filehoster that has a 'free' option ?

Thx.
[Galaxy S I9000 Android Development] hassanalip21:
It worked for me :p
[Galaxy S I9000 Android Development] hassanalip21:
Sorry for that but couldnt find a host that keep files as long as possible for free like 4shared :p
[Galaxy S I9000 Android Development] saszseb:
Have you rebooted after installing the script? It works here.

Sent from CM9.
[Galaxy S I9000 Android Development] ( V ):
Finally! it took me a dozen or so reboots but I figured it out: immediately after powering OFF the phone, at the first boot the ram settings is on default (cm9 - 378mb) even with the init.d script. but if you do another "regular" reboot (w/o switching OFF) the init.d script setting will be applied and continue to do so on every reboot until you power OFF the phone again. :D
[Galaxy S I9000 Android Development] SGT John Doe:
So if i want

*RAM Settings: 1

*Toggle ZRAM/Swap: 0

*Devil idle: 1

*Toggle fast charge: 1

*Toggle deep idle: 0

*Vibration intensity: 40140

*Fsync control: 1

*Smooth UI: 1

*Wifi power mode: 0

*Governor presents: 0

How would the init.d file look like then?
[Galaxy S I9000 Android Development] Bejda:
It should be:

#!/system/xbin/sh

mount -o remount,rw -t /dev/block/mtdblock5 /system

For the first two lines.

And then for the following lines you could check path to concerned files on DerTeufel's second post or by launching CommandCenter or reading .json file.

For second post examples that are for terminal emulator or adb you just have,for an init.d script,to add " " to the value you want,so "value0/1/2"

XL ram has to be written like this:

echo "1" > /sys/kernel/bigmem/enable

Instead of:

echo 1 > /sys/kernel/bigmem/enable

And again for each file/value you want.

(if values you want are default ones (as for vibration intensity) you don't have put them in your script

I only know that kill bluetooth won't stay after reboot,it's normal cause command to revive it doesn't exist,it's impossible if i remember what Stratosk once said and i think it's the same for fast charge (but maybe for different reasons).
[Galaxy S I9000 Android Development] dbalazs123:
smooth_ui vs liveOC

My phone started micro lags after I applied 1200mhz OC + 10% LiveOC in Nstools. I just realized, that fps drops in a game noticeably when my finger touches the screen, so the problem must be related with smooth_ui. I was right, as after I switched it off lags have just disappeared. Is there a way to tweak smooth_ui to adapt to the new OC-ed freq?
[Galaxy S I9000 Android Development] Rosa Elefant:
I installed Team Nyx (ex-ICSSGS) RC5 today which brings its own Devil2 kernel. Should I still flash this one or are they the same?