Can't install any Customs Roms - Error 255 in TWRP

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Any ideas? I've tried TWRP 3.1.1.0 and 3.2.1.0 but it just reports back "updater process ended with error 255" and terminates?

Please help.
You are using the 32bit twrp to try and install a 64bit rom

My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this

Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353

Note - I do not support the unofficial 64bit twrp as I did not build it
 

junglebungle

Senior Member
Feb 1, 2011
382
98
0
You are using the 32bit twrp to try and install a 64bit rom

My official twrp does not support 64bit roms - if you read the faqs in my twrp thread you would know this

Read the instructions in the 64bit rom thread & use the unofficial 64bit twrp
https://androidfilehost.com/?w=files&flid=236353

Note - I do not support the unofficial 64bit twrp as I did not build it
Yeah I fixed it now, thanks anyway.
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Thanks.

I did that. I see the root folders but nothing in internal storage. And the size of internal storage shows as 0MB

See attachement

Thanks
Scroll down
Select storage folder
Select something like emulated then 0

If you don't see emulated than 0 or the folder is empty then internal storage isn't mounted - check the mount section of twrp or try using a different twrp

To check external storage it's the same as above but you select emulated then the folder with the sdcard hex value as its name which is different with every sdcard
 
Last edited:

grwalker

Senior Member
Aug 21, 2014
229
38
0
Holzhausen
Scroll down
Select storage folder
Select something like emulated then 0

If you don't see emulated than 0 or the folder is empty then internal storage isn't mounted - check the mount section of twrp or try using a different twrp

To check external storage it's the same as above but you select emulated then the folder with the sdcard hex value as its name which is different with every sdcard
Thanks for the post.

Unfortunately no luck. I cant see anything in the storage folder.

I have tried to mount internal storage also with no luck. Internal storage shows as 0MB

I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)

See attached
 

Attachments

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Thanks for the post.

Unfortunately no luck. I cant see anything in the storage folder.

I have tried to mount internal storage also with no luck. Internal storage shows as 0MB

I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)

See attached
Looking at your phone it doesn't look like a moto g5

It looks more like a g5 plus or g5s

What is your device xt name eg xt1676 - if it's not a moto g5 codename cedric you are in the wrong device forum and using the wrong twrp
 

grwalker

Senior Member
Aug 21, 2014
229
38
0
Holzhausen
Looking at your phone it doesn't look like a moto g5

It looks more like a g5 plus or g5s

What is your device xt name eg xt1676 - if it's not a moto g5 codename cedric you are in the wrong device forum and using the wrong twrp
Yes it is a G5. Here's a photo from bootloader

FYI... when i flash 32bit TWRP i can see internal storage. But, of course, i cant flash custom roms from there because they are 64bit. Tried with lineage and Res remix. Error255 results
 

Attachments

Last edited:

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Yes it is a G5. Here's a photo from bootloader

FYI... when i flash 32bit TWRP i can see internal storage. But, of course, i cant flash custom roms from there because they are 64bit. Tried with lineage and Res remix. Error255 results
Try this twrp
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB

If you can't mount internal storage your only option might be to format it

This will delete everything in the internal user data - pictures music documents etc - backup first!

Wipe - format data (option on the right)
Restart back to recovery
If it's not mountable wipe advanced wipe data and internal storage

Note if you didn't decrypt data (if asked) when launching twrp you need to format data anyway to remove encryption in order to be able to mount it
Also some 64bit twrp don't support encryption so it might not even ask for decrypt - the one I posted above should support encryption but you still need to format data if flashing a new rom
 
Last edited:

grwalker

Senior Member
Aug 21, 2014
229
38
0
Holzhausen
Try this twrp
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB

If you can't mount internal storage your only option might be to format it

This will delete everything in the internal user data - pictures music documents etc - backup first!

Wipe - format data (option on the right)
Restart back to recovery
If it's not mountable wipe advanced wipe data and internal storage

Note if you didn't decrypt data (if asked) when launching twrp you need to format data anyway to remove encryption in order to be able to mount it
Also some 64bit twrp don't support encryption so it might not even ask for decrypt - the one I posted above should support encryption but you still need to format data if flashing a new rom
Thanks, those steps worked.

Interesting on first install i didnt get a question about decrypting.

After reformat the only folder i saw in /sdcard was TWRP. So i dropped the rom and gapps zips in there. No problem flashing from there

Thanks for the help
 

TheFixItMan

Senior Member
Jul 8, 2012
7,654
3,922
253
London
Thanks, those steps worked.

Interesting on first install i didnt get a question about decrypting.

After reformat the only folder i saw in /sdcard was TWRP. So i dropped the rom and gapps zips in there. No problem flashing from there

Thanks for the help
Unless you set a lock screen pin and enabled encryption you won't

64bit twrp has encryption issues - I think the one I provided allows you to decrypt data on 64bit roms if you do encrypt it (depending on rom)

I don't have this device anymore so I only built the 32bit official twrp when I had it

Also you won't have any other files/folder in internal storage until you boot android for the first time which is why you only had the twrp folder there
 

riyan65

Senior Member
Mar 22, 2018
797
215
0
Thanks for the post.

Unfortunately no luck. I cant see anything in the storage folder.

I have tried to mount internal storage also with no luck. Internal storage shows as 0MB

I have tried all 64 bit versions of twrp from the link in this post (https://androidfilehost.com/?w=files&flid=236353)

See attached
You device is encrypted, so you need to format the device to gain access to the internal storage, so format the device.

Format<format<yes.

Take a back up of internal storage, so you don't lose Data.