Modified ROM with encryption and SOME Samsung functions like Edge - Samsung Galaxy S7 Edge Questions and Answers

I want to customize my phone software to get to the following:
- Get rid of the Samsung look (found a topic on Reddit to return to pretty much vanilla Android look)
- Use encryption for /data
- Debloat, I want to get rid of sh1t like S-Planner and S-Health
- I want to keep SOME functions like Edge
- Any handy tweaks are welcome
So I have been looking at what's available. I discussed Helios and SuperStock, which both should be able to use encryption but I haven't been able to get it to work. Then there is Systemless. From what I understand it's a custom rom lite with SOME tweaks and debloating of apps that are installable from Play Store. Would this be what I'm looking for? I'm still hoping for some nice ROM that supports encryption ánd has a nice Aroma installer/debloater as it will save me a lot of time. But does anyone know of such a ROM?
Alternatively I found a script to use to debloat on command line, will take some work. I can use that, keep stock ROM with encryption and not have any usefull tweaks.
I really like the hardware but I want encryption! Advice or tips on this subject are welcome.

For some reason, a lot of people prefer to disable encryption just so they can use things like TWRP to back up data. If their phone gets stolen, welp............................their girlfriends nudes are released to everyone and possibly their own nudes but oh well lol.
Anyway, your best bet is to root a stock ROM and slowly tweak it yourself. Start off with root, then flash TWRP without disabling encryption so you can flash mods still. Then flash for example the dual speaker mod, then move on to installing xposed. Once you have root, just use Titanium to disable things you don't want. Freeze them rather than deleting them.
Most UI tweaks are nonsense which either involves using a more power hungry kernel/keeping cores at a higher speed. Most battery tweaks involve disabling some UI fluidity. Stock ROM is a good place to start.

Galactus said:
For some reason, a lot of people prefer to disable encryption just so they can use things like TWRP to back up data. If their phone gets stolen, welp............................their girlfriends nudes are released to everyone and possibly their own nudes but oh well lol.
Anyway, your best bet is to root a stock ROM and slowly tweak it yourself. Start off with root, then flash TWRP without disabling encryption so you can flash mods still. Then flash for example the dual speaker mod, then move on to installing xposed. Once you have root, just use Titanium to disable things you don't want. Freeze them rather than deleting them.
Most UI tweaks are nonsense which either involves using a more power hungry kernel/keeping cores at a higher speed. Most battery tweaks involve disabling some UI fluidity. Stock ROM is a good place to start.
Click to expand...
Click to collapse
Thanks for your input. Yes, privacy and security is an underrated subject. But not to me
I can install TWRP to flash mods but if I swipe to allow modifications in TWRP the TWRP page says I might not be able to boot? How do you use it to flash mods without causing your phone not to boot?

_JT said:
Thanks for your input. Yes, privacy and security is an underrated subject. But not to me
I can install TWRP to flash mods but if I swipe to allow modifications in TWRP the TWRP page says I might not be able to boot? How do you use it to flash mods without causing your phone not to boot?
Click to expand...
Click to collapse
You can still boot but you MUST flash SuperSU before rebooting. SuperSU will patch dm-verity and you'll be fine
Flash TWRP
Swipe to allow mods
Flash SuperSU
Profit

Galactus said:
You can still boot but you MUST flash SuperSU before rebooting. SuperSU will patch dm-verity and you'll be fine
Flash TWRP
Swipe to allow mods
Flash SuperSU
Profit
Click to expand...
Click to collapse
Cool, thanks!

Galactus said:
You can still boot but you MUST flash SuperSU before rebooting. SuperSU will patch dm-verity and you'll be fine
Flash TWRP
Swipe to allow mods
Flash SuperSU
Profit
Click to expand...
Click to collapse
Will OTA updates still work?

_JT said:
Will OTA updates still work?
Click to expand...
Click to collapse
Nah they will not

Galactus said:
Nah they will not
Click to expand...
Click to collapse
Dirty flash possible for updates? Or full wipe needed?

Related

Loads of Questions Regarding my Nexus 4

