yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] iamashwin:
I have a problem with TW

I dont know if the problem is with the rom or the kernel but my primary rom is SSHD and it freezes in the middle and there is no way to get out of it other than force rebooting . i tried to get a log but the comp did not detect my device(no device connected) when i connected my tab. I tried this again with freshly flashed rom but no change. (since BHN 2.1.8.1)

Battery status:

i noticed that battery declines very fast from 100%-85%. may be 1% every min. after that from around 80%-40% it declines very slowly i.e 40% in 2h of movie watching . next it charges slowly from 40%-80%. but from 80%-100% it charges very quickly. I guess that batterysat.bin should be deleted on every boot. because it wrongly calibrates from 80%-100%. so it shows 100% even though it is still not 100%!. but we cant let it over charge coz after the rom thinks its 100% charged it will not allow more charging (this is done to increase battery life).

So i think that the main culprit is the calibration. (please correct me if im wrong)
[Galaxy Tab 2 7" Android Development] haseogu:
I try the screen record and it doesn't work in newest kernel, anyone face the same problem ? I'm using mokee rom latest nightly
[Galaxy Tab 2 7" Android Development] ashwin007:
It doesn't work for me too am on pac
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=1105488]hkjr[/MENTION] How are you man?

[MENTION=5183377]iamashwin[/MENTION] This kernel not well tested on stock. About battery stat, agreed. Android learn it, trial and error. Try drain your battery until self power off, and then full charge it. For network connection, as [MENTION=2782320]vishes[/MENTION] said, KitKat drain the battery, I hope Google/Android community will fix it. In my opinion, 2.1.8.3 better than initial 2.1.8 version.

[MENTION=4863289]haseogu[/MENTION] and [MENTION=5426059]ashwin007[/MENTION] Are you sure it's related to this kernel?

[MENTION=5153662]Android-Andi[/MENTION] I found dock_kbd_attach source a long time ago, built it last night without problem. I plan to merge it to p31xx/p51xx source tree, open source option always better.
[Galaxy Tab 2 7" Android Development] :
if i remember correctly, older property samsung vendor causing screen record breaks. but it has been fixed in the late edit of it by antutu and andi.

the question, is the PSV on this link is the older or edited? if it's the older, that might be the cause people have SR breaks

btw, i'm running PSV from that link too, but i can't test it right now because tab is in self power off to full charge :D
[Galaxy Tab 2 7" Android Development] yomiguy:
Kk everything fine here with your last version! ;)

Thank you master! ;)

Enviado desde mi GT-P3110 mediante Tapatalk

---------- Post added at 08:53 AM ---------- Previous post was at 08:47 AM ----------

Just a question [MENTION=4021423]ketut.kumajaya[/MENTION] do we have to flash propietary vendor samsung zip file yet? Because I've realised that I didn't yesterday after flashing new kernel version 2.1.8.3 and camera is working :) I thought it was needed mainly to make camera work and something else. Shall I flash it with next kernel versions? Because now add I told you before everything is perfect! ;)

Enviado desde mi GT-P3110 mediante Tapatalk
[Galaxy Tab 2 7" Android Development] zeetherocker:
[MENTION=4331843]yomiguy[/MENTION] u must flash the vendor zip after flashing next kernel...
[Galaxy Tab 2 7" Android Development] tsatomas:
Hi and thank you for updating, I have flashed last build.8.3 and is working fine, battery drain on WiFi only still exist but I think it is not related just on kernel because I noticed it in both ROMs kk I use(sensonic and AOKP),during all night it dropped from 90 to 88 but after 20 min with WiFi(XDA and browser googling) it dropped to 78 which I don't remember in 4.3 or 4.2 always with next kernel (maybe if I have time to try on secondary 4.2 again).

I still have not tried yet f2fs, I am not sure for its benefits, I need to read a little more.
[Galaxy Tab 2 7" Android Development] Vishesh:
Great Ketut @ no doubt version 2.1.8.3 works Far far better than any previous versions..super job:)

Wifi consumption is very les nw as its shown in my tab but as I told u earlier, main culprit is mobile signal.. It stil eating battery Slightly faster in kk roms.. I think it's a Google fault, dats y andi and tux takes cm 10.2 kernel for kk roms.. As I am not expert in kernel so I can confirm that latest build definitely increases the battery backup for sure but stil we need to work around to cured the issue completely in kk roms..

Awesome work as always legendary KK:)
[Galaxy Tab 2 7" Android Development] yomiguy:
Thanks mate! I always do it. I just forgot to do it yesterday ? but as everything works fine I thought it wouldn't be necessary ?

I'll reflash both things then ?

Enviado desde mi GT-P3110 mediante Tapatalk
[Galaxy Tab 2 7" Android Development] haseogu:
[MENTION=4021423]ketut.kumajaya[/MENTION] well the screen recorder worked fine before, i have trie
[Galaxy Tab 2 7" Android Development] ashwin007:
Sry for the late reply [MENTION=4021423]ketut.kumajaya[/MENTION] screen recorder works fine with stock PAC kernel and tries mokee also with stock mokee kernel
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4021423]ketut.kumajaya[/MENTION] screenrecord problems related to some blobs wich needs to be changed:

https://github.com/andi34/proprieta...mmit/e56aa934e796d95eb3ae4d6f9c4bcd518b64bd13
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
This is the battery consumption on my primary Rom with Slimkat 4.1 and Next Kernel 2.1.8.3 for one hour of each activity:

Audio playback(aeroplane mode) : 3%

Browsing on WI-FI : 12%

Browsing on Mobile Data : 16%
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Thanks [MENTION=5153662]Android-Andi[/MENTION], thanks all.

Complete github commits: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-11.0
[Galaxy Tab 2 7" Android Development] iSagar7:
Which Rom and which next kernel version do you use in your tab 2? :p
[Galaxy Tab 2 7" Android Development] daeinnor:
I'm still on v2.8.1, but I can assure you that TW works just fine (using updated vendor blob for version 4.1.2). I don't have issues with heavy battery drain but probably because my connectivity is only through WiFi & not by GSM.

My P3100 is setup to dual-boot with F2FS in all partitions of both Primary & Secondary. Primary is TW 4.1.2-Blackhawk & CM11-SOKP in Secondary & both running well.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
I have stock 4.1.2, CM 10.1, 10.2, and 11.0 as system.img inside /data/media/.secondrom . Currently a clean stock 4.2.2 as 1st ROM and CM 11.0 as 2nd ROM, full of casual games for my kids.
[Galaxy Tab 2 7" Android Development] antutu:
Great as always, next kernel always empowered my tab2 :good:

Never really like stock 422, coz however you lightweight the rom its always buggy

Edit :

Sorry forgot to mention, vendor samsung shall use old domx if wanna use screen recoder
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Damn, my Tab 2 battery level still 46%! No drain in 14 hours!
[Galaxy Tab 2 7" Android Development] tsatomas:
With or without WiFi?
[Galaxy Tab 2 7" Android Development] iSagar7:
thats insane man.. :good:

i am on 2.1.8 need to update it soon.. :p
[Galaxy Tab 2 7" Android Development] Vishesh:
Brother issue only lies with Kk roms.. I knw with stock, next last longer more than human being :)
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
As I said before, to solve KitKat battery drain issue, I have to isolate the source of problem. So, what's the conclusion if I leave it for 14 hours in flight mode without a single percentage drain?
[Galaxy Tab 2 7" Android Development] Vishesh:
Exactly.. Actually the drainage issue is stil hidden.. Only thing which takes my attention was mobile signal.. It's eating all battery..Reason.. Don't knw.. I knw u have attempted very well but somewhat issue stil hidden so not at all ur fault..
[Galaxy Tab 2 7" Android Development] haseogu:
So the problem rest in kernel not in my tab isn't it ?

Edit:

So i found someone post in mokee thread that the latest nightly rom's screen record doesn't work
[Galaxy Tab 2 7" Android Development] hkjr:
[MENTION=4021423]ketut.kumajaya[/MENTION] all is well. can't complain. been busy with work, hockey and lacrosse (boys and girls). i check the forums once a while to see what's new. glad to see your work!! How are you?
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=1105488]hkjr[/MENTION] Good :good: All fine :D I managed triggering Tab 3 8.0 development but not that much for Tab 3 7.0 :( I have seen a lot of Tab 3 7.0 around me, owned by "normal" user :laugh:
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
I'll fix it later.
[Galaxy Tab 2 7" Android Development] nakbaliNe:
@ pak tut kumajaya..,do i need to flash SPV after flashed next kernel?
[Galaxy Tab 2 7" Android Development] hkjr:
I'll have to find Cody hah. He's been busy as well but happy to see he's doing other things

Sent using two ply for full wipes 'cause nobody likes skid marks from a dirty flash.
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
Yes. You have to flash proprietary-vendor-Samsung, zip immediately after flashing Next Kernel without rebooting in between.
[Galaxy Tab 2 7" Android Development] nakbaliNe:
SPV or SPV edit.zip do i have to flash?
[Galaxy Tab 2 7" Android Development] Bhaskara Rao:
[MENTION=4021423]ketut.kumajaya[/MENTION] posted the latest kernel and blob zips here

http://xdaforums.com/showthread.php?p=51678768

You may use them. A few pages back somebody said that screen recording is not working. Another suggested that edit.zip would solve it. Try it if you want screen recording. I remember a dev posted the edit.zip to solve a small hitch. I am not able to locate post now.
[Galaxy Tab 2 7" Android Development] lokesh.3440:
Here is the link of Proprietary blobs that will probably make screen recording work :

https://www.dropbox.com/s/h4oz5hdqvayspx9/proprietary-vendor-samsung-edit.zip

Credit goes to [MENTION=4938788]antutu[/MENTION],great [MENTION=5153662]Android-Andi[/MENTION] and [MENTION=4021423]ketut.kumajaya[/MENTION].
[Galaxy Tab 2 7" Android Development] :
yes, i can confirm the screen record is working with this blobs. i'm unable to SR with blobs from ketut link.

i use rec. from playstore to record. the stock one is fc when you stop the recording, but the file is saved in sdcard - screenrecord.

also, i'm running latest blackhawk with f2fs file system with no problems on the blobs
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Just found WiFi and Bluetooth keeps phone awake. 100% awake in 3 hours without any activity :confused:

For screen recording compatibility, please use [MENTION=4610558]lokesh.3440[/MENTION] 's dropbox version for now. FC in the end of recording related to SE Linux permission, I will find a way to fix it.
[Galaxy Tab 2 7" Android Development] Vishesh:
Great KK @ I told u Bro, something fishy out here, not only wifi, even signal eating battery in stand-by mode in kk roms.. Reason is stil hidden..:what:

Yesterday night I set my tab to airplane mode, wen I get up at mrng, 1% battery reduced overnight :eek:

I tried dhollmon latest build, seriously it has battery cured commit.. Nw battery get reduced Lil slowly but it stil reducing..

May b Linux permission to permissive helped..
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=4974379]Vishesh[/MENTION] I'm a technician, troubleshoot sometimes frustrated me but in another time enjoyed it. Is this related to SE Linux? A good idea :good:

I found without dock keyboard module, serial module PL2303 useless. I have no plan to control external device (Arduino, Stellarius, serial modem, or serial printer) directly from Android for now :D I will build it as module in the next version.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
In ~3 hours, Mediaserver keeps phone awake ~2.5 hours. Strangely, after I waked up the device, and then leave it, then it sleep as normal :confused: Screenshot attached. On Tab 3, Mediaserver not listed in battery status.
[Galaxy Tab 2 7" Android Development] Vishesh:
Kk@ I send u a PM.. Chek it
[Galaxy Tab 2 7" Android Development] josfr4ncisco:
I flashed the kernel, after wiping cache and Dalvik cache. But right after the boot, I get the "com.android.phone has stopped" error. What should I do? I went back to the CM11's kernel, after the error.
[Galaxy Tab 2 7" Android Development] lokesh.3440:
did you flashed proprietary vendor blobs immediately after it ?
[Galaxy Tab 2 7" Android Development] josfr4ncisco:
Did I need to flash the blobs? I've read something about them in the thread, but I didn't find a download link. So I expected that wouldn't be needed :p
[Galaxy Tab 2 7" Android Development] lokesh.3440:
check my post in previous page 263,,,,,i have shared a link to download it....please keep one thing in mind,you need to flash next kernel and these blobs consecutively without any reboots in between otherwise it may break your camera.
[Galaxy Tab 2 7" Android Development] josfr4ncisco:
When you mean 'break my camera', you mean a soft brick (wiping data/flashing CM again would solve it) or a hard brick?

Edit: I already have CM11 on my Tab, so I just need to flash 'blackhawk-next-kernel-2.1.8-p31xx.zip' and 'proprietary-vendor-samsung.zip', without a reboot?
[Galaxy Tab 2 7" Android Development] lokesh.3440:
Not that kind of. I mean it will not work(you will get a error like can't connect to camera) it will not get resolved by wiping anything ?,,,,,why don't you flash next kernel and blobs instead of making these pre-assumptions ? follow these steps :

no need of wiping anything in the beginning

1) flash cm

2) flash gapps

3) flash next kernel

4) flash blobs

5) wipe cache and dalvik cache

reboot
[Galaxy Tab 2 7" Android Development] josfr4ncisco:
I will finish downloading the blobs and I will get it flashed.

---------- Post added at 12:35 PM ---------- Previous post was at 12:13 PM ----------

Got a bootloop. Oh dear.
[Galaxy Tab 2 7" Android Development] lokesh.3440:
i just did the same on my tab and booted successfully,,,,,,,why don't you try a clean flash either ?

Edit :

if you still get any issues and don't wanna loose your apps you already have on your ROM ? flash cm and gapps again without next kernel and wipe cache and dalvik cache.
[Galaxy Tab 2 7" Android Development] josfr4ncisco:
I solved it! I wiped cache and Dalvik cache before and after flashing kernel and blobs, everything works pretty fine now! Thanks for the help, buddy!

Edit: the camera works!
[Galaxy Tab 2 7" Android Development] lokesh.3440:
you are welcome.This is what we call exploring yourself. Keep exploring.

off topic : There is a saying as well :-

god helps those who helps themselves

:):):)
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
I managed to solve Mediascanner keeps device awake issue by clearing Media storage data in App manager and then rescan media using TricksterMOD's Media Scanner. Also found a good post about this http://xdaforums.com/showthread.php?p=47868557#post47868557

With WiFi enabled, not connected, no SIM card, no activity, I lost battery about 10% in 5 hours! WTF! I will check WiFi driver or revert back it to pre JB update1 but for now please try set "Keep WiFi on during sleep" to "Only on plugged in" in WiFi's Advanced setting.
[Galaxy Tab 2 7" Android Development] Android-Andi:
On CM for P51XX some mentioned before that "Keep WiFi on during sleep" didn' t fixed the problem, and if i am not wrong drain also happens on Airplanemode.

also settings kernel to permissive didn' t changed anything.

On CM the problem started after merging JB Update 1 to kernel source, problem must be related to some of the changes...

Hope this helps you a bit, i am to silly to help more...
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
[MENTION=5153662]Android-Andi[/MENTION] I'm currently in "slow internet" mode. If you don't mind, please upload latest CM's boot.img here. I'll try my best to solve this solved mystery ;) Thank you.
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4021423]ketut.kumajaya[/MENTION] i'll download all builds right now, uploading the boot.img's for you in some minutes.
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4021423]ketut.kumajaya[/MENTION] attached :) taken from 12th nightly.

i'll attach also p51xx boot.img in some mintues.

Edit:

Going to sleep now [MENTION=4021423]ketut.kumajaya[/MENTION] . wel'll talk again later after sleep :)
[Galaxy Tab 2 7" Android Development] tsatomas:
Ref your WiFi post, I use WiFi (turn it on) only when I need it, and have a good connection, else it is off. So I noticed the drain in real time dropping 1% per 5min, when iddle is less and when WiFi is off it is much less( nearly normal, I am used to stop media scanner since long). Also I noticed that this happens mostly with aokp unofficial ROM (date 03/30) but with sensonic ROM(dated 18/02) is not as much_I can say it is acceptable 3%in 40min. Sorry I cannot give tech stuff but it seems to me that some update has caused the problem.

Edit: one more thing that you may have a look at, is the Google location manager (in Google play services running apps), I stop it and see a difference.
[Galaxy Tab 2 7" Android Development] lokesh.3440:
Hi [MENTION=4021423]ketut.kumajaya[/MENTION],,,I did one more workaround by unchecking "WiFi scanning always available" option inside advanced WiFi options,,i have seen a bit improvement in battery. I suppose it will resolve the battery drainage issue while screen off,when u don't use your tablet

Screenshot attached :
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4021423]ketut.kumajaya[/MENTION] i found this in Slim Forum: http://forum.slimroms.net/topic/1310-battery-drains-rapidlt/

Maybe someone can try to disable the Browser and see if this changes something.
[Galaxy Tab 2 7" Android Development] Vishesh:
Actually battery performance is fabulous in cm 10.1 kernel then it get reduced in cm 10.2 by little, then in cm 11, it totally out of way..

Means if we use cm 10.1 kernel commits and add respective things for Kitkat.. Then m sure we would have something interesting.. Jus a thought.. :)
[Galaxy Tab 2 7" Android Development] :
is the stock browser has something special on it? or i could just remove it and change it with any on the playstore?

because yeah i feel the same, the stock browser really consuming battery when in use,
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
WiFi only on plugged in, in battery stat WiFi turned off in sleep mode, no activity but battery drained ~15% in ~8 hours! So, in my case, the best battery usage only in flight mode.

EDIT: Battery empty, auto power off. I'll charge it to 100%, turning it on, enabling data connection (remember, no SIM card), turning off WiFi. Let's wait and see.
[Galaxy Tab 2 7" Android Development] antutu:
Been in next kernel for long time

Battery drain firstly occur on 3.0.101 and applied of se linux permission.

However those still be able to conserved with flight mode.

Currently we have ²¹8³ which more battery friendly.:good: [MENTION=5616867]150208[/MENTION] AFAIK that wont be a matter, just change or freeze it
[Galaxy Tab 2 7" Android Development] :
Thankyou for responding, removed and all fine ;)

i'm just checking first, in case i do something stupid like removing file manager once before. everything is mess and ended reflashing the rom :laugh:

Thank you again :D
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Follow [MENTION=5153662]Android-Andi[/MENTION] info: disable stock browser. Update kernel, I will tell you later by commits. No single percentage drain in ~7 hours. Just activated WiFi, let's wait and see.
[Galaxy Tab 2 7" Android Development] Skazzy3:
Hey ketut, Congratulations on Recognized Developer!

(Sorry if I'm late)
[Galaxy Tab 2 7" Android Development] Android-Andi:
[MENTION=4021423]ketut.kumajaya[/MENTION] if you need, i attached static binaries for f2fs tools v1.30 mkfs.f2fs fsck.f2fs fibmap.f2fs
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
I just followed your advice and some people here. Thank you.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Is this from TWRP build Andi?
[Galaxy Tab 2 7" Android Development] Android-Andi:
psndna88 asked me to build it for him ;) he tested it and included it in his TWRP repack. thought sharing can´t hurt, that´s why i atached it.

Source: https://github.com/SlimRoms/android_external_f2fs-tools

mmm external/f2fs-tools
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Correct [MENTION=5153662]Android-Andi[/MENTION], and TWRP already utilized blkid. I stick to support PhilZ Touch only since maintain a lot of project is time consuming.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
WiFi still on only when plugged in for about 5 ~8 hours. Battery drained 1% in total 12 ~15 hours! Let's wait and see.

EDIT: Switched to WiFi always on during sleep, battery 98%.
[Galaxy Tab 2 7" Android Development] philidor:
I have disabled only the stock browser . I will report back my findings.

Inviato dal mio GT-P3100 utilizzando Tapatalk
[Galaxy Tab 2 7" Android Development] tsatomas:
As far as I have noticed in my tab the wifi batery drain happens when I use Internet (browse_dolphin_lightning, XDA, video stream etc) but when it is just on, without doing anything on web, it drops very slowly depending on the usage without being a problem. I have it always on, WiFi optimization on and Google location off.
[Galaxy Tab 2 7" Android Development] :
Here is my logs about battery draining issues:

Some info that maybe matters:

Rom: PAC - mostly init d. script enabled

Kernel: Latest blackhawk

Battery : 100% - calibrated

App removed: Browser, gmail, hangouts, apollo, google play music (use any other similar apps, so i remove it)

wifi setting: only when pluggin

Bluetooth and GPS is always OFF

mobile data is always ON

Day 1:

Screen off for 5 hours;sleeping-until i woke up - 99% remaining

Screen on, turn wifi on, messing with settings and update/install apps from PS, texting (bbm, whatsapp, messaging) for 1 hour

Screen off;wifi off;going to work - 92%

Screen off for 1 hours;in transport to office - 91%

50% screen off, 50% screen on with-texting-light browsing-open documents for 4 1/2 hours;at work until arrive at home - 78%

Gaming, browsing and texting for about 45min;at home - 72%

Screen off for 3 1/2 hours;not doing anything with tab (forget i have it, i forget anything if on PC :p) - 71%

i'm going to bed now, will continue adding logs and stop until the battery drops in 30% (will recharge)

my personal opinion, i'm still feel more battery draining compared to the old cm or stock ;)
[Galaxy Tab 2 7" Android Development] SunamY:
Can i use this kernel with omni rom? Or only CAF based?

Gesendet von meinem GT-P3100 mit Tapatalk
[Galaxy Tab 2 7" Android Development] lokesh.3440:
Yes you can use it with omni..but please make sure you flash proprietary blobs immediately.

:thumbdown:
[Galaxy Tab 2 7" Android Development] iks8:
I'm facing one very annoying thing with this kernel. I'm using cm11 nightly and sometimes tab is very hard to wake. Anyone got this issue?

Wysłane z mojego GT-P3110 przy użyciu Tapatalka
[Galaxy Tab 2 7" Android Development] LateurzDesign:
It takes a while to come out of sleep.

Verstuurd vanaf mijn GT-P3110 met Tapatalk
[Galaxy Tab 2 7" Android Development] stingjoel:
Yeah...I got this too with 2.1.8.3...never happen with previous version.

Maybe [MENTION=4021423]ketut.kumajaya[/MENTION] can check it ;)

EDIT:

I have to restart my GTab several times after using Next kernel 2.1.8.3...I'll revert back to 2.1.8.2
[Galaxy Tab 2 7" Android Development] tsatomas:
Hi ketut, my thanks for your work and contribution.

Paypal 61Y24190B5215423P ;)
[Galaxy Tab 2 7" Android Development] psndna88:
[MENTION=4021423]ketut.kumajaya[/MENTION]

ive attempted find differences from Tuxafgmur Updates commit

https://github.com/psndna88/AGNi-pureCM/commit/dc4595061a4ff4e1776ec01d30399d99961f236a

compiles well, yet to be boot-tested, maybe can help solving batt drain ...