yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] anshad666:
Please someone look in on to this..carbon + dori latest no problems at all..only this tha problem i found...API mismatch..can i revert to old mali drivers or not..
[Galaxy S II Android Development] sanglxagdm:
Sorry, deleted
[Galaxy S II Android Development] fjkum:
I would like to configure the Breathing effect (BLN) to make the dimming to be lower voltage. How can I go about doing that?
[Galaxy S II Android Development] stevtec86:
What is it, th s rom in screenshot?

Sent tomy Asus Transformer Pad TF300T + EnergyRom JB 4.2.1 Rooted + TWRP Recovery
[Galaxy S II Android Development] eskriminal:
already been asked, go back and find the answers you seek
[Galaxy S II Android Development] stevtec86:
Where? Sorry, but i don't see....

Nothing quote for my question

Sent tomy Asus Transformer Pad TF300T + EnergyRom JB 4.2.1 Rooted + TWRP Recovery
[Galaxy S II Android Development] eskriminal:
oh my bad, forgot, it's in the support thread
[Galaxy S II Android Development] stevtec86:
yes, but open a tread to know that I do not think rom is smart ... or not?
[Galaxy S II Android Development] DerBobo:
@ Voku

I've no deep sleep while usb charging on pc. Mass Storage is not mounted. Gov sleep is conservative, up threshold is 99% (sleep). Gov awake is interactive.

Device: Galaxy SII i9100

ROM: SlimBean 4.2.2.build 3

Kernel: DorimanX 9.13

Modem: XXMS2
[Galaxy S II Android Development] big_bum:
You won't have sleep while charging AFAIK.
[Galaxy S II Android Development] DerBobo:
Ok thnx ... I just put my view on cpu spy the last days for looking about where I can optimize my stweaks settings. And I thinks its a little bit strage that deep sleep is disabled while charging. But while charging it's not as nesseary as on battery :)

Well as long as it's standard, it's nothing that interferes me ;)

Device: Galaxy SII i9100

ROM: SlimBean 4.2.2.build 3

Kernel: DorimanX 9.13

Modem: XXMS2
[Galaxy S II Android Development] eskriminal:
this, the charging function is a wake lock
[Galaxy S II Android Development] Ryder3.0:
What is the optimal settings for better playing games such as Real racing3? I am currently on the default setting.
[Galaxy S II Android Development] ohynek:
Overclock your GPU is best way too boost your performance in games ;) . I have gpu oc on 330@1100. I didn't notice any change in real racing 3 when I oc cpu to 1400...
[Galaxy S II Android Development] jgcaap:
Just found why sometimes the phone becomes really hot. Happens that the gpu gets stuck on speed. Sometimes same thing happens to cpu.

The only way to reset is by restarting the phone.

Also cpu sometimes get stuck on cpu.
[Galaxy S II Android Development] d_Schizzo:
Hi, whats the name of the app in your screenshot? :)

Edit: the second one with gpu settings
[Galaxy S II Android Development] parag1dubey:
Cpu adjuster. And will you please take such posts to the discussion thread in the future. This is a dev thread :rolleyes:
[Galaxy S II Android Development] jgcaap:
Just wanted to report, is not relevant to the development thread?
[Galaxy S II Android Development] parag1dubey:
I was referring to the post which i quoted asking for the name of the app in your screenshot. I didnot refer to your post.
[Galaxy S II Android Development] zeppelinrox:
So another kernel adjustment?

http://xdaforums.com/showthread.php?p=40624063#post40624063

Ok so I haven't read up on if there are any memory issues recently but if so... look into that ;)

edit: ok so here's an educated guess.

new 1000= old 15

1000/15=66.666666... round that to 67... that's the multiplier.

So 67 * old adj system should equal the new system's numbers...

There is always 4 in the old groupings (for example JB has 0,1,2,4,9,16 as the grouping limits in the default adj file)

So...

4 * 67 = 268

The second value in the new adj file is... 23068848...

23068848

See where I'm going with this?

5 * 67 = 335

And yep... we have 38535520

So if we take digits 1,4 and 5 from the first 5 numbers in the adj file that don't make sense, we have...

