[GUIDE] LinuxonAndroid on the Galaxy S III i9300 -UPDATED - Galaxy S III General

First and formost: I am not the original creator of this work and I am only offering my method of getting this to work with your Galaxy S III. I had some issues which I worked out myself and with a little help from the official support from LinuxonAndroid.
All credits go to the original creators of this work, Android on Linux:
Official website
XDA page
Complete Android on Linux app via Google Play
There are two main methods of getting the required files. One is via the App, the other is from the website. There is a third option of building your own image, detailed in the app, but I had problems with rootstock and qemu so I can't verify it works. Also, rootstock has been depreciated and isn't in the official repositories any more.
Currently, I find the LXDE version to be quite smooth with a Swapfile on. There is also no Audio output.
You WILL need:
Install the app listed above from Google Play.
Also, download Android Terminal Emulator if you don't already have that installed and android-vnc-viewer.
You will also need something like Root Explorer or ES File Explorer. ES is great and free. I recommend that.
The Guide:
Follow the instructions in the app. Download your chosen image and extract it somewhere on your phone's internal SD card. A Folder called Ubuntu might be best You can also use the above website links and get them yourself form SourceForge or BitTorrent.
Now open up your file explorer and navigate to /data/data/com.zpwebsites.linuxonandroid/files/ Inside you should see a file called "bootscript.sh". You can either delete it and replace it with the modified file I provided or you can make the following changes:
Find:
Code:
###########################################
# Checks if you have a external sdcard #
# and mounts it if you do #
###########################################
if [ -d /sdcard/external_sd ]; then
$bbox mount -o bind /sdcard/external_sd $mnt/external_sd
fi
Add Under:
Code:
if [ -d /mnt/extSdCard ]; then
$bbox mount -o bind /mnt/extSdCard $mnt/external_sd
fi
Save or overwrite that file and move onto the next step. This may be incorporated into the next bootscript update, it may not. Make sure you check for this!
Ok, we should now be ready to first boot. Open the Complete Linux On Android app and navigate to "Launch". Point the laucnh page towards the palce you stored the iamge, also hit "Configure Linux" and tick the Swap File option. VERY important to do that. You can click the button that says "Boot" and the Android Terminal Emulator should open up and proceed to boot!
You may get an error here but it should continue normally and won't be a problem. You will be asked for your resolution and Unix password. The Password will be your LINUX password to authorise root access as normal. The resolution you should set is 1280x720 to match the resolution of our Galaxy S III displays.
You should get a read out like this when all is done and successful:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now we can move into the last step, getting to the desktop!
Open up the AndroidVNC app from the app drawer (if you didn't install that already do so now, the links are above).
Enter whatever you like for the Nickname. Ubuntu would be a good one, or you can just leave it blank.
Enter "localhost" without the quotes as the Address.
Enter "ubuntu" without the quotes as the Password.
Leave the Port as 5900
Hit connect!
You should now see something like this:
​
Touch Input seems to be the best input method for AndroidVNC.
Lots of information and support can be found via the app and the official Android On Linux website!
​
Things you could do:
Use a USB dock, Mouse and Keyboard + HDMI to enable this into a full desktop!
Download a VNC program for your PC and connect over Wi-Fi to remotely control your install
Donate
You should buy the donate version of the app on Google Play store to unlock beta features and support the devs! It comes in a few flavours, £1, £2 etc. All donations receive the features! Support these guys!
Phone Fund
Help these guys get more devices to port this over to, like our GS3, then we can expect more features!
http://www.indiegogo.com/Linuxonandroid
Thanks:
Thanks to Zack and Tuxling for getting this off the ground and creating the images and app!
Thanks to Francis Is Bacon, Zack and Brouche on the Linux on Android IRC for their help getting this running

Updated!

Yeah, now i can build cm10 kangs at cinema with my sgs3
Thanks, maybe i will test it later

how could I miss this? :crying:
going to test this, thanks!

Use a USB dock, Mouse and Keyboard + HDMI to enable this into a full desktop!
I've been looking for whole forum to see it it's possible, and it's not possible yet, you must choose if you use de OTG or MHL. We're still waiting for some kernel developers solve this issue.
Click to expand...
Click to collapse
Click to expand...
Click to collapse

Ahh, maybe Bluetooth, then?

Kryten2k35 said:
Ahh, maybe Bluetooth, then?
Click to expand...
Click to collapse
Yes, this would be another option but i'm not sure if you can connect a bluetooh mouse and keyboard... Hope samsung or anybody else fix the problem with mhl connector

topfreitas said:
Use a USB dock, Mouse and Keyboard + HDMI to enable this into a full desktop!
I've been looking for whole forum to see it it's possible, and it's not possible yet, you must choose if you use de OTG or MHL. We're still waiting for some kernel developers solve this issue.
Click to expand...
Click to collapse
Working great with a BT keyboard with integrated trackball and hdmi for the display.
I'm using the keysonic ksk-3201 BT
My trouble now is that the tv out is not working with cyanogenmod.
I think need to get back to stock i9100 rom but the power needed by ubuntu/gnome need a faster rom.
Click to expand...
Click to collapse
Click to expand...
Click to collapse

So when you say to add the code in the boot script am I just pasting the /extsdcard add on or removing what you have above it as well?
Sent from my GT-I9300

CreekDirt said:
So when you say to add the code in the boot script am I just pasting the /extsdcard add on or removing what you have above it as well?
Sent from my GT-I9300
Click to expand...
Click to collapse
Hi mate,
You can remove what they have there or add it as well. I'll clean up the OP now to make this clearer.
Add this:
Code:
if [ -d /mnt/extSdCard ]; then
$bbox mount -o bind /mnt/extSdCard $mnt/external_sd
fi
UNDER:
Code:
###########################################
# Checks if you have a external sdcard #
# and mounts it if you do #
###########################################
if [ -d /sdcard/external_sd ]; then
$bbox mount -o bind /sdcard/external_sd $mnt/external_sd
fi
PUT HERE
REST OF STATEMENTS ARE HERE
You can also just get rid of all the other statements if you want since none of them are specific to the GS3.

I will try later. Thanks for the guide.
Enviado do meu GT-I9300

Related

Linux Window Manager on Android.

Do any of you think it's possible to run a full blown Window manager on our phones?
Not anything like gnome or kde, but awesome or lxde.
I have grown increasingly tired of all of Android's home applications.
Look forward to seeing comments
Well, I know you can run Debian Linux on our phones... I don't really think there is a point though because our CPU isn't powerful enough to make it very functional. The Droid may have a chance, and the Nexus One or Evo probably could.
Our phones should be powerful enough. Awesome and similar window managers use very little cpu.
wow, I'm no where near able to answer your question but what an interesting idea!! That would be very cool!
Thanks to REGAW helping me learn I used my new gnome bootable usb last night, how cool!!
Only downside is it doesn't save ANYTHING from the session, I'm going to partition some space for it on my hdd
id love to see ubuntu ported to our heros. the tp2 users have it, why not us?
I'd say Ubuntu is a bit too much I think a Debian port would be much more friendly.
Now that I think about it, I wonder if gentoo could be compiled on the phone and used as a phone.</off topic>
This topic is about running a *Window Manager* on the phone, not another operating system. I was reading about Android on the Wikipedia page earlier, and I read that there was no X support, so I dont think it would be very easy to get it working :/
Some of those manager are deathly simple. I guess they could potentionally be ported.
if you were running one of these overclocked roms would this change anything, I found this elsewhere, I didn't write it, you may have read it before:
OK, here's howto get Debian up and running on your HTC Hero running the MoDaCo Custom Rom 2.9:
1. Download this archive:
androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=21
2. Extract the archive, resulting in a folder 'debian'. Inside this folder
replace 'installer.sh' and 'bootdeb' by the files provided with this howto.
Make sure they are replaced, delete the old ones first!
3. copy the folder 'debian' to the root of your sdcard. The root is the highest level, e.g.
drive E:\ if you are on a windows pc. Unmount sdcard on pc and phone.
4. Download ConnectBot from the market. See included QR-Code for use with Barcode Scanner app.
5. Start ConnectBot and open a local shell. To do so click on the drop down menu on the lower left
that says 'ssh' and select local.
6. As this is your first start of Debian you need to "install" it first. Execute the following
commands (press enter at the end of each line, always allow root access if asked):
su -
cd /sdcard/debian
sh installer.sh
bootdeb
At this point you are changing into the Debian environment. From now on do not restart
your phone or kill ConnectBot without executing 'exit' first. Now continue with commands:
/scripts/onetime.sh
exit
That's it, you are done! Now you can do whatever you want with your Debian installation.
7. To go into Debian from now on you use the following commands in a local shell in ConnectBot:
su -
bootdeb
You can automate that by passing these two commands as 'post-login automation' in ConnectBot,
long click the 'Local' entry in ConnectBot and edit the host.
Remember to leave with 'exit'! Alternatively you can click the trackball once and then press 'd'
on the keyboard. This resembles 'Ctrl+d', which is the logout command for unix shells. Do this
two times more to shut down the local shell in ConnectBot.
8. If you want to access your Debian by ssh execute the following command:
/etc/init.d/ssh start
9. To free some space in your image file execute the following command in the Debian environment:
apt-get clean
Do this also after every usage of 'apt-get upgrade' or 'apt-get install'.
10. For additional information here is howto resize your debian.img (for Linux only):
androidfanatic.com/cms/community-forums.html?func=view&id=1610&catid=9
And see here howto install a graphical desktop enviroment, in this case lxde or icewm:
(Note that i had to resize my debian.img first!)
wiki.lxde.org/en/Android
I'm not going to quote the entire post
@tmachovec: thanks for the info, but I'm looking to see if we can actually run it on the phone. Not connect to a fake X11 server over local ssh. I appresicate the input. But I'd like to run this on the phone
http://www.gentoo.org/main/en/where.xml
Gentoo has an ARM build, so it's possible.
noidea` said:
I'm not going to quote the entire post
@tmachovec: thanks for the info, but I'm looking to see if we can actually run it on the phone. Not connect to a fake X11 server over local ssh. I appresicate the input. But I'd like to run this on the phone
Click to expand...
Click to collapse
Gnome, KDE, IceWM or LXDE Desktop on your Android! 1 Year, 2 Months ago Karma: 9
IMPORTANT UPDATE: Many comments on sites that have blogged this post seem to be getting the wrong end of the stick. This is not connecting to a remote desktop on another machine! This is x11 and LXDE Desktop running LOCALLY on the G1 device, the reason I had to connect back to LOCALHOST using VNCViewer (also running LOCALLY on the device) is because there are no drivers available. This circumnavigates the need for any special drivers.
Now back to business!
It's official you can run X-Windows and your choice of GUI (Gnome, KDE, IceWM etc on an Android device!
Screenshots are below!!
androidfanatic.com/community-forums.html?func=view&catid=9&id=1620#1620
wow im lost in all this (NOT linux savy)
what does this mean?
Ok, so I've been trying to do this and I can never manage to get it working. When debian boots, it gives me an array of errors, but its too quick to reboot so I can't read whats wrong. I'm 99% sure it has something to do with the image being read off the sdcard. I read the installer script and manually moved all the necessary files because the script would not do it.
Yes, I ran everything as su
Has any one else had problems with this?
Thanks tmachovec
Any one have info on my problem?
I couldn't get it to load either, same problems with getting Debian to boot. I know a little about linux but not enough solve these issues.
noidea` , I have no idea.
just wondering has any one been able to do this successfully on their Hero's?
noidea` said:
just wondering has any one been able to do this successfully on their Hero's?
Click to expand...
Click to collapse
Have you tried doing some of the stuff from this site
http://android.modaco.com/content/htc-hero-hero-modaco-com/292093/debian-lenny-now-running-on-hero/
Its the gsm htc hero.. Different phone, but some of the stuff might definitely apply.
Heres a post I made after i got it to work
http://forum.xda-developers.com/showthread.php?p=6438126#post6438126
I GOT IT WORKING
here is a screen shot.. Im willing to do any kind of screen shot to prove it
Ill zip up my exact files that I use and the simple command to get it up and running.
Ill open up something and type my name and post a screen shot in a bit.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[APP] Compiled lynx binary for android - Shell or ADB

I've searched the web, and found no lynx binaries for android, so I set out to compile it myself.
For the uninitiated, lynx is a text-based browser. No images, no javascript, no flash. Just pure content.
You can use it by connecting to your phone through adb, telnet, ssh or a shell on the phone itself.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is lynx version 2.8.8 with ncurses 5.9
I pretty much just followed the instructions at http://www.embedu.org/Column/Column294.htm, and added a flag to make the linking static. No code changes were required.
Installation instructions
Root is not required.
You need to unzip the file on the /sdcard folder. The following files must exist:
/sdcard/lynx/lynx.cfg
/sdcard/lynx/lynx.lss
/sdcard/lynx/cache/
Then you need to move the binary to /data/local (or /system/xbin if you want something more permanent. Then you'd need root)
and run this command:
chmod 755 /data/local/lynx
Then run :
/data/local/lynx
and enjoy!
Additional information
If you want to put these files somewhere else, you must redefine the following variables, respectively:
LYNX_CFG (eg: export LYNX_CFG=/system/etc/lynx.cfg)
LYNX_LSS (eg: export LYNX_LSS =/system/etc/lynx.lss)
TMPDIR (eg: export TMPDIR =/cache)
If you receive an error message about the terminal, you need to configure a terminal.
Here are some instruction (for nano, but it works the same)
Sources are at the following addresses:
http://lynx.browser.org/
http://www.gnu.org/s/ncurses/
reserved
soon get the flash-able package
Thanks! I installed this on my ZTE Blade with 2.3.4 Gingerbread, but after setting everything in Terminal Emulator, I get these errors:
Alert!: Unable to connect to remote host.
Looking up lynx.isc.org
Unable to locate remote host lynx.isc.org.
lynx: Can't access startfile http://lynx.isc.org
Click to expand...
Click to collapse
As if there were no internet connection...
Awesome
Will be testing on my thunderbolt later today. I'll let you guys know how it goes.
However, would you mind reposting this on RW, or would you mind if I were to repost it and link back?
[EDIT] In having just configured everything, I also get the error from the post above. It seems as though lynx thinks it doesn't have internet access. This is the case on 3g and wireless networks. Let me know if you want me to test anything for you.[/EDIT]
All the best,
-HG
Looks great.
May I add that to my script ?
http://forum.xda-developers.com/showthread.php?t=1191984
Well, I was able to install it from a chrooted ubuntu 10.10 distro on my device. It's already compiled for ARM on ports.ubuntu.com, so maybe it's not so exclusive.
Sent from my Milestone 2 XDA App
Sure
sebsch1991 said:
Looks great.
May I add that to my script ?
http://forum.xda-developers.com/showthread.php?t=1191984
Click to expand...
Click to collapse
Sure, go ahead. It's open-sourced after all, I just built it.
dangpzanco said:
Well, I was able to install it from a chrooted ubuntu 10.10 distro on my device. It's already compiled for ARM on ports.ubuntu.com, so maybe it's not so exclusive.
Sent from my Milestone 2 XDA App
Click to expand...
Click to collapse
Nice. Can you point me to the correct file? I got as far as http://ports.ubuntu.com/pool/universe/l/lynx-cur/, but I don't know which one contains the binary.
While this is quite cool, why lynx? Why not elinks? It has much better layout capabilities. It has tabs! It even has javascript.
Code:
[email protected]:/# apt-get install lynx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lynx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/215kB of archives.
After this operation, 254kB of additional disk space will be used.
Selecting previously deselected package lynx.
(Reading database ... 66275 files and directories currently installed.)
Unpacking lynx (from .../lynx_2.8.8dev.2-1_all.deb) ...
I installed it that way.
Search for opkg (i think this is the name) if you are curious. It's a way of using deb packaging on Android (G1), but not in development anymore...
Sent from my Milestone 2 XDA App
I would be nice if someone could compile the HTTPS version of this so I could browse my banks mobile site
norti said:
Thanks! I installed this on my ZTE Blade with 2.3.4 Gingerbread, but after setting everything in Terminal Emulator, I get these errors:
As if there were no internet connection...
Click to expand...
Click to collapse
any solution ? i got the same problem...
hawkeyexp said:
any solution ? i got the same problem...
Click to expand...
Click to collapse
Can you ping any web address from the shell? What about wget, can you try that?
both pissble without problems
I am getting the following error
Looking up <url>.
Unable to locate remote host <url>
Alert!: Unable to connect to remote host.

Node.JS + Firefox OS

Hello everyone.
I think, the biggest problem of Firefox OS is no implemented Unix Commands. That make many restrictions, for example, you can't change your CPU Governor, move applications to SD Card etc.
So, I have been thinking about it. I Created a project of "Root" (Can I use this term?) for B2G. Here is:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Node.JS starts with B2G and receiving commands from Webapp via SocketIO and created library. Why I used NodeJS? At first, instalation is just copy&paste, permissions for Node and edit b2g.sh file, the second, that allows a large expansion.
So, what do you thinking about this? Maybe do you have better solution?
The target audience of Firefox OS are entry-level smartphone users, and the platform APIs are those of the Web. So it will never have full Unix power.
Your ideas for hacking a local desktop power-user version are interesting though. I like the idea of hacking Node.js + Firefox OS to build a web-platform development distro!
Siprah123 said:
So, what do you thinking about this? Maybe do you have better solution?
Click to expand...
Click to collapse
Your idea is great
Do it please
Now i have terminal emulator and CPUcontrol on FirefoxOS (But runing on PHP)
i think it will great if runing on node.js
Flashable zip
http://forum.xda-developers.com/devdb/project/dl/?id=553
At this time, I done it:
Hooked HTML Code into another page (for example into Gaia - modifiable interface).
http://screencloud.net/img/screenshots/b77d1c115b2ecfbea2291deb373a455a.png
And commands!
http://screencloud.net/img/screenshots/984532385587b94361fd097b7ee9dee1.png
http://screencloud.net/v/lfy7
http://screencloud.net/v/zP0
Great work!
Do you compile it for ARM?
Send me a link please
sorry for my bad english
Node.JS is already compiled for ARM and works perfectly
Anyway, I created a prototype of hooks for Gaia Interface - http://imgur.com/a/4NUNg
I'll public it when will be ready (I hope soon).
Siprah123 said:
Node.JS is already compiled for ARM and works perfectly
Anyway, I created a prototype of hooks for Gaia Interface - http://imgur.com/a/4NUNg
I'll public it when will be ready (I hope soon).
Click to expand...
Click to collapse
from
http://nodejs.org/download/
i not see download For liux arm ??
Give me a link please
I just compiled from sources with Android NDK.
Siprah123 said:
I just compiled from sources with Android NDK.
Click to expand...
Click to collapse
Wait for you
Siprah123 said:
I just compiled from sources with Android NDK.
Click to expand...
Click to collapse
OK now i learn to cross compile and compile successful
Can you teach me or example a code ? How to Hook gaia?
I added a hook just via editing a Gaia Interface. After Socket.IO Recieving HTML Code from server and justs adding something.
By the way. How permissions works http://www.youtube.com/watch?v=IDYfVFdxMqA
Siprah123 said:
I added a hook just via editing a Gaia Interface. After Socket.IO Recieving HTML Code from server and justs adding something.
By the way. How permissions works http://www.youtube.com/watch?v=IDYfVFdxMqA
Click to expand...
Click to collapse
How you edit b2g.sh ?
Is gaia run from node.js not b2g?
Wow Great work!
Can't wait for release
pureexe said:
How you edit b2g.sh ?
Is gaia run from node.js not b2g?
Wow Great work!
Can't wait for release
Click to expand...
Click to collapse
I edited b2g.sh in my computer, pushed and changed chmod for it. In release that process will be automatically
Code:
#!/system/bin/sh
umask 0027
export TMPDIR=/data/local/tmp
mkdir -p $TMPDIR
chmod 1777 $TMPDIR
ulimit -n 4096
# Run Node.JS Server
exec /system/b2g/node/node /system/b2g/node/app/app.js &
if [ ! -d /system/b2g ]; then
log -p W "No /system/b2g directory. Attempting recovery."
if [ -d /system/b2g.bak ]; then
if ! mount -w -o remount /system; then
log -p E "Failed to remount /system read-write"
fi
if ! mv /system/b2g.bak /system/b2g; then
log -p E "Failed to rename /system/b2g.bak to /system/b2g"
fi
mount -r -o remount /system
if [ -d /system/b2g ]; then
log "Recovery successful."
else
log -p E "Recovery failed."
fi
else
log -p E "Recovery failed: no /system/b2g.bak directory."
fi
fi
LD_PRELOAD="/system/b2g/libmozglue.so"
if [ -f "/system/b2g/libdmd.so" ]; then
echo "Running with DMD."
LD_PRELOAD="/system/b2g/libdmd.so $LD_PRELOAD"
export DMD="1"
fi
export LD_PRELOAD
export LD_LIBRARY_PATH=/vendor/lib:/system/lib:/system/b2g
export GRE_HOME=/system/b2g
exec /system/b2g/b2g
Can you upload your nodejs binary file?
I try to compile with my self but failed on run npm
any update?
Ehi Siprah!cmon we are all waiitng for your updates!
+10 for this project! I love the possibilities this hack brings us. Can you open a github? I'm too interesed in the code to wait for it
Great idea!Just do it!

Debian Jessie armhf NATIVE boot by multirom Nexus 7 2013

Desktop environment: Mate.
What work?
Wi-Fi - automaticaly connect by using android config
Bluetooth
Xorg server
Audio
What doesn't work:
qemu-i386 + wine
Network Manager applet don't show network connection icon.
Download:
https://drive.google.com/file/d/0B-6iiCUyzZjWZVpKS3EwcjBpZ0k/view?usp=drivesdk
Install:
Install Debian_Jessie_ARMHF.mrom File by twrp multirom.
Working with LTE 2013 ^^
Boots on WiFi only "Flo". Need to figure out WiFi to confirm, but I think gnome will work as a better interface. Much more touch friendly.
Sent from my SM-N910T3 using XDA-Developers mobile app
That is really awesome! Habe been looking for something like this for a long time.
How does one bring up a keyboard?
Failed...
Hi, that was the ROM I was looking for!
I downloaded the ROM from the above link to a USB drive, then I tried to install that ROM on my Nexus 7 2013 device as a secondary ROM besides Cyanogenmod 13 with Multirom TWRP 3.0.0-0, but it failed with following messages:
Code:
Updating partition details...
...done
Full SELinux support is present.
Installing ROM Debian_Jessie_ARMHF...
Free space check: Required: 1500 MB, free: 29118 MB
Creating folders and images for type 9
Disk size: 30703664
Freesize: 29817632
Space Required: 1536000
Creating root.img...
MTP Enabled
Debian Jessie ARMHF by Szybol. GG: 12352244
Extrating tarball rom/root_00.tar.gz...
Failed to extract tarball rom/root_00.tar.gz for folder root!
Failed to extract base root
Erasing incomplete ROM...
Any idea what's been going wrong?
Thanks, Heinz
You want install debian on usb stick, simple set root's image size to 4000MB.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
New distro comming.
Ubuntu Xenial
View attachment 3726433
Oh no, I wanted to install Debian on the Nexus 7, not on the USB stick. How do I do that? Must be quite simple, but I have no idea...
Heinz
Do you have Access to folder: /data/media/0/multirom/roms ? On this location can you find folder internal or cyanogenmod?
Your device is flo "wifi" or deb "LTE"?
If you have this path and folders you can install Debian manualy.
You must have busybox installed!
I wait for reply, then i post next steps to extract Debian archive
Szybol said:
Do you have Access to folder: /data/media/0/multirom/roms ? On this location can you find folder internal or cyanogenmod?
Click to expand...
Click to collapse
Yes, I have access to this folder. My device is rooted. And there is a folder "Internal".
Your device is flo "wifi" or deb "LTE"?
Click to expand...
Click to collapse
It is the "deb" version with LTE.
If you have this path and folders you can install Debian manualy.
You must have busybox installed!
Click to expand...
Click to collapse
Busybox is installed, it's version 1.24-meefik.
Thank you for supporting me! My English is not the best, I live in Germany.
Heinz
Copy file to /sdcard and run in terminal or adb commands
[email protected]:/# adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # unzip /sdcard/Debian_Jessie_ARMHF.mrom
[email protected]:/sdcard # mkdir /data/media/0/multirom/roms/Debian
[email protected]:/sdcard # mkdir /data/media/0/multirom/roms/Debian/root
[email protected]:/sdcard # cp /sdcard/root_dir/rom_info.txt /data/media/0/multirom/roms/Debian
[email protected]:/sdcard # tar -C /data/media/0/multirom/roms/Debian/root -xpzvf /sdcard/rom/root_00.tar.gz
[email protected]:/sdcard # tar -C /data/media/0/multirom/roms/Debian/root -xpzvf /sdcard/rom/root_01.tar.gz
[email protected]o:/sdcard # tar -C /data/media/0/multirom/roms/Debian/root -xpzvf /sdcard/rom/root_02.tar.gz
Click to expand...
Click to collapse
It stays stuck at Google Logo(after I've chosen Debian in Multirom) for me. I waited about 30 Minutes.
I Now I have a working GUI with root privileges, thank you Szybol! Even a wireless keyboard and mouse works, with the USB plug on the other end of an OTG cable. The next is to get the wifi and mobile network working...
The point all this is to have dock station with some usb's.
Wireless keyboard, mouse.
And hdmi to monitor, tv.
Of course OS must support second screen.
bluetooth devices
Has anyone test bluetooth keyboard and mouse yet ?
Considering before install
Does it have the same bugs, that the native Arch port had, like issues with rotating the screen or breaking the whole system while updating it? Does the framebuffer output work?
Tried pairing my bluetooth keyboard, sadly it fails everytime for me
Is there anyway to set screen rotation to horizontal? Tried that, but it made Debian crash
witti96 said:
Does it have the same bugs, that the native Arch port had, like issues with rotating the screen or breaking the whole system while updating it? Does the framebuffer output work?
Click to expand...
Click to collapse
RodrigoDavy said:
Tried pairing my bluetooth keyboard, sadly it fails everytime for me
Is there anyway to set screen rotation to horizontal? Tried that, but it made Debian crash
Click to expand...
Click to collapse
The driver that is being used for hardware acceleration (freedreno) does not support rotation on our GPU (Adreno 3xx). Unfortunately, when tried, the driver crashes and takes the entire X-Server with it. If you look in the arch thread, you can find that I had even attempted building freedreno from source with the hope that upstream has this issue fixed, but sadly they do not. That said, the framebuffer works, it's just that the refresher built into the MSM driver is broken. So a separate software refresher needs to be used in order to see anything via the FB. If you don't care much about hardware acceleration, you can easily install an alternative framebuffer driver such as fbturbo or the like, however you'll need to do some hacky work to get X to initialize properly with them. In my custom arch image, I had to make a systemd unit that first started X using a freedreno configuration file, then killed X and started it properly using fbturbo in order to get it to work properly.
How to connect to a WiFi network
Thank you for your work, it is awesome. But i don't understand how to connect to a WiFi network... Can you please explaine me this? Many thanks
jiocol said:
Thank you for your work, it is awesome. But i don't understand how to connect to a WiFi network... Can you please explaine me this? Many thanks
Click to expand...
Click to collapse
It uses the wifi configurations of your android tablet. So if you have your wifi configured on the android it should connect automatically on Debian. (even if it doesn't indicate so)
[=RodrigoDavy;66834836]It uses the wifi configurations of your android tablet. So if you have your wifi configured on the android it should connect automatically on Debian. (even if it doesn't indicate so)[/QUOTE]
Ok, great, many thanks

[GNU/Linux]Project Halium- Plasma Mobile and Ubuntu touch | Yureka Black

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer : This thread is ONLY for developers/Users who wish to run GNU/Linux on their device and improve the port . PC is required to flash the images. Read from available documentation given .​
ALPHA BUILDS!
Calls work only on ubuntu touch as of now:
Ubuntu touch
For testing images : https://forums.ubports.com/topic/3702/yu-black-garlic scroll to Install section
For fixing recording without much hasssle ,
connect to internet,
Code:
sudo mount -o remount,rw /
, enter root passwd
then,
Code:
sudo apt-get update && sudo umount /lib/udev/rules.d/70-android.rules && sudo umount /usr/share/apparmor/hardware/graphics.d/apparmor-easyprof-ubuntu_android && sudo umount /usr/share/apparmor/hardware/video.d/apparmor-easyprof-ubuntu_android && sudo apt-mark hold qtubuntu-android && sudo ubports-qa install xenial_-_gst-droid
accept ,
reboot
Code:
wget https://static.peat-network.xyz/junk/ubports/com.ubuntu.camera_3.1.1+gstdroid2_armhf.click && pkcon install-local --allow-untrusted com.ubuntu.camera_3.1.1+gstdroid2_armhf.click
Multirom config : noughatmultirom.zip . twrp (not my favorite , works with ubuntu touch only as primary rom,secondaries are noughat)
KDE Plasma Mobile
Haven't built images for it in a while.. Maybe after ubports porting is done in freetime.
Status of the port : https://github.com/Halium/projectmanagement/issues/123
Manifest : https://github.com/Halium/halium-devices/pull/146/commits/75a85c86b8abae5bfba322c907bc431f2a49548b
System and hybris-boot : FOLDER
Pick the latest rootfs from the Plasma mobile website also in docs
Type of Rootfs to use : Plasma-edge-caf rootfs (armhf)
Installation guide: http://docs.halium.org/en/latest/po...sma-mobile.html#install-rootfs-and-system-img
The ubuntu folder isn't working
Xpl0it_U said:
The ubuntu folder isn't working
Click to expand...
Click to collapse
Replaced broken link
Ok, thanks
can't boot it, stuck at bootlogo, can telnet to the phone tho
Xpl0it_U said:
can't boot it, stuck at bootlogo, can telnet to the phone tho
Click to expand...
Click to collapse
Which rootfs one did you use?
The port is past the telnet stage .. seems like rootfs is not properly extracted , has everything run correctly with halium-install?
pbteja said:
Which rootfs one did you use?
Click to expand...
Click to collapse
ubuntu xenial armhf
Xpl0it_U said:
ubuntu xenial armhf
Click to expand...
Click to collapse
And the recovery needs to have insecure adb, use this: https://www.androidfilehost.com/?fid=6006931924117909377 or treble twrp both allow adb debugging in recovery mode
pbteja said:
And the recovery needs to have insecure adb, use this: https://www.androidfilehost.com/?fid=6006931924117909377 or treble twrp both allow adb debugging in recovery mode
Click to expand...
Click to collapse
ok, i'll try it tommorrow
alright, it worked, is there any way to get or port anbox to this phone?
btw needs some optimization, this is slow af sometimes
Xpl0it_U said:
alright, it worked, is there any way to get or port anbox to this phone?
btw needs some optimization, this is slow af sometimes
Click to expand...
Click to collapse
Anbox: https://gist.github.com/Vince1171/69cdcb2e90f2c70e3ee24de93da8caac
Bugginess is due to services crashing in the background and also its not 64bit rootfs primarily media-hub and location that 'might' get fixed when somebody gets apparmor working...
Thanks for the guide, any way to fix those crashes?
Xpl0it_U said:
Thanks for the guide, any way to fix those crashes?
Click to expand...
Click to collapse
Yeah everything should work eventually, its mostly app-armor, the system expects it and its not in kernel ... so things can be fixed in linuxy way ofc through terminal for example gps is a permission issue (idk why) but have to dip into sources and rebuild the system and make our own device adaptation
I think I found something that could help with apparmor:
http://www.mardy.it/blog/2019/07/notes-on-porting-the-samsung-j3-to-halium-+-ubports.html
Scroll where it says "building the kernel", it mentions something about enabling apparmor
Xpl0it_U said:
I think I found something that could help with apparmor:
http://www.mardy.it/blog/2019/07/notes-on-porting-the-samsung-j3-to-halium-+-ubports.html
Scroll where it says "building the kernel", it mentions something about enabling apparmor
Click to expand...
Click to collapse
Hello, apparmor has been fixed... so far
No camera and no mtp usb , no flashlight , rest of hardware works
The build has some bugs like can't change volume during calls and similar small things that matter for daily use case... and then there is an overall slowness of the os ...
I'm doing multiple builds everyday trying to fix camera , if you want to try and use the latest build i can upload it for you
That would be cool, the only thing that changes is the hybris-boot.img, right?
Xpl0it_U said:
That would be cool, the only thing that changes is the hybris-boot.img, right?
Click to expand...
Click to collapse
Yes and system image as well, bunch of vendor libs have been added
pbteja said:
Yes and system image as well, bunch of vendor libs have been added
Click to expand...
Click to collapse
Aight, if there's a tutorial of how to update the device tree and the kernel and build it so you don't have to upload it would be better (if it doesn't take too much to build)
deleted
I have the same specs, so I'll try future builds, as It's faster than downloading

Categories

Resources