[Android General] Nukeer9578:
Hello,

Since I have not seen any custom ROM for this device and was unhappy with the stock rom I decided to port LineageOS to this device. It's a "dirty" port if you will (using those simple "porting guide" threads on XDA) and no kernel decompiling or anything more than copying and editing text files was done to make this ROM.

I ported a Vernee Apollo Light version of LineageOS 13 to this device because the hardware is very similar to that of the HT10. All credits go to the people who ported it to the Vernee Apollo Light, I just forgot which site I got it from (maybe from an XDA thread, maybe from other download sites, I can't remember).

I guess I made this thread in hopes of getting some other HT10 owners to try themselves as developers in order to have a bigger selection of custom ROMs for this device.

I am not responsible for any damage done to you, your device or anything that might be caused by downloading or flashing this rom to your device. Therefore this disclaimer:

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

If you somehow brick your device, you can almost always save it using SPFlashtool, because it can flash to the device without even needing to turn the device on. So you can always flash the stock Homtom firmware even if the screen won't turn on.

Before flashing the ROM:

I recommend you flash this using TWRP, which is available for this device on the internet.

At least, wipe the following partitions before flashing:

- System

- Cache

- Dalvik Cache

After flashing my LineageOS ROM you can flash Magisk (at least the beta version 16.4), XPosed framework (systemless) and the ARISE sound mod (Biohazard sound mod worked for me as well, though you shouldn't install both. chose either one and stick with that). Those worked for me, though to get bluetooth audio working I had to flash a zip file containing APT-X and APT-X HD audio codec, and I had to install BTAudio in the XPosed Framework.

What works:

- the above mods/flashables

- WIFI

- Bluetooth (see fix above)

- video playback (youtube)

- telephony (dual sim and calling works, cellular network also works)

What doesn't work:

- camera

Have fun with LineageOS on this exotic device!

It's live now! Just go to the following link:

Download Link :- https://androidfilehost.com/?fid=11410963190603911454

Edit 2: DualbootPatcher works with the right configs:

If you add the following line to the dualbootpatcher's "devices.json" (just be sure to put a comma between the last entry and this one; I use Notepad++) you can patch this rom using the dualbootpatcher program (I used the windows program).

{"id":"HT10","codenames":["HT10"],"name":"Homtom HT10","block_devs":{"cache":["/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/cache","/dev/block/mmcblk0p28"],"system":["/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/system","/dev/block/mmcblk0p27"],"base_dirs":["/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name"],"data":["/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/userdata","/dev/block/mmcblk0p29"],"boot":["/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/boot","/dev/block/mmcblk0p21"],"recovery":["/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/recovery","/dev/block/mmcblk0p1"]},"architecture":"arm64-v8a","boot_ui":{"supported":true,"flags":["TW_QCOM_RTC_FIX"],"pixel_format":"RGBA_8888","max_brightness":255,"default_brightness":162,"graphics_backends":["fbdev"],"theme":"portrait_hdpi","brightness_path":"/sys/class/leds/lcd-backlight/brightness"}}

I was able to patch this rom as "primary" rom and flash the resulting zip. It booted just fine.

Edit: I made a pull request on Github to get this config incorporated in the official dualbootpatcher configs.

.