yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Twiq:
[MENTION=2376110]dorimanx[/MENTION] [MENTION=1670821]cybernetus[/MENTION] [MENTION=4663860]Computoncio[/MENTION]

sorry for mentioning all of you guys, please reply when you have the time.

I have several of questions regarding the cortexbrain-tune. And I'm requesting permission mainly from Dorimanx to some modifications i'm going to make :)

I'm not going to try to modify the file from ramdisk (not that hardcore and i'm lazy) so i'll just conveniently copy the script into some other file and run it instead of enabling cortexbrain service from stweaks.

CMIIW,

i noticed from the script that when using AUTO mode the CPU is always set to single core on sleep mode, and when it comes back to awake it turns both cores on (or Auto depending the load).

I was thinking to modify some of the lines to achieve single core CPU mode instead of using Auto Hotplug, or more specifically line 386

echo "2" > "$maxcoreslimit_tmp";
[i]into[/i]
echo "1" > "$maxcoreslimit_tmp";

or maybe optionally modify the eco mode so it runs all the time :D

and possibly tweak some other things while i'm at it :)

Now here's the question..

i was thinking to run it with init.d script then NOHUP the modded cortexbrain service. Would it work? Would you guys suggest any better idea?

Edit: init.d script will mimic the customconfig/actions/cortexbrain_background_process

Any comments from unmentioned people also welcomed. Thank you :)
[Galaxy S II Android Development] jgcaap:
Just do it. Shouldn't be a problem
[Galaxy S II Android Development] Twiq:
I went for it yesterday, looks like it's sticking as expected.

Finally i have single core mode on dorimanx ?

I was a bit worried coz [MENTION=2376110]dorimanx[/MENTION] put a note that the service needs to be launched under 25 seconds after init, or it can't read /sys/* properly

And with my current extreme battery setup it doesn't feel/seem laggy even while playing games ?

Gonna test a day or two before i upload flashable zip so other people can try it out if they're interested

Edit: ok, i jinxed it.. after several reboot tests it doesn't run anymore, even when manually launched from the terminal emulator.. Will investigate later after work hour

Running 0522 Sabered SlimKat | DorimanX 10.43v111
[Galaxy S II Android Development] djnata:
v112 dont work with last nightly 20140612,dont boot...
[Galaxy S II Android Development] Spaulding89:
Last nightly of what? [emoji53][emoji19]
[Galaxy S II Android Development] djnata:
CM11. i need to reset to factory default to work :|
[Galaxy S II Android Development] cybernetus:
Where is the logcat ?
[Galaxy S II Android Development] Twiq:
[MENTION=2376110]dorimanx[/MENTION] would sed ing the changes work without killing the cortex service? Or i have to kill it first and nohup it again?

I think it'll save more time and resources :D

Running 0522 Sabered SlimKat | DorimanX 10.43v111
[Galaxy S II Android Development] nik60:
cm 11 latest 4.4.3 working with dori 8 dualboot sammy....mal2 my patch

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Galaxy S II Android Development] cybernetus:
[deleted]

---------- Post added at 02:56 PM ---------- Previous post was at 02:55 PM ----------

I'm on 10.43v112 on CM 11 and not a single problem ...

---------- Post added at 02:57 PM ---------- Previous post was at 02:56 PM ----------

But where is the logcat ? Where is the data to debug your problem ?

What you do to flash the kernel ? What version of the kernel you use ?
[Galaxy S II Android Development] m1trand1r:
Oh....mate.....don't bother with "ignorant users"....IMHO if they have a problem....logs or it didn't happen....eh?...;)

He flashed v112 I believe ;)

But....stuck can happen coz of many things....mostly "user" errors not kernel...;)

