yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] nihilista:
Yes, the -e isnt in the code. But my busybox (newest, installed with busybox installer) is in /system/xbin/.

If i understand right how crontab works, first stweaks saves values in profile, cron service reads that and pulls script that saves values in rootfile, right? Maybe i'm totally wrong, so sorry, but here i have /var/.. folder AND /etc/.. folder with rootfile, last with one other file named "update.cron" if i remeber...

Cron sevice works, but the scripts in the rootfiles are wrong everytime, whatever i save in stweaks, in rootfile (var)i find script for memorycleaning, in other (etc) there are all tasks, whatever i marked in stweaks. If i edit it manually it works, but sometimes (service is off) i cant save that file and have to reboot before editing it again.

Seems that is something wrong here, maybe it is the stock rom with new installed busybox (otherwise cron didnt work).

I am not the biggest linux/android hacker, but any idea whats wrong? BTW, cron is not so important, but i am one who wants to understand why things going wrong ;)

Thx
[Galaxy S II Android Development] Tak3r07:
Mh maybe dori should take a look into zen scheduler again? How is you game with SIO? (The previous scheduler before fiops and zen)

Rom: AOKP Official latest

Modem: M250 UB23

Kernel: Dorimanx latest @ default settings
[Galaxy S II Android Development] hooliganx:
another SOD, like before...

link: http://db.tt/CfRC3ctA

black screen after long time quiet. only reboot to turn back :rolleyes:

RB.V3.2-DrMx.v7.22-XXLQ6-Claro
[Galaxy S II Android Development] fjkum:
Now, I switched to NOOP, and I find the loading of game is much faster!
[Galaxy S II Android Development] THE RED BLUR:
I think just do one overall report on all of them would be best instead of drip feeding it. :)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: RB JB 3.2 (ONLINE)

2nd Rom: RR JB 3.1.1

KERNEL : Dorimanx 7.22

(DEFAULT PROFILE AND SETTINGS)

MODEM : LPS

GAPPS : JusTunBean ,4.1.1 aroma

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] Tak3r07:
Faster than with cfq? Noop should be the slowest..

Rom: AOKP RB latest

Modem: M250 UB23

Kernel: Dorimanx latest @ default settings
[Galaxy S II Android Development] mefistofelis:
I get the same problem since 7.21 although Wi-Fi is always set to on in settings, rom rootbox 3.0.

Before that didn't have no such problem
[Galaxy S II Android Development] JohnBonchie:
I've got two SOD today as well. Everything on default. I think its the ZEN scheduler. I didnt manage to get the logcat though but all i can im just using my phone like I always do. Only happened after zen was in the kernel. Hope dori could look into it. Thanks Dori
[Galaxy S II Android Development] fjkum:
Sure, give me some time...so far only tested with ZEN, CFQ, BFQ, and NOOP.
[Galaxy S II Android Development] dorimanx:
https://github.com/dorimanx/initramfs3/commit/e8729f071c49898c9cb9135fa3a97e2ab586312c
[Galaxy S II Android Development] cdzo72:
Dori... I know somene already offered to correct the grammar in the app I see more problems that before... I'd like to be able to correct it all if that's ok, I just don't know how
[Galaxy S II Android Development] astrogambit78:
Guys please before posting questions read 2 pages or 5 pages first or better yet read the OP.

Your question is most likely been answered :) since JB Leak is trending on android world

Last 10 pages we have a lot of this...

"this kernel work with the newest JB leak...? this kernel work with the newest JB leak?"
[Galaxy S II Android Development] MrMastodon:
@dori very happy indeed :D

I would help you fix it but my knowledge stops at editing a very simple string.xml. :banghead:

Not quite noob :confused: anymore, but far from advanced :cool:

Edit: Learnt myself to read git in github-app (a small step for a :confused: , a giant leap for... well.. me :D). I believe a "g" ran away in line 70 in "Done! ZipaliGned all apps". Can you catch it?

SGS2, RR 3.1.2, Dorimanx 7.21
[Galaxy S II Android Development] Shahrokh.KING:
hi

i had a problem with 7.x mali version, the parameters i set in setcpu for pegasusq wont stay, in siyah they remain as i set them but in dorimanx sometimes that ur going to change or check those parameters they are changed, (sampletime 7000 ... ) i thinks it resets it self , i have to set another governor and set pegasusq again to get to my settings, how can i fix this? kinda annoying
[Galaxy S II Android Development] kantjer:
Disable cortex, but then you rip the brains out off this kernel.
[Galaxy S II Android Development] Crescendo Xenomorph:
I'm using ZEN for both on/off and its the best... ;)

Gaming? I game all day while copying/moving/installing things in my office... I hate waiting doing nothing... :p

And gaming performance is BUTTERY OILY CHOLESTEROL FREE SMOOTH, no hitch no glitch no lag no problem at all... :good:

What game do you try btw?

And I HATE the fact I'm unable to flash this to my N2!
[Galaxy S II Android Development] kantjer:
Same settings here :good:
[Galaxy S II Android Development] fjkum:
Try The Dark Knight Rises, Batman.

I'm using HYPER+NOOP, so far very smooth.
[Galaxy S II Android Development] 7HUND3R:
Is it normal that if I try cron tasks it says that is online and supported and when I test crontasks the popup is saying "nodata.........nodata........nodata.........nodata.......nodata"? I'm running version 7.22 with jellybam 20121120

@everyone

avoid saying unpleasant things like "oh look, another running jellybam and complaining..just rather say "man, it's rom related" thanks
[Galaxy S II Android Development] kantjer:
you mean this:

It is normal
[Galaxy S II Android Development] t-pip:
Think I've found a problem. Ad Block update does not work as /system/ is only mounted RO. I have to mount as RW using ES File Explorer first and can then update through STweaks OK. Can you add in mount RW into the update process please?
[Galaxy S II Android Development] MrMastodon:
Just had a clean install of RR 3.1.2 a couple of days ago, and I always end with fix permissions. AdBlock installs and updates just fine here.

SGS2, RR 3.1.2, Dorimanx 7.21
[Galaxy S II Android Development] Shahrokh.KING:
what is cortex and why does it resets pegasusq parameters?
[Galaxy S II Android Development] JulianXhokaxhiu:
First:

http://xdaforums.com/showthread.php?p=34379993#post34379993

Second:

http://xdaforums.com/showthread.php?p=34430555#post34430555

They are the same bug i've found when i was on ICS. My solution was to update to JB. Don't know if this is a bug or something incompatible anymore with ICS.

Btw, search before posting is actually a good thing :) Use it, it won't hurt you.
[Galaxy S II Android Development] 7HUND3R:
I mean this! look at the attachment!

your seems normal! this means that everything is ok and it doesn't need to perform any action or that anything is ok? ^^'
[Galaxy S II Android Development] voku1987:
#!/sbin/busybox sh

TMPFILE=$(mktemp -t);
HOST_FILE="/system/etc/hosts";

TESTCONNECTION=`wget http://www.google.com -O $TMPFILE > /dev/null 2>&1`;
if [ $? != 0 ]; then
echo "Problem: no internet connection! connect and try again";
else
mount -o remount,rw /system
wget http://winhelp2002.mvps.org/hosts.zip -O $TMPFILE > /dev/null 2>&1;
unzip -p $TMPFILE HOSTS > $HOST_FILE;
chmod 644 $HOST_FILE;
echo "AD Blocker: installed to /system/etc/hosts, reboot to use.";
fi;

-> https://github.com/dorimanx/initramfs3/blob/master/res/customconfig/actions/push-actions/ad_update

remount rw is already included, but maybe the script haven't the right to execute it? Need testing!?

PS: I think we also need to add "rm $TMPFILE" at the end ...
[Galaxy S II Android Development] gGabi:
+1 cron tasks works fine here
[Galaxy S II Android Development] danielo:
Interesting, I tried the wget command which checks the connetion and the return value was 1, just to be sure I tried this in terminal on the phone:

wget http://www.google.com -O $TMPFILE > /dev/null 2>&1

then i tried only this:

wget http://www.google.com

and I get this error from wget:

wget: bad address 'www.google.com'

isn't it strange???

I also tried the ping command to the www.google.com and there is no problem and I can ping google from command line, really strange and I think that this is the root of the problem that for some reason wget cant connect to www.google.com

I found this thread where is a discussion about this problem and it seems that wget cant resolve names and can use only IP adress and there is also possible solution for that, maybe Dori can take a look at it: http://xdaforums.com/showthread.php?t=794868

EDIT: seem like I finally found a solution and now the question is how to add it into the update script, or some other init script, because this should be done only once. I found that I haven't resolv.conf so I execute this:

su
mount -o remount,rw /system
echo nameserver 8.8.8.8 > /system/etc/resolv.conf

and then wget start working also with domain names and also updating time via NTP server is working after this. I'm not expert in writing scripts but maybe this should be a solution, but as I mentioned I'm not a script writer so syntax is probably not ok, just my idea how to solve this problem:

#!/sbin/busybox sh

TMPFILE=$(mktemp -t);
HOST_FILE="/system/etc/hosts";
TESTCONNECTION=`wget http://www.google.com -O $TMPFILE > /dev/null 2>&1`;
if [ $? != 0 ]; then
echo "Problem: no internet connection! connect and trying to fix it";

//check somehow if resolv.conf exist and if yes then there is some other problem probably or there is really no internet connection ...

mount -o remount,rw /system
echo nameserver 8.8.8.8 > /system/etc/resolv.conf

//test connection again

TESTCONNECTION=`wget http://www.google.com -O $TMPFILE > /dev/null 2>&1`;
if [ $? != 0 ]; then
echo "Problem: no internet connection! connect and try again";

// exit this script because it seem that connection is not available or some other problem there

fi;
else
mount -o remount,rw /system
wget http://winhelp2002.mvps.org/hosts.zip -O $TMPFILE > /dev/null 2>&1;
unzip -p $TMPFILE HOSTS > $HOST_FILE;
chmod 644 $HOST_FILE;
echo "AD Blocker: installed to /system/etc/hosts, reboot to use.";
fi;
[Galaxy S II Android Development] johnbeetee:
...had that problem a few times with earlier versions, and I did see the rw remount in the script ; still for some odd reason that doesn't stick as it should

and indeed manually mounting /system ( or / ) as RW does the trick.

The script seems to strand on the unzip command, which does extract HOSTS from the downloaded archive, but with empty content (0 byte)...Also the downloaded zip file seems to get a non-readable permission (tried adding a chmod to the script before unzipping, but that also didn't help...)

I don't think 'rm $TMPFILE' would be a great help (although it's a more elegant and neat way of performing tasks ) , subsequent calls to the script creates new instance of a $TMPFILE, so it's uses a fresh tempfile every time (...at least I tried that back then - manually deleting it, before executing the script - but that doesn;t seem to help....,
[Galaxy S II Android Development] t-pip:
Nice try but I did search and not the same bug as I am on CM10.

We can't win here either people don't search or they over zealously attack people for not searching !
[Galaxy S II Android Development] voku1987:
... maybe we can give the script-root-permissions via "chmod +s" ?!
[Galaxy S II Android Development] oneheart1975:
I am using Jellybam and crontasks works fine. I did the earlier instruction to disable then delete the cronfile then reboot then enable again.
[Galaxy S II Android Development] bleuxeon:
For some reason wifi doesn't goes off when screen off regardless of what I set in cortex brain or in rom. I have tried all combos, none work correctly.

Sometime, let say 1 on 3, the wifi is turned off when screen off, but without any change in the parameters.
[Galaxy S II Android Development] johnbeetee:
..that's funny ...just checked the scripts permission, and it already has user and group ID set (+s)...didn't see that before...

maybe @danielo can have a try at this and see if it works (..for me it has been working quite a while since I did the mount trick..)
[Galaxy S II Android Development] dorimanx:
all ideas ARE good.

now it's clear why some cant use the script, they dont have resolve dns set.

