yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] JeffRt:
Secure Spaces ROM for Nexus 5x (6.0.1 - Marshmallow)

You can download the ROM here.

XDA:DevDB Information

Secure Spaces ROM Nexus 5x, ROM for the LG Nexus 5X

Contributors

JeffRt

Source Code: http://www.securespaces.com/secure-spaces-downloads-2/

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.10.x

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 1.1

Stable Release Date: 2016-02-12

Created 2016-03-02

Last Updated 2016-09-29
[Nexus 5X Android Development] lennis:
Downloading

Enviado desde mi Nexus 5X
[Nexus 5X Android Development] hypemanisus:
I am so flashing this rom ASAP.

??
[Nexus 5X Android Development] hypemanisus:
Mac~users

Just a head up. For those using macbook. By now you should know terminal must have "./" before adb and fastboot. ? with that being said. The flash-all.sh needs the "./" either you manually open the file and add it to all the lines with fastboot. (./fastboot)
[Nexus 5X Android Development] mohammed510:
Noob question. Can I flash this if I'm using f2fs?

edit: nvm.
[Nexus 5X Android Development] JeffRt:
I don't think so , we are using ecryptfs and I image it is not compatible. However we have not tried, so feel free to experiment and let us know.

Thanks!
[Nexus 5X Android Development] JeffRt:
Great let us know what you think.
[Nexus 5X Android Development] mohammed510:
It reformats userdata back to ext4. So, it boots. No issues but, the build is a bit old. Android 6.0
[Nexus 5X Android Development] stay-down:
This looks pretty cool. I may flash this weekend to give it a shot. Thanks dev for another rom to try out!!
[Nexus 5X Android Development] hypemanisus:
Question. The rom version on the download site says v4. 0.1 Android 6.0.1. But after downloading i got v1. 1 which in 6.0 and it's a november 2015 update. Is that the correct download?
[Nexus 5X Android Development] toma62:
Congratulations for the job

sorry but the installation and normal, through the TWRP?

the Gapps go flash?

because not clear flash drives

thank you so much
[Nexus 5X Android Development] hypemanisus:
You will only need twrp for backup. The rom is flashed using fastboot. The guide is on their download page. Think of it this way. You are unrooting your phone going back to stock bt in this case it's secure space you going to.
[Nexus 5X Android Development] toma62:
OK thanks

why not simply flash recovery?

Life is already complicated ah ah ah ah:):)
[Nexus 5X Android Development] JeffRt:
Hi

Yes our numbering scheme is a bit misleading these are our internal version numbers. I will clean up the version numbers on the site to make it less confusing.
[Nexus 5X Android Development] JeffRt:
Try out our free Hidden Space app after you have flashed the ROM

Hidden Space Calculator App
[Nexus 5X Android Development] Powder1:
When will the nexus 6p version be available
[Nexus 5X Android Development] NOSTALGIA:
added to index

INDEX] LG NEXUS 5X Resources Compilation Roll-Up
[Nexus 5X Android Development] electropok:
Hello,

Looking promising ! :good:

I'm wondering about compatibility with:

- custom kernel :confused: (for ex: Elemental X)

- Xposed framework :confused:

Also, what's the general overhead caused by "virtual phone instance" ?

Thank you for your effort :victory:
[Nexus 5X Android Development] glehel:
definitely not!
[Nexus 5X Android Development] electropok:
Thanks for your feedback !

It's kind of a break dealer for me then :(
[Nexus 5X Android Development] darkrom:
I am enjoying this a lot.

Two questions. 1) can I root this, if so the same way as always.

2) how do I update
[Nexus 5X Android Development] darkrom:
Definitely want this but I want to be on current versions too.
[Nexus 5X Android Development] JeffRt:
Hey Nexus 5X users, update to version 4.0.2! OTA update now available for Secure Spaces ROM with Hidden Space support!

Or download from here: http://bit.ly/GetSysROM
[Nexus 5X Android Development] toma62:
Thanks so much

is a zip, you install the TWRP normal?
[Nexus 5X Android Development] JeffRt:
Here are some instructions to help you flash the device http://www.securespaces.com/WP2015/index.php/rom-flashing-guide/

Hope this is helpful
[Nexus 5X Android Development] JeffRt:
Secure Spaces Web Login app that lets you create a hidden Space on your Nexus 5X running Secure Spaces, is now free on Google play. Check it out and let us know what you think

[IMG="web login hidden space app"]http://i.imgur.com/ctG5Ekv.png[/IMG]
[Nexus 5X Android Development] toma62:
Thank you for sharing.

but not'll use the Rom because the installation is complicated

work, children and little time, install a rom should be an easy process

zip recovery like any other rom.

I am convinced that this process does not allow your use of the many people rom

thank you so much :)
[Nexus 5X Android Development] New_2_Android:
I noticed your flash-all script attempts to flash a vendor.img and radio.img, however those images are not included in the .zip, What kind of issues can this cause? Currently when I run your shell flashall (on mac) on a Nexus 5x device, it is successful but the device hangs on the Android logo bootanim and I never am able to fully load into the OS. So far the only solution is to physically reboot the device into fastboot mode and restore my old ROM.
[Nexus 5X Android Development] th3g1z:
Source code download link in OP doesnt seem to have source for download, can you please update. Thank you.
[Nexus 5X Android Development] JeffRt:
There is no source code only the ROM.
[Nexus 5X Android Development] JeffRt:
Sorry to hear you had an issue flashing ... can you maybe re-download the ROM and check the md5. Also we do not reflash the radio or vendor so, this is OK that these files are missing.
[Nexus 5X Android Development] julianstafari:
Power on error

I recently buy 2 devices and flashed the rom, in twice i got this error:

imageshack.com/a/img923/7757/bQp8iO.jpg

Any idea?
[Nexus 5X Android Development] JeffRt:
This is the Android Verity issue / protection - depending on what side you are on ;). Your device has an OEM key burned in which will verify the complete boot - image against this key. The reason you see this error is due to dm-verity failing, but there is no real issue with the device in regards to our image, just that is failed this dm-verity verification.

https://source.android.com/security/verifiedboot/

This is probably more info than you wanted to know ... but we will push out an update release with our verity key in the near future which should mitigate against a few of these warnings - but will not remove all of them as we cannot burn a new OEM key into your device :o.

I hope this helps ... thanks for trying our ROM!
[Nexus 5X Android Development] julianstafari:
Really thanks [MENTION=7072656]JeffRt[/MENTION], we appreciate the work

Congratulations & regards!
[Nexus 5X Android Development] dvgrhl:
Is this using the stock AOSP kernel?
[Nexus 5X Android Development] hypemanisus:
The download for nexus 5x is unavailable!
[Nexus 5X Android Development] julianstafari:
problems with camera

I have experimented problems with the camera on 6 different devices...

It take like 4 sec's and show a message saying: "Error with camera: cant connect with camera"

Any idea?

Regards!
[Nexus 5X Android Development] khanjui:
Are you sure that you flashed latest vendor.img?
[Nexus 5X Android Development] julianstafari:
Yes, i try with the last vendor...

https://developers.google.com/android/nexus/images#instructions

An also i tried upgrading the phone with the last version of the system anda after that flashing the Secure Spaces, and nothing...

Could you share me the vendor.img that you're using?
[Nexus 5X Android Development] khanjui:
It's from MHC19Q.
[Nexus 5X Android Development] julianstafari:
Got it! i tried a fee times with diferents secuences of flashing order of the files and i cant make the camera work, could tell me the correct order to flash the files and the link of the stable versión of secure space [MENTION=4984423]khanjui[/MENTION]
[Nexus 5X Android Development] JeffRt:
Yes, Secure Spaces uses AOSP and injects some kernel and middleware mods in support of our capabilities.
[Nexus 5X Android Development] monkeyseemonkeydo:
Problem installing on Nexus 5x

Camera does not work. Flashing the newest vendor.img = NOGO

Other than camera not working everything else is good!

Just kind sucks that the camera doesnt work. Maybe I should take out the cameras and the microphones! Then it will really be secure. Get a good pair of headphones. Will the nexus run with cameras and mics out? I know iphone will.
[Nexus 5X Android Development] monkeyseemonkeydo:
Settings for hidden space?

First of all I want to say I LOVE THIS ROM! But I have a few questions:

1. Are there settings for the hidden space?

2. Can you only use a VPN on the owners space? VPN not accessible in any other space.

3. I cant install the nightly update because I have no recovery / your recovery doesn't work (dead android with red x) TWRP doesnt work / Dont know how to do manually

4.All of the apps installed in the hidden space are located/visible in the owners space via settings - apps! What can be done to prevent this?

Thank you all in advance!
[Nexus 5X Android Development] monkeyseemonkeydo:
Download the new 5x rom on the website!
[Nexus 5X Android Development] smartshamal:
Some details?

Hi,

I downloaded and installed on my Nexus 5x. What kind of system level virtualization you used? Linux LxC?? jails?? containers?? What are the memory and storage overheads for each virtual phones?

