yashsingh1/xdaforums huggingface dataset:
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Major thanks and credits to [MENTION=1162986]Captain_Throwback[/MENTION]

I've never made a recovery with fde work 100% without the help of [MENTION=1162986]Captain_Throwback[/MENTION]

So make sure to thank him

ok guys I've learned a bit about a/b devices so I thought I would try to help get a twrp build for Android One u11 life devices.

Credits to [MENTION=8912584]Motto_MTR[/MENTION] for getting me back here and building and testing.

Credits to [MENTION=5491643]SHA_NDY[/MENTION]

For all the testing

I've uploaded the source to github.

All old test builds can be found here

https://androidfilehost.com/user/?w=settings-dev-files&flid=293472

New source will be updated as ocluhl has fbe encryption and is based more on Google source and less HTC..

All testers and devs are welcome to participate.

Test

https://www.androidfilehost.com/?fid=6006931924117937237

fastboot boot twrp.img

Important information

Do not flash as there is no recovery partition on a/b devices.

Twrp 3.3.0-0 has the option to install ramdisk which I will provide to install twrp once we have confirmed successful decryption.

I'm adding telegram channel for testing but all links will be posted here as well.

https://t.me/joinchat/AAAAAFGMsEzWJ0k05is15A

Mods if not allowed please remove telegram link.

New source Im using now.

Github

https://github.com/TWINNFAMOUS/android_device_htc_ocla1

New changes to github will be updated once successful testing of each changes have been made.

It's OK to press the thanks button if I helped you
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Please post any and all logs as there may be something not working.

This is all at your own risk.

Do not flash the img files they are only meant for booting recovery.

A installer will be provided once everything is fully working.

More about that later.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
This one too
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Would be nice to have a working twrp!
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Well help test. A new build should be coming soon it's just takes longer because I don't have the device to test. And only have 1 tester so far and it's someone that asked me to help him so if others want it to work start by posting cid & mid . As I only have the Japan cid & mid. Thanks
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Alright, here we go. I'm located in Germany.

Don't know if cid and mid covers Europe or Germany only...

CID: HTC__034

MID: 2Q3F20000

Attached a partition list if helpful...
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Partition list was helpful.

I'll add this to the source.

I wonder how many cid and mid are different.

If u can send me your build prop from system
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
...and the build.prop...
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
There are some differences but not to many.
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
TWRP is the only chance to get a nandroid backup, isn't it?

I want to play around with some GSIs but see no chance to get a backup restored properly.

Backup of system partition only didn't work. My unlock PIN wasn't accepted after restoring.

So I hope we get it to work. I'm looking forward to test!
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Can u send me boot.img from your device.

I'll be working on it today I'll pm u a test twrp once done.
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
https://androidfilehost.com/?fid=1395089523397956708
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
One last thing before I start the build.

Can u open terminal emulator and enter

su

getprop

Then post the output.
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Getprop output in attachment
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test 0.2

https://www.androidfilehost.com/?fid=1395089523397959100
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Yo twinnfamous,

is it necessary to have stock bootimage flashed to boot partition? Because I actually have Magisk patched one and the test 0.2 isn't booting.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
What happened when you booted it?

Magisk doesn't matter u are booting from the img not the phone
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
I entered fastboot mode on the phone.

Then ran

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot "C:\Users\AndyCristi\Downloads\twrp-ocla1-test-0.2.img"
downloading 'boot.img'...
OKAY [ 2.342s]
booting...

and now it is stuck there...

My phone screen tells me "Flash images success (1/1)" but still got fastboot screen on the phone.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Reboot to bootloader then recovery
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
I reboot to bootloader. Then I can "fastboot boot 0.2.img". My phone restarts after approximately 5-10secs then black screen.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot "C:\Users\AndyCristi\Downloads\twrp-ocla1-test-0.2.img"
downloading 'boot.img'...
OKAY [ 1.214s]
booting...
OKAY [ 10.140s]
finished. total time: 11.358s

---------- Post added at 21:29 ---------- Previous post was at 21:24 ----------

In recovery mode my phone is not recognized by my computer, so no command can be sent.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
OK I'm making some changes then another test will be posted.

Do u have telegram if so it's alot easier to communicate. TWINNFAMOUS is my username
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Sorry, no telegram. Just Threema
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I'm not sure what that is but I'll have another test here shortly
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test 0.3

https://www.androidfilehost.com/?fid=1395089523397959178
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
My device now reboots immediately after boot command but again black screen and detached from USB (indicated by windows disconnection sound).

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot "C:\Users\AndyCristi\Downloads\twrp-ocla1-test-0.3.img"
downloading 'boot.img'...
OKAY [ 1.141s]
booting...
OKAY [ 10.137s]
finished. total time: 11.282s
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
1 more test coming but it's only for Europe devices like yours.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test 0.4

https://www.androidfilehost.com/?fid=1395089523397959220
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Unfortunately the same result as version 0.3
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
While on black screen and connected can u try adb
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Anything else I can do? Hard to get logs on this level I think?

---------- Post added at 00:36 ---------- Previous post was at 00:35 ----------

My device is not recognized by computer so "adb devices" gives no device.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I'm going to make more changes and see what I can come up with.
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Thanks for your efforts, I'll test whatever you come up with :good:.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test 0.5

https://www.androidfilehost.com/?fid=1395089523397959258

I hope this damn thing boots
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
New test

Test 0.6

https://www.androidfilehost.com/?fid=1395089523397959288
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Same as before, black screen after reboot from bootloader and detached from USB connection

---------- Post added at 12:00 PM ---------- Previous post was at 11:58 AM ----------

This time strange behaviour. Device reboots after booting image in fastboot and boots into system. Magisk was not installed anymore after that.

---------- Post added at 12:02 PM ---------- Previous post was at 12:00 PM ----------

Just for my understanding. I boot image in bootloader mode and then the device should reboot directly into TWRP right?
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
When in download mode you boot img.

I remade 0.6 with newer source I forgot to add the bootcontrol file
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Same download link as 0.6?
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test 0.6 is from different source.

I will add the bootcontrol file then build again
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Info regarding new tests going forward

This device shipped with 8.0 went to 8.1 then 9.0.

Starting from test 0.6 I'm using newer modified source code from u12+ if this works I won't have to rewrite my source code for ocl. As the HTC ocl I built for is not a/b so it may require a lot of changes.

Each test will be released with 3 different kernels. 8.0, 8.1, 9.0 . The reason for this is to find out which kernel is the one we need to boot.

I do not have the Android one version otherwise I would be able to produce faster results. So all testers are welcome as well as any devs that can assist us in going forward.

I'll have some new builds shortly.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
This is what we got so far

Anybody else want this to work send some testers
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test-0.8

https://www.androidfilehost.com/?fid=1395089523397959986
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test-0.9 please test and report back

https://www.androidfilehost.com/?fid=1395089523397960011

Instructions

fastboot boot twrp-ocla1-test-0.9.img

After it boots pull recovery log

adb pull /tmp/recovery.log
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test-0.9 boots

please get me logs
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Yeah, booting!

ADB while in TWRP:

C:\Program Files (x86)\Minimal ADB and Fastboot>adb pull /tmp/recovery.log
adb server version (31) doesn't match this client (39); killing...
* daemon started successfully
adb: error: failed to get feature set: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

When trying to copy logs to sdcard from within TWRP it says successful but I can't find any logfile on saving destination.

I'm also not able to mount USB storage or copy logfile to any other destination.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
It's OK I found the problem I'll make another build after work
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
New test

test 1.0

https://www.androidfilehost.com/?fid=1395089523397960606
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Unfortunately booting but then stuck in TWRP boot screen.

Recovery log attached, hopefully it is the correct one.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I'd suggest redownloading test-1.0

The other tester reports it boots right into twrp.
[HTC U11 Life Guides, News, & Discussion] street_dog:
tried to boot but fastboot says it uploading boot.img and there it stops...will try again tomorrow after work with another cable. am a bit suspicious about the cable...
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I've found some issues with 1.0 will build another test after work and post
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
New Test 1.1

Test 1.1

https://www.androidfilehost.com/?fid=1395089523397961873

Replaced kernel and fixed platform version not being set properly.

Please

fastboot boot twrp-ocla1-test-1.1.img

Please get me recovery.log as well as dmesg log. Thanks.

This build is for those on April security patch. So when testing decryption make sure you're matches. It will be changed later to work for all.
[HTC U11 Life Guides, News, & Discussion] Motto_MTR:
Did you try to boot from bootloader?
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I'm reworking some things then another build tonight
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
New test

Test-1.2

https://www.androidfilehost.com/?fid=1395089523397962576
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
This build also shows black screen for a few seconds then reboots into system. No root available after boot, have to reflash Magisk patched boot.img.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I'll be working on it.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test-1. 3

Test-1.3

https://www.androidfilehost.com/?fid=1395089523397963403

Ive added files from device and some code changes.

I'm pretty positive about this build.

Please test and report back.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
New test-1.4

Must be on April security patch date

https://www.androidfilehost.com/?fid=1395089523397963827

Please test and report back.

I'm 99% sure about this one.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
It failed I'll be back in a while. With another build.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
We fixed it and got it booting again but decryption is not working at the moment so after another build I'll post test-1.5
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test-1.5

Only small changes made so we can keep it working while it's getting tested.

Any security patch date can try this one.