Hello guys,
Firstly, I have to thank all members of this forum for helping newbies like me to do wonders with our phones.
On topic, I have recently purchased the much coveted Nexus 4. The first thing I did after unboxing it was to unlock and root it.
And up until now I have been quite content using the stock ROM. But, now I want to mix it up a little bit.
Through XDA I have become aware of quite a few ways of modding my phone and generally I do not like to do anything without knowing what I am doing. So, therefore there a number of unanswered questions in my mind, which I hope that you guys can help me out with.
Adsaway
1. I have been using Adsaway ever since I rooted my phone and got to say, its amazing. But, I have been wondering if there is any way by which I could replace "Webpage not found" with something like a plain white color or plain black color. The "webpage not found" notification in place of the ads is quite ugly.
2. Talking about ads, I understand that adsaway only prevents you from receiving the ad instead of blocking the request for the ad. I found this thread on XDA where someone said that you could considerably increase battery life by using Lucky Patcher (no, I do not use this tool for cracking). I want to know how safe this is especially considering that you can mess up your phone using Lucky Patcher. Link: http://forum.xda-developers.com/showthread.php?p=28929442
Improving Battery Life
Link: http://forum.xda-developers.com/showthread.php?t=2107163
This thread talks about how you can improve your battery life by flashing factory images. I definitely want to try it out. But, if I flash factory images wouldn't I be flashing the custom recovery too? And, does this mean that I have to stay on stock ROMs to improve battery life? I kind of find it a little bit confusing.
Further, he talks about 'kernel'. Being an engineer, I know what a kernel is. But, in the context of android, when flashing ROMs, is the kernel included with the custom ROM? or do you have to install the kernel separately? And, what are the advantages of flashing a custom kernel?
Titanium Backup
1. I know that this tool backs up your phone by basically creating a image file but I have no idea on how to use it to flash custom ROMs. An explanation or a link would be really helpful. If this question has been asked and answered before, sorry for asking it again.
2. Since the Nexus does not come with any desktop software, how do you do a normal backup of your phone? Again, this is a very basic question and I could probably find the answer online so feel free to ignore this question.
Finally, thank you all for being so patient and answering my queries. I hope that this will help other newbies as well.
Hi, I may be able to help with some of your questions.
I'm not sure but the "Webpage not found" error may be a result of the browser you use, or not . Anyway I use the app 'Adaway' with the Chrome beta browser and do not get that error in either the browser or other apps that have ads in them.
The first time I've heard of Lucky Patcher so I cant comment. But I personally wouldn't install it unless it is open source and proven not to be stealing your info. these kind of things are sketchy in my opinion. The thing is with adaway it is changing your Hosts file so any ad request is pointing back to the phone. So its not like you are using data to block the ads. So I can't imagine there is a huge battery savings.
From reading the thread about flashing the stock Image, it seems very hit or miss on getting any results. If you are planning to run a custom rom I wouldn't bother. When installing a rom you will usually be wiping all of that anyway.
Roms come with a kernel built in. The advantages of changing kernels depend on what kernel you install but they usually include options to be able to under or overclock the cpu and gpu. Adjust the voltages of the cpu. Change the cpu and gpu governors and i/o scheduler as well as the readahead value for eMMC. You can adjust color and gamma values for the screen. Adjust the vibration level of the phone. And some kernel developers will add their own tweeks to the governors for improved performance.
Titanium backup actually backs up each app and its associated data on your phone allowing you to restore them after flashing a new rom. You can restore apps themselves after a new rom install from the play store without using something like titanium backup but you will lose any data that is associated with that app. Restoring app data can cause issues though. So it is not recommended to restore any system apps after a rom install although I usually will restore Phone/Messaging storage data and have never had an issue but the possibility is there.
In the process of installing custom roms you will need to install a custom bootloader. Either CWM or TWRP usually. These bootloaders give you the option to do a full system image called a Nandroid. This is what most people use as a backup.
Hope this is some help. I am no expert, this is just what I have learned from experiance here at XDA.
linelock said:
Hi, I may be able to help with some of your questions.
I'm not sure but the "Webpage not found" error may be a result of the browser you use, or not . Anyway I use the app 'Adaway' with the Chrome beta browser and do not get that error in either the browser or other apps that have ads in them.
The first time I've heard of Lucky Patcher so I cant comment. But I personally wouldn't install it unless it is open source and proven not to be stealing your info. these kind of things are sketchy in my opinion. The thing is with adaway it is changing your Hosts file so any ad request is pointing back to the phone. So its not like you are using data to block the ads. So I can't imagine there is a huge battery savings.
From reading the thread about flashing the stock Image, it seems very hit or miss on getting any results. If you are planning to run a custom rom I wouldn't bother. When installing a rom you will usually be wiping all of that anyway.
Roms come with a kernel built in. The advantages of changing kernels depend on what kernel you install but they usually include options to be able to under or overclock the cpu and gpu. Adjust the voltages of the cpu. Change the cpu and gpu governors and i/o scheduler as well as the readahead value for eMMC. You can adjust color and gamma values for the screen. Adjust the vibration level of the phone. And some kernel developers will add their own tweeks to the governors for improved performance.
Titanium backup actually backs up each app and its associated data on your phone allowing you to restore them after flashing a new rom. You can restore apps themselves after a new rom install from the play store without using something like titanium backup but you will lose any data that is associated with that app. Restoring app data can cause issues though. So it is not recommended to restore any system apps after a rom install although I usually will restore Phone/Messaging storage data and have never had an issue but the possibility is there.
In the process of installing custom roms you will need to install a custom bootloader. Either CWM or TWRP usually. These bootloaders give you the option to do a full system image called a Nandroid. This is what most people use as a backup.
Hope this is some help. I am no expert, this is just what I have learned from experiance here at XDA.
Click to expand...
Click to collapse
Hey, thanks for the comprehensive reply. It answers many of my questions. Firstly, I am going to do away with Lucky Patcher and at this time I do not think I need a custom kernel.
However, after reading your reply I have a fresh set of questions:
1. If restoring apps can cause issues, then what is the alternative if you do not want to lose your app data? Are you saying that once I install the custom ROM, I could restore most apps using Titanium Backup but for system apps (meaning root access apps right?) I should just do a fresh install from the Play Store?
2. I have already flashed CWM during root so 1 plus point for me . From your description, it is my understanding that people will create a Nandroid right before flashing a custom ROM/kernel so that in case anything goes wrong they can just restore back to previous state using the Nandroid image. Again, correct me if I am wrong.
Well and another problem that I forgot to mention in my opening post is with my WiFi:
Many a times, even after connecting to my home wifi network, I cannot access the internet. Then, if I reboot my phone and reconnect to wifi it starts working. Weird, I know. And, no its not a problem with my WiFi network, I verified that.
w1ndhawk said:
Adsaway
1. I have been using Adsaway ever since I rooted my phone and got to say, its amazing. But, I have been wondering if there is any way by which I could replace "Webpage not found" with something like a plain white color or plain black color. The "webpage not found" notification in place of the ads is quite ugly.
2. Talking about ads, I understand that adsaway only prevents you from receiving the ad instead of blocking the request for the ad. I found this thread on XDA where someone said that you could considerably increase battery life by using Lucky Patcher (no, I do not use this tool for cracking). I want to know how safe this is especially considering that you can mess up your phone using Lucky Patcher. Link: http://forum.xda-developers.com/showthread.php?p=28929442
Improving Battery Life
Link: http://forum.xda-developers.com/showthread.php?t=2107163
This thread talks about how you can improve your battery life by flashing factory images. I definitely want to try it out. But, if I flash factory images wouldn't I be flashing the custom recovery too? And, does this mean that I have to stay on stock ROMs to improve battery life? I kind of find it a little bit confusing.
Further, he talks about 'kernel'. Being an engineer, I know what a kernel is. But, in the context of android, when flashing ROMs, is the kernel included with the custom ROM? or do you have to install the kernel separately? And, what are the advantages of flashing a custom kernel?
Titanium Backup
1. I know that this tool backs up your phone by basically creating a image file but I have no idea on how to use it to flash custom ROMs. An explanation or a link would be really helpful. If this question has been asked and answered before, sorry for asking it again.
2. Since the Nexus does not come with any desktop software, how do you do a normal backup of your phone? Again, this is a very basic question and I could probably find the answer online so feel free to ignore this question.
Finally, thank you all for being so patient and answering my queries. I hope that this will help other newbies as well.
Click to expand...
Click to collapse
2. Adsaway blocks ads in apps so they aren't downloaded AFAIK(don't see the Download arrow in status bar) which saves power
3. You don't have to stay on stock after flashing the images. The images touch different partitions that were probably flashed improperly at the factory.
4.Kernels are already inside custom Roms. Custom kernels that are available separate have their own perks though and are from different Devs.
6. For Titanium after you backup you just connect your phone to your pc and it'll be detected. No desktop software is needed, just drap and drop.
By system apps I mean things like android settings. I use TB for stuff like games so I don't have to stay over from the start. when you install TB you will see what is labeled as a system app and what is labeled as a user app.
Exactly, a nandroid is a like a disk image that you can restore.
Sorry I can't help with your wifi issue, I'm not having that problem.
@Ace42
Ok so I guess it should do no harm if I first flash stock images and then over that flash the custom . NM/kernel of my choice. In fact there is a chance it may improve my battery life.
Thanks for clarifying the titanium backup part, it sounds simple enough.
OT:
I managed to solve the webpage not found problem on ad away. All you have to do is enable web server in preferences.
Again, thank you guys.
linelock said:
From reading the thread about flashing the stock Image, it seems very hit or miss on getting any results. If you are planning to run a custom rom I wouldn't bother. When installing a rom you will usually be wiping all of that anyway.
In the process of installing custom roms you will need to install a custom bootloader. Either CWM or TWRP usually. These bootloaders give you the option to do a full system image called a Nandroid. This is what most people use as a backup.
Click to expand...
Click to collapse
These paragraphs are incorrect.
The top one was covered already.
There are no custom bootloaders for the Nexus 4. There are custom recoveries, but a bootloader is by no means a recovery. Do not confuse the two.
w1ndhawk said:
@Ace42
Ok so I guess it should do no harm if I first flash stock images and then over that flash the custom . NM/kernel of my choice. In fact there is a chance it may improve my battery life.
Thanks for clarifying the titanium backup part, it sounds simple enough.
OT:
I managed to solve the webpage not found problem on ad away. All you have to do is enable web server in preferences.
Again, thank you guys.
Click to expand...
Click to collapse
No harm at all. After you do the images you can go to whatever custom setup you wanted. It personally increased my battery life and many other users here by varying degrees.
lucky patcher is for using "stolen" apps, patching their licence checks etc. it is frowned upon and can carry many bad things in it.
simms22 said:
lucky patcher is for using "stolen" apps, patching their licence checks etc. it is frowned upon and can carry many bad things in it.
Click to expand...
Click to collapse
True, but apparently it does have its uses or so I've heard.
However, what do you mean it can carry many bad things?
I thought I’d give my 2 cents on Titanium Backup…
It doesn’t create an image file of the current state of your phone. That would be a Nandroid backup done via CWM Recovery.
Titanium Backup allows you to backup apps. That means apps installed by the user (user apps) and apps that came baked into the ROM (system apps). As mentioned, it’s not recommended to restore system apps because this often causes weird issues.
When you restore, you can also choose whether to restore the app only or the app plus data. In rare cases, restoring app data causes weird issues.
One of my favorite feature of Titanium Backup is how it allows you to create a zip file of your backup that can be flashed from recovery.
Everybody uses Titanium Backup differently. But here’s how I tend to use it when moving between ROMs.
1. Backup all user apps.
2. Create a zip of the backed up user apps (no app data).
3. Wipe data (factory reset), wipe dalvik cache, flash new ROM.
4. Boot into the newly flashed ROM and go through the initial setup process.
5. Reboot into recovery.
6. Flash the zip created by Titanium Backup.
Sure, I lose all app data, but that just means I guarantee myself a clean slate to start.
ohyeahar said:
I thought I’d give my 2 cents on Titanium Backup…
It doesn’t create an image file of the current state of your phone. That would be a Nandroid backup done via CWM Recovery.
Titanium Backup allows you to backup apps. That means apps installed by the user (user apps) and apps that came baked into the ROM (system apps). As mentioned, it’s not recommended to restore system apps because this often causes weird issues.
When you restore, you can also choose whether to restore the app only or the app plus data. In rare cases, restoring app data causes weird issues.
One of my favorite feature of Titanium Backup is how it allows you to create a zip file of your backup that can be flashed from recovery.
Everybody uses Titanium Backup differently. But here’s how I tend to use it when moving between ROMs.
1. Backup all user apps.
2. Create a zip of the backed up user apps (no app data).
3. Wipe data (factory reset), wipe dalvik cache, flash new ROM.
4. Boot into the newly flashed ROM and go through the initial setup process.
5. Reboot into recovery.
6. Flash the zip created by Titanium Backup.
Sure, I lose all app data, but that just means I guarantee myself a clean slate to start.
Click to expand...
Click to collapse
Hey thanks ohyeahar. Going to follow this when flashing my custom ROM.
So ideally, aside from user apps you shouldn't restore anything. However, I would like to save backup and restore my contacts and also app data for the game Subway Surf. How safe is this? And, let us suppose do I face some problems after restoring app data, will just uninstalling and resintalling the application suffice in alleviating the problems?
OT:
Now, that I will be flashing factory image (to try and improve my battery life), I assume I am going to lose my unlock+root. Should I be making a nandroid before doing this in the case of some problem?
Reflashing the system image will remove root yes, but your bootloader will still be unlocked. All you need to do after flashing the new system image is install http://download.chainfire.eu/306/SuperSU/UPDATE-SuperSU-v1.00.zip from CWM (or TWRP).
--You should always have at least one nandroid backup on your phone in case anything goes wrong.
w1ndhawk said:
Hey thanks ohyeahar. Going to follow this when flashing my custom ROM.
So ideally, aside from user apps you shouldn't restore anything. However, I would like to save backup and restore my contacts and also app data for the game Subway Surf. How safe is this? And, let us suppose do I face some problems after restoring app data, will just uninstalling and resintalling the application suffice in alleviating the problems?
OT:
Now, that I will be flashing factory image (to try and improve my battery life), I assume I am going to lose my unlock+root. Should I be making a nandroid before doing this in the case of some problem?
Click to expand...
Click to collapse
Your contacts shouldn’t require backing up because they should be backed up to your Google account.
If you want to restore app data for certain apps, I would do it one at a time. That way, if problems occur, you at least know which app is the culprit.
If you uninstall and reinstall the problematic app, that would work. Or you can simply just go into the app settings and clear data for that app. That should be sufficient.

How do I undo...

Help me get back to stock. I'm sick of xposed being installed, the mod collection, the play store, etc. I just want root and Tasker, and I'll gets apps across other ways.
But how do I truly restore/hard reset this thing. I don't want a 'factory reset' as it seems pieces of xposed or the mod collection remain and I just want it gone.
Does the alt+print method truly rewrite the OS? I don't want just /system cleared, I want all this stuff GONE!
why you ask? All the work that has been done is awesome, and provides great features. But it still feels a bit like a dirty hack and no matter what I do my system is still slow. It wasn't slow before installing all this stuff, but it still is after a factory reset. Half the mods didn't work for me, 720 no, stop updates no, play store yes, kinda, when it doesn't crash.
Thanks for listening to my rant, kinda annoyed by a forced OTA that's trying to install and preventing me from using my system right now.
Just uninstall Xposed. Then the other mods won't load.
Well, preferably I would overwrite everything that's on there and start over. I have exposed installed but only the play store is active (as nothing else works).
I heard flashing the OTA while rooted turns the flash into a complete flash instead of a partial. Is this true? Also, if I reload the boot loader (or overwrite boot loader?) In cwm installing the flash might it do a full system write?
I ask because I maintained root after my last OTA so something remained. I would like to not have this happen.
Snoman002 said:
Well, preferably I would overwrite everything that's on there and start over. I have exposed installed but only the play store is active (as nothing else works).
I heard flashing the OTA while rooted turns the flash into a complete flash instead of a partial. Is this true? Also, if I reload the boot loader (or overwrite boot loader?) In cwm installing the flash might it do a full system write?
I ask because I maintained root after my last OTA so something remained. I would like to not have this happen.
Click to expand...
Click to collapse
Whether you're rooted or not isn't going to change how the updater script works. And if you've ever tried what you're proposing on an Android phone or tablet, you'll know that that's called "dirty flashing" (flashing on top of existing material). If you really want to go full-stock, you'll need to format your partitions [/system and /data, along with userdata first, then flash a stock OTA or zip (either via a fastboot zip, which I'm pretty sure doesn't exist right now, or via recovery).
How comfortable are you with using adb/fastboot?

