yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] vladimirheroj:
Hi Dori...thank you for this great kernel,really,it is fast precise,no frezzes,sods...but my phone cant go in deep sleep,all settings default,tried on carbon and slim.(tried to change sleep governor,and io,but still the same)...can you look at this?Tnx again
[Galaxy S II Android Development] d_Schizzo:
Mine sleep very well. 91% deep sleep. Try betterbatterystats and look which app prevent your phone going to sleep
[Galaxy S II Android Development] -Grift-:
+1 no deep sleep issues here . Overall great release:good: (On Rootbox 4.2)
[Galaxy S II Android Development] vladimirheroj:
Yeah i use BBS...and cant find what is causing the problem,app showing that all is ok...just tried to downgrade to 9.14 and it is same!..so problem is deeper :S...i use grenify,almost all apps are grenified,i am also using Auto starts,but cant track the problem...also i tried to install clean slim bean,without gapps,without any app..phone still cant go in deep sleep..
[Galaxy S II Android Development] toffiko:
Hello, Im attaching logs according to Wifi not working on Sammy XWLSS, please fix as soon as you can, donation will be send soon, Thanks

https://www.dropbox.com/s/6a58jf9grr5y3ue/dorimanx_debug

https://www.dropbox.com/s/clm485w54nhmbgb/dorimanx_last_kmsg_log
[Galaxy S II Android Development] Mr_S:
Lock screen sod slimbean uc 25 darkness/darkness

http://db.tt/5HUD30vZ

Edit also wiped my stweaks settings and battery drained quite a bit
[Galaxy S II Android Development] cybernetus:
The new version is amazing. The new build is running without problems on my phone at the last 2 hours :)
[Galaxy S II Android Development] dorimanx:
Found the WIFI bug on 8.X branch. FIXING!

new BETA v3 will be up soon.
[Galaxy S II Android Development] alb3rtt:
Wow.. Very quick. How are you not an elite recognized dev yet? You really should apply for that, you'll get it for sure.
[Galaxy S II Android Development] shuyin1102:
I think to be an elite recognized developer you have to dev something awesome, something unique (that make Samsung guys have to say "Wow.." :D) like GM did on our GS 2 line. But you were a great dev Dorimanx, without your great work our devices could be forgotten now. Thanks for everything you have done!
[Galaxy S II Android Development] m1trand1r:
just wait:)

you can only think.....you have rights to do so:)

now please guys....we have beta kernel in testing faze so let's keep dev thread clean please.....this is not topic to discuss here....although many peeps support it:)

Thanks:)
[Galaxy S II Android Development] dox81:
Will the new beta3 get newest version of zzmoove(0.7)?
[Galaxy S II Android Development] GidiK:
Google Backup Transport - Hack

First of all: much thanks to [MENTION=2376110]dorimanx[/MENTION] for the massive amount of work you've put in getting the 8/9.36 version ready and again for all the effort to find and fix the boot/wifi issues so quickly. Much appreciated! Unfortunately I had to temporarily downgrade due to the wifi issue, but you know about that.

I've been researching the Google Backup Transport thing. In your initramfs you perform some 'hack' in post-init.sh to set the apk aside temporarily. I couldn't find any background for this (only just saw the post by [MENTION=4709710]leechseed[/MENTION] though), other than this comment in your code:

Turns out that with this hack, Google Backup Transport reports that it doesn't work anymore. If you run "su -c bmgr list transports" it's not registered (though it seems to be still enabled and default...). In the UI (stock Samsung XWLSD, 4.1.2) it shows the error that no account is currently backing up the data, though the account selection is greyed out. Even once it's fixed (see below), you still have to reselect your account for the backup, since it forgot your previous selection. I've also tried removing and re-adding the Google account.