11534336=134

23068848=268

38535520=335

46203468=403

65536705=636

The adj file should probably look like...

134, 268, 335, 403, 636, 1000

Converted to the old system it translates to...

2, 4, 5, 6, 9, 15

The first 3 numbers happen to divide perfectly by 67 (2,4,5)

the 4th one (6) is really close

the 5th one (9) is 9.492... rounded down.

So there you go... get crackin' (if not SuperChargin' lol)
[Galaxy S II Android Development] zubsz:
hyper

I assume that hyper is the best governor for this kernel right? or is there another kernel which is better? thanks in advance
[Galaxy S II Android Development] DerBobo:
What are you looking for? The best GOV of this kernel or the best kernel whitch has hyper GOV?

AND please don't post such things in Development Thread!

Device: Galaxy SII i9100

ROM: SlimBean 4.2.2.build 3

Kernel: DorimanX 9.13

Modem: XXMS2
[Galaxy S II Android Development] angel.sea:
instead of restart the phone try to close setcpu in background and

then reopen it..
[Galaxy S II Android Development] zubsz:
HYPER

sorry sorry sorry i mean best governor for this kernel. not a BETTER KERNEL!!! :crying:
[Galaxy S II Android Development] eskriminal:
that depends.

best for what?
[Galaxy S II Android Development] issy_i:
Dynamic Touch Mode is not working.. also when i read the discription it says thats its Off by Default but it shows as 'On', even though it wasnt working at all.

so my CPU's going full force when touching the screen. Please can someone confirm this?

im using battery profile
[Galaxy S II Android Development] voku1987:
if you are using the last test-kernel, then you can take a look at the "debug" (dmesg) ... it looks like this ->

<4>touch-feq | old: 500000 - new: 200000 - cur: 300000 - max: 1200000
<4>touch-feq | old: 500000 - new: 100000 - cur: 200000 - max: 1200000
<4>touch-feq | old: 500000 - new: 200000 - cur: 300000 - max: 1200000
<4>touch-feq | old: 500000 - new: 100000 - cur: 400000 - max: 1200000

e.g.:

default: 500 MHz

new: 100 MHz

current: 200 MHz

=> so the driver don't try to increase the freq.
[Galaxy S II Android Development] issy_i:
i switched to default profile and now dynamic touch mode is working like it should, i think batery profile is broken. Im using 9.14 from dorimanx download site
[Galaxy S II Android Development] zeppelinrox:
can somebody post the output of these terminal commands please:

cat /proc/1/oom_adj
cat /proc/1/oom_score_adj
[Galaxy S II Android Development] fractaline:
cat /proc/1/oom_adj

-17

cat /proc/1/oom_score_adj

-1000

~ PHØN€D ÎN ~
[Galaxy S II Android Development] rucxy:
cat /proc/1/oom_adj

-17

cat /proc/1/oom_score_adj

-1000

GT-I9100T

Dorimanx 9.14.

CM 10.1-20-4-13 nightly.

I9100TDOLP4
[Galaxy S II Android Development] zeppelinrox:
Thanks... ok one more...

cat /proc/`pgrep phone`/oom_adj
cat /proc/`pgrep phone`/oom_score_adj

hopefully you have busybox with pgrep applet :p
[Galaxy S II Android Development] fractaline:
app_106@android:/ $ su

root@android:/ # cat /proc/`pgrep phone`/oom_adj

-12

