yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] vitoski:
That's odd... Are you sure the Zram works for you?

I've just switched to Zram (for testing purposes) from Swap and when I type 'free' I get some values under SWAP.

They are different than I got when I was on Swap (with Zram they are smaller).
[Galaxy S I9000 Android Development] saszseb:
Have you enabled zRam inCC?
[Galaxy S I9000 Android Development] gokussjx:
Do this:

'Reboot'

Then check your SWAP.
[Galaxy S I9000 Android Development] Vlad87do:
Zram is 2 , and i rebooted about 3-4 times
[Galaxy S I9000 Android Development] Tarun.bhandari:
@gokussjx: Quick query, I see from your signature that you are on XXKB3 (A SuperMODEM!).

Does this work well in India - I am currently on XXJVU (from Team Nyx RC5) ? How much better is this from XXJVU ?

have you had a chance to test if XXKB3 works well with Team Nyx RC5 ?

Can you share a link for this modem ?
[Galaxy S I9000 Android Development] vitoski:
It does not work for you since Zram was introduced in 0.94 version for the first time. Since you are on 0.74 you cannot use Zram even if you have enabled this in CC with 'Crack' json files.

If you want to use Zram I would suggest to flash 0.94 Devil Kernel.
[Galaxy S I9000 Android Development] saszseb:
Open Root Explorer and check:

- go /data/local/devil/

- open "swap.use" with text viewer, you should see "2".

What kernel do you use: >=0.86?
[Galaxy S I9000 Android Development] saszseb:
No. It was introduced in 0.86 (p. 470).
[Galaxy S I9000 Android Development] vitoski:
Yea, that's true, but he said he is on 0.74 version. Moreover the 0.86 was only a 'TEST' version of Devil kernel. The final/official release is 0.94:D
[Galaxy S I9000 Android Development] saszseb:
I always use the latest one. Test or official...? I don't care about it. :)
[Galaxy S I9000 Android Development] Vlad87do:
Are you sure? XD I said i was on 79 xl, now i am on 94 and swap shows me :

total -75628 used - 18680 and free 56948

Ram still shows 378 mb, thats normal?
[Galaxy S I9000 Android Development] vitoski:
Now it's good!

Swap shows you the values of Zram used and free. Ram shows you the total amount of available RAM memory. You can change it from Stock (378) to XL (391) or (4xx) BM.

However you will not see any icreased RAM value after applying Zram or Swap with 'free' command.
[Galaxy S I9000 Android Development] gokussjx:
I can. But off-topic posts like these are better PMed, don't you think? ;)
[Galaxy S I9000 Android Development] gokussjx:
Looks good!

You including all other features (script toggles) too, I presume?
[Galaxy S I9000 Android Development] burakgon:
Sure!
[Galaxy S I9000 Android Development] dark_knight35:
Awesome!! But what's that ugly blue line - it should be in ICS blue ;).
[Galaxy S I9000 Android Development] LoqOs195:
My swap partition is about 573 mb, I just add it the actual 391 mb phisical ram and I get 964 MB, thats all :D

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] yahyoh:
wow amazing work :eek::eek: thx bro
[Galaxy S I9000 Android Development] dark_knight35:
Nice start. And now the other 2,000 settings :D.
[Galaxy S I9000 Android Development] gokussjx:
Yeah well, change that ugly blue line under the App Header Title xD

Go for ICS Blue :)
[Galaxy S I9000 Android Development] yahyoh:
u r wrong bro:p:p swap used for cached apps not running apps in ram :o
[Galaxy S I9000 Android Development] burakgon:
Link fixed :D

I will add all kernel features, touchscreen sensivity, init.d backup restore, donate button to developer.
[Galaxy S I9000 Android Development] BradleyR2010:
Im working on an app too :P but since im just starting on android dev its gonna take a while, im working on the UI atm and i've already got working the "su" part of the app
[Galaxy S I9000 Android Development] burakgon:
Create a class named as SuperUser. Than use this.

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class SuperUser {
public static final String LOG_TAG = "....";
public static final boolean debug = false;

public static List<String> executeSU(String[] commands) {
List<String> res = new ArrayList<String>();

Process process;
try {
process = Runtime.getRuntime().exec("su"); // <--- replace "su" with "sh" for non-superuser shell
DataOutputStream os = new DataOutputStream(process.getOutputStream());
DataInputStream osRes = new DataInputStream(process.getInputStream());
DataInputStream osError = new DataInputStream(process.getErrorStream());
for (String single : commands) {
if (debug) android.util.Log.e(LOG_TAG, "[" + LOG_TAG + "][SU+] " + single);
os.writeBytes(single + "\n");
os.flush();
}
os.writeBytes("exit\n");
os.flush();

process.waitFor();
if (process.exitValue() == 255) {
// su probably denied
return null;
}

while (osError.available() > 0) {
String read = osError.readLine();
if (debug) android.util.Log.e(LOG_TAG, "[" + LOG_TAG + "][SU-] " + read);
}
while (osRes.available() > 0) {
String read = osRes.readLine();
if (debug) android.util.Log.e(LOG_TAG, "[" + LOG_TAG + "][SU*] " + read);
res.add(read);
}
} catch (IOException e) {
// su probably not found
return null;
} catch (InterruptedException e) {
// who knows
return null;
}

return res;
}
}

Than use su before onClick shell commands.
[Galaxy S I9000 Android Development] BradleyR2010:
Yeah i got all that working im using RootTools for simplicity, the screenshot is from the emulator and i don't have root there that's why the message appear hehe but on the phone its works
[Galaxy S I9000 Android Development] LoqOs195:
Command Center doesnt apply me some features like smooth_ui, Deep Idle (no devil Idle), min freq when screen off, and doesnt save it at boot

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] jelle2503:
Burakgon looking good but why not fork source from nstools it save lots of time for you

Just ask permission to author of nstools to rebrand nstools to devil manager =]

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy S I9000 Android Development] sUsH667:
help needed

hey there!

i need some little help with a new feature for my DevilSettinx-script.

maybe one of you with more scripting knowledge than me wants to help me. i believe it is a very simple thing but i just can't get it to work, and that pisses me off.

if you want to help, just drop me a line via pm...

thx in advance & greetz,

sUsH

PS: @burakgon: looks really good, great work! keep it on, we really need a full-featured, fully working app for all the devil-settings, cause not everybody wants to use a script.
[Galaxy S I9000 Android Development] anuj_blaster:
whenever I run the app.. i keep getting this error "command center is not responding?... would u like to wait.. report.. close"

what to do.. I have followed the exact instruction for jason file and intd file

Sent from my GT-I9000
[Galaxy S I9000 Android Development] Weedalot:
I've got a question, what should i do with all the backed up scripts from stock rom kernel? Should i place them back (restore)? Or just leave them be? I think crack is also on slim, so let me know what should i do with those init.d scripts?

Model:GT I9000

Rom: ICS slim 4.0

Kernel: Stock slim

Swap: Unsupported (1024 mb)

Theme: Freehand v6
[Galaxy S I9000 Android Development] dark_knight35:
The init.d tweaks in ASS won't work without the scripts. If you don't use them, restoring the scripts is unneeded.
[Galaxy S I9000 Android Development] jelle2503:
I don't know whether it works on i9000 but I found this feature which is pretty cool looking. LED fadeout on touchkeys, instead of just switching off. From Fluxi kernel for i9100. I think Cypress bln code is not used on devil kernel, so maybe you can rework this code to work for devil?

https://github.com/myfluxi/xxICSKernel/commit/6d9f66713c89f4211a04ab47563d1e21209b413c

And other feature which I suggested earlier but haven't had any reply, mdnie toggle from siyah i9100 kernel. Latest Iphone feature ;) Gotta press home button 4 times to toggle, and I've found it quite useful on my gf her sgs2

https://github.com/gokhanmoral/siyahkernel3/commit/3e36df629054862e4a4cfbbe494424faf76e2673

I been learning hard to do Pull Request on your branch devil2_0.70 to apply these features myself, but keep failing since I only have a little experience in C#.
[Galaxy S I9000 Android Development] Weedalot:
can you be more specific? which scripts do i need to restore and what tweaks exactly are you talking about, because I'm using some.
[Galaxy S I9000 Android Development] ( V ):
that would make perfect sence, since we use nstools anyhow! ;)
[Galaxy S I9000 Android Development] jelle2503:
yes meaning we don't need NStools alongside with Devil Manager. We can use 1 app to manage all that nstools does plus manage Devil kernel features!
[Galaxy S I9000 Android Development] Weedalot:
I read a little bit about zipaling here i want to know what do you think about it? Is out worth enabling?
[Galaxy S I9000 Android Development] Zatta:
If you read the link you posted you would have known that all apk's on your phone are already zipaligned.

It is one of those myths flying around.

Taptalked u see
[Galaxy S I9000 Android Development] Bejda:
I don't know and care much about this but i've noticed when MnIcs had a zipalign feature in cwm that checking the user.log provided after boot i could see that all market apps or let's say data/apps were indeed already zipalign then skipped.

But it wasn't the case for a lots of system/apps,maybe the modded by rom cookers ones,even framework-res,settings and SystemUi.apk.They did were zipaligned (at least it appeared so) at boot by MnIcs process.

Not to debate huh ;) just remembered my observations at that time.
[Galaxy S I9000 Android Development] Weedalot:
Thanks for the info.
[Galaxy S I9000 Android Development] Zatta:
Bejda, I think you are right here. Although ask apps on the store and in cm builds are aligned, it is indeed possible that some lazy modders have not aligned their products. So hereby I stand corrected.

Taptalked u see
[Galaxy S I9000 Android Development] DerTeufel1980:
i already knew about the commit from fluxxi, but i did not get it working, because the led power is not defined in mach-aries.c (atleast i coud not find it).

the second one seems interesting. taking a look at it.
[Galaxy S I9000 Android Development] habylab:
Well done!

Sent from my Galaxy S running Slim ICS 4.0 and Devil kernel from my XDA Premium app.
[Galaxy S I9000 Android Development] pramathesh:
Cannot mount external memory card in recovery. Any help?

Sent using my brain
[Galaxy S I9000 Android Development] david_1989:
I've been doing some investigating to get the fm radio to work.

What I have noticed is that there is an app on the play store call FMTwoO, this looks for the existance of /dev/fmradio, however the fm radio is this kernel seems to be located at /dev/radio0. Is there a reason for this and can it be changed?

Interesting, when I created a symbolic link to /dev/radio0 at /dev/fmradio it fooled FMTwoO into thinking the radio is there, but when you try to play it just crashes.
[Galaxy S I9000 Android Development] gokussjx:
Hey Derteufel, just in case, take a look here (for BLN Breathe Feature, S2):

Offers technically what's happening. Although its for S2, probably you can concur some ideas for future test kernels? ^^

Source: http://xdaforums.com/showpost.php?p=24233085&postcount=2
[Galaxy S I9000 Android Development] DerTeufel1980:
which recovery? are you talking about mounting to pc?

in cwm you have to select mount external sd card.

in twrp both cards get mounted for me at the same time.
[Galaxy S I9000 Android Development] DerTeufel1980:
I don't have any of these folders at /dev...

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] david_1989:
They're not folders. They are Linux devices. You cannot see them through a file manager on the phone, but if you run the ls command on the /dev folder in adb you will see radio0.