So I've done several tests with boots, both restarts and power off/on, both on battery and adapter, with or without virus scanner and with several kernel versions (8.14&35). I have a large amount of apps (100+ user apps). I can disable the hack by removing the marker-file "not_first_boot" (in /data/dalvik-cache) manually before a restart. With these tests I've found that with the hack the Google Backup Transport fails to register each time. Without the hack it does register correctly each time and more importantly: the system starts ok without fail.

So I wouldn't mind if this 'hack' was removed because:

1. It isn't necessary anymore, at least in my tests. The phone seems to start up ok without it.

2. It doesn't work anyway: Google Backup Transport seems non-functional in 100% of the cases (again, in my tests)

BTW, I failed to find a way to automatically remove the marker-file. The init.d scripts run to early... At the moment a user who wants to fix the error reported in the UI, would need to remove the file with a root explorer (or clear dalvik-cache), restart, remove the file again and re-select the google account for the backup. And repeat if a reboot occurred.
[Galaxy S II Android Development] sharp87:
Hi dorimanx,

I can able establish connections with other device using WiFi Direct option, but unable to send files and receive files...I had even checked this WiFi issue on my friends device running wanamlite stock rom with no mods...but the issue exists..

I just want to report a bug in WiFi Direct :)... thanks

Running wanam lite stock XWLSW..
[Galaxy S II Android Development] dorimanx:
if updating kernel to 3.10.rc5 level for SG2 is not WOW for you.

then best that you use stock or gm kernel.
[Galaxy S II Android Development] Troubadour666:
quick fix...quick report

8.36V3 freshly flashed :)

boot ok

db ok

wifi ok on the two roms :)

thanks Master [MENTION=2376110]dorimanx[/MENTION]
[Galaxy S II Android Development] dorimanx:
i will work on it for next beta stage

+ new zzmoove (alucard part! he is the best in cpu code :))

O! finally fixed the time sort in mirror1, now all in order! from latest to oldest!

EDIT:

about the HACK.

in rootbox, there is a long lasting bug with this googlebackup transport

i have removed the hack, wiped that apk data,

rebooted (got the system is not responding popup!)

went to settings > backup and set google account as backup.

and now it's ok

~ # bmgr list transports

bmgr list transports

* com.google.android.backup/.BackupTransportService

android/com.android.internal.backup.LocalTransport

~ #

but each boot the F popup is jumping on me, and that happen with CM kernel too, maybe it's will go away if i reinstall rootbox from 0

but i dont have time for this.

so i will remove the hack, and allow normal google backup operation, but some of us will have to push WAIT on boot in annoying popup.

till it's can be resolved on ROM/google level.
[Galaxy S II Android Development] -Grift-:
[MENTION=2376110]dorimanx[/MENTION] same here flashing beta3 right now.

You did so much today that i ran out of thanks:eek: so looks like i have to type

THANKS

myself :D:good:
[Galaxy S II Android Development] RovG:
[MENTION=2376110]dorimanx[/MENTION]

Is it possible for you to implement support for fstrim and if so do you have any intentions of doing so?

TIA
[Galaxy S II Android Development] Dampierre:
Thanks for a million times for this awesome kernel, but I have a problem and a question.

The new S4 wifi driver works very well, noticable better than stock, but its battery consumtion is around 50% more compared to stock. In apolo kernel 4.9 which use s4 driver ported from dori's kernel, the problem still exist. I read a lot of pages, but could not find a solution or a good answer.

What is your battery consumption, better than before, the same, or worse than before like me.
[Galaxy S II Android Development] P0tato:
ok I flashed v 8.36 BETA3 and boot ok wifi ok but I noticed a bug or something. poweramp cant play ANY sound. the original music player can but thats ****ty and I want to use poweramp. I reinstalled and deleted the local files and everything but still the same. I reverted back to 8.35 and poweramp works again.
[Galaxy S II Android Development] dorimanx:
logs.

no logs = no bug, end of story, wait for update to app,
[Galaxy S II Android Development] dorimanx:
i will check that, but you should know, WIFI drain power!

