Packaging Samsung Galaxy Tab 2 7.0" (same kernel as Galaxy Tab 2 10.1")
Created by: ollieparanoid
In https://github.com/postmarketOS/pmbootstrap/pull/1027#issuecomment-401226345 @adrianparvino wrote:
I have a Samsung Galaxy Tab 2 7.0, how should I port this? Is there any non-trivial differences aside from the screen?
Try this:
- Copy the
aports/device/device-samsung-espresso10
toaports/device/device-samsung-espresso7
- Adjust the name in the APKBUILD and deviceinfo
- Adjust the screen resolution in the deviceinfo
- Make sure it still depends on
linux-samsung-espresso10
by not changing thedepends=...
line in the APKBUILD - Run
pmbootstrap init
and selectsamsung-espresso7
as device - Follow the installation instructions from the Samsung Espresso 10 in the wiki (see its device page)
- If it does not work, you might need to change the bootloader offsets by analyzing a known working boot.img file:
pmbootstrap bootimg_analyze path/to/known/working/boot.img
- modify your
deviceinfo
file (in the aport) with the offsets that command prints pmbootstrap checksum device-samsung-espresso7
- try again
- modify your