In the case of radio0 it is where V4L makes the FM tuner accessible. IOCTL calls can be made to this in order to interact with the device; in Android this would mean some nice JNI.
[Galaxy S I9000 Android Development] pramathesh:
CWM. It says error mounting sd card (emmc in this case). Check /tmp/recovery.log. Here's the log

http://db.tt/jAOi1hSe

Sent using my brain
[Galaxy S I9000 Android Development] sUsH667:
weird things happen...

hey there!

does anyone ever had problems with the phone not correctly switching frequencies?

yesterday i wondered why my battery drain is high like never before. looked in active apps and better battery stats, nothing special, but as i checked cpuspy i saw that phone was running at maxfreq all the time.

i tried everything that came to my mind to end that (switched to other governors, changed minfreq and maxfreq, both with romcontrol and nstools, rebooted, powered the phone off completely, and so on).

my setting til it happened was simple as can be: min 100mhz, max 1000mhz with ondemand, no live oc or normal oc, nothing.

any idea anyone?

@devil: i already asked this some pages ago: where are the settings of the filemanager (included in devil-recovery) stored? cause none of the settings i change in aroma filemanager stick after a reboot, only if i change them, then exit filemanager and then directly open it again the settings are as i set them a moment before...

greetz & thx,

sUsH
[Galaxy S I9000 Android Development] DerTeufel1980:
the file manager is placed at the /tmp folder of recovery. it get's recreated every time you enter it. i wanted to make sure, that the filemanager itself not does gets deleted by someone by fault.

if i find some time for this, i try to make it in another way.

thx. i'll take a look at it.

@all: new thread here: http://xdaforums.com/showthread.php?p=27181643#
[Galaxy S I9000 Android Development] amirsat2012:
hi

i want to change kirnel to semaphore

how to do that?

thx
[Galaxy S I9000 Android Development] sUsH667:
ok, thx for clarification, now i know that this is not my fault...

any idea regarding the stuck-on-maxfreq-thing?

yes, already saw that, and it makes sense, cause 1. it is the first official devil3 and 2. in a few version devil3 would have same numbering as some devil2-versions, and that maybe would be confusing for some.

i just still write here, cause i started my last questions here and it is an issue i have with a version released here...

greetz n thx,

sUsH
[Galaxy S I9000 Android Development] gokussjx:
Step 1: Read the basic tutorials on XDA, & the all over the internet.

Step 2: Remember Step-1

Step 3: Just flash the Semaphore ZIP. (Using either CWM, or ODIN-TAR)
[Galaxy S I9000 Android Development] saszseb:
Step 3>>>>>>bootloop!!

Sent from CM9.
[Galaxy S I9000 Android Development] burakgon:
Update
[Galaxy S I9000 Android Development] salem94:
I was waiting for something like this ;)
[Galaxy S I9000 Android Development] CheekyLord:
I dream since weeks about those an DevilManager...and now..the dream comes through. ;)
[Galaxy S I9000 Android Development] matesc:
Sorry for stupid question, but where can i download this DevilManager? Is it already available? Am i missing something?

Is it because i am with devil3?

I ask because it is very annoying after f.e. Cm9 Update have to flash devil and then configure CC with json every time, than reboot etc....
[Galaxy S I9000 Android Development] dark_knight35:
burakgon is working on it. Be patient!
[Galaxy S I9000 Android Development] jelle2503:
Or learn to make init.d script if you find it that annoying.
[Galaxy S I9000 Android Development] Weedalot:
Last post ;)
[Galaxy S I9000 Android Development] dark_knight35:
no!
[Galaxy S I9000 Android Development] FCB-Fan:
Yes, because this is the last one ;)
[Galaxy S I9000 Android Development] gokussjx:
Whoa, bootloop?

Well, it varies from ROM to ROM. In my ROM, I can switch without issues!

Someone must report to their respective ROM thread. Devil to Semaphore, ideally, goes smooth!

Is everyone on CM9 facing this?
[Galaxy S I9000 Android Development] Weedalot:
No this is

;)
[Galaxy S I9000 Android Development] FCB-Fan:
:p
[Galaxy S I9000 Android Development] stratosk:
Angry Birds?
[Galaxy S I9000 Android Development] FCB-Fan:
Nope :D
[Galaxy S I9000 Android Development] habylab:
Ah this new test kernel is running splendid!

Sent from my Galaxy S running Slim ICS 4.0 and Devil kernel from my XDA Premium app.
[Galaxy S I9000 Android Development] pramathesh:
What is the difference between devil 2 and devil 3?

@op: (don't like calling you devil hence op) any update on why my phone doesn't want to format external card?

Sent using my brain
[Galaxy S I9000 Android Development] saszseb:
Formatting the ext. SDcard you should use your PC.

Sent from CM9.
[Galaxy S I9000 Android Development] DerTeufel1980:
How did you try it? With cwm recovery?

Also, please use the other thread.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] pramathesh:
Using cwm recovery. The default is that I believe.

Sent using my brain
[Galaxy S I9000 Android Development] zacharias.maladroit:
ok guys,

I'm preparing for exams so no reply to answers, questions, requests - anything

seems like I found what I had talked about in the past - an advanced implementation of KSM (http://en.wikipedia.org/wiki/Kernel_SamePage_Merging)

this should make it possible to merge the space/memory (well, at least some) of apps used to have more apps running

you can enable and disable it on the fly (http://kerneldedup.org/en/projects/uksm/uksmdoc/usage/)

and it's available for the 3.1.10 kernel which devil2 is based on (http://kerneldedup.org/projects/uksm/download/)

since it keeps the cpu busy around 0.1-0.7 % every few seconds (currently running it on my desktop with 3.4.0 kernel)

it might be a battery drainer so it's only suitable for power-users

scripts or an app that enable or disable thus would be appreciated if this got added

All the best to all of you

See ya :)
[Galaxy S I9000 Android Development] DerTeufel1980:
Nice to see you are still around here :-)

Do you still have your I9000? Good luck with the exams.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] zacharias.maladroit:
yes, it's still going strong :)

it will probably be some months until I get a new phone (most probably the SGSII or Galaxy Note) or later

thanks !
[Galaxy S I9000 Android Development] jeebspawnshop:
Google will likely be releasing a bunch of Nexus-branded phones some time at the end of this year, all running Jellybean (dunno where I read this, but I remember having reason to believe it ;) )

So maybe you should wait until then to get a new phone, cuz the Nexus phones are always good.
[Galaxy S I9000 Android Development] dark_knight35:
Afaik not only nexus phones, also tablets.
[Galaxy S I9000 Android Development] Leegalaxy:
Hey, what is all of this about the last post?!
[Galaxy S I9000 Android Development] dark_knight35:
Thread will be closed soon.
[Galaxy S I9000 Android Development] burakgon:
Last post always from moderator. :D
[Galaxy S I9000 Android Development] SKLCH:
New Devil thread: http://xdaforums.com/showthread.php?t=1700904

see you guys there
[Galaxy S I9000 Android Development] dark_knight35:
What if he posts before he closes? Then you've got a few secs for posting :p.
[Galaxy S I9000 Android Development] Leegalaxy:
10 chars:D
[Galaxy S I9000 Android Development] stratosk:
No, Chuck Norris can post in a closed thread. :p
[Galaxy S I9000 Android Development] habylab:
This is a great script, however, for me the deep idle stats never stay on?

Also, deep idle is changed according to the faq like so:

echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit

But yours changes it at 2 other locations, not there?
[Galaxy S I9000 Android Development] Weedalot:
Cant post?

Model:GT I9000

Rom: ICS slim 4.0

Kernel: Stock slim

Swap: off

