Skip to content

DeviceSpecificStuff

Zsolt Szabó edited this page Jul 2, 2018 · 2 revisions

Stuffs for building ROM for TB3_710F

Device repositories

One of the followings can be used:

  1. PixNDom's Tab2A710F repo: a bit messed up *mk files but working repo
  2. andrew264's TB3_710F repo: buggy wpa_supplicant, etc. dirs
  3. this one :-) It can be obtained by "hand" from the building root: git clone https://github.com/szazs89/device_lenovo_TB3_710F -b master device/lenovo/TB3_710F

Vendor repositories

  1. PixNDom: working but also contains unnecessary files which mess up camera, e.g.
  2. andrew264: *mk tailored for TB3_710F but does not contain all the needed proprietary files (libion.so), and contains also files which cause boothang (libgui.so)
  3. I have a cleaned prop.files tgz:
  • merge the repository-files.txt lists from PixNDom and andrew264;
  • install a stock ROM and while in recovery open an adb shell: mount system && tar cvzf /external_sd/TB3_710F-blobs.tgz $(cat /external_sd/repo-files.txt) (tar is preferred because of handling symlinks but zip could be used, too) then exit and adb pull external_sd/TB3_710F-blobs.tgz;
  • build a ROM without blobs (empty vendor/lenovo/TB3_710F dir, or cleaned *mk files and proprietary dir);
  • compare the files in out/target/product/TB3_710F/system with the extracted TB3_710F-blobs.tgz: which are missing from the built system those will be the really necessary proprietary files - put them into vendor/lenovo/TB3_710F/proprietary and modify Android.mk and TB3_710F-vendor-blobs.mk accordingly;
  • (optional :-) upload vendor/lenovo/TB3_710F to github... -- still pending)

roomservice.xml

You can put the repos above into the .repo/local_manifests/roomservice.xml file. For this repo it can be downloaded as follows:

curl https://raw.githubusercontent.com/szazs89/device_lenovo_TB3_710F/master/roomservice.xml > .repo/local_manifests/roomservice.xml

(or just click on the link :-) )

Clone this wiki locally