yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] decatf:
Thanks!

Thanks. This is the only random reboot that I've encountered myself. The stack trace is inside the boat.oat file. In other words the ART generated binaries. I haven't been able to figure out how to debug these.

Is your tablet overclocked when the hard reboots happen? Is it undervolted?

The fact that the last_kmsg isn't stored might suggest a hardware fault. The kernel is supposed to go through the failure paths on userspace problems. The userspace should not be able to hard crash the kernel without anything logged. Recreating a process on rotation does not touch the kernel level stuff as far as I know.

You don't need to post the smp_call_function_many/single stack trace. That always appears on a normal shutdown/reboot for some reason. It's on the last calls before the kernel shutdown so it doesn't matter anyways.

Camera and flash light are broken. There is no fix right now. Please stop spamming me messages.
[Galaxy Tab 10.1 Android Development] forrestgump2000:
It's not overclocked or undervolted. Everything is stock as far as I can tell. Would it be worth attempting to overvolt or underclock to regain stability?
[Galaxy Tab 10.1 Android Development] TL17:
Warning and Installation aborted

I'm stuck. I'm new to this kind of thing but I don't think I'm doing anything wrong The warning I get is "Warning: No file_contextsThis package is for "p4wifi" devices; this is a "p7510". Please let me know what else I can do
[Galaxy Tab 10.1 Android Development] DrGirlfriend:
[MENTION=4404851]decatf[/MENTION], "The stack trace is inside the boat.oat file", did you mean "boot.oat" - Mr Google tells me dextra might be the tool to dig with. I'll look into it.

In other news, I hang out in the nexus 7 2012 forum for my father-in-law's tab and there is much similar work going on there to keep these abandoned tegra 1GHz turtles running smooth. I'm checking into a tweak zip from parrotgeek1 referred to as ParrotMod (in the original android section). Unfortunately, he calls it a rom but it isn't a build or even a kernel, but a bag of performance settings that seem to bring a very noticeable speed/smoothness experience to the user. I've looked into the zip and manually applied many of the eMMC performance tweaks to my tab just to see for myself. He gives good external references in comments in the scripts and it seems he's just pulled together various recommendations into one root script. It's not very deep or mysterious and I think you miht be interested in possibly defaulting some of these into your next security update build, maybe as an experimental side build to see if our thread's users are as blown away as the nexus 7 2012 users are.

Just when all the awesomeness seems to have been achieved, another kick in the pants, perhaps...
[Galaxy Tab 10.1 Android Development] 2820:
it is recovery problem. use twrp 2.8.7.0 and flash the rom.

Recovery installable:

twrp2870-20150814-p4wifi.zip

Odin flashable:

twrp2870-20150814-p4wifi.tar.md5
[Galaxy Tab 10.1 Android Development] decatf:
Those are all options that can be customized by a user as you have done. I won't bake it into the ROM unless there is something more than subjective measurements. If it were that simple to reduce lag or find speed ups then the Android developers would have included it in the source code a long time ago.
[Galaxy Tab 10.1 Android Development] DrJayC:
I'm using the 0314 p4wifi (and wifi does now work) with the TRIM kernel. Everything I use seems to be working just fine. THANKS!!
[Galaxy Tab 10.1 Android Development] decatf:
Build 20160326

The ART Optimizing compiler works on this device now (except with Xposed). For this reason, the default is still the Quick compiler.

If you want to use the Optimizing compiler then edit /system/build.prop and change this:

dalvik.vm.dex2oat-flags=--compiler-backend=Quick

to this:

dalvik.vm.dex2oat-flags=--compiler-backend=Optimizing

Then wipe dalvik cache and reboot.

Again, it does not work with Xposed because that replaces ART with it's own version.

Changes:

project art/
20c3c84 Revert "Optimize double/float immediate loading on arm."
8037a8d Re-enable VFPv3-D16 register definitions
d53de19 Disable clang for art compiler on target
project device/samsung/p4-common/
f19dec3 p4-common: Use dalvik.vm.dex2oat-flags to specify backend
0cc66dc p4-common: Remove unused flag
84f022f p4-common: Tweak ksm settings
project frameworks/av/
111a9b9 Revert "mediaplayer: remove use-awesomeplayer developer option"
project frameworks/native/
f1b88cd Configure tablet dalvik heap for 1GB mdpi device
project kernel/samsung/p4/
2b12c4b pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic
16a60d8 Squash revert Android timerfd support
24bcc61 Android alarm-dev from android-3.4
f519a62 defconfig: enable android-3.4 alarm-dev
4ab42f7 p4_battery: Fix timer slack
7dbdfb5 ARM: 7006/1: Migrate to asm-generic wrapper support
f2b70ff ARM: 7493/1: use generic unaligned.h
33e4372 asm-generic: allow generic unaligned access if the arch supports it
a998f78 Revert "Revert "video: tegra: remove free memory check""
project packages/apps/Settings/
98144ac Revert "developer settings: remove "Use deprecated AwesomePlayer" settings"
project system/core/
6b5492a healthd: increase healthd fast timer to 10mins instead of 1min
[Galaxy Tab 10.1 Android Development] Tobbi_:
Hey,

after trying the above, the device just crashes after booting. I had to get back to the Quick compiler to fix this. Is anyone else having this problem or is there anything I can do to help debug this?

Thanks!
[Galaxy Tab 10.1 Android Development] decatf:
Install adb.

(http://xdaforums.com/showthread.php?p=48915118#post48915118)

Run this to capture the logcat during boot.

adb logcat > logcat.txt

Attach the logcat.txt file here.
[Galaxy Tab 10.1 Android Development] Tobbi_:
Hey,

sorry for going crazy. After trying to replicate the issue a second time, flashing and starting worked just fine. So, consider the issue resolved, whatever it was in the first place.
[Galaxy Tab 10.1 Android Development] bosone:
Thank you

decaf

I just wanted to thank you for your excellent work. You made it possible to continue to use this device a lot longer than I had expected. Unfortunately my Tablet got stolen on Saturday, so I have to switch to something else. I am sad about this. But then again, thank you for what you did.

Bosone
[Galaxy Tab 10.1 Android Development] tiberian41:
p4wifi (GT-P7510). Dirty flashed Build 20160326 only over Build 20160206 (with Neo-Modified-open-gapps-arm-6.0-pico-20160304), wiped cache, dalvik cache, then rebooted and enabled Optimizing compiler. So far, so good. Many thanks [MENTION=4404851]decatf[/MENTION], will monitor and advise if I encounter any problems.
[Galaxy Tab 10.1 Android Development] AmadeusAckermann:
Where is my Ram

Hi guys, thanks for the rom.

I habe a "small" problem. When i go into setting and take a look at the "RAM" Android says that i only have 712 MB (all togeter) and only 143 MB is free. I thought the 10.1n has 1 GB of "Ram". Did i made a mistake?

REALY THANKS A LOT.
[Galaxy Tab 10.1 Android Development] DrGirlfriend:
How NOT to dirty flash 20160326

I've been combining decatf's TRIM kernel with this rom on f2fs /data and /cache with some OC thrown in for a great level of usability. This latest build 0326 I dirty flashed, flashed the PREVIOUS kernel (I forgot the build date), flashed supersu, wiped cache/dalvik and reboot. I passed on optimized ART, sticking with quick.

Well, that was a mistake leading to strange complete freezes including inability to power off the normal way, even with no OC. If you are taking advantage of the ability to fstrim, make sure to keep the builds of the rom and kernel together. I reflashed 0326 rom, skipped any TRIM kernel replacement, flashed supersu, wiped cache/dalvik then changed to Optimized dalvik in TWRP (remember good old 'ed' from command line?) and reboot. All is well now and I'll post-flash the latest TRIM kernel, 0326, and report back (although fstrim needn't be run much beyond the big first time, so always replacing the kernel every build is a low priority). If/when our fearless developer [MENTION=4404851]decatf[/MENTION] promotes the TRIM kernel to this rom's daily driver, we won't need to monitor such build syncs. In the mean time, stay synced.