Theme: Freehand v6
[Galaxy S I9000 Android Development] LoqOs195:
I tried to add the new thread to my favorites in Tapatalk but it said me "Invalid Topic Id" ...

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] purpleraintoxicity:
works for me, try to close the app and then refresh
[Galaxy S I9000 Android Development] sUsH667:
erm, where is written that echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit activates deep idle? maybe i'm too blind to find it.

you could try one of the newest versions and see if it works for you then.

for me and others it's working fine. just follow the instructions and all should work as intended.

greetz,

sUsH
[Galaxy S I9000 Android Development] dongfangri:
The scripts is in DOS format, it better to convert it to UNIX.
[Galaxy S I9000 Android Development] dark_knight35:
lol I've dreamed that this thread was closed twice...
[Galaxy S I9000 Android Development] Weedalot:
Hhh same here

҉ Model:GT I9000 ҉ Rom: ICS slim 4.0 ҉ Kernel: Stock slim ҉ Swap: off ҉ Theme: Freehand v6
[Galaxy S I9000 Android Development] sUsH667:
it is carefully edited with notepad++ to not have empty spaces at the end of the line or something like that, so i don't think it really matters. would be the same if i'd save it as .sh, the content of the script stays exactly the same, tested it a few moments ago.

but thx anyway for your suggestions.

greetz,

sUsH
[Galaxy S I9000 Android Development] purpleraintoxicity:
Btw, your devil idle settings apply the permanent idle, without automatic one.

For automatic you need to change the end to:bus_limit_automatic
[Galaxy S I9000 Android Development] dongfangri:
There are errors While running the scripts under scripts manager, if the scripts is in DOS format.
[Galaxy S I9000 Android Development] sUsH667:
well, the script isn't meant to work when executed with script manager, it's an init.d-script and as that it is working well, at least for me and a few others i've talked to. i haven't tested if it works with script manager, so you will be right that it doesn't work with it, but as i said, it isn't really inteded to.

thx for the tip! didn't know that...

i will check that and edit it for next version.

greetz,

sUsH
[Galaxy S I9000 Android Development] jelle2503:
I thought it was like this:

Bus_limit

0=disabled

1=automatic

2=permanent

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] sUsH667:
i thought that too, so i said i will check that and edit it (if necessary)

@DerTeufel: what is the correct way to set it?

greetz,

sUsH
[Galaxy S I9000 Android Development] DerTeufel1980:
This way is right.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] sUsH667:
i know why it was misunderstood. in the second post is written:

activate automatic:

echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit_automatic

deactivate automatic

echo 0 > /sys/devices/virtual/misc/devil_idle/bus_limit_automatic

permanet on:

echo 1 > /sys/devices/virtual/misc/devil_idle/bus_limit_enable

permanet off

echo 0 > /sys/devices/virtual/misc/devil_idle/bus_limit_enable

but i think that was instructions for an older version, right?

so just to make it clear: the three devil idle settings are 0:disabled 1:automatic and 2:enabled and are set via echo x > /sys/devices/virtual/misc/devil_idle/bus_limit, is that right?

thx for clarification again, i'm a litle confused right now... ;-)

greetz,

sUsH
[Galaxy S I9000 Android Development] dark_knight35:
Oh no...it's wrong. There's only bus limit, and you set it like jelle wrote. You cab always check the files out via root explorer.
[Galaxy S I9000 Android Development] sUsH667:
if you was referring to what i wrote, i wrote the bus_limit_automatic-thing only as a maybe-explanation how that misunderstanding could occur.

so the bold text in this post seems to be the right way to set up devil idle.

good to know, cause if it was wrong i had to change my script.

greetz,

sUsH
[Galaxy S I9000 Android Development] xela92:
Hi DerTeufel,

your kernel rocks as usual on ICS!

But now that I switched to latest (and last) cm7.2 stable... Can you update the cm7 version? :P Now that cm7.2 has been released and it's the last cm7 version for us it could be interesting...! Pleeease :P =)