yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Q&A, Help & Troubleshooting] seanmavley:
Hello.

I am very keen in getting the Ubuntu Touch ported to my Xperia Z2 phone. Obviously, I'll need all the help and guidance possible.

What I currently have? developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/

I'm using the official porting guide as checklist. Below are what I have accomplished so far with the guide

Setup my Development Environment

Have built for Nexus with success to see if my environment is up and running (the building threw no errors, so I assume it "works", since I have no means of testing because I don't have a nexus handset)

I have added repos regarding under how to enable a new device.

I have done the first part of the Device specific changes using the check-config script, the _defconfig file in the kernel (this is Sony Xperia Z2 kernel: CyanogenMod/android_kernel_sony_msm8974 , right?)

When I did the build ( just to test so far what I've done ) I got the error that, its using the pre-compiled kernel, or something like that.

Now my questions:

How do I tell it which kernel to use, and where?

Where is the pre-compiled kernel and which is the precompiled: the one from the vendor/ (which I got from extracted binary from sony official) OR the /kernel/sony/msm8974 ?

I've gone looking around to see if I could perhaps follow the pattern used in the porting to the Xperia Z, since they're in the same series. Yet, I hardly could follow what exactly the 'porter' did. I was interested in finding answers to the 'What?', and 'Where?' of the porting done, but couldn't get solid answers.

I ask this here with the hope that, a developer who's been through the porting process will be able to offer assistance. I've been in touch with Mamenyaka, and along the lines, he'll be assisting too. But since he isn't available all the time, I ask this here.

Concerning the above list of questions, please, any assistance will be appreciated.

Its understandable, yet unfortunate, that the official ubuntu porting guide has been made to be so broad and so generic its hard to streamline what it says with a specific device. With this thread, I hope to get very specific instructions precisely tailored to the Xperia Z2 and to accommodate being extensive, instructions for the Z line series.

thanks

EDIT: my error log so far pastebin.com/Wax18UFK
[Xperia Z2 Q&A, Help & Troubleshooting] _heisenberg:
Hello,

if you are still working on this project:

Your Problem was not that you used the prebuilt kernel, your problem was that the script doesnt use mkabootimg correctly. For sony device you have to use another command.
[Xperia Z2 Q&A, Help & Troubleshooting] lovalim:
Friend i would love to see ubuntu on my z2

share a link which may be helpful

https://wiki.ubuntu.com/Touch/Devices/minato
[Galaxy Tab 2 Q&A, Help & Troubleshooting] CaseyS:
Hello guys, I'm new to this forum but not to Android. I'm familiar with Samsung devices coming from a S3 mini. So I was wanting to root my Galaxy tab 2 7" (GT-P3110) but don't have access to a computer currently. So I got to digging and found a Chinese app called "Root Master" which worked for the device. I was on stock and it was successful. After doing so I flashed CM12.1 and gapps to then find I lost my custom recovery and root. I tried rooting it again with the application but with no success. Any suggestions/help would be much appreciated.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] jrc2:
Oh boy... ;) Does Cm 12 boot? If so, go into developer settings and set root access to 'Apps & ADB' and turn off 'Update CM Recovery when ROM updates'.

jrc2
[Galaxy Tab 2 Q&A, Help & Troubleshooting] CaseyS:
Yeah, everything runs completely fine. I just lost root and recovery. I'll give it a go. Thanks.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] CaseyS:
I feel really silly haha I should've known this was the issue! Let's just say it's been a long day haha
[Galaxy Tab 2 Q&A, Help & Troubleshooting] jrc2:
So is everything working for you now? You can get recovery again by flashing the latest TWRP from [MENTION=5153662]Android-Andi[/MENTION]'s recovery thread through Odin or Heimdall.

Have a great day!
[Galaxy Tab 2 Q&A, Help & Troubleshooting] CaseyS:
Yeah, everything is fine and TWRP was still installed so need to do anything else.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] jrc2:
Alright, great! Please remember to add "[SOLVED]" to the beginning of the title.

