deadman96385

Untitled

Jun 21st, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.47 KB | None | 0 0
  1. This thread will be about changes i have made to the device trees for the t700,t705,t800,t805 which should in the long run make maintaining the variants a lot easier the primary changes i have done are combine all 4 of the variants into 1 kernel source as well as make a common device tree so they can inherit everything that is the same across devices.
  2.  
  3. [B][SIZE="4"]This op is a WIP i just wanted to get something up before i leave for a week[/SIZE][/B]
  4.  
  5. [B]Kernel Changes:[/B]
  6.  
  7. The base Base kernel from Cyanogenmod supports klimtwifi (T700) and klimtlte (T705) to add support for chagallwifi (T800) all that is needed is to add its defconfig which is this file
  8. https://github.com/LiquidSmooth-Devices/android_kernel_samsung_klimtwifi/blob/5.1/arch/arm/configs/deathly_chagalllte_defconfig
  9.  
  10. To add support for the Chagallte (T805) it was a little more complicated for to do but very simple for you guys for a little background T805 is exactly the same chipset as the other Galaxy Tab S's except for whatever reason Samsung decided to put a different gpu (Midgard_wk04) everyone else uses a mali_t6xx.
  11.  
  12. The stuff developers actually need to support Chagalllte are the following:
  13.  
  14. Its Defconfig:
  15. https://github.com/LiquidSmooth-Devices/android_kernel_samsung_klimtwifi/blob/5.1/arch/arm/configs/deathly_chagalllte_defconfig
  16.  
  17. The GPU addition commit:
  18. https://github.com/LiquidSmooth-Devices/android_kernel_samsung_klimtwifi/commit/c8e96e86c902cbc2b13d34e7e7158623eacf5d84
  19.  
  20. Bam that was easy now any kernel can support all 4 main variants of the Tab S
  21.  
  22. WIP Device tree changes:
  23.  
  24. First part i want to place links to all of the stuff that's needed to make a rom for each device in one place.
  25. (Disclaimer the trees will be LiquidSmooth but it is very easy to convert them to any rom)
  26.  
  27. Klimtwifi (T700):
  28. https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtwifi
  29. https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-12.1/klimtwifi
  30.  
  31. Klimtlte (T705)
  32. https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtlte
  33. https://github.com/schwabe93/vendor_samsung_klimtlte
  34.  
  35. Chagallwifi (T800)
  36. https://github.com/LiquidSmooth-Devices/android_device_samsung_chagallwifi
  37. https://github.com/diego-cr/android_vendor_samsung_chagallwifi
  38.  
  39. Chagalllte (T805)
  40. https://github.com/LiquidSmooth-Devices/android_device_samsung_chagalllte
  41. https://github.com/Andrewt12/android_vendor_samsung_chagalllte
  42.  
  43. WIP Common Device Tree:
  44.  
  45. When bringing up support for LiquidSmooth for these devices i noticed that they are all pretty much copied each other (which makes sense) but because of it there was tons of duplicated code between the devices so i decided to make a common device tree so any future code changes could be placed in one place instead of over 4 device trees. This is still a WIP because to be blunt i do not have all the devices so i can not test them all in my eyes they should all work fine i can for sure say klimtwifi and chagallwifi work with my common tree, Chagalllte and klimtlte need to be tested still. The common device tree will also hopefully will be rom independent so no changes would be needed on a per rom basis.
  46.  
  47. Common Device tree repo:
  48. https://github.com/LiquidSmooth-Devices/android_device_samsung_exynos5420-common
  49.  
  50. Common device tree migration commits
  51.  
  52. Klimtwifi:
  53. https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtwifi/commit/444b4fc08f82eeeabe8e0a533539fe0c2fadd723
  54. https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtwifi/commit/cdf5f06c8a29bb237b964d5ee602d151c6323677
  55.  
  56. Klimtlte:
  57. https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtlte/commit/8570d466e2b5b88c316c7f1576bf8ea9051c5e2a
  58.  
  59. Chagallwifi:
  60. https://github.com/LiquidSmooth-Devices/android_device_samsung_chagallwifi/commit/5be51eb30283355109c65513ea209dd1d6855ff2
  61.  
  62. Chagalllte:
  63. https://github.com/LiquidSmooth-Devices/android_device_samsung_chagalllte/commit/5ff21d73a9cad3f7f9cf7f79b29bdbab0d8b2b1e
  64.  
  65. One more improvement that myself and @diegocr made was finally made a pernament fix to Chagallwifi's (T800) wifi issue he made a custom release tool in the device tree to make it so you would not have to manually patch it every time. I then took that and fixed the root of the issue which was that the vendor repo was not putting the files in the right spot. (My orig commit also did egl but that was not needed) the commit that did it is this:
  66. https://github.com/diego-cr/android_vendor_samsung_chagallwifi/commit/1fc5135eda985ddc159f8465ee114e67aa5dfcae
Advertisement
Add Comment
Please, Sign In to add comment