what you want is no drain, that cant be, we can tune for more or less power and block some junk noise from reaching to system and waking the cpu to process it.

nothing more! dont want drain, turn off wifi on screen off. i use green power paid app, that do so, and i lost 2% in 8:30 hours.
[Galaxy S II Android Development] m1trand1r:
hey....don't you use force wifi off tweak within stweaks ?:confused::thumbup:
[Galaxy S II Android Development] dorimanx:
link to source.

you want something new, provide full info, or dont request.

this is dev thread, not BLABLA trash posts.
[Galaxy S II Android Development] dorimanx:
no. but it's do the same,
[Galaxy S II Android Development] P0tato:
Logs 4 the poweramp bug [MENTION=2376110]dorimanx[/MENTION]

http://db.tt/rWsLREQH

http://db.tt/Vmj9vKna

http://db.tt/ablQozhy

Sent from my GT-I9100 using a Potato
[Galaxy S II Android Development] Christiancs1969:
Power amp confirmed working....pro..no issues. Beta3.

s2..rootbox
[Galaxy S II Android Development] m1trand1r:
well...logcat shows a bunch of permissions errors ..,you...might wanna try fix them....:)

and you're on omega rom, right?...maybe it's a rom issue too....:)..do you have any other tweaks/mods installed on top of all?
[Galaxy S II Android Development] P0tato:
I think pure audio is the problem but it works with 8.35.. maybe fix permissions?

Sent from my GT-I9100 using a Potato
[Galaxy S II Android Development] m1trand1r:
try removing that mod....and see if issue is still present ...I myself am.using V4A(Viper4android) and I use various players and I don't have a single sound issue....some mods just aren't meant to be on this device....they might break other functions of the rom itself....;)...

---------- Post added at 06:54 PM ---------- Previous post was at 06:46 PM ----------

hey....you have lags or what?:p....

and as ma8 said below....you could post at least the thread link....:)

google found me this :

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

and afaik....we don't need this at all...with such great kernel:D...good job done with 9.36v3....
[Galaxy S II Android Development] Shahrokh.KING:
finally WiFi is working on my device, from the moment wifi drivers were updated to S4 drivers, i'd lost wifi connectivity and i had to move to another kernel but with 8.36v3 its back

p.s: what is wrong with poweramp?!
[Galaxy S II Android Development] eyestorm:
I try installing Dorimanx Kernel on my Galaxy S2 AT&T SGH-i777, I just say one sentence:

AWESOME - THIS IS THE SMOOTHEST EXPERIENCE ON MY S2 AT&T (T_T, @_@).

Would you Please release Dorimanx Kernel for S2 i777 ? Because S2 i777 is same as S2 i9100, just only difference with button layout.

Could you please release a dorimank version for i777? Even just only 1 time.

Pleaseeee !!!!!
[Galaxy S II Android Development] dorimanx:
Reduced WIFI drain by blocking some **** and cut power when device sleep.

Removed googlebackup hack.

Alucard is working on zzmoove gov merging to our super structure :)

new BETA will be up when all done.
[Galaxy S II Android Development] dorimanx:
i have NO idea what i need to do for i777 sorry,

ask I777 dev to clone my kernel, then mod all that HE know is needed!

and give it to you and others that want to test.

i build for I9100 international ERO build.
[Galaxy S II Android Development] dorimanx:
good to have you back, Samsung decided to block some area codes!

no idea why. any way i have restore the lost config/code and now it's online again! :)
[Galaxy S II Android Development] dorimanx:
this is APP, what should i do with it.

it's just and task killer, WOW! :)

we have the most advanced OOM kernel code! that we made on our own!

if free ram drop below 130MB, in single sec there will be killed apps to release ram till we back above 130mb free! :)

like this! :)

<6>lowmemorykiller: Killing 'ackageinstaller' (21020), adj 1000,

<6> to free 25888kB on behalf of 'kswapd0' (628) because

<6> cache 130792kB is below limit 131072kB for oom_score_adj 15

