yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] THE RED BLUR:
Thanks mate. I will format my internal card now. Will transfer stuff to my pc first;)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: RB JB 3.2 (ONLINE)

2nd Rom: RR JB 3.1.1

KERNEL : Dorimanx 7.17 Mali

(DEFAULT PROFILE AND SETTINGS)

MODEM : LPS

GAPPS : JusTunBean 3.2.6 aroma

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] dorimanx:
and is it not better to delete the 2nd rom files, and create them via recovery?

it's only 2 files, nothing super complicated.

sec i will tell you where to get them..

EDIT:

Here

cd /sdcard/.secondrom/

delete cache.img data.img

and second ROM is gone.

then create new one.
[Galaxy S II Android Development] hawkerpaul:
You answered yes, but to which question please? :)

And yes mate, crontab -l now shows the correct jobs.

:good:
[Galaxy S II Android Development] maciekbe:
Wow!!!

I'm using Totall_Recall_S2 app for call recordings both way. It is the only one that works out of the box. It says it makes some magic workaround for S2. It seems it wasn't missing that "service" with older kernels. Reverting back to 7.15.1 seems to help but... if you say it is not good behavior anyway, then I don't want it. I will look for more elegant solution for a call recording.

Thank you very much for your precious time and great work.

From Tapatalk...

WanamLite.Stock.XXLPQ (4.0.3)

DorimanX 5.92
[Galaxy S II Android Development] tonysac:
Thanks :thumbup:

No no crazy stuff for me only VPLL on the rest are default performance values except oc :D

Phone is smooth and fast :cool:

Keep walking Greece
[Galaxy S II Android Development] dorimanx:
if you want answer, dont ask, just go and see

https://github.com/dorimanx/initramfs3/commit/fd26ef73d21996c6a9bc1bb7ede51964488d61f9

if not, then dont ask :)
[Galaxy S II Android Development] THE RED BLUR:
Lol. Thanks mate. I did that already.

Still this error is pursuing me. I know it's the last resort thing to do but I think something has gone wrong so I have to do a full wipe and see what happens. :)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: RB JB 3.2 (ONLINE)

2nd Rom: RR JB 3.1.1

KERNEL : Dorimanx 7.17 Mali

(DEFAULT PROFILE AND SETTINGS)

MODEM : LPS

GAPPS : JusTunBean 3.2.6 aroma

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] dorimanx:
kernel has nothing to do with app you are using.

just install 7.17

uninstall the app, and install.

all will work. i didnt do any changes that effect APPS.

at least Not directly,

this script do one thing that not matter anyway.

it's try to set high priority to call recorder app, for it not to be killed by ROM internal task killer.

but i have bad news for you all.

YOU CANT STOP IT! IT'S WILL KILL THE APP NO MATTER WHAT YOU SET!

there is only one magic! kill or config the services.jar task killer.

dont delete that file, you will not boot, it's inside.

dont ask me how to, see ZEP thread.
[Galaxy S II Android Development] dorimanx:
Ok, then good luck i guess :)
[Galaxy S II Android Development] Siberian Tiger:
Hi dorimanx,

I don't usually mess with kernels ,i just flash them and use them with default settings(except sound and bln)

Today i flashed your 7.16 kernel(7.15.1) and tried to reboot to primary rom but it stuck in dorimanx bootlogo saying "booting primary rom".

I waited about 2-3 minutes but nothing.Then flashed back 7.15.1 rebooted into recovery from advanced menu and then booted to primary normal.

I didn't tried to reproduce it but if there is something i can do for you to have a look at it,i will do it with pleasure.:)

Thanks for all your hard work :highfive:

EDIT: sorry my bad .I'm using 2 ICS 4.0.4 Touchwiz roms(custom,not stock)
[Galaxy S II Android Development] Vreestyle:
android 4.2 just got released!

Hi Dori!

Don't know if this is of any use, but 4.2 (for the nexus) just got released:

http://androidspin.com/2012/11/13/download-androids-4-2-jop40c-for-the-gsm-galaxy-nexus/

BTW: Great job on the kernel!

I personally haven't got much knowledge about building this.

but I cant even let the battery rest on one version of the kernel, or you've fixed another :

Keep it up!!

:highfive:
[Galaxy S II Android Development] dorimanx:
Hi, thanks for testing,

kernel 7.17 is the most stable now,

and it's not changed from 1.15.1 in a way of JB or CM rom support,

Only update for MIUI ICS ROM,

Is that ROM is in use for you?

I need some info to understand what can be the problem.
[Galaxy S II Android Development] dorimanx:
and already removed :)

link is broken 404 error.

any way it's for nexus, and ROM dev can have much things to update from it,

But kernel, is less WOW, we are waiting SG2 JB source!

nexus kernel using many different drivers and we cant take much, only maybe the common linux, but we have 3.1.Y merged with parts from 3.4.Y and 3.6.Y so this also not so needed.

i need the SAMMY drivers! this is what we all waiting for :)

Thanks for NEWS! i hope to hear News for us soon :)
[Galaxy S II Android Development] Vreestyle:
Luckily I've managed to download that.

So if anyone is interested, just ask and I'll upload it.

:)

Send from the godfather of smartphones to your face!!
[Galaxy S II Android Development] Mulholland Drive:
So far .17 is very stable, no FCs observed. Good job.
[Galaxy S II Android Development] hawkerpaul:
/var/spool/cron/crontabs/root does not reflect the options in STweaks when you change the options.

For example, I unchecked the zip align option but it's still in the root crontab file and will therefore still get executed
[Galaxy S II Android Development] voku1987:
It will run but not really ... ;)

PROFILE=`cat /data/.siyah/.active.profile`;
. /data/.siyah/$PROFILE.profile;

if [ "$cron_fix_permissions" == "on" ]; then
[Galaxy S II Android Development] Frozenthunder:
Hey guys, is anyone able to get Luks Manager running? Whatever I do I just can't access volumes properly since kernel version 7.15.1, when I use the built in file explorer it always tells me "permission denied". This always worked flawlessly until version 7.15.1 and also I'm not the only one who posted that he has problems since that version.

I actually was just about to check logs with alogcat but for some reason that doesn't work either, I'm not seeing any logs at all.

I even tried updating busybox, does nothing.

Dori, if this is a rom/app issue then why did it work fine with all kernel versions below 7.15.1? I don't understand that. Really the only thing I did was updating kernel and then it didn't work anymore. And not only for me.
[Galaxy S II Android Development] truden:
What to format, after the 2nd ROM is removed :confused:

Is there something left to format after the removal?
[Galaxy S II Android Development] GaboWinter:
Nothing unless you want flash another ROM as secondary again, the action of wipe data / clean cache just set the space necessary to install the second ROM.

Sent from Nyarlathothep's SGSII..."Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
[Galaxy S II Android Development] jgcaap:
Today I was sick and I decided the spend the day testing the phone. This configuration is great for battery life and stable

For cpu

1200000 1175

1100000 1125

1000000 1075

900000 1025

800000 975

700000 950

600000 950

500000 950

400000 900

300000 850

200000 825

According to the tests I've done 86% of the time, cpu is below 600MHz state. Also I've decided to insert from 200mhz. It works great without any problems and we can save up a bunch of juice, near - 150mv.

Would recommend you guys leave the 500mhz till 800MHz as is. Or it'll freeze the phone.

Any thoughts? Wanna know your opinion.

The Gpu cannot be undervolted the limit is 1000mv for 200mhz and 267mhz.

160mhz I would love to test with 925mv

100MHz is 900mv

64mhz us 850mv

The only thing we can do to make sure it'll conserve battery is to raise the percentage before he raises frequency. I've decided to make near 85% to raise and 75% to decrease with 5 steps. Seems to be A OK. :)
[Galaxy S II Android Development] hawkerpaul:
isnt this just the settings for STweaks to load on startup?

where is this "if" statement run?

there must be some other coding in the kernel itself then to reference this and prevent this job from running then, as from my old Unix days, whatever is in the crontab file gets executed unless it is removed or commented out.

crontab -l will still show the unticked zipalign
[Galaxy S II Android Development] maciekbe:
I did what you said and now it's ok.

Thanks again very very much.

From Tapatalk...

WanamLite.Stock.XXLPQ (4.0.3)

DorimanX 7.17
[Galaxy S II Android Development] Flint2:
Wipe 2ndROM

For The Red Blur, at first not working for me,

Please wait...
Formatting 2ndROM data...
Creating 2ndROM data for the first time...
This will take long...
E:format_volume: make_extf4fs failed on /mnt/.secondrom/.secondrom/data.img
Error formatting 2ndROM data!
Formatting 2ndROM cache...
Creating 2ndROM cache for the first time...
E:format_volume: make_extf4fs failed on /mnt/.secondrom/.secondrom/cache.img
Error formatting 2ndROM cache!

Making more room in SD (3.55 Gb) and testing again

Now Working OK

Please wait...
Formatting 2ndROM data...
Creating 2ndROM data for the first time...
This will take long...
Formatting 2ndROM cache...
Creating 2ndROM cache for the first time...
Done.

I did not understand what is your error, coul'd you post more details
[Galaxy S II Android Development] truden:
OK, on DorimanX 7.17 I deleted the 2nd ROM, then Wiped the data/chache.

It said:

Please wait...

Formatting 2ndROM data...

Creating 2ndROM data for the first time... (why for the first time? - this is me wondering)

This will take long... (it took f&^$%#g long)

Formatting 2ndROM cache...

Creating 2ndROM cache for the first time... (again "first time" - again me)

Done.

I guess it works for me :D
[Galaxy S II Android Development] adinpop:
Everything works fine with 7.17, gesture (had issue on 7.15.1) and even total recall records ok. Just uv with Setcpu more than -100 ( 200-900mv,500-950mv, 800-1000mv, 1000-1075mv, 1200-1175mv) and still no freeze.

Tnx, DM, one's again.
[Galaxy S II Android Development] Flint2:
It's for the first time because you have deleted it, so i'ts 2dn rom virgin again

EDIT: Please read the [GUIDE] How to Dual Boot using the Siyah Kernel
[Galaxy S II Android Development] quijote1:
I had no problems wiping 2nd rom and replacing. I updated NeatRomLite and it is really flying! 7.17 is impressive so far. I've been using it for hours now making adjustments on the new rom and the battery has been discharging very slowly. Thanks...

SlimBean 2.9

NeatRomLite UHLPZ 3.6

Kernel: Dorimanx 7.16

Modem UHLPH

Apex Launcher
[Galaxy S II Android Development] dairinin:
Hi, dorimanx, voku

I just happened too look on the cron scripts, and I have a bunch of questions. I am new to android, and so those questions are probably stupid:

1. in /res/crontab/cron-scripts/drop-cache-only.sh you clear pagecache, but is not this a bat thing?

I mean, pagecache is normally contains file-backaed pages, which are silently reused by kernel, when it demands more free pages and there are no free pages to use. Also, when you drop pagecache, then the next time kernel wants to read file, it has to read it from flash, whereas it could read it from ram if the cache was not cleared, draining battery

2. In /res/crontab/cron-scripts/zipaling.sh you first try to remove logs AND db, and only then remount fs rw. How can the script delete those file on ro fs? Also, every time you remove zipalign db. Isn't it makes zipalign db useless, as you end up with full scan every time?

Please, could you concider this patch? It contains some code cleanup and replacements of external util calls with shell analogs. Forks are very expensive compared to additional work by sh (additional work is battary drain, isnt it?).

For example, there is the line from one of scripts:

time for i in `seq 1000`; do MEM_ALL=`free | grep Mem | awk '{ print $2 }'`; done
real	0m2.176s
user	0m0.904s
sys	0m2.032s

Compare it with pure shell:

time for i in `seq 1000`; do while read a b rest; do [ "$a" = "MemTotal:" ] && MEM_ALL="$value" && break; done < /proc/meminfo; done

real	0m0.051s
user	0m0.033s
sys	0m0.018s

And that is on x86_64, which is known for much more efficient syscalls, than, for ex, x86.
[Galaxy S II Android Development] EB10000:
Dori

Is there a reason why you ignore all of my questions?

BTW, even on 7.17 still superSU is 0.96 not 0.97...
[Galaxy S II Android Development] dorimanx:
Hi,

i admire your need to know, and dont like your way of saying it's not working

as we say, me and voku.

please go to git, and start to learn how all works, cron run all scripts!

but inside the script, there is a check that load STweaks active profile,

and see what is set to be ON and what is OFF.

and based on that, doing the JOB or just ignore and exist!

Think out of the box! not all that you see is what really inside it :)

