I know you guys are working hard. Just wanted to let you know that recently kernel source for Redmi 4A was released. It would be better if someone with deep knowledge in kernel sources could get their hands dirty. https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/riva-n-oss.
I love your work. Would like to contribute some day with code.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I made a basic device package here. Note that it's untested as I don't actually have this device, but in theory it should "just work"
Quick question, since this kernel seems to be also used for the Redmi 5 and Redmi 5A, is the Redmi 5 actually the Redmi Note 5? I can't find much about the regular Redmi 5 (xda-developers doesn't have it, neither does it have the Redmi 5A)... Note that merging the defconfigs of the 3 devices won't work as they use different touchscreen devices which have conflicting code (producing a big list of errors).
EDIT: Never mind, it just seems XDA-developers doesn't have device pages for the Redmi 5 and Redmi 5A yet, probably because they are so new (end of last year it seems). I made device packages for those as well.
It would be nice if you could test the Redmi 4A and report it's status. Maybe it's ready for merging already.
Note that if you use an sdcard and the device supports fastboot (which the Redmi 4A seems to do), you can try pmOS out without touching your normal installation.
pmbootstrap init #choose your device and whatever other settings you desirepmbootstrap install --sdcard=/path/to/sdcard/on/pc --no-fde # let's use no FDE for now, we're not sure if it'll work yetpmbootstrap flasher boot # make sure the sdcard is plugged into the phone before running this
Which device am I supposed to choose to build? I can't see anything similar to rolex or riva. This is my first time with pmOS. I'm trying to understand from the wiki. Detailed article or getting started links would be helpful. Thank you.
I pushed it to a separate branch, as it's untested and should not be in the main tree yet. So checkout the device-xiaomi-rolex branch, and then choose the xiaomi-rolex device. And yes, pmbootstrap works fine on any Linux distribution.
Note that if you want to see the actual errors, you'll have to run pmbootstrap log in a separate terminal.
Executing busybox-1.28.2-r0.triggerExecuting ca-certificates-20171114-r0.triggerOK: 160 MiB in 55 packages(009544) [17:23:36] (buildroot_aarch64) % apk --no-progress add abuild build-base ccache(009544) [17:28:36] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^(009544) [17:28:36] NOTE: The failed command's output is above the ^^^ line in the logfile: /home/dineshdb/.local/var/pmbootstrap/log.txt(009544) [17:28:36] ERROR: Command failed: (buildroot_aarch64) % apk --no-progress add abuild build-base ccache(009544) [17:28:36] Run 'pmbootstrap log' for details.(009544) [17:28:36] See also: <https://postmarketos.org/troubleshooting>(009544) [17:28:36] Traceback (most recent call last): File "/home/dineshdb/Projects/pmbootstrap/pmb/helpers/run.py", line 69, in core stderr=args.logfd) File "/usr/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '['sudo', 'env', '-i', '/usr/bin/sh', '-c', "CHARSET=UTF-8 HISTFILE='~/.ash_history' PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/ash TERM=xterm /usr/bin/chroot /home/dineshdb/.local/var/pmbootstrap/chroot_buildroot_aarch64 /bin/sh -c 'cd /;apk --no-progress add abuild build-base ccache'"]' returned non-zero exit status 1.The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/home/dineshdb/Projects/pmbootstrap/pmb/__init__.py", line 61, in main getattr(frontend, args.action)(args) File "/home/dineshdb/Projects/pmbootstrap/pmb/helpers/frontend.py", line 208, in install pmb.install.install(args) File "/home/dineshdb/Projects/pmbootstrap/pmb/install/_install.py", line 385, in install pmb.build.package(args, pkgname, args.deviceinfo["arch"]) File "/home/dineshdb/Projects/pmbootstrap/pmb/build/_package.py", line 424, in package skip_init_buildenv, src): File "/home/dineshdb/Projects/pmbootstrap/pmb/build/_package.py", line 173, in init_buildenv depends, built = build_depends(args, apkbuild, arch, strict) File "/home/dineshdb/Projects/pmbootstrap/pmb/build/_package.py", line 128, in build_depends if package(args, depend, arch, strict=strict): File "/home/dineshdb/Projects/pmbootstrap/pmb/build/_package.py", line 424, in package skip_init_buildenv, src): File "/home/dineshdb/Projects/pmbootstrap/pmb/build/_package.py", line 181, in init_buildenv pmb.build.init(args, suffix) File "/home/dineshdb/Projects/pmbootstrap/pmb/build/init.py", line 38, in init build=False) File "/home/dineshdb/Projects/pmbootstrap/pmb/chroot/apk.py", line 233, in install pmb.chroot.root(args, ["apk", "--no-progress"] + command, suffix) File "/home/dineshdb/Projects/pmbootstrap/pmb/chroot/root.py", line 93, in root return pmb.helpers.run.core(args, cmd_sudo, msg, log, return_stdout, check) File "/home/dineshdb/Projects/pmbootstrap/pmb/helpers/run.py", line 82, in core raise RuntimeError("Command failed: " + log_message) from excRuntimeError: Command failed: (buildroot_aarch64) % apk --no-progress add abuild build-base ccache(012183) [18:07:38] % tail -f /home/dineshdb/.local/var/pmbootstrap/log.txt -n 60(012183) [18:07:38] *** output passed to pmbootstrap stdout, not to this log ***
The error we need is just above the ^^^^^^^^^ line, so /bin/ash: abuild: not found in this case. It's unrelated to this issue, so please make a new issue for it and report your system setup, as I recall this having something to do with the filesystem being used by the host (although I might be wrong here).