Android boot.hardware is cmdline that is used to detect init.{hardware}.rc file which in my case is init.Dior.rc not init.qcom.rc. 2. First udev rules are read from rules.d dir which is inside ramdisk itself. Then afterwards when init mounts data partition then it read rules files inside system partition and overrides the earlier loaded ones. 3. My processor is definitely msm-8926 since in dts directory I have h3lte device tree which is only for 8926 and not 8928. If my device was 8928 and not 8926 the device tree wudnt have loaded in first place.
Latest posts made by zeeshanhyder
-
RE: Redmi Note Dior bootloop. Device keeps restarting.
-
RE: Redmi Note Dior bootloop. Device keeps restarting.
i dnt think that matters anyway. if /data is nt mounted there wont be no logs in it, right?
-
RE: Redmi Note Dior bootloop. Device keeps restarting.
yeah i did. The file pushes fine. I still dont know y aint it able to read device name. God this is so frustrating.
-
Redmi Note Dior bootloop. Device keeps restarting.
Hello. After updating my sources again and updating my device repo, now i am able to get last_kmsg and dmesg logs. Unfortunately the device doesnt boot yet. But it doesnt die on boot, it keeps restarting. From what i read in last_kmsg (attached below), i think the issue is in 70-$device.rules file. One of errors in the log is that, udev is unable to get device name, which may in turn cause device.rules udev file fail to load. Please help.
TIA.
last_kmsg: http://pastebin.com/Hd8YD82a
-
RE: Flashing Ubuntu Touch to ZUK Z1
@ChrisLuck Dont worry about lsusb. Even i am not getting that right now. Give me your github sources link. Let me look at that. I am getting recovery logs now. Thankfully. But unfortunately there's not much support out there so progress is very slow.
-
RE: Flashing Ubuntu Touch to ZUK Z1
can u send me link to last_kmsg? I am getting them now. When your device bootloops reboot back to bootloader directly and then boot (not flash) recovery.img from ubuntu build. Then get the last_kmsg and dmesg with following command:
adb shell cat /proc/last_kmsg > last_kmsg
And then pastebin it and send me link. I'll see if i can help.
-
RE: Flashing Ubuntu Touch to ZUK Z1
No you You have to use your phone's current udev rules file to port udev rules to Ubuntu readble format. More specifically all /dev rules in your Android udev files need to be copied to Ubuntu udev. You can check Mako's udev to get the ideas how to copy Android udev rules to Ubuntu readable one.
-
RE: Flashing Ubuntu Touch to ZUK Z1
Dont use ubuntu's recovery. It sucks way too much. Use TWRP. Ubuntu's recovery is very unstable. Use it only to check if your kernel build is fine. If your data is empty then ubuntu's system.img is not getting created. Also you need 70-device.rules file where you specify all the udev rules for ubuntu's init to mount dev folder properly. And also adbd.conf to configure adbd on preboot so you get logcats. Check here how they have done.
https://github.com/ubuntu-touchCAF/project_rootstock/tree/ubuntu-touch
-
RE: sepolicy conflicts
Hahaha.....seems like you are on same error as mine. Even i have recovery working properly but when booting normally it gets stuck at vendor logo. Check which initrd version are u using and then see if ubuntu rootfs version is same as initrd version. I think the issue is somewhere in initrd as stressed by ubuntu porting guide. Also get last_kmsg. That will help alot us in figuring out the problem.
-
RE: sepolicy conflicts
Yes setting selinux to permissive will disable selinux check on boot. But first make sure your kernel config is right. Try to boot recovery first. SELinux is least of your worries right now. Android's boot.img and ubuntu's boot.img are earths apart from each other. Make sure your dtb's are in place.