This is the fix permission script!

now do you see? how it's works?

if cron_fix_permissions == OFF

script exit.

I hope no more questions.
[Galaxy S II Android Development] dorimanx:
Hmm, actually i see your question first time, only today 4~5 pages added

i cant see every post, i try to...

and Thanks for updating me, i will update to latest version, i didnt noticed.

next kernel will be loaded with new SuperSU + SU

:good:
[Galaxy S II Android Development] jgcaap:
go dori go! :)
[Galaxy S II Android Development] truden:
Thanks mate, I'll read it :)

I did have few second ROMs but never read the lines while in CWM.

Sometimes they are quite interesting though.

Like somewhere I saw "Doing this ****" while it was busy with something :D
[Galaxy S II Android Development] dorimanx:
for clean cache, when you load new app, and there is no free RAM, because it's cached with junk leftovers from other operations,

ROM task killer kill other apps / services and stuff that you like to have loaded to RAM.

then it's loading app that you requested,

then all the killed apps start to load them self's back to RAM and that is wasting allot of CPU and battery.

so to have free RAM against have slight performance of file reading, and we are using small files mostly that load at blast speed, we gain more battery if RAM is free to use, and ROM dont have to kill other apps and services on need for free RAM.

in android all thinking is for saving battery, as long as possible.

load of files to ram or read them without reading from disk, is not priority.

disk is online all the time, internal sdcard don't sleep. or we get SOD.

logs written and much going on, so to read something for some quiet operation, is not battery consuming as Auto load apps that removed from ram to free it.

about the shell script.

is it really matter?

0.05sec execution

or

0.20sec

it's just a task,

but i will check your script, if it's works with android, cool, if not.

we have already working code.
[Galaxy S II Android Development] 4l3gU:
Thanks Yuri...v7.17 and my S2 fly...:eek:
[Galaxy S II Android Development] THE RED BLUR:
Just to let you know the full format and wipe worked and recovery is behaving again. And have successfully created 2nd ROM patrician and flashed rom:)

What will bug me is I will never know what caused the error in the first place.

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: RB JB 3.2 (ONLINE)

2nd Rom: RR JB 3.1.1

KERNEL : Dorimanx 7.16 Mali

(DEFAULT PROFILE AND SETTINGS)

MODEM : LPS

GAPPS : JusTunBean 3.2.6 aroma

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] MrR0ck:
Is 7.17 must work with miui ics?

For me last ver. working good is 5.90

5.92 - data not working

7.xx not working too

7.17 don't boot - freeze on dori logo

miui ics 2.11.9

sorry for my bad english

tnx
[Galaxy S II Android Development] hawkerpaul:
thanks

just wanted to get a better understanding of what's going on thats all, and now I have!

:)
[Galaxy S II Android Development] THE RED BLUR:
It was exactly the same message you had. ;)

So basically all had to do was just make more room on sd card that was it.

