yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 8.9 Android Development] L3R0N:
The file you need to post is the last_kmsg log. I mentioned above how you go about getting it.

---------- Post added at 06:37 AM ---------- Previous post was at 06:34 AM ----------

I think he means wipe System, Cache, Data, Dalvik and Internal Media in TWRP. Also I think he did Format Data as well which would erase/wipe everything on the internal sdcard.
[Galaxy Tab 8.9 Android Development] safariking:
We cant flash P4wifi roms right?
[Galaxy Tab 8.9 Android Development] djcasl:
Battery drain fixed

I tried above and it worked for me, When just booted, tablet gives me an estimated 18 working hours (that's before playing Hay Day, my guilty pleasure). So now i just charge it with the tab on. So i'm sure it won't happen again.

The ROM itself is really good in daily usage, much more fluent then 4.4.4 ROM i had. If you have a tab 8.9, you should really try this!!

Thanks for thinking out loud with me.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
last_kmsg log for screen off leading to turn off problr

Hey please find the last_kmsg log attached extracted after emulating the screen not able to turn on after screen off ...
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
last_kmsg log for screen off leading to turn off problem

Hey please find the last_kmsg log attached extracted after emulating the screen not able to turn on after screen off ...
[Galaxy Tab 8.9 Android Development] phhuang:
I had exactly the same issue as Siddarth but got it solved. The trick is internal sdcard format! Just wipe everything including it, then adb push the zip into the tab
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
ur tab also didnt turn on after normal screen lock? and wipe internal memory solved it? I mean is there an explanation as to why it happens?

m afraid I don't know how to push from adb or sideload in twrp.. do u have an easy guide on how to do this?
[Galaxy Tab 8.9 Android Development] L3R0N:
In twrp click on advanced then tap on adb side load. Connect your tab to your computer, open terminal for linux or command prompt in Windows and use this command

adb sideload ROM name.zip

where ROM name is whatever your ROM is named. PS you need to have adb setup on your computer and the proper drivers for your tab installed. But I guess you already have those.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
I did all of this.. wiped everything..internal memory n all...adb pushed files.. resinstalled everything...still the same problem :crying:

Please have a look at the logs and help me fix it..many thanks
[Galaxy Tab 8.9 Android Development] L3R0N:
If you don't use the mobile network ie if you don't use a sim card in your tab you can install the p5wifi version of the ROM. It will work just fine except your tab will now be WiFi only. I haven't much knowledge about such issues so I'm not sure my looking at the logs will be fruitful. [MENTION=2002216]jolinnard[/MENTION] can have a look tho since he's the expert here, hopefully he will be able to figure this out. Please note that the last_kmsg log is pulled after a random reboot so if you're having these then pull that log. If you use kernel adiutor then its easy to take these logs. Simply open the app, go into settings and there you will see the options to copy a logcat, dmesg log, and last_kmsg log to sdcard.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
many thanks for your help.. i pulled that log(which I attached earlier) after a random reboot only.. so that shud work..i will still install this app as it seems very good..

I thot even the normal p5 disabled 3g..so there isnt any work of a sim card with p5 also..am i wrong?

are u sure p7310 rom can be flashed on to p7300? will it not brick the device..?

---------- Post added at 03:06 AM ---------- Previous post was at 03:05 AM ----------

I used terminal emulator to get the last_kmsg log that I posted earlier..

---------- Post added at 03:25 AM ---------- Previous post was at 03:06 AM ----------

@L3RON I want to flash this stovk modded ICS ROM to check if the issue still persists...

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

I had one doubt.. I do not know anything about bootloader and its unlocking or its use.. I see that one of the attached files in 2nd post in the above thread is te bootloader.. while rooting also I did not worry about bootloader... do we need to do anything about it otherewise or before flashing this particular rom (the link I have posted above)\thankss
[Galaxy Tab 8.9 Android Development] Brendo:
Yep. Advanced wipe in TWRP and tick all options. If you try to boot, it will warn that there is no os installed. I then used adb to push the flashable zips to sdcard
[Galaxy Tab 8.9 Android Development] jolinnard:
Sorry I'm late :P

If you are not planning to use 3G, it's better to flash P7310 ROMs (and kernels). As far as we know, that P7310 ROM works very well, no reboots or dead lock screens (even OC to 1400). You will not brick your tab for that.

I checked last_kmsg. As far as I know, there are no "errors", as we can see, at the end:

[ 154.174715] mif: phone_active_irq_handler: PA EVENT : reset =0, pa=0, cp_dump=0
[ 154.174971] mif: io_dev_modem_state_changed: modem state changed. (iod: umts_ipc0, state: 0)
[ 154.175230] Wake0 for irq=309
[ 163.209456] (kernel_sec_hw_reset)
[ 163.209641] (kernel_sec_hw_reset) The forced reset was called. The system will be reset !!

No errors detected

If I understand well, there are changes in modem module when device wants to wake up.... and at the end, the tab was forced to reboot (by hard button). So tab was alive, but probably the screen remained off by some reason. It's pretty clear that 3G is a mess... And it is causing a lot of bugs and issues. But it's annoying because in the kernel (modem and chipset parts) wasn't modified since ICS. Try P7310 ROM and see if you fix your issues.
[Galaxy Tab 8.9 Android Development] L3R0N:
Mobile network doesn't work in the p5 builds but a kernel update could fix that. And no your tab will not be bricked by flashing a p5wifi ROM, it will work just fine. I used the p5wifi ROM until a p5 ROM became available.
[Galaxy Tab 8.9 Android Development] phhuang:
Sorry, it still reboots again! @_@ Now I'm trying to install the P7310 ROM over my 3G tab to see if it works.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
Thank you :D there's one more thing.. when the screen automatically turns off after inactivity, the tablet reboots 1-2 times ..it happens almost always.. dont know wot is causing this..

so i ll be flashing the p7310 build now.. I guess the rom already has the kernel for that... Do I need to flash the kernel separately? bcz i dont see a separate kernel for p7310 in the OP (Ok I guess u meant the recovery :D )
[Galaxy Tab 8.9 Android Development] L3R0N:
The kernel is already in the ROM zip so there's no need for an additional one unless the OP posts a new one. Hope your problem will be solved by flashing the P7310 ROM.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
flashed p5wifi...thankfully problem solved :)

but this tablet is not a great experience..guess have to buy a new one in any case..

thanks to the dev..atleast its usable now :good:

How's ur nexus 9?cud u suggest me a good fast high res screen tablet to buy :D
[Galaxy Tab 8.9 Android Development] L3R0N:
It gets better if you over clock it and use the mod I suggested some posts back. The Nexus 9 is an awesome tablet...really it is. Great battery life, good speakers not great but good, camera is OK and screen is great. I'd recommend it any day. The Nvidia Shield Tablet is great as well but I'd recommend the Nexus any day.
[Galaxy Tab 8.9 Android Development] filipe_m:
Can you share what definitions you use on Kernel Adiutor?

I don´t have experience on over clock, and i am afraid to damage the tab (or rom)

Thanks!!
[Galaxy Tab 8.9 Android Development] L3R0N:
Under the CPU Tab set CPU Maximum Frequency to 1400mhz. Set CPU Minimum Frequency to 456mhz or 216mhz...I use 456mhz. Set CPU Governor to whichever you like...I use Interactive. Flip the toggle at the top so your settings can be applied on boot. Under the IO Scheduler tab set Scheduler to whichever you like...I use deadline. Read ahead is set to 2048 if its not then set it to 2048. Flip the toggle to run at boot. Under the Kernel Samepage Merging tab enable ksm and set to run at boot. That's how mine is set up. If you get problems then you can set CPU max freq to 1200 but 1400 should be fine since I've never had any issues with it set to that frequency.
[Galaxy Tab 8.9 Android Development] filipe_m:
Thanks,

I made the chances you suggest...

Let's see how it works. :good:

---------- Post added at 23:18 ---------- Previous post was at 22:55 ----------

After rebooting all settings back to default...

I set all to run on boot...
[Galaxy Tab 8.9 Android Development] L3R0N:
That's probably because of jolinnards figue-settings script in init.d. His script is supposed to set certain values by default. Try editing it to remove the lines the pertain to over clocking or clock speeds as well as those that set the IO scheduler. Or you can just delete it altogether.
[Galaxy Tab 8.9 Android Development] jolinnard:
Nope, figue-settings are not changing frequencies now. I personally use Kernel Tweaker, but unfortunately, I can't find it in Play Store anymore. It just works for me. I found this community if you are interested. Anyway, my init.d script can be modified and include all settings you want.
[Galaxy Tab 8.9 Android Development] L3R0N:
I have absolutely no problems with Kernel Adiutor.....it just works as well. No idea why it doesn't work for filipe_me.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
is there any other thing that needs to be done before and after flashing that zip????

before: cleat system/etc/init.d folder

flash

after: nothing

is this correct?

and I can flash that zip onto my other lollipop devices (i9100 & n700) also?

thanks
[Galaxy Tab 8.9 Android Development] filipe_m:
In the first two reboots all returned to default ...

Now everything seems to be ok and values have been maintained.

Thanks for your help !!!
[Galaxy Tab 8.9 Android Development] L3R0N:
No its OK to leave init.d alone unless you have other mods installed in which case you would have to uninstall them. If not then simply reboot to recovery and flash. When its done and your system has booted up open terminal, type su and press enter....grant superuser permissions to terminal. When that's done type LS and press enter. Note it has to be LS and not ls because they're two different things. Follow instructions as shown from there on. And yes it works on any device with any Android version so its OK to flash on your other devices. Everything is explained in the Mod's thread so you should look there for info.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
hey thanks so much..but it says in the OP of that thread that we need to clear the init.d folder before ???

and afetr 1.6 version... instead of LS we have to type "boost"

could you please please confirm :)

thankssssss
[Galaxy Tab 8.9 Android Development] L3R0N:
Clearing of the init.d folder is needed if you have other performance mods installed. If you don't have any mods installed then that's not for you. Boost is used to give a temporary boost by dropping cache and killing media server. You use LS to show the menu where you activate the desired options/scripts etc. So unless you require a quick boost then typing boost doesn't matter. As I said open terminal, type su, then type LS and follow instructions. If you have any other questions regarding this then you can send me a PM and I'll reply as soon as possible because I think we're filling this thread with unrelated stuff. :p
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
thx for the wonderful explanation... sure I will PM u for further queries.. (I, however, find question and answer posts resourceful..it helps people get answers to some ques sparing them time & effort) :) right now...the rom is pretty smooth...for a 2011 tablet uts working quite well.. kernel adiutor app is good...i have increased the min cpu freq to 760 and internal memory read ahead to max 4096 :P

no frills cpu is faster lighter and better if u only wish to change min & max freq...

I will report after installing the mod..hope to see some improvements :)

many thanks for all the help :)
[Galaxy Tab 8.9 Android Development] L3R0N:
Oh well if you think so...post your questions here then:) Glad I could help. Hope you see some improvement in performance because I have.
[Galaxy Tab 8.9 Android Development] fabduhameau:
Hello,

I've made some bench including your version (5.1).

http://xdaforums.com/galaxy-tab-8-9/general/best-rom-kernel-casual-net-video-small-t3076901

But now i have a pb. I don't succeed to install old rom like omni or nameless 4.4.4. The flash work fine but aftre reboot, it stops on logos. i use trpw 2.7.1. Do you have an idea?
[Galaxy Tab 8.9 Android Development] jolinnard:
IDK my friend. Adb logcat shows something? If you did a factory reset and flashed the right zips, should work.
[Galaxy Tab 8.9 Android Development] fabduhameau:
I try to install X times nameless 4.4.4 after a factory reset=>don't work

i install adb, activate debug, then new install of nameless 4.4.4 to see what happen and .... it works fine

There are points which should not be sought to understand sometimes!

thanks for the advice

i have update the benchmark.

Why does your 5.1 rom be so fast on I/O? 4x better than 5.0.2! it's the same Filesystem, isn't it?
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
p5 screen off restart problem

Hey.... people on other ROMs are also facing this common issue of restart on screen off...as I have been facing on p5...

here is the link to a similar issue

http://xdaforums.com/galaxy-s2/development-derivatives/rom-slimsaber-t3079949/page3

clearly the problem is with the RIL (mobile network) bcz p5wifi works well

logcat is attached there too.. u can check it as I guess the problem might be similar
[Galaxy Tab 8.9 Android Development] fabduhameau:
Jollinard, i try to install old rom:

-factory reset

-nameless-4.4.4-20141206-p5wifi-HOMEMADE=>ok

-pa_gapps-modular-pico-4.4.4-20141121-signed=>ok

-Figue-kernel-autofstab-p5wifi-v3=>Msg E:Could not create file for updater extract in '/tmp/updater'

Is there something wrong in what i do?

thanks by advance

_----------------

Edit 14 march :Solved by installing kernel v15 before
[Galaxy Tab 8.9 Android Development] L3R0N:
There are new builds of OmniRom 5.1 up in the p4 threads. Will you be porting them as well [MENTION=2002216]jolinnard[/MENTION]?
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
hey... Is there any way or any rom that includes cm theme engine...or CM roms for p5? :) Since, u follow p4 threads too.. how are the reports..is the new build good?

p5wifi for me is doing superb...great battery life....smooth...animations are off though :P and I use servicely (super app from chainfire to kill background android tasks periodically) How has been ur experience with this :)
[Galaxy Tab 8.9 Android Development] L3R0N:
The reports are good. Performance is somewhat similar to decatf's AOSP ROM which we use here. I did a quick test and it does seem to work well. 3G doesn't work on Omni for the p4 so it doesn't work here either. On my Tab 8.9 I also use the p5WiFi version and it works very well. I use the L Speed mod and it helps make the experience a whole lot better. I have no issues with video as some users here are having. There's also new AOSP builds available for the p4 as well.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
umm..i tried that mod that u seem to like so much..but I ran into issues with that..after flashing the mod..the tab started lagging and performance degraded.. I reflashed everthing without the mod.. and perf is smooth... I dunno if urs is smoother ...

that mod contains zipaligned files n all..dont ROMs already have those built in.. if No, then why do they not have it.. why dont developers build those settings right into the ROM...why wd they leave out something which wd make the rom smoother...
[Galaxy Tab 8.9 Android Development] L3R0N:
Wow....never had that happen to my tab. This mod has always improved performance for me and I've been using it from day 1. As to zipaligning, only application files are zipaligned. I have no idea why its not included in every ROM or such you'd need to ask a dev that question. The mod contains a script that is installed to init.d that will zipalign apks at boot....it doesn't contain zipaligned files.
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
yupp.. I meant that only (it zipaligns the files) I wrote that but was too lazy to retype :P

this shud be built in...for sure..maybe the devs are reading :D
[Galaxy Tab 8.9 Android Development] L3R0N:
Well apks are supposed to be zipaligned by the android build tools after they are signed. For some reason there are apps that aren't hence the need to zipalign them. Since all the apps you use don't come bundled in your ROM package and since some apps aren't zipaligned by default then its useful to have this script to zipaligned new apps that aren't. Some devs do include this zipaligning script in their ROMs and others don't.
[Galaxy Tab 8.9 Android Development] rogersa2k:
What is this "L Speed mod" of which you speak?

- Aaron
[Galaxy Tab 8.9 Android Development] L3R0N:
I'm referring to this mod.
[Galaxy Tab 8.9 Android Development] jolinnard:
I have some battery calibration issue... Very weird. Last time that happened to me, I need to pull battery completely off. Is the same issue that some of you report some days ago?
[Galaxy Tab 8.9 Android Development] fabduhameau:
I had the same issue with 5.0.2. I used an apps to a fast discharge until reboot. Then half charge, then boot,then full charge -> the PB dissapear
[Galaxy Tab 8.9 Android Development] jolinnard:
I've uploaded new decatf's AOSP ROM.

p5wifi seems stable (it includes decatf's kernel with some of my customizations, but it's NOT v11):

aosp-5.1.0-p5wifi-20150414.zip

New kernel with latest decaft's patches:

Figue-boot-v11-p5wifi-L.zip

(please flash this if you want 20150414 to run properly.

And I have a test for p5 owners. Please, flash this ROM, then gapps and SuperSU. Kernel is included.

Don't flash anything else

. If you are in decatf's 5.1, you only will need a nandroid backup, dirty flash (or do a factory reset) and see if data works and all issues are gone.

Edit: wait. I'm testing a few things. I will upload a test2 later.

Please, test and report.
[Galaxy Tab 8.9 Android Development] L3R0N:
Thanks for this....will test the p5 build and report back. Having the same battery calibration issues as you.
[Galaxy Tab 8.9 Android Development] jolinnard:
Test2 for p5 is up. I'm not sure if this will work, but it's a try :) :fingers-crossed:

As I said: "Please, flash this ROM, then gapps and SuperSU. Kernel is included. Don't flash anything else. If you are in decatf's 5.1, you only will need a nandroid backup, dirty flash (or do a factory reset) and see if data works and all issues are gone."
[Galaxy Tab 8.9 Android Development] djcasl:
Dirty flash and new kernel

Did a dirty flash of the Rom and included the V11 kernel in the process. Apps optimization takes very long. Was hanging on the first try. It continues after reboot. Will keep you posted on the rest.

Please note I had battery issues with previous version, check my other post on how I solved it, maybe that trick will work for you to.

On another note, I don't have much data issues, but I use WiFikeepAlive. Every router/accesspoint responds differently and this helps me stay connected the right way to any wireless network without any effort. Use it on my iOcean X7HD chinaphone as well.

----update 1----

Root is gone after dirty upgrade, reflashed SuperSU zip to fix

So add this to your install list as well when upgrading

----end update 1---
[Galaxy Tab 8.9 Android Development] fabduhameau:
i include this version in my benchmark :

http://xdaforums.com/galaxy-tab-8-9/general/best-rom-kernel-casual-net-video-small-t3076901#post60175873

mmm, no so good than previous one, with a pure benchmark perspective
[Galaxy Tab 8.9 Android Development] jolinnard:
I finally did a factory reset and now battery gets back to normal.

I already said that SuperSU needs to be flashed at the end. AOSP ROM doesn't include any superuser software.

Ok. I don't see much differences between last 2 versions. Thanks for the benchmarks.

Youtube finally works more or less with "Tube+ for YouTube" (it's in Amazon Appstore). It fails some times, but it's better than YouTube stock app.
[Galaxy Tab 8.9 Android Development] L3R0N:
Test 2 didn't work for me. First it gave error while flashing...a look at the recovery log showed an error while setting permissions for figue-settings because the file does not exist. Seems like you forgot to put figue-settings into init.d. I removed the lines from the updater script then flashed again, this time it flashed properly but would not boot. The tab would just go off and stay off after the Samsung Galaxy Tab 8.9 screen. No idea what went wrong there. Will try test 1 and see if it works.
[Galaxy Tab 8.9 Android Development] jolinnard:
Ok. Thanks for the test... It's a shame to have a p5wifi.
[Galaxy Tab 8.9 Android Development] L3R0N:
Its a shame to have a p5!! Cause lately its been nothing but trouble. :p
[Galaxy Tab 8.9 Android Development] XCMDOS:
hello guys ! , i have a p5 , but in the custom 5.1 tablet go on screen off for ever , then need to reboot it , so i installed p5wifi 5.1 rom , and i have installed test 2 but it's showing error in recovery then a long boot with no results , now im waiting for p5 stable Rom .

A BIIIIIIIIG THANKS FOR YOUR WORK
[Galaxy Tab 8.9 Android Development] jolinnard:
You can stay in latest p5wifi ROM. You can remove test2 (it doesn't boot).
[Galaxy Tab 8.9 Android Development] XCMDOS:
im on P5wifi now rom as i said :P

it's really smooth , battery is good , benchmark tes is 11K i think in anTuTu , in general the rom is really good , but as i said im waiting for p5 Rom to enjoy 3G and calls if it work when i travel :D
[Galaxy Tab 8.9 Android Development] jolinnard:
That will be hard... because I don't have a p5, so I can't do tests :(
[Galaxy Tab 8.9 Android Development] XCMDOS:
I can do tests for you and report if we keep in touch
[Galaxy Tab 8.9 Android Development] L3R0N:
[MENTION=2002216]jolinnard[/MENTION], I was doing some searching and saw on another forum that newer linaro builds don't bode well with the p5 so I went ahead and compiled your kernel using linaro 4.6.2 and I didn't get the issue where the screen would stay off until you did a hard reboot. It broke WiFi for me tho but maybe I did something wrong. I'm hoping you can give it another try using Linaro 4.6.2 for the p5 instead of using 4.6.4. I'm willing to test as well. I'm back to p5wifi ROM for now tho.
[Galaxy Tab 8.9 Android Development] jolinnard:
Ok. Please, try this: Figue-boot-v11-p5-L-linaro-4.6.2.zip
[Galaxy Tab 8.9 Android Development] jolinnard:
Test kernel for p5wifi v12

Well, this is a new version of decatf's kernel. This time I merged UKSM patches and disabled a lot of debug stuff. Also unstable CPU governors are disabled and it's -O2 now (disabled optimization for size). It feels very good (14990 in AnTuTu... but I don't know if the numbers are important. Used 1400/216 MHz, Nightmare, deadline, 1536 kB read-ahead, dynamic fsync off).

Figue-boot-v12-p5wifi-L.zip
[Galaxy Tab 8.9 Android Development] jolinnard:
New AOSP 5.1.1

Here is new Android 5.1.1 AOSP ROM from decatf. ROM has new kernel (v13) included.

decatf's announcement

Alert for p5 users: new kernel included in this ROM has untested patches, so please, give me your feedback ASAP if something is wrong. Build with Linaro 4.6.2.

aosp-5.1.1-p5wifi-20150423.zip

aosp-5.1.1-p5-20150423.zip

New kernel v13: (already included in 20150423 release)

Figue-boot-v13-p5wifi-L.zip

Figue-boot-v13-p5-L.zip
[Galaxy Tab 8.9 Android Development] Siddarth Malik:
we use the prev gapps?
[Galaxy Tab 8.9 Android Development] jolinnard:
Yes.
[Galaxy Tab 8.9 Android Development] XCMDOS:
will test now for p5 :D thanks a lot again