yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] ago1024:
I've had Goggle Play services crashing with the ROM and gapps from April, even after doing full wipes. I've tried the google play services from apkmirror, the current ROM and current gapps. All crash with SIGBUS.

I can get it to crash pretty easily by opening the Google now app. As soon as it's trying to get the location the google play services crash. It's stable once I clean the app cache but the crashes start again after rebooting.

F/libc ( 4215): Fatal signal 7 (SIGBUS), code 1, fault addr 0x485684ce in tid 4271 (NetworkLocation)
I/DEBUG ( 133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 133): Build fingerprint: 'samsung/p4/p4:5.1.1/LYZ28E/username07171913:user/test-keys'
I/DEBUG ( 133): Revision: '14'
I/DEBUG ( 133): ABI: 'arm'
I/DEBUG ( 133): pid: 3779, tid: 3813, name: NetworkLocation >>> com.google.android.gms.persistent <<<
I/DEBUG ( 133): signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x46dfbe9e
I/DEBUG ( 133): r0 13155318 r1 46dfbea6 r2 00000000 r3 00000087
I/DEBUG ( 133): r4 00000010 r5 592b0870 r6 592b0874 r7 46dfbcd8
I/DEBUG ( 133): r8 00000008 r9 00000080 sl 000001c6 fp 00000001
I/DEBUG ( 133): ip 13155310 sp 592b07fc lr 46dfbe9e pc 427fd61c cpsr 000f0010
I/DEBUG ( 133):
I/DEBUG ( 133): backtrace:
I/DEBUG ( 133): #00 pc 0003061c /system/lib/libjavacore.so
I/DEBUG ( 133): #01 pc 0003076c /system/lib/libjavacore.so
I/DEBUG ( 133): #02 pc 00279ff5 /data/dalvik-cache/arm/system@framework@boot.oat
I/DEBUG ( 133):
I/DEBUG ( 133): Tombstone written to: /data/tombstones/tombstone_08
[Galaxy Tab 10.1 Android Development] aamadorj:
I know there has been a lot of reports about this kind of issue for other devices, a while ago. It seems this commit help to fix them, just in case it's not included already. Aditional information here.
[Galaxy Tab 10.1 Android Development] AndreyGoo:
Few days ago I updated Skype via GPlay store. Now video and voice calls dont work - error showed 'unfortunately skype stopped' when starting call connection. Before that update Skype was working without issues.

Is anybody facing the same? I did clean reinstall of the rom but it didnt help.
[Galaxy Tab 10.1 Android Development] decatf:
Build 20150723

I added the commit that [MENTION=2280111]aaamador[/MENTION] posted. It probably fixes it but I can't confirm it because despite re-installing multiple times the Google services crash never happens for me.

Change log:

project kernel/samsung/p4/
8402aaf ARM: missing ->mmap_sem around find_vma() in swp_emulate.c
4f8f9f2 ext4: fix memory leak in xattr
f662c201 Revert "SCHEDULER: Autogroup patch group by current user android UID instead of task ID"
f6c7ac3 cpufreq: interactive: Align timer windows for all CPUs
25d9b61 cpufreq: interactive: Reset last evaluated jiffy in idle callback
e803dc2 cpufreq: interactive: Round up timer_rate to match jiffy
32c73e9 Graphite optimization kconfig option
5518b30 defconfig: enable graphite optimization

project libcore/
8cb50cb Remove forced alignment code.
[Galaxy Tab 10.1 Android Development] ENRIQUEMM:
After installing the latest construction dirty , the error does not appear google services .:bien::bien:

Thanks [MENTION=4404851]decatf[/MENTION]
[Galaxy Tab 10.1 Android Development] jaibar:
Thanks!

I was just frustrated of having the frequent Google services crash, so wanted to revert to my latest nandroid. However, after trying to restore backup for second time (after wiping everything first), I was facing bootloop again so was forced to make a clean install.

No biggie, but I find it a little disturbing not being able to trust the recovery- I always consider it as a safety net- no matter how I mess things, it'll always be there for the rescue..

I'm using twrp2.8.7.0 from OP. Will try to fetch recovery logs once I manage to boot the device..

I'm curious if someone else has similar problem (all md5 verifications passed ok), or maybe the problem I faced has other reason (e.g. xposed framework related?)
[Galaxy Tab 10.1 Android Development] twhansen:
I have experienced the same thing. And yes, it's very disturbing.

Sendt fra min HTC One M9 med Tapatalk
[Galaxy Tab 10.1 Android Development] dlmetzger58:
[QrUOTE=ENRIQUEMM;62012183]After installing the latest construction dirty , the error does not appear google services .:bien::bien:

Thanks [MENTION=4404851]decatf[/MENTION][/QUOTE]

Same for me, thanks so much for fixing this!
[Galaxy Tab 10.1 Android Development] aduhai:
Build 20150723

When switchings on thetering hotspot, it becomes on and off intermittent.
[Galaxy Tab 10.1 Android Development] JaimeTG:
Thank you decaff!

I just brought back to life/use my first tablet. Great work.

Have a couple of beers on my name. Cheers!
[Galaxy Tab 10.1 Android Development] dihoc:
Same here. Very smooth with 0723 rom. Thanks decatf
[Galaxy Tab 10.1 Android Development] JS_racer:
How does this compare to Omni 5.1.1 by Account??

Currently running that on my wifi 10.1 tab

Thanks
[Galaxy Tab 10.1 Android Development] ago1024:
20150723 works well. No crashing of google play services.
[Galaxy Tab 10.1 Android Development] rtiangha:
I just flashed the latest version and here are a couple of minor issues I've noticed off the bat for the 0723 p4tmo version:

- Android Version in the About page of Settings lists p4 instead of p4tmo

- AF Wall+ lists /etc/init.d support as disabled (I've never seen that happen before in previous versions)

I'll edit the post if I notice anything else.
[Galaxy Tab 10.1 Android Development] AndreyGoo:
Hey [MENTION=4404851]decatf[/MENTION],

fyi, I flashed omni rom (3g 24/05 version) and latest skype works without issues. Could you please check the reason why skype doesn't work correctly on your rom - if you need any logs please let me know.
[Galaxy Tab 10.1 Android Development] Dr. Dose:
First, I don't own Galaxy Tab 10.1 device, only installed this rom on a friends Tab. But I own a Galaxy S2 and we faced similar issues with Skype. In our case it was toolchain related. If I remember correctly, [MENTION=4404851]decatf[/MENTION] wrote a few posts back that he used SaberMod for the last build and, in our case on S2, that makes the trouble. According to this post the problem is that CameraProxy is running at startup and crashs Skype. So it seems Camera is involved in this conflict. But when you try to open Skype on a Linaro or pure GCC build, it starts without a crash (according to user reports, not tested by me). As an addition I have to say that some more users report even crashes on WhatsApp when trying to open Cam on a build made with SlimSaber. The thread is about an Sabermodded Android 4.4 build, but I read at some points in the thread for same rom based on Android 5.1.1 that users are faceing the same issues (as I said, all roms I am talking are made for my Galaxy S2).

Furthermore some users of decatf builds complained about crashing GooglePlayService app. That could be related to some toolchain configs/flags, too. My sabermodded rom faced this issue after GooglePlayServices updated itself. According to this post it was related to "O3" flag optimization for TARGET_thumb. Dev changed it to "Os" and the problem was gone (so it is more workaround than a fix).

So my simple conclusion would be that decatf could probably provide a pure GCC build without optimzations and users could report if the reported problems still persist. At least this would narrow the reason for the problem down.

I don't know if this little input helps to solve these crashes, also I want to say that I don't know much about building roms and useing toolchains for android, but I am a silent sneaker for 4-5 around here on XDA, mostly giving a tons of thank and writing not much. But if you I could do any tests or provide logs, contact me and I would ask my friend to get his tablet for a couple of hours.

Anyway, thanks for your efforts on maintaining this rom!
[Galaxy Tab 10.1 Android Development] decatf:
It's not the toolchain. The 20150628 build is compiled with the stock Google GCC 4.8 toolchain and Skype calling also crashes on that.

I came to the same conclusion as this post. Skype is using the Jellybean code path on this ROM. The bug is with whatever method Skype is using to detect the Android version.
[Galaxy Tab 10.1 Android Development] lilferraro:
[MENTION=4404851]decatf[/MENTION] I was wondering if I could run this rom with multirom because of your twrp partition mod warning
[Galaxy Tab 10.1 Android Development] decatf:
Build 20150729

- The buggyness when toggling USB tethering should be fixed.

- The updated CM-12.1 audio/video frameworks includes the patches for the recent Stagefright vulnerabilities.

Change log:

project device/samsung/p4-common/
52ee2e9 libstagefrighthw: add libstagefrighthw for tf700t/tf300t tablets

project external/f2fs-tools/
ef77a4a mkfs.f2fs: set encryption feature
d07544c fsck.f2fs: show superblock features and encryption info
bcf54d1 dump.f2fs: show i_advise field in inode
ac43c66 fsck.f2fs: avoid build warning
e48773e fsck.f2fs: add hash conversion for encrypted dentries
f9cb4b2 fsck.f2fs: select to update the latest valid summary
da3931d fsck.f2fs: drop extent_info to avoid potential wrong access

project external/ffmpeg/
56bedf7 Update to ffmpeg 2.7.2

project external/libavc/
87ad734 Merge "Don't set -mno-avx"
3c192ea Merge "Mark arrays of pointers as const"
9fbffcf Don't declare variables after statements
f080d51 Fixed encode of single frame
d0603c3 Merge "Remove the now unused stride field from the set dimensions struct"
a306c95 Merge "Fixed encode of trailing B frames"
cc58d3f Check the width/height and adjust level used for RC
08e68e8 avcenc: Initialize avg_time
8e78e30 Make sure that apv_bufs[0] and u4_is_last always are set
0fee948 Use INT_MAX as i4_max_sad in ih264e_evaluate_bipred
9c6a2f7 Cabac optimizations
b7d5bb5 Fixed issue in cost computation for BIPRED ME
5696adb Validate the u4_entropy_coding_mode field
634567f Merge "Always do recon of 4x4 intra blocks"
aad4587 Made gops closed
1cd52d6 Merge "Don't use side effects in the macro PUT_BITS_SEV parameters"
90bd045 Decoder: Fixed issues shown by Valgrind

project external/stagefright-plugins/
df31683 Revert "stagefright-plugins: Restructure the code"

project frameworks/av/
f481ae6 Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
181e02c Fix TF101 workaround for NVOMX plugin crash
7e07312 Remove TF101_OMX
512a42f Revert "stagefright: Move a bunch of FFMPEG stuff out of here"
21b5b3e Revert "stagefright: Add support for loading a custom OMXPlugin"

project frameworks/native/
47b6110 Revert "Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS"
f96eb86 Revert "Revert "Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS""

project vendor/samsung/p4/
2a4f1c8 Remove stagefrighthw.so

project vendor/samsung/p4wifi/
676d1c0 Remove stagefrighthw.so
[Galaxy Tab 10.1 Android Development] SearchEngine:
Videos are still lagging on lollipop??

Στάλθηκε από το GT-P7510 μου χρησιμοποιώντας Tapatalk
[Galaxy Tab 10.1 Android Development] Gaspoune:
How to switch off thé tab

Hi,

Thank you for this lovely ROM, my P7510 is fresh new with thé 23 rd update.

I have one single issue: i can't turn off the tab. From the dedicated menu, i choose the option. But the tab goes into a loop. :rolleyes: is it known issue?

Another issue : i faced one deep sleep issue today: is there a way to fix it?
[Galaxy Tab 10.1 Android Development] Bjarne73:
I had the same issue. Tried to turn it of and the first time it rebooted instead. The second time it went looping.
[Galaxy Tab 10.1 Android Development] Gaspoune:
Since my last message, I realised that the same happens when I choose 'Reboot' (normal or recovery): bootloop with the pop-up 'rebooting' or 'switching off' message. Until I hard reboot the device.

I have the latest TWRP release.

Bjarne, have achieved to fix the problem?
[Galaxy Tab 10.1 Android Development] Bjarne73:
Nope. My solution is to never turn it off. ? Since i got it in 2012 I only turned it of five or six times, often when Im about to fly somewhere. ?
[Galaxy Tab 10.1 Android Development] decatf:
I don't know of any such issue like that.

Did it do that in previous versions of the ROM?

Which version of the device do you have (p4/p4wifi/p4tmo) ?

Are you using SELinux in Enforcing mode?

It could help if you post the last kernel log. You can do this by doing a shutdown but instead of letting it boot the system again, press the volume up + power button to boot into recovery. Then transfer the last kernel log to a computer but running adb pull /proc/last_kmsg.
[Galaxy Tab 10.1 Android Development] Kaherdin:
2015-07-29 build

I'm trying to make HBO play nice on my beloved tab.

The first couple of seconds playing any stream works well, but then the Lagging begins.

Have been trying all the Development settings for Video but without success.

Anyone got any suggestions?

Peace

LG G2 D802
[Galaxy Tab 10.1 Android Development] Skippernl:
Just wanted to say thanx for keeping this device alive

Verstuurd vanaf mijn p4wifi met Tapatalk
[Galaxy Tab 10.1 Android Development] Gaspoune:
Thank you for your support.

It's the first time I see this kind of behaviour on my tab.

I am on a p4wifi. What is SELinux?

To be crystal clear, I have installed on top of CM10 the TWRP 2870, then wipe (cache, dalvik, system), installed aosp-5.1.1-p4wifi-20150723, then the gapps p75xx-gapps-L-7-17-15 . Reboot the device, and afterwards ChainFire SuperSU .

I was away during the week-end, I will try on the tab to get the kernel log tonight.
[Galaxy Tab 10.1 Android Development] eushaun99:
Check Settings -> About. Unless you flashed the SELinux enforcing zip from OP, then your SELinux should still be permissive.
[Galaxy Tab 10.1 Android Development] decatf:
Did you wipe data too?
[Galaxy Tab 10.1 Android Development] Gaspoune:
oops, I did not.. and that is maybe the first thing I should do: re install with a complete full wipe!

I have checked yesterday: the SELinux is Permissive. Is it worth having Enforcing instead of Permissive?
[Galaxy Tab 10.1 Android Development] malhor:
Hi everybody,

I've a strange issue with wifi.

Currently I use my p4 without any sim card inside. I'm abble to connect at home on my wifi router without any issue, however, when I try to connect to my mobile hotspot, the tab see the access point but gives me an error message saying it cannot connect.

I use the same hotspot to connect my PC without problem. The hotspot is created on my mobile (tethering).

Syslog available on request.

Many thanks
[Galaxy Tab 10.1 Android Development] Kaherdin:
Try to change the type of Wi-Fi hotspot. It happens to me to sometimes, that one device can't access a Wi-Fi access point... Silly devices.

LG G2 D802
[Galaxy Tab 10.1 Android Development] malhor:
unfortunately I can't. The Mobile is a BlackBerry Q10 and I've no control over the kind of security it uses (WPA/ WEP/ TKIP or any other form of encryption).

I already had that kind of issue at home where I had to change the encryption in order for a specific device to connect to the box.

Moreover, I've been on Omni 5.1.1 before that and the tab was connecting without any issue to it, so I would think that the solution is somewhere there
[Galaxy Tab 10.1 Android Development] Supashawn:
Thank you so much to [MENTION=4404851]decatf[/MENTION] for this ROM. My tab is like a new machine, it is faster than ever before, has better battery life than ever before, and everything that I have tried works. Thank you for sharing your work!!!
[Galaxy Tab 10.1 Android Development] Gaspoune:
Latest News: I use the whole yesterday evening the tab without any issue (no wipe data).. The only thing I changed is the CPU O/C from 1600 to 1400.

Guys, what is the best Governor/scheduler you chose? I am currently on Interactive / CFQ .
[Galaxy Tab 10.1 Android Development] Mischa42:
Hi folks,

I have an issue with the Amazon Kindle App. Installed via Google Play, logged in and app starts fine. But if I try to download one of my books the app crashes without error. Restart does not work. The download icon (of the book I choose) is still in the task bar, but if I click on it nothing happens.... Any ideas?

I also have Amazon App and Amazon App Store installed. Both are working fine. I installed after fresh installation of ROM so no old cache was available.

Cheers & Thanks,

Mischa
[Galaxy Tab 10.1 Android Development] AndreyGoo:
That's the issue since one of the latest kindle updates. I inatalled apk with previous version and it is ok.
[Galaxy Tab 10.1 Android Development] Mischa42:
Thanks. Could you provide a link to that app version?
[Galaxy Tab 10.1 Android Development] AndreyGoo:
You can download it here https://www.dropbox.com/s/t41p2b7mx2y749r/Amazon+Kindle_4.13.0.203.apk?dl=0

PS currently I'm on omni ROM - the same problem with the latest kindle.
[Galaxy Tab 10.1 Android Development] yitzi:
I had the same issue with an Amazon Kindle I also went back to an older version which now works perfectly. I found it by searching for older versions of Amazon Kindle in Google.
[Galaxy Tab 10.1 Android Development] Mischa42:
Thanks man! I will give it a try and give feedback...
[Galaxy Tab 10.1 Android Development] ljtapatalk:
Thanks. Installing this download cured the problem for me.
[Galaxy Tab 10.1 Android Development] armavista:
Thank you for the great work !

For some reason i can't install the google apps.

I tried to install p75xx-gapps-L-7-17-15.zip in recovery mode with TWRP (last version)

The installation is successful, but once the tab is rebooted, the google apps are still missing...

Can somebody help me ?
[Galaxy Tab 10.1 Android Development] TvBIFI:
Hello,

i got a problem with the WLAN Hotspot feature.

at first everything is fine and mobile devices can connect to the Tab.

after some time when some devices need to reconect "they cant" and on their WLAN settings i see my Hotspot but stated as "BAD Connection".

Then the devices dont connect automatic to it and when forced the dont get an IP from it.

Now i found out . When i wake up my Tab by pressing Power i get instant an connection if forced or Not.

I think something from WLAN/Hotspot must be send to Powersave when the screen turns off.

Ive Set WLAN to always on but it doesnt help.

Did someone have an Idea how to really force WLAN to Stay active ?

thx
[Galaxy Tab 10.1 Android Development] lilferraro:
Overclock

I have SetCPU because there's not a performance option in settings. But anyways it won't let me over clock to anything higher than 1Ghz. Any solutions?
[Galaxy Tab 10.1 Android Development] LiverpoolFCfan:
Use "No-frills CPU Control". Works great
[Galaxy Tab 10.1 Android Development] lilferraro:
I Rebooted and used recommended settings and it worked... I'll keep that in mind if there is a next time.
[Galaxy Tab 10.1 Android Development] armavista:
Really? Nobody here to help me out?
[Galaxy Tab 10.1 Android Development] jaibar:
Maybe copy the recovery log and let us see what exactly you have flashed, whether it was successful or failed? Then we can try to see what's next step..

There's an option in recovery to copy log to sdcard
[Galaxy Tab 10.1 Android Development] Mischa42:
Thanks! This version works fine. Can read my books on the tablet again... ??
[Galaxy Tab 10.1 Android Development] armavista:
Thanks for your help. Here is the entire recovery log: http://www.pastebin.ca/3102782
[Galaxy Tab 10.1 Android Development] decatf:
It's two different drivers.

tegra_startup is in drivers/tty/serial/tegra_hsuart.c.

serial8250_startup is in drivers/tty/serial/8250.c.

Each one implements a uart_ops object for a particular uart port here and here.

From the stack trace it looks like something opens a file location which leads to the uart_startup sequence. I'm think that "something" is possibly the Android init system but I don't know enough about it to figure out where the start of this initialization could be occurring. I'm curious about what file path is being opened when each of these paths are taken. A messy way to figure out could be to try to print the path some where along one of the calls shown the stack trace.

If it is due to some conflict with tegra_hsuart registering the uart port instead of the 8250 driver then maybe you could try to compile without the tegra_uart driver. In the kernel log the tegra_uart driver shows "Registered UART port ttyHS0". Also for ttyHS2 and ttyHS3. ttyHS0 is the GPS and ttyHS2 is possibly bluetooth. I don't know what HS3 might be. If it's nothing too important then it maybe it will be able to boot without these devices.

Another hacky thing to try could be to just comment out the tegra_startup function here. In all ROMs the kernel log shows that the tegra_hsuart driver starts ("Initialized tegra uart driver" is in the kernel log) but as you discovered, the uart_startup->tegra_startup path is happening in Lollipop for whatever reason.
[Galaxy Tab 10.1 Android Development] MoMuChI:
install this new updated.. so confirm sim not detect, and lost baseband.. how to fix it sir..
[Galaxy Tab 10.1 Android Development] donjuan10:
After update i have the same problem......simcard not detected
[Galaxy Tab 10.1 Android Development] klorgfasder:
sim not detected

Hi decatf,

thanks for the quick update (stagefright wise). Unortunately I can confirm the sim card not being detected. I am using a 7501. When I revert to the 20150629 the sim is detected.

Cheers,

Klorgfasder
[Galaxy Tab 10.1 Android Development] Kaherdin:
The Wife (she's the one using the Tab) reported that the HBO app now plays without lag.

If it's because of Updates, I don't know.

But I'm not tweaking or fiddling with any kernels so...

Yeah, great work!

Can't believe that lollipop runs smoother than stock Honeycomb did on this old thing.

Peace

LG G2 D802
[Galaxy Tab 10.1 Android Development] XTeK2:
Cool, thanks for the rom.

Old Tablet continues to operate smoothly .;)
[Galaxy Tab 10.1 Android Development] Tobbi_:
Problem flashing the image as F2FS

Hey,

I'm not sure if I'm doing this correctly, that's why I'm asking here: Whenever I re-flash the image, the system partition resets itself to EXT?3?, doesn't matter whether I formatted it as F2FS previously (at least according to what TWRP tells me).

Any ideas what I might be doing wrong?
[Galaxy Tab 10.1 Android Development] sherpya:
the .zip of the rom formats /system using ext4 so it's pointless to convert it, perhaps you'll not have much improvement with a f2fs /system partition

---------- Post added at 01:39 AM ---------- Previous post was at 01:36 AM ----------

@decaf

20150814 - simcard not detected: rild executable is missing

can you add wifi adb please? I known there are 3rdparty utility but lollipop eats a lot of ram and android tends to kill too much

thanks for the rom
[Galaxy Tab 10.1 Android Development] rtiangha:
Just tried out the new rom on my p4tmo and must have sat outside for 30 minutes and couldn't get SatStat or osmand~ to detect any GPS satellites. Meanwhile, my Galaxy Note 8 running CM 12.1 was able to see some within a few minutes. I no longer have access to a data sim to test, but maybe sim detection and non-functioning GPS are connected? Does anyone else have issues with GPS? I think the last time I noticed it working was back in April or March, but I haven't tried again since then.

Also, AF Wall+ still complains about there not being any init.d support in the kernel or/and the rom. I know that used to work before. Is anyone else encountering that issue as well?
[Galaxy Tab 10.1 Android Development] sherpya:
I've added from 0729:

libreference-ril.so

libril.so

librilutils.so

rild

rild starts and I'm able to see the baseband, I've not tested data/voice, I don't have a sim right now
[Galaxy Tab 10.1 Android Development] rtiangha:
I'm curious: Does your GPS work before and after the change you made?
[Galaxy Tab 10.1 Android Development] sherpya:
radio has nothing to do with gps except for AGPS, so you need rild and at least a sim inserted, I've tested with a sim even on wifi and the gps fixed in 1 sec

Attached a recovery-flashable zip with missing radio userland software, you don't need to clear dalvik cache