Ah well I cleaned out all the junk piling up for the last month or two so got I nice good base now:)

SIGNATURE

PHONE : SGSII

Sent via: Tapatalk 2

Main ROM: RB JB 3.2 (ONLINE)

2nd Rom: P.A.C v17

KERNEL : Dorimanx 7.16 Mali

(DEFAULT PROFILE AND SETTINGS)

MODEM : LPS

GAPPS : JusTunBean 3.2.6 aroma

BATTERY : Stock 1650mAh

EXTERNAL Sdcard : Samsung Class 10 32gb
[Galaxy S II Android Development] dorimanx:
not boot! i have updated MIUI support from MIUI ICS ROM user,

and he told me that rom load and DATA works but WIFI not connecting,

and now you tell me that ROM dont boot! :(

there is a major problem with MIUI roms, they are all different!

like all devs do what they want and set some things that others dont have or it's set differently

then they try my kernel that have support for MIUI, but what MIUI branch i have no idea!

for cMIUI JB based on CM10, all works fine, there MIUI dev used CM10 boot init and set all to work as should.

and for ICS MIUI there is a mess, i add support for one ROM other dead :eek:

thats cant be the way to support it.

i have 2 options, revert back to previous MIUI support or just announce that my kernel no longer support ICS MIUI.

and that chose is 70% wight. against 30 % to try to fight with ICS MIUI needs.

who is MIUI any way?

i know CM i know AOKP and SAMMY

and MIUI?

what origin they build from?

best just use the common supported ROMS.

or use the STOCK kernel that arrived with ROM.
[Galaxy S II Android Development] dorimanx:
Good that you solved it, and now all back to normal :)
[Galaxy S II Android Development] AntonioTrindade:
Thanks! I think I'll try those!
[Galaxy S II Android Development] dongerado:
At first: Thank you Dori for your hard work.

I have tried many Versions (inkl. 7.1.7) of your Kernels because I like the features you give to us...

But one thing didnt work in none of your Kernels: Wifi was not stable.

When the screen is off, the phone will lose the wifi connection after 5 minutes or 1 hour or something beween that.

The same with Siyah Kernels...

The only Kernel I´ve found with stable Wifi was the DeamKernel 2.7.4 an 2.7.5.

(Always with same settings for wifi sleep(never) ROM even does not matter)

Anyone some suggestions for me?
[Galaxy S II Android Development] jackq:
i cant agree with this, color saturation is still bad, fonts looks ugly.

I try today 7.17 and when browsing have a couple freezes, i must hard reset my phone... so is not so beautifull as you think...
[Galaxy S II Android Development] kantjer:
Good to know, if I ever run into this problem I now know what to do :good:

as a precaution I just just cleared all junk from my internal sd card.
[Galaxy S II Android Development] mr_omega:
Completely agree with that.
[Galaxy S II Android Development] kantjer:
I think you just asked Dori to end MUI support with this post.
[Galaxy S II Android Development] AntonioTrindade:
About crontab

I just noticed the following line in the crontab:

0 0-23/1 * * * /sbin/busybox sh /data/crontab/cron-scripts/drop-cache-only.sh

The 0-23/1 is not needed. It can be replaced by *.

The first means repeat from midnight to 11 p.m. every 1 hours. The second means every hour, on the 0th minute, so it is the same.

Thus, the line above can be replaced by

0 * * * * /sbin/busybox sh /data/crontab/cron-scripts/drop-cache-only.sh

and the effect is absolutely the same.
[Galaxy S II Android Development] stebu79:
7.17 is working great so far. Thanks a lot for all the work. I wonder if it would be possible to have an option which allows to choose a time range (1min, 5min, ...) before the cortexbrain/force Wi-Fi off option applies. I do like this option, but it happens often to me that screen goes of during reading because of screen timeout, and it's annoying then when the WiFi switches off immediately.
[Galaxy S II Android Development] kubics:
Settings -> Wi-Fi -> (menu) -> Advanced ->Keep Wi-Fi on during sleep -> Always ?
[Galaxy S II Android Development] dorimanx:
yep i think thats it, MIUI is out, i have no time and need to mess with that branch.