[Q] Xposed a small question

This might be a stupid question I dont know. But this small question in my mind is preventing me from moving forward with my life so I really need an answer. I want to install cwm recovery because everywhere I see people say that its important to get a nandroid backup when you're using xposed. Xposed always come up in my mind when I'm gonna do these kind of things. I already have xposed installed on my phone with stock recovery(if that is what you call it).
So here is my question: Will xposed damage my smartphone if I get cwm recovery or is it safe. ^^
I'm a noob I know...
re: xposed
RandyBoyz92 said:
This might be a stupid question I dont know. But this small question in my mind is preventing me from moving forward with my life so I really need an answer. I want to install cwm recovery because everywhere I see people say that its important to get a nandroid backup when you're using xposed. Xposed always come up in my mind when I'm gonna do these kind of things. I already have xposed installed on my phone with stock recovery(if that is what you call it).
So here is my question: Will xposed damage my smartphone if I get cwm recovery or is it safe. ^^
I'm a noob I know...
Click to expand...
Click to collapse
Xposed and it's modules are all perfectly safe, none of them can or will
damage any part of your phone.
Some features of Xposed may or may not work for your particular
phone's model or your particular rom.
If you have problems with Xposed or any of it's modules then simply
either disable it or uninstall it.
Good luck!
Thanks
ROM may flash stock recovery on boot
no
yes disable recovery flash
wich one should I choose?
RandyBoyz92 said:
ROM may flash stock recovery on boot
no
yes disable recovery flash
wich one should I choose?
Click to expand...
Click to collapse
"yes disable recovery flash"
nicholaschum said:
"yes disable recovery flash"
Click to expand...
Click to collapse
Thanks