BTW : Where's our Recovery creator?...Mr. [MENTION=5074262]StanTRC[/MENTION] ???,....v112 can't clone 1st to 2ndrom in my case.....I had to use v83 original by [MENTION=2376110]dorimanx[/MENTION] ;)

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] cybernetus:
I belive i will have time on the next days because we wil we have the horrible World Cup soccer in Brazil ... I'll just see something about Kernel.

---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------

mate, clone the repo, change things and test.

And after send the merge request to [MENTION=2376110]dorimanx[/MENTION]

:)
[Galaxy S II Android Development] Troubadour666:
hi,

i cloned 4.1.2 dualbooted format roms from 1rst rom to 2nd position without any trouble.
[Galaxy S II Android Development] Twiq:
Thanks for the tip,

I haven't thought of that.. It was supposed to be a quick and dirty "fix".. At least the original idea was :D

I'll hop in if i'm ready ?

Running 0522 Sabered SlimKat | DorimanX 10.43v111
[Galaxy S II Android Development] m1trand1r:
Hey....thanks for heads-up mate.....;)

But why would cloning get stuck when cloning my data partition ?

Do you have any idea?...Since you dualboot even harder than me;)

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Troubadour666:
"Since you dualboot even harder than me;)" , yes, i think too ;)

can you make a test with branch 8 ?
[Galaxy S II Android Development] m1trand1r:
Uh-oh ...no....no....sorry I can't do that [emoji33]

I could tho.....but....no more Sammy on MY phone......ever......just in worst case scenario.....maybe....so....maybe you should/could go up to 4.4.3 with us, eh?:D[emoji106][emoji106][emoji12][emoji122]

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Troubadour666:
Ho yes :)

i have AOSB / NeatRom AOSP (4.4.3 the two ;) ) but i keep branch 8 , i forgive to switch to branch 10 Lol.
[Galaxy S II Android Development] Spaulding89:
I found a issue in recovery too

I want to Swap my first and second Rom but it shows i need 265826495026285846154859502727494036263858594838202748493.00 MB and it shows that 0.00mb are avaibable.

Kernel 10.43.V112 first Rom Slimsaber second Rom Spirit Rom
[Galaxy S II Android Development] m1trand1r:
So....apparently cloning is broken on 10.xx branch....:(....

Anyone using 9.xx branch with dualboot ?

EDIT: [MENTION=5644065]Spaulding89[/MENTION] did you get stuck at cloning process ?....Try only to clone 1st to 2ndrom and see...I had to do hard reboot to get my self-charging device up lol[emoji12]

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] velocity90:
I think.......... there's a bug......... with....... Key. Board........ All..... Dots.........
[Galaxy S II Android Development] Spaulding89:
This bug.....is only ..... [MENTION=3763274]rkoby13[/MENTION] s bug [emoji12][emoji12]
[Galaxy S II Android Development] m1trand1r:
mhm........t...h...ere.....r...eee....all....yy...,is......a....b....u....g.....lol[emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23][emoji23]

u made my day.....;)

[emoji23][emoji23][emoji23][emoji23][emoji23][emoji23]

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] CHEF-KOCH:
Time for a WM kernel build guys.... XD
[Galaxy S II Android Development] Spaulding89:
[MENTION=3763274]rkoby13[/MENTION] i will check if it will stuck at cloning later.
[Galaxy S II Android Development] Lunatiic:
Can someone help me!?

​

I can't change anything related to the Kernel using the latest 10.43v112. After changing everything I want: governor, i/o scheduler, frequency, voltages, etc.. they revert back to stock or doesn't even apply.

I'm using Paranoid Android 4.4 RC1 and Micro Modular Gapps.

Already tried re-flasing kernel, wiping data/cache/dalvik, fixing permissions.

Any ideas? :confused:
[Galaxy S II Android Development] Rachid.Ala:
What app you used to change those settings?

It's better to use stweaks :)
[Galaxy S II Android Development] Lunatiic:
I tried Trickster, PA Performance Settings, Kernel tunner and also Stweaks.. none of them works.
[Galaxy S II Android Development] m1trand1r:
Use Stweaks only....and navigate to /data/.siyah/*.....delete .siyah folder and reboot once.....then setup your profile in Stweaks again.....but either uninstal or disable other "control" apps before.....it should work....it works on my side....after nice full wipe done yesterday :D

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Rachid.Ala:
So in this case, I suggest you to do what [MENTION=3763274]rkoby13[/MENTION] said or just flash kernel wipe script and set up your profile again
[Galaxy S II Android Development] m1trand1r:
Kernel wipe script is not really effective imo.....I prefer using manual method :)

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Lunatiic:
Thanks a lot man!!! That worked :cowboy:

I still have one question: how do you or the more experienced here suggest I overclock the GPU? My Xperia S died last week and I was used to change only the max. frequency on the Adreno 220, not all steps like on the Mali 400. I can see that on the Extreme Performance profile the last step goes only to 400Mhz, but I can set it to 520Mhz, how does that work? Battery is not a problem for me, I can use the charger anytime I need to.

:victory:
[Galaxy S II Android Development] TheImpossibleEnemy:
If you don't have any lags on stock speeds why to overclock it in the first place?267mhz is more than enough for practically every game or app.GPU OC won't do wonders because CPU will throttle much sooner and more frequently thanks to the significantly higher temp which rises accordingly to the level of OC.Yes,you may experience a few more FPS,but it is not worth it IMHO.

Anyway,as battery life is not important to you,I would suggest you to try a 400mhz first,then,if not happy with it,turn VPLL mode on and push it to 440mhz or even 520mhz,just don't forget to rise voltages accordingly.

I don't OC anymore,with some help of UV,I managed to completely get rid of thermal throttling on 1.2Ghz CPU/267Mhz GPU setup.Not a single step back in CPU frequency while at full load and the phone feels cooler.Feels great.

And yeah [MENTION=3763274]rkoby13[/MENTION] is the OC master here,so it would be wise for you to hear what he thinks.
[Galaxy S II Android Development] Lunatiic:
With 1.2Ghz Stock I was facing some lags on Android itself, some animations stuttering and stuff like that. Overclocking the CPU solved it, it's smooth now, just some rare and ocasional lags. Asphalt 8 was also lagging so I also OCed GPU and 400Mhz is fine now, I just want to know how to push it even further in case I need to... Overclocking the Adreno 220 was fairly easy and the battery drain was unoticeable. Whats the limit vcore on the Mali 400? 1400mV?
[Galaxy S II Android Development] Hopper8:
What ROM? If you're experiencing lags on android itself at 1.2ghz something isn't right. I wouldn't go any higher than 440 GPU. 520 is unstable, although it can run at 520 on some devices, it's not a 'daily use' setting for sure. When my S2 was new I could run at 520 but not any more, I get a total freeze.

Like Stweaks states, above 1300Mhz and you risk burning your GPU chip. I'll leave it at that.

Sent from a galaxy far, far away
[Galaxy S II Android Development] AhmadMarikar:
Could someone help me out?

I have a i9100 S2 running CyanogenMod M7 (Android 4.4.2)

Don't really know which kernel version to flash. Can someone help me?

Thanks
[Galaxy S II Android Development] Lunatiic:
I'm running Paranoid Android 4.4 RC1 ( Android 4.4.3 ).. it wasn't completely laggy, but it was lagging more often than not. But anyway, thank you for the help, I just want to know this device better :highfive:
[Galaxy S II Android Development] egle00:
Does this to has autoflash?
[Galaxy S II Android Development] AlexanderDG83:
Flashed Dori V10.43v109 and then v112 on my cm 11 M7: working good! [emoji41]
[Galaxy S II Android Development] m1trand1r:
Try bellow GPU settings......:D

And tell me how it feels....please......it should be buttery smoooooth :D

Good luck;)

Whaaaaaaaat?

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Lunatiic:
Thanks man!! I'll try that as soon as I get home. One more question tho, which I/O should work better with the Hyper Governor? The Snapdragon S3 on my XS, while using Interactive gorvernor, would run a lot better using ZEN. Things are quite different between these devices... And another question: Overclocking the CPU above 1400 doesn't seem to increase benchmark results nor phone overall performance... is the CPU getting bottlenecked by the RAM speed? :highfive: :laugh:
[Galaxy S II Android Development] :
Seems to me that the CPU gets throttled.It's normal.As for best I/O - it's neverending story...

And there's a dedicated thread for these kind of questions
[Galaxy S II Android Development] rahulbrand:
Im new to this kernel and need help i want to know is there any version that can boot both 4.1.2 and 4.4 if yes plz post the direct download link...
[Galaxy S II Android Development] Troubadour666:
No,

just branch 8 to dualboot 4.1.2

just branch 10 to dualboot 4.4.2

if you want to dualboot both like me, the only solution is to use branch 8 and push maliV2 patch (then some .so lib files in /system/lib/ ) in the 4.4.2 rom you want to dualboot with any 4.1.2 untouched, before to flash it.

hope this help you.
[Galaxy S II Android Development] rahulbrand:
Thank you and i also want to know...Whether kernel is created on the basis of system hardware or system apps or both ?
[Galaxy S II Android Development] Troubadour666:
Hi DEVs :)

i risk nothing to say "on the basis of system hardware" only , non ?
[Galaxy S II Android Development] m1trand1r:
none is more true....it's connected to system but not based on system itself....;)

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Noed:
New SuperSU version in play store, includes a new su binary... I think the kernel keeps replacing with the old one on every boot.
[Galaxy S II Android Development] Chillmann:
No, it doesn't
[Galaxy S II Android Development] mauriicio21:
Any one have problem with backup profile? I press backup, show message is backup fine, after when i press restore show message "file not found"

V10 112 beta + slimsaber 20140616

Sorry my bad english

Enviado de meu GT-I9100 usando Tapatalk
[Galaxy S II Android Development] Spaulding89:
No on my side all is fine with backup
[Galaxy S II Android Development] butthurtlocker:
which build is right for me??

Hi im new to this rooting gig and have no idea which version of the million versions to flash for my i9100. I am running Wizzed Kat 3.3 (Android 4.1.2). An guidance would be much appreciated! Thank you
[Galaxy S II Android Development] cybernetus:
Well, time to install all things again :(

I lost all of my data because this is the second time i have this bug. My rom on the restart have problems with the uids of my apps and change the uid and erase the data :(

Well, time to reinstall and reconfigure the rom :)

Backup ? I lost only the data of 3g watchog lol lol
[Galaxy S II Android Development] banjara:
8.43 branch is for your current settings.

It's not confusing BTW. Op is quite clear.
[Galaxy S II Android Development] FPSUsername:
Sometimes i have also data erase. Phone freezes, then I reboot and saved wifi passwords are gone (I always have a backup for it).

Sometimes my wifi can not turn on (press the switch, it goes to on and then to off). Restart is needed for that too..
[Galaxy S II Android Development] Spaulding89:
[MENTION=1670821]cybernetus[/MENTION] , [MENTION=4663860]Computoncio[/MENTION], [MENTION=2376110]dorimanx[/MENTION]

Is this something we can use in Branche 10? I saw this on Gustavos Github
[Galaxy S II Android Development] cybernetus:
I believe yes but this changes on mali drivers are very complicated because [MENTION=2376110]dorimanx[/MENTION] made many changes on our kernel.

I believe we need to wait for [MENTION=2376110]dorimanx[/MENTION] :)
[Galaxy S II Android Development] Spaulding89:
OK thanks for the info [MENTION=1670821]cybernetus[/MENTION]
[Galaxy S II Android Development] DualJoe:
STweaks misses the mDNIe sharpness tweak options. They can be set with /sys/class/mdnie/mdnie/scenario and range from 0-7. Changes take effect immediately (but need re-initialization after reboot).

0 = medium (standard)

4 = bypass (best gradients, no sharpening artifacts or halos but more warm/yellow tint)

7 = heavy median filter (degrain, washes out details, probably good for mangas/cartoons)

Set it to 4 and watch the gradients in KitKat settings. Nice and clear, no banding. :p

Can be set manually on boot with init.d:

#!/system/bin/sh

# enforce mDNIe sharpness fix
# Workaround for STweaks that re-sets the value later.

# set value here
mode=4

echo -n $mode > /sys/class/mdnie/mdnie/scenario
(
for i in `seq 1 60`; do
if [ $(cat /sys/class/mdnie/mdnie/scenario) != $mode ]; then
echo -n $mode > /sys/class/mdnie/mdnie/scenario
break
else
sleep 2
fi
done
) &

Edit:

[MENTION=2376110]dorimanx[/MENTION]:

Something's fishy with netfilter/iptables NAT table. I usually enforce DNS requests to a specific DNS server with this:

iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 208.67.222.222:53

DNS server test: http://myresolver.info

It works on other kernels like Apolo and other devices (like Galaxy S3) without problems. First time i see it doesn't work.

iptables: Invalid argument. Run `dmesg' for more information.

dmesg:
<3>x_tables: ip_tables: DNAT target: used from hooks OUTPUT, but only usable from PREROUTING/INPUT

Anyone know what's wrong here? Any netfilter module not loaded or something?

Kernel_Dorimanx-V10.43v113-cybnt-[11-16]-[21-06]-JB-SGII-PWR-CORE.zip

cm-11-20140621-NIGHTLY-i9100.zip
[Galaxy S II Android Development] cybernetus:
The message is about the use of the hook output and the dnat

iptables -t nat -A POSTROUTING -p tcp --dport 53 -j DNAT --to-destination 208.67.222.222:53

I believe this works

By the way v113 is the same Kernel V112, but the v113 has the supersu 2.0
[Galaxy S II Android Development] m1trand1r:
Hey mate....updated to v113 and SuperSU stays at v. 1.94....any hints ?

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] cybernetus:
I believe I made a mistake changing this.

I need to see more about this tomorrow

I will try another things but I will do this after my revert to 4.3

My phone is very unstable with the 4.4.3

Slim are stable on 4.4.3? I have many Freezes and data lost :(
[Galaxy S II Android Development] Twiq:
I'm on latest slim and using your v112, 35 hrs uptime has passed.. Everything smooth on my end
[Galaxy S II Android Development] cybernetus:
I believe I solved my problem :)

But I will try slim lateral if I have time I will work on the kernel at this week

---------- Post added at 05:54 AM ---------- Previous post was at 05:25 AM ----------

God, reading the git we have many commits behind the mainline Linux.

I think only the master [MENTION=2376110]dorimanx[/MENTION] can help us ...

reading the commits of [MENTION=4217277]Gustavo_s[/MENTION] i see one good thing. The kernel of him has the solution for the towelroot exploit

I will try to patch our kernel for this too.

But the update will be very difficult because only the [MENTION=2376110]dorimanx[/MENTION] have the necessary skills to apply this serie of commits :)

I apologize to all but my last two months have been extremely busy in my personal life: (
[Galaxy S II Android Development] FPSUsername:
Do I have to make a new file to paste the code on inside the init.d folder?
[Galaxy S II Android Development] m1trand1r:
Hm..,.SlimSaber 16/06 by [MENTION=1228651]fusionjack[/MENTION] was running stable on v112....I flashed v113 this morning and it's still going strong :D....

Beam-ed through your pineal gland via//Android 4.4.3.:p//
[Galaxy S II Android Development] Troubadour666:
Hi,

from [MENTION=4343817]phenomarc[/MENTION] , i have this one on 2nd rom (in attachments)

and in 1rst rom, i have last spirit 4.4.4 from [MENTION=4620275]Nico_60[/MENTION] , but gallery FCs , no pictures found.

anw i'm happy with saberpac :) , thanks pheno :)

ha, no mistake from me, its 8.43v113 with mali v2 for the two 4.4.4 , because i dualboot 4.1.2 too.

thanks.
[Galaxy S II Android Development] phenomarc:
Good to hear it.
[Galaxy S II Android Development] DualJoe:
[MENTION=2376110]dorimanx[/MENTION]:

No, this cannot work. The routing chains are not involved in locally produced packets. It must be the OUTPUT chain. Its a kernel related issue.

I checked all your recent kernels in reversed order up to Kernel_Dorimanx-V10.43v105-cybnt-[20-21]-[12-04]-JB-SGII-PWR-CORE.zip. This one does work properly. Its a bug.
[Galaxy S II Android Development] cybernetus:
For a few days I will be testing the kernel to see if my gustavo_S instabilities are related to the kernel or ROM.

And I'll be testing some updates in our kernel. NO ETA :)

PS: reverting to Dorimanx...

Gustavo_s IX not for me lol
[Galaxy S II Android Development] velocity90:
Patiently waiting, 112 is to unstable for my use. But will try every new version. :thumbup:
[Galaxy S II Android Development] cybernetus:
On the first update i will try to patch the towelroot exploit.

By the way what is your config ? ROM ?
[Galaxy S II Android Development] velocity90:
Also Slimsaber :thumbup: what is the towelroot exploit?
[Galaxy S II Android Development] cybernetus:
About the exploit: http://www.xda-developers.com/android/breaking-geohot-roots-the-verizon-galaxy-s5-with-towelroot/
[Galaxy S II Android Development] Barry Mad:
Thanks for your work Dorimanx Beta

[MENTION=1670821]cybernetus[/MENTION]. Thanks for headsup on Towelroot and of course your work/coding with Dorimanx Beta including other Devs involved in this project.

In small exchange. Click on my Signature link re Learn Livecd.

Maybe a interest to you & other forum members.

Be safe. Be cool/coder. Bmad with Respect.
[Galaxy S II Android Development] crashdjent:
[MENTION=1670821]cybernetus[/MENTION], this kernel is actually version 3.14.0 Linux? I hope correctly formulated question.

Отправлено с моего GT-I9100 через Tapatalk
[Galaxy S II Android Development] Spaulding89:
[MENTION=5281919]crashdjent[/MENTION] yes it is
[Galaxy S II Android Development] crashdjent:
@ up, tnx

Отправлено с моего GT-I9100 через Tapatalk
[Galaxy S II Android Development] pavkyy:
I'm using SlimSaber 4.4.3 (20140616) but after flashing the -V10.43v112 kernel, the boot stops at DorimanX screen and freezes.. any solution ?
[Galaxy S II Android Development] Twiq:
Use wipe kernel script by hawker or if you could connect to adb try removing all files under /data/.siyah

Edit: from recovery
[Galaxy S II Android Development] pavkyy:
Okay now it works ,thanks :)
[Galaxy S II Android Development] pipyakas:
Im using stable cm10.1.3 and dorimanx kernel 9.43v113, the kernel works fine but i have some quesion:

1. Can someone explain carefully about the min_bl setting? If i set it lower like 10 or 20 my screen will become darker? And why when i try to set higher brightness with the system setting for some first step of the slider thr brightness doesnt increase?

2. In stock + siyah i can do some gpu oc without having to increase the voltage (increase each clock step by the next higher one) but in dorimanx if i try to do so all open gl app will freeze. However it still get 57fps in nenamark2 despite being -50mv uv so it doesnt affect the normal use very much, all i wanna do is to try some crazy benchmark :D