my kernel is for JB + CM ICS and SAMMY

all the rest is not supported.

Thanks for helping me to decide.
[Galaxy S II Android Development] dorimanx:
you right, it's will do the same,

but my way is more clear for user.

it's understandable.

and just to push 0 * * * * is not.

thanks for idea :)
[Galaxy S II Android Development] dorimanx:
wifi driver is not set to turn off on screen off.

only if you enabled force wifi off in STweaks cortex tab.
[Galaxy S II Android Development] dorimanx:
i dont follow dream kernel.

and dont use any of it's parts,

it's basically CM kernel with some custom changes.
[Galaxy S II Android Development] kantjer:
If you have this problem at one particular location this could be the cause of that.
[Galaxy S II Android Development] dongerado:
Thank you. Unfortunatly yes, as I wrote.:crying:

hmm, so I will have to shut down wifi in the future when the screen is off ;) No lags are important.

Good Idea. I founded the "best" channel with wifi analyzer. With Dream Kernel this channel worked very well... But not with dori or siyah kernels..

Btw. in which folder i can find the wifi relevant code in the source code ?
[Galaxy S II Android Development] voku1987:
I also think that clearing the cache, every hour maybe dosn't make so much sense, because the kernel manage to free it?! We need to test, what is the right way! :) -> https://github.com/dorimanx/initram...d8a2b9b606f1846a6ad2f9a#commitcomment-2132566
[Galaxy S II Android Development] celiocalves:
Dori your kernel is great and i'm a fan of your work. I'm a MIUI user, and MIUI ROM have features that all the other ROMS don't have, it's a kind of new things and features that are really useful.

I'm using cMIUI and your kernel is perfect for this rom, so, I would like you keep MIUI users present in your project, but the choice is yours.

Keep up this fantastic project!! ;)
[Galaxy S II Android Development] jgcaap:
Forget the 100mhz. Use from 200 and above. Can lead to random reeboot. Very stable with new voltages :)

---------- Post added at 11:36 PM ---------- Previous post was at 11:35 PM ----------

Suggestion : possibility of editing voltages from Stweak instead of using other apps.
[Galaxy S II Android Development] MrMastodon:
Does that mean that even with "wifi active on screen off" set to "only on charging" or "never" selected in wifi settings, it will not turn off on screen off until it is enabled in cortex?

As far as my experience goes, when force auto wifi is enabled, it stays of when screen is turned back on. Is this how it's supposed to be? Or have I completely messed up my settings....

SGS2, RR 3.1.2 - Dorimanx 7.17
[Galaxy S II Android Development] GaboWinter:
Semi OT:

Did you post that feedback on the cMIUI yet? Because some users there told me that it isn't working and will be really nice have positive feedback there.

Sent from Nyarlathothep's SGSII..."Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn"
[Galaxy S II Android Development] Jockson:
I installed this kernel to use the ExTweaks app to adjust my screen, everything else is stock. There doesn't seem to be an option of adjusting the green channel though, just blue and red. Is this in any way possible? Lowering the green value would be the only way to correct my screen. If not, are there any other methods I could achieve this on ICS except for the Screen Adjuster app which is more like a screen filter and doesn't solve the issue. Thanks.
[Galaxy S II Android Development] Floydfire:
For me cmiui plus dorimanx seem to work!

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] ysrini:
My experience,

initially my setting was "Keep Wifi on during sleep : never" + "Force Auto Wifi: disabled" in cortex -> Wifi was running throughout.

later, "Keep Wifi on during sleep : never" + "Force Auto Wifi: enabled" in cortex. Wifi was off during sleep and back when screen was on. And it saved a lot of battery.

And, I use the same configuration - SGS2, RR 3.1.2 - Dorimanx 7.17