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

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
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.
You need to put encryptable there, but I am not sure it could be done without changes to vold.
 

ggs2

Senior Member
Jan 2, 2012
322
66
0
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.
Yes, I did these things
A)Wiped all my data/existing ROM
B) Installed your RR,installed Xposed/xprivacy. (seemed to work fine in RR)
C)in recovery (TWRP 2.x), backed up data, wiped data, installed Validus rom, installed xprivacy-zip, restored data, rebooted -->stuck in bootloop from then.

I would have stayed on RR, but can't as it has very very low LED. I hope after restoring data from RR (If it works) validus will have proper LED.
 

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
Yes, I did these things
A)Wiped all my data/existing ROM
B) Installed your RR,installed Xposed/xprivacy. (seemed to work fine in RR)
C)in recovery (TWRP 2.x), backed up data, wiped data, installed Validus rom, installed xprivacy-zip, restored data, rebooted -->stuck in bootloop from then.

I would have stayed on RR, but can't as it has very very low LED. I hope after restoring data from RR (If it works) validus will have proper LED.
Led light is in kernel, so you can use Resurect with Validus kernel.
 
  • Like
Reactions: ggs2

ggs2

Senior Member
Jan 2, 2012
322
66
0
Led light is in kernel, so you can use Resurect with Validus kernel.
will try tonight and update if it works. Thanks for reply

Edit:Used resurrect with validus kernel, Led lights Works as long as gapps are not installed. Once I install gapps, led again stops working

Edit 2: Don't know if its porblem with my phone or kernel. LED started working aftetr keeping phone for charging for an hour. Can't really understand the reason. But now i have xprivacy and working LED. Thanks !!
 
Last edited:

Shro

Member
Feb 2, 2015
15
1
0
Hastings
I've upgraded to a Z1 from a Z in a part-exchange today, I was running the official build of Validus on it and it's the best lollipop rom out there at the moment in my opinion. What differences can I expect to see in the "Hardened" version on my new device when sony get their act together and send my bootloader unlocking key?

I hope Validus team upgrade us to 5.1 sooon. :)
 

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
I've upgraded to a Z1 from a Z in a part-exchange today, I was running the official build of Validus on it and it's the best lollipop rom out there at the moment in my opinion. What differences can I expect to see in the "Hardened" version on my new device when sony get their act together and send my bootloader unlocking key?

I hope Validus team upgrade us to 5.1 sooon. :)
Read the OP. The last official Validus was posted on February 19. There have been lots of changes in validus and cm sources since then. Hardened means 256 bit encryption as opposed to default 128 and many ciphers, hashes that were disabled in kernel by default. As a result you have better random number generation and speedier device...
 

Shro

Member
Feb 2, 2015
15
1
0
Hastings
I understood the information about the encryption stuff, I just didn't know that was your definition of "hardened" lol
I've just flashed the build. Feels good. Liking it so far. Hooray Validus.
 

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
I understood the information about the encryption stuff, I just didn't know that was your definition of "hardened" lol
I've just flashed the build. Feels good. Liking it so far. Hooray Validus.
Improper or weak random number generation can result in 2 things: not enough entropy, which creates lags and excessive work of cpu, which drains battery; and negating encryption meaning the master key becomes vulnerable to brute attack. If you read recent Snowden revelation, you will find out that the infamous 3-letter-agencies can't really break 128 bit or even 256 bit encryption with all their hackers and techonology. What they are doing instead is introducing weak random number generation. In Android, the number of iterations used to generate your master key, as well as salt is 2000. That's weak. So, in this rom the number is changed to 5000. RCA key length is 2048 (also weak), so, my number is 3072. Many other subkey length have been changed from 8 to 16, 48 to 96, 64 to 128. So, basically, if they get you with your device after you turned it off, the only way to get to data is your fingers slammed by the door (so you'd give them the password yourself). :D
 

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
Any problem with charging??
It charged 2% in 1 hour. Without touching the phone

Sent from my Xperia Z1 using XDA Free mobile app
That does not represent real numbers. Try to reboot your phone and you will see the number will change to the real one. Battery statistics is just badly implemented on Android...
 

ggs2

Senior Member
Jan 2, 2012
322
66
0
That does not represent real numbers. Try to reboot your phone and you will see the number will change to the real one. Battery statistics is just badly implemented on Android...
Restart, its same(14%). Didn't have this issue on CM12 nightly though..
 

ggs2

Senior Member
Jan 2, 2012
322
66
0
Just fully charge it once to get rid of old battery stats...

yeah will leave it overnight. Hopefully it will be charged :)
Anyone able to turn off phone while connected to charger?
If I connect charger and turn off phone, screen is always on,can't turn it off so can't charge effectively..
 
Last edited:

Shro

Member
Feb 2, 2015
15
1
0
Hastings
This adaptation of Validus features all the small implementations I was missing when I switched from Resurrection Remix on my XZ(Yuga) like DT2S and Power button ends call, it runs faster and smoother than I was expecting, the few extra mhz outta this snapdragon really makes a difference. My only issue thus far, which I didn't face using my ZX is that I can't install Trials Frontier (Device not supported, allegedly) which depresses my slightly as their page claims to support this device and I know it runs fine on Validus on a lower-spec device. This is probably the only game I play so I'd really hope you can do something... Really wanna get gaming on my XZ1.
 

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
This adaptation of Validus features all the small implementations I was missing when I switched from Resurrection Remix on my XZ(Yuga) like DT2S and Power button ends call, it runs faster and smoother than I was expecting, the few extra mhz outta this snapdragon really makes a difference. My only issue thus far, which I didn't face using my ZX is that I can't install Trials Frontier (Device not supported, allegedly) which depresses my slightly as their page claims to support this device and I know it runs fine on Validus on a lower-spec device. This is probably the only game I play so I'd really hope you can do something... Really wanna get gaming on my XZ1.
Google thinks it won't work on Z1, which may or may not be true. Sideload the game from another source and see if it works. If it doesn't, you have to ask game developers to adapt to your device.
 

Shro

Member
Feb 2, 2015
15
1
0
Hastings
Google thinks it won't work on Z1, which may or may not be true. Sideload the game from another source and see if it works. If it doesn't, you have to ask game developers to adapt to your device.
Side loading failed. No good. Complained to ubisoft, they'll probably tell me it's because I'm on Validus as their website lists compatibility for the device. Still, loving the ROM and my device upgrade very happy!
 

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
WIFI Background Scanning

This has to do with Android features where your wifi periodically does background scanning and sends your MAC info to any wifi access point in the vicinity, even if wifi scanning is set to off. Read this:

http://thehackernews.com/2014/01/spying-agencies-tracking-your-location_31.html

I have disabled background scanning in board configuration in sources (as opposed to just framework-res.apk), so the entire build was compiled with this flag - that wifi chip has no background scanning ability. As a result, the system now is incapable of background scanning. You can still use WIFI and connect to access points as usual. You just can't be tracked via wifi anymore, not to mention battery life saving...
 
Last edited:

optimumpro

Senior Member
Jan 18, 2013
6,278
13,649
253
Kernel updated to allow voltage control

Kernel updated to include CPU voltage control for under/over-volting. See attachment.

Instructions:

Unzip the file
Flash in Fastboot: fastboot flash boot boot.img and fastboot reboot

Enjoy
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone