yashsingh1/xdaforums huggingface dataset:
[G 2014 Android Development] walidham:
Run this command in bootloader mode

fastboot boot boot.img

This command boot ubuntu touch (but you must at least flashubuntu or copy system.img to /data/ partition shared in post #101)
[G 2014 Android Development] lovekesh9896:
i tried running fastboot boot boot.img command but reboot in lineage os rom. i am doing this from windows.
[G 2014 Android Development] walidham:
Good news i got camera video record work, also rom now is more stable

i will upload as soon as possible new rom

BR
[G 2014 Android Development] walidham:
Bugs fixed in new version

Video record

Optimize system

Note : use UTmedia (install it from openstore) to play video

Plz i need your feedback and test to fix bugs

BR
[G 2014 Android Development] joaomiguelsm:
My internet is too slow now, but I'll test as soon as possible (if my ISP help me) and send feedback
[G 2014 Android Development] The_0N3:
Help Ubuntu flash

Can anyone upload a video of all this flashing n all ?

I have never used GUI version of Ubuntu , have used only cli version and that also with help of YouTube n Google.

So it would be good if anyone can make a video !

Also is it possible to do all this without pc ? I have rooted phone and using resurrectionremix ROM with magisk pre-installed .
[G 2014 Android Development] walidham:
Multiwindow can be enabled

Ubuntu Touch with Unity8 distinguishes 2 modes of operation: Staged and Windowed

Open terminal and execute this commands :

#for Windowed mode:

gsettings set com.canonical.Unity8 usage-mode Windowed

#for Staged mode:

gsettings set com.canonical.Unity8 usage-mode Staged

For more details read this blog

Screenshots
[G 2014 Android Development] riccardo9101:
When I run the command "./rootstock-touch-install ubports-touch.rootfs-armhf.tar.gz system.img --custom device_titan_devel.tar.xz" I received this error message on my laptop: "sudo: ./rootstock-touch-install: command not found"

What's the problem?
[G 2014 Android Development] walidham:
Use PC wich have Ubuntu installed and extract rootstock-ng-master.zip, then put all files in same folder.

Or you can use an other method see post #101
[G 2014 Android Development] riccardo9101:
It doesn't boot, it's on Motorola logo
[G 2014 Android Development] walidham:
Verif if your data partition is ext4 (ubuntu touch don't support f2fs type)

If its ext4, flash boot.img and verif if there is ystem.img in data partition
[G 2014 Android Development] partyzant_x:
Hi [MENTION=4358240]walidham[/MENTION] any progress with halium?
[G 2014 Android Development] walidham:
Halium-5.1 (based on android 5.1) boot, lxc-container start just no graphics , i will test new rootfs (xenial 16.04) this week hope get graphics

Halium-7.1 (based on android 7.1) boot, lxc-container start but many service crash and also no graphics

I think the best is to continue work on Halium-5.1 until we have stable version for Halium-7.1

BR
[G 2014 Android Development] riccardo9101:
How can verify if system.img is in data partition?

EDIT: It started!!! Thank you so much!

Inviato dal mio ONEPLUS A3003 utilizzando Tapatalk
[G 2014 Android Development] Uvneshkumar:
Successfully booted on my first try. Just loving the ROM to see a completely new interface. Thanks [MENTION=4358240]walidham[/MENTION] for this awesome work. Cheers man..!
[G 2014 Android Development] Ytim08:
Works on XT1064 with no bugs at all.

Is updating via terminal disabled? I can't run "sudo apt update && sudo apt upgrade" I get this error:

W: Not using locking for read only lock file /var/lib/dpkg/lock

*UPDATE*

Found a fix:

sudo mount -o remount,rw /

then run again.
[G 2014 Android Development] pranay519:
installation

Can anyone help me for flashing ubuntu touch step by step
[G 2014 Android Development] ghost.deathrider:
hi dev, firstly thnq for this rom, i am a big fan of Ubuntu, right now I'm using mainstage os custom ROM, Android N, so is it possible to install ubuntu alongside with this , my data partition also ext4 and finally ....can i install it through windows by following steps in post #101 or it required Linux? (sorry for my bad English) just help me out here
[G 2014 Android Development] walidham:
For windows , you can use method install in post #101, but thought its not the latest work,

prefer method is use Linux (Ubuntu) to install.
[G 2014 Android Development] walidham:
Got Halium work with Plasma Mobile based on LOS 14.1

https://drive.google.com/file/d/0B-F-xs4jYP12ZUZEbkN2ZjBUVEU/view?usp=sharing
[G 2014 Android Development] Tjsdj:
bash: ./rootstock-touch-install: Permission denied

bash: ./rootstock-touch-install: Permission denied

i get this error what to do?
[G 2014 Android Development] walidham:
sudo ./rootstock-touch-install ....

if don't work

sudo chmod 775 rootstock-touch-install

and run command again
[G 2014 Android Development] Tjsdj:
nothing changed

but after using sudo bash rootstock.....

yoo@yoo-300E4C-300E5C-300E7C /media/tj/Work/tj/Untitled Folder $ sudo bash rootstock-touch-install ubports-touch.rootfs-armhf.tar.gz system.img --custom device_titan_devel.tar.xz -w| sudo bash rootstock-touch-install ubports-touch.rootfs-armhf.tar.gz system.img --custom device_titan_devel.tar.xz

Need valid rootfs tarball gzip type

usage: rootstock-touch-install <path to rootfs tarball> <path to android system.img> [options]\n

options:

-h|--help	this message

-c|--custom	path to customization tarball (needs to be tar.xz)

-k|--keep-userdata	do not wipe user data on device

-w|--wipe-file	absolute path of a file inside the image to wipe (empty)\n
[G 2014 Android Development] walidham:
Verif if ubports-touch.rootfs-armhf.tar.gz is valid gzip file
[G 2014 Android Development] wdehoog:
[MENTION=4358240]walidham[/MENTION] thank you very much for your work. It runs really well. In fact it runs so well I don't understand why it is not listed on the ubports site.

Just curious: do you think you can also get plasma-mobile working on titan? (unfortunately I could not view the plasmamobile screenshot you posted).
[G 2014 Android Development] walidham:
Thanks, yes Plasma Mobile work in titan, but its not for daily use, plasma not yet finish , if you want test it i will publish my work.

Also Halium is ported now, the new Ubuntu Touch xenial (16.04 LTS) will work on our device, i'm wait to have stable rootfs to publish it

For Ubports i'm waiting them to add our device in supported list, they working on it now and when the new channel is ready i will put it
[G 2014 Android Development] wdehoog:
I have seen an image running on a oneplus one and indeed it was not for daily use. Still It would be really cool to be able to see how plasma-mobile development is going.
[G 2014 Android Development] walidham:
I don't know why i cant' share any image on xda

her image link : https://drive.google.com/file/d/0B-F-xs4jYP12ZUZEbkN2ZjBUVEU/view?usp=sharing
[G 2014 Android Development] walidham:
If any one want test Plasma mobile i will give him files to install it, note its not yet finish, developers still work on it.
[G 2014 Android Development] wdehoog:
I'd like to see it one day. How is it supposed to be installed? With a zip file from recovery or another installer like rootstock?
[G 2014 Android Development] ProGamer02224:
Is there a way to install this as a secondary rom using dual boot patcher?
[G 2014 Android Development] alex_mondal:
Is this ROM good as a daily driver?

Is there any minor bug in it?

Thanks for the great work.
[G 2014 Android Development] walidham:
Yes you can use it for daily driver, there are some bugs,

also use the latest ubuntu-touch rootfs from her :

vivid-rootfs-armhf
[G 2014 Android Development] walidham:
No, but you can make dual boot manully

1- Install Ubuntu-touch

2- Install any custom rom without wipe data partition (if you want wipe data, copy system.img from data, and after install

custom rom, copy it in data)

3- if you want boot to UBT , just reboot your phone on fastboot mode and run this command

fastboot boot boot.img (boot.img for ubuntu touch)
[G 2014 Android Development] alex_mondal:
Thanks but have you stopped development? What about support from ubports? Is it getting in the supported device list?

And what is the status of halium 7.1 for titan? Is it official?
[G 2014 Android Development] walidham:
Developpment not stopped, just i'm busy now. Our device will be supported by ubports,

for halium 7.1 work for plasma mobile, for ubuntu touch not yet finish (but halium 5.1 work good)
[G 2014 Android Development] alex_mondal:
Cool. Just installed on my device. Great work.:good:
[G 2014 Android Development] ProGamer02224:
I'll try it in a week or so when I reach home., I read in an post that there is an app called dual boot Ubuntu for nexus devices. Is that app available for our titan.., so tat I don't have to give fastboot command to boot to Ubuntu..,

---------- Post added at 06:24 PM ---------- Previous post was at 06:24 PM ----------

https://wiki.ubuntu.com/Touch/DualBootInstallation
[G 2014 Android Development] walidham:
New channel was added to ubports server, its for 16.04, not yet stable and work in progress.

Titan channel

For vivid version (is more stable and work fine), i'm asking marius to create new channel maybe this day.

For Plasma mobile i will upload system image and kernel as soon as possible (tomorrow hope)
[G 2014 Android Development] CMKdaGreatest:
Is this official?
[G 2014 Android Development] walidham:
Yes :) :)