Perhaps some more users of this rom could flash his TRIM kernel on top and help out getting more testing done over there.

Thanks again for a such solid rom.
[Galaxy Tab 10.1 Android Development] hrom-memory:
Could someone give me a link for instructions how to flash that thing with TWRP? I "found" a "brand new" tab.

So far i found the odin thing, however i don't have windows. Can't i just use fastboot?
[Galaxy Tab 10.1 Android Development] DrGirlfriend:
I started Googling for you but realized you can do that yourself - lots of info out there, root for stock, twrp recovery.

Please don't ask others to do your research - we all got to where out tabs are in different ways.
[Galaxy Tab 10.1 Android Development] hrom-memory:
I just wanted a hint if anybody has some. Of course i googled by myself. Figured out that i have 2 possibilities. Either i flash with the onboard recovery, or i use odin. Now for odin you would need an Windows machine. Lacking of one i also found Heimdall, an open reimplimentation of the odin protocol, wich deb package runs well.

So my approach would be, flash the given twrp by odin/heimdall or even try to flash it with the onboard recovery. However, because most of the sources i found used the odin approach, i would try that first, since it seems to work.

The only thing what bugged me was that all instructions were from the year 2014. Given the tablet's age, it is a normal thing, however i might have overlooked something, that you guys know or just do better. I am not that familiar with android stuff. I usually deal with an desktop environment. Therefore nice clear instructions are handy.

But thank you for your answer. I reread my question and you are absolutely right. The way i asked was really stupid, it sounded very much like i try to make others work for me.

Maybe a last question. (yes i can find out by myself, but this time i know, you know it better!) Where do you keep your zip files of the rom, gapps, and supersu during the flash procedure? Usually i have them on an external microSD. But this tablet has none. Is data partition sufficient? I don't trust this partition, last time it screwed up my access rights.
[Galaxy Tab 10.1 Android Development] decatf:
Your RAM didn't go anywhere. It's always been like this.

256MB reserved for the GPU

25MB reserved for the framebuffer

2MB reserved for the logger and kexec

712 + 256 + 25 + 2 = 995MB

I guess there's probably a bit more that's reserved elsewhere.

It doesn't matter which method you use to install TWRP. Most instructions from 2014 probably still apply. Nothing has really changed over that time.

Copy the zips to the data partition. The only other option is if you have a USB adapter.

Install the recovery. Do a full wipe of system, data, and cache then reboot into recovery again. Copy the zips on the device and install them.
[Galaxy Tab 10.1 Android Development] R4INS:
Dusted off my p4wifi, checked XDA and holy crap 6.0 on this old thing? Needless to say I had to try it. Highly impressed with the speed of it and the legwork to get it to work in the first place. Awesome job OP.

Also, who cares about the camera. I say leave it broken. Don't be one of those people who takes pictures out in public/at a concert with a tablet...
[Galaxy Tab 10.1 Android Development] frodoswaggins:
Since the tegra drivers are so old, would I see a benefit from installing 6.0 vs 5.1 vs 4.4 vs 3.2? Would applications still be compatible with 3.2? I jave an older version of this rom flashed but it seems almost impossible to go back to stock as nobody has the stock rom laying around.
[Galaxy Tab 10.1 Android Development] rtiangha:
Honestly, most of the hardware is functional in 5.1. In 6.0, video recording and the camera flash don't work.

As for stock ROMs, you can still get the official Samsung 4.0 ROM from samsung-updates.com. The original Honeycomb ROM is harder to find.
[Galaxy Tab 10.1 Android Development] DrWoodStein:
Speed Tweaks

Hi guys

Still loving this ROM!!

Anybody have any suggestions or tweaks to squeeze a bit more speed out of this old hardware?

Using SetCPU to overclock, and that helps.

Anything else good to try?

Thanks to all
[Galaxy Tab 10.1 Android Development] frodoswaggins:
But if the tegra drivers are broken above lollipop, I wonder what kind of performance you would get with a 3.2 rom with a newer kernel. Like I said I have always wanted to try but never could find a download link that was still in working order. Samsung kies wouldnt even try to take me back to stock. Good rom though. I normally uninstall all the phone/messenger apps. Everything that I would never need for a tablet gets removed. You can even manually download your apk's and you wouldnt need gapps running at all. You can get some serious ram back. The bummer is things like webm videos on 4chan only work with certian browsers and are very laggy. Then some heavy websites that I use for work run great.
[Galaxy Tab 10.1 Android Development] pelelademadera:
why dont you try?

I tried 4.04 with kernels and performance are really bad in 3d apps, in general are better, but with all bloat frozen...
[Galaxy Tab 10.1 Android Development] 4r44444:
Wow the new build is very good, I can look videos up to 720p with very light lagg only.

I use this ROM + LSPEED + TRIMkernel, CPU 1,6 Ghz OC, Scheduler: FIOPS

I want this Device get even more tweaked, any tips from you guys? Battery doesn't matter, only speed tweaks.
[Galaxy Tab 10.1 Android Development] 4r44444:
MTP doesn't work for me. If I put usb cable in and connect with PC nothing happens at tablet except USB-Loading and also no Window with Tablet opens at Windows. I enabled MTP in developers option. Windows 10 x64
[Galaxy Tab 10.1 Android Development] jixbo:
I have tried the ROM for the wifi only model and it works great! I found one problem:

I don't get software keyboard on the first boot. I skipped the wifi configuration, and when checked hardware keyboard configuration looks not enabled, but when I enable it I start getting the software keyboard! With that, the tablet works fine.

I also couldn't root it with last supersu, but works fine with 2.52.

Thank you very much.

Cheers.
[Galaxy Tab 10.1 Android Development] UncleDick:
The keyboard is item #7 of the installation instructions on Page 1 of the discussion.

It gets me every time because Android wants to set up the WiFi connection

before

there is any keyboard input (which means the password cannot be keyed in) and

before

there is any chance to set up the keyboard.

My plan is to "dirty flash" the April release, to avoid reloading software, etc. I believe that may leave the keyboard settings alone. (I use SwiftKey).
[Galaxy Tab 10.1 Android Development] 4r44444:
I have a crazy "bug" when I turn off or restart the tablet, moments after I push "turn off" display going black and a strange, very loud and pitchy sound comes up and doesn't stop. It only stops if I long push Power button and hard restart tablet. Any body else? GT-P7511
[Galaxy Tab 10.1 Android Development] daneal2u:
I did face the same problem on older mm roms. Now perfectly fine:good:
[Galaxy Tab 10.1 Android Development] 4r44444:
I use the latest Version.
[Galaxy Tab 10.1 Android Development] decatf:
During Setup Wizard you can tap the keyboard icon on the bottom right to enable it.

Next time it happens boot the tablet again and use Syslog to save the Last Kernel Log. Then send me the kernel log.
[Galaxy Tab 10.1 Android Development] 4r44444:
Thx for fast help, I did reflash the ROM, now it doesn't appear. If it appears again I will post logs :)

And thx decatf for your hard work to get out the best of my old Tablet. If your ROM wouldn't be it would be already in Trash I guess :)

---------- Post added at 01:09 PM ---------- Previous post was at 01:04 PM ----------

All people who have hard laggs with this ROM or Laggs by playing videos this are my Settings in Kernel Auditor for anti-lagg:

- CPU Min freq. 312Mhz

- CPU Max freq. 1600Mhz

- CPU-Governor - Interactive

- I/O Scheduler: fiops - read-ahead 512kb

- Z-RAM 210mb

-----------------------------------------------------

Also I use the app "L-Speed" to optimize even more.

----------------------------------------------------

Also I use f2fs Filesystem in /Data/ and /cache/ and TRIM-Kernel

-------------------------------------------------------

I think it's possible to get even more out of this tablet if finetune kernel settings but since I'm not pro I don't know what else I can change. Greetings
[Galaxy Tab 10.1 Android Development] mop09737:
Thank

This rom made my old tablet reborn again.

Thanks! :good::good:
[Galaxy Tab 10.1 Android Development] ENRIQUEMM:
Clean install and error when flash the ROM, images show low quality. Random reboots . any idea?

Sorry my bad english
[Galaxy Tab 10.1 Android Development] Elektron60:
Android Backup to Google-Drive not working

I will use Androids Backup to Google-Drive but it is not working.

It says under "Backup & Restore" "Account" - "Backing up to debug-only private cache" in grey.

Is this normal or do i have a wrong Setting.

I used the latest version for P4wifi.

Hope this Question is not soooo dummy.

---------- Post added at 07:04 PM ---------- Previous post was at 06:23 PM ----------

I answer my question by my self:

I do:

adb shell bmgr transport com.google.android.backup/.BackupTransportService

Make a reboot and it works!
[Galaxy Tab 10.1 Android Development] DrWoodStein:
Day 2 on the new build. Looking great! Thanks decatf!
[Galaxy Tab 10.1 Android Development] sabaysal:
Hi,

thanks for this awesome rom, I almost abandoned this tablet (p4) but not it has found new life. (Sim slot hardware is faulty, battery less than good but otherwise is as good as new. ) I recently flashed the build of the 14th April and I noticed the weirdest bug ever.

1. Inserting a headphone jack to its receptacle does not result in audio being redirected to the headphones, no sound from headphones, or sound still comes from speakers on the sides of the tablet.

2. Docking the tablet to its keyboard (original accessory) results in audio volume being pushed all the way up, with manual lowering of the volume not working (it only works while your finger is still on the slider, after that, it immediately returns to all the way up)

3. While still docked, if I insert the headphones jack, volume slider works as expected, but still no audio from the headphones, only from the speakers.

Previously, docking disabled all audio (the keyboard I have does not have any speakers but the tablet assumed it did, I think, and tried to redirect audio to keyboard speakers, which didn't exist), so that's improvement. :) thanks again. :) physical keyboard still doesn't work in any way, although wireless keyboard and mouse works normally (with adapter). I guess I shouldn't really expect it to work because even on stock rom, physical keyboard required samsung keyboard to be actively selected (or it forced it active).
[Galaxy Tab 10.1 Android Development] jaibar:
Was it really needed to quote the whole full OP to ask these questions?

Please edit your post, for the sake if people browsing from smartphones, xda app, Tapatalk and the such. Thanks for your consideration.
[Galaxy Tab 10.1 Android Development] sabaysal:
Editing on the tablet with a browser is just as hard, but I did it anyway before seeing your post. (I didn't know quick reply quoted, I think that's counter-intuitive)

should I attach syslog logs or is it too low a priority on the to do list?
[Galaxy Tab 10.1 Android Development] bobtelco:
home button and multitask button not working???

My home and multitask button are not working?

I did a complete wipe and new install.

I have to use the back button to back out of everything to get back to the launcher
[Galaxy Tab 10.1 Android Development] Reggy Noble:
What Gapps you guys are using?

I tried almost all, Pico, nano, stock. ..and I'm still getting services force close
[Galaxy Tab 10.1 Android Development] andrea.granieri:
guys i need you help!

i ve this tablet, the 3g model (gt p7500)

i've installed the rom but without supersu and now i don't know how to root the tablet because kingo root or apk like this doesn't work! how can i solve?

