yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Original Android Development] zeyadhan:
bug when open videos taking with camera there is some crash but not all video and camera dont work at all !!!! it say camera fail but other things great gob really amazing kernel the best one i traid
[Galaxy S III Original Android Development] MuertoKo:
Please specify what type of ROM are you using, AOSP or Sammy based, and try to pull logs when this issue happens, here you have a tutorial for pulling the 3 usual logs :)

Dev will appreciate all logs posible!

http://xdaforums.com/showthread.php?t=1520508
[Galaxy S III Original Android Development] nfsmw_gr:
Forgot to mention earlier (thanks MuertoKo ;) ) i'm using Samsung MC3 4.1.2 based,

UltimaROM V12. :)
[Galaxy S III Original Android Development] varund7726:
I tried to OC to 1800,1920 MHz and the phone reboots.any ideas why that happens? and how do i OC?
[Galaxy S III Original Android Development] MuertoKo:
Not all chips can handle that kind of OC. You could try to increase a little the voltage of the frequencies that cause issues for you, if that ain't working simply stick to lower frequencies.

Just as a backup for myself, I don't encourage you to so so as you could harm your device or cause a nuclear war somewhere and I won't be guilty for it!

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Original Android Development] davtse:
After a test of 5 hours each, all conditions equal(fresh rom install with no apps except bbs) both my usual kernels(siayh and temasek)have proper deepsleep. Devil can't seem to do so on aosp. On slimbean build 4
[Galaxy S III Original Android Development] coolkakucool:
Hi does this kernel have touch2sleep option too?.if not can u add it please.

Thanks
[Galaxy S III Original Android Development] ahmadalraii:
will this work with miui rom ??
[Galaxy S III Original Android Development] DerTeufel1980:
My touchscreen automatically turns off, after a defined time :D what should touch2spleep be? You would need to avoid touching your screen, to prevent it from turning off.

Sorry, I am not familiar with miui. You need to try it

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] coolkakucool:
Have u heard pgm.i want exactly that i.e. Sliding right to left should lock the phone and turn screen off
[Galaxy S III Original Android Development] DerTeufel1980:
No, I didn't. What is pgm?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] MuertoKo:
It's slide to 2 lock/unlock by using the touch keys, we had this on Sensation with Faux kernel at least, not really useful on S3 I think... Maybe, but we just have 2 touch buttons so...

Enviado desde mi GT-I9300 usando Tapatalk 2
[Galaxy S III Original Android Development] nfsmw_gr:
Here,take a look.

https://www.youtube.com/watch?feature=player_embedded&v=bZEodCnYv58
[Galaxy S III Original Android Development] STAticKY:
Would work nicely for me (my home button is pretty much flush with the rest of the phone). But i wonder how much of a power sucker this feature could be...
[Galaxy S III Original Android Development] habylab:
It appears so!
[Galaxy S III Original Android Development] d1rekt0r:
You are having problems on latest version?I cant exacly figure out what problems , and what rom you are using btw ?
[Galaxy S III Original Android Development] danarama:
Yes. Rom is probably not relevant. I can flash previous kernel and the issue goes away. Flash latest - it returns. Flash previous and it goes again, all on the same rom. I even restored /system from a nandroid of my previous version of the rom and the issue was the same.
[Galaxy S III Original Android Development] habylab:
That's very odd. Mine is the best yet, has to be said.
[Galaxy S III Original Android Development] DerTeufel1980:
Grrr. Why don't those issues appear on my device...

I'll run a git bisect tomorrow evening. Be prepared for some test kernel

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
It seems its just me with the issue so maybe its a config thing.

If there's anything I can run to help troubleshoot, I'm off work all week so i've loads of time
[Galaxy S III Original Android Development] brolee93:
thnaks for your big work but can i flash your new version in sammy rom 4.2.2 I9300XXUFME7 ? it is possible ?

hum :

Quote:

Originally Posted by gr33k3 View Post

Can i install this on Stock Deodexed 4.2.2 sammy ROM ?

No. There are no custom kernels for 4.2 Sammy ROMs
[Galaxy S III Original Android Development] danarama:
Yeah I was just about to point you there. There are no sources for 4.2 samsung kernel because there is no official release of 4.2 samsung roms yet
[Galaxy S III Original Android Development] habylab:
Did you try a fresh wipe and install.
[Galaxy S III Original Android Development] brolee93:
yes i understand thanks for your rapid reply :)
[Galaxy S III Original Android Development] vegaman:
I was going to suggest this. I have had issues with the cpu getting stuck at 1400mhz before and a wipe fixed it for me.

I'm running 0.31.4 now and scaling seems to be working fine. I might give zram another go too. I've always found it to cause a lot of lag in the past, particularly when I use Firefox.
[Galaxy S III Original Android Development] danarama:
Not yet. I would probably want to try clearing app data for devil etc first.
[Galaxy S III Original Android Development] Alphadan:
Hey guys,

Why does this kernel have a thread title which reads 4.3/4.2.2/4.1.2 yet it won't work on a deodexed 4.2.2 sammy ROM? I understand that since there's no official release yet and source code has not been released, you can't build kernels from "newer one". But I thought you could install older kernels.

I was thinking of installing wanamlite 7.1 (4.2.2) which comes with Adam Kernel and replace Adam with Devil kernel. How come Wanamlite comes with its own kernel yet you say you can't install any kernel on 4.2.2? Am I missing something?

Cheers.
[Galaxy S III Original Android Development] DerTeufel1980:
I didn't know about wanam running on 4.2.2 sammy. I'll check his source tomorrow

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] Alphadan:
Yeah, wanam currently has 2 versions of its ROM, one of which is based on 4.1.2 (version 6.8) and the other is based on the leaked 4.2.2 (called 7.1). Both come with a kernel called "Adam Kernel" which you can also find on xda.

I'll try to flash this kernel and see if it works... hope my phone doesn't get bricked or something.
[Galaxy S III Original Android Development] danarama:
In the Adam kernel thread: http://xdaforums.com/showthread.php?t=2189061 you will see it is only compatible with 4.1.x samsung ROMs. There are no custom kernels compatible and working with 4.2.x samsung ROMs.

Before Adam kernel was released, Wanam was in the habit of "repacking" the stock kernel with his ROMs. This means he can make a few minor tweaks to the stock kernel, without requiring source. If you look at the features in the 4.2.2 thread: http://wanamlite.com/2013/06/22/wanamlite-xxufme7-v7-1-android-4-2-2-aroma-clean-smooth/

You will see that is still the case. He may well have renamed it "Adam" to meet his naming convention. Hope this clarifies.
[Galaxy S III Original Android Development] Alphadan:
Oh, that was awesome. Thanks for your help. I have to say i wasn't too sure of what i had just posted and checked his website. I found that it's only compatible with 4.1.2...

Good lord, i can't wait to have a kernel with master sequence working on 4.2.2, i really love proper screen calibration :/

Cheers.
[Galaxy S III Original Android Development] danarama:
Well first we must wait for a 4.2.2 release of the ROM. Who knows, maybe they're already skipping in favour of 4.3

---------- Post added at 10:18 PM ---------- Previous post was at 10:01 PM ----------

Unfortunately this seemed to sort the issue.
[Galaxy S III Original Android Development] habylab:
Stopping by to say this latest update is super awesome. Really working at its best!
[Galaxy S III Original Android Development] vegaman:
Yeah, I'd like to know what causes it as well. A wipe is a bit of an annoying way to fix it.
[Galaxy S III Original Android Development] danarama:
I find it worse because titanium doesn't seem to backup hybrid settings on pa type roms.

Although I've found an odd way to get over it.

Nandroid backup

Wipe everything including system / preload

Titanium restore everything

Nandroid backup

Nandroid restore previous rom

Nandroid advanced restore latest /data only....

Phew
[Galaxy S III Original Android Development] danarama:
Well the issue came back. I managed to narrow it down using "top". Top was showing a mount command causing issues

Now I hijack the debuggerd binary to do these mounts. I run a script that inserts debuggerd and another file with mounts in it. It renames them both so the mounts become debuggerd...

The debuggerd im inserting, I replaced the binary with an empty file of the same name and all seems well. So now there's no binary. Just an empty file with the name of a binary and a file with mounts in it that pretends to be a binary
[Galaxy S III Original Android Development] davtse:
Still having the deep sleep issues with this kernel. Device isn't doing anything but just won't go to sleep, so I end up with something like 50% deep sleep over a night of not doing anything. Other than that, performance is fantastic. Guess it might be a hardware compatibility issue for me since most don't have such an issue. Great job OP!
[Galaxy S III Original Android Development] DerTeufel1980:
Interesting....

Which mount command has it been?

Can you attach the script please

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Well all it is is a series of mounts in a file I call debuggerd.mnt.

At boot I rename debuggerd to debuggerd.bak then I rename debuggerd.mnt to debuggerd. This then gets run as a system binary with elevated permissions....then swap everything back

The content is this...

#!/system/bin/sh
umount /storage/sdcard1
mount -t vfat -o rw,uid=1023,gid=1023,dmask=0002,fmask=0002 /dev/block/vold/179:17 /storage/sdcard1
mount -o bind /mnt/extSdCard/DCIM /data/media/0/DCIM
mount -o bind /mnt/extSdCard/Download /data/media/0/Download
mount -o bind /mnt/extSdCard/AFlash /data/media/0/AFlash

...and it was the last mount AFlash that kept showing up at the top of top but the original debuggerd would have been back in place by that point

I deleted the official debuggerd and replaced it with plain text and it has been fine since
[Galaxy S III Original Android Development] DerTeufel1980:
I am wondering what kind of mounts these are. Is it from your rom? Or something you added? Because the folders from external sdcard get mounted at the internal /data/media/0 path.

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Yes its my custome solution to bind /sdcard directories to /extSdCard directories on 4.2

Here....

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

The odd thing is the file with the mounts within isn't causing the issue. Its the original debuggerd which actually isn't included in the rom im using by default now

Theres really no need to use an actual debuggerd binary in the solution and since getting rid of it solved my issue, I really wouldn't expect you to waste any time in this.
[Galaxy S III Original Android Development] habylab:
Finding rather good, must be said. Even so good, that Trickster screws up and resets everything and it still feels great without zzmoove.
[Galaxy S III Original Android Development] lmulli:
Hidden Kernal Settings?

Installed this Kernel, did not change anything in any settings, and now no matter even if I install a new rom (Cm10.2 based) it won't boot unless this specific kernel is installed.

Deleted everything in both init.d and addon.d to no effect. Any ideas as to what the problem could be?

Ta
[Galaxy S III Original Android Development] DerTeufel1980:
Did I get this correctly, your phone only boots with my kernel?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Kernel is working great. Seems smoother and snappier.

With the updated zram, the scripts I was using from a few pages don't work any more. I updated my rom so now can control zram from there too but proc/swaps shows nothing

Has the method changed?
[Galaxy S III Original Android Development] habylab:
Update 11 for Sammy kernel is out, Yank said it is nothing amazing - may be worth a look if you have literally nothing to do.
[Galaxy S III Original Android Development] DerTeufel1980:
Does it show nothing?

For me it's working, just it never gets used because of 2gb ram

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
It shows nothing.

When I run the script from a few pages back in script manager I get:

swapoff: /dev/block/zram0: Invalid argument

In proc/swaps I just get the column headings

If the method hasn't changed ill flash back to the previous version to test. Unfortunately I upgraded my rom and kernel at the same time so I can't rule the rom out

Thanks :)
[Galaxy S III Original Android Development] danarama:
Unfortunately I flashed 30.3, ran the script and proc/swaps showed as expected. Flashed back to latest and same results. I get the error invalid argument. System/bin/sh runs cpu at Max until reboot when trying
[Galaxy S III Original Android Development] DerTeufel1980:
What does free show? Does it show swap?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Shows swap but with 0 values
[Galaxy S III Original Android Development] habylab:
I believe so.
[Galaxy S III Original Android Development] DerTeufel1980:
can you please try this script:

#!/system/bin/sh
BB=/sbin/busybox

if [ -e /dev/block/zram0 ]; then
$BB swapoff /dev/block/zram0;
echo 1 > /sys/block/zram0/reset;
echo 524288000 > /sys/block/zram0/disksize;
$BB mkswap /dev/block/zram0;
$BB swapon /dev/block/zram0;
echo 80 > /proc/sys/vm/swappiness;
fi

i am also getting the invalid argument on swapoff, but cat proc/swaps does dispay the device correctly

in your script, this seems to be causing the issue:

echo 1 > /sys/block/zram0/initstate

by a quick search i couldn't find any information about this initstate, please try without it.

edit: a second search brought me this:

What:	/sys/block/zram<id>/initstate

Description:

The disksize file is read-only and shows the initialization

state of the device.

this means, you can't write to the initstate
[Galaxy S III Original Android Development] danarama:
Thanks. I removed the initstate line from the original script but it didn't work. I used yours (but with my values) and it worked perfectly
[Galaxy S III Original Android Development] DerTeufel1980:
What's the difference now between the both scripts? Is it only the busybox prefix?

What's free showing now? As swap is hardly used on 2gb devices, I would like to see some numbers ;)

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
#!/system/bin/sh

# - zRam activation - 200Mb

if [ -e /sys/block/zram0/disksize ] ; then

swapoff /dev/block/zram0

echo 1 > /sys/block/zram0/reset

echo 209715200 > /sys/block/zram0/disksize

echo 1 > /sys/block/zram0/initstate

swapon /dev/block/zram0

fi

There's also no mkswap in the old script...

I'll probably set swappiness to 100

---------- Post added at 01:04 PM ---------- Previous post was at 12:30 PM ----------

Is there any disadvantage to setting zram bigger?
[Galaxy S III Original Android Development] DerTeufel1980:
You just could try setting it to all your ram. If it feels slower than before, you should reduce it, to maybe 90% and so on...

Maybe it's also better creating as many zram devices as cpu cores you have, each only 1/4 in size. This should help in parallel (de)compression

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Awesome. Thanks for your support. By devices do you mean zram0, zram1, zram2, zram3?

This latest update flies even with my drastic CPU settings! I love it!
[Galaxy S III Original Android Development] DerTeufel1980:
Yes, exactly.

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] DerTeufel1980:
here comes a test build :) freshly out of the oven. please report of you see/feel any differences to the previous one.
[Galaxy S III Original Android Development] habylab:
You do treat us! I'm heading out soon so will get a true test - what kind of things shall I look for? Or, blind test and report findings?
[Galaxy S III Original Android Development] DerTeufel1980:
I don't want the feedback to be placebo. Maybe I only changed the version number :P

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Zram shows 0 used on free

---------- Post added at 05:08 PM ---------- Previous post was at 05:06 PM ----------

Md5 changed ;)
[Galaxy S III Original Android Development] DerTeufel1980:
You mean zram isn't working anymore?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
The swap size shows but its not being used
[Galaxy S III Original Android Development] DerTeufel1980:
Can you run

logcat | grep zram

And

Cat proc/kmsg | grep zram

Please.

Does it show something?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Grep didnt find any instances. I also grep'd "lcd" just to confirm grep was working properly and it was.

Shall I flash back to see if grep finds anything on previous?
[Galaxy S III Original Android Development] DerTeufel1980:
Can you grep for lz4, instead of zram please

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Still nothing im afraid
[Galaxy S III Original Android Development] DerTeufel1980:
please try this one. i have added "zram" prefix to the log messages of the driver.

i hope you'll see some zrams in the logs now. please grep again ;)
[Galaxy S III Original Android Development] danarama:
Only in kmsg

app_106@android:/ # cat proc/kmsg|grep zram

<6>[ 155.325398] c0 Adding 511996k swap on /dev/block/zram0. Priority:-1 extents:1 across:511996k SS
[Galaxy S III Original Android Development] DerTeufel1980:
Well, this doesn't help much...

Maybe it just needs some time to fill up?

Is your swappiness still correct?

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
My swappiness is 100 so it should favour zram. It doesn't fill up no matter how long I leave it unfortunately. If I go back to previous, it starts filling up immediately

---------- Post added at 06:52 PM ---------- Previous post was at 06:37 PM ----------

Not sure if its relevant but on 31.4, those greps zram and lz4 also show nothing
[Galaxy S III Original Android Development] DerTeufel1980:
please try if zram is working again with this one
[Galaxy S III Original Android Development] danarama:
Unfortunately not. This one doesn't even show anything in free. Just all 0's sorry.

Would be interesting if anyone else here uses zram
[Galaxy S III Original Android Development] c0manche:
No options for zram visible in this version sorry.
[Galaxy S III Original Android Development] habylab:
For what it is worth, Trickster is showing up a Zram option in the first test you flung at us tonight for me.

Edit: although compression ratio is 2% and usage is 63 bytes!
[Galaxy S III Original Android Development] danarama:
Yeah. I lets me build the file but not use it in the first.

The first test, home screen navigation felt a bit smoother for me
[Galaxy S III Original Android Development] DerTeufel1980:
I am working on a new version. Stay tuned :)

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] danarama:
Errr. Don't forget to eat dinner and go to bed!
[Galaxy S III Original Android Development] Yank555:
You're right to tell him, that does indeed happen to me every now and then as well :D

JP.
[Galaxy S III Original Android Development] DerTeufel1980:
Indeed it happened on Monday to me :p

[MENTION=2033478]Yank555[/MENTION] I have found two great patches which drastically increase zram performance. By taking multi cores into account. Unfortunately it seems like I broke them :P

If I don't get it to work now, I'll upload two test branches. Maybe you'll see what's wrong with it.

Gesendet von meinem SGH-I317 mit Tapatalk 2
[Galaxy S III Original Android Development] DerTeufel1980:
i have pushed the repos now.

in test1, you havbe to take a look at the commits, starting with:

[PATCH 1/2] staging: zram: add Crypto API support

this one was creating swap drive properly, but zram never got used.

in test2 there is only one interesting commit:

zram: patch without name by Sergey Senozhatsky to increase performance

with this one i got: swapon ... invalid argument, and it didn't work at all.

the patches can be found here:

https://lkml.org/lkml/2013/7/30/365

https://lkml.org/lkml/2013/7/30/630

the patch of test2 branch is "hidden" in a comment to the second part of the other patch
[Galaxy S III Original Android Development] andrewfung888:
zram is working for me, I enbled it in trickerster although its size is only 83M
[Galaxy S III Original Android Development] danarama:
In which version? Test 1 or test 2?
[Galaxy S III Original Android Development] andrewfung888:
It is the last version 31.4, not test1 or test2.
[Galaxy S III Original Android Development] danarama:
Oh ok. Yes zram works in the latest official release.

Edit > Open play store and Facebook, then you'll use more than 83 MB ;) I'm currently using 435 :o
[Galaxy S III Original Android Development] maidangisme:
Sorry to ask, OP confused me, Is this work on JB 4.1.2?
[Galaxy S III Original Android Development] habylab:
I am constantly in contact with the makers of Trickster. They mention some features are "in development" so you need to donate to test. However, I received a very firm answer when asking when these features will become premium free: "we have no current plans". So they're lying. I'd donate if they had the right intentions.

Yes.
[Galaxy S III Original Android Development] Yank555:
I'll have a look tonight ;)

JP.
[Galaxy S III Original Android Development] DerTeufel1980:
I think the patch of test1 is the one easier to understand, as it seems to be adopted from zcache.

I don't know if anyone is better than the other, both authors are reporting great performance boost.

Meanwhile I have compiled a new version of the "test1" patched kernel. Hopefully it's already fixed.

Uploading it shortly

Gesendet von meinem GT-N7105 mit Tapatalk 2
[Galaxy S III Original Android Development] DerTeufel1980:
here it is :)
[Galaxy S III Original Android Development] Kemby13:
I installed the 0.31.4 version of the kernel on Archi Droid v1.6.1 (4.2.2) and it wont boot, there is no boot screen or sound, just blank...

Am i missing something? Any suggestions?
[Galaxy S III Original Android Development] danarama:
Is Archi Droid AOSP? This is only for 4.2.2 AOSP or 4.1.2 Sammy

---------- Post added at 12:10 PM ---------- Previous post was at 12:09 PM ----------

Thanks for all your efforts. Unfortunately same results for me as 32.2 Swap shown but not used...

I've tried much smaller sizes too, to no avail.
[Galaxy S III Original Android Development] Kemby13:
So, that's the problem.. No, it's not AOSP, at least v1.6.1 isn't.. Nvm, i'll install it again. Thx!
[Galaxy S III Original Android Development] habylab:
Trying latest kernel now, all good, but no zram again.
[Galaxy S III Original Android Development] c0manche:
I am finding that MTP transfer over usb does not work with this kernel as well
[Galaxy S III Original Android Development] dmourao:
Works just fine here. :rolleyes:
[Galaxy S III Original Android Development] habylab:
Latest kernel working really well. How can I tell if my init.d script for Abb values are being set?