jrc2
[AT&T Samsung Galaxy S6 Edge] chuckado:
Since root has been achieved with pingpongroot, do we have to wait for the bootloader to be unlocked. If anyone has any insight, that would be awesome. I am aware that the root was achived within the last couple of days I was just looking for a rough estimate.
[AT&T Samsung Galaxy S6 Edge] Phoneguy589:
Now that we have root we can eventually get a custom recovery and start flashing roms. The bootloader unlock would be nice but root is the main goal right now..... :)
[AT&T Samsung Galaxy S6 Edge] badler6545:
I hope so! I'm a bit worried though because I'm coming from a Note 3 AT&T and we've had root for a long, long time but never a bootloader unlock. We've been able to install custom Touchwiz based ROMS, but no one can crack the bootloader there. Here's to hoping that with a wider developer audience the S6 gets a more favorable outcome!
[AT&T Samsung Galaxy S6 Edge] freemeech:
I tried to download it the file asked me to open it in gallery.. Dunno why
[AT&T Samsung Galaxy S6 Edge] SSJ_Gomike:
I'll bet we'll see custom roms still with locked BL similar to safestrap. Though they'll be lightly modified and TouchWiz based I'm sure.
[AT&T Samsung Galaxy S6 Edge] bigblue95z:
Only way I see getting BL unlocked is someone leaking the key, and that won't be happening anytime soon. I'm almost tempted to sell my ATT edge for the international version.
[AT&T Samsung Galaxy S6 Edge] mr turtle droid:
The thing everyone's not looking at is you don't need a recovery to flash Roms..we have flash fire which doesn't trip Knox or need a unlocked boot loader I personally tested it and it works it flashes and backs up just like a recovery
[AT&T Samsung Galaxy S6 Edge] David111jr:
You successfully did a back up?

And you are right with the s5 we never achieved unlocked bl but still got recovery working thx to safe strap.

