This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Plasma-Mobile on HTC One M8

Tags: None
(comma "," separated)
kev1807
Registered Member
Posts
12
Karma
0

Plasma-Mobile on HTC One M8

Fri Aug 12, 2016 9:53 am
Hi there,

I own a HTC One m8, which I really Love. It is rooted and has a custom Rom that I further customised.
I have some Machines running several Linux distros (xubuntu on my netbook, Mageia on my Tower ...), However I have not dug in very deep, so that I'm not very capable with Linux etc. (I'd still das I am an absolute beginner with Linux) so that I'm not too comfortable doing this on my own. However, I'd like Plasma Mobile on the HTC One M8 very much...
There is an existing CM-version, that Runs very smooth.
Can I simply use this CM-Version
(http://download.cyanogenmod.org/?device ... perimental )

And follow the
Github-how-to
(https://github.com/plasma-phone-packaging/CM)?
If not, which alterations do I have to make?
Would anyone want to make this happen?
I'd be very happy to participate in any way... (Testing, maybe even building)
However, I am an beginner at this ...

(I also have an Nexus 9, which might be easier and of even more use, if BT -keyboard Works ...)

I'd happily read every response,
Beste wishes and thanks in advance,
Kevin
kev1807
Registered Member
Posts
12
Karma
0

Re: Plasma-Mobile on HTC One M8

Sat Aug 20, 2016 10:44 am
As I have 420 views right now and noone seems to be interested in making this happen, I'd try to build it, if there are some questions answered ...
I have in the meantime built my own CM 13 for my One M8. Now, before starting the process of stripping it down etc. I have some questions, which I need answered before I attempt to "port" it ...


1) the kernel-modifications mentioned here https://github.com/plasma-phone-packaging/CM are done where exactly? (a generalised answer is fine, I think) Is it the kconfig mentioned here https://github.com/cyanogenmod/android_kernel_htc_msm8974 ?

2) Is there a embedded.mk file for the M8 such as this one
Stripping CM to bare minimum

Android provides embedded.mk file to setup really minimal android system

https://android.googlesource.com/platfo ... mbedded.mk

Or is this not device-specific? I cannot find any hint that it is, so I'm assuming it isn't, but I'd rather be sure ...

3) After brunch hammerhead (brunch m8 with me) I flash one more time and the stuff after
Get lxc

is setting it everything up on the device.

4) Do I have to do something to make it startup affter a reboot automatically?

5) Can I somehow make a flashable img. that does not need any of these steps, so that flashing it works similar to a normal android rom?
--> I need the kernel to support containers, but I can flash each minimalized android-version (with the embedded.m aforementioned), so I can somehow make it a flashable img that people can flash with a custom recovery of their choice?

6) As I cannot see any way to brick my phone, I assume that I can always just flash another version of any rom to return to a fully functional rom?

I know there are many questions, an experienced user considers dumb questions, but I am not an advanced user, but eager to learn and do something ... :-D

Thanks in advance.
If these questions are answered, I'd be happy to share the build in this thread, but I want to be as sure as possible before reflasing my M8.
User avatar
JBB
Registered Member
Posts
19
Karma
1
OS

Re: Plasma-Mobile on HTC One M8

Sun Aug 28, 2016 9:45 pm
Sorry I cant really help you with your questions, but as I see https://github.com/bhush9 made the main things of plasma-mobiles new rebase, so Its probably the best way to contact him directly and ask him your questions. I think the forum is not used very often, and I haven't found any other channel like IRC or Telegram.
I'm not an expert in Mobile Linux, just flashed and customized some android Roms on my old Galaxy Y. Im reading a few documentations (there aren't so much), but I haven't found a real porting guide for plasma-mobile or just for real linux on phone. Nice you try this! Please reply every progress you make!
aj20010319
Registered Member
Posts
2
Karma
0

Re: Plasma-Mobile on HTC One M8

Sun Nov 06, 2016 10:08 am
kev1807 wrote:As I have 420 views right now and noone seems to be interested in making this happen, I'd try to build it, if there are some questions answered ...
I have in the meantime built my own CM 13 for my One M8. Now, before starting the process of stripping it down etc. I have some questions, which I need answered before I attempt to "port" it ...


1) the kernel-modifications mentioned here https://github.com/plasma-phone-packaging/CM are done where exactly? (a generalised answer is fine, I think) Is it the kconfig mentioned here https://github.com/cyanogenmod/android_kernel_htc_msm8974 ?
It's to be done in the defconfig and not kconfig, you will find the defconfig for m8 is inside [kernel_source]/arch/arm/configs/cm_m8_defconfig

2) Is there a embedded.mk file for the M8 such as this one
Stripping CM to bare minimum

Android provides embedded.mk file to setup really minimal android system

https://android.googlesource.com/platfo ... mbedded.mk

Or is this not device-specific? I cannot find any hint that it is, so I'm assuming it isn't, but I'd rather be sure ...
Nope, not device-specific.

3-5) Why not just edit this script, https://github.com/plasma-phone-packaging/pm-flashtool/blob/master/flash-plasma-phone a bit? will make life a lot easier :D


6) As I cannot see any way to brick my phone, I assume that I can always just flash another version of any rom to return to a fully functional rom?
Just flashing a working ROM from recovery will do, or you always have RUU which you can flash in HBOOT.

jacksonant
Registered Member
Posts
1
Karma
0

Re: Plasma-Mobile on HTC One M8

Sun Nov 06, 2016 11:02 am
I Would love to see this happen on my HTC ONE M8.

Why use CM and not AOSP from source to build though?
aj20010319
Registered Member
Posts
2
Karma
0

Re: Plasma-Mobile on HTC One M8

Mon Nov 07, 2016 3:22 am
jacksonant wrote:I Would love to see this happen on my HTC ONE M8.

Why use CM and not AOSP from source to build though?

Who knows? Maybe something isn't there in AOSP. :-\ ???


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell