The Following 13 Users Say Thank You to nh1402 For This Useful Post: | ||
![]() |
2015-10-27
, 16:04
|
Posts: 288 |
Thanked: 1,103 times |
Joined on Jul 2014
|
#73
|
The Following 2 Users Say Thank You to nh1402 For This Useful Post: | ||
![]() |
2015-10-27
, 16:22
|
Posts: 529 |
Thanked: 988 times |
Joined on Mar 2015
|
#74
|
![]() |
2015-10-27
, 16:34
|
Posts: 288 |
Thanked: 1,103 times |
Joined on Jul 2014
|
#75
|
you guys rock...but i am wondering if it is not possibile to come back to sfos without reboot, what sense does it make? or is it a wip solution? is there a gui or is all by terminal? can you make some video for let ignorants like me understand the results? however really thanks, if you guys need support as donation,i am here
The Following 8 Users Say Thank You to nh1402 For This Useful Post: | ||
![]() |
2015-10-27
, 21:30
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#76
|
![]() |
2015-10-27
, 22:05
|
Posts: 288 |
Thanked: 1,103 times |
Joined on Jul 2014
|
#77
|
Are you using namespaces to isolate CM from Sailfish? They should help you to avoid problems with running the two OSs simultaneously.
The Following User Says Thank You to nh1402 For This Useful Post: | ||
![]() |
2015-10-27
, 23:10
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#78
|
The Following User Says Thank You to wicket For This Useful Post: | ||
![]() |
2015-10-28
, 13:10
|
Posts: 288 |
Thanked: 1,103 times |
Joined on Jul 2014
|
#79
|
The Following User Says Thank You to nh1402 For This Useful Post: | ||
![]() |
2015-10-28
, 15:06
|
|
Posts: 634 |
Thanked: 3,266 times |
Joined on May 2010
@ Colombia
|
#80
|
I'll look into it, but is this for aesthetic reasons visually splitting CM and Sailfish in top, or is it also for technical reasons, making it more stable.
The Following User Says Thank You to wicket For This Useful Post: | ||
![]() |
Tags |
apkenv |
Thread Tools | |
|
This was tested on Alpha 14 on the Nexus 5 but it should still work on other versions and other phones.
1. Modify init.rc to start android services at boot time. (only needed to be done once) / If you're copying my modifed init.rc file then it goes in the root directory.
2. Restart
3. In terminal navigate to "/dev/input/"
4. run command "devel-su find . -name 'event*' -exec chown :input {} +" (this resets every time you restart the phone)
5. In the terminal navigate to "/system/bin/"
6. run command "kill -stop [pid of lipstick]; ./surfaceflinger &"
7. It should now boot into CM from within Sailfish
CAVEATS:
EDIT2: Found out how to start surfaceflinger properly setprop ctl.start surfaceflinger(but for some reason doesn't always work)
EDIT 3: Made it clear for those not knowing init.rc goes in the root directory.
Last edited by nh1402; 2015-11-03 at 20:29. Reason: updated progress to keep this tutorial thing up to date