Closed SteMo closed 11 years ago
hmm, seems like 4.1 has different 'su' syntax. Could you try replacing all instances of "su - sh" with "su -c sh"
I just pushed a bunch of changes, including some that directly address this. I even made a binary for easy installation: https://guardianproject.info/builds/LilDebi/
Could you test and report back if it works for you or not?
Thanks for your quick reply eighthave! Replacing "su - sh" with "su -c sh" for each instance worked for me. The following classes had to be modified: src/info/guardianproject/lildebi/InstallService.java src/info/guardianproject/lildebi/OnBootService.java src/info/guardianproject/lildebi/LilDebi.java I did it before your second post but had no time to respond - I'll check your build tomorrow.
Your build didn't work for me. I tried to locate the error but didn't succeed, so I captured 2 logs for you:
I just saw this problem on my friend's Samsung Galaxy S3. If you look further up the log, do you see a Java stacktrace? It should tell you something like: can't unzip "kioskmode". Basically, the assets included in the .apk didn't get unpacked properly, so your app is missing the file that is being executed. I just committed some fixes to try to make the asset unpacking more robust.
I think this is fixed, please comment and/or reopen this bug if it is not.
Hi all,
I'm trying to setup Debian on my rooted Galaxy Nexus with Android 4.1.1 using lildebi. I built it successfully and pushed it on my phone. Next, i started lildebi app and wanted to download and install debian - no success. Hence, I downloaded the image and pushed it on the SD card. Now, when I push the button "Configure Image" I get the output "Unknown id: sh". I attached my ddms log too:
08-07 13:28:56.799: E/su(12776): Unknown id: sh 08-07 13:28:56.806: I/LilDebi(12063): cd /data/data/info.guardianproject.lildebi/app_bin 08-07 13:28:56.806: E/LilDebi(12063): Error!!! 08-07 13:28:56.806: E/LilDebi(12063): java.io.IOException: write failed: EPIPE (Broken pipe) 08-07 13:28:56.806: E/LilDebi(12063): at libcore.io.IoBridge.write(IoBridge.java:462) 08-07 13:28:56.806: E/LilDebi(12063): at java.io.FileOutputStream.write(FileOutputStream.java:187) 08-07 13:28:56.806: E/LilDebi(12063): at java.io.OutputStream.write(OutputStream.java:82) 08-07 13:28:56.806: E/LilDebi(12063): at info.guardianproject.lildebi.LilDebi.writeCommand(LilDebi.java:196) 08-07 13:28:56.806: E/LilDebi(12063): at info.guardianproject.lildebi.LilDebi$CommandThread.run(LilDebi.java:166) 08-07 13:28:56.806: E/LilDebi(12063): Caused by: libcore.io.ErrnoException: write failed: EPIPE (Broken pipe) 08-07 13:28:56.806: E/LilDebi(12063): at libcore.io.Posix.writeBytes(Native Method) 08-07 13:28:56.806: E/LilDebi(12063): at libcore.io.Posix.write(Posix.java:178) 08-07 13:28:56.806: E/LilDebi(12063): at libcore.io.BlockGuardOs.write(BlockGuardOs.java:191) 08-07 13:28:56.806: E/LilDebi(12063): at libcore.io.IoBridge.write(IoBridge.java:457) 08-07 13:28:56.806: E/LilDebi(12063): ... 4 more
I would appreciate any hints and ideas.
Stephan