Also, can I root it?
[Nexus 5X Android Development] petertramp:
Fingerprint unlock issue?

Finally got my Nexus 5X and installed the SecureSpaces ROM. So far I am satisfied, there are, however, a couple of issues:

- I keep getting a message "Unfortunately Spaces has stopped" well it keeps working afterwards, but sometimes I need to wait for a few seconds or to get to the Main Space.

- Is there a way to change the space icons? presumably that should be possible by setting the user picture, however, I am unable to set this either for the main user or the other spaces.

The biggest issue I have is that I do not seem to be able to use the fingerprint unlock for Dropbox, LastPass and Nine (email). It does work for unlocking the system though. I flashed the SecureSpaces ROM right after unpacking the phone so I cannot confirm that it worked on the stock ROM. Given it unlocks the phone without any issues I wonder whether it is a bug in the Spaces ROM
[Nexus 5X Android Development] rklingsten:
I have the same problem which is kind of a showstopper for me; I use Lastpass extensively and having the fingerprint not work is a serious pain.
[Nexus 5X Android Development] petertramp:
I tried a couple of ROMs today and the fingeprint is working with the other Apps so it looks like an issue with Secure Spaces
[Nexus 5X Android Development] almus:
Does anyone know if this rom works okay with fi?
[Nexus 5X Android Development] almus:
Also, has anyone managed to get the ota flashed? For me it tries to flash, fails then boots to the downloaded version. The version that is currently available for download *does* include and flash a radio.img and a vendor.img which worries me a bit.
[Nexus 5X Android Development] graphiteonxda:
Quick Update:

Hi Guys,

We're finalizing our integration of the latest Secure Spaces with android-6.0.1_r43. The latest ROM will be up to date with the June Android security patch level, and includes a number of bugfixes and stability improvements.

As soon as we have a green light from QA, we'll post the latest update and OTA zips here.

Thanks again for all your support.

[MENTION=7499353]graphiteonxda[/MENTION]

Hi,

We do flash the vendor and radio images, but these are identical to the Nexus Factory Images. We do so because we re-sign the images with our dm-verity key to prevent unauthorized changes to those partitions. You can verify this yourself by "unsigning" the images with simg2img. Then also unsign the Factory images and compare the hash digests with something like md5sum.

As for the OTA update failures, we're working hard to get the latest SS ROM published. It should correct the update issue.

Hi,

We have a fix for the fingerprint app authentication issue that will be included in our upcoming ROM release. Sorry for the wait. Stay Tuned :)

Without being too vague: We don't use an open-source or COTS hypervisor nor container solution. Our implementation starts with Linux kernel primitives, making use of Linux network and storage capabilities, along with our customized Android framework and Graphite middle-ware, and ends with our rich-environment user facing policy and configuration elements...

...without being too vague...

The memory and storage overheads are minimal: Each space requires it's own application userdata storage, which means some system app data is duplicated in each Space. Apps and services in background spaces are paused (or possibly the entire Space itself) to free up memory as necessary to facilitate the Foreground Space. The N5X has enough storage and memory to comfortably house and run several Spaces simultaneously.

As for rooting, we have not tested it in house. If you have any success with existing exploits or SU installers, I'd be happy to know.

Thanks for your interest.

We use AOSP as our base, so our compatibility with Project Fi is up to date with the latest AOSP tag we integrated. No special efforts were made to improve compatibility.
[Nexus 5X Android Development] graphiteonxda:
Secure Spaces ROM V4.2 Update

Hey Guys,

For those faithful followers that are currently running the Secure Spaces ROM, you can get the 4.2 Update via OTA. (Settings -> About Phone -> Secure Spaces Update).

For anyone else that wants to try it out, our flashpack images will be available at www.securespaces.com imminently.

Here is a quick overview of the 4.2 release highlights:

New SMS routing feature: assign your SIM card to a Space and only send/receive SMS from that Space.

New 'Mobile-Only' feature can restrict a Space to always use the Mobile Data Network.

Improved Spaces Sharing will deliver content to appropriate app (e.g., pics to Galery, MP3s to Music, etc.)

Spaces Sharing now queues items being shared to non-active/stopped Spaces.

Improved UI and user feedback during Space operations (creation, deleting, etc.)

Space Settings can now be accessed from within a Space.

Improvements to the OTA updater and server flow.

Additional bug fixes and performance/stability improvements.
[Nexus 5X Android Development] Rekan_:
Do we install this using ADB? Thanks
[Nexus 5X Android Development] graphiteonxda:
You can install the flashpack image using fastboot. There is a flash-all script for Windows, Mac, or Linux included in the zip package.
[Nexus 5X Android Development] graphiteonxda:
Secure Spaces 4.2 ROM Technical Details

Some more notes on the 4.2 ROM:

Based on AOSP android-6.0.1_r43 Tag

Up to date with May 2016 AOSP security patch level
[Nexus 5X Android Development] mavishow:
Is it possible to do this way? Twrp install method img. File to boot img. Flash > system img. Flash >reboot system?
[Nexus 5X Android Development] graphiteonxda:
Secure Spaces 4.2.002 ROM

Hi Guys,

The latest ROM build is now available. This is version 4.2.002 and is mostly a bugfix and performance update. Please find the install packages here: http://www.securespaces.com/secure-spaces-downloads-2/

You can install the flashpack image using the included fastboot tool. There is a flash-all script for Windows, Mac, or Linux included in the zip package, and further instructions on www.securespaces.com

NOTE:

Some Secure Spaces ROM users have reported issues with our OTA updater. If you are having issues, please follow these steps:

Go To Settings -> About Phone -> Secure Spaces Update

From the overflow menu, select "Delete downloads"

Tap the Refresh button to check for new updates.

Tap the 4.2.002 download button.

Close the Settings app and return to your desktop.

When the download has completed you will see a Nofification.

Tap on REBOOT AND INSTALL.

I will update the post shortly with Screen Shots
[Nexus 5X Android Development] tomhtg90:
What vendor to use in this ROM? Thx
[Nexus 5X Android Development] gaikokujinkyofusho:
I have been trying to follow SecureSpaces and it looks quite interesting. I am quite interested in the privacy features which leads me to my first question, I use the xposed app "Xprivacy" which allows for a variety of privacy features, is the xposed framework able to run on SS?

2nd, is it possible to install SS with only the minimum google stuff (ie play) and not the other google apps?
[Nexus 5X Android Development] graphiteonxda:
Hi,

We haven't specifically tested any rooting or privacy enhancing capabilities like Xposed. Though if your bootloader is unlocked, then in theory you should be able to flash a custom recovery (e.g., TWRP), install a rooting update.zip (e.g., superSU), and then install the Xposed framework update.zip. Again we haven't tested this, so we can't really provide any support, but I'd be interested to hear if you have any luck.

As for the Google Apps (GApps), we include a subset of the full package for convenience (e.g., hangouts, chrome, etc.). You can easily disable some or all of the GApps in any Space.

Thanks for your interest,

graphiteonxda
[Nexus 5X Android Development] graphiteonxda:
SecureSpaces 4.3 Release

Hey Guys,

The latest SecureSpaces ROM for Nexus 5 and Nexus 5X is ready for download. Version 4.3 includes some major usability and feature upgrades (see release notes below).

For those of you already running SecureSpaces, you should find the OTA update available now. To download the fastboot images please visit: http://www.securespaces.com/secure-spaces-downloads-2/ You can install the image using the included fastboot tool. There is a flash-all script for Windows, Mac, or Linux included in the zip package, and further instructions on www.securespaces.com

## Release Notes for 4.3.000

### Feature Updates

* UI changes to the Spaces Settings menus

* UI changes to Spaces Sharing

* On device password recovery

* Space transition screens

* Private APN within Spaces

### Improvements

* Improved performance of self-contained Spaces

* Personal Spaces using self-contained policy

* Reduced file sizes

* Various bug fixes

### Known Issues

* Deleting user data from Space does not remove photos

* Sharing music files between Spaces get renamed

