Node.JS + Firefox OS - Firefox OS General

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!

Related

Some help with Eclipse and ADB in Linux

Hey, did a search but couldnt find a solution. I'm having problems getting my device to pull up in adb remount on Ubuntu. When I try remount it says no command 'adb' found sometimes or permission denied when it does work, I have root and USB debugging enabled on the devices (a Nexus One and G1). When I try adb devices I just get ?????????????? unknown.
Also, and I don't know if it's related, but in Eclipse, I can't get the SDK location loaded, I have the directory right, but when I hit Apply or OK nothing happens, it just doesnt load. So if I try to start a project I have no Build Targets to select from.
Any help would be appreciated. I have everything running fine in Windows but I'm fairly new to Linux I haven't used it in years. I'm running Ubuntu distro if that matters. Thanks.
i'm with you. i picked up the android sdk tarball, and am a little lost too . i tried getting adb to work in windows 7, but i can't get that going either. dangit. if someone could put up some good reference material, it'd be appreciated
Hello,
The problem with linux having trouble with adb probably lies with a permission issue try adb kill-server && sudo start-server.
The other issue is most likely because you did not download any targets yet. goto windows in eclipse and select android sdk and adv, then at available packages or something like that download your target
i can't even get that far. i switch to my androidSDK/tools and then "adb devices" all i get is 'no command adb found'
I did the first couple times too, then I went to command and did:
su
<enter password>
cd
export PATH=${PATH}:<your_sdk_dir>/tools
then when I adb remount or adb devices it gives me the unknown device thing
but I think the next secret is here
http://forum.xda-developers.com/showthread.php?t=613217
in like the 3rd post. However I think the export PATH is a temp fix because the ~/.bashrc needs to be modified with the path settings and I have no idea how to do that. I just get lots of permission errors or file not found for everything I try, even with root. I'm just using Eclipse in Windows for now, and hopefully someone can help us out cause I'd like to work on roms but I guess I need to brush my Linux up first.
http://forum.xda-developers.com/showthread.php?p=5377103
i found some help elsewhere on the net, and posted it up at the end of this thread. they were having similar issues with the dream, apparently.
i also found this
that link there will probably get you hooked up
adb devices now has a readout!
and, you're right about adding the export PATH=${PATH}:<your_sdk_dir>/tools to
~/.bashrc
i think this command will do it. run in terminal
gksudo gedit ~/.bashrc
i just made a comment line that says
# android sdk export path
and another line underneath it that says
export PATH=${PATH}:/home/timmyd/androidSDK/tools
because that's where i have the extracted sdk
all good, i think. now, let's see what's going on ...
oh yeah, don't forget to enable usb debugging on the device itself.
settings>applications>development
allow usb debugging
screeny works at least
{
"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"
}
Cool, I'll try that out tomorrow.
timothydonohue said:
i'm with you. i picked up the android sdk tarball, and am a little lost too . i tried getting adb to work in windows 7, but i can't get that going either. dangit. if someone could put up some good reference material, it'd be appreciated
Click to expand...
Click to collapse
Hi all!!!!
I have a problem with my HTC Tattoo, can't connect the tatto with adb in ubuntu and eclipse Helios.
/android-sdk-linux_86/platform-tools$ ./adb devices
List of devices attached
???????????? no permissions
Thank you very much.
Hi, I have tha same problem with ????? and can't connect to eclipse my galaxy, so the solution is just use the instructions from the h**p://developer.android.com/guide/developing/device.html
I solve this problem with
1. Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
2. Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules
Click to expand...
Click to collapse
The USB Vendor IDs foreach manufacturer
Manufacturer USB Vendor ID
Acer 0502
Dell 413c
Foxconn 0489
Garmin-Asus 091E
HTC 0bb4
Huawei 12d1
Kyocera 0482
LG 1004
Motorola 22b8
Nvidia 0955
Pantech 10A9
Samsung 04e8
Sharp 04dd
Sony Ericsson 0fce
ZTE 19D2
Click to expand...
Click to collapse
Hope to help you!

