• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] [LP 5.1.1] Validus Unofficial Hardened Updated June 17

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Rom updated to LP 5.1.1 on June 17. All latest features included:

My Changes:
1. Thermanager values fixed to prevent flickering and low charging. There is ZERO flickering.
2. Camcoder mike low recording sound fixed
3. VOLTE enabled (if and when your carrier implements it). If you go to Network, you'll see Volte enabled; also in phone test menu, you will see VOLTE flag enabled
4. WIFI background scanning disabled - better battery life
5. GSM Network is handled by System, as opposed to Modem
6. Shady IPs cleaned thought the rom
7. Kernel with Overclock, Voltage, Screen Color and TWRP integrated.
9. All usual hardened features in kernel (see original description below)

Download: http://forum.xda-developers.com/devdb/project/dl/?id=13068

Do a clean flash, since this is LP 5.1.1

_______________________________________________________________________________________________________
Rom updated March 20. Over 800 downloads in 8 days and 6 "thanks you". Thanks...

Some changes: sound control in kernel which allows to compensate for low camera mike recording (use Trickster mode or similar app); wifi background scanning is disabled - better battery life; latest validus and cm changes

DOWNLOAD LINK: http://forum.xda-developers.com/devdb/project/dl/?id=11628

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Here is the latest Validus LP compiled from sources on March 11. Latest CM changes including FM Radio

Changes:

1. Kernel with all ciphers, hashes, random number generation enabled
2. SeLinux disabled, Tomoyo security enabled
3. 256 bit encryption with increased key length and 5000 iteration, as opposed to weak 2000
4. Latest CM and Validus changes including black interface and changing keyboard theme based on app color
5. Black Contacts fixed (now white text on black background)
6. Led lights normal brightness fixed
7. TWRP 2.8.X integrated into kernel

DOWNLOAD LINK: http://forum.xda-developers.com/devdb/project/?id=8646#downloads

Install:

1. Be on Kitkat at least, rooted and with recovery
2. Enter recovery, wipe System/Cache/Data
3. Flash the rom
4. Flash data from your previously saved Lollipop rom (optional, but works on my device)
5. Reboot and enjoy

Credit: Validus Team, Slimroms, AOSP, Cyanogenmod, Omniroms

Warning: I am not responsible for death and destruction resulting from flashing this rom. You are on your own.

Kernel Source: https://github.com/HonamiZ1/kernel_sony_msm8974

XDA:DevDB Information
Validus Lollipop Unofficial, ROM for the Sony Xperia Z1

Contributors
optimumpro
Source Code: https://github.com/Team-Validus/android

ROM OS Version: Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Unlocked Bootloader
Based On: AOSP Cyanogenmod

Version Information
Status: Testing

Created 2015-03-12
Last Updated 2015-06-17
 
Last edited:

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Screen Shots

Screen shots added.
 

Attachments

Last edited:

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
For those who are interested in encrypting the data partition. Remember, there is no longer any visible slowdown. What you need to do before or after encryption is to enable "Disable HW overlay" in Developer Options. There is a catch, though: this won't stick after reboot unless you implement an init.d script that will take care of this.

Here is the script : http://d-h.st/QIiE

Download the script by using the blue button (unless you want their ridiculous exe. download manager)
Put the script into /system/etc/init.d with at least 750 permission and reboot. You will see that Disable HW overlay option is ticked by default.

Also, I recommend ADB shell encrypting, as opposed to doing it from Security menu for several reasons: first with ADB you are not limited by 16 characters, you can use a passphrase that you can remember and no one can break; second, in Security menu, encryption will use your pin password (which is short) to encrypt. Remember, you only need a long passphrase to boot, and if your rom has "soft reboot", you don't need to enter password at all. Here is how to do it:

1. Go to Security menu and enable Pin/Password/Pattern or None. Your screen password could be short, as it is independent from boot password.
2. Next, pick a long boot password. You need to convert it into hex: just use this site https://www.online-toolz.com/tools/text-hex-convertor.php for conversion. Now, copy your hexed password (for future pasting).
3. Next, go to Developer Options and enable ADB; Root for ADB + APPS
4. Connect your phone to your computer
5. Open Terminal and type "adb shell" without quotes and press enter
6 Then type "su" also no quotes and press enter
7. Now type the following without quotes: vdc cryptfs enablecrypto inplace password HERE PASTE YOUR ACTUAL HEXED PASSWORD and press enter. Remember, don't type HERE PASTE YOUR PASSWORD, instead paste your hexed password there.
8. After you press enter, your phone will reboot and start encrypting. In a few minutes, you will get another reboot and a prompt for boot password. Here, enter your actual password (not the hexed one). Your phone will boot and you can check in the Security options that your phone is encrypted.