<6> Free memory is 26916kB above reserved

<6>lowmemorykiller: Killing 'ntlealarmwidget' (22433), adj 1000,

<6> to free 19244kB on behalf of 'kswapd0' (628) because

<6> cache 131060kB is below limit 131072kB for oom_score_adj 15

<6> Free memory is 26276kB above reserved

<6>lowmemorykiller: Killing 'ndroid.settings' (20937), adj 1000,

<6> to free 16376kB on behalf of 'kswapd0' (628) because

<6> cache 130592kB is below limit 131072kB for oom_score_adj 15

<6> Free memory is 28572kB above reserved

<6>sec-battery sec-battery: sec_bat_check_temper: recovery count = 0

<6>lowmemorykiller: Killing 'droid.gsf.login' (17483), adj 1000,

<6> to free 16212kB on behalf of 'kswapd0' (628) because

<6> cache 130824kB is below limit 131072kB for oom_score_adj 15

<6> Free memory is 26460kB above reserved

nothing will stop OOM from doing it's job :) fast and furious!
[Galaxy S II Android Development] Computoncio:
[MENTION=2376110]dorimanx[/MENTION] if you have some time till next release check this issue.

I'm using zeppelinrox V6 Supercharger and in this version oom grouping has a issue with his script.

Launcher's oom_adj 58 should translate to ADJ 1 and not to ADJ 0 like in v9.36, phone and systemui should be -12 and not -11

v9.35 worked great, just this version has this issue.

Issue tracking with zeppelinrox here.

This was the only think i found, all working great, no freezes since yesterday, now using v9.36v3
[Galaxy S II Android Development] m1trand1r:
that's why I pointed this out....we don't need this....even when I'm playin' Riptide GP2 or RR3

my ram never goes below 130mb as you said....I like it...it makes game play and multitasking powerfull....:D:good:....
[Galaxy S II Android Development] dorimanx:
max oom_adj is 15

there is no difference from -12 to -11

i dont see any issue.

i must say that no external scripts need when using my kernel, all that is irrelevant, and not supported by me.
[Galaxy S II Android Development] Computoncio:
I now that Dorimanx i was only informing you that the oom_adj value had changed comparing to release v9.35. That change brought a issue with zep's supercharger script and he find out that the reason was that some process with oom_score_adj of 117 should have a oom_adj of 2 like in v9.35 but with v9.36 it shows 1.

Example laucher with a oom_score_adj of 58 should report a oom_adj of 1 (like in v9.35) and not 0 (line in any of v9.36 releases).

