Xiaomi MIUI Official Forum

Intern Moderator

Action Beam !! Beep Beep Beep

Rank: 7Rank: 7Rank: 7

Credits
16027
Device
Mi MIX
MIUI Version
7.11.16
Online time
290 Hours
Send PM

Mijia Story TellerMi VRMi MIXUnlock MedalMi HomeMagic CubeMi Band 2Mijia Walkie TalkieMijia Qi CycleMi Bluetooth SpeakerMi HeadphonesMi ScaleXiaomi 6 LaunchNinebot MiniMijia Smart PTZ CameraMijia VR Play 2Mi  BunnyXiaomi 7th AnniversaryAwesome!I Love MIUIMarshmallowMIUI Devices ContestFantastic!Xiaomi Mi 6Redmi 4XRedmi 3SMi Max 2Mi Note 2Mi 4iRedmi Note 34 Million Forum MembersRedmi 2Redmi 1SMid-Autumn FestivalMIUI Philippines Fan Meetup3500K Forum MembersHappy DiwaliHilal Ramadan MIUI Happy MedalMIUI Font LoverDiwali Ringolicious MedalMIUI 7th Anniversary500K Forum MembersXiaomi 5th AnniversaryMIUI Fan From PhilippinesMIUI 100 Million UsersFan Of MIUI Bangladesh300K Forum MembersThanksgiving DayMIUI 9Super Sunday1800K Forum MembersFan Of MIUI Russia100k Forum MembersMIUI Lucky Friday90000 Forum MembersMIUI Forum AppFan Of MIUI IndiaRooster Year of 2017Super WednesdaySuper SaturdaySuper TuesdaySuper MondayRocket to FutureMIUI 2017Puzzle MasterI Love Mi BunnySummer Mi BunnyGamer Mi BunnyMiPopMIUI News TeamMIUI ReviewMIUI ExpertTechnology GuruMi Bunny Game Master Most Active MIUIerMaster Of TechnologyRingtone ExpertMIUI Medals CollectorPioneer of MIUI English Forum Die-hard MIUI FanOTA FeedbackMi Lover MedalStar MIUI News Team MemberTheme TalentMIUI FollowerStar Of TechnologyMIUI Halloween 201725 Million StrongForum Contest LoverMr. DependableAndroid ElfMi Story TellerMi TalentIndonesia Independence DayIndia Independence DayDebate MasterAndroid GuruUpdates LoverYouth PledgeScroll Of WisdomMIUI Android 4.4 KitKat

[Android] Android 8.1 reduces the size of inactive apps to save space

  [ Promote]
14448 328 |
23:16, Nov-11-2017 | From PC
|
|
Go to reply no.
Android-Oreo-Feature-Image-3-Purple-810x298_c.png

Storage space on smartphones tends to be at a premium, and it’s frustrating to have to constantly clear space for application updates, new applications, and even over-the-air (OTA) updates. It’s becoming less of a problem on high-end devices such as the Pixel 2 and LG V30, which offer a base 64GB of storage, but it’s still an issue on low-end and midrange device without as much built-in memory. Google’s solution? A new mechanism in Android 8.1 that frees up space by reducing application cache sizes.

An October 31 commit in the Android Open Source Project (AOSP) framework describes a space-saving feature that triggers automatically when a device is running low on space. After a length of time specified by Android’s sysprop pm.dexopt.unopt_after_inactive_days field, applications that haven’t been used in a while are marked as inactive by Android and downgraded. (Android considers applications active if they were recently in the foreground, or when they are in background while also being used by other packages.)

gsmarena_001.jpg


Here’s how it works: In Android 8.1, applications marked “inactive” aren’t run through dexopt, the Android tool that optimizes .dex files to produce an .odex file. (If you’re confused about what those terms mean, check out XDA Member cyanidekiller‘s excellent guide.) As a result, they don’t take up space in the Dalvik compiler’s cache.

It’s an elegant solution, but not a silver bullet — active applications take up the same amount of install space. And because the feature ships with Android 8.1 and most OEMs are beta-testing Android 8.0 right now, it might be a while before devices take advantage. One last wrinkle? OEMs have to manually enable the feature.

Still, it’s comforting to know that someday, you might finally be able to ditch the microSD card you’ve been forced to carry around.

What do you think of it?

Originally Posted at Source


Disclaimer: This is a reproduced article and the copyright rests with the original author. The views in this article are not from MIUI News Team, or MIUI Global Forum. If there is any disagreement, please contact the Forum Management Team to delete it.

Favorite13 Share

Rated by 7 people   Experience Prestige Reason  

sastro_kimpet + 4 Fantastic!
GangbuzzCrew + 5 Great!
Docargenis + 5 Great!
mnnahid + 8 Awesome!
KoHsetGyi + 10 + 3 Awesome!
VikuBalupura + 10 Fantastic!
Evaaaaaaa + 10 Fantastic!

Experience +52  Prestige +3  View Rating Log

Diamond Member

Rank: 5Rank: 5

Credits
956
Device
Redmi Note 4 Qualcomm
MIUI Version
V9.0.3.0.NCFMIEI
Online time
10 Hours
Send PM

MIUI 9Star Of Technology

23:22, Nov-11-2017 | From Redmi Note 4X
|
great

MIUI News Team

Rank: 6Rank: 6

Credits
5194
Device
Redmi Note 4 Qualcomm
MIUI Version
7.11.16
Online time
80 Hours
Send PM

Mi Band 2Mi ScaleMagic CubeMi  BunnyFantastic!Awesome!I Love MIUIMIUI Devices ContestRedmi Note 4XHappy DiwaliMIUI 9MIUI Happy MedalMIUI Lucky FridayMIUI 7th AnniversaryDiwali MIUI 2017MIUI Device TeamDebate MasterStar Of TechnologyRingtone ExpertMIUI FollowerAndroid ElfUpdates LoverScroll Of WisdomYouth PledgeAndroid GuruMIUI Halloween 2017Mr. DependableMIUI Android 4.4 KitKatTechnology Guru

23:30, Nov-11-2017 | From Redmi Note 4X
|
Thanks for Sharing !

MIUI Resources Team

Rank: 6Rank: 6

Credits
30170
Device
Redmi Note 3
MIUI Version
7.11.16
Online time
336 Hours
Send PM

Magic CubeMijia Qi CycleMi MIXMijia VR Play 2Mijia Story TellerNinebot MiniMi Bluetooth SpeakerMi Band 2Mi  BunnyUnlock MedalMijia Smart PTZ CameraMi HomeMi HeadphonesMi VRAwesome!Fantastic!MIUI Devices ContestI Love MIUIMi 4iRedmi Note 3Redmi 4X4 Million Forum MembersRedmi Note 4XMIUI Font LoverSuper TuesdayMIUI Forum AppSuper WednesdayHappy Diwali100k Forum MembersMIUI Happy MedalFan Of MIUI RussiaPuzzle Master90000 Forum MembersRingolicious MedalMIUI Philippines Fan MeetupXiaomi 5th AnniversaryHilal Ramadan MIUI 2017500K Forum MembersMIUI Fan From PhilippinesRooster Year of 2017Fan Of MIUI BangladeshFan Of MIUI IndiaSuper MondayMIUI Lucky FridayMIUI 7th AnniversaryMIUI Fan from TurkeyDiwali MIUI 100 Million UsersMIUI 9300K Forum MembersRocket to FutureMiPopGamer Mi BunnyI Love Mi BunnySummer Mi BunnyMIUI ReviewStar Of TechnologyMIUI KingUpdates LoverOTA FeedbackForum Contest LoverDie-hard MIUI FanTheme TalentMi Story TellerIndonesia Independence Day25 Million StrongAndroid GuruMIUI ExpertMaster Of TechnologyMIUI Halloween 2017Debate MasterAndroid ElfRingtone ExpertMi Lover MedalIndia Independence DayMr. DependableMIUI FollowerPioneer of MIUI English Forum Technology GuruMi Bunny Game Master Most Active MIUIerMIUI Android 4.4 KitKatMi TalentMIUI Medals CollectorScroll Of Wisdom

23:40, Nov-11-2017 | From Redmi Note 3
|
Thanks for Sharing 👍

Gold Member

Rank: 3Rank: 3

Credits
462
Device
Redmi 4A
MIUI Version
V8.5.7.0.MCCMIED
Online time
8 Hours
Send PM

Fantastic!MIUI Lucky FridayMIUI 7th AnniversaryMIUI Happy MedalMIUI 9MIUI Halloween 2017

23:43, Nov-11-2017 | From Redmi 4A
|
That will be an interesting feat.
Buuut... like you said, IF the OEM enable it at all. If the OEM also selling cards, probably less change.

MIUI Beta Team - Global

Rank: 6Rank: 6

Credits
5657
Device
Redmi Note 3
MIUI Version
7.11.16
Online time
249 Hours
Send PM

Mi Power Bank 10000MAH Magic CubeNinebot MiniMi BandYi Action CameraXiaomi 6 LaunchMi Band 2Mi HeadphonesMi HomeMi Bluetooth SpeakerMijia VR Play 2Mi Power StripUnlock MedalXiaomi 7th AnniversaryMIUI 8I Love MIUIFantastic!MIUI 2016MIUI Devices ContestAwesome!4 Million Forum MembersRedmi Note 3Puzzle Master2100K Forum MembersWomen's Day MedalSurge S13 Million Forum MembersSuper Wednesday10 Million Forum PostsSuper Monday3 Million Forum App InstallsMIUI Lucky FridayMIUI 2017Rooster Year of 2017MIUI Monthly TalkSuper ThursdayHappy Valentine's DaySuper TuesdaySuper FridayHappy New YearMerry ChristmasI Love 2016Singapore Merlion MedalMIUI Happy MedalMIUI Font Lover100k Forum MembersXiaomi 5th AnniversaryMIUI 9MIUI 7th AnniversaryHappy DiwaliDiwali Fan Of MIUI India1900K Forum Members90000 Forum Members5 Million Forum App InstallsFan Of MIUI RussiaRocket to FutureSuper SaturdayMIUI Forum App300K Forum MembersAlpaca Mi Bunny I Love Mi BunnyMiPopMIUI ReviewMIUI ExpertAndroid ElfIndia Independence DayMIUI Medals CollectorMIUI Android 4.4 KitKatForum Contest LoverDie-hard MIUI FanMIUI Halloween 2017Debate MasterMi Lover MedalMi TalentMIUI FollowerMIUI Ice Bucket ChallengeMost Active MIUIerTechnology GuruYouth PledgeMost Popular Forum UserMi Story TellerMIUI SuperstarScroll Of WisdomAndroid GuruMaster Of TechnologyStar Of TechnologyOTA FeedbackTheme TalentUpdates LoverPioneer of MIUI English Forum MIUI King

01:00, Nov-12-2017 | Via mobile
|
Thanks for sharing

Diamond Member

Rank: 5Rank: 5

Credits
1660
Device
0
MIUI Version
V8.5.8.0.NCFMIED
Online time
0 Hours
Send PM

Mijia Walkie TalkieMIUI Devices ContestRocket to FutureMIUI 9MIUI 7th AnniversaryMIUI Lucky FridayMIUI Halloween 2017MIUI FollowerMIUI Medals CollectorRingtone ExpertMi Lover MedalMr. Dependable

02:51, Nov-12-2017 | From Redmi Note 4X
|
Excellent news

MIUI Device Team

ADF-01

Credits
19796
Device
Redmi Note 4X
MIUI Version
V9.0.3.0.NCFMIEI
Online time
415 Hours
Send PM

Mi Band 2Mijia Smart PTZ CameraMi HomeMi HeadphonesMijia Qi CycleMagic CubeMi ScaleMi  BunnyMijia Walkie TalkieXiaomi 7th AnniversaryFantastic!Awesome!I Love MIUIMIUI Devices ContestMarshmallowFlashholicRedmi Note 4XMi 4iFan Of MIUI IndiaFan Of MIUI BangladeshMIUI Happy MedalMIUI Fan from TurkeyMIUI 9Rocket to FutureMIUI 2017MIUI Fan From PhilippinesMIUI Weekly PollMIUI 7th AnniversaryPuzzle MasterSuper MondayDiwali Happy DiwaliMIUI Lucky FridayGamer Mi BunnyMIUI Device TeamTechnology GuruRingtone ExpertAndroid ElfMi Lover MedalDebate MasterMIUI Halloween 2017Youth PledgeAndroid GuruMaster Of TechnologyDie-hard MIUI FanUpdates LoverScroll Of WisdomMi Story TellerMIUI Android 4.4 KitKatStar Of TechnologyMr. DependableMIUI Expert25 Million StrongMIUI FollowerMIUI Medals Collector

12:32, Nov-12-2017 | From Redmi Note 4X
|
Great information..

Diamond Member

Rank: 5Rank: 5

Credits
1428
Device
0
MIUI Version
7.11.16
Online time
5 Hours
Send PM

MarshmallowI Love MIUIRedmi 3SMIUI 2017MIUI 9MIUI 7th AnniversaryPioneer of MIUI English Forum

12:04, Nov-14-2017 | From Redmi 4X
|
Good

Elite Member

Rank: 6Rank: 6

Credits
7370
Device
Redmi 4
MIUI Version
7.11.6
Online time
209 Hours
Send PM

Xiaomi 6 LaunchUnlock MedalMi HeadphonesMi Yi CameraMi Power BankMi VRMagic CubeMi MIXMijia VR Play 2Mi Selfie StickMi VR HeadsetMijia Qi CycleMijia Story TellerMi HomeMi In-Ear HeadphonesMi Band 2Mi  BunnyMi Bluetooth SpeakerMi Power Bank 10000MAH Yeelight Bedside LampMi BandXiaomi 7th AnniversaryMIUI Devices ContestMarshmallowFlashholicMIUI 8I Love MIUIMIUI 2016Awesome!MIUI 7Fantastic!Redmi 4XRedmi 3Mi TV1900K Forum MembersUEFA EURO MedalMIUI World TourHilal Ramadan MIUI Fan From MyanmarMIUI Fan From PhilippinesMIUI Fan From VietnamMIUI Fan From Indonesia1400K Forum MembersMIUI Fan from MalaysiaOlympics MedalMIUI 6th AnniversaryPokemon Master MedalFan Of MIUI GreeceMIUI Fan from IndiaMIUI 300 Weeks1800K Forum MembersDiwali MIUI Fan From Brazil1500K Forum MembersMIUI Forum AppHappy DiwaliMerry ChristmasMIUI Happy MedalPuzzle Master100k Forum MembersSuper WednesdayFan Of MIUI PolandRocket to Future300K Forum MembersXiaomi 5th AnniversaryMIUI 95 Million Forum PostsSuper MondayHappy Valentine's DayMIUI 7th Anniversary500K Forum MembersMIUI 100 Million UsersSuper SaturdaySurge S11300K Forum MembersI Love 2016Fan Of MIUI BangladeshMi Live Medal2100K Forum MembersMIUI Weekly PollMIUI Marathon MedalFan Of MIUI RussiaThanksgiving DayHappy New Year3 Million Forum App InstallsXiaomi 6th AnniversaryRooster Year of 2017MIUI Fan from TurkeyFan Of MIUI IndiaMIUI 2017Summer Mi BunnyI Love Mi BunnyMiPopAlpaca Mi Bunny Gamer Mi BunnyMIUI Beta TeamMIUI ReviewRingtone Star MIUI G+ FollowerAndroid GuruMIUI FB FollowerWallpaper ExpertDebate MasterMIUI Medals CollectorMIUI Twitter FollowerMi Bunny Game Master Die-hard MIUI FanMaster Of TechnologyPioneer of MIUI English Forum Updates LoverAndroid ElfApp StarMost Active MIUIerMIUI Android 4.4 KitKatRingtone ExpertMIUI Expert25 Million StrongIndia Independence DayStar Of TechnologyInbox ZeroMIUI Wallpaper ContestMi Lover MedalHumor MasterForum Contest LoverTechnology GuruStar Of IconsMi TalentMIUI FollowerMi Story TellerScroll Of WisdomYouth Pledge

12:06, Nov-14-2017 | From Redmi 4X
|
interesting

Credits Management

Quick Reply Top Return to the list