yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Sammy854:
Someone could try to follow this guide... it should work

Open dsixda's Android Kitchen

Decompile both boot.img/kernel (base and port roms)

Open both init.environ.rc files

In CM/AOSP kernel replace BOOTCLASSPATH by the one from PORT boot.img ROM

In CM/AOSP kernel do these changes:

--> ro.secure=1 to ro.secure=0

--> ro.debuggable=0 to ro.debuggable=1

--> persist.sys.usb.config=mtp to persist.sys.usb.config=mtp,adb

--> ro.adb.secure=1 to ro.adb.secure=0

Save and recompile kernel

Use CM/AOSP modified kernel in your rom.

I'm very busy with my exams, so I can't do it by myself :(
[Moto G Android Development] poondog:
^^

Sense RAMDISK has sense stuff in it. You need to port this and use the stuff from m8 ramdisk. Also frameworks may need to be edited to remove dependencies on htc stuff

good luck, just passing by :)
[Moto G Android Development] Sammy854:
Ooook... Someone try this, please :)
[Moto G Android Development] droidx8:
Edited Sense kernel?
[Moto G Android Development] Sammy854:
No, I didn't. I found it somewhere :)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] Sk.D:
Hey, it would be good, if u make a short guide, what to do exactly. So I may look into it!!!!!

Thanks. :)

Regards Sk. D
[Moto G Android Development] dd98:
If you need help on this, first try and get a .zip of the Moto G GPE ROM and then port over from a similar device like HTC Desire 816 (S400) or when available the HTC One mini 2 or HTC Desire 610, then port over using this guide. Then you need to find out the size of the /system partition. If it doesnt fit then delete the unnecessary things like Facebook, Twitter etc. Anyway you will need to build your own kernel and port over M8 dependencies in kernel and the framework. I would build it if I could
[Moto G Android Development] VictoriousShooter:
I apologize for my lack of... Well... Doing anything for this port.

It's just very difficult to port anything when my machine can't run Ubuntu when almost every method if porting requires Ubuntu.
[Moto G Android Development] mccbrandon:
If you had Ubuntu could you do it? Because you could use my Ubuntu via teamviewer
[Moto G Android Development] J.K:
I tried porting

I managed to SLIM Sense 5.5 HTC One Mini Dump (Removed Bloatware) & Made Changes in DUMP .... But i m unable to boot it Coz of Kernel i tried to port kernel but i don't know why it's not working! If someone who is good at porting can help me PM Me So we can start the work again!

BTW,I am following this Guide http://xdaforums.com/showthread.php?t=2245786

My Base- CM 11 M6

Port ROM- HTC One Mini (4.4.2 Sense 5.5)
[Moto G Android Development] K3VYNC:
Development stopped?
[Moto G Android Development] VictoriousShooter:
Not at all, I've been building day in and day out, but nothing has progressed. I wasn't going to post anything unless anything changed.

So far, nothing has changed. The boot still freezes.
[Moto G Android Development] GalaxyUser:
Hi everyone,

[MENTION=5608188]vish.me.98[/MENTION] contacted me and asked me if I could help you with kernel.

The only thing i needed to make Sense 6 boots on my Nexus 5 was to edit bootclasspath.

Perhaps it's different for other devices, but on LG G2 it was only bootclasspath too.

I don't think you need to port anything in kernel but change bootclasspath to make it boots.
[Moto G Android Development] reversegear:
already did that...

http://xdaforums.com/showpost.php?p=52282178&postcount=176

this was the result

http://xdaforums.com/showpost.php?p=52284884&postcount=177

we will try again :)
[Moto G Android Development] Pepie:
Awesome, I don't have any knowledge about changing bootclasspath but if anyone is able to change it I guess me and a lot of others would love to try it out.
[Moto G Android Development] reversegear:
check this for bootclasspath editing

http://xdaforums.com/showthread.php?t=2073775
[Moto G Android Development] GalaxyUser:
From which device are you porting Sense 6 on Moto G ? If the device you are porting from has the same chipset / gpu just try that:

Change bootclasspath in ramdisk

Change /lib/hw/hwcomposer.msm????.so

Same for:

/lib/liboverlay.so

/lib/libqdutils.so

/lib/libexternal.so

/lib/libqservice.so

Don't replace anything else

Then just copy/paste (without overwritting already existing files):

/lib/

/vendor/

/etc/

/usr/

Then try to boot, check errors in logcat (missing dependencies)
[Moto G Android Development] :
Which is the best to port from?