Our device will be in list of supported devices, i'm working on it.
[G 2014 Android Development] CMKdaGreatest:
I'm new to this so let me ask u. What is this ROM's advantages over other custom ROM's, say Lineage OS?
[G 2014 Android Development] walidham:
This is Ubuntu Touch (phone or mobile), like SailfishOS, its 100% linux based, you can make your phone like a PC.

For more information read this Ubports
[G 2014 Android Development] CMKdaGreatest:
Thank u!!

And any idea when it will become official??

I'm just curious. Don't be angry.
[G 2014 Android Development] walidham:
Ubuntu Touch Xenial : Image

What work : graphic, wifi, gps, ril, camera, sound.

For run android application there is a progress see this video (anbox)
[G 2014 Android Development] ProGamer02224:
I tried installing anbox in my Titan running sailfish is and it said me that anbox is available only for x64 & x86 devices and is not available for armv7 devices. Is someone developing it for our devices
[G 2014 Android Development] walidham:
UBports team develop anbox for ubuntu touch, i will try to port it in our device
[G 2014 Android Development] ProGamer02224:
Oh that would be very nice. Thank you so much
[G 2014 Android Development] mondalex:
When will you provide Xenial images for titan?
[G 2014 Android Development] walidham:
Not yet stable, many bugs to fix,

