Split i9300 into separate packages and use codenames, and set up WiFi properly on mainline
m0 and m3 are the "real" codenames for i9300 and i9305, respectively. Furthermore, it doesn't make much sense to keep these two in the same device package (I can only maintain m0 since I don't own an m3), and even less the downstream kernel since the gpu_accelerated property is shared between mainline and downstream but should have a different value for downstream than mainline.
Anyway, as mentioned, I don't have an m3! If you have one, testing is very welcome. I haven't tested this on my m0 yet, thus it's a draft.
Added to renamed devices: https://wiki.postmarketos.org/wiki/Renamed_Devices
Part-of https://gitlab.com/postmarketOS/pmaports/-/issues/35
Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1017
Merge request reports
Activity
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
sha512 sum for unmaintained deviceinfo seem to need to be updated. The unmaintained kernel then also fails to flash with:
$ pmbootstrap flasher flash_kernel [20:41:02] (rootfs_samsung-m0-downstream) mkinitfs samsung-m0 [20:41:04] ERROR: Could not find aport for package: linux-samsung-m0 [20:41:04] See also: <https://postmarketos.org/troubleshooting> Run 'pmbootstrap log' for details.
But this looks more like an issue with postmarketos-mkinitfs, APKBUILD and deviceinfo looks good to meFlavor needs to be changed to
_flavor="samsung-m0-downstream"
, and the config renamed accordinglyBy Henrik Grimler on 2021-09-27T07:00:16
Edited by Administrator
mentioned in merge request !2557 (closed)
By Luca Weiss on 2021-09-27T09:19:36
added 31 commits
-
c0d30ded...23b6654f - 26 commits from branch
postmarketOS:master
- 37b7e5d2 - samsung-i9300: drop
- 34768e2e - samsung-m0: new device
- 4f4a0dc9 - samsung-m3: new device
- 84a681e7 - firmware-samsung-m0: rename from i9300 and split
- 5c8402c6 - samsung-m0-downstream: new device
By Newbyte on 2021-09-27T21:02:40
Toggle commit list-
c0d30ded...23b6654f - 26 commits from branch
I've not been able to test this on samsung-m3 as I don't own one, but it works as expected on samsung-m0 — and removes the need to manually set up WiFi firmware. If you're reading this and you own samsung-m3 (Galaxy S III LTE), testing is very welcome! And thanks to Grimler for fixing the firmware package for me.
By Newbyte on 2021-09-27T21:04:41
I'm not sure what to do about the wiki failure though, or what to do with the package versions. Should I keep them what they are now? Restart from 1?
I don't think it makes sense to replace the old packages since they are split now, and I can't detect which variant users have, so there is a risk they will get packages for the wrong phone. Plus, the devices are in testing, so I don't think it matters.
By Newbyte on 2021-09-27T21:07:36
Edited by Administratoradded 6 commits
-
f9fae7bf - 1 commit from branch
postmarketOS:master
- 49ebad47 - samsung-i9300: drop
- eec60080 - samsung-m0: new device
- eb8eb4bf - samsung-m3: new device
- 73420b88 - firmware-samsung-m0: rename from i9300 and split
- 210b7a68 - samsung-m0-downstream: new device
By Newbyte on 2021-09-28T10:15:53
Toggle commit list-
f9fae7bf - 1 commit from branch
added 6 commits
-
f9fae7bf - 1 commit from branch
postmarketOS:master
- 473b8935 - samsung-i9300: drop
- e15fc709 - samsung-m0: new device
- b34f4fd9 - samsung-m3: new device
- ae1e614f - firmware-samsung-m0: rename from i9300 and split
- ee6452cc - samsung-m0-downstream: new device
By Newbyte on 2021-09-28T10:23:11
Toggle commit list-
f9fae7bf - 1 commit from branch