Please post logs so things can be fixed faster.

https://www.androidfilehost.com/?fid=1395089523397964155
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Test-1.6 confirmed booting

https://www.androidfilehost.com/?fid=1395089523397964176

Please test and report back

I need to see if decryption works.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Important update

while in testing we came upon an issue where the phone freezes at twrp screen. The cause is file based encryption. That is what the .401 has. I've made a new build.

Please test and report back.

https://www.androidfilehost.com/?fid=1395089523397965490
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
twrp-ocluhl-test-0.1.img again stuck in splash-screen. Logs attached.

View attachment dmesg.log

View attachment getprop.txt

View attachment recovery.log

View attachment logcat.txt
[HTC U11 Life Guides, News, & Discussion] ozan2:
Any news about your work?
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Still haven't gave up. I recently had surgery and am recovering.

Are you willing to participate in testing?

I do not own the device so I can't test.

I have only 1 tester with device.
[HTC U11 Life Guides, News, & Discussion] ozan2:
No, because it is my single phone and i need it 24/24. I sold my fire phone for 40$, bad decision, cause now i could test to improve this phone

I hope you will pass without pains or problems your surgery, health is the most important

I don't know why, but i only buy phones which doesn't have big community, ex: Huawei P7 mini, Amzn Fire Phone, U11 Life

Have a nice day! Thanks for fast answer
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I have to update some things and stuff but keep checking for progress as I have time off from work so I've been working on different projects.
[HTC U11 Life Guides, News, & Discussion] street_dog:
i will naturally try every release...i am a masochist...
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Very well great to hear
[HTC U11 Life Guides, News, & Discussion] street_dog:
that i am an masochist or will try every release? :silly:
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
Try this and report back please

https://www.androidfilehost.com/?fid=6006931924117937237
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
No TWRP splash screen after booting with "fastboot boot" command. No adb available so I can't grab any logs...
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
I'll be taking a look at it when I get home.

I may strip the source bare to get it to boot.
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
New telegram page for testing

please get up to date with telegram page.

New test there as well

Ocluhl twrp testing

https://t.me/htc_ocluhl_twrp_testing
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Nobody wants to join testing???
[HTC U11 Life Guides, News, & Discussion] ozan2:
Twrp can't be created for u11 life after phones with same chipset? Ex Nokia 6.1 sd630
[HTC U11 Life Guides, News, & Discussion] twinnfamous:
U can try but thats not the issue we are having rite now.
[HTC U11 Life Guides, News, & Discussion] Zocker1012:
I'll test the recovery tomorrow
[HTC U11 Life Guides, News, & Discussion] metalchopf:
I'm willing to test

Hi guys,

I'm new to modding android devices, I'm hoping to get custom ROM on to my HTC U11 Life but i failed to boot into twrp.

I tried some of the posted images but not one was booting correctly.

Is a final release out or are you guys still trying (I hope).

Let me know what I can test and what date you need.
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
Unfortunately we didn't manage to get a working TWRP. There were some efforts with [MENTION=4668255]twinnfamous[/MENTION] who doesn't own the device and donated a lot of his time for developing a TWRP for our device.

Development is stuck at a point where it is still not working. [MENTION=4668255]twinnfamous[/MENTION] is not active anymore for reasons I don't know so there is no active development of TWRP for our device at the moment.

But you can try any GSI ROM without TWRP.
[HTC U11 Life Guides, News, & Discussion] metalchopf:
Thanks for the information, this is unfortunate...

I'm not familiar wiht GSI ROM, can you guide me in the right direction?

My Goal is to maky may HTC U11 Life without google...
[HTC U11 Life Guides, News, & Discussion] SHA_NDY:
You can have a look at https://xdaforums.com/project-treble/trebleenabled-device-development/gsi-lineageos-17-0-gsi-archs-t4004673.

This is a lineage OS GSI (Generic System Image) without Google stuff I think. A quick howto on installing GSI ROMs is located here https://www.xda-developers.com/flash-generic-system-image-project-treble-device/.

BUT:

I tried it several times but there are several bugs (force closes etc) for our device which need to be reported (logs and logs and logs) to the maintainer to fix them. It is not working out of the box. I gave up because restoring a backed up system.img of our device is not trivial (that's what I experienced). I never restored a system.img in a way my device booted afterwards. Never. The only way is to use the sdcard method to recover the whole device which is very annoying (OTA all the way from February of 2019 on Android 9 to the actual Android 10 state which means step by step OTA of every monthly update).
[HTC U11 Life Guides, News, & Discussion] metalchopf:
Thanks for the Informations.

I will look into GSI and try this out.
[HTC U11 Life Guides, News, & Discussion] Trymitius:
A
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ChInEsE ChIcKeN:
i have been search for some time now, maybe its the fact that i havnt been using the right words in the right format... but i was wondering after a flash of a new rom do i seriously have to go through all those installs of each CAB for each program? or is there a program or something that i could use that would install everything i want for me?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Fitipaldi1:
Check this out.

BTW, the ROM listed in your sig is UC compliant. Most chefs indicate this in the first post of a new ROM thread.

Edit: Also check out the AutoInstallers entry here
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bapssystupr3m3:
like the previous poster said...the new UC roms are so sweet...follow the rules on setting it up and then when u flash during the config session..it'll install all the cabs u setup )
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] ChInEsE ChIcKeN:
great thanks buys, i am still trying to read how to get everthing set up properly. but thanks for the info