Enjoy.
 
Last edited:

shingers5

Recognized Contributor
Sep 5, 2008
8,564
3,353
0
liverpool
Gonna try it but I assume they might crash as with the other hardened builds

---------- Post added at 07:04 PM ---------- Previous post was at 07:01 PM ----------

Has this got the landscape rotation sys ui crash bug
 

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Gonna try it but I assume they might crash as with the other hardened builds

---------- Post added at 07:04 PM ---------- Previous post was at 07:01 PM ----------

Has this got the landscape rotation sys ui crash bug
Encryption has nothing to do with gapps crashing. The only thing that could be related is android_logger=n in kernel. I guess gsf can't log your every key stroke without that function in kernel. So, any other lp kernel would do. I may recompile the kernel with that option on.
 
Last edited:

DMondi

Member
Jun 23, 2014
13
4
0
Kyiv
Good compilation

My previos ROM was RR. Trying this. Data was restored from RR is normal.
I like this Validus ROM :)
All what I want is included + Black Theme (Default)
 

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Xprivacy works? Can't nmake it work on cm12( asks kernel modification)

Sent from my TegraNote-P1640
The only two roms that work with Xposed Xprivacy from start are my versions of Resurection Remixed and Slim LP (remember, I have SElinux disabled in my kernels). So, if you want those, flash Resurection, then install your favorite apps including Xposed and Xprivacy, then backup the data. Then do a clean flash of Validus, then flash Xposed binary (before rebooting), then restore Data from Resurection and reboot. It works. If you look at screenshots I posted, you will see I have Xprivacy working.
 
  • Like
Reactions: ggs2

shingers5

Recognized Contributor
Sep 5, 2008
8,564
3,353
0
liverpool
I actually like thia ROm and the default theme too. Been using since flashing and gapps work. Had a few issues but flashed banks gapps and they worked fine
 

ggs2

Senior Member
Jan 2, 2012
322
66
0
Does this have low LED bug? Can't see LED... tried xposed that works though: :)

The only two roms that work with Xposed Xprivacy from start are my versions of Resurection Remixed and Slim LP (remember, I have SElinux disabled in my kernels). So, if you want those, flash Resurection, then install your favorite apps including Xposed and Xprivacy, then backup the data. Then do a clean flash of Validus, then flash Xposed binary (before rebooting), then restore Data from Resurection and reboot. It works. If you look at screenshots I posted, you will see I have Xprivacy working.
 

steveeJ

Senior Member
Nov 24, 2011
225
54
0
Encryption has nothing to do with gapps crashing. The only thing that could be related is android_logger=n in kernel. I guess gsf can't log your every key stroke without that function in kernel. So, any other lp kernel would do. I may recompile the kernel with that option on.
Do I understand correctly that gapps will not work here? Could the missing module be shipped and downloaded as 'ko' file or does it have to be compiled in?
 

ggs2

Senior Member
Jan 2, 2012
322
66
0
Led is fixed, unless you use a different kernel.
Doesn't work. if i restore data from RR in validus, i end up in bootloop even though I have only installed Xposed/Xprivacy in RR..
Can't use RR because LED is tooo low.

Would keep an eye, till the time validus by itself can support Xprivacy (if it does :) !)
Thanks...
 

optimumpro

Senior Member
Jan 18, 2013
6,266
13,594
113
Doesn't work. if i restore data from RR in validus, i end up in bootloop even though I have only installed Xposed/Xprivacy in RR..
Can't use RR because LED is tooo low.

Would keep an eye, till the time validus by itself can support Xprivacy (if it does :) !)
Thanks...
Did you follow directions in my other post? Did you install xposed and xprivacy in Resurection? I have validus with data restored from Resurection and xposed and xprivacy work fine.
 

steveeJ

Senior Member
Nov 24, 2011
225
54
0
I don't use Gapps, but another user a few posts above said they worked...
gapps seem to work so far!

I'm currently trying to mount the sdcard which is ext4 formatted. I can mount it manually via the shell, but vold won't notice any of that. I guess I need to figure out how to persistently change /fstab.qcom file.