Android 4.1.2 - Not much restriction
Android 4.3 - Access to the flight mode by third party profile switching apps (like profile scheduler +) was blocked.
Android 4.4 onwards - Access to the memory card by third party apps (like app backup and restore, bookmarksb pro, x-plore, es file explorer etc) was also blocked
(I have witnessed the above in Samsung Note 2 N7100)
Then in android 6.0 onwards - Access to the bookmarks of stock browser by third party apps (like bookmarksb pro, ability to import the stock browser bookmarks from android firefox etc) was also blocked.
My problem :
1) I am using Samsung Note 4 SM-910G running unrooted android 6.0.1. I am facing the restriction of android 6.0 as mentioned above. Is there any way to break this limitation (like all the file browsing apps today broke the SD card access restriction in android 4.4 for unrooted phones itself)?.
2) I am using profile scheduler +. I have set profile 1 (full silent without vibrations) and profile 2 (normal ringing profile without vibration).
I have profile 1 to be activated at night and profile 2 at the morning on daily basis under 1 rule. The problem is my phone vibrates for 2 seconds only when switching from profile 2 to profile 1. But the vibration settings are disabled in both the profiles. Does anyone know the reason?.
sdcard was only blocked on 4.4.
on later versions of android it's no longer blocked, but apps need to request permission from the user the first time they try to access the sdcard.
For full sd access in MM...
Working on TW and AOSP...Install apps first then flash..
http://forum.xda-developers.com/android/software/fix-extsd-fix-v1-0b-2016-01-18-t3296266
thedicemaster said:
sdcard was only blocked on 4.4.
on later versions of android it's no longer blocked, but apps need to request permission from the user the first time they try to access the sdcard.
Click to expand...
Click to collapse
Can you solve the two problems mentioned above?.
Sameer_Ahmed said:
For full sd access in MM...
Working on TW and AOSP...Install apps first then flash..
http://forum.xda-developers.com/android/software/fix-extsd-fix-v1-0b-2016-01-18-t3296266
Click to expand...
Click to collapse
Ok. But I don't want to flash and brick my 910G phone as my LG G3 D855 got IMEI null just for choosing restore upgrade errors in LG mobile support tool.
..
Sameer_Ahmed said:
For full sd access in MM...
Working on TW and AOSP...Install apps first then flash..
http://forum.xda-developers.com/android/software/fix-extsd-fix-v1-0b-2016-01-18-t3296266
Click to expand...
Click to collapse
Kindly give solution to the 2 specific problems mentioned above.
Hello everyone!
I wanted to wright this post because it was kind of a surprise to me the outcome of my decision.
Since I bought my XT1068 back in April 2015, I constantly changed between custom ROM's and kernels, from Lollipop to Nougat, hoping to get the best out of my device, in terms of performance and also in terms of battery (as everyone else).
I faced a lot of great ROM's (CM 12.1, MinimalOS, Blisspop, TurboROM, RR, Radium, etc.) What I began to realise, was that I was still missing the bug free ROM experience I wanted, along with the performance and battery life that everyone wants.
Lately, I have been using @Danilo-Sanchez Unnofficial CM 12.1 (thanks a lot for all awesome the work man) who kept updating it with latest security patches, but I missed some of the MM features.
A couple of days ago, after reading some comments and seeing some reports I thought to my self why not go with stock (stock? omg ), and decided to install it and update it to latest version.
Along with Root, Xposed, Greenify and Amplify, I ended up with a blazing fast smooth ROM, with great performance, incredible battery life, and all the tweaks that xposed has to offer.
I now have a constant 400+Mb free RAM device with 5+hours of SoT with average usage (YouTube, browsing Chrome, Instagram, Messenger, SMS).
For those who want to know how I did it here is the guide:
There are two Stock Moto Marshmallow builds.
This is the first one, you will get everything stock, including recovery, and you will lose all data and root.
After flashing according to the link, you will receive after some minutes the second update. Install the update and then you can finally flash TWRP and then root your device.
https://forum.xda-developers.com/moto-g-2014/general/official-stock-firmware-t3018682
Here is the link for the TWRP and root thread. Remember to flash latest TWRP.
https://forum.xda-developers.com/moto-g-2…/…/xt1063-t3018818
I always have 450+ MB off free RAM and 5+hours of SoT. This achieved with xposed, greenify and amplify.
PS: I would like to remember that I dont have Facebook neither Snapchat apps, which take a lot of ram and battery. For Facebook I use Chrome shortcut.
Battery TIP:
Always try to plug in your phone to the charger between 5% and 10% and NEVER let your phone turn off itself because of no battery.
Also, if you can, always charge to 100% and try not to charge overnight, unplug when it reaches 100%.
Hope I was clear and if I helped you, hit thanks! :good:
I have to admit that I didn't use stock MM rom a lot.
I've just used stock LP 5.0.2 (which I hated because of that memory leak bug).
When update to MM came I was already using CM12.1 (later I updated to MM only to update the bootloader, but didn't use the ROM).
Was the stereo channels bug fixed on latest update?
Danilo-Sanchez said:
I have to admit that I didn't use stock MM rom a lot.
I've just used stock LP 5.0.2 (which I hated because of that memory leak bug).
When update to MM came I was already using CM12.1 (later I updated to MM only to update the bootloader, but didn't use the ROM).
Was the stereo channels bug fixed on latest update?
Click to expand...
Click to collapse
You should give it a try
Yes here stereo channels working as they should, not inverted.
After trying many ROMs on here, and ultimately not being satisfied (jumping from ROM to ROM). I found myself always going back to stock. And now seeing as how Cyanogen Inc. no longer supports CyanogenMod...not that I was ever really a fan on CM based ROMs in the first place (but apparently it was important to custom ROM development or something), ROM development for the phone has really gotten slow.
All I ever really wanted was a stable, bug free, as pure as possible AOSP ROM that's maintained and kept up-to-date with the following Apps...
G-Apps:
Google Play Store
Google Play Services
Google Now Launcher
Google Search App
Google Keyboard
And any other apps/libs required for those to work properly. Any other G-Apps that I may have needed could have been downloaded through Google Play.
Moto-Apps:
Stock Motorola Camera (fully working)
That's pretty much the only Motorola app I care about.
But no, I was unable to find such an AOSP ROM so now stock ROM is the only ROM I'll use till I part ways with my Moto G (Titan). Rooted of course, but no Xposed for me...I don't really care about customization and TBH I don't really care much for Nougat and Nougat based ROMs either. I was using stock Marshmallow for the longest while but recently decided to try stock Lollipop again. I had forgotten how responsive stock Lollipop was compared to Marshmallow, I personal never experienced any sort of memory leak on stock 5.0.2 Lollipop. Now I've decided to just stick with stock Lollipop till the end.
I've disabled the following Apps:
Android Live Wallpapers
Android System WebView
Android Work Assistant
Assist
Bubbles
Calendar
Calendar Storage
Clock
Cloud Print
com.android.wallpaper.holospiral
CQATest
Device Management
Drive
Email
Exchange Services
FM Radio
Gmail
Google Hindi Input
Google Korean Input
Google Pinyin Input
Google Play Games
Google Play Movies & TV
Google Play Music
Google Play Newstand
Google Text-to-speech Engine
Google+
Hangouts
Help
HP Print Service Plugin
iWnn IME
Maps
Motorola Alert
Motorola Boot Services
Motorola Checkin
Motorola Contextual Services
Motorola Migrate
Motorola Notification
Motorola One Time Init
Motorola Services
Motorola System Service
Music Visualization Wallpapers
Phase Beam
Photos
Preset
Print Spooler
Quickoffice
Setup
Street View
TalkBack
Translate
I use an app called Disable Service by WangQi to disable the following apps:
com.motorola.motgeofencesvc
MotoCare
MotoCareInt
Motorola Services Main
MotorolaOTA --a must disable for me, as it will try to check for updates then nag you to death to upgrade which will brick a downgraded phone.
NativeDropBoxAgent
(BlurServiceMother) Service from stock Gallery App --otherwise you'll keep getting errors in the gallery app due to NativeDropBoxAgent service being disabled.
Now I have better battery life than I did under Marshmallow and have up to 605 MBs of free RAM and a smooth responsive experience. Note that I also set animations to .5x under Developer Options and turned off touch sounds.
MobileHD said:
After trying many ROMs on here, and ultimately not being satisfied (jumping from ROM to ROM). I found myself always going back to stock. And now seeing as how Cyanogen Inc. no longer supports CyanogenMod...not that I was ever really a fan on CM based ROMs in the first place (but apparently it was important to custom ROM development or something), ROM development for the phone has really gotten slow.
All I ever really wanted was a stable, bug free, as pure as possible AOSP ROM that's maintained and kept up-to-date with the following Apps...
G-Apps:
Google Play Store
Google Play Services
Google Now Launcher
Google Search App
Google Keyboard
And any other apps/libs required for those to work properly. Any other G-Apps that I may have needed could have been downloaded through Google Play.
Moto-Apps:
Stock Motorola Camera (fully working)
That's pretty much the only Motorola app I care about.
But no, I was unable to find such an AOSP ROM so now stock ROM is the only ROM I'll use till I part ways with my Moto G (Titan). Rooted of course, but no Xposed for me...I don't really care about customization and TBH I don't really care much for Nougat and Nougat based ROMs either. I was using stock Marshmallow for the longest while but recently decided to try stock Lollipop again. I had forgotten how responsive stock Lollipop was compared to Marshmallow, I personal never experienced any sort of memory leak on stock 5.0.2 Lollipop. Now I've decided to just stick with stock Lollipop till the end.
I've disabled the following Apps:
Android Live Wallpapers
Android System WebView
Android Work Assistant
Assist
Bubbles
Calendar
Calendar Storage
Clock
Cloud Print
com.android.wallpaper.holospiral
CQATest
Device Management
Drive
Email
Exchange Services
FM Radio
Gmail
Google Hindi Input
Google Korean Input
Google Pinyin Input
Google Play Games
Google Play Movies & TV
Google Play Music
Google Play Newstand
Google Text-to-speech Engine
Google+
Hangouts
Help
HP Print Service Plugin
iWnn IME
Maps
Motorola Alert
Motorola Boot Services
Motorola Checkin
Motorola Contextual Services
Motorola Migrate
Motorola Notification
Motorola One Time Init
Motorola Services
Motorola System Service
Music Visualization Wallpapers
Phase Beam
Photos
Preset
Print Spooler
Quickoffice
Setup
Street View
TalkBack
Translate
I use an app called Disable Service by WangQi to disable the following apps:
com.motorola.motgeofencesvc
MotoCare
MotoCareInt
Motorola Services Main
MotorolaOTA --a must disable for me, as it will try to check for updates then nag you to death to upgrade which will brick a downgraded phone.
NativeDropBoxAgent
(BlurServiceMother) Service from stock Gallery App --otherwise you'll keep getting errors in the gallery app due to NativeDropBoxAgent service being disabled.
Now I have better battery life than I did under Marshmallow and have up to 605 MBs of free RAM and a smooth responsive experience. Note that I also set animations to .5x under Developer Options and turned off touch sounds.
Click to expand...
Click to collapse
Most of the apps you disabled I unninstalled myself, I prefer to free the space (although I dont really use it).
The main reason I use xposed is for amplify, greenify and for some small tweaks with gravity box, I dont like many apps messing with the phone.
Anyway, there were some features I missed from MM, that is why I switch from Lollipop.
Thanks for your comment!
The first link is not working, which is: https://forum.xda-developers.com/…/o...k-firmware-…
Please fix.
whatever7276 said:
The first link is not working, which is: https://forum.xda-developers.com/…/o...k-firmware-…
Please fix.
Click to expand...
Click to collapse
Fixed
@maximuns Since I am currently facing the dilemma (hold on for LineageOS 14.1 Snapshot or revert back to stock), I have some questions for you:
1) What apps have you disabled/uninstalled and with which app did you disable/uninstall them? Can you make a list of them as @MobileHD did with his/hers?
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed. I am currently using LineageOS 14.1 200170126.
3) What kind of weekly or monthly maintenance do you perform to keep your phone bug/ram leak free? I myself wipe cache from recovery (TWRP) every 15 days and use sd maid once a month. But I cannot keep the phone from lagging and it really gets on my nerves.
4) How may apps do you have currently installed? I feel that keeping 77 apps is killing my phone's ram.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
6) Did you make any changes to the default settings of Greenify or Amplify? What for do you use the Gravity Box app exactly? Care to mention what changes have you done to the default settings please?
Just a question. In stock roms, how you disable the ascending ringtone? I really dont like it.
Jimisballjohn said:
@maximuns Since I am currently facing the dilemma (hold on for LineageOS 14.1 Snapshot or revert back to stock), I have some questions for you:
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed. I am currently using LineageOS 14.1 200170126.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
Click to expand...
Click to collapse
You will brick your phone when you use default OTA and update it from older Android(or bootloader) version to newer.(I think its because of the bootloader) Just care!
Spieletips said:
You will brick your phone when you use default OTA and update it from older Android(or bootloader) version to newer.(I think its because of the bootloader) Just care!
Click to expand...
Click to collapse
You only brick your phone if you downgrade android with a higher bootloader to a lower (for example from 4887 - latest to 4886 - previous).
When in stock, you can update your android when the update arrives, as long as you have stock recovery, stock ROM and no ROOT. (not sure about the last one)
tasvar said:
Just a question. In stock roms, how you disable the ascending ringtone? I really dont like it.
Click to expand...
Click to collapse
I think there is no option for that and I think I don't have ascending ringtone, never noticed.
Jimisballjohn said:
@maximuns Since I am currently facing the dilemma (hold on for LineageOS 14.1 Snapshot or revert back to stock), I have some questions for you:
1) What apps have you disabled/uninstalled and with which app did you disable/uninstall them? Can you make a list of them as @MobileHD did with his/hers?
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed. I am currently using LineageOS 14.1 200170126.
3) What kind of weekly or monthly maintenance do you perform to keep your phone bug/ram leak free? I myself wipe cache from recovery (TWRP) every 15 days and use sd maid once a month. But I cannot keep the phone from lagging and it really gets on my nerves.
4) How may apps do you have currently installed? I feel that keeping 77 apps is killing my phone's ram.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
6) Did you make any changes to the default settings of Greenify or Amplify? What for do you use the Gravity Box app exactly? Care to mention what changes have you done to the default settings please?
Click to expand...
Click to collapse
Hey man, I will try to be as specific as I can:
1) What apps have you disabled/uninstalled and with which app did you disable/uninstall them?
These are all my installed apps, I don't remember the ones I uninstalled, so I will leave here all apps and you can see the ones you have that are not here (which will be the ones I uninstalled). The frozen apps are identified.
System Apps:
Android System;
Audio Effects;
Automatic SIM selection;
Basic Daydreams;
Bluetooth MIDI Service;
Bluetooth Share;
Bookmark Provider;
BrowserMessage;
Calculator;
Calendar storage;
Call Log Backup/Restore;
CaptivePortalLogin;
Certificate installer;
com.android.backupconfirm;
com.android.carrierconfig;
com.android.managedprovisioning;
com.android.providers.partnerbookmarks;
com.android.sharedstoragebackup;
com.android.wallpaper.holospiral;
com.android.wallpapercropper;
com.motorola.bug2go;
com.motorola.emaraphoneextns;
com.motorola.motgeofencesvc;
com.qualcomm.atfwd;
com.qualcomm.qcrilmsgtunnel;
com.qualcomm.timeservice;
ConfigUpdater;
Contacts;
Contacts storage;
CoreSettingsExtns;
CQATest;
Device Management (FROZEN);
DiagMdlog Settings;
DMService;
Documents;
Download Manager;
Downloads;
Emergency alerts (FROZEN);
Exchange Services;
External storage;
FMRadioService;
Fused Location;
Google Account Manager;
Google Backup Transport;
Google Contacts Sync;
Google Launcher Config;
Google One Time Init;
Google Partner Set Up;
Google Services Framework;
Help (FROZEN);
HTML Viewer;
Input devices;
Intent Filter Verification Service;
JavaTcmdHelper;
Key Chain;
LocationServices;
LocationServices;
Market Feedback Agent;
Media storage;
MmsService;
Modem Debug Settings;
MotoCare (FROZEN);
MotoCareInt (FROZEN);
Motorola AppDirectedSmsProxy Service;
Motorola bgapp1 (FROZEN);
Motorola Boot Services;
Motorola Checkin (FROZEN);
Motorola Contextual Services
Motorola Modem Service
Motorola notification (FROZEN);
Motorola One Time Init (FROZEN);
Motorola Services Main (FROZEN);
Motorola Update Services (FROZEN);
MotoSignatureApp (FROZEN);
NativeDropBoxAgent;
OMA client provisioning;
Package Access Helper;
Package installer;
PacProcessor;
Phone;
Phone and Messaging Storage;
Phone Call Management;
Phone Services;
Photos;
Preset;
Print Spooler;
ProxyHandler;
Rescue Add-On: Motorola;
SEPolicyUpdate;
Settings;
Settings storage;
Settings storage;
Setup;
Setup Wizard;
Shell;
SIM Toolkit;
Storage Optimiser;
System UI;
Trusted Face;
User Dictionary;
VpnDialogs.
Installed Apps:
Amplify (XPOSED);
Android System WebView;
Google Calendar;
Camera;
Google Chrome;
Clock;
Google Drive;
File Manager (from Moto G4);
FM Radio;
Gboard;
Google App;
Google Now Launcher;
Google PDF Viewer;
Google Play services;
Google Play Store;
GravityBox [MM] (XPOSED);
Instagram;
Google Keep;
Google Maps;
Facebook Messenger;
Google Messenger;
Naptime;
No Lock Home (XPOSED);
Microsoft Outlook;
Phonograph;
Google Photos;
SeriesGuide;
Google Translate;
Xposed Installer;
YouTube.
2) What custom ROM were you using prior to reverting to stock ROM? I've read posts mentioning some ugly hardbricking when reverting from custom ROM to stock ROM and that I should stick to custom ROM, if I have one installed.
I was on AOKP N (January 19th build). I don't know of such issues.
3) What kind of weekly or monthly maintenance do you perform to keep your phone bug/ram leak free?
I usually clean cache when it reaches around 500/600Mb and once a month I fstrim my device (there are many apps that do that). My device usually stays smooth.
4) How may apps do you have currently installed?
Currently 30 apps that I installed myself, I normally try to have only the essentials so my device keeps running smoothly.
5) Do we really need to install TWRP? Can't we just use the command "fastboot boot twrp.img" and run the custom recovery just to install the root app?I ask this because we won't be able to install OTA updates after installing a custom recovery.
I know that with the stock Lollipop build you could apply that command, but with marshammow I sincerely don't know if that can be done, sorry. Even so, I don't think that there will be more official OTA's for our device, so for me that is no problem at all.
6) Did you make any changes to the default settings of Greenify or Amplify? What for do you use the Gravity Box app exactly?
Greenify:
I now use Naptime from Francisco Franco instead of Greenify, it is more what I want. When I lock my device, it immediately enters Doze mode, so almost no battery is drained as soon as I turn the screen off. Also phone sensors are turned off.
I only don't apply it to Google Messenger app and phonograph because I wouldn't receive SMS/MMS neither would I be able to listen to music with screen off.
Amplify:
I leave everything as it is, all default.
Gravity Box:
I use Gravity Box app for some visual tweaks and funcionality.
Device unlocks automatically once I put the correct PIN code;
Long pressing power button when screen off turns on the flashlight;
Quick Settings tweaks (personal taste);
Turn on cursor control keys on navbar;
Advanced reboot menu;
Ram usage on recents menu;
Clear all button on recents menu.
I hope I was clear with everything, any questions feel free to ask!
Hit thanks if I helped you :good:
I think if you don't try to downgrade or mess around with the bootloader then you should be fine. For reference that's the motoboot.img file from stock ROMs. As a precaution I always rename that file to something like _motoboot.img and remove any reference to it from the EasyInstaller script I use to flash my ROM. I also do the same for gpt.bin, it seems to cause problems when you try to go back to an older partition table when downgrading. (it can cause issues with WiFi, Bluetooth, GPS, Data connections etc...)
I also use an app called Trimmer (fstrim) by AdminseHow which seems to keep my phone snappy.
These are the apps I have installed (bare in mind that I'm a very minimalist user):
{
"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"
}
And this is my memory usage:
MobileHD said:
I think if you don't try to downgrade or mess around with the bootloader then you should be fine. For reference that's the motoboot.img file from stock ROMs. As a precaution I always rename that file to something like _motoboot.img and remove any reference to it from the EasyInstaller script I use to flash my ROM. I also do the same for gpt.bin, it seems to cause problems when you try to go back to an older partition table when downgrading. (it can cause issues with WiFi, Bluetooth, GPS, Data connections etc...)
I also use an app called Trimmer (fstrim) by AdminseHow which seems to keep my phone snappy.
These are the apps I have installed (bare in mind that I'm a very minimalist user):
And this is my memory usage:
Click to expand...
Click to collapse
What rom are you using and which services have you disabled?
Edit: Nevermind, you already posted
maximuns said:
You only brick your phone if you downgrade android with a higher bootloader to a lower (for example from 4887 - latest to 4886 - previous).
When in stock, you can update your android when the update arrives, as long as you have stock recovery, stock ROM and no ROOT. (not sure about the last one)
Click to expand...
Click to collapse
Right now I am on LineageOS 14.1 20160702. My bootloader version is 48.86. So I guess it is safe to flash stock Marshmallow, since 48.86 is compatible with stock MM and I won't have to worry about possible hardbrick, right?
Furthermore, how do you keep system apps frozen? I guess that it's not the Servicely app that does the trick.
Jimisballjohn said:
Right now I am on LineageOS 14.1 20160702. My bootloader version is 48.86. So I guess it is safe to flash stock Marshmallow, since 48.86 is compatible with stock MM and I won't have to worry about possible hardbrick, right?
Furthermore, how do you keep system apps frozen? I guess that it's not the Servicely app that does the trick.
Click to expand...
Click to collapse
Yes you're right
I used Link2SD app
What are your thoughts on Radium Redefined? It's a stock rom which with some tweaks. I saw in your main post that you've used it but I would be interested to know your opinion on it.
am i the only dude happy with lineageos? i´m on 20160208 build and i have to say it´s pretty good...with about 50 apps and a 32gb sd it´s holding up. i bought a p9 a couple weeks ago but i still find myself comfortable with the g2 even with a crackled screen...my gf just moved on from the 1st gen moto g with cracked screen as well to a p9 lite...and guess what, i´m not jumping on the huawei boat cause LOS isn´t on the way yet...i´ve been a CM dude long time and can´t stand the bloatware on huawei phones..
NotFatMan said:
What are your thoughts on Radium Redefined? It's a stock rom which with some tweaks. I saw in your main post that you've used it but I would be interested to know your opinion on it.
Click to expand...
Click to collapse
It is a stock based rom, with a low memory consumption and really light, but the development has seized, so I prefer to stick with stock, the security patch is more recent and with root you can unninstall all the apps you don't want and tweak the rom as I did.
Anyway, it is an awesome choice also.
Keep in mind that it is stock based, so many of the kernels and mods are not compatible (just like stock)
Hope I helped
While Primary idea behind Project Treble allowing the OS layer to be updated independently - without relying on /vendor things (For starters/newbies https://www.xda-developers.com/project-treble-custom-rom-development/ )
Here at XDA we tinker around ROMs all the times. Irrespectively of ROM's stability, causal users always get stuck due to necessity to clean flash every time they want to try new ROM/new version of android
Dirty flash often creates conflicts with framework-res, System-Ui, etc etc such system apps data after a new ROM/Update and create unnecessary issues. Thus mostly considered as taboo. Whereas running Stock does not need to data wipe throughout device update lifecycle.
So, I would want discuss about the possibility of having /data modular to ROM as User App data is not going to change (Based on which root backup solutions like Titanium backup,etc work). This should enable the possibility of flashing any ROM, and User apps working smoothly on new ROM (just like device-specific blobs, etc in vender) unless major android version change is detected.
@ XDA Devs, Is this technically feasible?
Obviously its possible, i use this trick since last year.
In this trick, the app wont deleted, but, the app-data will erase.
Also everything inside/data (excluding media) erase.
But, the large sized /data/app will be intact.
Btw, it wont work, if u rollback to previous android version.
Only works within same version of multiple roms/ upgrading Android version
afridi.shahriar said:
Obviously its possible, i use this trick since last year.
In this trick, the app wont deleted, but, the app-data will erase.
Also everything inside/data (excluding media) erase.
But, the large sized /data/app will be intact.
Btw, it wont work, if u rollback to previous android version.
Only works within same version of multiple roms/ upgrading Android version
Click to expand...
Click to collapse
People are ok to lose app data if they want to roll back to previous versions of android. My context is reg. Project Treble which is only supported from Oreo..
Btw., Senior developers/tweakers pls think about this. Lets discuss if implementation of this is possible down our ROMs lane!!
arvindgr said:
People are ok to lose app data if they want to roll back to previous versions of android. My context is reg. Project Treble which is only supported from Oreo..
Btw., Senior developers/tweakers pls think about this. Lets discuss if implementation of this is possible down our ROMs lane!!
Click to expand...
Click to collapse
Hey. U don't need trebel/oreo to change ROM without deleting apps.apk, even i used this trick since......mmmm marshmallow 6.0.x
Is this referencing deleting /data/data/?
It works... But can have issues based on ART optimization...
Which is why the full wipe is recommended... Not for stability... But for troubleshooting
Sent from my PH-1 using Tapatalk
Maybe even just deleting /data/data for just the system apps, keeping the user app data in tact. Its definitely possible with a basic recovery script. Maybe we can look into that
rignfool said:
Is this referencing deleting /data/data/?
It works... But can have issues based on ART optimization...
Which is why the full wipe is recommended... Not for stability... But for troubleshooting
Click to expand...
Click to collapse
Thread is related to not deleting /data/data/ on ROM changes. Won't such ART Optimisation issues go off when cache is cleared?
This same is done on stock ROMs and even official Lineage OS updates don't require clean flash
tytydraco said:
Maybe even just deleting /data/data for just the system apps, keeping the user app data in tact. Its definitely possible with a basic recovery script. Maybe we can look into that
Click to expand...
Click to collapse
Yeah, when treble overcomes some major system partition shortfalls, /data shouldn't that hard.
Basically, this should ideally allow us switch between ROMs seemlessly...
I was able to do this about 3 years ago when I had an s3 mini, I had a custom rom available called Vibrant os but I wanted some apps to be pre-setup it included a data folder with data/app and data/data included along with data/system for wallpaper
took me a while and I had to find the folder permissions for each folder and do the set permissions command in the updater script but I was able to somewhat do this
I've taken the same code applied it but with set metadata changed to set perm
and I've reverted back to stock EMUI from resurrection remix project treble and all my apps have come across ( the data/data folder is next but atleast it is possible )
some google apps don't work if downgrading though
right now i'm copying data/app to my sdcard manually, wiping system, moving it back then doing my script
My goal is for the script to move data/app and data/data to the sd card, format data partition as f2fs, move data/app and data/data back then set the permissions
So basically, split /data/data into...
/data/data_system
/data/data_user
...?
I guess it's possible, but it would require changes at the ROM level. Maybe only framework, but possibly also in native code (e.g. zygote, not sure).
But... I don't think this really has anything to do with Treble.
CosmicDan said:
So basically, split /data/data into...
/data/data_system
/data/data_user
...?
I guess it's possible, but it would require changes at the ROM level. Maybe only framework, but possibly also in native code (e.g. zygote, not sure).
But... I don't think this really has anything to do with Treble.
Click to expand...
Click to collapse
i've managed to downgrade back from pixel experiece 8.1.0 to EMUI 8.0.0 and keep my apps ( data for the apps is tricky finding out the right read, write, execute permissions )
Livi-Tech said:
i've managed to downgrade back from pixel experiece 8.1.0 to EMUI 8.0.0 and keep my apps ( data for the apps is tricky finding out the right read, write, execute permissions )
Click to expand...
Click to collapse
It's not really, you just run restorecon command recursively on the tree - as long as file_contexts is intact then it will set permissions (and, more importantly, contexts) as they should be.
Hello all,
I would like to ask what ROM like the new Paranoid where I can use all the bank applications, Google play and my work application s without issues.
I think Lineage is not possible, bank applications will not work
Can anyone advise others ROM where this can be achived
My bank application works on Lineage. I typically don't leave a work application installed on my phone, but the couple times I've needed it, it works.
Guide Installing Lineage < See section 5, Very optional Magisk, it's more than Magisk. Maybe it doesn't work for what your doing, but it does for me.
You can try a virtual OS if you like. It's an app which simulates another android os within your current ROM. Works without root. Basically, a virtual machine.
https://www.xda-developers.com/vmos-lets-you-run-a-virtual-android-environment-on-your-phone/
Fresh install of Paranoid & my bank app & Gpay both work fine.
Didn't install magisk or any other root package.