lildebi icon indicating copy to clipboard operation
lildebi copied to clipboard

Can't install on Samsung Galaxy i9100 with CyanogenMod 12.1

Open karstengit opened this issue 9 years ago • 20 comments

I think you need the log created. Here it is:

manufacturer: samsung model: GT-I9100 product: GT-I9100 brand: Samsung device: GT-I9100 board: smdk4210 ID: LMY48Y CPU ABI: armeabi-v7a release: 5.1.1 incremental: 94e1372c6d codename: REL SDK: 22

install.log:

cd /data/data/info.guardianproject.lildebi/app_bin

./create-debian-setup.sh /data/data/info.guardianproject.lildebi/app_bin /storage/sdcard0 /storage/sdcard0/debian.img /data/debian \

&& ./stop-debian.sh /data/data/info.guardianproject.lildebi/app_bin /storage/sdcard0 /storage/sdcard0/debian.img /data/debian
&& ./unmounted-install-tweaks.sh /data/data/info.guardianproject.lildebi/app_bin /storage/sdcard0 /storage/sdcard0/debian.img /data/debian
&& ./start-debian.sh /data/data/info.guardianproject.lildebi/app_bin /storage/sdcard0 /storage/sdcard0/debian.img /data/debian
&& /data/data/info.guardianproject.lildebi/app_bin/chroot /data/debian /data/data/info.guardianproject.lildebi/app_bin/complete-debian-setup.sh /data/data/info.guardianproject.lildebi/app_bin /storage/sdcard0 /storage/sdcard0/debian.img /data/debian

./stop-debian.sh /data/data/info.guardianproject.lildebi/app_bin /storage/sdcard0 /storage/sdcard0/debian.img /data/debian

exit

Cannot execute /data/data/info.guardianproject.lildebi/app_bin/sh: No such file or directory

karstengit avatar Jan 15 '16 17:01 karstengit

install.log.zip

karstengit avatar Jan 15 '16 17:01 karstengit