if i cna manage to get everything working then it should save me a bunch of time.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] P1Tater:
Here is a link to one of my sdconfig files.

http://www.4shared.com/file/47813774/9ef2f269/SDConfig.html
[Samsung Galaxy S10 Questions & Answers] itssny:
Im on the newsted build (march security update) with my S10 but i dont get deepsleep but it worked some hours ago and after a restart it doesnt work anymore.

I dont know what to do? I fully setup my phone as a new phone no backup! Even wiped chache...
[Samsung Galaxy S10 Questions & Answers] Devhux:
Why did you create a new thread after posting the same question in the existing one?
[General Questions and Answers] Emilianoify:
Hi to all.

I would like to know if a blankflash has already been released for the motor z play as it updated and caused a hardbrick?

Thanks :(
[General Questions and Answers] ebersondsr:
yes available already
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
I'm currently on the Pie beta 3 (sideloaded N950U1UEU5ZSC2) and downloaded N950U1UEU5DSC1 from Sammobile. I am using Odin v3.13B and trying to flash to it but it fails every time. I am able to reboot the phone and get back into Pie beta 3 without any issues after it fails.

I have tried this without and with Kies installed, SmartSwitch, have tried connecting directly into a usb slot on my motherboard, the original cable that came with the phone, reinstalled Samsung drivers and I still can't get it to flash.

Any ideas?

!!!SOLVED!!!

Apparently USB 3.0 is this cutting edge technology but sucks in application of pretty much everything. Use USB 2.0 and if your motherboard only has 3.0 and so does your laptop, good luck.
[Samsung Galaxy Note 8 Questions and Answers] stonedpsycho:
What is the error given in Odin?
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
Interestingly enough, sometimes Odin just closes altogether so I lose the logs. Other times, it just says Fail and the log says "<ID:0/001> Odin engine v(ID:3.1301)..

<ID:0/001> File analysis..

<ID:0/001> skip file list for home binary

<ID:0/001> apdp.mbn

<ID:0/001> msadp.mbn

<ID:0/001> persist.img.ext4

<ID:0/001> dqmdbg.img.ext4

<ID:0/001> userdata.img.ext4

<ID:0/001> carrier.img.ext4

<ID:0/001> Home Binary Download

<ID:0/001> Total Binary size: 4503 M

<ID:0/001> SetupConnection..

<ID:0/001> Initialzation.."

it doesn't seem to move past this. I also have to hit Start 2-3 times before it begins. I just redownloaded it again to make sure the file wasn't corrupted.
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
[IMG="Screenshot"]https://i.imgur.com/EKSst2R.png[/IMG]
[Samsung Galaxy Note 8 Questions and Answers] stonedpsycho:
Maybe try the unpatched Odin? (Never seen that version before, is that for the U models specifically?)

Has Odin worked before? Or is this the first time? ADB and Samsung drivers installed?
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
I just downloaded the unpatched version of Odin (newest version). Samsung drivers are definitely installed, where do I get ADB drivers? Not familiar with that. And yes, first time with Odin!
[Samsung Galaxy Note 8 Questions and Answers] stonedpsycho:
You can get ADB drivers here - https://xdaforums.com/showthread.php?t=2588979

Just type "Y" to install all the drivers. Hopefully this will sort it for you.
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
Still no luck. Installed the ADB Drivers, reinstalled Samsung drivers (directly from Samsung's website), used the newest version of Odin (as administrator), rebooted. Still stuck at initializing and then after a few minutes Odin just closes.
[Samsung Galaxy Note 8 Questions and Answers] stonedpsycho:
Have nothing else to suggest :-/ Hopefully someone more knowledgeable will be able to help you.
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
That's okay! Thanks for trying! Maybe I'm missing something.
[Samsung Galaxy Note 8 Questions and Answers] joncurry94:
Just out of curiosity: is sideloading N950U1UEU5DSC1 an alternative to upgrading using Odin?
[Samsung Galaxy Note 8 Questions and Answers] mikeyk101:
Did you run it as an administrator? You can right click on Odin and get the administrator chouce.