[GUIDE]PSA for those who have slow, non responsive Samsung phones, try using the OneUI Optimization guide. It doesn't require root. - Samsung Galaxy M31 Guides, News, & Discussion

For those who need it,
[DISCONTINUED] Samsung Galaxy One UI - Optimization Guide
THIS IS A SUGGESTED CONFIGURATION FOR SAMSUNG DEVICES OUT OF SUPPORT/CLOSED I - RECOMMENDED SETTINGS To Start With - Factory Reset before starting optimisations - Factory Reset after every Major update (One UI/Android) - Remove SIM before first...
forum.xda-developers.com
You don't need to follow every step. Use what you need.
My M31s is now good enough to use with this as well as some rooted optimization I have done on my own.

Related

[Rom] Updated February 9: AOSP Jaguar Honami OFFICIAL-HYPERTOOL 5.4

This is the Official Jaguar rom for Honami, which is based on AOSP with some flavors from Slim and Dirtyunicorn. The main difference from other roms is the emphasis on security and multiple features. With that in mind , let's see what Jaguar has to offer:
1. Hardened Kernel, modified M5 built with UBERTC 6.0; hardened rom built with HYPERTOOL 5.4
2. CPU overclocked to 2572 and GPU to 600
3. All ciphers enabled in kernel instead of just a few
4. Hardened/Fortified Bionic and Libs
5. Fstack protection strong to resist buffer overflows
6. Many System apps and processes are made read-only, to reduce elevation of privilege
7. Selinux replaced with Tomoyo and Yam security
8. Disc encryption, keymaster to 256 bit AES instead of 128
9. Latest TWRP with working brightness and ability to decrypt Data
10. Random number generation mixed hardware/software, as recommended by Linus Torwalds
11. Options to randomize host on every boot
12. Option to have a separate password for lock screen and boot
13. Qualcomm's Time Services disabled due to leaking on early boot. Instead, Timekeep is ported from Nougat (time set locally without Internet or GSM signal)
14. WIFI Background Scanning disabled to prevent leaking
15. Internet disabled for both WIFI and Data until Afwall is set and activiated (Afwall included in download, install as regular app)
16. The phone is VOLTE ready and you have all network options available in Cell menu (not just LTE/WCDMA/GSM)
17. GRsecurity features, such as Sidechannel implemented
18. Some Pax Security Features
19. Option to deny USB connection: denied always; denied when locked; and allowed always
20. Hardened webview with Google and other "interesting" IPs removed
21. Prevention of bruteforcing screen pin: the phone will reboot upon 3 unsuccessful attempts
22. Perfect_Event_Paranoid ported from Grsecurity: now third party apps can't use other apps including system to elevate privileges
23. Camera hardware button works to focus, take pictures and start video recording
24. Option to disable writing to Tombstones (a lot of private info is dumped there if there is a crash)
25. Option to disable continuing writing of logcat
26. Option to disable device cameras: back; front, both or none
27. Always latest Google Security Patches
28. Always latest Code Aurora Security Patches
29. Changes ported directly from Google Android Gerrit, so most of those in MM and even N are in this rom
30. About 80% of kernel changes are ported into Jaguar kernel from 3.10 and 3.18 (not Sony AOSP 3.10, but Linux/Google/Code Aurora one)
31. Rom is odexed to significantly increase boot speed (under 30 seconds) and application start
32. Many more security features ported from Linux and Copperhead OS
33. Sony Timekeep
34. DNS Encryption, as well as the choice of multiple DNS providers
Other features include: Stereo Sound; Layers Theme Engine; Native Call Recording with interface integrated in Dialer with no restrictions; Privacy Guard; Native Wakelock Blocker; Native Black List; Global Menu; Slim Recents; Traffic Indicators; Advanced Reboot; Slim Pie; CPU Info on Screen; Ram Bar in Recents; Open source Superuser included and integrated in Settings; True Offline Charging with Screen Off; Kernel Adiutor included (unzip and install as a normal app) and integrated in Settings; FM Radio and Recording plus more
Things users need to know to have smooth experience:. These are not bugs, but rather an explanation of some features
1. If you want to do data encryption, keep in mind that unlike Android, Jaguar uses 256 bit encryption. If you were encrypted on other roms, you won't be able to decrypt. So, wipe encryption and then re-encrypt on Jaguar. Also, keep in mind that if you ever did factory reset on official TWRP 3+ for honami, your data partition is screwed and have to be resized to enable encryption. This has nothing to do with the rom, but rather with the official TWRP itself. Fastboot my unofficial TWRP 3.0.2, which, by the way has working brightness, as well as ability to decrypt and mount data
2. Jaguar contains a script running on early boot, which cuts the internet access to both WIFI and Data until Afwall is running. This is done to prevent leaking, as well as having all your internet traffic routed through some interesting number of servers, including this IP: 26.147.196.22. So, install Afwall and activate it, otherwise, no Internet for you
3. If your system language is different from English and you want to make changes in Phone/Cell Network settings, switch to English first, make the changes and then return to your language. The changes you made will hold. If you try to make the changes in your language, you will have com.android.phone crash. Localization takes time and is virtually impossible to implement in Jaguar, which is a one-person-rom
4. Qcom Time Services daemon is disabled to prevent leaking. That means that you have to set Time/Zone to automatic to get it directly from your carrier. Otherwise, you won't have the correct time on reboot. Forget it. Sony TimeKeep is now setting the correct time on reboot and without the Internet, even in Airplane mode
5. Dnscrypt: in Settings/Security you have a new feature allowing the use of different dns providers (all encrypted), instead of your provider's default one. In Afwall, you must allow access to 'apps running as root'. Otherwise, no internet
6. Supersu is no longer bundled with the rom. Activate Developer settings and enable builtin root there. Open source Superuser is now included. Activate root choices within the app
7. If you use Gapps, they must be flashed right after the rom and before reboot. If you reboot even once, you will have multiple Gapps f/c due to incorrect permissions
Download: All updates and change logs are in Post #3 now
Instructions:
YOU MUST HAVE LATEST STOCK LP 5.1.1 FLASHED ONCE ON YOUR DEVICE. Otherwise, you may experience hardware (mainly Gps problems). If after the official LP 5.1.1, you downgraded to any other official stock version, you must reflash stock LP 5.1.1
1. Have TWRP (fastboot my unofficial version), unlocked bootloader and root.
2. In TWRP, wipe data/factory reset, then wipe System/Data/Cache/Dalvik
3. Flash the rom
4. If you use xposed, flash the latest installer. Xposed no longer works and will never work with roms that incorporate Nougat security features. Xposed used a security hole that was closed by Google. Bye bye Xposed...
5. If you want Gapps, flash them before any reboot. Otherwise, you will have multiple problems due to permissions.
6. Reboot, install Afwall and Kernel Adiutor as normal apps; activate Afwall to have Internet
7. Enjoy the rom, say thank you, donate or do both
Warning: If your device and/or anyone in the immediate vicinity dies, don't blame me: it is all China and Russia's fault. :laugh:
Credit: CM, AOSP, Slimroms, DU, Copperhead OS, Myself5 (kernel)
UPDATED KERNEL SOURCE: https://forum.xda-developers.com/devdb/project/dl/?id=23107 . Don't flash. This is not kernel, but rather sources to compile kernel
Kernel Sources: https://github.com/AOSP-Argon/android_kernel_sony_msm8974
XDA:DevDB Information
Jaguar Rom , ROM for the Sony Xperia Z1
Contributors
optimumpro
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP, Slimroms, DU
Version Information
Status: Stable
Current Stable Version: 6.0
Stable Release Date: 2016-02-09
Created 2015-08-29
Last Updated 2017-02-09
Update on Further developemnt
February 16. I broke my Z1 screen again and I am not in the mood for after market screens. And I am sick and tired of Sony crappy treatment of development community.
I am now looking at Lenovo Zuk Z2 or Z2 pro. Both excellent phones with the latest CPU and made out of metal and glass by Motorola which they bought from Google a couple of years ago. Zuk is friendly to developers and their blobs don't dumb down camera and they don't seek to "unify" bugs for all their devices. I no longer wish to support a fat bastard corporation that can't make a good phone, but thinks that just by putting their logo on the phone would make it worth $700.
RE Jaguar. I will continue to maintain Jaguar mainly with security patches... for a while, but my main work will be concentrated on Zuk. There is a lot of work to be done cleaning Android N and implementing security and other features from Jaguar...
This is where you get the latest update
March 21. New release:
1. March Security patches
2. New Superuser
3. Updated kernel
Download: https://forum.xda-developers.com/devdb/project/dl/?id=23814
____________________________________________________________________________
February 9. New release:
1. February Security patches
2. DNS_Crypt (in settings/security)
3. Seccomp (secure computing implemented in kernel)
4. Open Source Superuser integrated
5. Silent SMS notification enabled
6. 1440p profile in camcorder added
If you enable Dnscrypt and you use Afwall, allow internet to apps running as root...
If you prefer closed source Supersu, just flash the zip...
Download: https://forum.xda-developers.com/devdb/project/dl/?id=23069
____________________________________________________
January 20. Good News! Time service completely fixed. Qcom's crappy and creepy service taken out and replaced with Sony open source TimeKeep ported from MM/N. No connection to the internet needed. Everything is done locally on the device. TWRP has also been modified to set the correct time on boot.
The wayTimeKeep works is that before the shut down, it saves the properly set time and on reboot restores it (after the down time calculation). TWRP also reads that value on boot. For those who have encrypted data: the correct time in TWRP will be set after you enter boot password and data is decrypted and mounted.
Download Rom: https://forum.xda-developers.com/devdb/project/dl/?id=22743
Download TWRP: https://forum.xda-developers.com/devdb/project/dl/?id=22742
___________________________________________________________________________________
January 5. New release with January security patches and more. Also back is qcom time domain.
Download: https://forum.xda-developers.com/devdb/project/dl/?id=22428
You may flash dirty if on a previous release. Otherwise, fresh install (read directions)
P.S. This build included an experimental kernel. So, if you have any problems, flash the stable version in fastboot (unzip the file first): https://forum.xda-developers.com/attachment.php?attachmentid=3995799&d=1483894575
__________________________________________________________________
December 13. Stereo Sound is here. This is based on Dontbelive mode, but it is just clean stereo sound (ear piece and loud speaker), no bass or any other ridiculous "improvements" that do nothing, but distort. And as a result, just a clear stereo sound for games, videos, songs etc...
Just flash the zip in TWRP and reboot. Remember, this is not a rom, but a stereo-sound mode to flash on top of Jaguar...
After installing this, you have to make one call to recalibrate the sound. Otherwise, you may have distortions in the ear piece....
Download: http://forum.xda-developers.com/devdb/project/dl/?id=22080
Credit to Dontbelive...
___________________________________________________________________________________
December 9: New release to include:
1. December Security Patches
2. Signature spoofing feature (cherry-picked from Omnirom)
3. USSD should work now
Download: http://forum.xda-developers.com/devdb/project/dl/?id=21987
__________________________________________________________________________________
November 16. Kernel with DirtyCow fix. Download and flash in recovery. This is not for fastboot.
Download: http://forum.xda-developers.com/devdb/project/dl/?id=21563
___________________________________________________________________
November 10. Rom updated to include November Security Patches+. I have also removed Supersu, as the rom has a built-in root manager. However, if anyone wants to install Supersu, you can easily flash it in recovery
Download: http://forum.xda-developers.com/devdb/project/dl/?id=21427
________________________________________________________________________________
October 10. Kernel-no-overclock.
Unzip and flash in fastboot.
Download: http://forum.xda-developers.com/devdb/project/dl/?id=20848
_________________________________________________________________________________
October 9. Updated Kernel, which includes:
1. Updated higher frequency voltage
2. Improved Prima/Wifi driver
Your CPU variant may require voltage adjustment in Kernel Adiutor for new frequencies. Try to give a load for CPU and if you have freezing or random reboots (which you shouldn't), adjust higher 3 by +10/20. This latest kernel achieves 40000+ antutu score with Ondemandplus with temperature rising to about 58 at the highest load...
Note that some CPU/GPU variants just won't go to 2803 for CPU or 600 for GPU
Instructions: Unzip boot.img and flash in fastboot: fastboot flash boot boot.img or use various apps to install without fastboot
Download: http://forum.xda-developers.com/devdb/project/dl/?id=20838
__________________________________________________________________________________
October 8. Rotating Home Screen: if you want your home screen rotate like on a tablet, flash the attached file in recovery and reboot. So, when you set display to rotate, home screen will be included
__________________________________________________________________________________
October 5. New release:
1. Kernel overclocked to 2803: experimental, I have used it for 10 days without problems
2. October security patches from Google and Code Aurora
3. Over 80 commits from Google Master Gerrit which included changes to bionic, art, frameworks and system
4. Updated Afwall
5. Maybe more
This rom is now about 40% Nougat. One of the side effects: Xposed framework no longer works, but getting rid of it and instead using Privacy Guard is almost as good. Don't forget, Xposed is an exploit, which provides hooks for good and bad things.
Rom Download: http://forum.xda-developers.com/devdb/project/dl/?id=20788
Afwall/Kernel Adiutor Download: http://forum.xda-developers.com/devdb/project/dl/?id=20787
You can flash dirty if on a previous release
_________________________________________________________________________________
September 8. Rom updated to include:
1. September Google security patches
2. Latest Code Aurora patches https://www.codeaurora.org/projects/security-advisories
3. MPdecision is permanently disabled due to interfering with other hotplug and CPU frequencies. Default is MSMdecision, but you can pick several others in Kernel Adiutor
4. CPU overclock and underclock removed: no benefit whatsoever
5. More hardening ported from 3.18, 4.1 and 4.4 kernels: https://android-review.googlesource.com/#/q/hardened,25 You won't find those in any rom custom or stock. This is from 3.18-4.4 kernels and it has nothing to do with Sony AOSP. That's why it works...
6. About 70-80 commits from Android Master Branch. Folks. This is no longer a lollipop rom
7. PXN security feature implemented, which takes advantage of special instructions on ARMv7 to prevent unprivileged execution. See here: https://android-review.googlesource.com/#/c/265892/
8. Further integration of VOLTE
9. Kernel Adiutor: author has decided to go with Mobile Ads/Adview/Adbanner. So these were removed...
10. Camera: improvements to camera wrapper (missing entries), as well as some modifications in /frameworks/av/camera, so, you have a sharper picture. See photo attached, although, XDA reduces pictures... . This was taken with Open Camera. Not the crappy Sony Open Camera, but the fully open source one, with many features including several focusing modes: https://f-droid.org/repository/browse/?fdfilter=open+camera&fdid=net.sourceforge.opencamera. Tell me bootloader locked stock camera is better. It is not...
11. Maybe more...
WARNING: you need to do one thing after flashing the rom: flash the latest stock baseband. BASEBAND ONLY. If you don't, you will only have LTE: no H+/H/2G. This is a one-time procedure and is due to Volte implementation. You can either use FlashTool to flash stock baseband or a Partition Backup App (from Googleplay or elsewhere) to backup and restore your modems. With FlashTool, first flash the rom, then reboot, then flash the latest baseband. With Partition Backup, first, backup your modems, then flash the rom, then restore modems and reboot. You have been warned. I don't want to hear cries: where is my 3G!
Download Rom: http://forum.xda-developers.com/devdb/project/dl/?id=20287
Download Afwall/Kernel Adiutor: http://forum.xda-developers.com/devdb/project/dl/?id=20282
You may flash dirty if on a previous release. Otherwise, clean flash...
1st! Thanks @optimumpro
Sent from my Xperia Z1 using Tapatalk
Downloaded and flashed so far great ROM but 1st issue I noticed I believe data is turned off at ROM start up so setting up Google etc... Is hard without WiFi other than that ultra smooth and really fast great work. @optimumpro I don't suppose you know how to get OK Google everywhere to work do you on all ROMs I have tried its never there
Hope to see FAB in recents in next build if possible though as the remove recents is kinda small and the hover notifications kind of cover over it
Sent from my Xperia Z1 using Tapatalk
Is there still a bug when you turn Bluetooth off and on and it changes the Bluetooth MAC address? (as well as the same WiFi MAC for every device)
danny19901 said:
Downloaded and flashed so far great ROM but 1st issue I noticed I believe data is turned off at ROM start up so setting up Google etc... Is hard without WiFi other than that ultra smooth and really fast great work. @optimumpro I don't suppose you know how to get OK Google everywhere to work do you on all ROMs I have tried its never there
Hope to see FAB in recents in next build if possible though as the remove recents is kinda small and the hover notifications kind of cover over it
Sent from my Xperia Z1 using Tapatalk
Click to expand...
Click to collapse
Data is off by default on first boot only to prevent the phone from connecting before you set it up (firewall etc.). Just turn it on and it will stay on despite reboots. Ok Google? Oh, that's too complicated for me.
matcho13579 said:
Is there still a bug when you turn Bluetooth off and on and it changes the Bluetooth MAC address? (as well as the same WiFi MAC for every device)
Click to expand...
Click to collapse
Not sure about bluetooth, but wifi mac is fine.
The ROM is one of the best i have tested..
There are 2 ways to get superuser: Developer option and supersu
jos_031 said:
The ROM is one of the best i have tested..
Click to expand...
Click to collapse
Totally agree with you.
I was also able to set my WiFi MAC without any problems.
The layers thing is also a very good alternative.
My Z1 is now really hot, I hope it will calm down after some days of use.
@optimumpro: Keep on with this good mix [emoji3]
schickel said:
Totally agree with you.
I was also able to set my WiFi MAC without any problems.
The layers thing is also a very good alternative.
My Z1 is now really hot, I hope it will calm down after some days of use.
@optimumpro: Keep on with this good mix [emoji3]
Click to expand...
Click to collapse
Tweak cpu voltages and governors. You should not have any overheating. Also, don't put any stress on cpu while the phone is charging. Phones are not designed to be used while on a charger: they only get current from the battery, unlike laptops, so, when you are on charger and using the phone, you stress the battery and cpu.
Does everything work with this rom? modem, camera and recharge while the phone is off?
dejawho said:
Does everything work with this rom? modem, camera and recharge while the phone is off?
Click to expand...
Click to collapse
Yes everything seems to be working great modem, camera etc...
Prime Red Dark Layers Theme is really nice I tried Scarlett but has Playstore changelog no text bug
Oh I have xposed installed also for flat style status bar, always correct, force expanded notifications this ROM is by far the best ultra quick
1 big question just noticed how come colour picker tint overlay is still in the dialer ? I thought this was removed in 5.1.1 ? As you can see with the red overlay (This is my very Old Number)
Sent from my Z1 using Tapatalk
I noticed that when I get a call, the phone has to switch back to GSM signal. If I don't have GSM listed in the preferred network types, I could not be reached on the phone - goes straight into a busy tone... Anybody else experienced this?
caki25 said:
I noticed that when I get a call, the phone has to switch back to GSM signal. If I don't have GSM listed in the preferred network types, I could not be reached on the phone - goes straight into a busy tone... Anybody else experienced this?
Click to expand...
Click to collapse
This is a normal behavior. Your phone is a GSM phone. Now, if your carrier provides voice over 3g, then your phone will swith to 3g/H+ from LTE. If you have Volte (voice over LTE), it will stay on LTE. In most of the world there is no Volte yet, so, if your data is LTE, then when you get a call, the phone switches to 3g/H+. If your carrier does not provide calls over 3g (2g only) and you are on WCDMA/LTE, then you won't receive any calls. In that case you should switch to GSM/WCDMA/LTE.
Again, as I have already said, that's the behavior on all roms. Other roms just don't have the options in cell menu that this rom has and changing networks in phone test menue does not stick on reboot. So, you have to know what you are doing...
optimumpro said:
This is a normal behavior. Your phone is a GSM phone. Now, if your carrier provides voice over 3g, then your phone will swith to 3g/H+ from LTE. If you have Volte (voice over LTE), it will stay on LTE. In most of the world there is no Volte yet, so, if your data is LTE, then when you get a call, the phone switches to 3g/H+. If your carrier does not provide calls over 3g (2g only) and you are on WCDMA/LTE, then you won't receive any calls. In that case you should switch to GSM/WCDMA/LTE.
Click to expand...
Click to collapse
I guess I managed to jump too hastily again ... it does make sense of course, and I should have noticed that before. The default setting threw me off I guess, since that was without GSM and when my boss tried to reach me, he just got a busy tone anyhow, thank you so much for the explanation and this wonderful ROM. I just can't move away from Layers anymore
caki25 said:
I guess I managed to jump too hastily again ... it does make sense of course, and I should have noticed that before. The default setting threw me off I guess, since that was without GSM and when my boss tried to reach me, he just got a busy tone anyhow, thank you so much for the explanation and this wonderful ROM. I just can't move away from Layers anymore
Click to expand...
Click to collapse
"Default setting". That's my fault, I shouldn't have assumed that everyone has voice over 3g. I will change this in the next release, but your selection GSM/WCDMA/LTE should stick after reboot.
Thanks for a great ROM! Will this be your main ROM from now on?
Do you recommend to use the kernel defaults or do you have other settings for voltage, governor etc. that you recommend?
This is a really good ROM! Good job @optimumpro! :good:
The feature I really miss from your unofficial DU ROM is the ability to block System Wakelocks. I have serious wakelocks on my phone due to Play services and I don't like Xposed too much (compromises security and drains battery).
Could you add this feature? Thanks!
OK starting to get Random Reboots but I think it's my kernel settings as I had no issues at all except when screen waked up wouldn't let me unlock for a little while so I altered few things fixed that problem now I get random reboots
Sent from my Z1 using Tapatalk

Frequently Asked Questions: Samsung Galaxy Note 2

[SIZE=+3]Frequently Asked Questions[/SIZE]
[SIZE=+2]Samsung Galaxy Note 2
[/SIZE]​
[SIZE=+1]This a short list of frequently asked questions in this device forum and the answers often given as a response. It should serve as a starting point for gathering knowledge and finding solutions to many common problems. Please only post in this thread with feedback on how to improve this document. Do not post "Thank you" type responses. If you have additional questions or require more help, try to find an existing thread or create your own. Do not use this as a general help thread.
[/SIZE][SIZE=+1]Q1: Which versions are available from Samsung Galaxy Note 2
[/SIZE][SIZE=+1][/SIZE]Without LTE: N7100
With LTE: N7105
[SIZE=+1]
[/SIZE]​[SIZE=+1]Q1: Is there a list for all ROMs, Kernels, Apps and Guides?
[/SIZE]For N7100: [INDEX] Note 2 - ROMs, Kernels, MODs, GUIDES
For N7105: [INDEX] Note 2 4G LTE/t0lte/N7105​[SIZE=+1]Q3: What does "flashing" my phone mean?
[/SIZE][SIZE=+1][/SIZE]You are overriding the currect firmware with another ROM and Kernel. There are some AOSP or CyanogenMod based ROMs available, which are upgraded to Android Marshmallow, but you can also install a Samsung Stock based ROM, which is based on Android 4.3 or Android 4.4. You can flash your Note 2 with TWRP or ClockWorkMod. ​[SIZE=+1]Q4: Download Mode... What is this?[/SIZE]
In Download Mode you can flash ROMs or Recovery to your phone. If you want to flash the Stock-ROM back, you are forced to use Odin to flash the firmware. For flashing via Odin, you need to boot into Download Mode. To get into the download-mode, you must shut down your Note 2 and start it, while pressing Power, Volume Down and the home button.[SIZE=+1]
[/SIZE]​[SIZE=+1]Q5: How can I flash the Stock-ROM?[/SIZE]
[SIZE=+1][/SIZE]For flashing the Stock-ROM, you can visit this guide by @dr.ketan​[SIZE=+1]Q6: How do I root my device?[/SIZE]
Another great guide by @dr.ketan:
[Root]How to Root Note2 [N7100] & keep flash counter 0[SIZE=+1]
[/SIZE]​[SIZE=+1]Q7: Can I install an OTA if I'm rooted/unencrypted?
[/SIZE][SIZE=+1][/SIZE]If you installed a Custom Recovery or rooted your phone, you are not able to install updates via OTA. You are forced to flash the upgrade via Odin then.​[SIZE=+1]Q8: I'm trying to search for something specific but I'm having trouble. How do I use XDA Search?[/SIZE]
XDA Forum Moderator The_Merovingian has done a nice guide, how to use the search-feature: HERE​[SIZE=+1]Q9: How can I install Android Marshmallow on Galaxy Note 2?[/SIZE]
You can have a look at this Thread by me. You will learn, how to install Android Marshmallow coming from Stock:
[GUIDE] How to install Android Marshmallow on Galaxy Note 2​[SIZE=+1]Q10: How can I get out of a Bootloop?[/SIZE]
Doing a FactoryReset should solve this issue. You can do this by booting into Recovery.​[SIZE=+1]Q11: Will Knox triggered, if I flash a Custom ROM or Custom Recovery?[/SIZE]
Yes, Knox counter will go to 0x1 and you will lost your warranty.​[SIZE=+1]Q12: How can I enable MTP on CyanogenMod ROMs?
[/SIZE]You need to pull down the status-bar and enable MTP there. If there is not button, you need to go to the developer settings and enable it there.​Some other helpful words:
ADB - "Android Debug Bridge" a system that can be accessed using a computer where you can manage the device from. You need the Android SDK to use it.
AOSP - "Android open source project" a project by Google Inc. to give android to developers and manufactures for free.
APK - "Android Package" an Android application
Bloatware - Software or 'apps' that you don't need, but come preinstalled to a device's /system partition, meaning that you cannot remove them unless the device has been rooted. Usually, these are apps are sponsored by a company and included by a carrier for profit
CDMA/GSM - A type of network communication between phones and carriers. GSM phones normally are included with SIM Cards that authorize them onto the network. CDMA have this authorization built in and do not need a sim card.
Custom recovery - A modified version of stock recoveries that allow you to do more things in the recovery mode.
Cyanogenmod (CM) - A free open-source project based on the AOSP. It is a modded version of the Android firmware
Dalvik-Cache - Holds all of the pre-compiled .dex files created from installed apps. These files are static and do not change unless the app is updated.
Deodexed - Where ODEX files are moved into the actual applications modded) version of the Android firmware.
Developer - A man or woman who has created (developed) software.
Firmware - a piece of software to make hardware function correctly. This can refer to Radio Firmware, but is normally used as another name for ROM.
Governor - A system embedded into the kernel to automatically change the current working CPU frequency depending on the workload. It would only go up to what it is overclocked (or underclocked) to, this is called the maximum frequency. It would not drop below the minimum frequency.
KANG - The process of creating a code based of someone else's code.
Kernel - An important part of all operating systems that handles the CPU and other vital components. A modded kernel may be used for overclocking.
Logcat - A logging system built into the ADB
Mod - A modification to a part of the phones software. It is also POSSIBLE to mod the phones hardware but is not recommended.
OTA - "Over the air" a term used to indicate software that was sent to phones directly through the internet to their phones.
Open-source - (not to be confussed with free) A peice of software that is free to edit, use, distribute and share with no charge.
Overclock - To exceed the default maximum CPU speed. This could make a phone more powerful but may cause damage. Although no damaged has been reported so far it could still drain battery life.
Radio Firmware - A type of software that allows correct communication with the radio and the operating system. A newer firmware would normally improve battery life and call quality. The radio firmware only applies to the CDMA/GSM radio.
Radio - (not to be confused with Radio Firmware) A piece of hardware that allows communication. There are 3 main radios in your phone. Bluetooth, WiFi and GSM/CDMA.
ROM -
1. A modified version of the Android operating system operating system.
2. Read Only Memory, a place where information is stored and can not be destroyed, modified or written to.
Stock - An unchanged version of something. Example: I just flashed stock sense.
Underclock - To change your phones maximum frequency to LOWER than the default to attempt to extend the phones lifespan and battery.
WIP - "Work In Progress"
Zipalligned - An archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. Specifically, it causes all uncompressed data within the .apk, such as images or raw files, to be aligned on 4-byte boundaries. This allows all portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions. The benefit is a reduction in the amount of RAM consumed when running the application.
INTL - International
Odex - Files that are collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application.
Recovery Mode - A special environment that you can boot into for troubleshooting and upgrading purposes
Thanks to @benjamingwynn for the glossary of terms
Forum Rules | New Users Guide | XDA Tour | Report Posts​This FAQ is part of a Recognized Contributor Group Initiative. Please look for a similar FAQ thread when visiting another device forum.
A special thanks to everyone who contributed to the production of this FAQ
This thread is an ongoing process. This will be a WIP for a period of time​​
http://forum.xda-developers.com/wiki/Bootloader​
This is not a Q&A Thread
This is not a Q&A Thread This is not intended to be a Q&A help thread. Please only post suggestions for content that should be added to the OP. Post the relevant links to accompany your request.
If you need help or have a general question, consider using these links:​
Question's please here: http://forum.xda-developers.com/shield-tablet/help
Or here: [NOOB FRIENDLY] Ask the question! [N7100 and other variants]
Trafalgar Square said:
This is not a Q&A Thread This is not intended to be a Q&A help thread. Please only post suggestions for content that should be added to the OP. Post the relevant links to accompany your request.
If you need help or have a general question, consider using these links:
Question's please here:http://forum.xda-developers.com/shield-tablet/help
Or here:[NOOB FRIENDLY] Ask the question! [N7100 and other variants]
Click to expand...
Click to collapse
I need your help pls help me
Sid76 said:
I need your help pls help me
Click to expand...
Click to collapse
Pls help me when I disconnect my phone from charger it stuck in boot image like icon of galaxy note 2 after that when I connect again it starts normally and I do disconnect this happen again pls help me our bootloop and I tried many ROMs but not able to fix help me
Hello PLZ someone help me. I searched for more than two weeks to solve my problem and did not find any results
I'm sorry in advance that I could not write English well.
I have a Samsung Galaxy Note 2 (N7100) phone with Android 9 custom ROM, which I charged quickly when it finished charging, but it doesn't turn on now.
The mobile stops on the Samsung logo or lineage logo or mobile Battery animation when I charge it and I can only go into recovery mode and download mode
After this incident, I wanted to factory reset it with the custom recovery twrp that I installed on my mobile phone or wipe all the memory, but I got the error "Unable to mount storage".
Even when I wanted to install the official ROM with micro sd memory, twrp displays zero for mobile memory, sd memory and otg.
I also wanted to flash it with Odin with four official files and a pit file, which was unsuccessful and show erorr at the end the message "re-partition operation failed" was announced.
I tried to flash files again with the Miracle tool without a box. Some partitions were burned, but due to the inability to burn some partitions, I received a wrong reply error (0).
Also, after flashing the recovery file with the official recovery and new version of twrp, Miracle displayed a successful message, but in practice, there was no change in my custom recovery.
So I'm looking for a way to repair emmc with just a usb cable and no box or any other way to repair my mobile

[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia ZL

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.x (Nougat),
which is designed to increase performance and reliability over stock Android for your device.
All the source code for LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.
Official LineageOS website : http://lineageos.org​
Downloads Links
LineageOS 14.x (Unlocked Bootloader) :
Nightlies : https://download.lineageos.org/odin
Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.x, Micro or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.
Informations and references :
About LineageOS updates : ChangeLog available on http://www.cmxlog.com/14.1/odin/
About LineageOS device side : See my GitHub trees linked below​
Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS update / upgrade :
- (Information) Don't wipe anything unless you want to
- (CM / UNOFFICIAL) Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot
LineageOS addonsu for root access :
- (Information) Read the Root section of the Q&A thread
- (Download) Download the addonsu for arm : LineageOS Downloads / Extras
- (Optional) Flash the zip on a working Lineage installation (once)
- (Information) Upon ROM updates, the addonsu is preserved
- Reboot​
About the builds
Device tree : https://github.com/fusion3-common/android_device_sony_Odin/commits/cm-14.1
Kernel sources : https://github.com/fusion3-common/android_kernel_sony_apq8064/commits/cm-14.1
Vendor blobs : https://github.com/fusion3-common/proprietary_vendor_sony/commits/cm-14.1​
Issues and reports
- Report issues only if you are using the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example​
About LineageOS Legal : http://lineageos.org/legal/
The LineageOS team would like to thank everyone involved
in helping with testing, coding, debugging & documenting! Enjoy!
[/INDENT]
LineageOS available for Odin also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][NIGHTLIES][7.1] LineageOS 14.1 for Xperia ZL, ROM for the Sony Xperia ZL
Contributors
Daedroza, AdrianDC, Chippa_a, Olivier, Namelos, CyberwalkmaN, sigprof
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Version Information
Status: Testing
Created 2017-07-17
Last Updated 2017-11-10
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok, Updating frequently
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- SEPolicies : Fully enforced
Thanks and good luck on getting this official.
Thanks for your hard work,it works fine
Successfully upgraded from Chippa_a's unofficial Lineage 170413 build without wipe. Thanks.
after bootind in recovery (twrp), wiped cache and data, flashed the zip lineage-14.1-20170716-UNOFFICIAL-odin.zip and open_gapps-arm-7.1-mini-20170722.zip and rebooted. After that, only black screen and no boot into system, only fastboot or flash mode...
previously using a stock rom in 5.1.1 with root and recovery.
any help?
ps: after that, tried to flash the boot.img in fast boot mode, get this error:
>fastboot flash boot c:\boot.img
sending 'boot' (14972 KB)...
OKAY [ 0.293s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.297s
PS 2: tried flashing a ftf via flashtool, but get some errors too...
23/036/2017 18:36:01 - INFO - Opening device for R/W
23/036/2017 18:36:03 - INFO - Reading device information
23/036/2017 18:36:12 - INFO - Unable to read from phone after having opened it.
23/036/2017 18:36:12 - INFO - trying to continue anyway
23/036/2017 18:36:12 - INFO - Phone ready for flashmode operations.
23/036/2017 18:36:12 - INFO - Opening TA partition 2
23/036/2017 18:36:12 - INFO - Start Flashing
23/036/2017 18:36:12 - INFO - No loader in the bundle. Searching for one
23/036/2017 18:36:16 - INFO - Processing loader.sin
23/036/2017 18:36:16 - INFO - Checking header
23/036/2017 18:36:16 - ERROR - Processing of loader.sin finished with errors.
23/036/2017 18:36:16 - INFO - Ending flash session
23/036/2017 18:36:16 - ERROR - Error in processHeader : 22 : O dispositivo não reconhece o comando.
23/036/2017 18:36:16 - ERROR - Error flashing. Aborted
23/036/2017 18:36:16 - INFO - Device disconnected
@saddambea looks like you bootloader is not unlocked. Is that possible? If you back up you TA partition with twrp and recover from those backups you will relock your bootloader.
NamenIos said:
@saddambea looks like you bootloader is not unlocked. Is that possible? If you back up you TA partition with twrp and recover from those backups you will relock your bootloader.
Click to expand...
Click to collapse
yes, i think it´s possible, my bl may be locked. couldn´t unlock via fastboot after that
and now, i can´t even boot to recovery. tried to flash recovery.img through fastboot with no success...
saddambea said:
yes, i think it´s possible, my bl may be locked. couldn´t unlock via fastboot after that...
Click to expand...
Click to collapse
What error did you get? Maybe you have to go back to stock via flashtool for this.
saddambea said:
... and now, i can´t even boot to recovery.
Click to expand...
Click to collapse
This should be normal if you used Dual Recovery on the stock rom before. Dualrecovery is on the /system partition, that you wiped while flashing.
saddambea said:
... tried to flash recovery.img through fastboot with no success...
Click to expand...
Click to collapse
This can't work as we don't have have a recovery partition. Our recovery is either in the boot.img or the system partition. LineageOS uses the boot.img and optionally then boots the recovery in the FOTA Kernel partition if you press vol up.
Uploading a new build as we speak. The changelog since 2016 is (I'm just being vague here, I don't remember all the issues, but I do have all the logs with me, if someone is interested):
1. Fix ancient F2FS bug (Specific to Fusion3)
2. Fix https://forum.xda-developers.com/showpost.php?p=69849473&postcount=1243
3. Fix https://forum.xda-developers.com/showpost.php?p=68245138&postcount=1130
4. Fix for input_evdev specific to us
5. Fix for SWAP
6. Fix for C5502 Double Tap to Wake Screen Freeze.
7. Many other improvements like ZRAM / Process Reclaim / Perf / mmc / Anon Reclaim etc
8. Changes from Chippa_a for XML audio configuration is also picked, I don't know maybe you will see a improvement @gorillanobka?
I haven't gone much into detail, but please send logs (dmesg / last_kmsg / logcat) wherever possible if you face something. At the moment, I only have C5502 (Fusion3 Dogo) with me. Yuga / Odin has hardware specific to them (other than chipset), so I won't be able to reproduce them on my device if you get some event changes / sensors changes.
I've also included a minor hack for auto-brightness. Let me know how you feel about it.
Please give it a go? Thanks
Thank you Daedroza!
You're a scholar and a gentleman. Gimme a week or so ( I am caught up with assignments and exams ) and i will have a look at it...
I'm pretty sure it will be a super stable build as always...
I am already running a Chippa's build with some changes to the XML audio if i am not wrong, and i could already hear some improvements.
The notifications remained very low though... I think the EU specific limitation for the audio needs to be commented / removed in order to see serious improvements .
Kind regards
Gorilla no Baka
Daedroza said:
Uploading a new build as we speak. The changelog since 2016 is (I'm just being vague here, I don't remember all the issues, but I do have all the logs with me, if someone is interested):
1. Fix ancient F2FS bug (Specific to Fusion3)
2. Fix https://forum.xda-developers.com/showpost.php?p=69849473&postcount=1243
3. Fix https://forum.xda-developers.com/showpost.php?p=68245138&postcount=1130
4. Fix for input_evdev specific to us
5. Fix for SWAP
6. Fix for C5502 Double Tap to Wake Screen Freeze.
7. Many other improvements like ZRAM / Process Reclaim / Perf / mmc / Anon Reclaim etc
8. Changes from Chippa_a for XML audio configuration is also picked, I don't know maybe you will see a improvement @gorillanobka?
I haven't gone much into detail, but please send logs (dmesg / last_kmsg / logcat) wherever possible if you face something. At the moment, I only have C5502 (Fusion3 Dogo) with me. Yuga / Odin has hardware specific to them (other than chipset), so I won't be able to reproduce them on my device if you get some event changes / sensors changes.
I've also included a minor hack for auto-brightness. Let me know how you feel about it.
Please give it a go? Thanks
Click to expand...
Click to collapse
Thank you for continuing with this phone. I plan to download this new build momentarily and try, but I have two long running issues and wonder if you might comment.
One is that this seems to come from the C6503 which has a different set of cellular bands, and I think that means my C6506 cannot access them. Is that correct? I seem to have poorer coverage in some areas than with the stock Sony software (which is now ancient of course). I have no done a deep dive to see, other than to see cynogenmod now lineage seems to be specific to the less-bands phone modem?
The more specific question is this: after some days or weeks, the phone's display gets laggy on scrolls; two specific places I use a lot are the CNN app and the News360 app. I found a fresh install cleared it up nicely, then over time it gets worse. I experimented (takes a long time as it is reproducible only over a long time) and found it is the Dalvik cache. If I clear that and reboot -- smooth as silk. A couple weeks later, have to do it again. Any thoughts as to what is happening? It's easily fixable now that I know a full install is not needed, but it just seems strange. Anyone else seeing it? Try wiping just Dalvik, see if it helps.
Linwood.Ferguson said:
Thank you for continuing with this phone. I plan to download this new build momentarily and try, but I have two long running issues and wonder if you might comment.
One is that this seems to come from the C6503 which has a different set of cellular bands, and I think that means my C6506 cannot access them. Is that correct? I seem to have poorer coverage in some areas than with the stock Sony software (which is now ancient of course). I have no done a deep dive to see, other than to see cynogenmod now lineage seems to be specific to the less-bands phone modem?
The more specific question is this: after some days or weeks, the phone's display gets laggy on scrolls; two specific places I use a lot are the CNN app and the News360 app. I found a fresh install cleared it up nicely, then over time it gets worse. I experimented (takes a long time as it is reproducible only over a long time) and found it is the Dalvik cache. If I clear that and reboot -- smooth as silk. A couple weeks later, have to do it again. Any thoughts as to what is happening? It's easily fixable now that I know a full install is not needed, but it just seems strange. Anyone else seeing it? Try wiping just Dalvik, see if it helps.
Click to expand...
Click to collapse
- No idea about phone coverage. I had preferred if you could do a diff with signal measuring app or something of sort? That would give you a base stock result and one from Lineage.
- The phone's display gets slow / laggy / unresponsive systemwide or it just the apps? Maybe both the apps consume a lot of space on internal and cache. Hence you need to clear them.
On the original firmware there was a dialer code to show usable bands; it does not work on LineageOS. I have tried without success to find a way to tell which bands are supported in the current OS. With some playstore apps I can see the current band but not all usable bands.
The original C6506 (odin rimy) documentation listed the bands available, and compared to the C6503 (odin gina). There are a number of differences. The C6506 supports LTE I, IV and XVII that the C6503 does not; the C6503 supports LTE III, VII, VIII and XX that the C6506 does not. My understanding (but I am not certain) is that this is a hardware limitation of the device, which of course corresponds to the stock firmware. It could also be that the radios are the same, but the restriction on bands was purely in software tied to the model.
My reading of old postings on the cynogenmod software was it was based on the C6503, and so my question is what is the result. It seems POSSIBLE that it only then supports the bands they had in common: LTE I and V, which leaves a lot missing. Or it is also POSSIBLE that it supports all the C6503 bands which (again, my loose understanding) were not ideal for US/AT&T use, which is what the C6506 was fo.
Basically I know only enough to wonder if the LineageOS is limiting the bands the phone can use? And how I might tell for sure? And/or if you have all the source, can you tell, or is this buried in the blobs that are opaque?
As to the laggy: I think it is the whole system, but it is hard to say as I'm generally using some app. They do begin to start up slower as well as operate slower, but it is most noticeable on things that scroll. Frankly I would likely not notice other slowness if the scrolling did not hesitate. A list of stories in the CNN app, for example, if you touch and start scrolling hesitates nearly a second before it moves. Clear dalvik and there's no hesitation. It is also worth noting I use very little on the phone - mail, CNN, News360, weatherbug, calendar, and the phone are just about it. All visible resources (that I know how to look at) show lots of free space. Now that I know how to quickly fix it not a big deal.
Does the IR blaster work with this build? Does it work with other apps like Anymote?
According to Sonys whitepaper the C6506 should support LTE Band I, Band II, Band IV, Band V and Band XVII (1, 2, 4, 5 and 17). The supported bands are stored in partitions not touched by LineageOS (see here). You have to check which bands your provider uses in your region and then use an app to check if you get connected to which band, I don't think there is an alternative. The old dialer code won't work, as it is sony specific. I too haven't found an app that shows available LTE networks regardless of your contract and possibly this is not even possible on standard Android APIs.
Performance (in scrolling and in general) doesn't seem worse than on stock for me (in fact it feels better). I use F2FS, but I doubt it changes anything on your performance problems. Once we get all this in the official repos and get a weekly build status, there will probably be some experimental stuff that will be tried out and surfaces here. For now the focus is more on getting the officially supported status.
edit:
JLBouras said:
Does the IR blaster work with this build? Does it work with other apps like Anymote?
Click to expand...
Click to collapse
Only with one app (the one that worked on CM13), root access and selinux disabled, we have to add file permissions, ownership and selinux rules. This is not yet tested enough though. edit: Just tested with selinux disabled, works well with preconfigured remotes, slightly flaky when learning imo.
NamenIos said:
According to Sonys whitepaper the C6506 should support LTE Band I, Band II, Band IV, Band V and Band XVII (1, 2, 4, 5 and 17). The supported bands are stored in partitions not touched by LineageOS ....
The old dialer code won't work, as it is sony specific. I too haven't found an app that shows available LTE networks regardless of your contract and possibly this is not even possible on standard Android APIs.
Click to expand...
Click to collapse
That's the list of the supported bands, but I know I read years ago that the (not sure if this is the right word?) modem used by Cynogenmod for this phone started as the 6503. Does the software incorporated within LineageOS support all bands listed in the partition mentioned?
I tried to find the old discussion I remember without success. Closest I got was this which brings it up (look for "bands"), but people are saying "mine works". The issue of course is if some bands work but not others the phone may "work" but not have the same coverage where you have less bands or more congestion.
I was hoping there was a way to actually query the phone for which have actual hardware+software support, but it sounds like there no longer exists that ability with the loss of that service menu.
NamenIos said:
Performance (in scrolling and in general) doesn't seem worse than on stock for me (in fact it feels better). I use F2FS, but I doubt it changes anything on your performance problems. Once we get all this in the official repos and get a weekly build status, there will probably be some experimental stuff that will be tried out and surfaces here. For now the focus is more on getting the officially supported status.
Click to expand...
Click to collapse
Frankly it may have been the same there. I'm wondering if, being news related apps I use most, if they are leaking/cluttering up the cache in some way more than normal use (Dalvik is for the VM, right? Do apps cache data there or just the VM cache app code there?). Regardless, I have an easy workaround, it takes just a few minutes to clear and get back fully up.
I absolutely agree getting fully supported is great. I hope to get a Pixel2 when they come out, and leave this as a backup phone, so would love to get a few more years utility out of it. It's been a really great phone, I still rarely see any with the low percentage of wasted space on the front as this.
Linwood.Ferguson said:
That's the list of the supported bands, but I know I read years ago that the (not sure if this is the right word?) modem used by Cynogenmod for this phone started as the 6503.
Click to expand...
Click to collapse
Modem partitions are not affected in case of installation of LineageOS/CyanogenMod. This ROM is universal for all models (C6502/6503/6506).
NamenIos said:
The supported bands are stored in partitions not touched by LineageOS
Click to expand...
Click to collapse
New build is up folks.
- Security patches till July 2017.
- Clean build, inclusive of all changes by LineageOS till yesterday.
- Includes DRM libraries.
- All other standard bugfixes from cm-13.0 thread, all of them. YES, all of them.
- Attempt to fix a problem as told here (https://forum.xda-developers.com/showpost.php?p=73250499&postcount=16)
Folks, this has been a year long journey for me, let's face it, I am learner, so I need your feedback here. Even a smallest problem (like force closes) will seen as long as you provide logs. Regarding stability, we're not pushing devices that reboot or mess up after some time. A lot of people are involved in completing this and I would like to thank all of them. And good feedbacks are welcome too, if it works for you
Daedroza said:
New build is up folks.
- Security patches till July 2017.
- Clean build, inclusive of all changes by LineageOS till yesterday.
- Includes DRM libraries.
- All other standard bugfixes from cm-13.0 thread, all of them. YES, all of them.
- Attempt to fix a problem as told here (https://forum.xda-developers.com/showpost.php?p=73250499&postcount=16)
Folks, this has been a year long journey for me, let's face it, I am learner, so I need your feedback here. Even a smallest problem (like force closes) will seen as long as you provide logs. Regarding stability, we're not pushing devices that reboot or mess up after some time. A lot of people are involved in completing this and I would like to thank all of them. And good feedbacks are welcome too, if it works for you
Click to expand...
Click to collapse
And just a day later, August Security Patches was released...

Development [10.04.22] F926B I Dr.Ketan Magisk ROM I OneUI 4.1

F926B I Dr.Ketan ROM
ROM Features
ROM Features varies with version of ROM. For more details, read changelog post. Link available in post #3 for changelog of all versions.
Must read changelog for a version you are going to install, it will have latest information about features, changes, known bug list/fix and Installation guide of respective version.
Credit and Thanks :
@Chainfire - Respected elite developer for supersu and his unbelievable contribution to XDA/Android community. @wanam - Respected elite developer for his awesome contribution and references to his works.
@topjohnwu for Magisk
@xperiacle the amazing developer for reference to his work and tools. @amarullz for aroma installer. @gharrington for 3minit battery and QuickLaunch.
ROM Control source and all credit and thanks goes to @daxgirl and @Wuby986 for their open source project for RomControl.
@AbrahamGC for some ideas samsungvn htcmania & 4PDA for tips and some stock apks.
AbrahamGC and Anan1211 for Secure folder and s-health A12 ianmacd for TWRP @Arteush for bluetooth fix (losing BT pair on reboot) on Android Q, aka_vkl for Dolby digital, kdrag0n for SafetyNet fix @Winb33 for custom font pack. HuskyDG for Bootloop Protector magisk module.
​​​
​​XDA devDB Information​S908 I Dr.Ketan ROM , ROM for the Samsung Galaxy S22 Ultra
Contributors
Dr.Ketan
ROM OS Version: Android 12
ROM Kernel: Stock (pre-rooted). Source code (samsung) here
ROM Firmware Required: Stock Samsung specified version
Version Information
Status: Stable
Created 2022-04-10
Installation and Download & Notes
Important :
- This will void warranty.
- As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help. (hope in future we can get it working on tripped knox device)
- OTA won't work once you root device.
- ROM Tool permission : Files & media - To save and read files, Calendar - Tool needs some time monitoring to avoid using RT immediately after reboot. Special access for accessibility service - Since Android 12 it requires for QS panel custom Toggl e.g. Reboot to recovery
Installation :
Read ChangeLog post for Installation instructions (link on post #3)
Download : https://drketanrom.com/
ChangeLog
OneUI 4.1
- S01 - 10.04.2022
Rsrvd 4
ChangeLog S01
Based on F926BXXU1CVC5 Android12 March 2022 security patch OneUI 4.1
ROM Tool on essential fix auto setup zygisk including SafetyNet fix (no needs to change any option manually
Prerequisite :
Must have installed firmware F926BXXU1CVC5 (Reported working on F926BXXS1CVCA April scurity patch too)
Rooted device with Magisk (Zygisk) Intallled (Follow steps below in case you have non rooted device)
We recommend to make EFS (IMEI) backup as soon you root device and keep copy to safer place (outside device)
Warning!
We strongly recommend to make backup data before installing ROM Module, non matching verion or other factors may cause bootloop and you may needed to Factory Reset in certain circumstances. Also ROM Installer may prevent it by installing bootloop protector module but no guarantee!
Spoiler: Brief instructions about how to root
[*](Root F926B)
Unlock bootloader
You needs to download stock firmware (You can get stock firmware with Frija) and extract AP*.tar.md5 file and patch with magisk. Flash patched file with AP tab of Odin
Reboot to recovery and select to format data (Factory reset option on stock recovery)
Reboot device → You will see Magisk stub in drawer → Update it. (In case stub not there, Donload magisk app from Download area and intall manually) → Open Magisk - It will ask to complete additionl setup, Let it do. → Reboot device. You are now ready to Intall Dr.Ketan ROM module. Move to next step.
[*]PS : For detailed instructions about Magisk installation (root) read here. In case still you have question, move to Question forum of S22 section and ask for help. This thread is development thread and any questions related to how to root will be ignored.
How to Install Dr.Ketn ROM Module (New!)
Download app ROM Installar XDA F3 S*.apk and and Install as regular apk (* = ROM verion)
Uninstall any other magisk module you have installed
Open ROM Installaer app → Grant SU permission → Just seat and relax. It will auto download ROM and Install automatically. You can see process on screen. → Reboot device when asked.
Benefits of ROM Instller : This method have some extra benefits over regular installation like
It won't process if no root access found
It will block installation on wrong devices
It will abort Installation process if MD5 doesn't match (Corrupt download).
Also it will show current firmware version and available firmware version (You should not install if there is much difference in firmware base) Read prerequisite above for recommended firware)
Single click installation
It prevents bootloop with magisk module installation on incompatible formware version by injection bootloop protection module.
Setting up device first time after Module installation
Open ROM Tool from app drawer and Apply essential fix and Reboot,
After reboot you can check SafetyNet and should be passed. You can use this app from playstore or This from Github to check SafetyNet (ROM Tool will offer to install this during Essential fix too)
Now you can further setup ROM a per your liking. Also MagikHide is Configure Denylist now and available under Magisk Settings.
Since A12 new Magisk (Zygisk) doesn't have buil-in Module repo, You can get standalone module manager from here (ROM Tool will offer to install this during Essential fix too) For more details and queries about new magisk ref this
PS : Plz don't install any other mods for SafetyNet, All queries related to Magisk/SafetyNet will be ignored if already explained above
ROM Features (XDA Version)
- Ad Free QS Panel Toggle
- Reboot to recovery QS Panel Toggle
- Native call recorder (Manual) While you are on call - click 3 dot - Record (Should work without CSC restriction)
- Auto Call recorder without CSC restriction (ROM Tool - Mods & Fix)
- High Volume warning disabled
- Pre fixed Titanium freezing while restoring apps
- Probable fix for Titanium Backup schedule
- Internet browser Secret mode
- S Health patch for using with rooted device.
- ROM Tool with following Options
AdFree mode Enable/Disable
Single click install/uninstall custom fonts (on the fly)
YouTube Vanced Installer (No xposed requires)
NonRoot - Requires MicroG to login
Root - Truely alternate to Youtube, Can login to youtube without MicroG (disable Play store update)
You have to click on NonRoot/Root depending on your choice, then you needs to click "Install" tab and latest version of Youtube vanced will get installed.
StatusBar Icons
Show/Hide stock battery
Show/Hide 3minit battery
show/hide stock clock
show/hide 3minit clock
ROM Control - See below
Mods & Fix
Auto Call Record
Titanium backup FC fix
Google Pay Fix
Added camera fix (Certain users reported camera failed issue. This is reported on stock too, here is someworkaroung meanwhile samsung fix it)
SafetyNet Fix
Samsung Health & Private share fix
Update & Fix
[*]- ROM Control (systemUI preferences)
Battery Bar with thickness and color option
Virtual key on statusbar (Lt/Cinter/Rt)
Network meter with Toggle (Lt/Rt/Quick Panel/None) with color option
[*]PS : There may be few more options in ROM control but won't work if those are not mentioned here.
Known Bug/Tips/Fix
3 minit users can use 3minit battery paid version for free. Check this (Thanks to gharrington )
Tips on TWRP and App Backup/Restore Read Here
Boot splash warning removal. At presently available for Exynos (S908B) only, get it from ROM download area. Instructios packed inside.
[*]
Download : DrKetanROM.com
PS : This is a fully customized ROM and for end users only, ROM or any part of ROM not allowed to redistribute,modify or to use as base to prepare new ROM.
STATUS : Online
First !!!
Totally recommended with lots of features !
Dear friends
I have consider to make this ROM as there is no active development on Fold3 and everyone should thank to @pvillasuso for pushing me lol! ROM made within couple of hrs and that without having device so may some bugs expcted, but according testers, stable enough for release.
Also thanks to all testers who have tested and reported. I may not be able to release ROM with every new firmware but will try my best when time permits.
Again thank you all for showing love & trust for Dr.Ketan ROM
Hi,
Perfect Rom!!! thank you Dr.Ketan to provide us with this rom
works like a charm! great work doc!
Installed your ROM, and finally my Fold3 is happy Thank you Dr.Ketan for your excellent work!
Sinus1 said:
Installed your ROM, and finally my Fold3 is happy Thank you Dr.Ketan for your excellent work!
Click to expand...
Click to collapse
will we ever see this rom for the usa version ther sm-f926u??
Important :
ROM S01 reported working on base F926BXXS1CVCA April scurity patch too, so you can first update to new base - Root - Install ROM (follow installation guid above)
.
junevtec said:
will we ever see this rom for the usa version ther sm-f926u??
Click to expand...
Click to collapse
Not possible , this is just for the F926B variant only .
AFAIK for several reasons, such as rooting and unlocking bootloader not available for for sm-f926u
It says installed, but there is no ROM Tool app
klemen241 said:
It says installed, but there is no ROM Tool app
Click to expand...
Click to collapse
Show me magisk module page screenshot
dr.ketan said:
Show me magisk module page screenshot
Click to expand...
Click to collapse
can be a problem that i am on march security update?
klemen241 said:
can be a problem that i am on march security update?
Click to expand...
Click to collapse
If you are on non supported firmware then module itself have turnd off (Check module page) to prevent bootloop. Read installation guide and changelog post and follow it to the letter.
dr.ketan said:
If you are on non supported firmware then module itself have turnd off (Check module page) to prevent bootloop. Read installation guide and changelog post and follow it to the letter.
Click to expand...
Click to collapse
That must be it. I will update official firmware and try again. thanks
ps: rom works great. For now no problems. Only in the battery bar addon, has ON and OFF switched haha.
Thanks for the ROM.
Is Samsung Health and Galaxy Watch pairing working properly?
mcn1970 said:
Thanks for the ROM.
Is Samsung Health and Galaxy Watch pairing working properly?
Click to expand...
Click to collapse
Yes , both working properly

***CLOSED*** [ROM] Project Unbound V2.1 [G98X]-[DVL3]-[OneUI5.0]

PROJECT UNBOUND
Hello XDA Community, I present the newest Project for the Galaxy S20 series...Project Unbound. This Project is a full port of the Galaxy S21 firmware, currently G998BXXS5DVL3.
NOTE: I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR DEVICE; IT IS YOUR CHOICE AND RESPONSIBILITY FOR WHAT YOU DO WITH IT. IF YOU COME TO ME AND COMPLAIN, I WILL LAUGH AT YOU.​
Spoiler: View Unbound Information
Spoiler: Supported Devices
SM-G980F
SM-G981B
SM-G985F
SM-G986B
SM-G988B
Spoiler: Base
G998BXXS5DVL3
Spoiler: View Unbound Features
Spoiler: View Kernel Information
This ROM currently uses the Stock Samsung Kernel.
The clean source code of the Kernel used in this Project can be found here.
Spoiler: View CSC Information
Spoiler: View selectable CSC Features
Call Recording
Shutter Sound Menu
Real-time Network speed
App Lock support
Anti-Phishing support in Samsung Messages
Anti Malware feature disabled in Device Care
Colour of Days in the Calendar app.
Camera enabled during calls.
Recent App protection
The default homepage in Samsung Internet is set to this
Knox Guard support is disabled.
Enhanced Image Quality.
eSIM support.
Spoiler: View CSC Base
G998BXXSDVL3
Spoiler: View ROM Features
Spoiler: Settings/Services & other Features
Knox disabled
Disabled file encryption
Disabled process authentication
Disabled VaultKeeper
Disabled SCS
Disabled esecos daemon
Disabled AVB
Loads of additional camera features
Loads of additional Single Take features
Full OneUI 4.1 experience
Fully enabled screenshots in secure apps (Including DRM-protected apps). Thanks @edzamber
Disabled Watchdog, thanks @ananjaser1211
Official Status in Settings
Unbound Information & Banner in Software information
Spoiler: Aroma Features
A new menu containing many additional selectable features exclusive to UnboundROM.
Integrated ROM control into the installation.
Wipe Options (Dirty Flash or Clean Flash)
CSC Features (Add a range of CSC features during the installation)
Boot Animation options (Choose to either stay stock or apply our V2 animation)
Embedded Magisk Installation (Optional to choose Magisk Canary, Magisk Alpha, or stay Unrooted)
Hosts options (AdAway installation, with the ability to backup & restore your previous hosts file)
Spoiler: Generic fixes
Galaxy Watch Pairing
Bluetooth pairings
Single Take
Portrait Mode
64MP Super Resolution
SafetyNet (must use kdrag0n's module)
Private Share
Secure WiFi
Spoiler: Misc Tweaks & Mods
Custom Boot logos for each device, thanks @dutchman89
Unbound boot animation by @dutchman89
A large number of prop tweaks for battery, data, performance, and Dalvik
Netflix fix (HD is now fixed)
Frame buffer increased to help with gaming
Spoiler: The Bug list
RED = The Bug needs logs.
ORANGE = The Bug has been reported, and the error has been found; a fix is expected in a future release.
GREEN = A fix file has been provided for this bug and will be implemented in the next available rom release.
Facial Recognition (The error has been found, and a fix is being internally tested. Facial recognition works on G988B.)
Spoiler: View Installation Information
Spoiler: Stock ROM to UnboundROM
NOTICE: The steps below will trip Knox & possibly void your Warranty; following these steps will perform a mandatory data wipe due to Bootloader status changes, so please make sure you back up any/all of your important files somewhere else other than your phone's storage.
STEP 1: UNLOCKING THE BOOTLOADER:
1. Enable Developer Options; you can do this by going to Settings -> About Phone -> Software Information -> Tap "Build Number" 7 times and enter your phone's pin if prompted.
2. Open Developer Options and enable the "Allow OEM Unlocking" option.
3. Shut down your phone.
4. Connect your phone to your PC or connect your headphones to boot into Download Mode with the combination (HOLD VOLUME UP + VOLUME DOWN)
5. Press and hold the Volume up button (Bootloader unlock screen)
6. Once on the Bootloader unlock screen, press the Volume up button to confirm the unlock (WARNING: This action will perform a factory reset, and the phone may restart once or twice (this is normal), you will soon boot back into the Setup wizard, skip this initial setup there is no need to login to anything.)
7. Enable Developer options again (Follow Step 1) and check that the OEM toggle is enabled & greyed out.
8. Congratulations, you have unlocked the Bootloader and are ready to continue to the next step.
STEP 2: FLASHING TWRP + PATCHED VBMETA:
1. Download this TWRP+VBMETA file to your PC.
2. Boot your phone into Download Mode.
3. Single press Volume Up to start ODIN Mode
4. Load ODIN on your PC.
5. Go to options and untick "Auto Reboot..."
6. Select the (USERDATA) slot and select the downloaded file from Step 1.
7. Click start on ODIN and wait for it to finish.
8. Upon a pass, keep the phone connected to your PC or headphones, then hold the Power button + Volume down button; as soon as the screen goes black, hold the Power button and Volume UP button.
9. You should now be in TWRP.
STEP 3: INITIAL TWRP STEPS:
1. Do a complete data wipe (Wipe -> Format Data -> Type "yes")
2. Reboot back into RECOVERY (Reboot -> Recovery)
3. Download the latest Unbound release and copy it to your phone (PC to Phone) or a USB OTG device, or if you have SD Card, you could store it on that.
STEP 4: INSTALLING UNBOUNDROM:
1. In TWRP, click "Install" if using a USB OTG device, press "Select storage", and press "USB OTG" or "SD Card" if using an SD Card.
2. Browse to the location you stored the ROM zip.
3. Swipe to confirm the flash.
4. Follow the on-screen instructions, select your desired features, and wait for the ROM to install.
5. When the ROM has finished installing, press "Save Logs" to send to the Developer if you bump into any issues.
6. Reboot into the System.
7. Do the setup wizard as usual.
8. Congratulations, you have successfully installed UnboundROM and are good to go! Enjoy!​
Spoiler: Other ROM to UnboundROM
CLEAN FLASH (RECOMMENDED)
1. Boot into TWRP
2. Load UnboundROM zip
3. In Wipe Options, select "Clean Install"
4. Follow the on-screen instructions, and wait for UnboundROM to be installed.
5. Boot into the System.
DIRTY FLASH (NOT RECOMMENDED)
A dirty flash may or may not work, as we cannot guarantee that flashing UnboundROM over the top of another ROM will cause any issues; so, therefore, we do not recommend it, but of course, it is your device and your responsibility so please feel free to make your own choice here but please do not come to our chats and complain about issues caused from a dirty flash over another custom ROM.​
Spoiler: Unbound version update (V1.1 to V1.2 etc)
When updating versions of Unbound, it is very dependent on what version you are currently running and the version you want to update to, an example being if you are on V1.0 and want to update to V1.1, a dirty flash would be fine unless stated in the OP otherwise.
However, if you say you are upgrading the OS version, i.e. OneUI 4 to OneUI 5, you would need to update your device to the latest firmware first via SamFirm/Frija/hadesFirm etc.
Please take note of the changelogs of each version as they will state the requirements to update and if a clean flash will be required or not.
When a dirty flash is impossible, and you need to update your device to the latest/specified firmware, please follow the recommended steps below. These steps will assume you are already running UnboundROM:
1. Download the latest/required firmware using either samFirm, Frija or hadesFirm
2. Unzip the firmware zip and remove the .md5 from the end of each file name.
3. Boot your phone into download mode, load Odin, turn off Auto reboot options, and load the files into the relevant slots. ( BL = BL, AP = AP, CP = CP, CSC = HOME_CSC) (IT IS IMPORTANT TO USE "HOME_CSC" TO KEEP YOUR DATA INTACT)
4. Press start, and wait for it to complete.
5. When complete, keeping the phone connected to the PC, boot your phone into TWRP, and load the latest/downloaded rom.zip
6. Follow the on-screen instructions and wait for the ROM to be installed.
7. When the installation is complete, press the "Save Log" button in case of any issues.
8. Congratulations, you have successfully updated your version of UnboundROM. Boot to the System and enjoy!​
Spoiler: View Changelog
Spoiler: V2.1
Updated to G998BXXS5DVL3
Added the Unbound Kernel
Removed all Christmas theming.
Removed embedded Canary (Alpha works better with Banking Apps)
Spoiler: V2.0 - Christmas Edition
The Unbound Christmas Theme has been applied.
Christmas theme includes a new boot animation, new logos and new boot logos.
Spoiler: V2.0.2
The device-specific files have been revised and updated.
Support for G985F has been fixed.
Spoiler: V2.0.1
The issue causing a green screen after using 10x zoom has been fixed.
The issue causing a forced crash after taking a Night Mode photo has been addressed.
An issue causing a crash during the post-processing of a photo has been fixed.
Spoiler: V2.0
Updated base to G998BXXSDVK1
I have fixed some errors where 120Hz would not be applied.
Applied CloudflareDNS settings globally.
I separated the Modes & Routines app into another option in the Debloat section instead of being removed when selecting to remove Bixby.
Spoiler: V1.5.0
Updated base to G988BXXUFFVI7
Fixed Netflix HD/HDR
Add some new Network tweaks
Add Burn In Protection
Spoiler: V1.4.0
Updated base to G998BXXU5CVGB
Fixed camera issue
Spoiler: V1.3.0
Updated base to G998BXXU5CVF2
Integrated ROM control into the main installation
Applied low brightness fix.
Spoiler: V1.2
Updated base to G998BXXU5CVDD
Implemented Portrait Mode Fix
Implemented Single Take Fix
Added a bunch of Single Take & Camera mods by default.
Misc fixes.
Spoiler: V1.1
Updated base to G998BXXU4CVD2
Implemented Night Mode fix
Fixed missing Secure Folder
Fixed missing USSD code dependencies
Updated embedded Magisk versions to the latest
Spoiler: V1.0
Initial Release
"Useful Links" removed by moderator
Download links removed by moderator
Spoiler: Unbound Credits
Dutchman89 - Boot Animation, custom boot logos, and other branding logos. Thanks a ton.
Anan1211 - Endless help throughout the years
corsicanu - Endless service throughout the years & official TWRP
Topjohnwu - Magisk Developer
Nathan - Aroma colouring
Samsung - Base Firmware
Andrei - Help & Support
All of the Unbound testers team
If I missed your name and you feel you should be credited, please DM me on Telegram with why you should be credited.
Reserved
Reserved
thanks
Bundle of Thanks
So with this we can have Google Discovery in Homescreen?
Yes.
Hello, how is this comparing with beyond rom; is the SoT better, performance wise, customisation, etc...? thank you
john S7 said:
Hello, how is this comparing with beyond rom; is the SoT better, performance wise, customisation, etc...? thank you
Click to expand...
Click to collapse
Give SoT some time, only released yesterday.
Unbound is full S21 Firmware, Beyond is stock rom with root.
I could not get secure folder to work. Is there a patch?
Will romcontrol be in the plans?
For people who are not familiar with intricacies of Galaxy line firmwares - what are differences between S20 and S21 firmware? What is the benefit of switching it?
So, everything works? All cameras, 120Hz, Google Pay?
I'm inclined to try it, but my phone is well configured now, so i'm a bit sceptical.
myaslioglu said:
I could not get secure folder to work. Is there a patch?
Click to expand...
Click to collapse
Fixed in V1.1 in testing
ZaraZwracam said:
For people who are not familiar with intricacies of Galaxy line firmwares - what are differences between S20 and S21 firmware? What is the benefit of switching it?
Click to expand...
Click to collapse
More features
pintasmapila said:
So, everything works? All cameras, 120Hz, Google Pay?
I'm inclined to try it, but my phone is well configured now, so i'm a bit sceptical.
Click to expand...
Click to collapse
Read the bugs list
The code *#1234# does not work.
S20 Ultra
Thank you for this! I'll try flashing it later
Is a degoogled flavour planned? Thats one thing I'm really missing at the moment
endim8 said:
Thank you for this! I'll try flashing it later
Is a degoogled flavour planned? Thats one thing I'm really missing at the moment
Click to expand...
Click to collapse
I hate google too
Shame Samsung firmware heavily relies on Google.
I dont get how some people think theyre somehow "winning" by getting rid of google...i have never understood it...all youre literally doing is making your device, and therefore life, less functional
Reminds me of that ROM some dev cooked up for my old Pixel 2XL and other devices that was so paranoid focussed that on their FAQ it actually said to wear baseball caps to avoid detection in real life and keep your phone in a farady bag when not using it...im not even joking here
Personally all the same level of bonkers thought processes to me, seems like everyone who feels this way should go and join a militia in Michigan and bang on about the "new world order"
If you dont like google apps, then go and buy an iphone and see how much you like that.....ill keep your seat warm here for when you get back
Google isnt the problem, its what people cough up on social media and communications thats the problem....and i cant believe people havent figured this out by now...stop blaming google, they only use what you voluntarily give them...so please stop blaming Google, its your fault, stop sharing so much... some people cant help themselves, oversharing has become a cancer...
Me, ive been interconnected since BBS days, and to date theres not even one picture of me out there, or any of my personal info, probably because i dont think im important enough to bother people with my inane life...sadly this restraint is not shared by most of society...people like to vomit everything they do in life onto the web, with pictures
And then they want to bang on about privacy and the erosion of such
I weep for humanity, youre the problem...
Can guys that installed this rom write their opinion about it instead of writing "philosophy" about things that have nothing to do with the rom?

Categories

Resources