Reply
Thread Tools
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#281
Originally Posted by claustn View Post
I can't even email or upload files with sfdroid
Does the wifi symbol in sfdroid show an exclamation mark?
 

The Following User Says Thank You to mautz For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#282
yes, i saw there was a solution but i can't find it anymore.
My /storage folder seems to be empty.

Last edited by claustn; 2016-11-30 at 12:23.
 

The Following User Says Thank You to claustn For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#283
Originally Posted by claustn View Post
yes, i saw there was a solution but i can't find it anymore.
My /storage folder seems to be empty.
You could use the command 'pkill zygote' in a root terminal in sfdroid, this will restart sfdroid and your connection should be fully working.

Have you tried accesing the /storage folder as root?
 

The Following 2 Users Say Thank You to mautz For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#284
as root in terminal i can see the folders, is there an app with root permission?
 

The Following User Says Thank You to claustn For This Useful Post:
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#285
Originally Posted by claustn View Post
-sfdroid is working, is it possible to exchange files between it and SFOS? without using some kind of cloud or anything that's internet based.
You can access the Android storage within SailfishOS and even sftp in '/data/media/0/'. No need for 'root' privileges. Over sftp I can just drag&drop files within the filemanager (Gnome/Linux).

Originally Posted by abyzthomas View Post
My new clean install on MultiROM displays "Android is starting -- Starting apps" for ever. Tried couple times, but same results.
Originally Posted by BluesLee View Post
Do you guys run sfdfoid on cm12.1 + sfos >=2.0.4? I only get the blue cm logo? How can i fix this, i.e. rerun the very first scripts to configure cm (language settings etc)?
I would try to start sfdoid from the Terminal with 'sfdroid' or 'sfdroid.sh'. Maybe you get some meaningful error messages.


Originally Posted by deprecated View Post
Regarding the GPS issue above:

I've fixed the GPS issues on my end. I'm using an old baseband and I made some edits to /system/etc/gps.conf:
Would that mean, that you got AGPS working with your fix?


Originally Posted by mautz View Post
I checked charging today and it did only charge with 270mA. I compiled a new kernel with the old fast charge option and now i get 1500mA.
I didn't even notice, but as mentioned before I use the LG/Nexus QI charger... Updated the kernel anyway... THX
 

The Following 4 Users Say Thank You to minimec For This Useful Post:
Posts: 387 | Thanked: 707 times | Joined on May 2015 @ Italy
#286
Originally Posted by minimec View Post
You can access the Android storage within SailfishOS and even sftp in '/data/media/0/'. No need for 'root' privileges. Over sftp I can just drag&drop files within the filemanager (Gnome/Linux).
Works! Thank you

[QUOTE=BluesLee;1519511
Do you guys run sfdfoid on cm12.1 + sfos >=2.0.4? I only get the blue cm logo? How can i fix this, i.e. rerun the very first scripts to configure cm (language settings etc)?[/QUOTE]


I've had the same problem, then i switched to 2.0.1.1 and now works fine. Maybe you have first to install the old version and then do an OTA upgrade.
 

The Following User Says Thank You to claustn For This Useful Post:
Posts: 307 | Thanked: 488 times | Joined on Sep 2010 @ USA around Chicago
#287
Originally Posted by minimec View Post
I would try to start sfdoid from the Terminal with 'sfdroid' or 'sfdroid.sh'. Maybe you get some meaningful error messages.
Here is what I get.

Code:
nemo@localhost ~]$ /usr/bin/sfdroid.sh
Frames: 26
Frames: 28
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] }
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
at android.os.Parcel.readException(Parcel.java:1552)
at android.os.Parcel.readException(Parcel.java:1499)
at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:2485)
at com.android.commands.am.Am.runStart(Am.java:766)
at com.android.commands.am.Am.onRun(Am.java:305)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:97)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:249)
Frames: 32
Frames: 30
Frames: 13
Frames: 11
Frames: 5
Frames: 2
Frames: 2
Frames: 2
Frames: 8
Frames: 2
__________________
Apps for iPhone & iPad
Malayalam Keyboard for iPhoneTelugu Keyboard for iPhoneGujarati Keyboard for iPhone
 

The Following 2 Users Say Thank You to abyzthomas For This Useful Post:
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#288
Originally Posted by abyzthomas View Post
Here is what I get.
Not that I would have a solution to your problem, but you indeed do have a 'java.lang.NullPointerException:' when starting 'sfdroid.sh'. My start sequence on 'SailfishOS 2.0.4.14' would look like this...

I guess it's worth posting your start sequence (including SailfishOS version) in the sfdroid thread http://talk.maemo.org/showthread.php...hlight=sfdroid


Code:
,---
| SailfishOS 2.0.4.14 (Fiskarsinjoki) (armv7hl)
'---
[nemo@pris ~]$ sfdroid.sh
Frames: 6
Frames: 21
Frames: 4
Frames: 4
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] }
Warning: Activity not started, its current task has been brought to the front
Frames: 36
Frames: 26
Frames: 4
Frames: 4
Frames: 4
 

The Following 3 Users Say Thank You to minimec For This Useful Post:
Posts: 307 | Thanked: 488 times | Joined on Sep 2010 @ USA around Chicago
#289
Originally Posted by minimec View Post
I guess it's worth posting your start sequence (including SailfishOS version) in the sfdroid thread
Posted to sfdroid thread
__________________
Apps for iPhone & iPad
Malayalam Keyboard for iPhoneTelugu Keyboard for iPhoneGujarati Keyboard for iPhone
 

The Following 2 Users Say Thank You to abyzthomas For This Useful Post:
Posts: 635 | Thanked: 1,535 times | Joined on Feb 2014 @ Germany
#290
Small kernel update...

Kernel v8

Changelog:
Code:
- Reverted fast charge back to first version due to slow charging

- Added msm_mpdecision aka "bricked hotplug" cpu hotplug governor
MSM_mpdecision is a highly customizable hotplug governor:
Code:
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.

startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (70)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)

Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.

nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)

Example:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.

Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value

etc...

The default values are:
NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
Where the position and function of the number equals the result of the above explained formula.

(all times are in ms)
So, for example by setting "nwns_threshold_4" to a high value (e.g. 90) only the first 2 cores of the cpu will be used at averge load/usage. Core 3 and 4 will only come up under very high load.

Don't forget to disable stock mpdecision hotplug governor, when using an alternate hotplug governor!

Kernel can be downloaded here.

Source is available here.

Last edited by mautz; 2016-11-30 at 22:11.
 

The Following 3 Users Say Thank You to mautz For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:17.