They have all the same resolution
[Moto G Android Development] burak144:
I think One Mini 2 is the best to port. because its cpu frequency, the amount of ram and screen size is the same as the Moto G.
[Moto G Android Development] VictoriousShooter:
The only reason this port was based on the One M8 is because the One Mini 2 and Desire 816 weren't released yet.
[Moto G Android Development] nisu4717:
Desire 816 is released now
[Moto G Android Development] Sammy854:
Htc One mini 2 is nearly the same.
[Moto G Android Development] Pepie:
Indeed, I guess porting from the mini 2 would be the easiest way.
[Moto G Android Development] :
Here there is sense 6 system dump from HTC one mini 2 :)

http://xdaforums.com/showthread.php?t=2808555
[Moto G Android Development] Zerelth:
Greats news that we have something to work on (at least :3), it's HTC One Mini 2 anyway (nearly a clone to moto G's specs)
[Moto G Android Development] akku1:
How about HTC Desire 610 :D

The latest budget phone , specs match our G (minus the HD screen )

System dump will be available soon maybe !
[Moto G Android Development] :
No, the screen resolution is really important, we have HTC mini 2 system dump and it's enough. ;)

Now we can start working on this. I won't be at home until August, but you can try porting this without me

Good luck
[Moto G Android Development] humzaahmed155:
Are you sure audio will be working after the port? HTC and Samsung did something to their audio drivers in 4.0+. I think that's probably why the Nexus 5 project was stopped. The camera was an issue too.
[Moto G Android Development] denzel09:
Audio will be surely a problem first...
[Moto G Android Development] Zerelth:
Any progresses?
[Moto G Android Development] VictoriousShooter:
None yet.
[Moto G Android Development] Zerelth:
So this stuff's not on development anymore?
[Moto G Android Development] :
can anyone share me the boot.img alone?
[Moto G Android Development] obvious:
I've been keeping my fingers crossed for this project (partially cos sense has text wrap) but I guess it's guy a brick wall?

Would it help to put a call out for some dev help?
[Moto G Android Development] ATRIXXIRTA:
Sure. Heres the number: 1-800-SEN-SE60. Ask for Steve...

Lol sorry to be sarcastic jerk [emoji39]
[Moto G Android Development] Black_Eyes:
i believe we Can easily Port it from htc one mini but we need a kernel Porter who knows how to get things needed in Kernel to boot ;) [MENTION=4913184]percy_g2[/MENTION] can you help here :p
[Moto G Android Development] dsigman:
Htc desire 610

How about using the new HTC 610. I believe it is really close to the moto g.
[Moto G Android Development] adinkwok:
I'm interested in porting Sense 6 (I think it looks sexy) and I have a lot of knowledge in the kernel area. I've heard that most of the "kernel porting area" is in the Ramdisk rather than the boot.img (correct me if I'm wrong). Is there a flashable zip of stock Sense 6 for the HTC 610?
[Moto G Android Development] Black_Eyes:
yes, we have nothing to do with zlmage for now ...

mostly Changes are in init.rc and init.(device).rc
[Moto G Android Development] Krizthian:
One could use the method that was used to carry to work on MIUI port?

For the ROM boot
[Moto G Android Development] h2o64:
This device may help :

https://github.com/jmztaylor/android_device_htc_a3ul

HTC Desire 610
[Moto G Android Development] h2o64:
HTC desire 610 dump

https://mega.co.nz/#!k0l3ARgI!_Kz0ZQf2GQXae-gD-reVzNiHoa6Px0TIHlFpRiyX7KM
[Moto G Android Development] Black_Eyes:
Already have it but needs a kernel expert, Many ramdisk Changes
[Moto G Android Development] h2o64:
That's what I saw.

I just made a mirror.
[Moto G Android Development] VictoriousShooter:
Today I'm going to start installing Ubuntu on my machine, see if I can do anything about this kernel issue.

Bringing this back from the dead
[Moto G Android Development] methuselah:
Why don't you take help from any kernel Dev ??
[Moto G Android Development] Black_Eyes:
Great :good:

let me know if you need help.. [MENTION=4817003]bilal_liberty[/MENTION] might help us :D
[Moto G Android Development] VictoriousShooter:
Because I just don't know anyone. I've asked a few, but none of them have replied.

If you can find someone to help, please do.

Also, can someone here please link me to the newest dump of the desire 610 and the kernel source of that dump?
[Moto G Android Development] muftiazan:
http://xdaforums.com/showpost.php?p=55512087&postcount=13 - Desire 610 EU ROM

Also I'm pretty sure porting from One Mini will be easier since it has more development and also matches our device and it will have the latest firmwares and sources. The Desire 610 barely has root and I don't know how I found this stock ROM. Anyway, have the One Mini firmware even if you don't want it.

http://xdaforums.com/htc-one-mini/development/rom-official-stock-sense-6-rom-firmware-t2817921
[Moto G Android Development] Spardantex:
I hope that this project can be realized. Sense in the best
[Moto G Android Development] KileakX:
+ 1000 :)
[Moto G Android Development] dhruv7855:
Waiting for new build
[Moto G Android Development] h2o64:
There aren't any old ones
[Moto G Android Development] VictoriousShooter:
Does the one mini have sense 6?
[Moto G Android Development] EvilShadeZ:
HTC One Mini 2 has almost exactly the same specs as our Moto G's and it runs Sense 6...