and also some app set RO to system! so script need permissions.

but it's has them already :)

~ # ls -la /res/customconfig/actions/push-actions/
ls -la /res/customconfig/actions/push-actions/
drwsr-sr-x 2 root system 0 Nov 21 19:42 .
drwsr-sr-x 3 root system 0 Nov 20 18:07 ..
-rwsr-sr-x 1 root system 131 Sep 18 09:13 ad_restore
-rwsr-sr-x 1 root system 487 Nov 14 16:05 ad_update
-rwsr-sr-x 1 root system 108 Nov 14 12:56 check_cpu_voltage
-rwsr-sr-x 1 root system 745 Nov 14 16:06 color_to_default
-rwsr-sr-x 1 root system 4644 Nov 13 02:41 config_backup_restore
-rwsr-sr-x 1 root system 268 Nov 14 16:08 cortexbrain_background_process_check
-rwsr-sr-x 1 root system 1188 Nov 20 15:23 crontab_log
-rwsr-sr-x 1 root system 381 Nov 14 14:35 crontab_reset
-rwsr-sr-x 1 root system 191 Nov 14 16:10 crontab_test
-rwsr-sr-x 1 root system 690 Sep 19 23:28 database_optimizing
-rwsr-sr-x 1 root system 4464 Oct 28 13:41 debug_to_sd
-rwsr-sr-x 1 root system 375 Sep 19 23:28 dualmount
-rwsr-sr-x 1 root system 255 Oct 28 13:41 fix_fs_on_boot
-rwsr-sr-x 1 root system 247 Oct 28 13:41 fix_media
-rwsr-sr-x 1 root system 357 Nov 3 13:35 fix_permissions
-rwsr-sr-x 1 root system 130 Nov 14 16:12 fix_wifi
-rwsr-sr-x 1 root system 71 Nov 12 23:05 gpszonecheck
-rwsr-sr-x 1 root system 523 Aug 11 12:56 reset-fuelgauge
-rwsr-sr-x 1 root system 910 Sep 19 23:28 reset_gestures
-rwsr-sr-x 1 root system 417 Sep 25 22:38 root_check
-rwsr-sr-x 1 root system 2438 Nov 12 23:12 root_install
-rwsr-sr-x 1 root system 2395 Nov 3 13:40 root_remove
-rwsr-sr-x 1 root system 818 Nov 12 11:33 stweaks_update
-rwsr-sr-x 1 root system 516 Nov 8 13:16 test_bln
-rwsr-sr-x 1 root system 328 Nov 14 16:19 time_update
-rwsr-sr-x 1 root system 1912 Nov 14 14:57 zipalign
-rwsr-sr-x 1 root system 268 Nov 14 16:23 zramstats
~ #

and yes we need to clear the tmp file.

EDIT!

FIXED!

https://github.com/dorimanx/initramfs3/commit/66ee154217297ac7ffffb33155a7f0f2da71517c
[Galaxy S II Android Development] danielo:
If somebody write me what exactly I have to try then I will do it, I'm new in this scripting stuff ... but in my case it seems that error No internet connection is caused by missing resolv.conf as I wrote here http://xdaforums.com/showpost.php?p=34460810&postcount=16220.
[Galaxy S II Android Development] lyndonguti:
ok after 3 days experience of stock jb im here again ..thats really an idementicble exp..really smooth super fast..but i miss dori :)

sent from my lovely phone....hmmm wait its a tablet...waaa i dont really know.....im PARANOID NoW!
[Galaxy S II Android Development] gGabi:
and how's that relevant ? keep on topic mate.
[Galaxy S II Android Development] lyndonguti:
REALLY? ok sorry gGaBI

edit: is there a high temperature going on here right now? i was expecting a nice welcome to old buddy not your odd reply..bla what ever

ok lets keep on topic

@dori i really like the net speed feauture im gonna test it :) tx buddy :)
[Galaxy S II Android Development] t-pip:
Don't worry there are some unusual comments flying today from people never seen before who think they are the police.

Good to have you back, I thought the same about the leak.
[Galaxy S II Android Development] a1exander:
This most be have been answered million of times, but what is in your way of making your kernel compatible with new official jb leak? Do you need sources? How come Philz has done it? :)

Thanks!
[Galaxy S II Android Development] GaboWinter:
Mate, if you are totally under the rules, please do it always and report the comments which, in your opinion, seems like off topic, instead of comment about it and probably release a little flame war, which definitely will be off topic.

Sent from Nyarlathothep's SGSII..."Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
[Galaxy S II Android Development] lyndonguti:
tnx buddy:D finally someone of my friends is here i was feeling out of the party :( ..but now im home:)

i miss 3 updates...7.22 is the latest beast ..im really liking it! but also disappointed about my self for not trying the other 2 old updates heheh
[Galaxy S II Android Development] gGabi:
Only samsung has the sources :) philz's sources are for the recovery i think...
[Galaxy S II Android Development] t-pip:
7.21 was dropped so only missed 2.

---------- Post added at 09:32 PM ---------- Previous post was at 09:30 PM ----------

Philz hasn't. He has repackaged the leaked kernel with his own recovery, root and brick fix. Essentially the Kernel is stock.
[Galaxy S II Android Development] THE RED BLUR:
Agreed. But we got to remember Dorimanx doesn't mind a bit of off topic for the loyal users of this kernel. :)

As long as it's not silly things like does this kernel support JB leak for the 100th time. :rolleyes:

@lyndonguti. Welcome back buddy ;)

I myself am not fussed with the latest JB leak. I'm just waiting for aokp to port what it needs from it and will be waiting in anticipation for that. :)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: RB JB 3.2 (ONLINE)

2nd Rom: RR JB 3.1.1

KERNEL : Dorimanx 7.22

(DEFAULT PROFILE AND SETTINGS)

MODEM : LPS

GAPPS : JusTunBean ,4.1.1 aroma

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] lyndonguti:
yup! and it is just a matter of time..samsung is just buyng time for their usual "strategy marketing"

..once it release preapre for the unseen dorimanx update before :)
[Galaxy S II Android Development] ulver7:
I think everyone needs to add a blinking signature with 'this kernel does not work with sammy 4.1.2 leak' but even that may not stop the questions.
[Galaxy S II Android Development] Tak3r07:
Yea i did not experience any problems at all, i was just answering to the guy with the stuttering while playing a game which has loaded huge files from sd :) im using zen aswell.

Rom: AOKP RB latest

Modem: M250 UB23

Kernel: Dorimanx latest @ default settings
[Galaxy S II Android Development] stebu79:
I made the same observation, until now I thought it's just me not knowing how to set it up right...
[Galaxy S II Android Development] danielo:
BUG:adding cron task via STweaks

Hi Dori,

I'm probably found another bug. It seems that not all tasks were added via STweaks into /system/etc/cron.d/crontabs/root. I checked all cron tasks but in the file I have only drop-cache-only.sh and ad_block_update.sh and the rest is missing. I tried reset of cron files and I also manually delete it but still with the same result. Is there something else I should try or is there some other solution already?

Thanks.
[Galaxy S II Android Development] GaboWinter:
Don't worry I know that, my post didn't want to say that to me the comment of @lyndonguti was off topic or don't, it's just to remark the fact that if someone feels or think that something it's off topic must be reported not commented, the following depends of the mod, they know how the devs manage his threads. :)

Sent from Nyarlathothep's SGSII..."Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
[Galaxy S II Android Development] dorimanx:
Well people asked me to relax and stop kernel updates every day.

OK :)

i am going to do some damage here

http://www.planetside2.com/

join me! i am dorimanx as always :)

To the battle! :)
[Galaxy S II Android Development] AMDPOWERFIST:
Good idea sir - too much work and not enough play, makes Dori a cranky man !!!

Take a bit of time off, release one a week rather than 1 or 2 a day, the phones will survive without you. Also gives time to thoroughly test and submit the issues properly.
[Galaxy S II Android Development] Mario1968:
Hi Dorimanx, seems to me that in the fix there is some typo:

mount -o remount,rw /;

mount -o remount,rw /system;

DNS1=`getprop net.rmnet0.dns1`;

DNS2=`getprop net.rmnet0.dns2`;

echo "nameserver 8.8.8.8" > /system/etc/resolv.conf;

echo "nameserver $DNS1" >> /system/etc/resolv.conf;

echo "nameserver $DMS2" >> /system/etc/resolv.conf;

can you verify?

Mario

Edit: I've read only now your playing post, take your time to relax Dori and return to develop this great kernel, more relaxed and maybe with new ideas to surprise all!

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Dorimanx Kernel 7.22

Jkay V14.1
[Galaxy S II Android Development] americoz:
LOL Dori you ARE the MASTER!!! I really feel this thread like home and family. Learning, testing, sharing and having some relax.

Good luck in battle mates!! :good:
[Galaxy S II Android Development] big_bum:
DMS is a typo. >> not.
[Galaxy S II Android Development] Mario1968:
Are you sure? In the original fix in all three lines that echo a dns in the system file there is only one ">", so i think the only value written and maintained in the system file is the last one (those with the DMS typo).

I've inserted the second red ">" in the 2nd and 3rd line.

Correct me if I'm wrong

Thank you

Mario

Inviato dal mio Galaxy S2 con Tapatalk2®

XWLPF Stock

Dorimanx Kernel 7.22

Jkay V14.1
[Galaxy S II Android Development] Germian:
Hey there!

Well, I have a very big problem with the kernel or let's say, I think it has to do with the kernel.

After a while, syncing with Google stops and I can't get it to work again. I tried to wipe cache, wipe dalvik cache, fix permissions, tried to flash the kernel again, toggling airplane, sync, data 2G/3G, nothing worked. I even tried to flash a new radio/modem but it still didn't work.

Then I flashed the Siyah kernel (I think it's currently 5.0.1?) and everything worked again. I know it's not much of a help because I can't even say with which kernel it occurred first, I can just say that it happened yesterday again with the current kernel 7.22. I think it started with 7.18, but I can't guarantee it.

My set up: Galaxy S2 (i9100) (d'uh!), AOKP (JB 4.1.2, M1)
[Galaxy S II Android Development] dorimanx:
its typo.

Sent from my GT-I9100
[Galaxy S II Android Development] fjkum:
The combination of HYPER+NOOP doesn't seem so good. When I unplugged from my wall charger, and leave the phone for awhile, it crashed (I could not bring back up the phone other than hold on POWER button to reset).

Now I am back to ZEN I/O scheduler and everything seems back to normal, but of course playing games with this scheduler is stuttering.

Dori,

Could you help look into this I/O scheduler thingy?
[Galaxy S II Android Development] Computoncio:
One > will echo text and create a new file, two > will add the echo text to the file in question.
[Galaxy S II Android Development] big_bum:
Exactly. Two > will add text after the last line in the file. First echo writes 8.8.8.8 in file, the next two add DNS1 and DNS2 lines. If only one > is used, then only DNS2 value will be written in the file. Well, it actually goes like this with one > :

Write 8.8.8.8, overwrite with DNS1, overwrite with DNS2.

With two > is like this:

Write 8.8.8.8, write DNS1 after 8.8.8.8, write DNS2 after DNS1.
[Galaxy S II Android Development] Unexist6969:
In my comparison tests Hyper/Intellidemand with BFQ/CFQ I/O gave me the best read/write and SQL results. But that could be just imagination. Zen is like Fiops and Deadline like smooth.
[Galaxy S II Android Development] fjkum:
I too not sure how to test the I/O schedulers, but I am simply based on running the games such as TDKR (The Dark Knight Rises), NFS:Most Wanted, and Dead Trigger to test each of the schedulers.

The observation I got from each schedulers is in terms of game loading time, any stuttering during gameplay, and the smoothness/responsiveness of the movements in the game. And thus far, I can only say HYPER+Deadline gives me descent performance but need to further monitor this if I get the similar problem I faced earlier with phone hanging after some time with HYPER+NOOP.