If this is all right, and not an issue for auto oom good sorry :(:thumbdown:, if not great i helped to identify an issue :thumbup::D

I love your work, being using it about two years, last kernel v9.35 ruled i got zero SOD and the freezes (1 to 3 sec max) that i got was only on low memory while auto oom did his job nicely.

Phone: Samsung Galaxy SII - GT-I9100

Kernel: Dorimanx kernel v9.36v3

1st ROM : Vanilla RootBox v4.2 (Online)

2nd ROM : Resurrection Remix v4.0.4

MODEM: Modem+RIL - XXLS8

MODS: My RR mods, My RB mods, Partition Fix, ASUL v5.1.1 by Kroz :good: and V6 SuperCharger:p
[Galaxy S II Android Development] toffiko:
Hello Dori,

Im having strange issue with tomtom app on x8.36 (sammy XWLSS). Tomtom 1.0.2 and 1.0.1 are restarting and crashing everytime I start it. with previous 8.35 it was working correctly. I have exactly the same settings as previously on 8.35. didnt change anything. I have tried to reinstall application, delete its data and also deleted maps catalog and then copied the oginal maps again to sd card but nothing helps. Just curious maybe it has something to do with gps module. links to logs enclosed.

https://www.dropbox.com/s/zn28vyvjwa05wae/dorimanx_debug_logcat

https://www.dropbox.com/s/48gg7z8g2i6nk24/dorimanx_debug
[Galaxy S II Android Development] Dampierre:
Bug Report

On a very clean XWLSW rom, with 8.36, I had SOD when I woke up the phone. I was wifi tethering and downloading something on pc. I only had -25mV on CPU, (I can even run with -50mV without problems, so I don't thing it is because of UV. I know, UV is not supported, now i reverted UV and will post if one more SOD happen without UV) and using nightmare gov.

I tried to attach the logcat, I hope I did it right.
[Galaxy S II Android Development] CHEF-KOCH:
Problems with Temple Run 2 - stuttering

Hey, great new release but I still have huge problems with a game called 'Temple Run 2' (v.1.4.1) because i got every xyz seconds some micro stutter/lags and I don't know how to fix them. I'm using the "performance profile" without any modifications except "ZRAM 300" and "swappiness 80". There is no log, because it does not freeze/Sod or crash but i got this damn stutter. :(
[Galaxy S II Android Development] m1trand1r:
well...your post belongs to discussion thread then:evil::p:D

now it's my turn:

logs In one link : https://copy.com/qB1MY

and I got and SoD on waking up device....it didn't wake up....anymore... blackness :eek::eek:...I left gps turned because I forgot to disable it after observing weird moon behaviour lately...:p...so I suspect gps...because otherwise kernel is a beast

using nightmare as awake...ondemand as sleep

No undervolting or overvolting...stock clocks on cpu...VPLL mode on...basically same profile as I posted in discussion thread be4....profiles didn't reset...so I think gpu voltages are ok...

hopefully it helps somehow :):good;:highfive:

I will try to reproduce it once more tho:)
[Galaxy S II Android Development] zeppelinrox:
The bigger picture is in regards to universal compatibility, compatability with ActivityManagerSerivce, and to your surprise, even it's own built in OOM killer.

The below code won't always work as expected...

The adj file normally has these values on ICS and JB.

0,1,2,4,9,15 which translates to 0,58,116,232,522,1000

And say the minfrees are something like

20,30,60,80,130,150 MB

So if free ram gets below 150MB... apps with ADJs from 10 to 15 can be killed (ADJs above 9 and up to 15).

But what happens when it should be killing apps with ADJ 10 specifically?

With the latest kernel, it won't find them because they're not 10 anymore - they're 9.

This means that the lowmemory killer will wait longer, until free ram falls to 130mb (the next minfree slot) before killing them.

So bottom line, in this example, is that the lowmemorykiller won't kill apps with ADJ 10 when it's killing stuff in slot 6 and instead waits until it gets down to slot 5.

Of course, this ignores any inconsistencies/conflicts that will occur within ActivityManagerService... which is a whole other ball of confusion lol

For example, AMS often looks for apps with certain ADJs (whether it's 0, 2, 5, 6, whatever...) in order to figure out what to do with them.

Therefore, AMS won't work as expected either since it's managing apps based on wrong information and can instead be called ActivityMisManagerService :p
[Galaxy S II Android Development] hoholee12:
oom_adj=oom_score_adj*17/1000 round

am i right?
[Galaxy S II Android Development] zeppelinrox:
Basically.

You can always peek in SuperCharger... lol

if [ "$adj" -le -1000 ]; then adj=-16
elif [ "$adj" -ge 1000 ]; then adj=15
elif [ "${adj#-}" -gt 20 ]; then adj=`echo $adj | awk '{printf "%.0f\n", $1*17/1000}'`
fi

Exceptions for -1000 or 1000 (no math needed) because they're automatically the 2 highest values in the old system -17 and 15.

Although the -1000 is debatable - I make it -16 because that's what was normally applied to the highest priority apps on earlier kernels while -17 was a "special" and rarely seen priority.
[Galaxy S II Android Development] dorimanx:
zep, oom kernel code will kill all apps that are not root or system or bt or wifi or media till its gets 130mb ram.

your script not needed with my kernel.

i dont care any more about grouping.

kernel is not allowed to kill any system apps/services that have flags as i wrote above.

so all that get killed is user apps. and its working like atomic clock, trust me.

and we have excluded acore apps (launcher) also will not be killed.

so please give your script to those who use stock kernels or cm or other.

we dont need it.

thanks.

Sent from my GT-I9100
[Galaxy S II Android Development] 089man:
Hi dori, thanks for great new version 36b3. Here works fine with rootbox stable 4.2. No issues or sods or freezes. Wifi perfect, also no problem with poweramp...with 35 my phone often warm, with 36 normal temperature.

I used default profile, bln activ. No other changes i do...

I9100 Tapatalk 2, Rom1 Rootbox / Rom2 Test only, Kernel Dorimanx
[Galaxy S II Android Development] infatality:
Yep.. Agee with what you said.. We have a very high level update of 3.10.y and tuning.. Any other script or whatsoever just break what's coded.. Thank for the hard work and gave my s2 a new life..
[Galaxy S II Android Development] dorimanx:
next will be a 3.10.0.r89

Sent from my GT-I9100
[Galaxy S II Android Development] infatality:
It's works?! You finally found how and what's making the rom die!! A million thanks.. But does it works on slim? Or just Rootbox? Cause you have Rootbox sources.. And how do I add value to your beer account??
[Galaxy S II Android Development] hoholee12:
doesnt oom killer kill processes with oom_score?

and that oom_score is affected by oom_adj and oom_score_adj too.

oom killer wont kill system processes maybe because those scores are rated to 0?

So it would be the best idea to fix it for accurate measure even if its not for activitymanager, dont you think?:)
[Galaxy S II Android Development] stgerrard:
Sorry for OP, the date [18 Aug] show in the topic seems to be a future date.
[Galaxy S II Android Development] zeppelinrox:
I haven't given it to anybody.

Whoever wants it, gets it.

And I never say anybody needs it either.

Just like nobody actually needs custom kernels or a Ferrari.

As I've done in the past, I'm merely informing you of a probable bug

without

pimping my work.

Are you referring to this?

if (strcmp(comm, "d.process.acore") == 0 ||
strcmp(comm, "ndroid.systemui") == 0 ||
strcmp(comm, "ndroid.contacts") == 0 ||
strcmp(comm, "d.process.media") == 0) {
return 1;
}

Maybe I missed it but I don't see bt or wifi being protected anywhere. No matter.

As for the launcher, it usually isn't in acore anymore and you can actually have multiple instances of android.process.acore running.

I think you're getting your panties in a knot for nothing and it's probably just a typo somewhere that causes the new values to not get converted properly to the old format.

I think it odd that you totally ignore the possible impact/conflict with ActivityManagerService which is in services.jar, which is not something that you should ignore.

Ignoring obvious inconsistencies sounds more like an Atomic Bomb rather than an Atomic Clock.

Trust me.

You're welcome.

See ya.

Ya ya.. this is a development thread and I've actually assisted in it's development/bug fixing, brainiac.

For example

http://xdaforums.com/showthread.php?p=36607251#post36607251

http://xdaforums.com/showthread.php?p=36624108#post36624108

That's called welcoming a bug reports and fixing it.

As opposed to sticking your head in the sand and saying "everything is already perfect because there is NO WAY there can be a mistake and who cares if there is anyway because my kernel is bloody perfect."
[Galaxy S II Android Development] infatality:
I didn't said it was perfect and no mistake.. I was just stating that the kernel was in a high level updated state and base on my usage and trying out different script or whatsoever just break something that was originally intended.. I respect you as dev but you just bark at a silent end user without actually understanding what was the actual message that I was sending.. Well.. I guess I should continued staying as a slient end user than getting bark at for a post which was not directed any one but in general. :thumbdown:
[Galaxy S II Android Development] -Grift-:
[MENTION=4063946]infatality[/MENTION] Mate let the matter rest don't provoke any further..