Main hardware is the same - CPU, GPU, CHIPSET...

The problems might come in audio, camera though.
[Moto G Android Development] muftiazan:
Audio and camera will not work if you dont have an ION Kernel.

Sent from my HTC One
[Moto G Android Development] paulwollf:
Allthough i dont own this device but im getting one in my birthday in 2 months i asked my phone's dev [MENTION=4622338]szezso[/MENTION] who is an HTC expert Kind of and he might help you a bit
[Moto G Android Development] Droidbuster:
same happen with redmi 1s

i am dev of redmi 1s too

i try to port roms for redmi 1s which are based on snapdragon 400

but what i got

i try to port grand2 port s5 port v3 its give some symlik eror and does not boot

then xperia m2 and t2 dual both stuck at logo but one thing then just start to bootanimation that seems good but not able to generate logcat.

when i try htc 816 dual it take me to fastboot directly

is this happen same with you?

and any jb based rom? for your device?
[Moto G Android Development] CurbThePain:
Okay to solve all your issues look up the desire 510 and 610. The 510 us version has the same chipset so go ahead grab a stock backup of our Rom. Grab our kernel source and have at it.
[Moto G Android Development] mikeuz:
is there anything we can do to help?

i could really try as a beta tester
[Moto G Android Development] VictoriousShooter:
Beta testers aren't the problem. Until it boots, there really isn't a point
[Moto G Android Development] Tqr:
I have Sense 6 in a booting state on this phone
[Moto G Android Development] reversegear:
Awesome :) news
[Moto G Android Development] Tqr:
Maybe, I have a booting code-base under both 4.4 and 5.0 but the thing is that the work involved here is way heavy so I'm not going to promise anything except that I won't make a thread like this until I have a "daily driver" like with my MIUI releases.

I see the same folks are kicking around farming thanks and still producing nothing; guys stop being stupid and allowing people to bulk up their XDA accounts. There are 'developers' on this board who have accounts that look impressive with 0 completed projects to show for it.

It's pathetic to me to see a bunch of people playing the social game and not doing work; how does OP have almost 40 posts for saying "I want to do Sense", regardless of what words you use when you make a thread like this without any knowledge of development that's what you're saying so much like in the past; here I am in another persons thread and like in the past; I may be releasing a functional version of something someone else promised

Edit: If you see no flashable zip, the poster shouldn't see a "Thanks"
[Moto G Android Development] VictoriousShooter:
Well then why don't you? I'm certainly not stopping you.

And you're right, I don't know how to code or develop. And neither did any other developer at one point.

Things happen. People have lives. I apologise if I'm don't have enough time to do "good enough" on this. At least I actually tried to do something with this.
[Moto G Android Development] Jevinruv:
Is the rom work In Progress ? :D:D
[Moto G Android Development] VictoriousShooter:
Yes it is.

Unbelievably, I'm still working on this.
[Moto G Android Development] Jevinruv:
can you provide us an update or is it still like the initial zip??
[Moto G Android Development] VictoriousShooter:
Still like the initial zip.
[Moto G Android Development] Eurofighter_ty:
[MENTION=4684240]VictoriousShooter[/MENTION]

Good, when it boots I will test this :)
[Moto G Android Development] Jevinruv:
hope this guide will help you :)

http://xdaforums.com/showthread.php?t=2245786
[Moto G Android Development] VictoriousShooter:
It's okay, it's just that it's not my work, so I can't help you if there's a problem.
[Moto G Android Development] dj_crash1981:
I was driving at the time lol

---------- Post added at 05:06 PM ---------- Previous post was at 04:35 PM ----------

Who has flashed the rom
[Moto G Android Development] Boss442:
I can't download the rom, google says the zip has too trafic and is disabled.

if i can download later i will see logcat and maybe i can debloat it.

things that are sure to delete:

some ringtones on /media/audio

Voice recognition lenguages on /system/usr/srec (can manually download on /data)

TTS languages on /system/tts/lang_pico (can manually download on /data)

I will check for things like demo mode or videos on /etc folder when i have the rom

The goal is reduce the rom on /system to 960MB, check what the zip flash because some files aren't flashed on /system.

The logo isn't on /system.

If flash some things on /data would make the zip huge but /system will be OK
[Moto G Android Development] VictoriousShooter:
I know about the traffic problem. Luckily, AFH approved me for Dev access, so I'll be reloading the ROM to AFH within the hour.
[Moto G Android Development] Boss442:
I will help, because this port interest me! :victory:
[Moto G Android Development] petran_7:
This looks ****in awesome men! :cowboy: Keep the good work! :highfive:
[Moto G Android Development] VictoriousShooter:
Alright, new download link is online. Check first post.
[Moto G Android Development] mccbrandon:
Wouldn't flash for me
[Moto G Android Development] VictoriousShooter:
I know it won't. It's too large for the system partition.
[Moto G Android Development] mccbrandon:
My omni ROM port wont get past boot animation :(
[Moto G Android Development] vin4yak:
Hello people,

First of all I would like to say that this is a great attempt by the OP to port Sense 6 to Moto G. Many Nexus 5 users messed up their sensors by using the Sense 6 port so if you guys have also messed it up then delete the following:

/data/system/sensors

/data/misc/sensors

/persist/sensors/sns.reg

and reboot. Porting Sense 6 to Moto G will surely be challenging as the hardware is totally different..

That being said, I wish y'all all the best for this port. May the force be with you! :)

-Flowed from an IceCold Hammerhead!
[Moto G Android Development] a2441918:
Did you change bootclasspath in kernel to htc framework? If not, it wnt boot. Unpack both boot.img and change bootclasspath in moto g as similar as that of sense. Then give a shot.

Sent from my SOKP powered Galaxy S 4 i9500.
[Moto G Android Development] mathm2013:
The first problem isn't the bootclasspath. It's the rom size, that doesn't allows it to be flashed.
[Moto G Android Development] :
I can reduce the size if you guys want; but I won't test it

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] SWTR:
We need a tool where we can repartition the system partition.
[Moto G Android Development] :
How big is the system partition?

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] SWTR:
512 mb
[Moto G Android Development] AndroGeek974:
You need the delete all /data apps for begin, it isn't vital apps
[Moto G Android Development] DG|Buu:
Update The Thread~!

As You Have Uploaded The Download Link,Please Update Thread Accordingly :rolleyes::rolleyes::confused:
[Moto G Android Development] Boss442:
System has 960 Mb... Not 512

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] :
I slimmed and now it is 762 mb. But I removed a lot of apps (Luke gallery, camera...) .

If the system is 960 I think i can leave something else so I'll do it again.

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] NeeDXxPT:
Awesome work
[Moto G Android Development] Tech Knowns:
Is this ROM is enough stable for normal usage and is their BlinkFeed in this ROM

Sent From Moto G (XT1033) using hands!!
[Moto G Android Development] alexkta:
I don't even think this boots yet, so to answer your question, no its not stable for daily use
[Moto G Android Development] akkay1:
Waiting for this ROM

I am Waiting for this ROM for a very long time.. when it'll be available.. properly?? Can I install this ROM in XT-1032??
[Moto G Android Development] mathm2013:
No ETA, please. Read the thread, you'll see there isn't any Estimated Time of Arrival.
[Moto G Android Development] K3VYNC:
Can we get this "double tap/swipe to wake" feature?
[Moto G Android Development] VictoriousShooter:
I apologize for the lack of development here. I am trying my best, along with several others, to make this a reality.

But it takes time. If and when anything significant happens, the thread will be updated.

I know you all want this to happen, I do too. That's why I started this. But I'm only one person, and the people helping me are just people too. We need developers, real developers, to help us with this. When we finally do get a developers help, this project will move along faster. But until then, it will take some time.

And thank you all for your patience.
[Moto G Android Development] :
I did it again and now the system is 922mb, I will upload later

These are the files I removed:

Spoiler content hidden.

I'm doing my best but I'm a bit newbie so; yes, we need a great developer who will help us.

Never give up! ;)

Inviato dal mio Moto G utilizzando Tapatalk

PS: which is the fastest cloud website (for uploading)?
[Moto G Android Development] VictoriousShooter:
Mega is the fastest, I believe.

And thank you for your help.
[Moto G Android Development] :
OK, I'm uploading it but my connection is very slow; by the way, if we want to have it boot we need a man who has ubuntu (check this guide http://xdaforums.com/showthread.php?t=2245786)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] VictoriousShooter:
I know. But my computer can't run Ubuntu. Not enough power or space
[Moto G Android Development] mccbrandon:
I'm on Ubuntu...
[Moto G Android Development] :
For the 16th step, we have to use ubuntu to decompile the kernel and make some changes... If you could do this probably it will boot; you only need the 2 boot.img (the kernels from base and port)

[MENTION=4684240]VictoriousShooter[/MENTION]

Can you provide the kernel from the m8 ROM?

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] VictoriousShooter:
Yes, I can.
[Moto G Android Development] Black_Eyes:
It won't Boot

The tool you used have no support for 4.4 ;)
[Moto G Android Development] mathm2013:
Which tool?
[Moto G Android Development] saintextreme97:
I'm very interested in this I have little to no experience in porting but I have a fully functional moto g and a laptop running Ubuntu if this becomes usable for daily usage I probably won't buy a new phone for a year or two instead of twice a year
[Moto G Android Development] dd98:
I will try to port but I will need people to test as I dont own the Moto G but I ordeered it so it should be here soon!
[Moto G Android Development] bogante:
I can test.
[Moto G Android Development] KingUsman:
I can test it
[Moto G Android Development] saintextreme97:
I'll test on the U.S. unlocked (xt1034 not xt1032)
[Moto G Android Development] Omar1c:
I can test and maybe help a little with some things

Sent From My Moto G
[Moto G Android Development] ReDead93:
I can also test it in my xt1032

Gesendet von meinem Moto G mit Tapatalk
[Moto G Android Development] bobrda:
+1 tester XT1032
[Moto G Android Development] KingUsman:
Is the attached file ported?
[Moto G Android Development] cooolrider195:
HTC Sense 6 Ported to the Nexus 5

http://www.xda-developers.com/android/htc-sense-6-ported-to-the-nexus-5/
[Moto G Android Development] KingUsman:
Maybe we can port the nexus 5 port
[Moto G Android Development] cooolrider195:
yeah! that would be easy for our devs.
[Moto G Android Development] dragonvasu:
Waiting for it badly.....
[Moto G Android Development] kerem0:
Please All Bugs Fix :)
[Moto G Android Development] c0mmando:
Can't wait for it:D I'm ready to test it on Moto G ??
[Moto G Android Development] KingUsman:
This is really hard to do
[Moto G Android Development] dragonvasu:
Any success in porting sense 6 from nexus 5 to moto g???????
[Moto G Android Development] Houamei:
I can also test it on my Moto G xt1032 GPE
[Moto G Android Development] K3VYNC:
I can test the port on my XT1033
[Moto G Android Development] mccbrandon:
I can test xt1032
[Moto G Android Development] dd98:
Just to let everybody know this is open for anyone to test and could somebody tell me if this ROM even flashes in recovery

STATUS UPDATE: Still working on this when I get free time
[Moto G Android Development] KingUsman:
It flashes but gets stuck on the boot logo
[Moto G Android Development] :
If anyone can provide me a patched boot.img I'll try to port this http://xdaforums.com/showthread.php?t=2720949 from HTC one mini (the only bug is lte that we don't have) ;)

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] mr_nooby:
Guys if you want sense to boot you need a sense kernel (coming from HTC one v so I know) :p
[Moto G Android Development] :
I think that patching the kernel using galaxyuser method should be fine (as he ported sense 6)

But I don't have ubuntu

Inviato dal mio Moto G utilizzando Tapatalk
[Moto G Android Development] saintextreme97:
I do give me steps and I have the time
[Moto G Android Development] :
The step 16 (for 4.4 kitkat) of this guide: http://xdaforums.com/showthread.php?t=2245786

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Moto G Android Development] saintextreme97:
Send me the files and I'll start it as soon as I can
[Moto G Android Development] :
http://www.androidfilehost.com/?fid=23329332407585941

here there are both boot.img :) :good:
[Moto G Android Development] saintextreme97:
Starting now so I just do exactly what it says
[Moto G Android Development] saintextreme97:
Alright I think I got it I'll upload soon

---------- Post added at 04:22 AM ---------- Previous post was at 04:18 AM ----------

https://drive.google.com/file/d/0BxRsYAfwBkkJdUxwZElkZDY2a1U/edit?usp=sharing

i hope this is right if not ill try again in the morning its past 4 am my time haha
[Moto G Android Development] :
good!

I'm gonna flash right now
[Moto G Android Development] saintextreme97:
Alright!
[Moto G Android Development] :
it doesn't boot; it only goes on fastboot

fastboot reason: fall-through from normal boot mode
[Moto G Android Development] saintextreme97:
So what exactly does that mean then