Android 4.3 SDK - Nexus 7 General

I became so intrigued with the ongoing Android 4.3 issues that I actually updated my SDK to take a close look at what 4.3 was up to:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As soon as I launched my Nexus 7 Android 4.3 (JWR66V) AVD, it locked up!
I have used 4.1, 4.0 and 2.x and have never seen this happen in my Emulator.
Launched AVD again, and this time the Launcher crashed when I tried to get into the app drawer:
About screen:
Going to leave it running for a while...

My Nexus 7 Emulator running Android 4.3 JRW66V locked up this morning (less than 24 hours). I was simply navigating screens to see what apps were installed by default, and what options were available for some settings, and when I returned to the Home screen, it locked up.
I had to "kill -9" it's process id to exit
I am going to run a Android 4.1.2 AVD next to it now, to highlight how much more stable that is.
The Linux PC the Android Emulator is running on is fine: over 396 days of System Uptime (yes, it's been over a year since I rebooted this machine), and fairly heavy use too.

You don't show your AVD definition. There are some known restrictions, like set your memory size to 512.
Sent from my Nexus 7 using xda app-developers app

rmm200 said:
You don't show your AVD definition. There are some known restrictions, like set your memory size to 512.
Click to expand...
Click to collapse
Thanks for the info!
The default heap size was not big enough. Increasing it fixed the Launcher issue:

I'm seeing some errors in the logcat, that kinda look serious:

Looks like application warnings as opposed to error. A whole stack trace only refers to one event. Exciting a process without issuing a specific close is just poor practice. Likewise doing too much on a main thread is poor practice.
Sent from my Nexus 7 using xda app-developers app

The 2nd looks like it may cause a resource leak. I see multiple instances of that stack trace.
Can Finalization (and proper Garbage Collection) occur if there are still references to the file handle, since it is not being explicitly closed?

nbench numbers for the emulator: http://forum.xda-developers.com/showthread.php?p=44662246

Another possible resource leak:
This one looks like "IBackupAgent" (an intrinsic Android app? ) not closing a file descriptor (Parcel class? )

And another, this one from Google Messaging Services (gms) ?

2 more... This is from Google Maps/Navigation:
And this is from the Contacts editor:
We also see a cursor being finalized without a prior close().
And what are those "screenshot failure" messages? I am not taking any screenshots using the Android emulator.

Angry Birds seems to run fine on the emulator without generating any error messages in the logcat.

Encountered this error while trying to send an e-mail with the built in e-mail app. The e-mail was delivered.

And this new error has to do with the native AlarmScheduler / AlertService:

This error caused by the browser:

My nexus 7 has horrible battery life ever since I updated to 4.3. It drains in a few hours from full charge on standby. Just now I took it off the charger after recharging it for 5+ hours only to find that it had 80℅ left. Its been like 10 mins and I am already down to 75℅. I am not sure if I have a damage battery or the update. I am running stock and never root it since I bought it.
Sent from my Nexus 7 using xda app-developers app

autophone said:
My nexus 7 has horrible battery life ever since I updated to 4.3. It drains in a few hours from full charge on standby.
Click to expand...
Click to collapse
What apps are running? Post a screenshot of battery settings (shows battery consumption by apps) and history (shows periods of wifi use and when device was not asleep).
Sent from my Nexus 7 using Tapatalk 4

Related

[Q] RAM Manager app to prevent redraws

Hi,
This is sort of a continuation to a thread I made a few weeks ago, which was about launcher redraw problems I had with every single launcher I tried. I'm on FroyoPro v2.5, and on the recommendation of a fellow board member (thanks, Dagger) I'm running Nemus launcher. Basically, whenever i install or uninstall an app, my launcher prompts me to either force close or wait, and when I choose wait, it becomes slow for the next five or ten seconds and then returns to normal. It was worse before, but ticking "Lock launcher into memory" solved the most of the problems. Seems that the lack of RAM was actually the source of the problem.
I was recommended the SuperCharger script. However, I needed a newer version of BusyBox to install it, so I scrapped the idea for the fear I might brick the phone.
I investigated further for a solution, and found the app called RAM Manager (free version), which was made by a developer here at XDA. I installed it, set the "balanced" profile, and it actually fixed the problem. No redraws so far, and I even think the launcher is a tad smoother than before.
Has anyone tried this app? Is it a good thing to have or would you rather recommend I try something else? Are there any apps like it that are perhaps more efficient? It seems that all I need is better RAM management for the issue to be solved.
EDIT: Forgot to add the link to the XDA thread: http://forum.xda-developers.com/showthread.php?t=1305060
So far so good. Battery seems more or less unaffected. No negative effects on AnTuTu and Quadrant benchmark scores. Played five games in total, seemingly no negative or positive effects. What are your feedbacks on this?
The ram manager is actually a substitute to the supercharger script.
I personally recommend it if you are having ram issues.
Also you may freeze or uninstall the useless apps(mainly system apps) so as to free more memory.
Hm, now two days into the testing I've noticed that launcher redraws still do happen on occasion. However, it also seems that this app does the job well the moment it started and several minutes after running, but its effectiveness sort of degrades afterwards. Two days after I don't even notice any difference than before. What's the reason behind this? Is it fully compatible with CM ROMs?
There's only one more thing that I would also like to try before dropping this whole issue completely. Obviously it's a RAM thing, because running the backup I made a day after flashing FroyoPro seems to have no problems until I choke it with more apps. Then the same thing starts occurring. Not much can be done with the limited RAM X8 has.
However, what do you think about tweaking the VM heap size and MinFree values in CM settings? Is it possible to alleviate the problem with some tweaks from there?
Ahhhhhhh
V6 supercharger is just a ....beep.....
Before using that my antutu benchmark was 4005 - after installing script my score had a freefall @ ~3500~ ( lost 500 scores)
I'm using ram manager pro too, I can say that its awesome for setting to -multitasking option ( 3 apps at the same time)
HIGHLY RECOMMENDED
Sent from my E15i using Tapatalk 2
jay-z-s said:
Ahhhhhhh
V6 supercharger is just a ....beep.....
Before using that my antutu benchmark was 4005 - after installing script my score had a freefall @ ~3500~ ( lost 500 scores)
I'm using ram manager pro too, I can say that its awesome for setting to -multitasking option ( 3 apps at the same time)
HIGHLY RECOMMENDED
Sent from my E15i using Tapatalk 2
Click to expand...
Click to collapse
Yes, and I might actually try buying this app. Even though it didn't resolve the redraw issue completely, the general feeling of better performance seems to linger. I'm going to keep running the free version for a few more days and see what would happen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
There you go...
Download "system tuner pro" or any similar apps from market.
Press "tweak " button
Set "hidden apps" option to maximum value (now its 24mb but u can raise it to 32 or higher )
That's it...
*launcher pro OR adw launcher are too light and don't need to increase memory (I use adw with Widgets without reddraws
Use thishttp://forum.xda-developers.com/showthread.php?t=1987032
It works for me.
Just install the apk and tick both yes and run at boot.
sent from my phone using hands and brain...

What is OS services that ate away 600mb

Within a short span of one hour OS services on my device consumed 600mb.
I don't.have any sync apps running.
I am on stock ROM, unrooted.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-P880 using xda premium
I observe further strange behavior on my device.
While the lock screen time is getting updated correctly, the time in the notification bar is stuck at 5.29am.
What possible reasons could there be for this weird behavior. Is there any relation between the unintended data usage by the OS Services and this time stuck problem.
I will do a factory reset, but I am still eager to know the reason for these anomalies.
Sent from my LG-P880 using xda premium
mastiandroid5 said:
I observe further strange behavior on my device.
While the lock screen time is getting updated correctly, the time in the notification bar is stuck at 5.29am.
What possible reasons could there be for this weird behavior. Is there any relation between the unintended data usage by the OS Services and this time stuck problem.
View attachment 1569354
I will do a factory reset, but I am still eager to know the reason for these anomalies.
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
You don't have any "crazy" app doing all this?
You don't remember since that behavior started? After you install something... Change something on hidden menu...
Just asking cause I never had nothing like that.
Sent from my LG-P880 using xda app-developers app
RuedasLocas said:
You don't have any "crazy" app doing all this?
You don't remember since that behavior started? After you install something... Change something on hidden menu...
Just asking cause I never had nothing like that.
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
I had installed two apps, namely cardiograph and 3d rollercoaster. I had uninstalled them after using them for a day.
I used box.net app to upload some 200+mb files via WiFi and I had downloaded aurora 2 tablet Rom using my data in the morning.
That was my entire activity for yesterday.
Sent from my LG-P880 using xda premium
i know that turning off the mobile sync make you lose whatsapp messages and mails, but try that.
also, check how many accounts you have syncing (like google+or weather), change the syncing time intervals if its possible.
that behavior suggest me that its downloading a update or something.
Gildegan said:
i know that turning off the mobile sync make you lose whatsapp messages and mails, but try that.
also, check how many accounts you have syncing (like google+or weather), change the syncing time intervals if its possible.
that behavior suggest me that its downloading a update or something.
Click to expand...
Click to collapse
There was one more change I had done, and that was to add a second google account (I had the sync off for that account as well)
Secondly, I spoke to my operator, and they clarified that the total usage was only 200+MB on the data plan and not 600MB as show in the data-manager app.
I am not sure if the different dates on the lock screen and the notification bar and the OS Services 600MB data usage were due to this addition of a second account.
In any case, I have done a factory reset and have one account added for now, and all seems to be in order.

Privacy apps/thoughts

Hi all,I switch between android and ios every year. For example i have been using note5 till the iPhone 7 came out and switched to ip7. Now from ip7 switched to note 8.
Whatever iPhone i use i m always jailbroken.
Here are my observations.
Iphone has always been known for great apps and app store. While Android is great and known for the customization. But i always found that iphone always had better customization interms of integration 3rd party apps into the system while being jailbroken. For example. There is an app called whoozit pro on iPhone that can just pull info from a regular app store app like truecaller and display it on the incoming call screen. While Android truecaller app can also notify you with a banner on the screen, the iPhone displays text like it was from the contacts itself and looks much more like like stock, but android banner looks like some third-party advertising.
Another app called bioprotect simply locks apps using touch id. I haven't found a single app on the entire play store that can properly lock apps all these years. When an bioprotect locked app is tried to open it instantly askes for touchid and also blurrs out the preview in the recents screen. while every app on the Android allows users to see a snapshot of the app for a milli second befor asking for fingerprint. And worst when pressed recents button u can see a preview of the app all time you want. I dont see why a developer cant built a good app locker that can truly protect the privacy. Thinking of previews in notification its even worse too. No app does that too. While iphone has better cydia apps that does.
Some apps directly add buttons and functionality to the stock dialer apps, some can lock albums in the stock gallery app,
The list goes on.. None of these are available for Android and we brag customization.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Well, if I was to speculate, I'll tell you why: in the simplest terms iphone has maybe 5 current models, almost all the same as previous ones with little tweaks here and there, Samsung alone introduced more different types of phones in last 3 months probably. When you write app for Android you don't even know what cpu it will run on, it could be mediatek, exynos, qualcom and few others I can't even remember. It could be made by Samsung, LG, Sony and many others and operating system is written by Google with as little memory as 500MB and as much as 6GB. Is Apple still forcing system updates on everybody, like they used to in the past? I have phone running Android version from 6 yrs ago and most newest programs run fine. Because of strict restrictions and very limited hardware diversity programs can be tightly integrated with operating system, where in Android you can't do that, if you want your app to run on many different phones. If Apple was a country it would be dictatorship with one leader and all dressed in uniforms and Android would be democracy with everybody doing it's own thing and no one agreeing on anything LOL. But then if you're switching back and forth, it must be something that draws you to Android, so it can't be all that bad, or your switching don't make any sense. If I had to buy phone for my grandmother I would probably pick iphone, if I had iphone and was forced to use itunes to transfer few files from computer to phone or back and I do that often, I'm afraid I would smash the phone with the hammer and be out thousand dollars, but it's just me and maybe I'm nuts.
Thread closed, as it is a duplicate thread. Please don't create more than one thread for the same purpose.
https://forum.xda-developers.com/general/help/jailbreak-vs-android-privacy-apps-t3683493

All cores are at 100% every few minutes

Anyone knows how to see which app is using the most CPU time? I want to throw my new redmi note 9 at the wall already. Hardly any apps installed and every few minutes it freezes and becomes unresponsive.
I got one app and it showed this during freezes
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Did you install a new app before that started?
No, Even during initial setup it was like this
Do you have root right now ?
Basically the miui doesn't kill the app when you close/ leave it.Download something like avast cleaner in the Playstore and close/force the apps listed.Hate to say it but don't expect wonderful things from this phone.Mtk cpu and the biggest problem the miui interface atm.
Dokrak99 said:
Do you have root right now ?
Basically the miui doesn't kill the app when you close/ leave it.Download something like avast cleaner in the Playstore and close/force the apps listed.Hate to say it but don't expect wonderful things from this phone.Mtk cpu and the biggest problem the miui interface atm.
Click to expand...
Click to collapse
Can I leave it unrooted?
I checked battery stats and it says 75% is taken by screen time. Is there any app that works without rooting and can show the tasks occupying CPU time?
Mmm let me see what ROM are you on global,EU, and what version.
This phone especially some roms are famous for a heavy load off bloatware,ads,tracking, collection off data.mix that with a very in my opinion really bad miui software.
Because you're screen takes the most battery drain most likely we could rule out a third party app.leaves us with system apps.
I had the same as you're phone out off the box freezes.
I debloat my phone installed a alternative launcher with addquard.its not a rocket but it's most off the time ok only use it as back up.
Basically I can't think off a very easy way to get detailed information right now.Even you have root system dump log .even then you have a load off info.system tracing is available but takes time to learn and understand.
I'm on global rom, 12.0.6.
I thought chrome was the problem and disabled it but I still have these 100% cpu spikes every few minutes.
Global ROM is not the cleanest ROM out there.i am not at home right now so I can't check on my other phone if we can get some information out of a non rooted phone.
I would like to point out this page.
Saki EU tool Szaki used it on global 12.03
You don't need root just read the page and run.chrome is no light weight but a mi browser with adds and tracking is no joy either.
Well because I did use this phone only for work.Testing,sharing I only do in emulators.So dropped in the phone with my son to kill it basically what we found out.its not the CPU it is android 10 what request around 2gb of ram ideally.So we got 1gb left normal it should kill processing apps if it runs out of memory.
Now the mi shell miui is holding on 2,2 GB if you play games like asphalt 8,9 zombie hunter,armor god,af arena it is killing itself.
Disable miui or/and give the miui a order to automatically close apps he really don't like that.
So the CPU runs at 100% because off the shortage in memory so in theory we only have 2gb of ram.A android 10 runs idle already around 1,6 gb.So it's no wonder why it lags big
time on a lot.
The fix create a swap file on you're android device.ram expended root ,swapper root,link2sd with gapps root.there is a APK available what create a swap file on you're sd card ,take a good card do.no root.
A video to give you idea how it can run with an without a 3 GB swap file.Even with a 1gb swap file you should walk out the woods
1 to 8 minutes testing 4 games
8 to 11 minutes FPS test .
Last part starting without v memory stuck at boot screen.

Question What does the Galaxy App Booster in Good Guardians really do behind the scenes?

Has anyone been able to figure this out?
What does this app do to "boost" performance?
Use a lot of cpu cycles, heat up the phone... that's about it.
Useful for burn in when you first get the phone, you know help get the cpu heatsink properly seated
My stock 10+ OS load is over a year old, still fast and stable without using that app.
SD Maid, using the old Device Care cleaner (firewall blocked) and clearing the system cache occasionally is all I do.
It seems that it may be compiling the app for your target device.
This might shed some light...TL;DR of TL;DR: not much if you're patient, the OS would do the same things in a few days.
“Magic Trick” of Galaxy App Booster
I happened to try an app called Galaxy App Booster that is a part of Galaxy Labs released by Samsung. It claims that it can optimize all apps on device and boost the overall performance by 5% to 15%…
itnext.io
nixnixnixnix4 said:
It seems that it may be compiling the app for your target device.
Click to expand...
Click to collapse
Ipse_Tase said:
This might shed some light...TL;DR of TL;DR: not much if you're patient, the OS would do the same things in a few days.
“Magic Trick” of Galaxy App Booster
I happened to try an app called Galaxy App Booster that is a part of Galaxy Labs released by Samsung. It claims that it can optimize all apps on device and boost the overall performance by 5% to 15%…
itnext.io
Click to expand...
Click to collapse
Interesting. Perhaps mine was already optimized although I ran it the first or second day after reloading.
On my 10+/Pie I didn't notice any difference the couple times after I ran it.
It's usefulness seems limited to being a hand warmer in the winter.
I have also noticed that turning on any power management tends to create issues and not help battery life. Problem apps are best addressed directly. About all I do otherwise is close apps when done with them.
In the end Android Pie on this device manages its self very well (after heavy reconfiguration).
My current OS load has seen heavy usage but doesn't show it... I'm impressed to the point where a reload seems like it be a waste of time even after over a year.
Snake oil?
It actually runs the shell command in the picture below to compile the apps in speed-profile mode.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can also manually compile the apps you need via adb:
adb shell cmd package compile -m <MODE> -f <PACKAGE>
In fact, I think that using the speed mode will have better performance than the speed-profile mode, but it will take up more storage space.
More about the compile mode, see:
https://source.android.com/devices/tech/dalvik/configure#compilation_options
https://source.android.com/devices/tech/dalvik/jit-compiler#force-compilation-of-a-specific-package
@functionxxx What does the "repair apps" option in the recovery do? I thought these were one and the same
0rigin said:
@functionxxx What does the "repair apps" option in the recovery do? I thought these were one and the same
Click to expand...
Click to collapse
I guess it should be similar to the Clear dalvik-cache option in the previous version of recovery, which will "undo" the optimization of all apps so that the apps can be re-optimized after reboot, just like a FOTA did.

Categories

Resources