[Unofficial] HTC U11+ TWRP Recovery

AGMGCM

New member
May 22, 2018
2
0
0
Any dangers?

Hi guys,

I recently bought a U11+ from a friend's friend and he had TWRP on the device. I have done a factory reset but is there any harm in leaving TWRP there, I like my phones completely clean before I start using them. Is there any easy way of removing TWRP or should I leave it?

Thanks!
 

leicablue

Member
Jan 2, 2016
35
5
0
Hi guys,

I recently bought a U11+ from a friend's friend and he had TWRP on the device. I have done a factory reset but is there any harm in leaving TWRP there, I like my phones completely clean before I start using them. Is there any easy way of removing TWRP or should I leave it?

Thanks!
Should be fine if all works, as long as you don't try sell it to an mobile exchange kind of place where they check everything, or sell to someone who knows what to look for...either case they may not want to buy as they will see it's been rooted at some point. I
 

poppy22

Senior Member
Mar 12, 2012
128
215
73
YunNan-QuJin
I tried to compile lineageOS-15.1, but when I entered it, I hint that there was no space on the device. Is it the problem of the brush bag? Or the problem of the brush script?


View attachment dmesg.log
View attachment recovery.log

HTML:
I:operation_start: 'Flashing'
Installing zip file '/sdcard/lineage-15.1-20180523-UNOFFICIAL-ocm.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
Verifying package compatibility...
Package doesn't contain compatibility.zip entry
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
SELinux: Loaded file_contexts
Target: htc/ocmdtwl_01405/htc_ocmdtwl:8.0.0/OPR6.170623.013/1010171.4:user/release-keys
Target: htc/ocmdtwl_01405/htc_ocmdtwl:8.0.0/OPR6.170623.013/1010171.4:user/release-keysExtracted file "/tmp/install/bin/backuptool.functions"
Extracted file "/tmp/install/bin/otasigcheck.sh"
Extracted file "/tmp/install/bin/backuptool.sh"
Extracted 3 file(s)
detected filesystem ext4 for /dev/block/bootdevice/by-name/system

detected filesystem ext4 for /dev/block/bootdevice/by-name/systemabout to run program [/tmp/install/bin/backuptool.sh] with 2 args
run_program: child exited with status 127
Patching system image unconditionally...
performing update
Patching system image unconditionally...blockimg version is 4
maximum stash entries 0
creating stash /cache/recovery/2bdde8504898ccfcd2c59f20bb8c9c25f73bb524/
221978624 bytes free on /cache (0 needed)
 erasing 670598 blocks
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
 writing 1024 blocks of new data
write failed: No space left on device
Failed to write 32768 bytes.
missing 2162688 bytes of new data
failed to execute command [new 2,955916,956940]
script aborted: E1001: Failed to update system image.
E1001: Failed to update system image.error: 1001
cause: 105
Updater process ended with ERROR: 7
I:Install took 21 second(s).
Error installing zip file '/sdcard/lineage-15.1-20180523-UNOFFICIAL-ocm.zip'
Updating partition details...
Failed to mount '/system' (Invalid argument)
I:Actual block device: '/dev/block/sda5', current file system: 'ext4'
I:Data backup size is 0MB, free: 112902MB.
I:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
 

sabpprook

Senior Member
Dec 8, 2011
268
366
0
Kaohsiung
I tried to compile lineageOS-15.1, but when I entered it, I hint that there was no space on the device. Is it the problem of the brush bag? Or the problem of the brush script?
The size of system partition is different between ocmdugl and ocmdtwl, please correct the size definition and make a new build.
 

teorouge

Senior Member
Jul 29, 2008
2,613
293
0
39
Trento
Go to settings and check the software number
The SKU number for China is 1405/1403 and software number will be like this 1.XX.1405.X

Another way to figure out, does phone brings with Google APPs? If not... it is ocmdtwl (for China)

It's GAPPS enabled so definitively not Chinese... software number's 1.24.709.7 so I guess it's Taiwanese. Thanks for the lesson! ;)
 

vegetaleb

Senior Member
Feb 26, 2010
10,402
2,388
253
Beirut
I will root tonight, I usually get magisk when installing a custom rom, but this time I want to install magisk on my stock rom, I just have to install magisk zip in twrp? Or there is another step?
 

Cryptycat7

Senior Member
Dec 21, 2017
185
90
0
I will root tonight, I usually get magisk when installing a custom rom, but this time I want to install magisk on my stock rom, I just have to install magisk zip in twrp? Or there is another step?
Just make sure, that system is not mounted read only. (swipe to allow modifications on first boot to TWRP). Flash the Magisk zip of your choice. 16.0 and 16.4 both work fine. Currently on the latest beta.
 
  • Like
Reactions: vegetaleb
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone