AOSP Data Usage causes force close on TouchWiz - Galaxy S 5 Developer Discussion [Developers Only]

So I'm building a ROM that uses AOSP apps that come both from in-house AOSP builds and from the Nexus 5 factory image. The problem is, the Settings app doesn't seem to be fusing very well with the ROM in general... repeated storage settings, nonfunctioning volume options, etc... with one of the worst offenders being the Data Usage Graph...
Upon opening the Data Usage menu, the Settings app just crashes... logcat is below:
Code:
E/AndroidRuntime(22979): Process com.android.settings, PID: 22979
E/AndroidRuntime(22979): at com.android.settings.DataUsageSummary$DataUsageAdapter.getView(DataUsageSummary.java:1708)
Not much else is reported aside from regular process-death messages. I've tried over and over again to fix the issue, and I'm going nowhere... anyone think they can offer any help?
The ROM is based on the G900F Android 5.0 stock firmware.

Related

[Q] Dying KF or just lack of memory

I have the original KF and it's rooted to use CM10 rom. However, a lot of the apps are crashing / FCing frequently and I'm not sure if it's my KF dying or just the rom is too bloated. For example, when I use Chrome browser and use Tunein or Live365, the latter would crash a lot. Even in Chrome, the keyboard would sometime not respond or won't even display when I want to type something into the address bar. I tried Maxthon and it would complain about low memory even if it's the only app running.
I tried the following roms:
HellFire JB
CM10.1 / SGT7
SmoothRom (keep saying my apps can't be installed)
All of them are exhibiting the same problems. When I use EX Task Manager and close programs, only 150MB of memory is available afterward. So should I just give up and downgrade back to ICS?
Downgrade to ICS?...well if you hate having a somewhat decent battery life I would say that would be good lol. Seriously though....the issue with Chrome and the keyboard has been experienced by many users. In your process of wiping ROMs, have you ever wiped the SD card partition to clear everything out?
If you want more memory you might want to go back to GB because compared to JB and ICS, it is far more lightweight.
Yep. I did wipe the SD card and Android Secure last 2 times when I install the ROMs. I'll double check GB roms and see what are still available. There is really no point in battery life if the apps keep crashing, it's as good as a flash light at this point.
TastyMoocow said:
it's as good as a flash light at this point.
Click to expand...
Click to collapse
Best flashlight I ever saw! Lol.......by the way, how many apps do you actually have installed? Maybe tweaking the OOM settings would help?
In TWA_priv's ROM if you go to developer options and go top the bottom and find the apps section. Try unchecking kill background processes, and keep background activities set to 6. This MIGHT help, seemed to help with the chrome issue. That plus a full wipe
Sent from my Amazon Kindle Fire using xda premium
From my own experience, I had an extremely laggy KF running cm10. I did a full wipe and am running twa's cm10.1 and its a world of a difference.
Here's what I did to help speed:
Full wipe (cache/dalvik/system)
Delete unused folders on sdcard
Flash twa_priv's cm10.1 & newest GApps
SetCPU to max OC
Install only necessary apps (I have ~60 apps total)
Keep as few apps open at a time
Both of the cm10.1 ROMS (twa's and hashcodes) are running very smoothly. Granted the KF is extremely limited by its RAM, try clean installing one of those ROMS and it may breathe new life into your KF! :good:

[Q] When flashing nightlies...

I haven't quite hit 10 posts yet so I still can't post in what I consider to be the proper forums, so hopefully somebody here can help me out. I have a (probably stupid) question regarding nightlies. I'm currently running a ROM with KToonsez's kernel and it kicks ass! Don't know how these geniuses do it, but I get about 30 hrs battery life per charge while permanently overclocked to max frequency and undervolted by roughly 40 mV (granted I don't really spend a ton of time on my phone, but even with moderate-excessive use, I get at least 24 hours, which is just...wow). Anyway, I use a custom launcher (GO Launcher), which I happen to like, mainly because I can add apps to folders by simply selecting them rather than long-pressing, waiting, dragging them somewhere, etc. but obviously when I upgrade a nightly, it's not quite so easy. My layout file can restore my folders and apps for the most part, but I often find that it fails to load several apps and just has an Android "loading" icon, that I basically have to delete and "re-add" the proper app. Anyway, this is basically a long-winded way of asking the following (and please keep in mind that ROM development is not my strong suit): is it possible to incrementally update a ROM to a newer version without having to recreate my various accounts (gmail, facebook, etc.)? I use Rom Toolbox to back up my apps and data, but to support the developers, I also bought System Tuner Pro and Titanium Backup. I've yet to figure out which is the best, if any, and why. I could be wrong, but I'd imagine that many of the changes between nightlies are to files that don't directly interact with apps so I don't see why the idea of incremental updates would be out-of-reach, but if it is, please correct me and, if possible, explain why my dream for upgrading ROMs is intangible. Thanks in advance! I've never received bad or negatively-critical feedback for my questions, and for that I thank all of you!
You're talking about dirty flashing. And I do it 30 times a month. Just flash the new nightly over the old one. Wipe cache/dalvik and you're good to go.
Just remember, if you dirty flash you do have the chance of running into unforeseen bugs and weird force close or laggy response time as examples.
If the changes made to the nightly aren't major reworks of anything core system related you could be just fine. Many dev threads will say no help to you if you dirty flash.
See if your rom has a commit page you could look at that shows what was merged, it may help guide you to do dirty flash or full wipe.
As a long time Go Launcher user I can honestly say Titanium Backup is by far the best way to go as far as restoring your UI back to the way it was. Only in certain circumstances you would have to replace your widgets but usually the data to those widgets are still saved.
Sent from my SGH-T999 using xda premium

[Q] PARANOIDANDROID 3.15 [Toro] 25-MAR-2013 Stability Issues

I just recently flashed my Verizon Galaxy Nexus with PARANOIDANDROID 3.15 [Toro] 25-MAR-2013
I love this rom, but unfortunately, I've been getting random reboots, and numerous freezes, which require removing the battery. I get these freezes, and have to remove the battery 4 to 5 times a day (which gets old as you imagine). I just came from a stock JB 4.1.1 Verizon Rom, but have used CM10 and CodenameAndroid ROMS in the past with success.
I'm using TWRP v2.4.1.0. and flashed pa_gapps-full-4.2-20130308.zip along with the PA 3.15 zip (I downloaded both zips from goo.im). I did a factory reset , and cleared the dalvik / cache.
I've done some googling, but haven't found any answers. in all the forums that I have read, people have had no stability issues with this ROM. I really want to stick with this rom, but may be forced to go back to stock if I can't get this rom to run stable.
Any help from the dev community would be much appreciated!
I have had similar problems when expanded desktop and pie are on. I just gave up on them. Runs fine for me as long as pie isn't activated. It's a shame, but a clean install and full wipe never fixed the issues here either. That's just my experience.
Sent from my Galaxy Nexus using Tapatalk 2
bpyazel said:
I have had similar problems when expanded desktop and pie are on. I just gave up on them. Runs fine for me as long as pie isn't activated. It's a shame, but a clean install and full wipe never fixed the issues here either. That's just my experience.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Thanks for the reply! I've been having issues even w/o expanded desktop or pie enabled.
What I really like about this rom is the ability to change the resolution in individual apps specifically the browser, (I have a website I need to access for my work that requires a higher res).
I wonder if I was to use an older version of this rom, like the 2.99's, and not have the same freezing issues?
Does anyone have experiences with the older ParanoidAndroid (toro) ROMS?
I'm getting horrible battery life
Sent from my Galaxy Nexus using xda premium
I have problem in SMS , sometime I cannot send but I can receive, and sometime I can send but missing many incoming messages.
I'm having the same problems with the 3.15-15APR version as well (latest). It tends to happen when apps try to update - they'll get to the install part and then the phone locks up & requires a battery pull to recover. I'm going to try a factory reset and if that doesn't work I'm off to another ROM - I've been on PA for several months, but I can't accept instability to the point that my phone may lock up in my pocket and I'll never know until I try and can't use it.
Edit: I've had tentative success with wiping data from the app manager from Download Manager and the Play Store, which has allowed me to update apps, but I'm crossing my fingers that I won't see any more freezes...

[Q] My Nexus is becoming like Samsung CrapWiz phones

Hey guys how are you doing?
I don't know if this is supposed to be normal but my Nexus is becoming really slow. I've compared it with my father's Samsung Galaxy Gio (yes, that damn piece of brick) running a port of CM10 called Xperia Jelly Bean with an overclock to 1GHz (without messing with the low freqs) and my Nexus running CM11 was slower in terms of opening the SMS app, the contacts, the settings and so on.
I've tried everything, wiping every partition in the phone and installing many roms (CM12, fresh's AOSP Lollipop, CM11, Vanir, LiquidSmooth, CarbonRom, SlimRom, etc) and I even tried different kernels (DirtyV, Fancy and Franco for KK roms and BSmitty's kernel for L) but my perfomance goes from bad to even worse.
Most roms come with many apps I don't use like apollo, stock camera, stock messaging, aosp email app, lancher3 or trebuchet (I like google now but I tested not changing the launcher and it's about the same performance) and the default browser app, so I usually delete them with titanium backup.
I heard some weird sounds when I was with lollipop roms that worried me since I've never heard those sounds (looked like something tiny blowing up) so I am a little worried that those things caused some hardware to start malfunctioning or even stopped working. I am also having now troube with flashing a rom and it being stable. I usually wipe all the partitions, install ROM then Gapps (the most minimal ones) and then Kernel, wipe Cache again, reboot. Set everything (Gmail account and custom rom things like notification bar, locksreen, etc), reinstall the apps I need from google play, change to ART if needed/avaiable and go on. But sometime later the phone starts freezing and ends up turning off and when it turns on it stucks on the boot so I need to reinstall the rom.
What am I doing wrong? What can cause my device to behave like this? Is it a likely end of my device? I am worried and have little knowledge xd. Should I flash a stock rom? Which version is the more appropriate? What do you recommend for custom ROM, am I flashing them and applying everything alright?
EDIT: I forgot to mention that I did some benchmark tests and it does well as espected. Goes up to 20K with Lollipop, 15K with KitKat (1.5GHz) and 13-14K with KitKat (1.2GHz). I've tested it in FML 5.0.2 (last build) + Bsmitty kernel (about 2 weeks ago) and the KK ones I did yesterday with CM11 and fancy r60. The problem here is the menus that are freezing constantly and the basic apps that take too much time to load when compared to the time I bought it (I'm talking about Settings, Camera, Messaging, Dialer, Contacts, etc)
I feel the same way about my phone too! Btw, is installing new app on your phone slow? My phone takes about 15-20 secs to install an app.
I am by no means an expert, but the "weird sounds / stability of ROM flashing / constant freezing" that you're reporting, regardless of the ROMs that you're using, it sounds like your device may be on its last legs. How long have you had the device? Is it possible that some of your hardware components are failing?
In my own Gnex experience, I was using CM11 Snapshot ROMs for about a year. About 6 months after installing CM11, I started noticing massive slowdown and lagging. Similar to what you reported: slow launching of apps (even simple ones like the default SMS Messaging and Camera), freezing/crashing in Gmail and Chrome, very slow multitasking/tab/app switching, etc.
Google officially stopped supporting the Gnex at 4.3 so I would recommend that you try returning to the 4.3 Stock Nexus Image, and see if that improves your stability. I did that for my Gnex and installed the Xposed framework on top, and I've been happy with the results. I no longer use my Gnex as my daily phone so I can't speak to longer-term usage, but you may want to try this first before writing the device off entirely.
Well, after some time I finnaly put my phone working nicely again
I flashed and tried over and over again many combinations of rom, gapps and kernel until my phone worked nicely with something. I am with CM11 + PA Stock Gapps (with gapps-config.txt written of my own to avoid installing things I consider bloat) + Fancy Kernel (everything in their respective last versions).
Well, just an advice from me to anyone who starts having problems like me. If you are flashing much and testing many roms per day and your phone starts getting slow and not booting like it should boot (and having weird sounds) just stop for a while. Find a stable rom+kernel combination and let the phone work like that for some time. Then when you think you are ok, start flashing to your content again

Bug free custom rom for daily use

I'm currently on stock pie and I have 3 main issues with it.
Slow wifi with bluetooth on
Screen flashing when using some apps: this one is more common on Chrome, YouTube and when pulling down the notifications tray on any app running in fullscreen
Adaptive Battery killing background apps really aggressively: if I'm playing any game I cannot switch apps for a second, the system will kill the app and I'll have to restart it. It gets really annoying when I'm playing and want to reply a message or check something online.
I was thinking of flashing a custom rom and wanted to know if there's a rom (device specific or GSI) that solved these issues, or at least some of them.

Categories

Resources