CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.61k stars 401 forks source link

Huavei Mate 10 lite and file system extraction fault #1110

Open JanuszChmiel opened 4 years ago

JanuszChmiel commented 4 years ago

Dear specialists, I Am afraid, that I have found some very complex programmers issue between some Kernel feature of Android 7.0 which run on my HUAWEI Mate 10 lite smart phone. When ever I try to install Debian, I Am getting error while extracting file system. That some support files can not be created. To help you debug this complex problem, I have enabled The Proot debug level to The highest possible 9 value. I have allowed both app dialogs to help you to correct The problems. Now, I Am running Userland from The stable Google Play BETA channel. How could I help you more? Or unfortunately, this specific kernel from Huavei will never allow Me to run Userland effectively, because some of its kernel service do not work as it should? This phone model will not get official newer update. And I do not have money to buy never model from Huavei. It also uses build in special antivirus, which is being powered by Avast anti virus. This app can not be officially removed or turned off permanently. The similar issue exist on my Samsung SMGT 550 with Anroid 6.1. This Samsung kernel uses real time kernel protection routines so I Am afraid, if also Huavei do not use The similar techniques and if those techniques are not The cause of my issues. Sure! Phone is perfectly usable while using it from its Android official side. All apps are working, sound reactivity, perfect stability. But Proot calls some kernel routines and I have also found out, that When I have tried some other distros which uses Proot from Termux, that I have got warning that some symbolic link have been changed from 6 to 8. And I do not know, if it is normal, or if is it A signal, that kernel is doing something bad on real time which is causing problems with Linux emulators based on Proot. Thank you very much for yours time. I will try to send you prootdebuglog because I do not know, if it will be automatically send to you when I have enabled error reporting on.

enforce-issue-templates[bot] commented 4 years ago

Hello @JanuszChmiel!

This message has been autogenerated.

It looks like you've posted an issue, but in order for us to best assist you, we need some additional information. We have created some issue templates to make this process easier. You can find them here.

These templates contain lines that begin with the '#' character. These lines are headers. In your issue, please leave these headers as is, and fill out information relevant to the header in the space below it.

If you don't think that you have any information relevant to the header, fill the space below it with something like 'N/A', or consider using a different template.

These headers are essential in allowing us to recreate and resolve your issue. The more detailed your issue, the more quickly we can begin working on it.

This bot could not detect which template you were trying to use. Please follow the link above to find a template to use.

If your issue is not updated to follow a template, it may be removed. If you edit your issue to follow a template, the bot will remove its comment.

Thanks for your help in improving UserLAnd!

JanuszChmiel commented 4 years ago

Proot_Debug_Log.zip

JanuszChmiel commented 4 years ago

Describe the bug

A clear and concise description of what the bug is, and what expected behavior is. Include whether the bug occurs before or after entering a terminal or vnc client session. When I install Debian distribution, when files download finishes and app show extracting file system, The error will appear. "Userland has encountered to an illegal state." Afer I confirm OK button that I want to help you to send errors? The dialog shows: "Setting up file system, extracting tar, broken pipe."

Steps to reproduce the behavior:

A list of exact steps to reproduce the behavior. If we cannot follow the steps to recreate the issue, we won't be able to help you. For example:

  1. Go to '...'

  2. Click on '....'

  3. Scroll down to '....' Click on The Debian Icon on The main screen. Fill out The required information including user name and password. Click OK. Wait till The app will download The necessarz files. When extracting, app will show error message.

Screenshots

If applicable, add screenshots to help explain your problem.

It is not important, I have send proot debug log file.

Device Information

Device: [e.g. Pixel XL 2]. HUAWEI Mate 10 lite

Android Version: [e.g. Oreo, 8.0].

Android 7.0

UserLAnd Version [e.g. 0.1.2].

2.6.5

Whether the device is rooted.

No, device have not been rooted. Official Fota module and HiSuite app for Windows inform Me, that I have The latest official Android release installed for this device model.

Whether the device is running LineageOS

No, device is not running this special Android variant.

Please add any other context you think might help us resolve your issue.

I have even tried to specifz other client than SSH to overcome this issue. BUt error still persists. I will trz Arch Linux instead, but I Am afraid, that it is not A solution, that other issues will occur, if is it some specific Kernel problem. Proot_Debug_Log.zip

JanuszChmiel commented 4 years ago

Thanks to The one very kind Proot programmer, who made Proot for Termux with The whole team, I have got A cause of my issues. The problem is that Huavei 10 mate lite uses case insensitive filesystem. As A result, some file names are causing crashes and files can not be created. Unfortunnately, it is not trivial issue to solve. Since It is impossible to safely simply reformat all phone build in partitions to other file system which will not be case insensitive filesystem You. There are many other Android devices, which are using such file systems. And as A result, such devices can not use Proot and Linux distributions for now. The paradox situation is, that all Termux packages can work including The most complex ones. I Am discussing about it with kind and very advanced programmers of Proot for Termux. so if there will be some solution, it will be available. But I AM afraid, that I will have to access The sad true, that some file systems are case insensitive, and as A result, I will not be able to use Linux which uses Proot.