[ROM] LG V10 H901-10c Debranded, Debloated, Deodexed ROM - Clean & Stable

Debranded, Debloated, Deodexed H901-10c ROM for T-Mobile LG V10 (LG-H901) - Clean & Stable
Thanks go to @Rydah805 for deodexing the stock ROM and being my guinea pig while I was fixing all the broken features.
Thanks also go to @KOLIOXDA for being my guinea pig while troubleshooting installation issues.
Features:
WiFi Calling works with Xposed (even in Airplane Mode)
Second screen works with Xposed (no more force-closes during calls)
No spyware (Adapt Client and Carrier IQ removed)
No T-Mobile apps
No Google apps (except Play Store, Search, Text-to-Speech, and Google Play Services)
Stock LG boot and shutdown animations
No boot sound (boots silently)
No Chrome customizations (Chrome homepage no longer forced to t-mobile.com)
Stock recovery restore disabled (does not overwrite TWRP on reboot)
External storage permissions fix (all apps can write to MicroSD card)
WiFi connectivity fix by @ZDeuce2
AOSP Emoji font
Over 100 additional alarm, ringtone, and notification sounds from Nexus and Samsung phones
Busybox 1.24.1
SuperSU v2.65 stable
Stock 10c kernel and boot image
Download (built Feb. 08, 2016): https://onedrive.live.com/redir?resid=FE4478E2ABDFD5FC!1082&authkey=!AMAKMBsK8gCEhH0&ithint=file,zip
Changes in this build: Updated SuperSU to 2.65 stable.
Before you install, read below:
Safe to install over stock ROM (odexed or deodexed), no need to factory-reset, unless you're compelled to do so by your inner demons.
Compatible with Xposed v79-sdk22-arm64 and later (sdk22-arm64 ONLY). Do NOT install any earlier versions or other variants of the Framework. You must use Xposed Installer 3.0 alpha 4.
Compatible with P_Toti's G4TweaksBox.
Compatible with the LG Apps Theme Engine.
The T-Mobile Device Unlock app does not work on this ROM and is not included. The Play Store version does not work, either. To SIM-unlock your phone, flash the stock ROM, unlock (SIM-unlock is forever and not ROM-dependent), then flash my ROM.
To get back Google and T-Mobile (except Device Unlock) apps, install them from the Play Store. They all work. They were removed because system apps are not Greenifiable, plus they were causing problems when deodexed.
If you use an ad blocker that modifies your hosts file (such as AdAway), you must reapply your ad-blocking filters as this ROM overwrites your customized hosts file with a stock hosts file.
Do NOT install the "Second Screen Fix" ZIP, second screen works fine in this ROM with and without Xposed. The "Second Screen Fix" is only for odexed ROMs and will break the second screen in this ROM.
This ROM removes any mods you have installed. If you want to reinstall them, they MUST be made for a deodexed stock ROM. Mods for odexed or non-stock ROMs may cause force-closes or a bootloop (flash them at your own risk).
If you're still seeing My T-Mobile, Lookout, or the other apps in your app drawer after installing my ROM, those are updates that have been installed from the Play Store - uninstall them manually like any other user app.
DO NOT USE "FIX PERMISSIONS" IN TWRP. TWRP has no idea what permissions are correct for your phone and will screw them up, resulting in random force-closes in various apps. If you did it, you will need to wipe the entire /data partition (not just factory reset) and reflash the ROM.
If Hangouts crashes when you receive a message or call, it's because it can't find one or more notification or ringtone audio files. Go into your phone's Sound settings and re-select your notification and ringtone sounds, then go into Hangouts settings and re-select the ringtone and notification sound for each type of notification (Hangouts call, Hangouts message, Google Voice call, Google Voice message, and so on).
DO NOT INSTALL PowerNap/WakeLockManager. You will get random reboots and corrupt internal storage, since WakeLockManager randomly hard-crashes the entire ART virtual machine.
To disable the OTA notification: http://forum.xda-developers.com/showpost.php?p=66304926&postcount=1002
Installation:
WARNING: Do NOT install over a custom ROM. You will get a bootloop/force-close loop.
Copy ZIP file to phone.
Boot into TWRP.
If clean-installing, factory-reset the phone. The installer wipes the system partition automatically.
Install the ZIP.
If you want Xposed, install it now (use only v79-sdk22-arm64 or later).
Reboot.
WARNING: Do NOT install mods for other ROMs on this ROM. You will get a bootloop/force-close loop.
Do not reuse this ROM without my permission - ask first and give credit where it's due!
Enjoy!
PS. I will begin work on the Marshmallow version of my ROM once we have an official way of flashing TWRP on the Marshmallow bootloader. I want the upgrade process to be "Flash the MM KDZ, install TWRP, flash my ROM." Until then, sit tight!
So we don't factory reset or wipe anything? What if we have mods flashed as well?
baySF said:
So we don't factory reset or wipe anything? What if we have mods flashed as well?
Click to expand...
Click to collapse
No Factory Reset OR Wipe,just flash over what you have ATM.
Make a backup of your present set-up before flashing though,just in case something else pops up.
EDIT:
Removed my previous statement regarding mods/add-ons,they'll need to be re-flashed & only de-odexed mods will work per siraltus (ROM OP)
baySF said:
So we don't factory reset or wipe anything? What if we have mods flashed as well?
Click to expand...
Click to collapse
If you have mods flashed, this will remove them, so you will have to reflash them - but only if they're made for a deodexed stock ROM. If they're made for an odexed or custom ROM, they will likely not work, so flash at your own risk.
KOLIOXDA said:
No Factory Reset OR Wipe,just flash over what you have ATM.
Make a backup of your present set-up before flashing though,just in case something else pops up.
EDIT:
A flash over a factory reset would probably work,I don't see why it wouldn't,but,it's probably not necessary.
I didn't reset or wipe anything & I'm doing just fine.
I don't have Xposed or any sound mods installed,but,my bet is you shouldn't have any problem flashing over a set-up with Xposed or any other mods.
Click to expand...
Click to collapse
The ZIP wipes the /system partition automatically so there is no need to wipe it manually.
In fact, if you wipe it manually, the ZIP will fail because TWRP will lock the /system partition for an unspecified amount of time and you will need to reboot TWRP before installing the ZIP.
If you want to clean-install this, then do a factory reset, reboot TWRP, then install this ZIP. I updated instructions in OP to reflect this.
Thanks!! I'll be checking this out shortly!! :highfive:
so we need to flash a stock rom first?
Just making sure, because I'm currently on black hole... Sorry, replied earlier, but son got sick again so I didn't see the other replies...
Sent from my LG-H901 using Tapatalk
ZDeuce2 said:
so we need to flash a stock rom first?
Just making sure, because I'm currently on black hole...
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
No, read the instructions under "To clean-flash".
siraltus said:
No, read the instructions under "To clean-flash".
Click to expand...
Click to collapse
Sorry, first read it right after you posted op... Then my son got sick again, so I didn't hit send for a while... Lol.
Sent from my LG-H901 using Tapatalk
ZDeuce2 said:
Sorry, first read it right after you posted op... Then my son got sick again, so I didn't hit send for a while... Lol.
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
Oh, sorry, yeah I rewrote most of OP in the past hour, LOL
Is it possible to change the DPI of the ROM without all the stock apps going crazy? I'm not sure of the status of xposed so I'm assuming thats outta the picture right now
_-..zKiLLA..-_ said:
Is it possible to change the DPI of the ROM without all the stock apps going crazy? I'm not sure of the status of xposed so I'm assuming thats outta the picture right now
Click to expand...
Click to collapse
The ROM is fully compatible with Xposed v79 SDK22 arm64.
No idea about changing the DPI. I don't recommend it as it seems to break things on this phone.
Dear Sir. Altus,
Thank you for the clean upload, and directions. Currently I am running Rydah805's deodexed rom that you were kind enough to work on fixing wifi calling, etc.
My question is: Is this rom different from Rydah805's V. 1.2.2 as stability and features goes? Would you recommend dirty flashing it over his rom?
Thank you all for your hard work and Happy Holidays
Best,
Bob
bobobobicsek said:
Dear Sir. Altus,
Thank you for the clean upload, and directions. Currently I am running Rydah805's deodexed rom that you were kind enough to work on fixing wifi calling, etc.
My question is: Is this rom different from Rydah805's V. 1.2.2 as stability and features goes? Would you recommend dirty flashing it over his rom?
Thank you all for your hard work and Happy Holidays
Best,
Bob
Click to expand...
Click to collapse
You're welcome. Yes, you should flash this over his ROM. I took his deodexed base and fixed everything that was broken in it (WiFi, Hotspot, power management, other stuff), and rather than cluttering the old thread, I started a new thread with a 100% tested build and clear instructions. I debloated and debranded it, added a few useful modifications, plus I made about 30ish corrections to broken permissions and SELinux contexts that were likely causing problems in his ROM that we had yet not discovered (the power management stuff was likely not functioning properly due to being denied proper privileges). Read the OP for a list of features and modifications.
siraltus said:
You're welcome. Yes, you should flash this over his ROM. I took his deodexed base and fixed everything that was broken in it (WiFi, Hotspot, power management, other stuff), and rather than cluttering the old thread, I and started a new thread with a 100% tested build and clear instructions. I debloated and debranded it, added a few useful modifications, plus I made about 30ish corrections to broken permissions and SELinux contexts that were likely causing problems in his ROM that we had yet not discovered (the power management stuff was likely not functioning properly due to being denied proper privileges). Read the OP for a list of features and modifications.
Click to expand...
Click to collapse
Thank you again! Dirty Flashing now
Xposed
Will this Rom have the second screen fix once I install Xposed?
Thanks for your hard work.
mkrunk12 said:
Will this Rom have the second screen fix once I install Xposed?
Thanks for your hard work.
Click to expand...
Click to collapse
You're welcome. There is no need for that, second screen works fine in this ROM with Xposed and without. The "second screen fix" is only required on odexed ROMs. Updated OP to reflect this.
I'm having this weird issue where the screen will become tinted, almost like there's a pop-up or the notification bar is pulled down. It'll usually go away after a second or if I tap somewhere on the screen, but it's kinda frustrating.
Sent from my LG-H901 using Tapatalk
TheJesus said:
I'm having this weird issue where the screen will become tinted, almost like there's a pop-up or the notification bar is pulled down. It'll usually go away after a second or if I tap somewhere on the screen, but it's kinda frustrating.
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
I think you posted in the wrong thread. You want to post in the Troubleshooting forum.
siraltus said:
I think you posted in the wrong thread. You want to post in the Troubleshooting forum.
Click to expand...
Click to collapse
No, I was the second one to install it over in the original thread and I didn't have the issue with the actual stock ROM.

