Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- [B][SIZE="4"]This op is a WIP i just wanted to get something up before i leave for a week[/SIZE][/B]
- [B]Kernel Changes:[/B]
- 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
- https://github.com/LiquidSmooth-Devices/android_kernel_samsung_klimtwifi/blob/5.1/arch/arm/configs/deathly_chagalllte_defconfig
- 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.
- The stuff developers actually need to support Chagalllte are the following:
- Its Defconfig:
- https://github.com/LiquidSmooth-Devices/android_kernel_samsung_klimtwifi/blob/5.1/arch/arm/configs/deathly_chagalllte_defconfig
- The GPU addition commit:
- https://github.com/LiquidSmooth-Devices/android_kernel_samsung_klimtwifi/commit/c8e96e86c902cbc2b13d34e7e7158623eacf5d84
- Bam that was easy now any kernel can support all 4 main variants of the Tab S
- WIP Device tree changes:
- 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.
- (Disclaimer the trees will be LiquidSmooth but it is very easy to convert them to any rom)
- Klimtwifi (T700):
- https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtwifi
- https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-12.1/klimtwifi
- Klimtlte (T705)
- https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtlte
- https://github.com/schwabe93/vendor_samsung_klimtlte
- Chagallwifi (T800)
- https://github.com/LiquidSmooth-Devices/android_device_samsung_chagallwifi
- https://github.com/diego-cr/android_vendor_samsung_chagallwifi
- Chagalllte (T805)
- https://github.com/LiquidSmooth-Devices/android_device_samsung_chagalllte
- https://github.com/Andrewt12/android_vendor_samsung_chagalllte
- WIP Common Device Tree:
- 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.
- Common Device tree repo:
- https://github.com/LiquidSmooth-Devices/android_device_samsung_exynos5420-common
- Common device tree migration commits
- Klimtwifi:
- https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtwifi/commit/444b4fc08f82eeeabe8e0a533539fe0c2fadd723
- https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtwifi/commit/cdf5f06c8a29bb237b964d5ee602d151c6323677
- Klimtlte:
- https://github.com/LiquidSmooth-Devices/android_device_samsung_klimtlte/commit/8570d466e2b5b88c316c7f1576bf8ea9051c5e2a
- Chagallwifi:
- https://github.com/LiquidSmooth-Devices/android_device_samsung_chagallwifi/commit/5be51eb30283355109c65513ea209dd1d6855ff2
- Chagalllte:
- https://github.com/LiquidSmooth-Devices/android_device_samsung_chagalllte/commit/5ff21d73a9cad3f7f9cf7f79b29bdbab0d8b2b1e
- 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:
- https://github.com/diego-cr/android_vendor_samsung_chagallwifi/commit/1fc5135eda985ddc159f8465ee114e67aa5dfcae
Advertisement
Add Comment
Please, Sign In to add comment