* Managed Space names are editable
[Nexus 5X Android Development] vince.lupe:
Graphite, is the latest version for those updated to Nougat or for those on Marshmallow bootloaders? Can't wait to try it out :victory: I'm on Nougat NRD90S.
[Nexus 5X Android Development] graphiteonxda:
This is a Marshmallow release. If you're concerned about compatibility with the Nougat bootloader, you can flash the Marshmallow bootloader from the Google Nexus 6.0.1 Factory Image: https://developers.google.com/android/nexus/images#bullhead
[Nexus 5X Android Development] vince.lupe:
Okay, sounds good - but, is flashing that Marshmallow bootloader mandatory?
[Nexus 5X Android Development] graphiteonxda:
No. Our installation includes the bootloader image. Just run the flashall script.
[Nexus 5X Android Development] vince.lupe:
Okay, thank you very much, Graphite :D
[Nexus 5X Android Development] vince.lupe:
Graphite, haven't seen anyone commenting on here, so I have to ask: production hasn't stopped, has it?
[Nexus 5X Android Development] tornido067:
bro any intentions to update to N ? or to android O maybe ? xD just kidding keep up the good work :p
[Nexus 5X Android Development] vince.lupe:
I actually am going mad to try this out, so I hope that N builds are coming?
[Nexus 5X Android Development] gaikokujinkyofusho:
Does xposed and xposed modules, specifically xprivacy work in SS? (I'd also be curious to know when a N build is coming out :p)
[Nexus 5X Android Development] Cal3b:
Your source code link doesn't work. Where can we see the source code for this ROM?
[Nexus 5X Android Development] vince.lupe:
I believe this thread is dead...
[Nexus 5X Android Development] gaikokujinkyofusho:
I believe you are right. Its a pity as SS seemed like the only real competitor to CopperheadOS in the secure android arena which seems to have about the same amount of support (little to nil).
[Nexus 5X Android Development] vince.lupe:
Yes, and I was really eager to try this on Nougat also :(
[Nexus 5X Android Development] mousse04:
What about battery life as it creates virtual desktop?
[Nexus 5X Android Development] JeffRt:
Not dead.

All,

Secure Spaces is very much alive. We have just posted the 4.3.1 release and will soon be posting the Nougat release. Secure Spaces is currently commercially deployed on over 56M devices, but you can download it here at no cost. http://www.securespaces.com/secure-spaces-downloads-2/

Please let us know your thoughts.

Graphite Software
[Nexus 5X Android Development] JeffRt:
Battery life remains excellent. Secure Spaces is an OS level virtualization solution, it is not a hypervisor (or guest OS) type of solution so it does not demand the same battery overhead. Yes, if you have 3 separate Spaces running at the same time with apps that consume battery power, but that is no different than having all those same apps running at the same time in one Space (your Owner Space).
[Nexus 5X Android Development] graphiteonxda:
Release Notes for 4.3.001

A maintenance release for the Secure Spaces client software is now available.

Please visit http://www.securespaces.com/secure-spaces-downloads-2/ for download links and flashing instructions.

If you are a current Secure Spaces user, then you can install the OTA update from Settings -> About Phone -> System Updates

Release Notes for 4.3.001:

Improvements

- Faster Space creation time

- Enhanced Space downloads

Bug Fixes

- Password recovery issues

- Back stack fixed for "More Spaces" and Settings menus

- Space creation via QR code

Based on AOSP android-6.0.1_r43 Tag

Up to date with May 2016 AOSP security patch level
[Nexus 5X Android Development] vince.lupe:
Jeff, thank you for the update! Still looking forward to the Nougat release, and I can't wait to try it out!
[Nexus 5X Android Development] veryniceworld:
Is Secure Spaces (Graphite Software) Related to Xiaomi

After tried the Copperheados, I find it a bit too restricted. Not all the apps from Play store can sideload and run properly. And, no easy way to install MicroG. The F-droid is nice but I missed a lot of apps from Play store.

Since Secure Spaces included the play store, it seems more practical than the Copperheados. Anybody knows if Graphite Software is a China company? And, is it a subsidiary of Xiaomi?
[Nexus 5X Android Development] vince.lupe:
Dev, how is the 7.1.1 Secure Spaces OS update coming along? Can't wait to try it out
[Nexus 5X Android Development] abforce:
Is source code available publically?

Hi Jeff,

I just recently got familiar with SS, it sounds good. I'm now curious about availability of its source code? Is it commercially closed?

Another technical question! Is SS using Android's Managed Profiles as the base?
[Android Themes] MAnopi:
Hi guys,

What do you think about my own pictures ? For information, doing with paint.net :D
[Android Themes] Heisenberg:
We have a thread for this here:

http://xdaforums.com/showthread.php?t=476483

Please search before creating a thread so you don't create duplicates, thanks. Thread closed.
[Galaxy S6 Edge Q&A, Help & Troubleshooting] Apexseal:
I replaced the battery but problem persists, as soon as I insert the charging cable message pops up. Is there any solution or way around this? I ordered the flex also but have not yet received it.
[Android Q&A, Help & Troubleshooting] bkg.travel:
i have the problem that the ZUK Z1 does not auto-reconnect to my WiFi at home or at work when i get there.

Wifi will immediately connect as soon as i push the power button or home button to turn on the screen.
[AT&T Samsung Galaxy Note5] Sengfeng:
Thanks for being so quick, WF. All the $50 activation bonuses, free charging pads, etc. No longer up for grabs.