Reply to topic

Plasma works on Nexus 5, not on Nexus 5X

User avatar MKGirlism
Registered Member
Posts
1
Karma
0
OS
Hi there.

As a test, I've installed Plasma Mobile on my old Nexus 5 first.
I really liked what I saw, so I installed it on my Nexus 5X afterwards.
Unlike Nexus 5, Plasma Mobile does not boot on my Nexus 5X at all, it's stuck on the "Google" logo forever now.

I've followed the steps here in both cases:
https://plasma-mobile.org/nexus-5/

What should I do now?

~Yami

(Also, sorry for any mistakes, I'm Japanese.)
silviof
Registered Member
Posts
5
Karma
0
OS
I have the same problem!

First installation. Unlocking was fine. Following last lines on the console:

Code: Select all
[...]
+ adb shell cat /cache/recovery/command
--update_package=/sdcard/update.zip   
+ adb shell ls /sdcard                 
TWRP        update.zip                 
+ adb reboot recovery                 
+ sleep 2                             
+ adb wait-for-device                 
silviof
Registered Member
Posts
5
Karma
0
OS
I have talked to *bshah*

silvio: Have you some debugging tips to get a running plasma on Nexus 5X?
bshah: anyway, can you adb shell into device when google logo is there?
silvio: no, not possible
bshah: okay, I suggest to flash the newest AOSP 6.0.1 image first and then try flashing.. I believe that something in flash process went wrong
silvio: okay I will try this.
bshah: I've no way of finding what without having logs of first failed flash sadly
silviof
Registered Member
Posts
5
Karma
0
OS
I have managed to bring plasma onto the nexus5x.

1. start flash-plasma-phone
2. CTRL+C if the position reached where the flash process is in a "wait loop"
3. sudo adb reboot bootloader
4. start sideload on nexus 5x
5. sudo adb sideload cache/cache/bullhead-20170209-173909.zip
6. execute all lines in the plasmafy function of flash-plasma-phone. replace "$CACHEDIR" with cache and $1 with bullhead
coulter
Registered Member
Posts
5
Karma
0
silviof wrote:I have managed to bring plasma onto the nexus5x.

1. start flash-plasma-phone
2. CTRL+C if the position reached where the flash process is in a "wait loop"
3. sudo adb reboot bootloader
4. start sideload on nexus 5x
5. sudo adb sideload cache/cache/bullhead-20170209-173909.zip
6. execute all lines in the plasmafy function of flash-plasma-phone. replace "$CACHEDIR" with cache and $1 with bullhead


Hey, I have the same problem as OP. I managed steps 1-5 successfully, but at step 6 I started encountering problems.

The first non-echo line under plasmafy is "adb push $CACHEDIR/lxc-android.tar.gz /data/". So I ran that with sudo and replacing $CACHEDIR with cache and got "failed to copy 'cache/lxc-android.tar.gz' to '/data/lxc-android.tar.gz': Permission denied" as an error message. I tried it again from root, got the same message, and figured out that the permissions were being denied from the phone's filesystem, not the PC's. So I went into adb shell, ran an ls -l, and saw that everything is owned by root and that the default user doesn't have write permissions in anything but /tmp. Trying su and sudo in an attempt to change the permissions on /data told me that there is no such file as su or sudo within /system/bin/sh.

Was I supposed to root the stock android image on the 5x before installing? The instructions page only said to unlock the bootloader, and I figured there was no point to rooting the stock image since I bought the phone just for plasma and intended to replace the stock image with it as soon as possible. Is there anything I can do to either get into root somehow or push the files into the appropriate directories without it?
silviof
Registered Member
Posts
5
Karma
0
OS
The first non-echo line under plasmafy is "adb push $CACHEDIR/lxc-android.tar.gz /data/". So I ran that with sudo and replacing $CACHEDIR with cache and got "failed to copy 'cache/lxc-android.tar.gz' to '/data/lxc-android.tar.gz': Permission denied" as an error message. I tried it again from root, got the same message, and figured out that the permissions were being denied from the phone's filesystem, not the PC's. So I went into adb shell, ran an ls -l, and saw that everything is owned by root and that the default user doesn't have write permissions in anything but /tmp. Trying su and sudo in an attempt to change the permissions on /data told me that there is no such file as su or sudo within /system/bin/sh.


Hmm, I think I have run it as a root adb. Try "adb root" before the copy command.
coulter
Registered Member
Posts
5
Karma
0
silviof wrote:
Hmm, I think I have run it as a root adb. Try "adb root" before the copy command.

Well that did make the push commands complete successfully, but now that it's done it's still not booting into plasma and adb isn't recognizing the device at all.

I guess there are two potential points of failure here:
1. I did hit "mount /system" before using the push commands simply because they wouldn't work if I didn't. I'm not at all experienced in android debugging and I don't know if that was bad now that something has gone wrong.
2. During the sideload, I got an error message that read "error: closed". I didn't reckon it was an actual error at the time, but again I'm not particularly experienced in android debugging.
coulter
Registered Member
Posts
5
Karma
0
Okay disregard that it turns out I just forgot to enter "Apply update from ADB", and adb is recognizing the device again. Today's attempt had both the sideload and the pushes complete successfully. The only problem is that after successfully completing the instructions and doublechecking to make sure the files were in the phone's filesystem, I rebooted the device hoping to see it load into Plasma. It didn't.

Poking around in adb shell I can see that rebooting seems to have wiped away everything I did, and none of I files I pushed over earlier are still there. Is there some step I missed that would have made the files persistent?
AMunshi
Registered Member
Posts
10
Karma
0
+1 I am at the same stage. There is a Google logo and the actual plasma desktop is not loaded. I tried the plasmafy commands and realized that gunzip is missing from the install so had to manually gunzip the files and then do an adp push. All plasmafy commands are executed successfully however during bootup of the phone its just waiting on Google screen.

Where should I look to troubleshoot what happens at this screen and what is the phone waiting on? Following are running processes on the phone.

root@bullhead:/ # ps
USER PID PPID VSIZE RSS WCHAN PC NAME
root 1 0 4524 1212 SyS_epoll_ 00004ab054 S /init
root 2 0 0 0 kthreadd 0000000000 S kthreadd
root 3 2 0 0 smpboot_th 0000000000 R ksoftirqd/0
root 4 2 0 0 worker_thr 0000000000 S kworker/0:0
root 5 2 0 0 worker_thr 0000000000 S kworker/0:0H
root 6 2 0 0 msm_mpm_wo 0000000000 D kworker/u12:0
root 7 2 0 0 smpboot_th 0000000000 S migration/0
root 8 2 0 0 rcu_gp_kth 0000000000 S rcu_preempt
root 9 2 0 0 rcu_gp_kth 0000000000 S rcu_bh
root 10 2 0 0 rcu_gp_kth 0000000000 S rcu_sched
root 11 2 0 0 smpboot_th 0000000000 S migration/1
root 12 2 0 0 smpboot_th 0000000000 S ksoftirqd/1
root 13 2 0 0 worker_thr 0000000000 S kworker/1:0
root 14 2 0 0 worker_thr 0000000000 S kworker/1:0H
root 15 2 0 0 smpboot_th 0000000000 S migration/2
root 16 2 0 0 smpboot_th 0000000000 S ksoftirqd/2
root 17 2 0 0 worker_thr 0000000000 S kworker/2:0
root 18 2 0 0 worker_thr 0000000000 S kworker/2:0H
root 19 2 0 0 smpboot_th 0000000000 S migration/3
root 20 2 0 0 smpboot_th 0000000000 S ksoftirqd/3
root 21 2 0 0 worker_thr 0000000000 S kworker/3:0
root 22 2 0 0 worker_thr 0000000000 S kworker/3:0H
root 23 2 0 0 smpboot_th 0000000000 S migration/4
root 24 2 0 0 smpboot_th 0000000000 S ksoftirqd/4
root 25 2 0 0 worker_thr 0000000000 S kworker/4:0
root 26 2 0 0 worker_thr 0000000000 S kworker/4:0H
root 27 2 0 0 smpboot_th 0000000000 S migration/5
root 28 2 0 0 smpboot_th 0000000000 S ksoftirqd/5
root 29 2 0 0 worker_thr 0000000000 S kworker/5:0
root 30 2 0 0 worker_thr 0000000000 S kworker/5:0H
root 31 2 0 0 rescuer_th 0000000000 S khelper
root 32 2 0 0 rescuer_th 0000000000 S netns
root 33 2 0 0 rescuer_th 0000000000 S perf
root 34 2 0 0 worker_thr 0000000000 S kworker/1:1
root 35 2 0 0 worker_thr 0000000000 S kworker/0:1
root 36 2 0 0 worker_thr 0000000000 S kworker/2:1
root 37 2 0 0 worker_thr 0000000000 S kworker/3:1
root 38 2 0 0 worker_thr 0000000000 S kworker/4:1
root 39 2 0 0 worker_thr 0000000000 S kworker/5:1
root 40 2 0 0 worker_thr 0000000000 S kworker/0:1H
root 41 2 0 0 rescuer_th 0000000000 S smd_channel_clo
root 42 2 0 0 rescuer_th 0000000000 S smsm_cb_wq
root 43 2 0 0 worker_thr 0000000000 S kworker/u12:1
root 44 2 0 0 irq_thread 0000000000 S irq/503-earjack
root 45 2 0 0 rescuer_th 0000000000 S deferwq
root 46 2 0 0 msm_rpm_sm 0000000000 D kworker/u13:0
root 47 2 0 0 rescuer_th 0000000000 S rpm-smd
root 48 2 0 0 worker_thr 0000000000 S kworker/u13:1
root 49 2 0 0 irq_thread 0000000000 S irq/48-cpr
root 50 2 0 0 irq_thread 0000000000 S irq/51-cpr
root 51 2 0 0 rescuer_th 0000000000 S mpm
root 52 2 0 0 worker_thr 0000000000 S kworker/u12:2
root 53 2 0 0 rescuer_th 0000000000 S writeback
root 54 2 0 0 rescuer_th 0000000000 S bioset
root 55 2 0 0 rescuer_th 0000000000 S crypto
root 56 2 0 0 rescuer_th 0000000000 S kblockd
root 57 2 0 0 hub_thread 0000000000 S khubd
root 58 2 0 0 rescuer_th 0000000000 S edac-poller
root 59 2 0 0 ion_heap_d 0000000000 S system
root 60 2 0 0 rescuer_th 0000000000 S ipa_power_mgmt
root 61 2 0 0 rescuer_th 0000000000 S sps_ipa_power_m
root 62 2 0 0 rescuer_th 0000000000 S ipawq14
root 63 2 0 0 rescuer_th 0000000000 S iparepwq14
root 64 2 0 0 rescuer_th 0000000000 S ipawq43
root 65 2 0 0 rescuer_th 0000000000 S iparepwq43
root 66 2 0 0 rescuer_th 0000000000 S ipawq13
root 67 2 0 0 rescuer_th 0000000000 S iparepwq13
root 68 2 0 0 rescuer_th 0000000000 S ipa_power_mgmt
root 69 2 0 0 rescuer_th 0000000000 S ipa_rm_wq
root 70 2 0 0 rescuer_th 0000000000 S ipa_interrupt_w
root 71 2 0 0 irq_thread 0000000000 S irq/261-msm_iom
root 72 2 0 0 irq_thread 0000000000 S irq/263-msm_iom
root 73 2 0 0 irq_thread 0000000000 S irq/261-msm_iom
root 74 2 0 0 irq_thread 0000000000 S irq/263-msm_iom
root 75 2 0 0 irq_thread 0000000000 S irq/261-msm_iom
root 76 2 0 0 irq_thread 0000000000 S irq/263-msm_iom
root 77 2 0 0 irq_thread 0000000000 S irq/261-msm_iom
root 78 2 0 0 irq_thread 0000000000 S irq/263-msm_iom
root 79 2 0 0 irq_thread 0000000000 S irq/261-msm_iom
root 80 2 0 0 irq_thread 0000000000 S irq/263-msm_iom
root 81 2 0 0 irq_thread 0000000000 S irq/261-msm_iom
root 82 2 0 0 irq_thread 0000000000 S irq/263-msm_iom
root 83 2 0 0 irq_thread 0000000000 S irq/102-msm_iom
root 84 2 0 0 irq_thread 0000000000 S irq/102-msm_iom
root 85 2 0 0 irq_thread 0000000000 S irq/102-msm_iom
root 86 2 0 0 irq_thread 0000000000 S irq/74-msm_iomm
root 87 2 0 0 irq_thread 0000000000 S irq/75-msm_iomm
root 88 2 0 0 irq_thread 0000000000 S irq/75-msm_iomm
root 89 2 0 0 irq_thread 0000000000 S irq/75-msm_iomm
root 90 2 0 0 irq_thread 0000000000 S irq/75-msm_iomm
root 91 2 0 0 irq_thread 0000000000 S irq/273-msm_iom
root 92 2 0 0 irq_thread 0000000000 S irq/273-msm_iom
root 93 2 0 0 irq_thread 0000000000 S irq/272-msm_iom
root 94 2 0 0 irq_thread 0000000000 S irq/97-msm_iomm
root 95 2 0 0 irq_thread 0000000000 S irq/97-msm_iomm
root 96 2 0 0 irq_thread 0000000000 S irq/97-msm_iomm
root 97 2 0 0 irq_thread 0000000000 S irq/298-msm_iom
root 98 2 0 0 irq_thread 0000000000 S irq/298-msm_iom
root 99 2 0 0 irq_thread 0000000000 S irq/298-msm_iom
root 100 2 0 0 irq_thread 0000000000 S irq/79-msm_iomm
root 101 2 0 0 irq_thread 0000000000 S irq/78-msm_iomm
root 102 2 0 0 irq_thread 0000000000 S irq/78-msm_iomm
root 103 2 0 0 rescuer_th 0000000000 S devfreq_wq
root 104 2 0 0 rescuer_th 0000000000 S cfg80211
root 105 2 0 0 irq_thread 0000000000 S irq/15-bcl_vbat
root 106 2 0 0 irq_thread 0000000000 S irq/460-bcl_iba
root 129 2 0 0 kswapd 0000000000 S kswapd0
root 130 2 0 0 fsnotify_m 0000000000 S fsnotify_mark
root 150 2 0 0 rescuer_th 0000000000 S rot_commit_work
root 151 2 0 0 dsi_event_ 0000000000 D mdss_dsi_event
root 152 2 0 0 rescuer_th 0000000000 S apr_driver
root 153 2 0 0 rescuer_th 0000000000 S pil_vote_wq
root 154 2 0 0 rescuer_th 0000000000 S k_hsuart
root 155 2 0 0 kthread_wo 0000000000 S msm_serial_hs_0
root 156 2 0 0 kthread_wo 0000000000 S msm_serial_hs_0
root 157 2 0 0 add_hwgene 0000000000 S hwrng
root 158 2 0 0 rescuer_th 0000000000 S diag_real_time_
root 159 2 0 0 rescuer_th 0000000000 S diag_modem_data
root 160 2 0 0 rescuer_th 0000000000 S diag_lpass_data
root 161 2 0 0 rescuer_th 0000000000 S diag_wcnss_data
root 162 2 0 0 rescuer_th 0000000000 S diag_sensors_da
root 163 2 0 0 rescuer_th 0000000000 S diag_wq
root 164 2 0 0 rescuer_th 0000000000 S DIAG_USB_diag
root 165 2 0 0 rescuer_th 0000000000 S diag_cntl_wq
root 166 2 0 0 rescuer_th 0000000000 S diag_dci_wq
root 167 2 0 0 rescuer_th 0000000000 S kgsl-3d0
root 168 2 0 0 rescuer_th 0000000000 S kgsl-events
root 169 2 0 0 rescuer_th 0000000000 S governor_msm_ad
root 170 2 0 0 rescuer_th 0000000000 S kgsl_devfreq_wq
root 191 2 0 0 kthread_wo 0000000000 S spi1
root 192 2 0 0 kthread_wo 0000000000 S spi7
root 193 2 0 0 rescuer_th 0000000000 S usbnet
root 194 2 0 0 rescuer_th 0000000000 S sharedmem_qmi_w
root 195 2 0 0 rescuer_th 0000000000 S qmi_hndl0000000
root 196 2 0 0 rescuer_th 0000000000 S msm_ipc_router
root 197 2 0 0 irq_thread 0000000000 S irq/212-msm_dwc
root 198 2 0 0 worker_thr 0000000000 S kworker/4:2
root 199 2 0 0 rescuer_th 0000000000 S k_gserial
root 200 2 0 0 rescuer_th 0000000000 S uether
root 201 2 0 0 rescuer_th 0000000000 S rmi_det_workque
root 202 2 0 0 irq_thread 0000000000 S irq/504-synapti
root 203 2 0 0 irq_thread 0000000000 S irq/604-spi1.2
root 206 2 0 0 worker_thr 0000000000 S kworker/u13:2
root 207 2 0 0 rescuer_th 0000000000 S msm_cpp_workque
root 208 2 0 0 irq_thread 0000000000 S irq/495-batt-mi
root 209 2 0 0 irq_thread 0000000000 S irq/491-vbatt-l
root 210 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 211 2 0 0 worker_thr 0000000000 S kworker/3:2
root 212 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 213 2 0 0 irq_thread 0000000000 S irq/464-chg-err
root 214 2 0 0 irq_thread 0000000000 S irq/9-chg-taper
root 215 2 0 0 irq_thread 0000000000 S irq/10-chg-tcc-
root 216 2 0 0 irq_thread 0000000000 S irq/8-chg-rechg
root 217 2 0 0 irq_thread 0000000000 S irq/468-chg-p2f
root 218 2 0 0 irq_thread 0000000000 S irq/469-batt-ho
root 219 2 0 0 irq_thread 0000000000 S irq/11-batt-war
root 220 2 0 0 irq_thread 0000000000 S irq/13-batt-coo
root 221 2 0 0 irq_thread 0000000000 S irq/12-batt-col
root 222 2 0 0 irq_thread 0000000000 S irq/7-batt-miss
root 223 2 0 0 irq_thread 0000000000 S irq/470-batt-lo
root 224 2 0 0 irq_thread 0000000000 S irq/1-usbin-uv
root 225 2 0 0 irq_thread 0000000000 S irq/2-usbin-ov
root 226 2 0 0 irq_thread 0000000000 S irq/3-usbin-src
root 227 2 0 0 irq_thread 0000000000 S irq/4-otg-fail
root 228 2 0 0 irq_thread 0000000000 S irq/5-otg-oc
root 229 2 0 0 irq_thread 0000000000 S irq/6-aicl-done
root 230 2 0 0 irq_thread 0000000000 S irq/473-dcin-uv
root 231 2 0 0 irq_thread 0000000000 S irq/475-power-o
root 232 2 0 0 irq_thread 0000000000 S irq/476-temp-sh
root 233 2 0 0 irq_thread 0000000000 S irq/477-safety-
root 234 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 235 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 236 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 237 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 238 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 239 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 240 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 241 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 242 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 243 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 244 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 245 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 246 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 247 2 0 0 irq_thread 0000000000 S irq/216-tsens_i
root 248 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 249 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 250 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 251 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 252 2 0 0 rescuer_th 0000000000 S dm_bufio_cache
root 253 2 0 0 cpufreq_in 0000000000 S cfinteractive
root 254 2 0 0 worker_thr 0000000000 S kworker/3:3
root 255 2 0 0 irq_thread 0000000000 S irq/170-f982490
root 256 2 0 0 irq_thread 0000000000 S irq/499-qpnp_wl
root 257 2 0 0 rescuer_th 0000000000 S binder
root 258 2 0 0 rescuer_th 0000000000 S usb_bam_wq
root 259 2 0 0 irq_thread 0000000000 S irq/500-qpnp_sc
root 260 2 0 0 irq_thread 0000000000 S irq/224-spdm_bw
root 261 2 0 0 worker_thr 0000000000 S kworker/u12:3
root 262 2 0 0 irq_thread 0000000000 S irq/608-adsp
root 263 2 0 0 irq_thread 0000000000 S irq/640-modem
root 264 2 0 0 rescuer_th 0000000000 S msm_vidc_worker
root 265 2 0 0 rescuer_th 0000000000 S pm_workerq_venu
root 266 2 0 0 irq_thread 0000000000 S irq/360-ARM64 p
root 267 2 0 0 irq_thread 0000000000 S irq/361-ARM64 s
root 268 2 0 0 irq_thread 0000000000 S irq/362-ARM64 p
root 269 2 0 0 irq_thread 0000000000 S irq/363-ARM64 s
root 270 2 0 0 irq_thread 0000000000 S irq/54-CCI erro
root 275 2 0 0 rescuer_th 0000000000 S rq_stats
root 276 2 0 0 mmc_queue_ 0000000000 S mmcqd/0
root 277 2 0 0 mmc_queue_ 0000000000 S mmcqd/0rpmb
root 278 2 0 0 events_not 0000000000 S msm_perf:events
root 279 2 0 0 worker_thr 0000000000 S kworker/u12:4
root 280 2 0 0 rescuer_th 0000000000 S sb-1
root 281 2 0 0 ngd_slim_r 0000000000 D ngd_rx_thread1
root 282 2 0 0 ngd_notify 0000000000 D ngd_notify_sl1
root 283 2 0 0 rescuer_th 0000000000 S k_bam_data
root 284 2 0 0 rescuer_th 0000000000 S f_mtp
root 285 2 0 0 sleep_thre 0000000000 S file-storage
root 286 2 0 0 do_samplin 0000000000 D msm-core:sampli
root 287 2 0 0 do_hotplug 0000000000 S msm_thermal:hot
root 288 2 0 0 do_freq_mi 0000000000 S msm_thermal:fre
root 289 2 0 0 do_thermal 0000000000 S msm_thermal:the
root 290 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 291 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 292 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 293 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 294 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 295 2 0 0 sensor_sys 0000000000 S therm_core:noti
root 296 2 0 0 boost_mig_ 0000000000 S boost_sync/0
root 297 2 0 0 boost_mig_ 0000000000 S boost_sync/1
root 298 2 0 0 boost_mig_ 0000000000 S boost_sync/2
root 299 2 0 0 boost_mig_ 0000000000 S boost_sync/3
root 300 2 0 0 boost_mig_ 0000000000 S boost_sync/4
root 301 2 0 0 boost_mig_ 0000000000 S boost_sync/5
root 302 2 0 0 rescuer_th 0000000000 S ipa_A7_svc
root 303 2 0 0 rescuer_th 0000000000 S qmi_hndl0000000
root 304 2 0 0 rescuer_th 0000000000 S clnt_req
root 305 2 0 0 worker_thr 0000000000 S kworker/u12:5
root 306 2 0 0 rescuer_th 0000000000 S clnt_resp
root 307 2 0 0 rescuer_th 0000000000 S clnt_req
root 308 2 0 0 rescuer_th 0000000000 S fwu_workqueue
root 309 1 4264 904 poll_sched 000049b634 S /sbin/ueventd
root 310 2 0 0 worker_thr 0000000000 S kworker/0:2
root 312 2 0 0 rescuer_th 0000000000 S kdmflush
root 313 2 0 0 rescuer_th 0000000000 S bioset
root 314 2 0 0 rescuer_th 0000000000 S kverityd
root 315 2 0 0 rescuer_th 0000000000 S bioset
root 316 2 0 0 worker_thr 0000000000 S kworker/u13:3
root 317 2 0 0 worker_thr 0000000000 S kworker/u13:4
root 318 2 0 0 kjournald2 0000000000 S jbd2/dm-0-8
root 319 2 0 0 rescuer_th 0000000000 S ext4-rsv-conver
root 323 2 0 0 worker_thr 0000000000 S kworker/u13:5
root 324 2 0 0 kjournald2 0000000000 S jbd2/mmcblk0p45
root 325 2 0 0 rescuer_th 0000000000 S ext4-rsv-conver
root 329 2 0 0 kjournald2 0000000000 S jbd2/mmcblk0p40
root 330 2 0 0 rescuer_th 0000000000 S ext4-rsv-conver
root 331 2 0 0 kjournald2 0000000000 S jbd2/mmcblk0p24
root 332 2 0 0 rescuer_th 0000000000 S ext4-rsv-conver
logd 334 1 13940 3120 sigsuspend 7f8c46137c S /system/bin/logd
root 335 1 14496 2680 hrtimer_na 7f93fe2ba4 S /system/bin/vold
root 346 2 0 0 worker_thr 0000000000 S kworker/3:4
root 354 1 3296 628 SyS_epoll_ 00f6edccb8 S /data/lxc/lxc/bin/lxc-start
root 358 354 5476 2148 poll_sched 00f7279318 S /sbin/init
root 397 358 4580 1300 poll_sched 00f751b318 S /sbin/cgmanager
root 405 2 0 0 worker_thr 0000000000 S kworker/1:1H
root 516 358 4080 360 poll_sched 00f736f318 S upstart-local-bridge
root 614 358 4116 384 poll_sched 00f7475318 S upstart-socket-bridge
root 965 1 4264 468 SyS_epoll_ 0000447380 S /sbin/healthd
root 969 1 6408 1244 SyS_epoll_ 7f7a9021b4 S /system/bin/lmkd
system 970 1 5856 1320 binder_thr 7fb36972a4 S /system/bin/servicemanager
root 982 2 0 0 worker_thr 0000000000 S kworker/4:1H
root 983 2 0 0 worker_thr 0000000000 S kworker/5:1H
root 1067 2 0 0 irq_thread 0000000000 S irq/215-fc38800
root 1079 1 3968 1624 __skb_recv 00f7178c1c S /system/bin/debuggerd
root 1080 1 7440 1976 __skb_recv 7f83a55154 S /system/bin/debuggerd64
root 1083 1 5864 1180 __skb_recv 7f9d4e6154 S /system/bin/installd
keystore 1088 1 10508 2348 binder_thr 7f85bbe2a4 S /system/bin/keystore
system 1096 1 9772 2044 binder_thr 7f866f02a4 S /system/bin/gatekeeperd
root 1097 1 5828 1208 hrtimer_na 7f8dd0fba4 S /system/xbin/perfprofd
gps 1098 1 6372 1420 sigsuspend 7fa418837c S /system/bin/loc_launcher
gps 1132 1098 5344 1172 poll_sched 7f854652ec S /system/bin/location-mq
root 2187 2 0 0 worker_thr 0000000000 S kworker/u13:6
root 2196 358 4160 372 poll_sched 00f7537318 S upstart-udev-bridge
root 2208 358 10808 1480 SyS_epoll_ 00f6f67f76 S /lib/systemd/systemd-udevd
104 2254 358 21136 1092 poll_sched 00f715d334 S rsyslogd
root 2263 358 4128 404 poll_sched 00f6ff9318 S upstart-file-bridge
107 2270 358 5052 1236 SyS_epoll_ 00f702ef76 S dbus-daemon
root 2286 358 1452 244 do_wait 00f7277ad6 S /bin/sh
root 2287 2286 39136 4280 poll_sched 00f6beba36 S /usr/bin/simplelogin
root 2333 358 3376 1280 SyS_epoll_ 00f717bf76 S /lib/systemd/systemd-logind
root 2345 358 72740 5524 poll_sched 00f708da52 S NetworkManager
u0_a22011 2387 358 4944 888 SyS_epoll_ 00f6f58f76 S /usr/bin/dbus-daemon
root 2412 358 34840 2752 poll_sched 00f6ed7a52 S /usr/lib/policykit-1/polkitd
root 2559 358 2852 744 hrtimer_na 00f7087cc6 S cron
root 2570 2 0 0 worker_thr 0000000000 S kworker/3:1H
106 2617 358 14328 1708 poll_sched 00f720d334 S /usr/sbin/ntpd
root 2650 358 1808 596 poll_sched 00f70a8318 S /sbin/getty
root 3562 1 7376 392 poll_sched 0000438710 S /sbin/adbd
root 3596 3562 5548 1444 sigsuspend 7f8d0f837c S /system/bin/sh
media 3628 1 40072 6560 hrtimer_na 00f7261b40 S /system/bin/mediaserver
root 3636 1 1365416 52488 0 00f706ef4c R zygote
root 3642 3596 5748 1172 0 7f8428bc7c R ps
root@bullhead:/ #
AMunshi
Registered Member
Posts
10
Karma
0
Just FYi. I am able to execute lxc-stop -n system and lxc-start -n system -F, login as phablet (it does not prompt for a password).

In /data/lxc/containers/system/system.log I observe following -
lxc-start 19700101003048.726 ERROR lxc_utils - utils.c:safe_mount:1692 - No such file or directory - Failed to mount /vendor onto /data/lxc/lxc/lib/lxc/rootfs/vendor/
lxc-start 19700101003347.386 ERROR lxc_utils - utils.c:safe_mount:1692 - No such file or directory - Failed to mount /vendor onto /data/lxc/lxc/lib/lxc/rootfs/vendor/
lxc-start 19700101003645.724 ERROR lxc_utils - utils.c:safe_mount:1692 - No such file or directory - Failed to mount /vendor onto /data/lxc/lxc/lib/lxc/rootfs/vendor/
lxc-start 19700101003746.599 ERROR lxc_utils - utils.c:safe_mount:1692 - No such file or directory - Failed to mount /vendor onto /data/lxc/lxc/lib/lxc/rootfs/vendor/
lxc-start 19700101004042.604 ERROR lxc_utils - utils.c:safe_mount:1692 - No such file or directory - Failed to mount /vendor onto /data/lxc/lxc/lib/lxc/rootfs/vendor/
gibru
Registered Member
Posts
5
Karma
0
Joining in. I manage to run the installation script just fine. There is a part where it stays stuck at the Google logo for a minute or 2, but then it completes OK. The problem is after the script finishes. It will reboot the device, which then ends up being stuck at the Google logo forever. However, adb is detecting the device. Listing the content of /system and /data shows that everything seemed to have worked as far as the script is concerned.

Something I noticed with the installation script:

adb push `readlink -f $CACHEDIR/pm-rootfs.tar.gz` /data/pm-rootfs.tar.gz

readlink -f is probably not a good idea if someone uses spaces somewhere along the path, e.g. /Mydir/Plasma Phone/pm-flashtool/cache

Most people probably won't, but I was in this situation. So for future reference make sure your pm-flashtool folder isn't in a directory with spaces somewhere along the path or just delete the `readlink -f ` part.
AMunshi
Registered Member
Posts
10
Karma
0
I might sound like a newbie here but from what I understand, there is a core OS inside which there is a system container and there is another android container within the system container. I observe the following error while andorid container is trying to start.

root@ubuntu-phablet:/var/log/lxc# ls -l
total 16
-rw-r--r--. 1 root root 8671 Jan 1 01:19 android.log
-rw-r--r--. 1 root root 3654 Jan 1 01:18 lxc-monitord.log
root@ubuntu-phablet:/var/log/lxc# cat android.log
lxc-start 19700101003049.183 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101003049.184 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101003049.184 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101003049.184 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101003049.184 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101003347.568 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101003347.568 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101003347.568 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101003347.568 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101003347.568 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101003645.895 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101003645.895 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101003645.895 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101003645.895 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101003645.895 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101003746.778 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101003746.778 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101003746.778 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101003746.778 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101003746.778 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101004042.921 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101004042.922 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101004042.922 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101004042.922 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101004042.922 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101005231.988 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101005231.989 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101005231.989 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101005231.990 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101005231.990 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101005555.814 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101005555.814 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101005555.814 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101005555.814 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101005555.814 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101010550.427 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101010550.427 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101010550.427 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101010550.427 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101010550.427 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101010758.886 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101010758.887 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101010758.887 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101010758.887 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101010758.887 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101011413.646 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101011413.646 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101011413.646 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101011413.646 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101011413.646 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101011551.874 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101011551.875 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101011551.875 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101011551.875 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101011551.875 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101011724.719 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101011724.720 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101011724.720 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101011724.720 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101011724.720 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
lxc-start 19700101011923.177 ERROR lxc_conf - conf.c:run_buffer:347 - Script exited with status 1
lxc-start 19700101011923.177 ERROR lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "android".
lxc-start 19700101011923.177 ERROR lxc_start - start.c:__lxc_start:1294 - Failed to initialize container "android".
lxc-start 19700101011923.177 ERROR lxc_start_ui - tools/lxc_start.c:main:360 - The container failed to start.
lxc-start 19700101011923.177 ERROR lxc_start_ui - tools/lxc_start.c:main:364 - Additional information can be obtained by setting the --logfile and --logpriority options.
root@ubuntu-phablet:/var/log/lxc#
AMunshi
Registered Member
Posts
10
Karma
0
gibru wrote:Joining in. I manage to run the installation script just fine. There is a part where it stays stuck at the Google logo for a minute or 2, but then it completes OK. The problem is after the script finishes. It will reboot the device, which then ends up being stuck at the Google logo forever. However, adb is detecting the device. Listing the content of /system and /data shows that everything seemed to have worked as far as the script is concerned.

Something I noticed with the installation script:

adb push `readlink -f $CACHEDIR/pm-rootfs.tar.gz` /data/pm-rootfs.tar.gz

readlink -f is probably not a good idea if someone uses spaces somewhere along the path, e.g. /Mydir/Plasma Phone/pm-flashtool/cache

Most people probably won't, but I was in this situation. So for future reference make sure your pm-flashtool folder isn't in a directory with spaces somewhere along the path or just delete the `readlink -f ` part.


Are you using pm-flash -p neon or arch?
gibru
Registered Member
Posts
5
Karma
0
Tried both since I wasn't sure whether this is the flag for the distro. Just noticed the last time I left it out. I'm on Arch so I guess I can run it once more with the appropriate option.
AMunshi
Registered Member
Posts
10
Karma
0
Thanks Gibru. Can you confirm that the sha256 sums for the rom's match.

[root@amishW530 cache]# sha256sum *
7f02ba89d37e32c1a6d51bb58d910b98aa31a7872cba64d10c7ef8ea6d578952 55-bullhead.rules
105bec717d17e6c4612efb8f23283d6f942ad4dbaafcbcc36a5c1aea98e9a508 bullhead-20170209-173909.zip
0aae373de15b57b373e2d7248c27e75f8ea6e5810600c30466ae511852088067 bullhead_recovery.img
5d5ff8bb39b1f9bad25ed6ef05007323e544daa4ade310676f0c578da89b7e25 bullhead_stamp
481f04d822ba4597c52099629173efe154085ed52fb0d90916981eefd9885c1b command
c6f4305e2af9496a6801ff291b74f54bc79e4cc48a76f1288e2290511791aebd lxc-android.tar.gz
45bc9f003c531deb8c48afcb315037321dcf0881ed8b5c238a48ccaa953dbd85 lxc-system-config
469fda67ba8148bfa29832421342842e223447e7b17feeda858d5b77d552790e pm-rootfs-20170210-152001.tar.gz
469fda67ba8148bfa29832421342842e223447e7b17feeda858d5b77d552790e pm-rootfs.tar.gz
9559be843775321b9eebf58db20b7ee103923fe45d03a416e791b1dcf20d6c7f rootfs_stamp
[root@amishW530 cache]#

 
Reply to topic

Bookmarks



Who is online

Registered users: alfredod, Baidu [Spider], bartoloni, Bing [Bot], boudewijn, Capitain_Jack, capslock, chrisogilvie, Exabot [Bot], formyfriday, gerdeg, Google [Bot], gui-m, jackdinn, kevinbradford, La Ninje, Majestic-12 [Bot], Sogou [Bot], TheraHedwig, Tromzy, vpinon, Yahoo [Bot], zhanxw