I have the very same problem on a:

  • Samsung Galaxy S3 Mini / GT-i8190
  • CyanogenMod version: 12.1-20160209-UNOFFICIAL-golden (From: http://maclaw.pl )
  • Android version: 5.1.1
  • The device is rooted. Verified by the "Root Verifier" app.
  • Google Store/Play is not installed

leokitten avatar Feb 16 '16 22:02 leokitten

I could already analyze the error that occurs with the debian kit of Sven Ola - but i could not fix it. http://www.apk20.com/apk/231695/ (original http://sven-ola.dyndns.org/repo/debian-kit-en.html)

Here was the problem that after Cyanogenmod 10 the busybox does not correct support the busybox ash. https://en.wikipedia.org/wiki/Almquist_shell http://lists.busybox.net/pipermail/busybox/2012-June/078044.html

Maybe here it is an similar problem? Does this project use ash shell?

leokitten, have you found another Debian implementation that works with Cyanogenmod? I could find here another variation i will try: http://forums.debian.net/viewtopic.php?f=16&t=106246

karstengit avatar Feb 17 '16 10:02 karstengit

I'm not a Linux expert, but I guess that the problem is that it searches for system files in this folder: /data/data/info.guardianproject.lildebi/app_bin/

when I linked the "sh" there, with a symbolic link, it went further and asked for more system commands to be found there. If this is a shell script, then maybe just the $PATH is not set up correctly.

leokitten avatar Feb 18 '16 11:02 leokitten

(i'll check it tomorrow night)

leokitten avatar Feb 18 '16 11:02 leokitten

Yes - the problem is that this Debian implementations are not easy to understand. It must be embedded into the Android system using it's kernel. This is done with scripting that is not documented (solution Sven-Ola), but it is using tricky programming. :-( But i have same limited shell knowledge that maybe will help.

I did not have a closer look on the lildebi solution, but maybe we can find the problem together? Can you say me anything about the installation process?

It's a pity that there is no support by the authors of this solutions ...

karstengit avatar Feb 18 '16 12:02 karstengit

i gave this up, and since i had other problems too (like the GPS isn't working) i've ordered an Ubuntu Touch phone (BQ Aquaris E5 HD Ubuntu Edition). I'll be curious how it'll work out.

leokitten avatar Feb 19 '16 19:02 leokitten

Don't give up! :-) The i9100 is working good with CM-11-20141115. One of the little bugs is that you can't activate the GPS with the short menu. You must go into the settings and switch it on. Then it is working good.

This Ubuntu phone sounds interesting - but you must spent a lot of money for it. Do you have an X11 and an native linux distro direct that is usable?

karstengit avatar Feb 19 '16 19:02 karstengit

Now i'm reinstalling CM with a total wipe/reformat. I read somewhere that this can make a difference. And also installing the google apps (from the same source).

My desktop is windows, but the docking station must also work if I run an Ubuntu in a virtualbox, because that's just USB.

leokitten avatar Feb 19 '16 20:02 leokitten

cool now the GPS works. Will try to install Busybox before lil debi.

leokitten avatar Feb 19 '16 20:02 leokitten

  • The phone was previously rooted using this guide: http://novafusion.pl/tutorials/installation-guide-golden/
  • Booted into recovery mode, wiped everything and reformatted it
  • Installed CM 12.1: http://novafusion.pl/tutorials/installation-guide-golden/
  • Installed Google Apps (the "full" package): http://novafusion.pl/tutorials/how-to-install-google-apps/
  • After reboot and basic configuration: Waited until google updates itself (took some time)
  • Enabled the developer tools. Enabled root access. Enabled the local terminal.
  • Installed Busybox (free) from the Google Play Store
  • Tried to install Lil' Debi: same error

But I saw that the Google Store had some other Debian solutions. Although those are not chroot I guess.

leokitten avatar Feb 19 '16 21:02 leokitten

CM12 is crashing the camera. https://jira.cyanogenmod.org/browse/CYAN-7358 Do you have the same problem? I did not install the Google stuff because i used Cyanogenmod to have a mobile that will keep my privacy. ;-) http://www.kuketz-blog.de/cyanogenmod-android-ohne-google-teil3

Besides - what is the GSM / 3G base of the Ubuntu phone - is it Android?

karstengit avatar Feb 20 '16 09:02 karstengit

Unfortunately it seems to me that Android based systems (CM also) are only stable when the Google apps are installed, and when instead of the "Trebuchet" launcher one selects the Google launcher. For example my other problem was that Skype couldn't use the microphone, but when I switched to the Google launcher, it just worked! And a lot of apps worked only when they were installed from the google store.

I read a developer comment about "Ubuntu Touch" that said, in the beginning when they started the project it was CM/Android based, but later they have made Ubuntu the underlying system instead of Android. So in theory it's running natively, and not in a virtual environment of an Android framework.

leokitten avatar Feb 20 '16 12:02 leokitten

(BTW the camera works fine for me. I've opened and closed it multiple times.)

leokitten avatar Feb 20 '16 13:02 leokitten

My system crashed after taking a photo. Special after opening, closing, reopening and then taking photos after some usage.

I am using CM11 without the Google package and i have installed F-Droid instead. I have no problems. When i really want to install an package from the Google store i download it over a website, push it to the SD and install it. This works.

But of course the sense of the Google world is to stay in it "to be safe that everything works fine" - including grabbing all your personal data. ;-) So my decision was to keep privacy and instead live with the problems that parts are not working "perfect".

When the Ubuntu phone is without Android this would be an argument for me to buy it! But i could not find any clear facts about this.

Another problem seems to be the sources of the GSM and UMTS stuff for interacting with the radio network. Normally you only get it compiled, and this parts are used in compiled form from the manufacturers in Cyanogenmod. Getting the source would enable to use the phone for every purpose you want, including a walkie talkie or hacking the network. ;-)

karstengit avatar Feb 20 '16 13:02 karstengit

Another idea for experiments: https://wiki.ubuntu.com/Touch/Devices https://wiki.ubuntu.com/Touch/Devices/i9100 but many things are not working ( Cellular Radio 3G is working, but calls/SMS are not )

Source code for the Ubuntu phone: https://github.com/bq/aquaris-E5/tree/aquaris-E5/kernel/drivers I will try to find the drivers in it ...

http://www.gizmag.com/ubuntu-edge-smartphone-computer/28481/ Hmm - is this the same for the "BQ Aquaris E5 HD" ?

karstengit avatar Feb 20 '16 13:02 karstengit

IRC may be a better place for the last several comments. Lildebi's latest code has been broken due to busybox and gpgv compilation issues. On Feb 20, 2016 7:50 AM, "karstengit" [email protected] wrote:

Another idea for experiments: https://wiki.ubuntu.com/Touch/Devices https://wiki.ubuntu.com/Touch/Devices/i9100 but many things are not working ( Cellular Radio 3G is working, but calls/SMS are not )

Source code for the Ubuntu phone: https://github.com/bq/aquaris-E5/tree/aquaris-E5/kernel/drivers I will try to find the drivers in it ...

http://www.gizmag.com/ubuntu-edge-smartphone-computer/28481/ Hmm - is this the same for the "BQ Aquaris E5 HD" ?

— Reply to this email directly or view it on GitHub https://github.com/guardianproject/lildebi/issues/197#issuecomment-186602708 .

adamjhogan avatar Feb 20 '16 14:02 adamjhogan

Thanks for the tip my godlessfather!

Where can i find details about this problems with busybox? Maybe this is the general reason for all the problems with the Debian implementations?

karstengit avatar Feb 20 '16 14:02 karstengit

Android 5+ requires binaries to be compiled differently than previous releases. The reason things break is that our current way of building busybox addresses that requirement but doesn't work with Android's way of networking. Simply putting CM's busybox in place of lildebi's fixes that. You're still left with gpgv failure. I'm not sure what's going on with it. Check out other issues and the comments such as https://github.com/guardianproject/lildebi/issues/196#issuecomment-170257866.

Anyone better than me at coding, please feel free to investigate PIE/static compilation of busybox and gpgv to solve this persistent issue. There's a reason some busybox binaries work with network commands like wget bit this one doesn't. Is it bionic libc vs. glibc? Why does gpgv fail? Issue #176 and #159 mention this.

adamjhogan avatar Feb 20 '16 16:02 adamjhogan

Same problem.

I have: Rooted; Samsung Galaxy Note 2 (GT-N7100/Android 4.4.2); SuperSU Pro.

Rbagman avatar Apr 04 '16 13:04 Rbagman