[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.

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

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

[ROM][WIP]Plasma Mobile for Xiaomi Mi3[cancro]

Hello guys, i've successfully built plasma mobile for Xiaomi MI3.
First, you need to download my images: https://drive.google.com/drive/folders/1koCdOk7G3KX_rNlFzuObro1OVb4XRCS8 plasma caf rootfs: http://images.plasma-mobile.org/caf-rootfs/ and some scripts: https://github.com/JBBgameich/halium-install
Reboot your device to recovery and run this command: ./halium-install <pm rootfs path> <system.img path> pm
When finished flash boot.img, reboot the phone and take it connected to the pc
Every boot took ~5 minutes so wait and run this command in background while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done (This command is in loop) when you'll see "Gnu/Linux" your phone is booted.
Once booted we need to connect to it with ssh, so run this command Connect.py -p ssh -u phablet
When we are connected we need to disable rsyslog and remove all logs (it fills up all the memory) so run these 3 commands: systemctl disable rsyslog | rm /var/log/syslog | rm /var/log/Kern.log
Now we need to connect to internet enable wifi echo sta > /sys/module/wlan/parameters/fwpath and connect to the network nmtui
Ok now we must create udev rules or plasma GUI doesn't work so change directory cd /etc/udev/rules.d/ and wget https://raw.githubusercontent.com/h...cf/usr/lib/lxc-android-config/70-cancro.rules
We have to resolve apt problems so edit this file /etc/passwd and replace this _apt: x :114:65534::/nonexistent:/bin/false with this _apt: x :0:65534::/nonexistent:/bin/false
When you have modified it, run apt update and reboot it systemctl reboot
Tadaaa you have got plasma on Mi3!
{
"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"
}
P.s Sorry for my bad English, this is my first porting and camera doesn't work yet... Don't do apt upgrade or you will break the installation!
Please screenshots...
it have some big problem with camera and audio... Don't do apt upgrade or you will break the installation!
Click to expand...
Click to collapse
@Mattia990 Okay. I understood. Porting was successful. But there is no audio and the camera does not work. Unfortunately, audio is very important for telephoning ... Good work! I wish you a successful sequel!
Great
Wow
Good work
Good, but very deep linux...
...I think not adjustable for an average user.
Images updated!
Fixed audio, now works very well.
any instructions for multirom??
@Mattia990
Dear Developer genius!
Please give us a video tutorial (if possible)
We are very curious
But we're stupid for deep linux
Certainly I can not solve it on my own
Thanks: JJ
Great work and many many thanks for the hard work. It should be easy for common man to install it.
Woow interesting port, you'll continue maintaining this port? if you need help I'm not a developer of android but I use gentoo linux and I know about build a system xD
JulianJenner said:
@Mattia990
Dear Developer genius!
Please give us a video tutorial (if possible)
We are very curious
But we're stupid for deep linux
Certainly I can not solve it on my own
Thanks: JJ
Click to expand...
Click to collapse
Now i can't make a video but in the future i think yes
New porting guys!
Ubuntu touch 16.04
Mattia990 said:
New porting guys!
Ubuntu touch 16.04
View attachment 4573232
Click to expand...
Click to collapse
oh good.please share download link
Haggiskop said:
oh good.please share download link
Click to expand...
Click to collapse
I will realize two tutorial, one for plasma and another for ubuntu, as soon as possible.
Now ubuntu has some critical bugs so i'll try to resolve them and then i will post the tutorials.
Mattia990 said:
New porting guys!
Ubuntu touch 16.04
View attachment 4573232
Click to expand...
Click to collapse
NICE, but we just saw only pictures and deep-linux until now...it is not too userfriendly...
I'm very proud of you. It is a great honor for you to deal with such an old phone. We are looking forward to the tutorial and the ROM.
it doest boot on mi4cdma
un..:good:
link drive.google.com/drive/folders/1koCdOk7G3KX_rNlFzuObro1OVb4XRCS8
no files in this link seems like deleted, please share me new link or files
I'm trying to installed but it is not booting

[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