[ROM][13.0][UNOFFICIAL][OCN] LineageOS 20.0 [BETA]

Search This thread

felixapollyon

Member
Sep 9, 2020
39
8
You should install LineageOS 18.1 for it to boot first, then go back to TWRP and overwrite LineageOS 20.0 to 18.1 (no wipe data, cache or anything) if wipe data, cache and clean lineageos 20.0 it will hang logo
i dont know how but this works for me. But i cant install instagram. it said this app wont work on your device
 
Last edited:

cavilio

Member
Jul 14, 2020
5
5
Hi,

Thank you for your work!

I tested this rom on a dual sim HTC U11 - Indian model I guess  (dirty flash from LineageOS 18.1), unfortunately I can not get any networks to work (no SIM detected, no 4G, no WiFi).

edit : it seems to install and work as intended on another HTC U11 (French model, Orange provider, single sim).
 
Last edited:

backboycn

Senior Member
Jul 20, 2017
113
7
Is there anyone sucessfully installing Magisk 26.1? I installed it and tried several time, only sucessful one time, but failed again when I reboot the phone. I am not sure what the problem is.
 

cavilio

Member
Jul 14, 2020
5
5
Hi,

Thank you for your work!

I tested this rom on a dual sim HTC U11 - Indian model I guess  (dirty flash from LineageOS 18.1), unfortunately I can not get any networks to work (no SIM detected, no 4G, no WiFi).

edit : it seems to install and work as intended on another HTC U11 (French model, Orange provider, single sim).

I made a few more try on my dualsim model:

- After a dirty flash (no dalvik / cache wipe): boot ok, but no network detected (no sim card detected, no wifi). I tried to move the sim card from the first slot to the second slot (even reinstalled with this disposition), but it made no difference, the sim card was not detected;
- After a full wipe (including data): the boot sequence can not complete, the phone was stuck to boot animation (I left the phone as is for more than 40 minutes).

I reverted back to LineageOs 18.1, everything is working fine again (except for the audio level on whatsapp, which is far too loud on speaker mode with no way to lower it).

On the single SIM htc U11, it seems to work ok (it takes almost a minute to connect to the LTE/GSM network, but I think this problem was also present on LineageOs 18.1).

edit : on the French single sim model, there is no way to connect the phone to Windows 11 in order to transfer files. The connexion seems to work for a few second, then it is lost (all options are greyed out). I should have read the front page, USB problems are mentioned.
 
Last edited:
  • Like
Reactions: konfuzius4u

konfuzius4u

Senior Member
May 17, 2012
116
72
Stuttgart area
HTC One (m7)
HTC U11
Today I moved from 18.1 to 20.
The dirty update had a lot of problems so I installed it from scratch after deleting the data from the data partition (factory reset in TWRP).
Upfront I had saved all my data with Swift on my SD card and into my private cloud.
In the new LineageOS 20 I did than reinstall all my 215 user apps and did reload their data.
Was quite some work (almost the whole day) but today has been a public holiday over here, so I had the time to do it. 😉
Everything running fine so far.
Some more tests will follow tomorrow.
Now a good night from Germany.
 

konfuzius4u

Senior Member
May 17, 2012
116
72
Stuttgart area
HTC One (m7)
HTC U11
Today I moved from 18.1 to 20.
The dirty update had a lot of problems so I installed it from scratch after deleting the data from the data partition (factory reset in TWRP).
Upfront I had saved all my data with Swift on my SD card and into my private cloud.
In the new LineageOS 20 I did than reinstall all my 215 user apps and did reload their data.
Was quite some work (almost the whole day) but today has been a public holiday over here, so I had the time to do it. 😉
Everything running fine so far.
Some more tests will follow tomorrow.
Now a good night from Germany.

Update:
Android Auto is not working due to the USB problem mentioned in the first post.
@tarkzim (and perhaps @Golv ) is there any chance to get the USB fixed?
I do use Android Auto quite a lot and it was working fine in 18.1 since the USB did work fine in 18.1.

Thanks to @tarkzim for this new version and to @Golv for the older versions.
A small donation was just done. ;-)
 
  • Like
Reactions: tarkzim
Where can I find lineage os for my device htc OCNUHLIJAPAN
I used both golv and tarkzim build for my HTC U11 japan. Honestly, all build still can't make hardware navigation button work. I just activate with on screen navigation button by adding a line of tweak inside build.prop file.


FYI
For rom builds by Tarkzim, the onscreen navigation menu can be activated via Settings.
 
Last edited:
  • Like
Reactions: konfuzius4u

tarkzim

Recognized Developer
Feb 11, 2015
2,237
4,613
Kaohsiung
Sony Xperia Z
HTC One (m7)
I used both golv and tarkzim build for my HTC U11 japan. Honestly, all build still can make hardware navigation button work. I just activate with on screen navigation button by adding a line of tweak inside build.prop file.
There is an option under Settings>System>Buttons to toggle between hardware and software buttons in my LOS20.
 

Abivel

Member
Jan 27, 2018
19
1
Google Pixel 4a
Can you upload your stock rom backup to google drive or somewhere, so that i can try to make it work for your variant.
Thanks.
Ok I have a twrp backup, u can request access for my drive file. This is my telegram Id @imabin
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I installed this rom and works fine with me, the apps works smoothly.
    Thanks bro!
    1
    Fantastic rom! Only thing I can't seem to get working is data usage. Wifi and mobile data work fine but data used and incoming/outgoing always stay at 0B. Anyone else have this issue?
    yes, that I noticed already a couple of weeks ago.
    1
    So and i must Say some ISSUES Come from Firmware you have Flashed!!!! and i have had the last Days my Old HTC U11 back again, and have Modified my Older Post with "Downgrading & Debranding" with new HowTo_Do.txt and New Files for "OCN_UHL_SingleSIM_Europe" wile i have Downgrade it to run "SunShine S-OFF" on it, than i love the Options it brings with it, to Modify the Device, even its Only Temporaily and cost 25€ for a Unlimited License 4 One Device!!!!

    ##################################################################################

    SO WHEN YOU NEED/HAVE A OTHER MODEL THAN YOU CAN USE THE BASE FROM ME AN CAN CREATE/DOWNLOAD/BUILD IT IN SAME WAY 4 YOUR DEVICE!!!
    THE USED METHODS ARE ON EVERY MODEL THE SAME, ONLY THE FIRMWARE/RUU IS DIFFERENT

    ##################################################################################

    First Create Folder "C:\HTC_U11\" then Download the Archiv into It!!!!

    Download the New Database >>
    Downgrade_&_Debranding_OCN_UHL_SingleSIM_Europe.zip (7GB) << NOW @ UPLOADING
    00:49, TAKES SOME HOURS


    After Extraction First run "setup_requirements.exe"
    this will short Install all what we Need!!!!

    The "Menu_tool.exe" is First needed when you create your Own Firmware/RUU/MoDDedFiles Database Created!!!!
    This Database is for HTC U11 (OCN-UHL) SingleSim-Europe, you can Debrand your Device!!!!! but you can work
    with my Created Archive and can Use everything you want to Need!!!!!

    Dont forgett to Copy the 2PZCIMG*.zip Archive into "HTC-RUU_Decrypt_Tool_3.6.8" Directory!!!
    In the Menu you choose option 1 >> and extract the Firmware!!!
    the android-info.txt Files you must Copy in "ARUWizard" Directory, and the 2PZCIMG*.zip can you
    rename as "rom.zip" and Copy it into "ARUWizard" Directory found in the Firmware Versions Directory!!!!

    !!!!!!!AT THIS DATABASE ALL FILES MODDED/ADDED YOU MUST ONLY RUN THE SCRIPTS!!!!!!!!!!!!!!!!!!!!!!!!!!!

    1#_Run flash twrp and Reboot into Recovery
    2#_Run push flash Firmware in TWRP, than you reboot into Download-Mode
    3#_Run choosen ARUWizart shortcut and Flash FULL StockROM, after this you have Downgrade/Debrand your Device!!!
    4#_Run flash twrp and Reboot to System
    Enjoy It

    ALL FIRMWARE VERSIONS HAVE THE SAME STEPS ,YOU MUST ONLY CHOOSE A VERSION THEY YOU WANT!!!!

    RUU INCLUDED
    1.13.401.1
    1.27.401.12
    3.34.401.1

    Full Firmware INCLUDED
    1.13.401.1
    1.27.401.12
    2.33.401.10
    2.33.401.19
    3.34.401.1
    3.36.161.1

    EACH VERSION HAS ITS ONE MODDED misc.img & board_info.img thats sets SUPERCID 11111111 and FW-Version!!!!!!!!

    AND REMEMBER "This Database is for HTC U11 (OCN-UHL) SingleSim-Europe" you can Downgrade\Debrand your Device!!!!!
    with this Method!!!!!!

    That was the Easy Part now we come to HowToDO_IT_Self!!!!


    "Creating Image of misc & board_info"
    #####################################
    Rooted System or reboot into TWRP Recovery and open Terminal
    type in Terminal

    adb shell dd if=/dev/block/bootdevice/by-name/misc of=/sdcard/misc.img

    adb shell dd if=/dev/block/bootdevice/by-name/board_info of=/sdcard/board_info.img

    "Copy Images to C:\HTC_U11\"
    ############################
    type in Terminal

    adb pull /sdcard/board_info.img C:\HTC_U11\board_info.img

    adb pull /sdcard/misc.img C:\HTC_U11\misc.img

    so let the booth Image Files stay outside the Versions Directorys
    and Copy booth seperatly into VERSIONS Directorys into firmware Folder
    so you have a Original-BackUp Image!!!!!

    now you open HxD and choose Open File and Open "C:\HTC_U11\x.xx.xxx.xx\firmware\misc.img"
    now Scroll to "Offset(h) 000008A0" where you see the Firmware Version,
    klick the first Number and type the Version of Firmware you would create "example 3.34.401.1",
    (when the Firmware Version Number is longer than replace the rest Numbers with a dot!! example 1.27.161.10 than type 3.34.401.1.),
    also remember Type "Number Dot Number Number Dot Number Number Number Dot Number"

    when its Finished Save File as "misc.img" to "C:\HTC_U11\x.xx.xxx.xx\firmware\misc.img"
    the next One

    Open in HxD the File "C:\HTC_U11\x.xx.xxx.xx\firmware\board_info.img"

    and look at "Offset(h) 00000010" its the second Line is to see the CID wich you have!!!

    EXAMPLES >>

    HTC__001
    HTC__M27
    HTC__002
    HTC__034
    HTC__J15
    HTC__A07

    TMUS - T-MOB010
    TMD - T-MOB101
    TMA - T-MOB102
    TMNL - T-MOB003
    TMCZ - T-MOB004
    TMUK - T-MOB005
    TMHR - T-MOB006
    TMH - T-MOB007
    TMSK - T-MOB008
    Era - T-MOB009
    TMMK - T-MOBL11


    now replace the 8 Chars with 11111111

    than Save the File as "board_info.img" to "C:\HTC_U11\x.xx.xxx.xx\firmware\"
    So we have Set Now the SUPERCID 11111111!!!!

    After that we copy the Extracted 2PZCIMG*.zip Archive from OUTPUT Directory in "HTC-RUU_Decrypt_Tool_3.6.8"
    to the Versions Directory firmware Folder and now we have

    Finished the Firmware MoDDing/Collecting!!! Thats with all VERSIONS and MODELS the Same Steps!!!!!!


    OVER FIRMWARE 2.33.401.19 comes a NEW ISSUE thats we can FiX Permanently Now!!!!
    A MANY PEOPLES INCL. ME KNOWN THE CALL-AUDIO-ISSUE and so we Fix It!!!!!!!!!!!!!

    start "over Bootloader into Download Mode"

    and Run 5#_flash-dsp-fix.cmd


    Thats All , Finished

    MFG
    Steven
  • 9
    2okPze5.png


    Code:
     * Your warranty is now void.
    *
    * We are 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 us for messing up your device, we will laugh at you.
    *
    */
    Introduction
    LineageOS is a free, community built, aftermarket firmware distribution of Android 13 (T), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.


    Bugs

    What's working:

    • Boot
    • Camera / Camcorder
    • RIL (LTE/Dual SIM/SMS)
    • VoLTE
    • Fingerprint Sensor
    • WiFi
    • Hotspot (2.4Ghz / 5Ghz)
    • Bluetooth
    • Edge Sense (Squeeze gestures)
    • GNSS GPS
    • Audio Playback
    • Video Playback
    • NFC
    • Sensors
    • USB (ADB)
    • Touch
    • Navigation Gestures (Disabling hardware buttons)

    What's not working:
    • USB (MTP/PTP buggy)
    • VoWiFi
    • Hardware Encryption
    • SELinux is permissive.
    • You tell me.

    Installation instructions

    • Download the zip(s).
    • Install a compatible Recovery
    • Perform a NANDroid backup of your current ROM (Optional)
    • Wipe data & cache partitions and FORMAT DATA from TWRP of your device (required when coming from stock!).
    • Flash ROM.
    • Optional: Install the Google Apps addon package.
    • Optional: Install Magisk for Root.

    Downloads

    These builds for OREO or PIE firmware ( DSP.img patch is required for PIE firmware ONLY - *** HERE ***) !!!

    (the patch is applied once and NOT NEED to reinstall patch after ROM update).

    Recovery : Official TWRP
    Gapps : MindTheGApps 13 ARM64
    Rom : Download

    Sources
    oce device tree: ocn
    oce kernel tree: msm8998 kernel
    htc vendor tree: vendor tree

    Donate
    DONATE To Me

    Big Thanks
    • LineageOS Team.
    • all OCN (U11) contributors.
    • @Golv for base trees.
    3
    Changelogs

    2023/06/01
    • Fixed Bluetooth Audio for media / call.
    2023/05/27
    • Properly fixed RIL and In-call audio.
    • Tweaked brightness levels.
    • Added option to reboot to download mode.
    2023/05/22
    • Initial release of LineageOS 20.0 for HTC U11.
    3
    New build released
    • Properly fixed RIL and In-call audio.
    • Tweaked brightness levels.
    • Added option to reboot to download mode.
    2
    New build released
    • Fixed Bluetooth Audio for media / call.
    2
    I used both golv and tarkzim build for my HTC U11 japan. Honestly, all build still can make hardware navigation button work. I just activate with on screen navigation button by adding a line of tweak inside build.prop file.
    There is an option under Settings>System>Buttons to toggle between hardware and software buttons in my LOS20.