FORUMS
Remove All Ads from XDA

[ROM][I9100][OFFICIAL][7.1.2] LineageOS 14.1

422 posts
Thanks Meter: 3,170
 
By rINanDO, Senior Member on 13th February 2017, 02:04 PM
Post Reply Email Thread
27th February 2017, 02:59 PM |#511  
Junior Member
Thanks Meter: 0
 
More
Can someone tell me if the battery life is good in Los comparing to crdroid RR rom
 
 
27th February 2017, 03:39 PM |#512  
Senior Member
Flag Madrid
Thanks Meter: 89
 
More
Quote:
Originally Posted by Pier_89

Is it possibile to select as internal storage an external SD card in LineageOS 14.1 for our device?
Are there issues doing that in this official rom?

You can too use semi adoptable storage
27th February 2017, 03:45 PM |#513  
Senior Member
Thanks Meter: 21
 
More
Quote:
Originally Posted by todonormal

You can too use semi adoptable storage

My idea was to install a new sdcard and setting it as Internal Storage.
Nothing to move by in - to - ext. Only a new external sd card, to increase internal storage of i9100
27th February 2017, 03:59 PM |#514  
Member
Flag Rio de Janeiro
Thanks Meter: 17
 
More
sshd at boot
I take this opportunity to thank the developers for this great ROM and their hard work!

I am trying to set up the native sshd server on my good old i9100. It used to work when I was under CM11.
I followed this guide.

When I start manually the 99sshd script, it works great and I can connect to my phone from my PC.
But the script does not start automatically at boot time.

From what I read, at boot time, the script /etc/init.d/90userinit is executed
Code:
#!/system/bin/sh
# call userinit.sh if present in /data/local

if [ -e /data/local/userinit.sh ];
then
   log -p i -t userinit "Executing /data/local/userinit.sh";
   /system/bin/sh /data/local/userinit.sh;
   setprop cm.userinit.active 1;
fi;
It tries then to execute /data/local/userinit.sh.
I wrote a small script that I copied to /data/local/userinit.sh (note the "/system/bin/touch" lines that are supposed to help for debugging)
Code:
#!/system/bin/sh
# call 99sshd if present in /data/local
/system/bin/touch /data/local/tmp/before;
if [ -e /data/local/99sshd ];
then
   /system/bin/sh /data/local/99sshd;
   /system/bin/touch /data/local/tmp/during;
fi;
/system/bin/touch /data/local/tmp/after;
Just after boot, I checked the /data/local/tmp folder... no sign of "before", "during" or "after"

The /data/local/99sshd script (that works well when launched manually) is a slightly changed copy of /system/bin/start-ssh:
Code:
#!/system/bin/sh

umask 077

# DEBUG=1

DSA_KEY=/data/ssh/ssh_host_dsa_key
DSA_PUB_KEY=/data/ssh/ssh_host_dsa_key.pub
RSA_KEY=/data/ssh/ssh_host_rsa_key
RSA_PUB_KEY=/data/ssh/ssh_host_rsa_key.pub
AUTHORIZED_KEYS=/data/ssh/authorized_keys
DEFAULT_AUTHORIZED_KEYS=/system/etc/security/authorized_keys.default

if [ ! -f $DSA_KEY ]; then
    /system/bin/ssh-keygen -t dsa -f $DSA_KEY -N ""
    chmod 600 /$DSA_KEY
    chmod 644 $DSA_PUB_KEY
fi

if [ ! -f $RSA_KEY ]; then
    /system/bin/ssh-keygen -t rsa -f $RSA_KEY -N ""
    chmod 600 /$RSA_KEY
    chmod 644 $RSA_PUB_KEY
fi

if [[ ! -f $AUTHORIZED_KEYS && -f $DEFAULT_AUTHORIZED_KEYS ]]; then
    cat $DEFAULT_AUTHORIZED_KEYS > $AUTHORIZED_KEYS
fi


if [ "1" == "$DEBUG" ] ; then
    # run sshd in debug mode and capture output to logcat
    /system/bin/logwrapper /system/bin/sshd -f /data/ssh/sshd_config -D -d
else
    # don't daemonize - otherwise we can't stop the sshd service
    /system/bin/sshd -f /data/ssh/sshd_config -D
fi
Any idea?
27th February 2017, 04:00 PM |#515  
Nobby1960's Avatar
Senior Member
Flag Freiburg
Thanks Meter: 358
 
More
Quote:
Originally Posted by kraehetest

@Nobby1960, do you use an emu recovery?

Yes, the latest build (02/24)
27th February 2017, 04:39 PM |#516  
Senior Member
Flag Madrid
Thanks Meter: 89
 
More
Other question: I don't found cafeina in System Ui Tuner of Nougat. It's normal? I don't found how enable system ui tuner in settings (push settings icon...)

Update: Well, i found this solution temporally: https://play.google.com/store/apps/d...ron.caffeinate
27th February 2017, 06:50 PM |#517  
Nobby1960's Avatar
Senior Member
Flag Freiburg
Thanks Meter: 358
 
More
Quote:
Originally Posted by suapoc

That's interesting... was the flag primaryStorageUuid="primary_physical" set again or was something else wrong with your storage.xml?
I really wonder why the update just worked for me while it reverted/ messed up your storage.xml file...

I can't say this at moment, cause there is crDroid installed.
27th February 2017, 08:14 PM |#518  
Senior Member
Thanks Meter: 23
 
More
Hello guys!
I updated to the latest 0226 nightly and things getting better and better!
But there are still some issues, do you also have this behaviour: when I open the file app the message "mtp host has stopped" appears.
When I check for ota updates there are no new updates (cause there is no newer one), but the install button still shows up. I think this shouldn't be there when im on the most recent version!
27th February 2017, 08:22 PM |#519  
Nobby1960's Avatar
Senior Member
Flag Freiburg
Thanks Meter: 358
 
More
Quote:
Originally Posted by wihushae

But there are still some issues, do you also have this behaviour: when I open the file app the message "mtp host has stopped" appears.

You can ignore this, it's nothing serious - cosmetical bug OTA doest't work correct yet in my opinon.
27th February 2017, 08:28 PM |#520  
Senior Member
Thanks Meter: 23
 
More
The last ota update worked flawlessly for me, what problems can you report?
Yes, I know the thing with the install button is a minor issue, but I want to report it to the devs!
27th February 2017, 08:43 PM |#521  
Senior Member
Flag Sydney
Thanks Meter: 387
 
More
Quote:
Originally Posted by BrightCGN

Hello,

I'm new to this rom.
I've installed a fresh lineage-14.1-20170226-nightly-i9100-signed.zip.
Also installed SuperSU v2.79 SR3.

But I got no ROOT access.

Did i make something wrong?

You need to flash the su add-on for arm on the extras page on lineage os downloads
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes