Deactivate Encryption and Pincode

While this is not a problem, just a curiosity, I had the chance to test a new xa2, freshly flashed with 3.4, side by side with my identical daily driver with two years of service and many apps. Well, to my surprise my daily driver was faster, not a big deal, like half to one second less to open an app, but it felt snappier. I could only think it was due to encryption…

The partition apps are installed on is not encrypted. So unless the apps you are comparing read large amounts of data from the home partition encryption should not make a noticeable difference.

2 Likes

Yes this is it. I need my Phone for business and there is no time for doing this. :wink:

Well, my guess was not an educated one :slight_smile: Now, this is a bit off topic, but what could be the reason for it then? I tested only on stock apps…

I fully understand you, I hate these security things myself. And how people can’t understand - they are apparently so afraid of everything and rather want to lock there devices into oblivion and unusability and removal of standard easy features.

I can’t even find the user files in the managers for moving them to the SD Card - Like what it this garbage.


no time for doing it at start up either, these Procrappers love pushing bullshit we don’t want or need. I’m sick and tired of always feeling like hack the planet. And it is everywhere in our time.

now that this has been necro’d, this is what i do to prevent encrypt-home, and to use nemo instead of defaultuser:

it uses guestfish and bbe to edit the image before flashing it, and it works on official SFOS images (so far up to 4.5) without any negative side effects that i have experienced. it (probably) only works on linux, but what it does is straightforward enough.

2 Likes

What files are you looking for?

Do I just put it in the SailFish Root folder?

And what is nemo, is that the admin account?

So I should be able to see my files in MiXPlorer and Total Commander after this, correct?

Thanks very much - just sick and tired of the endless workarounds we do in our time to get things as we want it without all sorts of rubbish and excuses from ProCrappers about this and that not listening to the users but in replacement moving with the Devil.
They just steal features from us everywhere, more and more and make it near impossible to get them back. Or make it utter complicated so you need an education or help to do something. It is utter rubbish.

Was looking for my user data - I found it via the File Browser from the Jolla store - but could not find any of the data by searching in MixPlorer or Total Commander.
It seems the data was located in the Run folder, apparently - yet it seems to be incrypted in the 2 other apps as far as I can gather. I hate Linux really… But that is all there is sadly - at least Google is now bypassed on this phone. I’m learning.

no. its a perl script that you can run that will patch the sailfish official image, before you flash it the phone. it requires guestfish and bbe to be installed. i have used it to patch every release since 2022 for XZ2c and 10 III.

nemo is the default username for mer, which is the basis for sailfish. nemo was also the default user on SFOS for years, until they changed it

i dunno what those are or why you cant see your files in them. i understand that you think that encryption of /home may be the problem. this script DOES prevent encryption of /home, and by extension allows you to skip setting a pin for unlock. so: maybe?

1 Like

? SFOS means… ahh, SailFishOS Okay… get it. Brain needed to work.

So what do I exactly do here… Do I need to run the scripts and sort out the files img files - I can I just put it in the flash folder and run as usual - some NEWB help is needed here.

All these new bullshit features of forums, and they still can’t figure out to automatically cling messages together. Total rubbish.

Awesome, okay, I need to reread what you said…

What is this: sfos_lvm_raw.img ??? I don’t seem to see any file in the folder of that name? I guess it is the generated outcome file.

libguestfs-tools ??? First one… needed for install?

Always needing to install something to do something in Gnulix - utter rubbish.

Oh here comes a multitude of other packages needding to be installed to install this 222 MB…

Okay installed: guest disk image management system - tools

The libguestfs library allows accessing and modifying guest disk
images.

This package contains the guestfish interactive shell and various
virtualization tools, including virt-cat, virt-df, virt-edit,
virt-filesystems, virt-inspector, virt-ls, virt-make-fs, virt-rescue,
virt-resize, virt-tar, and virt-win-reg.

Next one I guess…

sed-like editor for binary files

Editor like sed, but for binary files. bbe performs basic byte
operations on blocks of input stream. bbe is a command line tool
developed for Unix systems.

Okay done… So… I need to run the file I guess…

How to run a perl script… BRB perl script.pl
¤#%¤#%"!#!"%#%&%/(

Argh… okay… so far so good. Keep it steady… I’m not a Gnulix Nerd for sure. Oh my Windows 2000, my paradise of computing heavens.

darkijah@Crapbar:~/downloads/SailFish/try$ perl flash-image-edit.pl

editing flash.sh to fix supported device product codes

no devices need modifying

creating raw img from sparse img

simg2img sailfish.img001 sfos_lvm_raw.img
Can’t exec “simg2img”: No such file or directory at flash-image-edit.pl line 249.
ERROR: “simg2img sailfish.img001 sfos_lvm_raw.img” failed


Yea as far as I can see the standard file manager does have access but neither Total Commander or MiXplorer can see anything then encrypted files as far as I can gather.

I have no idea what mer is…

Okay I have installed all the things I think I need, but how to I make it patch it… I put it where the file is, in the installation folder but still get some issues clearly.

Had to install simg2img as well…

creating sparse img from raw img

mv sailfish.img001 sailfish.img001.bak.1697316095000
img2simg sfos_lvm_raw.img sailfish.img001
rm sfos_lvm_raw.img

updating md5.list

sed -i s/^[0-9a-f]\sflash.sh$/a8bd705c5864a85a491074edc53ed202 flash.sh/ md5.lst
sed -i s/^[0-9a-f]\ssailfish.img001$/73f7f8ad44730c67750db1fec467e349 sailfish.img001/ md5.lst

done

So… what now…

Just need flash the device???.. Seems that might be the case. Well can’t really ruin much anyway, so lets try.

Jup, it is - you still need help on this? I got it working on the Xperia 10 3. Although home user is named nemo, but I think that can be sorted out.

1 Like

oh yea, i forgot about sparse img tools, glad you found it. looks like its working for you, hopefully it doesnt brick your phone :wink:

LOL. to rephrase this: almost every problem you can encounter has a ready-made, open-source solution in GNU/Linux that you can install from a free library by a single copy/paste. dependency management CAN be a nightmare, but its generally much LESS of a nightmare on GNU/Linux platforms like debian and fedora.

haha, i truly cannot tell if youre joking. please do not tell me, it would only spoil the mystery.

like i said, sailfish is largely based on mer. mer is an open-source mobile-friendly middleware platform that evolved out of MeeGo (Nokia N9), which in turn evolved out of Maemo (Nokia N900) and Moblin, etc etc.
sailfish = mer + proprietaryGUI

btw, you can change nemo to anything you like in that script. with this script, the username can by anything, EXCEPT it cannot be more than 11 characters, because the script does not touch the filesystem metadata. (another method for editing the images could allow this)
also, and for the same reason, make sure that you keep any ‘extra’ whitespace for usernames less than 11 characters in lines #54 and #61 so that the old and new versions of that file have the same number of bytes.

2 Likes

Yea glad I found it myself… I’m just a Newb. so… yea… kinda hard to figure things out. But it sorted out after some time and trial and such. Well, if you have not bricked any of your phones, I don’t see a big danger to it either.

As an old Windows 2000 user my old faithful lover - I don’t really like how all the world went astray from sanity. It was so user friendly, rock stable and without adds and spyware and other graphical nonsense. I still remember my terrifying movement and conclusion having bought new Hardware and not being able to get Windows 2000 to work on it. I had to leave my old faithful friend in the dirt, I was devastated. That is where I feel absolutely 100% at home where it does what I expect.

So changing the nemo username to something else won’t do a thing of change beside the changing of the name? As long as I keep it to 11 keystrokes long?

I’ll take a look at the code, how many places do you need to change the user name in the code, only twice in the code at those lines?

Thanks for script - mobile seems to run without issues, at least just standard issues of SailFish as far as I can see. AND WITHOUT needing to put any password in it anymore - so nice!!!

Got the weather app issue sorted out - I made a thread on that for getting things to work if you have any issues on those parts.

And here we go again with another book burn. People don’t have anything better to do then commit to working for the Devil.

Okay I see 11 places it seems in the code with the word nemo that might need to be replaced. Although have not really sorted out what username yet.
admin maybe. Administrator is to long.

or user or the standard defaultuser - but… can you have more folder users in SailFish? Overall, I don’t think many people have one mobile with multiple users, but of cause it could be a possibility.

Why would you, yourself wanna choose the username nemo?

yet another book burned on the Papists stake.

  1. it had been nemo for SIX+ YEARS when they changed it to the incredibly cool and stylish defaultuser
  2. nemo is FOUR characters long, and very easy to type
  3. nemo is unique, pronounceable and memorable
  4. 20k leagues under the sea! mer! nemo! sailfish! harbour! theming is cool and useful
  5. i had dozens of scripts with nemo hardcoded, although i have since softcoded them out of spite to show this was the least important reason

defaultuser was such a TERRIBLE rename. its been years, and im still ready to fight about it.

5 Likes

I wonder why the User them self can’t just decide the name. If it is not that important overall for things to function as long as it is not hard coded to a specific account I guess you call it.
I was thinking why not have a folder with Darkijah for myself. Although I still have not looked further into your script if it is possible. I might break something which is not so good. Maybe a Script where the user can easily insert his own name for patching it while getting rid of the encryption and thereby no password needed.

Dunno.

I tried to sort out the patch with the name darkijah - removing nemo all the places in the patch and replacing it with darkijah…

Will be interesting to see if it works.

Seems to work, although the backup made by SailFish did not seem to save any apps or settings.
But I do have home/darkijah now as admin account.

How easy is it just to rename the admin folder to the name you want after having installed the system without encryption?