yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] papaschtroumpf:
There is a particular web site I was not able to connect to from my android devices but connected just fine from my windows PCs/laptops.

After some playing around with wireshark and Shark for Root, I saaw the server never answered the SYN from the android clients. Comparing the SYN packets between the windows 7 and android stacks, the only differences were in the options, and I was able to determine that either the server, or more likely a router/firewall in the path is choking on the TCP Timestamps option (option #8)

I if I temporarily disable the timestamps option echo 0 > /proc/sys/net/ipv4/tcp_timestamps, the android device connects just fine.

Once I identified the problem I found at least one thread showing that some servers still don't handle this 20 year old RFC properly (see http://serverfault.com/questions/23...-a-syn-ack-packet-in-response-to-a-syn-packet, I didn't have to muck with windows scaling in my case).

writing to /proc/sys is only a temporary solution though. it gets cleared when the device reboots.

Under linux, I would modify /etc/sysctl.conf to make the change permanent, but it doesn't look like android uses the sysctl.conf system (at least it's not present on any of my devices, custom ROMs or stock)

what's the proper way to disable the Timestamps option permanently?
[Android Software/Hacking General [Developers Only]] papaschtroumpf:
I run SmoothROM on my nexus 7 and it has support for init.d, so at least one workaround was to create a /data/lcoal/userinit.sh that writes 0 to /proc/sys/net/ipv4/tcp_timestamps at every boot.

ParanoidAndoird on my Galaxy Nexus seems to also support init.d (edit: yup it does)

My main phone, a Nexus 4, is running 4.2.2 stock (albeit rooted) and doesn't seem to support init.d....
[Android Software/Hacking General [Developers Only]] papaschtroumpf:
looks like installing busybox will install sysctl, so it might be an avenue to explore, although it's getting too late for me to try today.

I also saw mention somewhere of the later versions of busybox implementing init.d?
[Android Software/Hacking General [Developers Only]] papaschtroumpf:
install-recovery.sh appears to be run at each boot, so I can add my tweak to that file on my rooted Nexus 4, or I could implemnt the full init.d solution described in this thread, although it's overkill for me: http://xdaforums.com/showthread.php?t=1933849

Bottom line is maybe it's klugy, maybe it's the only way, but I got the tmestamps option disabled on all my android devices and can now connect flawlessly.
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CryptLord:
Code:

E:Can't open /cache/recovery/log

E:Can't open /cache/recovery/log

E:Can't open /cache/recovery/last_log

E:Can't open /cache/recovery/last_log

I flashed ExMIUI v4 rom according to the instructions mentioned on the corresponding post but i got bootloop. So I went into CWM only to notice the above error.:crying:

Also sd card isn't detected to restore my nandroid backup.....what to do now???? Plz PLz pLz help guyz....i Look Forward to u all...:crying:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Abhinav1997:
Firstly restore your phone with a clean and fresh install of ftf and if ur bootloader isn't unlocked then root again your phone and install CWM and then try again with proper instructions and you won't ever be unsuccessful if you follow each step correctly. :)

Press THANKS if I helped,

Best Regards,

AJ
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] CryptLord:
thanx a hell lot bro...:):laugh:
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] RavinduSha:
if u have unlocked bootloader, u can flash a pretooted kernel with a recovery mode. so that u don't have to waste your time for rooting
[HTC One S] stalvatero:
Hi all.

I have a problem. I just bought this phone on ebay. Unfortunately I have not been very lucky .... The phone works fine, is S4, but the first flaw is that it was sent to me with the ROM installed on Viper Ones 2. Sins because, after the first few hours of use I have noticed that the display shows the persistence of the icons (especially the status bar) and there is a halo of yellow three-quarters of the display.

Reading around a bit, I read that this is known as screen burn-in that plagues many Amoled. Not a problem exaggerated, but it makes me angry.

Because the phone is under warranty, I would like to request the replacement of the display, but of course I should first return the phone to a factory state.

Since the Viper has updated the HBOOT to 2.15, I can not go back with the ICS RUU. A JB RUU does not exist .... So how do I restore a stock rom to bring it under warranty?

Someone can help me?

Thank you.
[HTC One S] NQNH:
AW: Revert to stock after Rom Viper 2

This was already asked over 5 times !

Here is your answer

http://xdaforums.com/showpost.php?p=37942416&postcount=2

aah the ruu is out now :)

http://shipped-roms.com/download.php?model=Ville&file=RUU_Ville_U_JB_45_S_HTC_Europe_3.16.401.8_Radio_1.11.50.05.28_10.27.50.08L_release_301814_signed_2_4.exe

original thread:

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

please hit thanks if this helped you ;)

And the Viper couldnt update your hboot.

It was your previous stock rom which get updated via ota
[HTC One S] stalvatero:
I am for a long on xda, you see that I do not know how to do a search ...? The problem of the research is that not always are used the right keys. Anyway thanks for the tip, I read the post, even though I only need a stock rom, but fully restore the phone. But to lock the bootloader I found other guides. Thank you.
[HTC One S] NQNH:
sry for being rough, doesnt want to insult you.

as far as i know there is no other way to come back to stock jb with sense because of the new hboot :\
[Nexus 4 Q&A, Help & Troubleshooting] X1r0N:
So, my problem is that my camera does not seem to focus an Objekt, even when I "touch " it in the camera app. It is still a bit blurry when I view the taken shot. When I look at my friends Nexus 4, colors are much better and everything is sharp. Is it possible that I have a broken camera? The settings are exactly the same...
[Nexus 4 Q&A, Help & Troubleshooting] ohyeahar:
It may be helpful to post some example shots.

1st thing to look for is to make sure that the glass covering the lens is clean. And shoot in good lighting.
[Nexus 4 Q&A, Help & Troubleshooting] Michealtbh:
Known problem, please star the issue http://code.google.com/p/android/issues/detail?id=43153&thanks=43153&ts=1359017856
[Nexus 4 Q&A, Help & Troubleshooting] X1r0N:
AW: Bad camera focus

And the washed out colors? Max it be the fault of rev10 devices? A friend of mine said something like that

//edit

Here's a sample. If you zomm in you will see the Blurry borders. They are really annoying because when I look at the pic on a PC, I am able to notice it. Maybe it's the cameras fault or Googles fault for bad drivers and software.

http://db.tt/QSb8F0KE
[Nexus 4 Q&A, Help & Troubleshooting] halluci293:
It seems to me like the hardware is perfectly capable of the focal lengths to get clear focus, it's just the autofocus implementation that's broken. Is autofocus a driver level implementation? If so, would it be feasible to try and create a custom driver to at least allow for true manual focus?
[Nexus 4 Q&A, Help & Troubleshooting] Solutions Etcetera:
There are several things that can be going on here. 1.) it ain't a great lens, so not all areas of the picture are going to be razor sharp. I see a good degree of softness in the corners.

2.) I have noticed the camera's default behavior is to use lower ISO, and longer shutter speeds in less than ideal light, making camera movement a major factor in blurry photos. If you're gonna test under less than ideal light, rig up some kind of tripod.

3.) Auto-focus algorithms decide focus based on maximum contrast. If the area of your focus reticle is over an area that has poor contrast, focus will be compromised. Low light also lowers contrast.

4.) Depth of field. It is limited with this lens. Make sure areas you are checking for focus are on/near the same plane with shots that have reasonable distance separating foreground/background objects. They all can't be in focus.

With all that said, reasonable photography skills can get pretty reasonable results from this camera, as is exhibited in the photos posted in the photo thread of the "general" forum.
[Nexus 4 Q&A, Help & Troubleshooting] calanizzle:
It does focus, but has a small delay tho..
[Nexus 4 Q&A, Help & Troubleshooting] ahmadov1:
actually the focus on N4 is slow a little bit ..
[Nexus 4 Q&A, Help & Troubleshooting] JimRockford:
Is there any new piece of information about the bad camera focus?
[Nexus 4 Q&A, Help & Troubleshooting] lokenok:
anyone else have a pink haze when capturing white objects
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Flash attached files using the latest CWM recovery at your own risk. Still not found a way to lock the CPU @ 1.08GHz on boot, the OC version max frequency 1.2GHz for now and GPU clock 384MHz by default.

Using CyanogenMod's android_kernel_samsung_espresso10 by codeworkx, the newer Samsung's JB kernel update and KK-Boot's patch applied

LZO compressed boot image and kernel for faster decompression

Performance governor on boot, interactive after boot completed for faster boot

ROW as the default scheduler

"Sleep too deep" bug free of course

Waiting for your review, do not forget to press my thanks button or better my DTM button ;)

EDIT: I will upload the patch, so P51xx owner can compile it from source, test it and write some feedbacks.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Kernel patch attached.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
All attachments on OP removed. I will upload the patch, so P51xx owner can compile it from source, test it and write some feedbacks.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
After updating CM 10.1 kernel for P31xx, time for me to upload espresso/espresso10 kernel patch as I have promised: find it in post #2.
[Galaxy Tab 2 10.1" Android Development] r-l:
Instructions would be nice
[Galaxy Tab 2 10.1" Android Development] Rahul721:
How about making max CPU frequency 1480 MHz? And GPU at 512 ?

:D its Stable on 4.2.1 with those freq
[Galaxy Tab 2 10.1" Android Development] WilliamHicks:
Isn't it 1420 Hz?

Aokp kernel worked for me at that speed.

Sent from my GT-P5110
[Galaxy Tab 2 10.1" Android Development] SANGER_A2:
How can a normal person flash this kernel? I tried to flash the zip and it wouldn't let me. It doesn't detect any of the patch files.

Thanks.
[Galaxy Tab 2 10.1" Android Development] blackhorses777:
Someone still has to patch the kernel and upload it. The files attached are the patch

Sent from my CM 10.1 powered GT-P5113
[Galaxy Tab 2 10.1" Android Development] sevenup30:
thanks for your patch, when i apply it :

patch: **** malformed patch at line 100866: suspend) __end_pci_fixups_suspend = .; } .builtin_fw : AT(ADDR(.builtin_fw) - 0) { __start_builtin_fw = .; *(.builtin_fw) __end_builtin_fw = .; } .rio_ops : AT(ADDR(.rio_ops) - 0) { __start_rio_switch_ops = .; *(.rio_switch_ops) __end_rio_switch_ops = .; } __ksymtab : AT(ADDR(__ksymtab) - 0) { __start___ksymtab = .; *(SORT(___ksymtab+*)) __stop___ksymtab = .; } __ksymtab_gpl : AT(ADDR(__ksymtab_gpl) - 0) { __start___ksymtab_gpl = .; *(SORT(___ksymtab_gpl+*)) __stop___ksymtab_gpl = .; } __ksymtab_unused : AT(ADDR(__ksymtab_unused) - 0) { __start___ksymtab_unused = .; *(SORT(___ksymtab_unused+*)) __stop___ksymtab_unused = .; } __ksymtab_unused_gpl : AT(ADDR(__ksymtab_unused_gpl) - 0) { __start___ksymtab_unused_gpl = .; *(SORT(___ksymtab_unused_gpl+*)) __stop___ksymtab_unused_gpl = .; } __ksymtab_gpl_future : AT(ADDR(__ksymtab_gpl_future) - 0) { __start___ksymtab_gpl_future = .; *(SORT(___ksymtab_gpl_future+*)) __stop___ksymtab_gpl_future = .; } __kcrctab : AT(ADDR(__kcrctab) - 0) { __start___kcrctab = .; *(

any idea?
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
The patch produced by diff. Please try removing the malformed part first (you can manually merge it later), I'm sure the others patch will work without problem because I checked it line by line. Latest Kompare not always work as expected to check a patch integrity :(
[Galaxy Tab 2 10.1" Android Development] sevenup30:
Yes other patch worked without issue , i took cm kernel as base without edit i ll try again tomorow to dowload again and apply !
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
You can always build a kernel from source. But if you want to try out the performance right now, download it from the first page. As usual, have not tested it since I do not have an access to P51xx. Maybe you could be a tester :D Waiting for your feedback and good luck with your ROM. Maybe one day I'll ask you to port it to P31xx :)
[Galaxy Tab 2 10.1" Android Development] sevenup30:
Well, I build kernel with your patch except the first 00-samsung.... as expected it bootloop, in fact it do not pass Samsung Splashscreen, but adb is working.

I'm trying atm to build only with OC and governor patch.

I'll be honored to be your eyes on this, i do not have the skill to edit kernel source, but i can build and patch for you ;)

So if you want to make an OC kernel for my rom let me know

edit::

I tried build only with OC&Governor patch.

It boot, but OC do not work, still stock frequencies.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
The default frequency 1.008GHz. My flashable zip from post #1 is a good reference how to overclock the CPU. CM has a performance setting page or you can use third party CPU clock setting (i.e. No-frills CPU Control). Every device has a different CPU characteristics. I'm trying to make a safe kernel for all devices. Users can then do the settings according to the CPU's capability gradually. No need to build different kernel for different target frequency, it's waste our precise time ;) Sometime my English limitation limited me to explain what is in my head :D
[Galaxy Tab 2 10.1" Android Development] John_Br:
I've installed latest CM10.1 M2 from today and after that put on the blackhawk 0.2-oc kernel.

Running stable now on min 800 and max 1350 MHz.

I've got a P5110.

Thanx for the great work!

Grtz,

John
[Galaxy Tab 2 10.1" Android Development] Rated RR:
P5100. Works great, thanks a lot. Tested by Antutu. Got 8200 pts @1420MHz. Normal score @1000MHz: around 6100 pts.

View attachment 1779387
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Thanks for both of you for your confirmation.

I deleted the first version because people started downloading (30+) and none of them confirm it really works. It certainly is not helping developers to create something and it's not good for all of you.
[Galaxy Tab 2 10.1" Android Development] lukensteinz:
Confirmed working too. Rock solid @ 1200. Haven't tried higher yet.

Antutu spat out 7630 or so.

So far it feels much smoother. Even at stock speeds.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Even on stock CPU clock, your GPU overclocked to 384MHz when needed and immediately down. No power drain effect!
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
Trying now.. OC kernel on 20130228 set on 1420 max and 800 min... Seems to be running very smooth for me so far for about 4 hours no real battery drain as well... Thanks!
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
I would like someone to confirm that this kernel is never touched above 1.008GHz CPU frequency unless it is set that way.

I'm using System Tuner here, but do not give it root access!

EDIT: This kernel boot process faster than stock CM kernel, is it true?
[Galaxy Tab 2 10.1" Android Development] lukensteinz:
Boot process certainly seems faster.

I used Rom Toolbox Pro to set frequency, was at 1008mhz before oc and never went above unless set.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Good. CM power HAL always try to set the CPU clock to the maximum available frequency when needed. It is not good for "overclock sensitive"/"limited overclock capability" device. This kernel replace CM power HAL with Samsung's stock power HAL :D Do you feel wake up from sleep also faster?
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
Mine seems do be doing fine.. No odd behaviors or quick battery strains so far with medium usage... I will try and see how long it runs with a little heavier usage today and tomorrow.. This pretty awesome... Any chance we will see something that let's us push it a bit more? ;)
[Galaxy Tab 2 10.1" Android Development] Rated RR:
How do we know or set the GPU frequency?
[Galaxy Tab 2 10.1" Android Development] badaas:
http://xdaforums.com/showthread.php?p=37949260
[Galaxy Tab 2 10.1" Android Development] anitgandhi:
what's the stock CM 10.1 min, high, and governor settings? (i don't have the tablet with me at the moment)

just to make sure, i flash the kernel in recovery, then boot into CM 10.1, go into settings --> about --> tap build number like 8 times, then go back to the "performance" section will be available, where i can set the min, high, and governor to whatever i please, correct?

thanks!
[Galaxy Tab 2 10.1" Android Development] lukensteinz:
I'm not a hundred Percent positive but would your kernel have any effect on PC's not recognizing the tab when plugged in with USB?
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Please try on stock CM kernel.
[Galaxy Tab 2 10.1" Android Development] lukensteinz:
Well.. its not your kernel, seems to be cm 4.2.2.

New USB drivers?
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
Well I'm running the latest nightly and his kernel full speeds ahead with gpu set at medium and have say I am pleased so far from what ive one with itl . Thanks
[Galaxy Tab 2 10.1" Android Development] SANGER_A2:
I am loving this kernel. Totally stable on my p5110. Running multiple antatus at 1.35ghz and no freeze like other kernels would do.

Could someone post how to overclock gpu with setting or file or app please?
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
Look back some there is an app posted in this thread that will let you oc the gpu
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
To "protect" and share the results of my work, my source code can now be accessed via github: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-10.1-blackhawk As I said before, my kernel source code newer than CyanogenMod/codeworkx or others own. No one (except me and JFDee) has noticed update2 is not the most recent version. Feel free to fork my work (forked from CyanogenMod/codeworkx work), you don't have to reinvent the weel ;)
[Galaxy Tab 2 10.1" Android Development] Yanardag:
Cool kernel works like a charm thx for it. It is possible to compile it stock with 1,4ghz at start up?
[Galaxy Tab 2 10.1" Android Development] Rated RR:
@ketut.kumajaya: for how long may we continue to use 0.2-OC with regards to the latest CM10.1 Nightlies?
[Galaxy Tab 2 10.1" Android Development] gabriel2anjos:
How can I use ppp widget with that kernel? Does anyone have the drivers? Thanks

lol forget that post it's already working...

Thanks developer great job!

Enviado de meu GT-P5110 usando o Tapatalk 2
[Galaxy Tab 2 10.1" Android Development] kuronosan:
Any chance of color mods in the future?
[Galaxy Tab 2 10.1" Android Development] superdog404:
Hi ketut.kumajaya - I am running the PacRom 4.2.2 on my Galaxy Tab 2 10.1" I was trying tuxafgmur's kernel and for some reason on boot I am getting an error "unfortunately process system has stopped" I went to your Blackhawk oc kernel and had the same problem. Running your stock kernel on Nick0703's PacRom everything runs great. I would like to try your stock kernel with just the overclock part to see if that would run right. I looked to see what it would take me to learn how to use your patch on the kernel but I think it is way beyond my capability. Would it be possible to get you to put your oc patch in your stock kernel for me?

Thank you

superdog404
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
The latest PAC ROM use the latest blackhawk kernel source and config. No need to flash separate zip.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Flash attached files using the latest CWM recovery at your own risk!

Future target: http://xdaforums.com/showthread.php?t=2285366, single kernel for both Samsung JB and CM 10.1 + dual boot :cool:

Please prepare CM 10.1 flashable zip to anticipate if something goes wrong!
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
I noticed the download says 3100... can I assume this may work for 51xx as well?

Also.. [MENTION=3208754]codeworkx[/MENTION] do& you hopeless to look at the last logcat I posted because I saw where it actually showed the hdmi stuff
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
What do you mean? The ramdisk part of dual boot image for P51xx not ready yet. Boot image contains ramdisk and kernel, boot image in flashable zip attached above for CM 10.1 only for now but I can use the kernel part for both Sammy JB and CM 10.1. If P51xx users really need dual boot, someone should try boot image above on CM 10.1 and give feedback.
[Galaxy Tab 2 10.1" Android Development] pigulka:
I have uploaded the kernel to the latest nightly CM10.1. Unfortunately stopped at the logo "Samsung Galaxy S"
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
I apologize, I read your message wrong. ... look forward to seeing this in action though
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
In boot loop or just stuck on "Samsung Galaxy Tab 2" boot logo?
[Galaxy Tab 2 10.1" Android Development] pigulka:
Not in the loop, stuck on "Samsung Galaxy Tab 2".

My model is the P5100 , CM10.1 of 05/28/2013 and TRWP.
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Is it possible to access the device over "adb shell"?
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
Yea.. I was stuck at the tab 2 logo as well when I flashed the blackhawk-next-cm-alpha-p51xx.zip

I had all my other images ready to go and PHILZ recovery and an image of the latest CM nightly installed as a prerequisite..

Hoping to go to the next step and flashing your tool... I would really like to see this DUAL booting working for my p5113 as well.. so if you have any suggestions I would be willing to see what I can try... I was able to get back to recovery though... so fortunately I didn't have to ODIN back in.

About being able to adb shell with the device... I didn't even attempt it because I tried it before reading your question about that... but if this works.. I would assume we just follow the same instructions in your http://xdaforums.com/show....php?t=2285366 thread?
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
Stuck is much better than a boot loop :D I will try to rebuild a new one but please remember this is an initial attempt of dual boot, not ready for dual boot yet.
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
OK thanks so much I'm so excited :D this will be a good plan for running my HDMI output until if even there will be support for it in CM.

Thanks for your dedication to keep bringing us tabbers some great features like dualbooting and overclocking... this is really awesome!
[Galaxy Tab 2 10.1" Android Development] ketut.kumajaya:
It seems only you and [MENTION=1458755]brolee93[/MENTION] interested in dual boot ;) Hi brolee93, are you ready to test dual boot capable kernel on stock ROM?
[Galaxy Tab 2 10.1" Android Development] brolee93:
Thanks ketut.kumajaya

i go to test CM10.1 with your kernel for see if i have difference with my stock oc rom whit your best kernel

---------- Post added at 09:49 PM ---------- Previous post was at 09:48 PM ----------

Yeah i got to put MY rom and cm10 PAC rom for try it

Big Thanks

But I want to keep Philz Recovery because I love it.

My rom : 4.1.2 official firmware
[Galaxy Tab 2 10.1" Android Development] ironmaskusa:
I'm sure once it is done and we rant and rave about how cool it is to dual boot OSes on the Tab 2, they will be flocking! ;)