Linux on lilac? Porting Halium, Ubuntu Touch. - Sony Xperia XZ1 Compact Questions & Answers

Hi,
I really like Xperia XZ1 compact design, and the fact it's comfortable in use. However I'm a big fan of real Linux distributions and mobile decentralisation, privacy, that's why I decided to achieve what's in the title - Ubuntu touch on XZ1c
Unfortunately, I'm still learning. For now I've only build AOSP 11 reading and understanding sony guide.
Now I try to understand whole structure of custom roms and in the meantime I build crdroid 10 for this device.
Could you help me understand well how to build custom roms from source, It may be priceless during the Halium build as I see the similar steps.
Helpful information:
Halium
{
"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"
}
Halium site
Halium porting guide
Ubuntu Touch site
Ubports porting guide - Ubuntu Touch team
Ubports Forum, section porting
Generic System Image - UBports
XZ1c has been released with android 8 then updated to 9. That means we need to build halium 9 with GSI not halium 5 or 7 (for previous android versions with different device tree) but there's no good documentation yet, so I recommend firstly seeing Halium conception then the GSI, and links in it, on the end previous well documented halium 5 & 7 first part.
My daily driver is indestructible Nexus 5 running Ubuntu Touch. So XZ1c can be a testing device without hurry.
The good news is I may borrow XZ1 dual sim "poplar_dsds" for building and testing in future after the XZ1c will be hopefully running Ubuntu Touch. Both are the "yoshimo" platform.
Second good news is that I also have old xperia z2 to train on everything I learn and that may destruct a device.

Related

[GTK Theme] ElementaryOS(LUNA) / Ubuntu Theme.

{
"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"
}
Info:
Ok so.... I got my laptop set back up on ElementaryOS. Typically I love the way this distro looks but for some reason I felt a little tired of the light UI. While trying to find themes I couldn't quite find anything that fit what I was looking for. So.... I decided to make my own! It is based off of the stock ElementaryOS Luna theme but has been reworked for the inverted look. ITS DARK!!! This is literally my first attempt at doing a theme for any full linux distro so I'd expect issues but I haven't found anything I can't live with. Just thought I'd share. Feel free to give it a try and let me know what you think!
Install:
This was built for ElementaryOS but should work on any linux distro that supports GTK themes. Most of you probably know how to use this if you're on linux but if not its quite simple. First make a directory in your home folder named .themes ( /home/yourname/.themes ). Once you've done that simple download and unpack the theme into that directory. Now if you do not have it installed do a Google Search for "Ubuntu Tweak". After Ubuntu tweak is installed open it and select the theme from the > tweaks tab > themes > GTK Themes. Good to go!!!
Download: Download theme from here!
Release Notes:
3/3/2013 - Initial release (may or may not update).
Instruction weren't straight forward. Computer now making waffles, bad ones.
Lol... Nice!.. Honestly using themes on Ubuntu are pretty straight forward as it is. A simple Google search would get someone the information they need on how to apply the theme once downloaded. If anyone actually wants me to print it all out I will update the OP when I've got a few free minutes.
Hey buddy good job on the theme. However, all computer related posts go in the link below.
http://forum.xda-developers.com/showthread.php?t=1765837
Thread closed
Sent from my Nexus⁴

Devs abandoned the device?

No oreo development is to be seen since the only oreo rom under 3t was updated 09/19 . Devs abandoned 3t? i wonder. oneplus 5 is getting much love on xda. Having a good working updated oreo rom in the forum for OP5
Check AOSPExtended or OmniROM thread... you will find something interesting.
Before posting, check better.
UPDATE: There is a new build for the LaOS 15.0.
When people doesn't have patience ,
Making device tree , fixing bug are not easy job ..
Well, @protocol717, I was waiting for your build actually... So yeah, now, I'm pretty sure you abandoned the device and we wont have any update.
I don't even know the point of your thread (not even comment, you created a thread just for that sh*tty thought). Look at the top device on XDA, the OnePlus 3T is still in top 5.
So know, learn how to be patient, and actually, be patient.
Or, make your own device three, kernel source, and build Linea....oh wait, build are already there.
Tuttut girls...
Ha Ha... your device is Oneplus 3T.. Oneplus has a brand name on being the most active developing community phones. My Old Oneplus One has the confidence of getting the Oreo, why not Op3t..
{
"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"
}
Crybabies from Oneplus forum started visiting XDA now?
Unleashed by ONEPLUS 3T rooted
No one has abandoned 3T. OnePlus devices have a reputation for having the most active development community. If you're worried about all the "Final" builds then its just because there isn't much to do on Nougat anymore since Oreo is out now. Once a proper device tree is established and all bugs are fixed, I'm quite certain a lot of Oreo builds will start popping up.
PS. Not many other devices have a solid oreo build yet but 3T has GZOSP and LOS15. Still quite buggy but stable enough to be your daily driver if youre willing to sacrifice a few things
Protocol 717, are you, by chance, an indian
Sent from my ONEPLUS A3010 using Tapatalk
dante_67 said:
Protocol 717, are you, by chance, an indian
Sent from my ONEPLUS A3010 using Tapatalk
Click to expand...
Click to collapse
Tut tut, lay off the racism and stereotyping xD.

Casual Sony XZ1 Compact user: which ROM should I use?