I wonder if safe staple can be used now since we have root. I would try but don't have a p.c to Odin back if it bricks lol
[AT&T Samsung Galaxy S6 Edge] mr turtle droid:
Yea I backed up the roms data and flashed Odin back to stock and restored the data and it worked so I can confirm it actually modifys the system partitions
[AT&T Samsung Galaxy S6 Edge] Carloskeee:
Correct, as seen in the regular at&T galaxy s6 thread here (http://xdaforums.com/att-galaxy-s6/development/rom-cleanrom-1-0-clean-smooth-stable-t3111330)

they already have "CleanRom" which is flashed via FlashFIre. ive read that we can flash roms through FlashFire as long as it sits on the original Samsung kernal. (correct me if im wrong)

hopefully everything catches up soon. this device is beautifully amazing.
[ONE Q&A, Help & Troubleshooting] pirouettelover:
My OPO is currently in a bootloop and I want to factory reset it, however it seems like my device is unrecognized no matter what. I keep get an MTP USB device failed to install. I have tried running adb devices and it does not show up under there as well.

I made a previous thread that caused the bootloop problem here:

http://xdaforums.com/oneplus-one/help/paranoid-android-5-1-bootloop-t3104618

Thanks in advanced!
[ONE Q&A, Help & Troubleshooting] Magnum_Enforcer:
Please don't create duplicate threads regarding the same issue. Use the existing thread for help with your problem.

Thread closed.
[Windows Phone 8 Q&A, Help & Troubleshooting] nextonline:
Being a MS fan, I decided to give windows phone a second try, so I purchased Lumia 930. The majority of the apps that I need are available, so that's good, but how in the world did MS release an outlook app for android and not Windows phone? I'm not really a fan of the default mail client. Are they planning on bring the outlook app to their own OS? Also, is there no way to put the phone in silent mode without holding the volume down button for half an hour?
[Windows Phone 8 Q&A, Help & Troubleshooting] SuperCana:
You will get the Outlook app with Windows 10 update later this year. Here it is in action: http://www.bing.com/videos/search?q...&mid=83EE3955920C539F553883EE3955920C539F5538

You will also be able to get the Insider Preview of Windows 10 soon.

As for the silent mode, you can click the arrow on the volume bar that pops up when you press a volume button and change it from there. Or you could add quiet hours to the notification center, and then just tap it to turn it on. No notifications will make sound.
[Windows Phone 8 Q&A, Help & Troubleshooting] nextonline:
Thanks, quiet hours is exactly what I need! It's strange that they went ahead and released outlook for android and left their own platform in the dark until the next OS update.
[G3 Q&A, Help & Troubleshooting] bleuxeon:
Hi,

I was planning to buy the G3 32Gb for my father since price is now below 400$ and that this phone is supposed to take good pictures.

But before buying I decided to take a look here and i am very surprised/disappointed to see that there are only 3 kernels for this smartphone.

Is there any things like closed sources, hardware issue etc... that prevent devs from building custom kernels on this phone?

Thanks
[G3 Q&A, Help & Troubleshooting] Amb669:
All AOSP (Android Lollipop) roms on the G3 have wifi disconnect issues.

There are no AOSP (Android KitKat) roms for the G3.

That leaves you with the stock/stock based roms, There is only 1 Kernel for this particular type of ROM, The RIN Kernel. RIN Kernel is FAR LESS battery efficient than the stock kernel (Stock kernel makes the phone last approx 50% longer than the RIN Kernel)

When all is said and done, The stock Kernel on this phone is FAR SURPERIOR to any other kernel out there for this phone.

If you're not comfortable letting LG control your kernel for performance/battery life I would just avoid the G3 all together.

The stock LG kernel is ok in terms of performance & battery life, it's not the best it could be, but it's not bad either. But the stock LG kernel certainly BY FAR the best out of the current selection of kernels for the G3.

Here's the bad about the stock kernel, But even with these issues this kernel is still the most efficient out of all the G3 kernels.

1. Stock kernel can't undervolt/underclock.

2. No hotplugging (All 4 cores stuck on without being able to change it).

3. Touchboost is stuck on (your cpu jumps up to 1.7ghz everytime your finger touches the screen, simple stuff like texting are extreme power hogs because of this).

4. No cpu control what so ever.
[G3 Q&A, Help & Troubleshooting] bleuxeon:
:eek: ...

That is exactly what I want to avoid.

I am very disappointed.

But I see that there are some CM 12 and even CM 12.1 ROM arround, correct me if I am wrong but isn't CyanogenMod using its own kernel?
[G3 Q&A, Help & Troubleshooting] 573v3:
http://xdaforums.com/showthread.php?t=2772658

Kernels

Quote:

Lollipop, Android 5.x - reviewed on 02 May 2015

Original Android Development

[09 Jan 2015] [D855]Rin Kernel 1.2[LOLLIPOP]

[19 Dec 2014] [Lollipop][D855 only][20E]ChupaChups kernel v. 2.1 - 19.12.2014

Android Development

[01 Mar 2015] Furnace for AOSP [D850/1/2/5/LS990/VS985][3/1/2015][LiveSharp][KCAL]

[08 Feb 2015] [Kernel 3.4.106][SM 4.9.3][LP] 777 Kernel [D85x/LS990/VS985][R6][AnyKernel]

[14 Jan 2015] [AOSP][D850|1|2|5 / VS985]Rin Kernel 1.6.5[LOLLIPOP]

[24 Dec 2014] [LOLLIPOP][AOSP]Optimized SM-4.9.3 Kernel [V2.2][D855/D851/D850/LS990]

AT&T G3 Android Development

[14 Jan 2015] [AOSP][D850]Rin Kernel 1.6.5[LOLLIPOP]

Sprint G3 Android Development

[15 Apr 2015] Bare's "Navel" Kernel

T-Mobile G3 Android Development

[08 Mar 2015] [CM12]Tootsie-Pop Kernel[LOLLIPOP]

[14 Jan 2015] [AOSP][D851]Rin Kernel 1.6.5[LOLLIPOP]

Verizon G3 Android Development

[07 Apr 2015] SkyDragon Kernel V4.0.2 Lollipop [STOCK/NON-AOSP]

[30 Jan 2015] [LOLLIPOP][AOSP] Optimized SM-4.9.3 Kernel [V2.2][VS985]

Quote:

KitKat, Android 4.4x - reviewed on 02 May 2015

Original Android Development

[09 Jan 2015] [D855|F400|D852]Rin Kernel 1.8.5[KITKAT]

Android Development

-

AT&T G3 Android Development

[09 Jan 2015] [D850]Rin Kernel 1.8.5[KITKAT]

Sprint G3 Android Development

[19 Dec 2014] [WIP] ToXic CaNdy [LS990] [DEC18]

[05 Dec 2014] [LS990]Rin Kernel 1.8.5

T-Mobile G3 Android Development

[01 Mar 2015] Furnace for LG G3 D851 [STOCK-10R][3/1/2015][LiveSharp][KCAL]

[08 Feb 2015] [4.4.2][BETA]KAsp3rd Kernel [V002] Blind build coming soon

[09 Jan 2015] [D851]Rin Kernel 1.8.5[KITKAT]

[07 Jan 2015] [D851-Tmobile] SkyDragon V1.6.1

Verizon G3 Android Development

-
[G3 Q&A, Help & Troubleshooting] bleuxeon:
Well...if you remove all non D855 version and then remove all non-Lollipop ROMs and kernels, there are only a very litle left.

I wasn't used to that with Nexus line... and even my old 2011 Sony Xperia Ray 1core 512Mb runs Lolipop 5.1 and custom kernel...
[G3 Q&A, Help & Troubleshooting] djerick3:
Over in development their are several kernels for the G3 and I've tried them all. 777 kernel, furnace kernel, bares kernel and they all have better battery life than stock so I'm not sure what you're talking about. The 777 kernel is preferred as it comes with a few aosp ROMs now.

Ohh and I have zero WiFi issues and have been using aosp ROMs for at least 9 months. I just read the posts before I download to make sure I don't have any issues. BlissPop is aweseome, OctOS, BarePop TE edition, Candy 5 all with no WiFi issues.
[G3 Q&A, Help & Troubleshooting] Amb669:
Those kernels might work better on your device, But not any G3 I've seen in real life.

These results are from my own EXTREMELY controlled testing enviroment.

This isn't real world performance because there is no touchboost being enguaged or anything like that, But this will show the difference between kernels on my device:

Stock kernel: 15h7m SOT.

Out of all the custom kernels I tried the one with the best battery life only yielded 10h35m SOT under the exact same testing conditions.

Well if you don't know what i'm talking about you should go do some google searching and you'll know exactly what i'm talking about.

Maybe not everyone has these issues, But there are A LOT of users experiencing these issues, including myself and 2 other G3 owners in my house.

http://www.techtimes.com/articles/4...drain-slow-charging-wi-fi-issues-and-more.htm

I've tried these roms:

stock rom (4.4 stock based) No wifi issues

cloudyG3 1.1 (4.4 stock based) No wifi issues

cloudyG3 1.2 (4.4 stock based) No wifi issues

slimrom (5.0 stock based) Has wifi disconnect issues

liquid smooth (5.0 stock based) Has wifi disconnect issues

cm12 (5.1 stock based) Has wifi disconnect issues

dene's rom (5.1 stock based) Has wifi disconnect issues

Everything that is lollipop has wifi disconnect issues on my device and a few other friends have the same problem with their G3's.
[G3 Q&A, Help & Troubleshooting] t2pham:
I'm with stock kernel. I installed Kernel Adiutor, switch to Conservative. All above things can be customized as you want.
[G3 Q&A, Help & Troubleshooting] 573v3:
+1
[G3 Q&A, Help & Troubleshooting] djerick3:
Every ROM you are talking about here is for a gsm g3 and not a cdma ls990. My fault for the confusion. For my ls990 I have much better battery life when using the 777 kernel. I can undervolt and over clock. I definitely save battery power without a doubt. I have no wifi issues using several different ROMs (Bliss Pop 3.2, Illusion, BarePop, OctOs, Candy 5, etc..) I guess some features work better on a CDMA g3 and then some work better on a GSM G3. Not trying to argue and I apologize if I came across that way. Have a good one man!
[Xperia Z1 Q&A, Help & Troubleshooting] mikailmohammed:
Is there any way to root lollipop without having to go back to 4.4.4?
[Xperia Z1 Q&A, Help & Troubleshooting] mizukage:
yes there is a way..follow my lead..haha

WARNING: for UL bootloaders only

1st dl stock lolli and flash

2nd flash latest kernel of venkat via fastboot (link: http://xdaforums.com/xperia-z1/development/5-0-rockz1l-kernel-t3101608)

3rd after flashing reboot device into recovery by pressing volume down continoulsy while sony logo is booting

4th choose install and flash the superSU.zip

and boom ur phone is now rooted with stock lolli

edit: more detailed info
[Xperia Z1 Q&A, Help & Troubleshooting] dragonnet_86:
Please more explain
[Xperia Z1 Q&A, Help & Troubleshooting] gioiellino:
try with nut dualrecovery installer

1-2-3- options

and if recovery work flash ROM
[Xperia Z1 Q&A, Help & Troubleshooting] boringfrog:
Wow that was easy.:)
[Xperia Z1 Q&A, Help & Troubleshooting] ChristianD1:
I will be very God this... I will be waiting for root for xperia z1 on Android 5.0.2 without go to 4.4.4 or unlocked bootloader
[Xperia Z1 Q&A, Help & Troubleshooting] Dadovvv:
Here is new method for direct root.

http://xdaforums.com/crossdevice-dev/sony/unlock-bootloader-downgrade-t3106459
[G3 Q&A, Help & Troubleshooting] Amb669:
Hey guys, Does anyone know where I can find CloudyG3 1.1 Rom?? I need version 1.1 because it's the only good rom for my phone.

I need version 1.1 only and I've looked around everywhere on the internet and there's nothing. (can't find it on google since they prioritize search results based on advertising now so google can make boat loads of money at the expense of having almost no search results)

Can anyone upload me a copy of the CloudyG3 1.1 Rom? or point me in the proper direction.

Thanks.

Stock rom = no wind service

Lollipop rom = wifi cuts out

CloudyG3 1.2 = bad battery life

CloudyG3 1.1 = I can't find this rom, But this is the only rom that is good for my phone.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] samy.3660:
I have got an custel rom and hardspl 2.10 but when i select autodect it gives me an error and tells me to use SSPL option.

Anyone know y??
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] peezy:
maybe you have a older RUU utility. what rea you trying to flash? download the latest RUU, put it in the same folder as the .nbh you wanna flash, and you shouldnt have to check autodetect, there will be a box for you to check 2.10.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] samy.3660:
Yes there is a box for 2.10 im using latest ruu.

But in mrvanx guide it was said u should use autodetect that is y im concerned. Anyways i have flashed the OS only with selecting SSPL option.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] peezy:
from my undserstanding hardSPL forces sspl so you dont have to click it. but if that works for you then great.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] kevino:
That is just in the custom RUUWrapper which is shipped with HardSPL.

I believe there is far more functionality in HardSPL (including preventing flashing SPL, which is why the above)
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Olipro:
You'll probably find your phone is asking you to confirm an action when it tries to check; it uses the RAPI interface which is a privileged function, when this happens then you'll find your phone hasn't been set to auto-allow RAPI.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] samy.3660:
Thanks Olipro,

So should i select manually "2.10" and "Is it hard spl" to flash?

Or there is a registry setting to allow "auto rapi",

I have a cab to enable rapi which mun used in his shelltool for wizard, if this helps??
[HTC EVO 3D] kennyclayman:
I have a HTC Evo 3D CDMA with Hboot 1.40 and radio 0.97. I have tried Dastin's CM11 & Liquidsmooth and I have the same issue with both of them. When I open the soundcloud app everything is normal but when I open it again the phone reboots, also, when I make calls through WhatsApp, after I finish a call the sound and sound recording gets completely messed up, i have to restart the phone to make them work again. My question is this, do anyone here is having or have had the same problem? Or do anyone know how to fix it? I have searched everywhere and haven't found a solution. Thanks by the way
[Galaxy S 5 Q&A, Help & Troubleshooting] QA Bot:
Q&A for [KERNEL] [Lollipop] [G901F] [06 May] ★ SimpleGX KERNEL v1.1.0 ★

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [KERNEL] [Lollipop] [G901F] [06 May] ★ SimpleGX KERNEL v1.1.0 ★. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Galaxy S 5 Q&A, Help & Troubleshooting] rodyanrask:
SimpleGX [901F] Kernel logcat

Hi,

how to enable logcat /kernel log/android log at SimpleGX KERNEL (v1.0.0)

please help, i don't want to go back to stock kernel just for logcat
[Galaxy S 5 Q&A, Help & Troubleshooting] kevin13_06:
SimpleGX KERNEL v1.1.1 "Security notification"

Hi,

I've installed this kernel over stock samsung rom BOD6 with CWM.

After few minute on home page, i receveid a notification that says : "Security notification: unauthorized actions have been detected".

It seems to come from KNOX service and when i swipe it , it comes again after few minute.

Anything to do with this ?
[Galaxy S 5 Q&A, Help & Troubleshooting] artaniss11k:
had the same problem.

install a custom rom.

i recomend SipleGX with SimpleGX kernell v 1.2.3

it works flowlessly without any kind of problems and it is rock stable

you can install xposed framework after to customise a little the rom after your taste
[Galaxy S 5 Q&A, Help & Troubleshooting] Phoenix09:
[MENTION=2687701]AndroidGX[/MENTION]: can I have some help please?

attempting to compile this and it doesn't boot

$ export ARCH=arm
$ export CROSS_COMPILE=~/arm-cortex_a15-linux-gnueabihf-linaro_4.9.4-2015.06/bin/arm-cortex_a15-linux-gnueabihf-
$ make simplegx_defconfig VARIANT_DEFCONFIG=apq8084_sec_kccat6_eur_defconfig
$ make -j4
$ ./build_boot.sh
DTB combiner:
Input directory: 'arch/arm/boot/dts/'
Output file: 'arch/arm/boot/dt.img'
Found file: apq8084-sec-kccat6-r01.dtb ... Old Version:1
chipset: 2986934017, rev: 65536, platform: 1, subtype: 0
Found file: apq8084-sec-kccat6-r00.dtb ... Old Version:1
chipset: 2986934017, rev: 65536, platform: 0, subtype: 0
=> Found 2 unique DTB(s)

Generating master DTB... completed
6179 blocks

I made no changes and SimpleGX v1.3.2 boots

and on a clean install of Ubuntu 15.04:

$ ./build_boot.sh
DTB combiner:
Input directory: 'arch/arm/boot/dts/'
Output file: 'arch/arm/boot/dt.img'
=> Found 0 unique DTB(s)
6179 blocks
error: could not load device tree image 'arch/arm/boot/dt.img'

I can't find any solution to this, I did exactly the same thing I did on the other install
[Galaxy Note 4 Q&A, Help & Troubleshooting] Ciex:
Alright,

I did make a backup samsung memo, and note app on my old important app on my old phone Samsung Galaxy S III, and I wanted to restore it on the note 4, but for some reason it says the batch is complete, but when I go to the app drawer on the CM 12.1, it doesn't show anything.

Do you guys know what is going on, and how to fix this problem?

Hope someone could please clear up this frustration I have, since I really really have important text files I wrote inside the app!
[Galaxy Note 4 Q&A, Help & Troubleshooting] absinthesummer:
I'm sorry, are you trying to restore Samsung's touchwiz apps on cm? Because they won't work on cm or anything else but touchwiz.

You probably could restore between different versions of touchwiz (ie s3 to note 4) but you would have to be on a touchwiz rom for s memo & s note to work.