Newer App Versions crashing on CyanogenMod ROMs - Android Q&A, Help & Troubleshooting

Hello
I have an Xperia Ray and was running a 4.4.4 ROM based on CyanogenMod till a few weeks ago when I started to realize that many of the newer versions of different apps caused strange troubles. Some of them crashed most file explorers I tried just on loading the icon from the downloaded APK. Some I managed to install nonetheless only to have the same problem with the launcher/drawer itself. Every time it tries to display the icon of the app it dies. Looking for a solution I discovered that CM13 got ported for my phone and was happy to be able to change to Android 6.0.1.
Sadly the troubles did not go away. The apps that showed the above mentioned symptoms on 4.4.4 have similar effects on 6.0.1. Only that now these apps are crashing the whole phone forcing a reboot and that the launcher app does not load at all anymore. Only solution is to uninstall the app manually in recovery mode via adb shell.
After a lot of tinkering, experimenting, talking to other app devs, and rebuilding open source apps I found that the problems appeared with the update to Android Studio 3. It seems that without changing anything code wise for these apps only the update from gradle wrapper 3.5 to 4.1 seems to cause these troubles. On the other hand I can build my own apps with the newest Android Studio with everything up to date without these problems showing up. So I guess it is some library, API, or whatever in combination with the newer gradle versions that causes these troubles.
Well, it seems that there is a bug in the CyanogenMod ROMs, as far as I know by now. It's not a Xperia Ray specific problem as people with other hardware running CyanogenMod have the same problems. For example this thread here. And I got confirmation from an app developer team that they were able to reproduce the problems on a Galaxy S2 running CM13.
It's also not Android version related as updating to 6.0.1 did not help at all.
Have you experienced what I'm talking about and maybe found the solution for that problem? I think there is a bug in the CyanogenMod system somewhere but I'm not skilled enough to find it.
I fear that these problems will render my phone incompatible with more and more upcoming app versions and would really hate to have to switch to a bulky modern phone.
Here are some log files showing the errors. Maybe you can read something useful from them.
Thanks in advance!
EDIT:
Here some additional info that came as answer from a dev team I contacted regarding this issue:
The issue you have reported tends to only occur in devices with the older memory layout used by manufacturers for devices that run Android 2.x onwards, such as the Galaxy S2 - this layout still sticks around even when upgrading to custom ROMs with newer android versions. A unified internal layout for Android devices only started to appear in 2013 and it became the de-facto layout in 2014 or so.
In the old layout, you have both an Internal System Partition (1-2GB) and then an Internal System Memory (the rest of the device's advertised internal memory - its seen as emulated "External memory" - an external SD card then becomes "SD2" in these devices when running a custom ROM). This causes problems for apps that are created and compiled with the unified memory layout in mind, even if the old SDK is the target, because the system will not direct them to an accessible storage area to store user data.
The apps that do not have problems were the ones that have been around since android 2.x; they will instead have their own set of problems for newer devices and versions of Android.
Right now I'm not sure what to think of this...

Push...

push too , if i use a non cyangenmod based rom like paranoid android (6.0 Android MarshMallow Pure AOSP for Google Nexus 7 2012 WIFI), is this prob fixed then ?
i have nexus 7 (2012) wifi only device , i have cyanogenmod 11 (20141112) / android 4.4.4 ( this tablet has no SD card slot so no SD2 assignment )

Not Sony Xperia,..
Only a cheap Haier A16C3H with CM13 Nightly...but..
Yes the trouble is exactly the same in my experience here. I don't know what to do for the solution, except perhaps one of:
# "keep/looking for & install - only the old version of apps, or
# buying a new phone (if I can)
Sad

Nothing new
Push
Nothing new from my side, except that I think twice before updating an APP by now.
So far I've managed to get around with my old Xperia, but would be nice if someone more knowledgable could look into this matter.
Thanks.

Anyone figured out how to fix this? or even a workaround?
My problem was the cm13 based rom I am using on my LG G3 Beat had this problem with newer versions of apps, but someone made a cm14 based rom that fixes this problem but in exchange it created another problem, lag in the touchscreen, playing games where you have to do combo/multiple taps became impossible.
I got so frustrated that I just went back to stock lol.

Related

MTP -not- working - Paranoid Android 2.56

*** Not Working*** Is what I meant to put in the title...
Hi all, I searched the Paranoid Android, CM10, and AOKP threads but could not find anything on this.
I'm running Paranoid Android 2.56 and after flashing my computer can no longer read the phone as an MTP Device. I confirmed that flashing back to a touchwiz based rom allows MTP to work, and my Nexus 7 and my old Galaxy Nexus still function with MTP. I've tried various things (installing, uninstalling, reinstalling drivers), registry edits, etc, and nothing is working. In the Paranoid Android thread, it was mentioned that this is a known issue... but I'm just wondering if anyone has been able to find a way around it. It didn't seem like every single person had this issue, just a few, and unfortunately I am one of them.
Any success stories to share?
Thanks.

[Q] App in CyanogenMod 7

I have just installed CyanogenMod 7.2 for a while. It's said to be based on Android 2.3 but there seems to be some apps which should be compatible but in fact they're not. Like puzzle retreat, it run smoothly on my old android-4.0 device but it's broken so now I have to uset this app on my htc aria. App was installed successfully but when I opened it, a message error appeared constantly so I had to remove it. Why that happened? This app is supposed to be compatible with android 2.3 and up?
And my contemporary OS version: CyanogenMod-7-20130301-NIGHTLY-liberty.
You will need to post more details about the error or a screenshot in order for anyone to help. If you just moved your sd card to the Aria and are expecting it to work, there could be a problem - maybe clear the apps cache/date before launching it (which will erase any info saved by the app)...
Also, if you're sideloading the app, there's a chance it is not compatible with the older version of android - and should be installed from the play store so you can get the compatible version.

Storage Access problem and weird behavior after OOS3 update with new bootloader

I don't know if others are facing the similar problem but it has turned my life into hell after the new update. I will list down the issues on ALL ROMS after the new OOS 3 update with bootloader in my device.
I had issue in accessing storage, which means gallery, file explorer or literally any app crashes when I try to access from the storage, be it internal or external sd card.
Couldn't use the latest snapchat at all, can't post in story, can't save any snap, can't upload from camera roll. It was just a dead end. However I could only post into story with a older Snapchat version, still due to storage access issue, I couldn't save or upload from Camera Roll
Facebook picture upload would ocassionally crash the app.
Couldn't take more than 1 picture in latest youcam app, storage issue would crash the app.
Gallery apps fail to generate thumbnail previews.
All these above problems caused permanent storage access unavailability until I rebooted device.
Need to charge my device twice as Battery runs faster than Usain Bolt.
So finally after a lot of tingling, I finally downgraded my device to OOS 2.1.3 with TWRP 2.8.7. Trust me it's very stable, bug free and battery friendly. Though I miss the new security patches features and snappy feel from Android 6 & 7.
The above problems are not happening in 2.1.3. I can use latest snapchat, youcam & facebook without any issue at all. Is there any way to prevent these issues on new Android OS in my device ? I believe it's not a device issue as 2.1.3 is running very stable and bug less.
Never had any of those issues on OOS 3 update. Think you might of gone wrong somewhere maybe.
Exodusche said:
Never had any of those issues on OOS 3 update. Think you might of gone wrong somewhere maybe.
Click to expand...
Click to collapse
I am really eager to find that out. I have almost tried every ROM on the new bootloader. Except MOOS 2.0 or something, each and every ROM had this bug, even official OOS 3.1.4. Any idea what might went wrong ? The bugs are not reproducing in OOS 2.1.3 though. Which makes me believe that my device is ok.
arafat_mw said:
I am really eager to find that out. I have almost tried every ROM on the new bootloader. Except MOOS 2.0 or something, each and every ROM had this bug, even official OOS 3.1.4. Any idea what might went wrong ? The bugs are not reproducing in OOS 2.1.3 though. Which makes me believe that my device is ok.
Click to expand...
Click to collapse
Think I figured it out for you. You are on really old OOS2 build you need to flash 2.2.3 before you update to OOS3. It was made for the update to MM.
Are you sure you gave the good permission. On MM, when you first launch an app, it should ask you for it. Maybe a bug appear at one point.
You should go to menu settings / app / 3 dots menu at the top right an reset app prefs.
Then re open app one by one.
You can try first without your SD inside to see if it happens again.

How to uninstall One UI 3.1 (Android 11) Update?

I recently updated to One UI 3.1 and it's performing much worse than it was on Android 10, especially with one of my games constantly crashing when trying to enter the main menu.
I want to know if there's a way to revert the update somehow... so that at least I can get things keep running for the time being until GSIs can be made working.
EDIT: Okay... I finally managed to log back in to the game in question after about 100 tries over the past hour... what an effort... it's getting more and more difficult to login lately...
EDIT 2: Guess I'm asking for the impossible... and as for the game in question, I suspect it was a known Unity-related issue caused by permission changes introduced in Android 11. I'm considering rooting the device to test if that's the case as I cannot just grant the permission since the app itself didn't declare it in the manifest. But in overall, it doesn't change the fact that the tablet is performing much worse on Android 11 than it was on Android 10.
EDIT 3: It seems even with root I cannot grant a permission an app didn't request... so I really can't test if the permission in question is indeed the cause of the crashes...
EDIT 4: Downgrading is no longer possible since build BUC1. Samsung has incremented SW REV on this build so you can no longer downgrade once you upgraded past this version.
LSS4181 said:
I recently updated to One UI 3.1 and it's performing much worse than it was on Android 10, especially with one of my games constantly crashing when trying to enter the main menu.
I want to know if there's a way to revert the update somehow... so that at least I can get things keep running for the time being until GSIs can be made working.
EDIT: Okay... I finally managed to log back in to the game in question after about 100 tries over the past hour... what an effort... it's getting more and more difficult to login lately...
EDIT 2: Guess I'm asking for the impossible... and as for the game in question, I suspect it was a known Unity-related issue caused by permission changes introduced in Android 11. I'm considering rooting the device to test if that's the case as I cannot just grant the permission since the app itself didn't declare it in the manifest. But in overall, it doesn't change the fact that the tablet is performing much worse on Android 11 than it was on Android 10.
EDIT 3: It seems even with root I cannot grant a permission an app didn't request... so I really can't test if the permission in question is indeed the cause of the crashes...
Click to expand...
Click to collapse
Most apps should work fine on Android 11, but some may have issues and need updates.
Downgrading to Android 10 is technically possible. Download the Android 10 firmware and flash it with Odin on a PC via USB cable to your device.
But I would prefer running on the newest firmware version and trying to get an update of the app. And there will be updated if Android 11, too ... which optimizations of stability, performance, etc.
It_ler said:
Most apps should work fine on Android 11, but some may have issues and need updates.
Downgrading to Android 10 is technically possible. Download the Android 10 firmware and flash it with Odin on a PC via USB cable to your device.
But I would prefer running on the newest firmware version and trying to get an update of the app. And there will be updated if Android 11, too ... which optimizations of stability, performance, etc.
Click to expand...
Click to collapse
Thanks, but it's not really that relevant now as the crashing issue was finally fixed by the developer.
However, on Android 11 things are indeed performing worse than on Android 10. Frame rates are much lower, and touch issues (erratic or sudden delay/loss of touches) become more frequent. Ironically, when I used GPUWatch (from Developer Options) to diagnose the sluggish frame rates, I found that neither CPU nor GPU was maxing out while playing.
Now that I've rooted, I'm considering looking for some alternatives as the stock ROM is indeed terrible regardless (a good example would be that it's tough to take logcats here, as the system itself spams logs at an incredible rate I've never seen before). However, I'm yet to get a GSI to boot.

Upgrading problems on Samsung P7510 tablet to Marshmallow

I'm trying to upgrade my Samsung p7510 10.1 tablet from Ice Cream Sandwich 4.0.4 to either Marshmallow or Nougat, or better. I've installed TWRP 3.1.1 and rooted with SuperSu. I've had to assume root has worked as can't download root checker onto my tablet.
So, far I've managed to find a version of Marshmallow "ROM-STOCK_MMB29K-seed.zip" on androidfilehost.com. But when I try installing I keep getting error message "Updater process ended with signal: 4". I've wiped the Data, cleared the Cache and Dalvik Cache. Also searched the internet for info on the signal 4 problem but not found much other than to remove the "assert" line from the updater-script file in the OS zip.; that did nothing.
So, a few questions:
- Anyone know where I can get OS zips from for a Samsung P7510?
- And any ideas on resolving the signal 4 issue?
- Any other ideas?
P.S. The only reason I'm updating is I want to use it for Kindle but can only reach HTTP sites, not HTTPS. Assumed that is because it's so old that everything is out of date. And that stops me from downloading anything from just about anywhere, including Google Play.
P.P.S I have searched the forums but couldn't find anything helpful or with links that worked.
Thanks in anticipation
Might I suggest the stabelest ROM I've ever run on my P7510. I've had this installed on mine for over a year now. There are of course some minor bugs.
The signal 4 issue is most likely a Binary issue and should no longer be relevant since you should reset the device to factory and start over. Another thing is once you Root it you can't download from Google play because you now have an unverified device, it has something to do with Google Pay. You'll want to look for APKs. Although SuperSu is usable, you're going to want Majisk insted. I hear of some problems using SuperSu.
I have these files here in my PC if any of the links no longer work but you'll want to know how to flash it so you'll need the video. I'll check back soon and drop a link to my files. if you need them. I'd need to upload them to my Google Drive first.
If you have any other difficulties I'm usually here about once every week.
P.S. Your tab is better than a Kindle and I would not suggest using it as such, it runs pretty crappy that way . Amazon does have an app you can use. And I see that you have been having difficulties finding Operating Systems for your tab and yes it's because the P7510 first hit the market in March of 2011 there aren't many people doing much with it anymore. There's about 3 or 4 of us left.
Firstly, thanks for your help @Casper Young .
In particular the video was brilliant. I did have a few runs at the update, however, the process was very straightforward. The key issue was the TWRP version I was using. It was supposed to be for the P7510, but realised it was actually for the P7500, consequently the aosp files weren't loading. I think that was also the cause of the errors I was getting. And although none of the links were working I managed to get the file names from the video and sourced them from androidfilehost.com:
twrp2870-20150814-p4wifi.tar.md5
aosp-7.1-p4wifi-20170506.zip
Once I had those it was simple and the update worked smoothly.
I've also added the app from apkpure.com as Google play was a complete pain trying to get the tablet recognised. Now very pleased with the build and apps, all running very smooth.
thanks again
Glad you had no problems. There are some minor bugs. Flash doesn't work for the camera. And check your memory capacity. I use Apex Launcher for my home screen which organizes better for me.

Categories

Resources