Hello everyone, It's been a while that I want to upgrade my stock XZ1 Compact phone to Android 11 and I'm trying to understand what is the best choice for my needs.
I'm looking for a Android 11 ROM that is "clean", without particular customizations or experimental software... I need it to be stable, first. Then, as a typical Android user, I would like to have Google Apps (Play, Maps, Photos, ...). No need instead to have Sony Xperia companion software, I never used it.
If I search for "lilac Android 11 ROMs", I see these on top:
1) LineageOS 18.1 Unofficial: https://forum.xda-developers.com/t/rom-lineageos-17-1-18-1-unofficial-update-2021-08-11.4308295/
2) Havok 4.6 Official: https://forum.xda-developers.com/t/rom-havoc-os-4-6-official-r.4225905/
3) AOSP 11 from another website: https://www.getdroidtips.com/android-11-sony-xperia-xz1-compact/
My doubts are related to (1) and (2): which one is the most tested and stable? Let's say, I don't want to flash my phone to have Android 11, but then Wi-Fi is not working as expected
I'm aware that the stock camera won't work anymore, and I will have to use OpenCamera.
Also about (3): how reliable is it? How is it different from the ROMs posted on this forum? From my udnerstanding, AOSP means it is "just" Android, no-Google. If I flash it, will I be able to still install Google Apps? Is it still a good choice compared to (1) and (2)?
Many thanks to everyone for the support
Hi there. I've had the same dilema. For short, Android 11 is "bleeding edge" - so some features are not yet supported/problematic (LOS 18.1). Android 10 (LOS 17.1) is better, because sony camera blob works, volte works, etc.. i'am using it for 2 months now and had zero problems, 100% stability and Good battery life.
If you want to get a system like in iOS (that is, closed), then put any ROM on android 10. You can't delete anything from the ROM or change it, get ready. New AndriOS
arthurbolotov said:
If you want to get a system like in iOS (that is, closed), then put any ROM on android 10. You can't delete anything from the ROM or change it, get ready. New AndriOS
Click to expand...
Click to collapse
{
"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"
}
misterbirra said:
View attachment 5395671
Click to expand...
Click to collapse
You wouldn't understand it. It is obvious that you are new and probably do not know what a deodex is even. So let's forget about the conversation.

When I press the Run button, the app on the emulator does not start

Hello everyone,
imgui/examples/example_android_opengl3 at master · ocornut/imgui
Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies - imgui/examples/example_android_opengl3 at master · ocornut/imgui
github.com
My project is based on this C++ project in Android Studio (ImGui). I had successfully compiled and run the project using the older Android Studio version 2021.3.1.17. However, upon upgrading to Android 2022.2.1 Patch 1, I encountered numerous errors, some of which remained unresolved even after several attempts at restarting, reinstalling, cleaning, and rebuilding the project.
Additionally, I have question: When I press the Run ► button, the app on the emulator does not start. According to the logs, the app, was successfully installed. However, when I touch its icon (ImGuiExample), I get the message "App isn't installed". Can anyone suggest a solution to this problem?
I have a difficult question that I hope someone can help me with: Is there a lightweight version of Android Studio that I can use to build my project without having to download so many SDK files? I believe a lightweight software with fewer SDK files will make it easier for developers to fix bugs, the Android Studio I use has so many SDK files.
Thank you in advance for your help.
{
"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"
}
I am not entirely certain, but I believe that the project was working fine with the old Android Studio 2021, likely because Imgui 1.89 worked but this is Imgui 1.89.6 (a newer), and I uninstalled the old Android Studio.
The solution for me is to downgrade to android-studio-2021.3.1.17. If the breakpoints don't work too for ndkVersion "25.1.8937393" for example then downgrade to ndkVersion "21.4.7075529". The key is then to switch between versions, and you can stick on one version without changing to another version for a long time.
But why, Android Studio has so many versions, I mean a lot? And it's difficult to find the perfect version.

Some question about 1ii flash sony offical AOSP android 13

I use the virtual machine in ubuntu and follow the tutorial on the offical sony website want to flash AOSP android 13 into my 1ii(XQ-AT52) but I stuck at the final step(flash .img into phone) ,becauce there're no .img file in the "product" folder as said in the tutorial.How to solve this problem?
link of tutorial:https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-android-13
{
"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"
}
In step 5 it says "Build AOSP images that can be flashed", did you ever build one?​
Tadashi_Sakura said:
In step 5 it says "Build AOSP images that can be flashed", did you ever build one?​
Click to expand...
Click to collapse
What will terminal say after finshed buuild?
My terminal will be normal at the beginning,but after about 15~20 minutes it will stuck(it seems like virtual machine have not enough ram)after another 30 minutes terminal close! but the the number of files in the folder has increased.I'm not sure build is success or not...
Since you can't find any .img file I strongly suspect that the building process is not done yet. And I quite doubt that it is not the ram but the lack of free space of your virtual machine that interrupts the process.
No less than 50GB free space is suggested for building process.
By the way, why not try los 20.0(which is an A13 version of lineagOS)? It seems like clfbbn didnt release it on XDA but you can easily find it on the website.
Here is the download URL:
LineageOS Downloads
download.lineageos.org
And you can find the tutorial here:
Install LineageOS on pdx203 | LineageOS Wiki
wiki.lineageos.org
Tadashi_Sakura said:
Since you can't find any .img file I strongly suspect that the building process is not done yet. And I quite doubt that it is not the ram but the lack of free space of your virtual machine that interrupts the process.
No less than 50GB free space is suggested for building process.
By the way, why not try los 20.0(which is an A13 version of lineagOS)? It seems like clfbbn didnt release it on XDA but you can easily find it on the website.
Here is the download URL:
LineageOS Downloads
download.lineageos.org
And you can find the tutorial here:
Install LineageOS on pdx203 | LineageOS Wiki
wiki.lineageos.org
Click to expand...
Click to collapse
but I have enough space , even available space is more than 50GB! that's why I feel so weird...
lineage may cause PotoPro failure and can't use some unique function made by sony,so lineage I think is not suitable for me~

Categories

Resources