thanks!!
[Galaxy Tab 10.1 Android Development] PowerDK:
I am using Pico Gapps. There has been some issues and there is a Neo modified Gapps see post 212. The latest I have used are from March 29th.

Sendt fra min SM-G920F med Tapatalk
[Galaxy Tab 10.1 Android Development] Reggy Noble:
Thanks mate,

With your settings my tab is almost flying ;)
[Galaxy Tab 10.1 Android Development] bierma32:
Flash SuperSu.ZIP V2.52 from chainfire with your Recovery.
[Galaxy Tab 10.1 Android Development] folgui:
Same here :( Any fix ?
[Galaxy Tab 10.1 Android Development] OlMightyG:
When I try to download something the browser keeps crashing immediately.

And: Can I install the wifi version on a 3G version? I am not using 3G on that tablet anymore.
[Galaxy Tab 10.1 Android Development] npettex:
Hello,

For the browser crash, look at the OP FAQ and others notes. It has to do with permissions to acces storage.

Hope it helps. ☺
[Galaxy Tab 10.1 Android Development] OlMightyG:
Thanks, I was blind. Did not see it.

So here is how I get it play the HQ Youtube videos without stuttering:

-You will need root and Kernel adiutor (or some app that allows the following changes):

-As mentioned: Min CPU 312 MHz, Max CPU 1400 or 1600 MHz

-Interactive governor

-I/O Scheduler: row

Thats it. No stuttering.

Furthermore this ROM has got excellent battery time!
[Galaxy Tab 10.1 Android Development] mistersixt:
Same here ... still no fix available as far as I can see? Any workaround maybe?

Kind regards, mistersixt.
[Galaxy Tab 10.1 Android Development] tuxfusion:
Candy Crush Saga : crash on start logcat: http://pastebin.com/3V3qB7xm

Antutu Benchmark "Your hardware does not support this application.." : http://pastebin.com/JiJC2Uwd

On ICS Antutu ran just fine.

Both logs have this prompt about EGL, good/bad ? are we using bad internal libs instead of shipped libs ?

News: **** Unity 5 : )

http://answers.unity3d.com/questions/916479/unity-5-why-android-device-that-meets-minimum-requ.html
[Galaxy Tab 10.1 Android Development] 4r44444:
Anybody have idea how I can look movies on Google Movies - I also get error all time I wanna play something "device not supported"
[Galaxy Tab 10.1 Android Development] 4r44444:
Do you think ROW is better than FIOPS?
[Galaxy Tab 10.1 Android Development] olest:
Cast not working

Hi,

I have installed the ROM today.

When I try to Cast the screen to chromecast it restarts the tablet - can it be fixed?

(If I cast from within an app cast works fine)
[Galaxy Tab 10.1 Android Development] Reggy Noble:
I have a serious doubt on what you are saying :D

Which app cast works fine????
[Galaxy Tab 10.1 Android Development] olest:
If I send to Chromecast from Settings -> Screen -> Cast then the tablet restarts.

If I send to Chromecast from the app "DR TV" it works fine.
[Galaxy Tab 10.1 Android Development] mauwri37:
me too sometimes the tablet will restart the android written , ( 1400 MHz ) this even three times in a day
[Galaxy Tab 10.1 Android Development] OlMightyG:
Tested it. Makes video stutter.

I have to say, that batterylife in standby is insane with this ROM!
[Galaxy Tab 10.1 Android Development] 4r44444:
Yeah lol I didn't use tablet for like 1 week and stil 70% battery wtf.
[Galaxy Tab 10.1 Android Development] OlMightyG:
Yeah, even with activated Wifi... :laugh::laugh::laugh:
[Galaxy Tab 10.1 Android Development] npettex:
Hello,

Can you indicate what options did you select within L-Speed. They are many !

On my tablet selecting 1500 or 1600 Mhz causes an instant freeze: I need to hard reboot. Thanks.