phone`/oom_score_adj <

-705

root@android:/ #

~ PHØN€D ÎN ~
[Galaxy S II Android Development] zeppelinrox:
Thanks... I forgot I need one with a postitive adj value

Try

cat /proc/`pgrep launcher`/oom_adj
cat /proc/`pgrep launcher`/oom_score_adj

So far the negatives are consistent

-705*17/1000= -12 rounded

on the positive side... it should be a factor of 15 instead of 17
[Galaxy S II Android Development] fractaline:
2 and 117 respectively

~ PHØN€D ÎN ~
[Galaxy S II Android Development] rucxy:
cat /proc/`pgrep phone`/oom_adj

2

cat /proc/`pgrep phone`/oom_score_adj

117

GT-I9100T

Dorimanx 9.14.

CM 10.1-20-4-13 nightly.

I9100TDOLP4
[Galaxy S II Android Development] zeppelinrox:
Ok so it still uses 17 on the positive side...

1000/17*2=117.64 which gets rounded down to 117.

1000/15*2=133.333... so it would be 2 and 133 if using 15 as a divisor.

https://github.com/mirrors/linux-2....7a6cea0db2e64b0eb8435cd10#include/linux/oom.h

I ideally, it should work like the above link.

when -1000 < $adj < 0 , $adj should be divded by 17 (since 17 is the old minimimum)

when 0 < $adj < 1000 , $adj should be divded by 15 (since 15 is the old maximum)

The values in /sys/module/lowmemorykiller/parameters/adj seem to be trying to use 15 as explained on the previous page.

So there is actually an inconsistency since 17, instead of 15, is used for processes with positive adjs.

edit: ha... post #7777
[Galaxy S II Android Development] eskriminal:
EDIT : huh, tapa didn't update, my bad lol
[Galaxy S II Android Development] avvocato.rossi:
hi!

this kernel is amazing, I gain 5-6h of battery without loose performances....I have just a problem, if I switch to 2G mode and return back to auto mode the phone remains in 2g until I reboot (pass trough airplane mode has no effects)...any suggestion? My rom is OMEGA V11....
[Galaxy S II Android Development] Makrilli:
My suggestion is go to discussion thread ;)
[Galaxy S II Android Development] avvocato.rossi:
discussion thread??
[Galaxy S II Android Development] fractaline:
http://xdaforums.com/showthread.php?t=2022525

this one :good:
[Galaxy S II Android Development] mazroui:
Actually that is a ROM problem and not a kernal issue, I fixed it by dirty flashing the ROM again and now it works A-OK. Good luck
[Galaxy S II Android Development] dorimanx:
nice math..

but it's dynamic auto tuning.

numbers change when needed, dont look for logic.

it's not as was before. this file is READ ONLY. not for fun, it's not for modding any more.

just make script do this:

if dorimanx kernel detected, skip all changes to adj file.

simple and good for all.
[Galaxy S II Android Development] dorimanx:
we do :)
[Galaxy S II Android Development] zeppelinrox:
Maybe it's supposed to be read only, but it isn't :p

But still, the changing values should fall between 0 and 1000, no?

Here is an example of what numbers may show up based on user testing...

echo 0,1,5,10,705,1000> /sys/module/lowmemorykiller/parameters/adj

cat /sys/module/lowmemorykiller/parameters/adj

65536,327681,655365,6553610,65536705,1000

Firstly, it can't possibly be working right if the 6th number is the smallest.

The 6th value is supposed to be the

biggest

.

65536 is coming into play for some reason but probably shouldn't.

0 became 65536

5 became 655365

10 became 6553610

705 became 65536705

The last number will be whatever you echo to the adj file...

If you echo 200 as the last number, it will show up as 200 cat output, unchanged.

You must see that there is an inconsistency and that it's not behaving as you would expect.

And yes, when your kernel was not using the adj file, my script would take that into account.

But since the file has been re-introduced, I thought you'd like to know this information.

Edit: The code likely accepts whatever is input into slot 6 without any conversion because it's expected to be the maximum value of 1000 so no conversion is done.

Slots 1 through 5 does require a conversion from old adjs (from -17 to 15) to the new system (from -1000 to 1000) and thats where the math error would occur.

As I noted earlier...

adjs from -17 to 1 should be converted as $adj*1000/17 and this is what is happening across the board.

BUT adjs from 1 to 15 should be converted with $adj*1000/15 (since 15 is the maximum on the postive side of 0)

I hope you don't mind my chirping in :p
[Galaxy S II Android Development] avvocato.rossi:
tethering not work

hi, i have a big problem: WiFi tethering not work, the connection is created but there's not data exchange... please help me
[Galaxy S II Android Development] JokerAce:
Zep, it's very technical, haha! May I know if it's related to memory management?
[Galaxy S II Android Development] eskriminal:
it is, relating to low memory killing
[Galaxy S II Android Development] zeppelinrox:
Yeah it effects the lowmemorykiller

The first 5 values in the adj file are out of bounds since they are way over the maximum value of 1000 (old system max is 15)

I think the end effect would be that apps just dont get killed since all their adjs will be less than 1000 and so will fall into slot 1 and effectively be immune to the lowmemorykiller since it's not gonna be killing anything until it reaches the corresponding minfree value in slot 1.

Best way to test the theory is with a patched services.jar with the multitasking mods so there's no artificial app limit.

Then run as many apps as you can.

And see if the lowmemorykiller ever gets around to killing stuff.
[Galaxy S II Android Development] eskriminal:
tried it already, it did kill apps, but not many, and not till ram was so full my phone was lagging
[Galaxy S II Android Development] zeppelinrox:
yep... that's what I thought would happen.

You'd have to crank up the minfrees in all 6 slots so that slot 1 is the value of how much free ram you have when it starts lagging.

So if it lags when you have 100mb free ram, set slot 1 to 100 and all the others higher than that.
[Galaxy S II Android Development] eskriminal:
yeah, and you can change them if you turn off cortex so it doesn't reset for sleep mode, but when you reboot the kernel will set them back again
[Galaxy S II Android Development] bogdan1980:
I don't know if that's what is talking here, but i started opera 20tabs, boat browser 15 tabs, i saw 630mb full, 250free, enter gta3, hold home button to exit, and ram is at 400 full, 380free. But i use aggressive on oom. For me oom is working.
[Galaxy S II Android Development] New_World_Order:
BEGGING FOR HELP RIGHT NOW, PLEASE

Downloaded the wrong Kernel, I don't know much about this stuff, so more fool me for messing around with it.

I now get 'Dorimanx', come up on a screen and then a screen showing an image of a grim reaper with red writing.

I'm absolutely pooing myself right now. Please, please, please help.

(Samsung Galaxy S2, just installed AllianceROM http://xdaforums.com/showthread.php?t=2037363)
[Galaxy S II Android Development] edzamber:
Reboot into Recovery, in mont and storage choose mont usb storage, copy DorimanX 8.14 on your Sd card and flash it ;)

Posté via Vanilla Rootbox
[Galaxy S II Android Development] New_World_Order:
I can't access recovery mode?

Every time I try, it just goes round in a loop
[Galaxy S II Android Development] edzamber:
Put off your battery since few seconds and try to restart in recovery. If it doesn't works, fash a stock Rom via Odin...

Posté via Vanilla Rootbox
[Galaxy S II Android Development] drizzle1:
Put it in download mode and try flashing it with odin...
[Galaxy S II Android Development] edzamber:
Hummm, doesn't works. You can't flash 8.14 via Odin. The only way is to flash 8.1.tar with Odin, then reboot in recovery and flash 8.14

Posté via Vanilla Rootbox
[Galaxy S II Android Development] New_World_Order:
Pulled battery out for 10 mins, now in recovery mode but so many options :(

Thanks for the help, hopefully my phone will live on!
[Galaxy S II Android Development] edzamber:
Good :)

Now dl DorimanX 8.14.

Then in mont and storage, choose Mont usb storage. Then plug usb cable. You will be able to see your phone in windows explorer. Copy DorimanX 8.14 on your internal storage. And in recovery choose back, install zip from sdcard, choose install zip from internal sdcard, then flash DorimanX 8.14 ;)

Posté via Vanilla Rootbox
[Galaxy S II Android Development] zeppelinrox:
Doubt the minfrees have anything to do with it.

Its the app limit kicking in.

You can only run 15 to 20 hidden apps without patched services.jar

After that, even if you still have free ram and you have low minfrees, apps will still get killed while the lowmemorykiller is on vacation.

So you'd see no difference with low minfrees.

If you check the log cat, you'll see something like "no longer want app hidden #16" or something like that... meaning that the app limit is 15.
[Galaxy S II Android Development] Dadi68:
Good morning ppl!

Dori, first I want to thank you for this great kernel.

I found a bug that creates a sleep of death (or something like that) event.

1. Plug the headphones and start poweramp

2. Pause the player with the headphone button

3. Unplug the headphones while the player is paused

The device is DEAD (require battery removal)

I reproduce it with:

- CM10.1 and Dori 9.13

- SLIM ROM and Dori 9.14

without Dori kernel the device wake up after 3rd step without any problem!

hope that help you to make a more stable kernel ;)
[Galaxy S II Android Development] bogdan1980:
I repeat that on default player, all are good. So, it's power amp bug. They introduce thousands of protections license and that's always break something

Next protection will be reseting/shutting down the phone when starting poweramp.
[Galaxy S II Android Development] k4bbe:
Just to confirm that I have been affected by this "bug" too. Wasn't sure if it was Poweramp or kernel related so didn't previously report here.
[Galaxy S II Android Development] JokerAce:
Have you tried what bogdan1980 did? Post with log on a bug on a development thread, please.
[Galaxy S II Android Development] core_x:
For me the gov values don't get set back to awake (screen on) after sleep (screen off).

Postet it here.
[Galaxy S II Android Development] perceptic:
Hi, sorry I'm really confused as to which one to download for Pacman ROM v22.1 :confused:

Thanks
[Galaxy S II Android Development] Jgjd691995:
1. This belongs in the qna thread

2. 9.xx i think
[Galaxy S II Android Development] UltimHero:
Right latest version u can install is 9.14
[Galaxy S II Android Development] EB10000:
The ability to format the Preload partition and perhaps to shut down the phone from within the CWM menu is ALL that is missing from this great kernel... It's a shame I have to temporarily install Phil'z kernel every time I want to install a new rom... Dori's CWM is obsolete.. Phil'z CWM combined with Dori's kernel is the ultimate motherFing kernel of all time... too bad Dori does not care about the recovery interface...
[Galaxy S II Android Development] lakicamm:
[MENTION=4671597]EB10000[/MENTION]

The reason why Dorimanx still uses old CWM is to have possibility to dual boot 2 roms, as he clearly explained some time ago.
[Galaxy S II Android Development] thunderserpent:
True, but I don't think many people care about dual booting now. The old recovery is outdated and limits things such as updating busybox. I'd prefer something like Philz kernel or the recovery in the cm10.1 nightlies.
[Galaxy S II Android Development] wouterdt:
I know a lot of people care about dual booting.

SGSII - PACman 22.1 - Dorimanx 9.14
[Galaxy S II Android Development] myszonokr:
When they're two version of the kernel is even harder to do dual booting. Plus problem with it on Samsung based roms because of preload partition.

wytapatalkowane
[Galaxy S II Android Development] eskriminal:
i see no reason he couldn't release two versions of each kernel though, one with siyah cwm and one with a newer one
[Galaxy S II Android Development] big_bum:
An idea is to make the Sammy kernel non-dualboot and the v9 series dual bootable. If you have a Sammy based ROM, you can't dualboot so in my opinion it's a waste of space.
[Galaxy S II Android Development] DerBobo:
If he does ... I can see the new noobish questions. "Why for versions, what version I should use?"

Then we have 8.x dualboot, 8.x new Recovery, 9.x dualboot and 9.x new Recovery. That will raise one hundred of new questions, even if he "says" it in OP ;)

I can understand doris point of view :)

But 8.x is not sammy only Kernel ;)

Device: Galaxy SII i9100

ROM: SlimBean 4.2.2.build 4.2

Kernel: DorimanX 9.14

Modem: XXMS2
[Galaxy S II Android Development] eskriminal:
me too man, I get it, and personally I don't mind the siyah recovery, because I don't need to be able to buy a new phone from cwm lol

also the dude that said you can't dual boot Sammy, you can, you'll have to use patched roms without preload though
[Galaxy S II Android Development] Troox:
I can confirm this Bug with Mort Audiobook Player, too.

Rootbox latest nightly & Dorimanx latest
[Galaxy S II Android Development] mduma77:
Happens on sammy rom with stock player also
[Galaxy S II Android Development] big_bum:
Yes, indeed. It's also for ROMs with the old mali (non r3), but how many roms are still using the old mali right now? Most of the ROMs are updated to r3. Also, you can't dualboot a r3 ROM with an non-r3 one so the dualboot functionality is limited to non-Sammy and non-r3 ROMs. You have to switch kernels if you want to dualboot r3 with non-r3. And if we dig deeper, you can dualboot only non-r3 ROMs since dualboot with Sammy is impossible (without tweaks) because of the preload partition.
[Galaxy S II Android Development] fabiienb:
Blablabla dual boot with samsung custom rom here

http://xdaforums.com/showthread.php?t=2199844

So search after

Send from gs2 dorimanx 8.14

slimbeanjb422build4.2

modem lq6
[Galaxy S II Android Development] thunderserpent:
People will always ask stupid questions. This is no reason to stop advancing in developments that users are dying to use :)
[Galaxy S II Android Development] voku1987:
I use default/stable CM9 & I like this little turtle ;) -> http://t.co/Uj6wp9hl
[Galaxy S II Android Development] Jagdish84:
Lolz! Awesome picture mate.

Sent from my GT-I9100
[Galaxy S II Android Development] dorimanx:
My phone :)

ROM Dragon ICS.

i am still restoring apps to Pilotx.
[Galaxy S II Android Development] Jagdish84:
Having the same gps issue on piltotx as well :(

Sent from my GT-I9100
[Galaxy S II Android Development] dorimanx:
locked in 59 sec in my room phone pointed to sky.
[Galaxy S II Android Development] salvopetrucci:
Beautiful theme! Is dragon ics theme?

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] dorimanx:
yes, and i going to port it to pilotx.
[Galaxy S II Android Development] Josemsar:
Hi! Im using this kernel + Resurrection Remix, and I can not take any screenshot, the animation and sound are played, but then It says the screenshot could not be saved (Sorry for my bad english), I dont know if its ROM or KERNEL realated, any idea?
[Galaxy S II Android Development] GalaxyGusta:
@dorimanx are you from Israel?
[Galaxy S II Android Development] hjkl1234:
@Josemsar I have the same Problem. The picture was showen in the gallery but when I send it to my pc it says empty or broken pic... I open the picture on my mobile phone with photoshop Touch and save the file again than it works ;)
[Galaxy S II Android Development] Pigmachine:
works well on Siyah 3.4.1.. but the dori 5.0a can't even save it's own extweaks setting after a reboot.. so i put it aside a while..

What does the donate adress and the flag state :P

It might be the old problem with not able to see it in MTP mode? and have to use masstorage? (also had my first pic duplication bug ever today)
[Galaxy S II Android Development] superlik:
5.0A, camera fc for front camera

Latest cm9 nightly
[Galaxy S II Android Development] superlik:
Can't even download file in 5.0A and 5.0, on latest nightly
[Galaxy S II Android Development] MDE_86:
What?

Tapatalk / SGS2 / Cyanogenmod 9 Nightly / DorimanX Kernel.
[Galaxy S II Android Development] qureyoon:
+1

Can't save the ex tweak settings.

Even with taking out battery like dori suggest.
[Galaxy S II Android Development] superlik:
Can't download file in browser in 5.0 and 5.0A..

Any file
[Galaxy S II Android Development] voku1987:
I use also v5.0 and I can Download files etc. so you have to put more information to your bug-report!!! (adb logcat, dmesg ...)
[Galaxy S II Android Development] opravar:
Hi, I am using rr 2.6 and dorimanx 5a and no problem with screen shots. Have you enough space on sd?
[Galaxy S II Android Development] wonsky21:
I'm using the same combo as you (RR+5.0A). Does your ExTweaks remember settings after reboot?
[Galaxy S II Android Development] Dhanabalan:
Could anyone provide the download link for the latest kernel version...Thanks in advance.
[Galaxy S II Android Development] m1trand1r:
my sig:)

Sent fom my S-II running Vanilla Rootbox >>Nightly (2013/03/27)<< :D powered with DorimanX kernel v. >>9.14<<
[Galaxy S II Android Development] eskriminal:
op? lol
[Galaxy S II Android Development] #illidan:
Happens to me as well using CM 10.1 & GMMP.

Will try to get a kernel bug report next time.

Sent from my GT-I9100