Moving to Mi A1

I have always rooted and used Titanium Backup to set up a new phone but this time I want to leave it alone, more and more apps are checking for root and certified/uncertified, last week I could not even get a PizzaExpress app because it needs 6.0+ & unrooted (had to unroot my old S2 on Lineage), I have decided I want my banking apps back and other things I lost over the years, so no root or customising (yet! hehe).
With that in mind what is the best way to restore, obviously Google will take care of a lot of it but things like call logs, sms, bluetooth, some app data, in the past I would selectively use Titanium to restore anything I found missing but without root, what to use? Helium, mi mover or something else.
My S4 is rooted but stock right now so calls, SMS, rejection lists even wallpaper is synced with Samsung, I guess there will be no way to access these backups from the A1
You can root via Magisk. It doesn't break the SafetyNet. Moreover, you can hide it from certain apps. All the banking apps work if you root via Magisk.
Edit: Here's the link to the thread: https://forum.xda-developers.com/mi-a1/how-to/root-mi-a1-oreo-8-0-disabling-ota-magisk-t3728654
darkpegasus said:
You can root via Magisk. It doesn't break the SafetyNet. Moreover, you can hide it from certain apps. All the banking apps work if you root via Magisk.
Edit: Here's the link to the thread: https://forum.xda-developers.com/mi-a1/how-to/root-mi-a1-oreo-8-0-disabling-ota-magisk-t3728654
Click to expand...
Click to collapse
I did see that and did think about it, it's been a bit cat and mouse hiding root for years now and I can only see it getting worse as android secuity ramps up, I thought I would keep this phone clean as long as I could resist
I might go with the root, I could always remove it again I guess.
You will not resist for a long time, you know that, all of us know that
I bought this phone today online and expect to receive it within days and I was thinking exactly like you, then log on to XDA 10 minutes ago searching for rooting threads to be ready when I receive it
darkpegasus said:
You can root via Magisk. It doesn't break the SafetyNet. Moreover, you can hide it from certain apps. All the banking apps work if you root via Magisk.
Edit: Here's the link to the thread: https://forum.xda-developers.com/mi-a1/how-to/root-mi-a1-oreo-8-0-disabling-ota-magisk-t3728654
Click to expand...
Click to collapse
When it arrives, it should come on N, so I guess I could root it with Magisk, get it up and running how I like it then restore the boot image, remove Magisk and allow the O OTA and everything will be 100% stock again?
kudos1uk said:
EDIT: When it arrives, it should come on N, so I guess I could root it with Magisk, get it up and running how I like it then restore the boot image, remove Magisk and allow the O OTA and everything will be 100% stock again?
Click to expand...
Click to collapse
Yup. Magisk does not touch system files. It will be 100% stock without any issues.
2363 said:
You will not resist for a long time, you know that, all of us know that
I bought this phone today online and expect to receive it within days and I was thinking exactly like you, then log on to XDA 10 minutes ago searching for rooting threads to be ready when I receive it
Click to expand...
Click to collapse
You are right there lol
I am starting to think we are beginning to lose more than we gain, I comes to something when a stupid pizza shop app checks for root!
darkpegasus said:
Yup. Magisk does not touch system files. It will be 100% stock without any issues.
Click to expand...
Click to collapse
Thinking about this and reading the thread, does Titanium not need Busybox installed? busybox installs to "system" and would stop OTA?
kudos1uk said:
Thinking about this and reading the thread, does Titanium not need Busybox installed? busybox installs to "system" and would stop OTA?
Click to expand...
Click to collapse
I just installed Titanium Backup without installing busybox and it works. (Busybox maybe included in the custom ROM I've installed, I dunno).
I think you are being unnecessarily cautious about Root. Almost all the banking apps work even when Magisk is installed. You can enjoy root without worrying about the safetynet.
darkpegasus said:
I just installed Titanium Backup without installing busybox and it works. (Busybox maybe included in the custom ROM I've installed, I dunno).
I think you are being unnecessarily cautious about Root. Almost all the banking apps work even when Magisk is installed. You can enjoy root without worrying about the safetynet.
Click to expand...
Click to collapse
Thanks for that.
I'm comfortable with root now after loads of reading of that thread but was just being cautious no to allow any app to change the system folder once root is running.
I also see this method of root cant be used on N so my idea of rooting / restoring / unrooting and upgrading to O will not work so I will just upgrade to Oreo / root / restore and then decide if I want to keep root or not.
kudos1uk said:
Thanks for that.
I'm comfortable with root now after loads of reading of that thread but was just being cautious no to allow any app to change the system folder once root is running.
I also see this method of root cant be used on N so my idea of rooting / restoring / unrooting and upgrading to O will not work so I will just upgrade to Oreo / root / restore and then decide if I want to keep root or not.
Click to expand...
Click to collapse
Yup, you can upgrade to Oreo, root, and restore.
Also, if there are any issues afterwards, you can always flash the official fastboot ROM by MiFlash Tool without wiping your internal storage.
IjazCI said:
Hi there, you could root with magisk , restore your data then flash stock rom through mi flash tool . Make sure to select the "save user data " option before flash. This way you will be 100 % stock and take ota's.
I suggest you to enable the camera 2 api using set prop method by flex1911 ( the one which doesn't uses magisk) before flashing stock rom.
Cheers
Edit : my advice is literally Same from the guy above. Didn't see that. . Saw your post , think that i can help and replayed
Click to expand...
Click to collapse
Thanks, I think I will just have to devote a good long time to this, at least I will have both phones side by side so I can keep trying all the restore methods known

Categories

Resources