also now our device is supported, i tested installation with ubuntu-device-flash command and work well.

I will give you instruction when xenial become stable,
[G 2014 Android Development] Rhahlia:
Merci walid
[G 2014 Android Development] CMKdaGreatest:
How do u use device flash command?

You say its official but its not in the ubports website. Why??
[G 2014 Android Development] walidham:
When it become stable it will be add.

her is the channel for device

https://system-image.ubports.com/16.04/community/walid/

and this the commands

wipe data reset factory

sudo apt-get install ubuntu-device-flash
sudo ubuntu-device-flash --server=https://system-image.ubports.com touch --device=titan --channel=16.04/community/walid/devel/--bootstrap

But use it at your own risk, i'm not responsible for any damage, it will wipe device and install latest xenial. Its not for daily use
[G 2014 Android Development] Noocktall:
Simple install xenial for titan device

Required: Ubuntu 16.04 or above!!

thats is simple, you need your device in bootloader, then open your terminal and paste the command:

sudo apt-get install ubuntu-device-flash
sudo ubuntu-device-flash --verbose --server=https://system-image.ubports.com touch --device=titan --channel=16.04/community/walid/devel --bootstrap

Then, will download the files, and flash new recovery for ubuntu touch systems, soo wait a moment (10~15mins: network :p)

When all is done your device is reboot(so wait 5mins), and then, is your ubuntu phone!!
[G 2014 Android Development] :
Hi when I try to flash it this way I get an error when flashing it using this line, any idea why?

ubuntu@ubuntu:~$ sudo ubuntu-device-flash touch --verbose --server=https://system-image.ubports.com --device=titan --channel=16.04/community/walid/devel --bootstrap
2018/01/24 17:11:58 Device is |titan|
2018/01/24 17:11:58 Flashing version 12 from 16.04/community/walid/devel channel and server https://system-image.ubports.com to device titan
50.93 MB / 50.93 MB [======================================] 100.00 % 1.83 MB/s
348.17 MB / 348.17 MB [====================================] 100.00 % 3.91 MB/s
2018/01/24 17:13:43 Start pushing /home/ubuntu/.cache/ubuntuimages/pool/ubports-eec2b8e4e3ddbbbf986ebb3856d30f403c2a4e6b6ae53ebf41aa14d0dfa9c492.tar.xz to device
2018/01/24 17:13:43 Start pushing /home/ubuntu/.cache/ubuntuimages/gpg/image-signing.tar.xz to device
2018/01/24 17:13:43 Start pushing /home/ubuntu/.cache/ubuntuimages/gpg/image-master.tar.xz to device
2018/01/24 17:13:43 Start pushing /home/ubuntu/.cache/ubuntuimages/pool/keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz to device
2018/01/24 17:13:43 Start pushing /home/ubuntu/.cache/ubuntuimages/16.04/community/walid/devel/titan/version-12.tar.xz to device
2018/01/24 17:13:43 Start pushing /home/ubuntu/.cache/ubuntuimages/pool/device-b59e8719f95d5d5e31abfa140304bd40c4e1e697616f7449449cd8723e65d448.tar.xz to device
2018/01/24 17:13:43 error pushing: failed to copy '/home/ubuntu/.cache/ubuntuimages/gpg/image-signing.tar.xz' to '/cache/recovery/': Is a directory

ubuntu@ubuntu:~$
[G 2014 Android Development] walidham:
Verif if your data partition is ext4, because UT work only with ext2,3 and 4, f2fs not work, also you must wipe data and cash before flashing
[G 2014 Android Development] :
worked, I should have read op better, thanks for the help and awesome build ?

---------- Post added at 08:21 PM ---------- Previous post was at 08:00 PM ----------

Actually, on screen keyboard is not working, I have tried to reboot multiple times and have also tried factory reset, not much to go on, but i don't know how to capture logcats on ubuntu haha, any idea why its not working?
[G 2014 Android Development] walidham:
Yes i know i this bug, pulseaudio not work and keyboard is related to it, i resolve it, but not yet update in channel,

For intermediate solution , download this file, extract it

reboot to recovery mode and run this commands

adb shell
mkdir a
mount /data/ubuntu.img a
exit
adb push libhybris-common.so.1.0.0 /a/usr/lib/arm-linux-gnueabihf/
adb reboot

Note : current version xenial not yet stable, if you want stable version you can read first post and flash vivid version witch work well and you can use it for daily use.
[G 2014 Android Development] :
I'll try to push the library on xenial

I have tried installing vivid but I can't get past the bootlogo, even though my data partition is correctly formatted to ext4 and I have also tried installing los14 before flashing ubuntu vivid, but it still won't work, I'm probably missing something obvious but I've looked through the thread and havent found anything
[G 2014 Android Development] walidham:
For vivid, download files from androidfiles and run root-stock-install , see first post.

don't forget "-c" option when run command
[G 2014 Android Development] mondalex:
Any updates? [emoji3]
[G 2014 Android Development] walidham:
Hope soon, Ubuntu Touch 16.04 LTS not yet stable, but you can test it if you want.

See first post for more detail
[G 2014 Android Development] mondalex:
thanks [emoji16]

---------- Post added at 09:51 AM ---------- Previous post was at 09:30 AM ----------

Will it be stable soon?

---------- Post added at 09:54 AM ---------- Previous post was at 09:51 AM ----------

I followed the first post but got an error, it says can't flash recovery image.
[G 2014 Android Development] walidham:
First you must wipe data and reset factory.

Bootloader unclocked

Reboot your phone to bootloader mode

Run commands
[G 2014 Android Development] mondalex:
Doesn't help.[emoji17] I had vivid installed previously.
[G 2014 Android Development] vuarame:
Galery and open store

Hi, congrats on your work! Moto G2 is very popular here in Brazil and your work is helping to popularize Ubuntu Touch here.

So, in Xenial in my phone galery and OpenStore apps don't work properly, do you know about this issues yet? It's just to inform, I know that this is a WIP version.

Tks!
[G 2014 Android Development] walidham:
Thanks sir,

Yes for xenial this is knowing issue, hope they fixe it as soon as possible.

UBports work hard to make UT 16.04 stable
[G 2014 Android Development] vuarame:
Camera does not open (VIVID)

So I turned back to Vivid and the camera app does not work, is this a bug or a bad luck of my side? Maybe if I reinstall the UT?
[G 2014 Android Development] walidham:
Camera work on vivid, maybe clean install resolve problem (wipe data before reinstall to delete user-data folder and others files used by UT)
[G 2014 Android Development] vuarame:
Tks, after the clean install everything is working!
[G 2014 Android Development] Nikfrager:
Installation with error
[G 2014 Android Development] Nikfrager:
Installation with failures
[G 2014 Android Development] Nikfrager:
Maybe wrong system.img
[Samsung Galaxy S7 Active Questions & Answers] twinsfan14:
Since the latest update about a week ago (QD4), my battery life has been pretty damn terrible. It most recently went from 25 to 1 percent in 10 minutes of just browsing Twitter. Has anybody else noticed this? I have wiped the cache. It's a shame since the battery life was one of the best selling points of the phone, particularly since the 7.0 update.
[Samsung Galaxy S7 Active Questions & Answers] KGB7:
No issues here with QD4. Have you performed factory reset after update?
[Samsung Galaxy S7 Active Questions & Answers] twinsfan14:
I have not but tomorrow when I get my computer back, I'm gonna try to Odin back to the previous version. Will report any results
[Samsung Galaxy S7 Questions and Answers] Kilva:
I have tried goddamn near everything and lurked everywhere.

This is just me trying to fix a huge mistake. I got this phone yesterday, everything was fine. I just wanted to install a custom recovery so I could back up the phone.

I flashed TWRP with Odin, I may have done it wrong or something... But I'm pretty sure I followed some directions. Odin did it in a snap, my device rebooted into TWRP... but then, I just barely noticed the "No OS installed!" message.

I have attempted, in no particular order:

- Using Kies 3 to initialize my device. It will download to 100% and then stick on 0% going to install the OS. Tells me the device is not supported.

- I then tried SmartSwitch because someone told me that's what you need for Android 4.3+. Same exact thing.

- Tried flashing my stock firmware, both 6.0.1 that it came with and the 7.0 that was available before it was bricked, with Odin 13.2 (I also tried others)

What's interesting here is when I add in the AP, BL, CP and HOME_CSC and press start, I get Odin's log to fail just after cm.bin - every time.

Here is a screenshot:

[IMG="Odin's fail in the log"]https://cl.ly/3N0Q1C3g1C13/Image%202017-05-18%20at%206.05.32%20PM.png[/IMG]

At that point, I am no longer able to re-attempt until I restart and re-enter DL mode, and a black-backgrounded red text appears on the Download Mode screen, that says:

SW REV. CHECK FAIL. DEVICE: 2, BINARY: 1

My device is the Canadian version, in the XAC region.

I have downloaded and attempted flashing firmwares G930W8VLU2BQB6_G930W8OYA2BQB6_XAC and G930W8VLU1APG1_G930W8OYA1APG1_XAC.

Both give the exact same errors and so I don't think the firmwares I got are the issue. I just have no idea what it could be, since the only problem with my phone is there's no OS installed.

Actually, I do have a problem with TWRP, as well.

TWRP is unable to do much. It cannot mount /data (among others), and those folders are all still there as I can adb push files to the device, and I attempted pushing the actual firmware to the /data folder and I could see the progress by pressing Install in TWRP and then looking in the /data folder... but that was the only file that told me "No space left on device" once it 100% completed, when there's obviously ~30GB.

The first error TWRP gives is that it cannot find the crypto footer.

Am I screwed here? Is this a harder softbrick? What am I missing? Please reply quickly, working by tomorrow would be very ideal.

Thanks in advance!
[Samsung Galaxy S7 Questions and Answers] Deleted member 804010:
The last time I tried to flash stock - I got errors in Odin. Disconnected phone, restarted download mode and tried again. Don't know why but it took four tries before flashing complete - good luck
[Samsung Galaxy S7 Questions and Answers] Kilva:
I tried many more than four times. Should I be using CSC rather than HOME_CSC, just to wipe everything and maybe that'll work?

You say you got 'errors' in Odin, but it's always different for a different cause. You didn't get an error before cm.bin, did you?

EDIT: Attempting CSC rather than HOME_CSC for both v7 and v6 firmwares.

UPDATE: Ugh... I guess it's not the same every time. Using CSC with the Marshmallow md5s, I got Odin to err earlier this time, before even getting to cm.bin!:

[IMG="error"]https://cl.ly/2n0H040C032M/Image%202017-05-18%20at%206.29.52%20PM.png[/IMG]

UPDATE2: I have just tried flashing Nougat with Odin, using CSC instead of HOME_CSC, and IT'S WORKING??? WTF. Got past recovery, now going through system... Perhaps I posted too soon? Sorry for wasting anyone's time. I will update this thread if it doesn't work.

I'd say this thread isn't worth deletion because I think somebody could come by, take this information and help themselves with it. :)

[IMG="yaaay"]https://cl.ly/311h3M3n252U/Image%202017-05-18%20at%206.39.51%20PM.png[/IMG]

[IMG="success"]https://scontent-ord1-1.xx.fbcdn.net/v/t34.0-12/18600832_1279368062140961_1415406299_n.jpg?oh=8ea39f881779cbc97d23985a4318b9c3&oe=59207055[/IMG]
[Samsung Galaxy S7 Questions and Answers] Deleted member 804010:
I had similar issue - error would be different with every attempt until finally it just flashed and passed. Glad you got it working .

sent from SGH-1337M using Tapatalk
[Samsung Galaxy S7 Questions and Answers] Kilva:
Yeah, that's the thing though... With this one, I got the same error no matter how many times I tried one specific way.

I suppose just never attempted the 7.0 firmware with CSC instead of HOME_CSC. Thanks anyway :)
[General Questions and Answers] Abdullah786$ultan:
Hi.I have a big problem Sad I am custom rom user and use Enigma Rom for J7(SM-J700F).Recently i flashed "Speed fusion Remix ROM" but i didn't liked it so i decided to go back to Enigma ROM V5 but no phone stuck on boot animation and vibrates after every 10\20 seconds.I also tried to flash Stock ROM via odin and it is also saying failed on now i can install Speed Fusion Remix ROM i want ENIGMA ROM V5 please help me.:crying::crying::crying:
[General Questions and Answers] Droidriven:
Try this thread for troubleshooting a failed Odin flash.

https://xdaforums.com/galaxy-s2/general/guide-t2345831
[General Questions and Answers] Abdullah786$ultan:
I am on stock ROM successfully but want to go to Enigma ROM V5.

I have successfully flashed stock rom but still can't install Enigma V5 still phone stucks on boot animation :crying: and gives some vibrations.
[General Questions and Answers] Droidriven:
Did you factory reset, wipe cache and wipe dalvik/Art cache before you flashed?

When you boot to TWRP, did you select the "Wipe" option, then on the next screen select "advanced wipes", then on the next page select:

system

data

cache

Dalvik/ART cache

Then swipe the slider, then after wipe is finished go back to home screen in TWRP and select "install", then flash your ROM?

Sometimes you have to wipe system and data in addition to factory reset, wipe cache and wipe dalvik/ART cache before flashing a custom ROM.